/* Homepage layout refinements; loaded after the shared stylesheet. */
#hero.hero-carousel-section {
  background: #061224 !important;
  min-height: 680px !important;
}

#hero .hero-slider-container {
  min-height: 680px !important;
  padding: 0 !important;
}

#hero .hero-slide {
  min-height: 680px !important;
  align-items: center !important;
  padding: 150px 0 80px !important;
}

#hero .hero-grid-container {
  margin-top: 0;
}

#hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding: 0 !important;
}

#hero .hero-grid .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: justify !important;
}

#hero .hero-grid .hero-title {
  width: 100%;
  max-width: 100%;
  font-size: clamp(2rem, 4.2vw, 3.8rem) !important;
  text-align: justify !important;
  text-align-last: center;
  margin: 0 0 24px !important;
}

#hero .hero-highlight-wrap {
  white-space: normal;
}

#hero .hero-grid .hero-description {
  width: 100%;
  max-width: 780px !important;
  margin: 0 auto 32px !important;
  text-align: justify !important;
  text-align-last: center;
  line-height: 1.8 !important;
  color: #f1f5f9 !important;
}

#hero .hero-grid .hero-actions {
  justify-content: center !important;
  margin: 0 !important;
}

#hero .hero-motion-video {
  width: 100%;
  height: 100%;
  opacity: 0.68 !important;
  filter: saturate(0.9) brightness(0.9) !important;
}

#hero .hero-video-overlay {
  background: rgba(6, 18, 36, 0.35) !important;
}

#hero + .marquee-container {
  margin: 0 !important;
}

#about.who-we-are-main-section {
  background: #edf4fb !important;
  padding: 36px 0 64px !important;
  margin-top: 0 !important;
  border-bottom: 1px solid #d6e3f0;
}

#about.who-we-are-main-section .section-header {
  margin-bottom: 28px !important;
  padding: 0 !important;
  background: none !important;
}

#about .section-header .section-title .text-gradient {
  background: none !important;
  color: #0864c5 !important;
  -webkit-text-fill-color: #0864c5 !important;
  filter: none !important;
}

#about .section-header .section-title,
#about .section-header .section-subtitle {
  text-shadow: none !important;
}

#about .about-hero-lead-card,
#about .about-narrative-column {
  background: #ffffff !important;
  border: 1px solid #d6e3f0 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
}

#about .about-hero-lead-card {
  border-left: 4px solid #0864c5 !important;
  margin-bottom: 28px !important;
}

#about .about-hero-lead-card::before {
  display: none;
}

#about .about-showcase-grid {
  margin-bottom: 0 !important;
  align-items: stretch;
  gap: 28px;
}

#about .about-visual-column .about-image-card {
  height: 100% !important;
  min-height: 330px;
  border: 1px solid #d6e3f0 !important;
  box-shadow: none !important;
}

@media (max-width: 992px) {
  #hero.hero-carousel-section,
  #hero .hero-slider-container {
    min-height: 0 !important;
    padding: 0 !important;
  }

  #hero .hero-slide {
    min-height: 0 !important;
    padding: 140px 0 64px !important;
  }

  #about .about-visual-column .about-image-card {
    height: 330px !important;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  #hero .hero-slide {
    padding: 128px 0 48px !important;
  }

  #hero .hero-content .badge-tag {
    max-width: 100%;
    font-size: 0.68rem !important;
    text-align: center;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  #hero .hero-grid .hero-title {
    font-size: clamp(1.8rem, 7.8vw, 2.8rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  #hero .hero-grid .hero-description {
    font-size: 1rem !important;
  }

  #hero .hero-grid .hero-actions {
    width: 100%;
    gap: 12px !important;
  }

  #about.who-we-are-main-section {
    padding: 28px 0 40px !important;
  }

  #about .about-visual-column .about-image-card {
    height: 260px !important;
  }
}
