/* Custom scrollbar for a more modern look */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-purple);
}

/* Partner logo carousel animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-carousel .logos-slide {
  animation: scroll 30s linear infinite;
}

/* Partners Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-item {
  position: absolute;
  opacity: 0;
  animation: carouselSlide 9s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item:nth-child(1) {
  animation-delay: 0s;
}

.carousel-item:nth-child(2) {
  animation-delay: 3s;
}

.carousel-item:nth-child(3) {
  animation-delay: 6s;
}

@keyframes carouselSlide {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  
  3%, 30% {
    opacity: 1;
    transform: translateX(0);
  }
  
  33%, 100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Mobile menu transition */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.gray-background {
  background-color: #1f1f1f;
}

.gradient-background {
  background: linear-gradient(135deg, #1f1f1f, #680e54)
}

.team-member-border {
  border: 4px solid var(--purple);
}

.team-member-name {
  color: var(--purple);
}

.gray-tile {
  background-color: #1f1f1f;
}


/** bg-vid **/

/* Container for the hero section */
.hero-section {
  position: relative;
  height: 100vh;
  /* Adjust as needed, e.g., 80vh */
  width: 100%;
  overflow: hidden;
  /* Ensures the video doesn't go outside its container */
}

/* Styling the video to be a background */
.hero-video {
  position: absolute;
  filter: blur(5px);
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* Puts the video behind the content */
  object-fit: cover;
  /* Ensures the video covers the entire container without stretching */
}

/* Styling for the content on top of the video */
.hero-content {
  position: relative;
  margin-top: 45vh;
  z-index: 1;
  /* Puts the content in front of the video */
  color: white;
  /* Or a color that contrasts with your video */
  text-align: center;
  /* Add padding, flexbox, etc., to center and style your content */
}

/* Add a semi-transparent overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust color and opacity as needed */
  z-index: 0;
}

.problem-section {
  width: 100%;
  background: linear-gradient(to bottom,
      #111111,
      #680b49);
}

/* --- MailerLite Form Styles --- */
.ml-subscribe-form .ml-block-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
  /* 512px */
  margin: auto;
}

@media (min-width: 768px) {
  .ml-subscribe-form .ml-block-form {
    flex-direction: row;
    align-items: center;
  }
}

.ml-subscribe-form .ml-form-formContent {
  flex-grow: 1;
}

.ml-subscribe-form .form-control {
  width: 100%;
  background-color: #374151;
  /* gray-700 */
  color: var(--white);
  border: 1px solid #4b5563;
  /* gray-600 */
  border-radius: 0.5rem;
  /* rounded-lg */
  padding: 0.9rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ml-subscribe-form .form-control::placeholder {
  color: #9ca3af;
  /* gray-400 */
}

.ml-subscribe-form .form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(164, 0, 214, 0.3);
}

.ml-subscribe-form .ml-form-embedSubmit button {
  width: 100%;
}

@media (min-width: 768px) {
  .ml-subscribe-form .ml-form-embedSubmit button {
    width: auto;
    white-space: nowrap;
  }
}

.ml-subscribe-form .ml-form-successBody {
  background-color: #166534;
  /* green-800 */
  color: #dcfce7;
  /* green-100 */
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  max-width: 32rem;
  /* 512px */
  margin: auto;
}

:root {
    --white: #ffffff;
    --dark-gray: #1f1f1f;
    --purple: #8d0e67;
    --light-purple: #a01983;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--dark-gray);
    color: var(--white);
}

.cta-primary {
    background-color: var(--purple);
    transition: background-color 0.3s ease;
}

.cta-primary:hover {
    background-color: var(--light-purple);
}

.cta-secondary {
    border-color: var(--purple);
    color: var(--purple);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-secondary:hover {
    background-color: var(--purple);
    color: var(--white);
}

input#waitlist-input {
    scroll-margin-top: 80px;
}