:root {
  --gold: #ffd000;
  --gold-deep: #0d2f6b;
  --gold-soft: #fff4c2;
  --ink: #0d2f6b;
  --muted: #3e5680;
  --navy: #0d2f6b;
  --navy-deep: #082047;
  --line: #d5e3f7;
  --paper: #ffffff;
  --stats: #e7f0ff;
  --header-h: 78px;
  --flag-h: 58px;
  --shadow: 0 10px 30px rgba(16, 32, 58, 0.08);
  --radius: 14px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  padding-top: var(--header-h);
  padding-bottom: var(--flag-h);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 2000;
}
.skip:focus { top: 8px; }

/* Header — stays locked while scrolling */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  height: var(--header-h);
  background: #fff;
  border-bottom: 4px solid #ffd000;
  box-shadow: 0 2px 14px rgba(13, 47, 107, 0.08);
  display: flex;
  align-items: center;
}
.header-inner {
  width: min(1680px, calc(100% - 20px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border-radius: 12px;
  padding: 0;
  flex: 0 0 auto;
  text-decoration: none;
}
.brand img {
  height: 56px;
  width: 64px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  border-radius: 8px;
  background: #fff;
}
.brand-name {
  display: block;
  max-width: 9.4em;
  color: #ffe14a;
  background: var(--navy);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.nav-toggle {
  margin-left: auto;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; min-width: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav > ul > li { flex: 0 0 auto; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { color: var(--navy-deep); }
.site-nav a.active { box-shadow: inset 0 -2px 0 var(--navy); }
.has-sub { position: relative; }
.sub-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  width: 28px;
}
.sub {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  border: 1px solid var(--line);
  z-index: 20;
}
.sub a { display: block; font-weight: 600; padding: 10px 12px; }
.sub a:hover { background: var(--gold-soft); }
.has-sub:hover > .sub,
.has-sub:focus-within > .sub { display: block; }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; }
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.lang-switch button.active { background: var(--navy); color: #fff; }
.form .lang-switch { gap: 8px; }
.form .lang-switch button {
  min-width: 64px;
  padding: 10px 14px;
  border: 1px solid #c5d4ee;
  background: #fff;
  font-size: 15px;
}
.form .lang-switch button.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.apply-btn,
.nav-cta {
  background: #ffd000;
  color: #0d2f6b !important;
  border: 2px solid #0d2f6b;
  border-radius: 10px;
  padding: 8px 12px !important;
  box-shadow: 0 3px 0 #0d2f6b !important;
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.15;
}
.apply-btn:hover,
.nav-cta:hover { background: #ffe14a; color: #0d2f6b !important; }
.nav-cta-level {
  background: var(--navy);
  color: #fff !important;
  border-color: #ffe14a;
  box-shadow: 0 2px 0 #082047 !important;
}
.nav-cta-level:hover { background: var(--navy-deep); color: #fff !important; }

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-h) - var(--flag-h));
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-inner { width: min(1140px, calc(100% - 40px)); margin: 0 auto 64px; }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  font-weight: 800;
}
.hero p { max-width: 46ch; font-size: 1.12rem; margin: 0 0 22px; color: #f4f1ea; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.btn-gold, .btn-yellow {
  background: #ffd000;
  color: #0d2f6b;
  border: 2px solid #0d2f6b;
  box-shadow: 0 4px 0 #0d2f6b;
}
.btn-gold:hover, .btn-yellow:hover { background: #ffe14a; color: #0d2f6b; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }

.stats {
  background: #ffd000;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 16px;
  text-align: center;
}
.stat strong { display: block; font-size: 1.8rem; color: var(--navy); line-height: 1; }
.stat span { color: var(--navy); font-weight: 600; }

.section { padding: 72px 0; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.lead { color: var(--muted); font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}
.photo-pair { display: grid; gap: 14px; }
.photo-pair .photo { height: 248px; }
.perk-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.perk-line li {
  background: #0d2f6b;
  color: #ffd000;
  font-weight: 800;
  font-size: .8rem;
  border-radius: 999px;
  padding: 4px 9px;
}
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 28px; }
.feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0d2f6b;
  color: #ffd000;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.course > img { height: 190px; width: 100%; object-fit: cover; }
.cert-board {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px 12px;
  align-items: center;
  justify-items: center;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
}
.course .cert-board { display: grid; border-radius: 0; border-bottom: 1px solid var(--line); }
.cert-board img {
  width: 100%;
  max-width: 150px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.course div { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.course p { margin: 0; color: var(--muted); flex: 1; }
.kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-deep); margin: 0 0 8px; }

.band {
  position: relative;
  color: #fff;
  min-height: 360px;
  display: grid;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.band .wrap { position: relative; padding: 56px 0; }
.band h2 { max-width: 16ch; }
.band p { max-width: 48ch; }

.quotes { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news img { height: 220px; width: 100%; object-fit: cover; border-radius: 14px; }
.campus-news {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.social-embed {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.social-embed iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffd000;
  border-radius: 18px;
  overflow: hidden;
}
.help article { padding: 36px 32px; }
.help article + article { background: var(--navy); color: #fff; }
.help article + article a { color: #fff; }
.help h3 { margin: 0 0 8px; font-size: 1.6rem; }
.help p { margin: 0 0 16px; }

.page-hero {
  background-color: #16315f;
  background-image: linear-gradient(100deg, rgba(8, 24, 58, .72), rgba(8, 24, 58, .38)), var(--hero);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.03em; max-width: 18ch; }
.prose { max-width: 760px; overflow-x: auto; }
.prose p { color: #2c3440; font-size: 1.05rem; }
.prose ul { margin: 8px 0 20px; padding-left: 1.2rem; color: #2c3440; }
.prose li { margin: 8px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card img { height: 200px; width: 100%; object-fit: cover; }
.card div { padding: 16px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.accordion details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.accordion summary { cursor: pointer; font-weight: 800; }
.price { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.price th, .price td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price th { background: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { height: 230px; width: 100%; object-fit: cover; border-radius: 12px; }
.note { background: var(--gold-soft); border-radius: 12px; padding: 14px 16px; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.map { border: 0; width: 100%; height: 420px; border-radius: 16px; }
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form h1, .form h2 { margin-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #c5d4ee;
  background: #fff;
  font-size: 1rem;
}
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .95rem; }
.check input { margin-top: 4px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 42px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.site-footer h2 { font-size: 1.15rem; margin: 0 0 8px; }
.site-footer p { margin: 0 0 6px; color: #333; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: hidden;
}
.socials svg { width: 42px; height: 42px; display: block; }
.google-review { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.google-review-top { display: flex; align-items: center; gap: 12px; }
.google-mark { width: 46px; height: 46px; display: block; }
.google-stars { display: flex; gap: 3px; }
.google-stars svg { width: 30px; height: 30px; fill: #f6b400; }
.google-review-btn {
  display: inline-block;
  background: #d5e4f7;
  color: #1c2744;
  font-weight: 650;
  font-size: 1.2rem;
  line-height: 1.2;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
}
.google-review-btn:hover { background: #c5d6ee; color: #1c2744; }
.legal { margin-top: 22px; color: var(--muted); font-size: .92rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal a { color: var(--navy); font-weight: 700; }

/* West African flags — locked to the bottom from first paint */
.flag-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  height: var(--flag-h);
  background: #fff;
  border-top: 3px solid #0d2f6b;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.flags {
  display: flex;
  width: max-content;
  animation: flag-scroll 36s linear infinite;
}
.flag-bar:hover .flags { animation-play-state: paused; }
.flag-set { display: flex; gap: 14px; padding-right: 14px; }
.flags img { width: 42px; height: 28px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.18); flex: 0 0 auto; }
@keyframes flag-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .flags { animation: none; }
}

.floaters { position: fixed; right: 16px; bottom: calc(var(--flag-h) + 14px); z-index: 1150; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.level-floater {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d2f6b;
  color: #ffd000;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.level-floater:hover { background: #082047; color: #ffe14a; }
.floater {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  color: #fff;
  text-decoration: none;
}
.floater.wa { background: #25d366; }
.floater.bot { background: var(--navy); }
.floater svg { width: 28px; height: 28px; fill: currentColor; }
.chat {
  position: fixed;
  right: 16px;
  top: calc(var(--header-h) + 12px);
  width: min(360px, calc(100vw - 24px));
  height: min(520px, calc(100vh - var(--header-h) - var(--flag-h) - 28px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  z-index: 1300;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat.open { display: flex; }
.chat header {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat header strong { display: block; }
.chat header span { font-size: .82rem; opacity: .85; }
.chat header button {
  background: transparent;
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.chat-log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #f7f8fb; }
.bubble { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: .95rem; }
.bubble.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bubble.me { background: var(--navy); color: #fff; align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; background: #f7f8fb; }
.chips button { border: 1px solid #c5d4ee; background: #fff; border-radius: 999px; padding: 6px 10px; cursor: pointer; font-weight: 700; font-size: .82rem; color: var(--navy); }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat input { flex: 1; border: 1px solid #c5d4ee; border-radius: 10px; padding: 10px; }
.chat form button { border: 0; background: var(--gold); border-radius: 10px; font-weight: 800; padding: 0 12px; cursor: pointer; }

@media (max-width: 1280px) {
  .site-nav a { font-size: 13px; padding: 8px 6px; }
  .brand img { height: 50px; width: 58px; }
  .nav-cta, .apply-btn { padding: 8px 10px !important; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: var(--flag-h);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 24px;
    overflow: auto;
    margin: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .site-nav a { padding: 12px 8px; font-size: 1.05rem; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    color: var(--navy);
  }
  .sub { position: static; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .has-sub.open > .sub { display: block; }
  .header-tools { width: 100%; margin: 8px 0 0; justify-content: flex-start; flex-wrap: wrap; }
  .nav-cta, .apply-btn { flex: 1 1 160px; justify-content: center; text-align: center; }
  .site-header { background: #fff; border-bottom-color: #ffd000; }
  .header-inner { gap: 8px; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand-name {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    background: transparent;
    color: #0d2f6b;
    padding: 0;
    font-size: 13px;
    line-height: 1.15;
    letter-spacing: 0.04em;
  }
  .split, .quotes, .help, .contact-grid, .footer-grid, .courses, .cards, .gallery, .news, .features {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .courses, .cards, .gallery { grid-template-columns: 1fr 1fr; }
  .photo { height: 260px; }
  .hero-inner { margin-bottom: 36px; }
  .brand img { height: 46px; width: 52px; }
}
@media (max-width: 640px) {
  .courses, .cards, .gallery, .news { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .form { padding: 18px; }
  .floater, .level-floater { width: 50px; height: 50px; }
  .level-floater { font-size: 8px; padding: 4px; }
}
