/* ============================================
   UNDERWATER VIDEO CTA SECTION
   ============================================ */

.underwater-cta-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.underwater-video-container {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  /* Fallback color */
}

/* Video background element */
.underwater-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: blur(0px);
  /* Blur the video for text readability */
}

/* Animated underwater overlay effect */
.underwater-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(3, 13, 42, 0.75) 0%,
      rgba(0, 51, 102, 0.7) 50%,
      rgba(3, 13, 42, 0.75) 100%);
  z-index: 2;
  animation: underwaterWave 6s ease-in-out infinite;
}

@keyframes underwaterWave {

  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.7;
  }

  50% {
    background-position: 100% 50%;
    opacity: 0.6;
  }
}

.underwater-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 2rem;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.underwater-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.2s forwards;
}

.underwater-heading {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.underwater-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.underwater-btn {
  background: white;
  color: var(--color-primary);
  padding: 15px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

.underwater-btn:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .underwater-video-container {
    min-height: 400px;
    background-attachment: scroll;
    /* Remove parallax on mobile */
  }

  .underwater-content {
    padding: 3rem 1.5rem;
  }

  .underwater-heading {
    font-size: 2.5rem;
  }

  .underwater-heading br {
    display: none;
  }

  .underwater-text {
    font-size: 1rem;
  }

  .underwater-text br {
    display: none;
  }

  .underwater-btn {
    padding: 12px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .underwater-heading {
    font-size: 2rem;
  }

  .underwater-btn {
    width: 100%;
    max-width: 250px;
  }
}