
:root {
  --forest:   #0B2B1E;
  --forest2:  #123824;
  --gold:     #C9942A;
  --gold-lt:  #E8B84B;
  --cream:    #FAF8F4;
  --cream2:   #F0EBE1;
  --ink:      #1A1208;
  --muted:    #6B7264;
  --white:    #FFFFFF;
  --radius:   4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAVBAR ───────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--forest);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.brand-icon {
  width: 38px; height: 38px; background: var(--gold);
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--forest);
  border-radius: 2px;
}
.brand-text { color: var(--white); font-size: .95rem; font-weight: 600; line-height: 1.2; }
.brand-text span { color: var(--gold-lt); font-size: .7rem; font-weight: 300; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-dropdown > button {
  color: rgba(255,255,255,.8);
  font-size: .85rem; font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  background: none; border: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-dropdown > button:hover,
.nav-links a.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-links a.active { color: var(--gold-lt); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--forest2); border-radius: 6px;
  min-width: 220px; padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; color: rgba(255,255,255,.8);
  padding: 9px 18px; font-size: .83rem;
  text-decoration: none; transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.08); color: var(--gold-lt); }

.nav-cta {
  background: var(--gold) !important; color: var(--forest) !important;
  font-weight: 700 !important; padding: 9px 20px !important; border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* ── TOP BAR ─────────────────────────── */
.topbar {
  background: var(--forest2);
  display: flex; justify-content: flex-end; align-items: center;
  gap: 24px; padding: 6px 48px;
  font-size: .78rem; color: rgba(255,255,255,.65);
}
.topbar a { color: inherit; text-decoration: none; }
.topbar span { color: var(--gold-lt); margin-right: 4px; }

/* ── PAGE NAV (section anchors) ─────── */
.page-nav {
  background: var(--cream2); border-bottom: 2px solid var(--cream);
  display: flex; gap: 0; overflow-x: auto;
  padding: 0 48px;
}
.page-nav a {
  padding: 14px 22px; font-size: .82rem; font-weight: 600;
  color: var(--muted); text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
  display: flex; align-items: center; gap: 7px;
}
.page-nav a:hover, .page-nav a.active {
  color: var(--forest); border-bottom-color: var(--gold);
}

/* ── HERO ────────────────────────────── */
.hero {
  background: var(--forest);
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,148,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,148,42,.15); border: 1px solid rgba(201,148,42,.35);
  color: var(--gold-lt); font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before { content: '★'; }


.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}
.hero h1 em { color: var(--gold-lt); font-style: italic; }

.hero-sub {
  color: rgba(255,255,255,.65); font-size: 1.05rem;
  max-width: 480px; margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; font-family: 'Outfit', sans-serif;
  font-size: .9rem; font-weight: 600; border-radius: var(--radius);
  cursor: pointer; text-decoration: none; border: none; transition: all .22s;
}
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,148,42,.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-forest { background: var(--forest); color: var(--white); }
.btn-forest:hover { background: var(--forest2); transform: translateY(-1px); }

.hero-visual {
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 24px 28px;
  backdrop-filter: blur(10px);
  width: 85%;
  animation: floatCard 6s ease-in-out infinite;
}
.hero-card:nth-child(2) { width: 70%; animation-delay: -3s; }
.hero-card-label { color: var(--gold-lt); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.hero-card-value { color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; }
.hero-card-desc { color: rgba(255,255,255,.55); font-size: .8rem; margin-top: 4px; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── STATS BAR ───────────────────────── */
.stats-bar {
  background: var(--gold); display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid rgba(11,43,30,.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 700; color: var(--forest); line-height: 1;
}
.stat-label { font-size: .8rem; font-weight: 600; color: rgba(11,43,30,.7); margin-top: 4px; }

/* ── SECTIONS ────────────────────────── */
section { padding: 96px 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15; color: var(--forest);
  max-width: 600px; margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin-bottom: 56px; }

/* ── TRAINING PROGRAMS ───────────────── */
.programs { background: var(--cream); }
.programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--cream2); border: 1px solid var(--cream2);
}
.program-card {
  background: var(--white); padding: 36px 32px;
  transition: background .22s, transform .22s;
  position: relative; overflow: hidden;
}
.program-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--gold);
  transition: width .3s;
}
.program-card:hover { background: var(--cream); transform: translateY(-4px); }
.program-card:hover::after { width: 100%; }
.prog-icon {
  width: 48px; height: 48px; background: rgba(201,148,42,.12);
  border-radius: 8px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.program-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--forest);
  margin-bottom: 10px; line-height: 1.3;
}
.program-card p { color: var(--muted); font-size: .85rem; margin-bottom: 20px; line-height: 1.6; }
.program-card a {
  color: var(--gold); font-size: .82rem; font-weight: 700;
  text-decoration: none; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
}
.program-card a:hover { color: var(--forest); }

