/* Hero section styles (cleaned and mobile-fixed)
   - Desktop layout unchanged
   - Mobile: video fills hero container (no blank area), buttons remain readable
*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.75) 0, rgba(0, 136, 209, 0.18) 50%, rgba(10, 25, 41, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-xl) var(--spacing-md);
  color: #fff;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.35s;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

@media (max-width: 1024px) {
  .hero-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
}

@media (max-width: 768px) {

  /* Ensure the video fully covers the hero area on mobile */
  .hero {
    min-height: 70vh;
    /* mobile-friendly height */
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    overflow: hidden;
    /* prevent any bleed/blank area */
  }

  .hero-video {
    /* fill the hero box exactly and crop as needed */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
  }
}