/* ── HOME PAGE SPECIFIC STYLES ───────────────────────────────────────────── */

/* ── HERO SECTION ──────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 1100px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

/* ── SLIDESHOW TRACK ────────────────────────────────────────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 7s cubic-bezier(0.0, 0.0, 0.2, 1);
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 1;
}

/* ── GRADIENT OVERLAYS ─────────────────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to right,
      rgba(10, 22, 40, 0.94) 0%,
      rgba(10, 22, 40, 0.68) 50%,
      rgba(10, 22, 40, 0.28) 100%
    ),
    linear-gradient(to top,
      rgba(10, 22, 40, 0.80) 0%,
      transparent 55%
    );
}

/* ── HERO CONTAINER & CONTENT ──────────────────────────────────────────────── */
.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px;
  padding-bottom: var(--space-2xl);
}

.hero-content {
  max-width: 700px;
}

/* Eyebrow label */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s 0.15s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-eyebrow-line {
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--font-body);
}

/* Main headline */
.hero-title {
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4.8rem);
  line-height: 1.06;
  color: var(--white);
  margin-bottom: var(--space-md);
  letter-spacing: -1.5px;
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.85s 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

/* Lead paragraph */
.hero-lead {
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
  max-width: 560px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.85s 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* CTA buttons row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.85s 0.75s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ── HERO BOTTOM BAR: dots + counter ──────────────────────────────────────── */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3rem) clamp(1.2rem, 3vw, 2rem);
}

/* Dot indicators */
.hero-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0;
  animation: heroFadeUp 0.6s 1.0s forwards;
}

.hero-dot {
  height: 7px;
  width: 7px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1),
              background 0.3s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--gold);
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,0.6);
}

/* Slide counter */
.hero-counter {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  opacity: 0;
  animation: heroFadeUp 0.6s 1.1s forwards;
  font-family: var(--font-body);
}

.hero-counter .current {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

/* ── SIDE NAV ARROWS ────────────────────────────────────────────────────────── */
.hero-nav {
  position: absolute;
  right: clamp(1.5rem, 4vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 0.6s 1.2s forwards;
}

.hero-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  color: white;
}

.hero-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

.hero-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── HERO KEYFRAMES ─────────────────────────────────────────────────────────── */
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── STATS SECTION ─────────────────────────────────────────────────────────── */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -68px;
}

.stats-bar {
  background: rgba(8, 18, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -12px rgba(10,22,40,0.5);
  padding: var(--space-md) var(--space-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-xs);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stats-card:last-child {
  border-right: none;
}

@media (max-width: 639px) {
  .stats-card:nth-child(2) { border-right: none; }
  .stats-card:nth-child(1),
  .stats-card:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: var(--space-sm);
  }
}

.stats-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(230, 81, 0, 0.15);
  border: 1px solid rgba(230, 81, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.stats-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-light);
}

.stats-number {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.6rem + 0.6vw, 0.95rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.stats-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.42);
  font-weight: 600;
  line-height: 1.3;
}

/* ── WHY NYAMSON GRID ───────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── PROGRESSION CARDS ─────────────────────────────────────────────────────── */
.progression-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .progression-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.progression-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  height: 100%;
}

.level-num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: rgba(230, 81, 0, 0.14);
  font-weight: 700;
  line-height: 1;
}

.level-title {
  font-size: var(--text-md);
  color: var(--navy);
  font-weight: 700;
}

.level-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
}

.level-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  transition: transform var(--transition-fast), color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.progression-card:hover .level-link {
  transform: translateX(5px);
  color: var(--gold-light);
}

/* ── CTA BANNER ─────────────────────────────────────────────────────────────── */
.cta-banner {
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: var(--white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
}

.cta-desc {
  color: rgba(255,255,255,0.82);
  font-size: var(--text-md);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}