/* ── WHY CHOOSE ──────────────────────── */
.why { background: var(--forest); }
.why .section-title { color: var(--white); }
.why .section-sub { color: rgba(255,255,255,.6); }
.why .section-label { color: var(--gold-lt); }
.why .section-label::before { background: var(--gold-lt); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.why-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 36px 28px;
  transition: background .22s, transform .22s;
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 700; color: rgba(201,148,42,.25);
  line-height: 1; margin-bottom: 16px;
}
.why-card h3 { color: var(--gold-lt); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.6); font-size: .87rem; }

/* ── COURSE FINDER ───────────────────── */
.finder { background: var(--cream2); }
.finder-controls {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px; margin-bottom: 36px; align-items: end;
}
.finder-field { display: flex; flex-direction: column; gap: 6px; }
.finder-field label { font-size: .78rem; font-weight: 700; color: var(--forest); letter-spacing: .05em; text-transform: uppercase; }
.finder-field input, .finder-field select {
  padding: 12px 16px;
  border: 1.5px solid rgba(11,43,30,.15);
  border-radius: var(--radius); background: var(--white);
  font-family: 'Outfit', sans-serif; font-size: .9rem; color: var(--ink);
  outline: none; transition: border-color .2s;
}
.finder-field input:focus, .finder-field select:focus { border-color: var(--gold); }

.finder-results-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.results-count { font-size: .85rem; color: var(--muted); }
.results-count strong { color: var(--forest); }

