/* Hero – homepage full-screen video/gradient header */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated gradient fallback (shown when video unavailable) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    var(--green-darkest) 0%,
    var(--green-dark)    30%,
    #0d3a7a              55%,
    #0a2b6e              80%,
    var(--green-darkest) 100%);
  background-size: 400% 400%;
  animation: heroGradient 18s ease infinite;
}
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Water ripple overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(56,189,248,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(27,95,173,0.25)  0%, transparent 60%);
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,18,42,0.3) 0%,
    rgba(6,18,42,0.55) 60%,
    rgba(6,18,42,0.75) 100%
  );
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-full);
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease both;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.8s 0.15s ease both;
  color: var(--white);
}
.hero-title em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
  max-width: 540px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.45s ease both;
}
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s ease both;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  40%  { transform: scaleY(1); transform-origin: top; }
  60%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: var(--sp-16) 0 var(--sp-12);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { margin-bottom: var(--sp-3); color: var(--white); position: relative; }
.page-header p  { color: rgba(255,255,255,0.75); position: relative; }
.page-header .breadcrumb { color: rgba(255,255,255,0.6); position: relative; margin-top: var(--sp-4); }
.page-header .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb a:hover { color: var(--white); }