.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.course-card {
  background: var(--white); border-radius: 8px;
  padding: 28px 24px; border: 1px solid transparent;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.course-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(11,43,30,.1);
}
.course-category-tag {
  display: inline-block; padding: 4px 10px;
  background: rgba(201,148,42,.12); color: var(--gold);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 100px; margin-bottom: 14px;
}
.course-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.course-card p { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.course-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.course-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem; color: var(--muted); font-weight: 500;
}
.course-meta-item span { font-size: .85rem; }
.course-card a {
  font-size: .82rem; font-weight: 700; color: var(--gold);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.course-card a:hover { color: var(--forest); }
.course-card.hidden { display: none; }

/* ── VENUES ──────────────────────────── */
.venues { background: var(--cream); }
.venues-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.venue-card {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--cream2);
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.venue-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(11,43,30,.12); }
.venue-header {
  height: 180px;
  display: flex; align-items: flex-end; padding: 20px;
  position: relative; overflow: hidden;
}
.venue-header.nairobi-cbd { background: linear-gradient(135deg, #0B2B1E 0%, #1a4a32 100%); }
.venue-header.westlands { background: linear-gradient(135deg, #1a2a4a 0%, #243b6e 100%); }
.venue-header.mombasa { background: linear-gradient(135deg, #2a1a0b 0%, #5a3012 100%); }
.venue-header.virtual { background: linear-gradient(135deg, #1a0b2a 0%, #3d1a6e 100%); }
.venue-header.kisumu { background: linear-gradient(135deg, #0b2a1a 0%, #1a5c35 100%); }
.venue-header.kigali { background: linear-gradient(135deg, #2a0b1a 0%, #6e1a45 100%); }

.venue-geo {
  font-size: 4rem; position: absolute; top: 16px; right: 20px;
  opacity: .15; line-height: 1;
}
.venue-badge {
  background: rgba(201,148,42,.9); color: var(--forest);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
}
.venue-body { padding: 22px 22px 28px; }
.venue-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.venue-address { font-size: .82rem; color: var(--muted); margin-bottom: 16px; display: flex; align-items: flex-start; gap: 7px; }
.venue-address span { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.venue-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.venue-feature {
  background: var(--cream2); padding: 5px 10px;
  border-radius: 3px; font-size: .73rem; font-weight: 600; color: var(--forest);
}
.venue-capacity {
  font-size: .78rem; color: var(--muted); padding-top: 14px;
  border-top: 1px solid var(--cream2); display: flex; justify-content: space-between;
}
.venue-capacity strong { color: var(--forest); }

/* ── ABOUT ───────────────────────────── */
.about { background: var(--cream2); }
/* ── ABOUT SECTION ─────────────────────────── */
.about {
  padding: 96px 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top; /* keeps faces/people in frame */
  border-radius: 8px;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--forest);
  padding: 20px 24px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 28px rgba(201,148,42,.35);
  z-index: 2;
}
.about-badge small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .72rem; font-weight: 600;
  color: rgba(11,43,30,.7);
}

/* ── TABLET (cols stack, image shrinks) ──────── */
@media (max-width: 960px) {
  .about {
    padding: 64px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img {
    height: 360px;
  }

  /* Badge tucks inside on tablet so it doesn't overflow */
  .about-badge {
    bottom: 16px; right: 16px;
    font-size: 1.6rem;
    padding: 16px 20px;
  }
}

/* ── MOBILE ──────────────────────────────────── */
@media (max-width: 640px) {
  .about {
    padding: 48px 16px;
  }

  .about-img {
    height: 260px;
    object-position: center 20%;
  }

  .about-badge {
    font-size: 1.3rem;
    padding: 12px 16px;
    bottom: 12px; right: 12px;
  }
  .about-badge small {
    font-size: .65rem;
  }

  /* Mission/Vision cards stack */
  .mv-grid {
    grid-template-columns: 1fr;
  }
}.about-content { padding-top: 12px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.mv-card {
  background: var(--white); border-radius: 8px;
  padding: 24px 20px; border-left: 3px solid var(--gold);
}
.mv-card h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.mv-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.methodology-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.method-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); padding: 16px 18px; border-radius: 6px;
}
.method-num {
  width: 28px; height: 28px; background: var(--forest);
  color: var(--gold-lt); font-size: .75rem; font-weight: 800;
  display: grid; place-items: center; border-radius: 3px; flex-shrink: 0;
}
.method-item p { font-size: .85rem; color: var(--ink); }
.method-item strong { color: var(--forest); }

/* ── FAQ ─────────────────────────────── */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
  border: 1px solid var(--cream2); border-radius: 6px;
  background: var(--white); overflow: hidden;
}
.faq-q {
  padding: 20px 22px; font-weight: 600; font-size: .9rem; color: var(--forest);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; user-select: none;
}
.faq-q .icon {
  width: 26px; height: 26px; background: var(--cream2); border-radius: 50%;
  display: grid; place-items: center; font-size: .9rem; flex-shrink: 0;
  transition: transform .3s, background .2s;
}
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: .87rem; color: var(--muted); line-height: 1.7;
  transition: max-height .35s ease, padding .3s;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 20px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--gold); color: var(--forest); }

/* ── CTA ─────────────────────────────── */
.cta {
  background: var(--forest);
  padding: 96px 48px;
  text-align: center;
}
.cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700;
  color: var(--white); margin-bottom: 18px;
}
.cta p { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────── */
footer {
  background: #071a11; padding: 60px 48px 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px; }
footer h4 { color: var(--gold-lt); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
footer p, footer a { color: rgba(255,255,255,.5); font-size: .83rem; line-height: 1.7; text-decoration: none; }
footer a:hover { color: var(--gold-lt); }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer-brand em { color: var(--gold-lt); }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 34px; height: 34px; border-radius: 4px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: rgba(255,255,255,.5) !important;
  font-size: .85rem; transition: background .2s;
}
.social-links a:hover { background: var(--gold); color: var(--forest) !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.3);
}

/* ── ACTIVE PAGE NAV ─────────────────── */
.page-tabs { display: none; }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 960px) {
  .navbar, .topbar { padding: 0 24px; }
  .hero { grid-template-columns: 1fr; padding: 60px 24px; min-height: auto; }
  .hero-visual { display: none; }
  section { padding: 64px 24px; }
  .programs-grid, .why-grid, .courses-grid, .venues-grid, .footer-grid { grid-template-columns: 1fr; }
  .finder-controls { grid-template-columns: 1fr 1fr; }
  .about-grid, .faq-grid, .mv-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .page-nav { padding: 0 16px; }
}
