:root {
  --ink: #17142e;
  --muted: #676273;
  --paper: #fbf8ef;
  --panel: #ffffff;
  --line: #e8dfcb;
  --purple: #2b2187;
  --purple-dark: #21156f;
  --purple-ink: #161044;
  --gold: #b88f3e;
  --gold-bright: #d6bc72;
  --gold-soft: #f4e4b8;
  --blue-gray: #e8ecf3;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-soft: #ccfbf1;
  --shadow: 0 24px 70px rgba(33, 21, 111, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 188, 114, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(43, 33, 135, 0.09), transparent 24rem),
    linear-gradient(180deg, #fbf8ef 0%, #f7efe0 44%, #fbf8ef 100%);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 0.9rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(251, 248, 239, 0.9);
  border-bottom: 1px solid rgba(230, 223, 207, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border: 2px solid rgba(43, 33, 135, 0.18);
  border-radius: 50%;
  box-shadow: 0 9px 20px rgba(43, 33, 135, 0.16);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--purple);
}

.site-nav a[aria-current="page"] {
  color: var(--purple);
}

.nav-call {
  color: #fff;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: #1f9d55;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(31, 157, 85, 0.18);
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.whatsapp-button:hover {
  color: #ffffff;
  background: #178246;
  box-shadow: 0 16px 30px rgba(31, 157, 85, 0.24);
  transform: translateY(-2px);
}

.whatsapp-button img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 4.5rem) 4rem;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.3rem, 9vw, 6.9rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 12px 28px rgba(43, 33, 135, 0.24);
}

.button.secondary {
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(230, 223, 207, 0.82);
  border-radius: 7px;
}

.hero-stats dt {
  color: var(--purple);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-brand-panel {
  justify-self: center;
  width: min(100%, 500px);
}

.hero-logo-shell {
  display: grid;
  justify-items: center;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(43, 33, 135, 0.96), rgba(33, 21, 111, 0.98)),
    var(--purple);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-logo-shell img {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.22));
}

.hero-logo-shell strong,
.hero-logo-shell span {
  display: block;
}

.hero-logo-shell strong {
  color: #fbf8ef;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1;
}

.hero-logo-shell span {
  margin-top: 0.35rem;
  color: var(--gold-soft);
  font-weight: 900;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 4.5rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  background: var(--purple-dark);
  color: #fbf8ef;
}

.intro .eyebrow,
.intro p {
  color: rgba(251, 248, 239, 0.78);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.text-link {
  display: inline-flex;
  margin-top: 0.3rem;
  color: var(--purple);
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.program-card,
.school-card,
.contact-form {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(19, 32, 27, 0.06);
}

.program-card {
  min-height: 260px;
  padding: 1.35rem;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
  color: var(--purple);
  background: var(--gold-soft);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.program-card p,
.method-copy p,
.contact-panel p {
  color: var(--muted);
}

.footprint {
  background: linear-gradient(180deg, #fbf8ef 0%, #f9f1de 100%);
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.state-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  min-height: 150px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(19, 32, 27, 0.05);
}

.state-card-osun {
  color: #fbf8ef;
  background: linear-gradient(135deg, #b88f3e, #7a571c);
  border-color: rgba(251, 248, 239, 0.22);
}

.state-card-fct {
  color: #fbf8ef;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-color: rgba(251, 248, 239, 0.18);
}

.state-card-rivers {
  background: linear-gradient(135deg, #f9f1de, #dfe9ef);
  border-color: #d7c8a9;
}

.state-card-lagos {
  background: linear-gradient(135deg, #ffffff, #e8ecf3);
  border-color: #d8ddeb;
}

.state-card-edo {
  background: linear-gradient(135deg, #fff7ed, #f2dcc2);
  border-color: #e5c7a5;
}

.national-card {
  min-height: 220px;
}

.state-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.state-card strong {
  display: block;
  color: var(--purple-ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.state-card-osun span,
.state-card-osun strong,
.state-card.headquarter span,
.state-card.headquarter strong {
  color: inherit;
}

.state-lead {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(103, 98, 115, 0.18);
}

.state-lead img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(23, 20, 46, 0.14);
}

.state-lead b,
.state-lead small {
  display: block;
}

.state-lead b {
  color: var(--purple-ink);
  line-height: 1.1;
}

.state-lead small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.state-card-osun .state-lead,
.state-card.headquarter .state-lead {
  border-color: rgba(251, 248, 239, 0.26);
}

.state-card-osun .state-lead b,
.state-card-osun .state-lead small,
.state-card.headquarter .state-lead b,
.state-card.headquarter .state-lead small {
  color: #fbf8ef;
}

.schools {
  background: linear-gradient(180deg, #fff3d7 0%, #f6ecda 100%);
}

.school-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.school-card {
  display: grid;
  gap: 0.5rem;
  min-height: 190px;
  padding: 1.5rem;
  align-content: end;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 239, 0.78)),
    var(--panel);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.school-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.school-card span,
.school-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.school-card strong {
  max-width: 18ch;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline strong {
  color: var(--purple);
}

.timeline span {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: stretch;
  background: var(--purple);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 460px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: #fbf8ef;
  background: linear-gradient(135deg, rgba(33, 21, 111, 0.96), rgba(22, 16, 68, 0.84));
  border: 1px solid rgba(251, 248, 239, 0.16);
  border-radius: 8px;
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(251, 248, 239, 0.8);
}

.contact-panel address {
  max-width: 340px;
  font-style: normal;
  font-weight: 800;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--gold-soft);
  font-size: 1.18rem;
  font-weight: 900;
}

.secondary-contact {
  color: #fbf8ef;
}

.contact-whatsapp {
  min-height: 48px;
  padding-inline: 1rem;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem);
}

.form-field {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field-wide,
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #fbf8ef;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  padding: 0.85rem 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 166, 47, 0.18);
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--purple-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: var(--cream);
}

.thanks-card {
  width: min(100%, 620px);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.thanks-card h1 {
  margin: 0 0 1rem;
  color: var(--purple-dark);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.95;
}

.thanks-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4.5rem);
  background: var(--ink);
  color: #fbf8ef;
}

.site-footer p {
  margin: 0;
  color: rgba(251, 248, 239, 0.72);
}

.footer-brand small {
  color: rgba(251, 248, 239, 0.7);
}

.team-hero {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(43, 33, 135, 0.94), rgba(33, 21, 111, 0.98)),
    var(--purple);
  color: #fbf8ef;
}

.team-hero h1 {
  max-width: 11ch;
}

.team-hero .eyebrow,
.team-hero .lede {
  color: rgba(251, 248, 239, 0.82);
}

.team-directory {
  background: linear-gradient(180deg, #fbf8ef 0%, #f7efe0 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(23, 20, 46, 0.07);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.team-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--gold-bright), var(--purple));
}

.team-card:hover {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.13);
  transform: translateY(-4px);
}

.team-avatar-wrap {
  display: grid;
  width: 112px;
  height: 112px;
  margin: 0.35rem 0 1rem;
  place-items: center;
  background: radial-gradient(circle, rgba(204, 251, 241, 0.9), rgba(214, 188, 114, 0.3));
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.team-card:hover .team-avatar-wrap {
  transform: scale(1.04);
}

.team-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(23, 20, 46, 0.16);
}

.team-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.team-role {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-location {
  margin-top: 0.2rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
}

.team-card-body h3 {
  margin: 0.65rem 0 0.7rem;
  font-size: 1.2rem;
  line-height: 1.1;
}

.team-card-body p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.team-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  margin-top: auto;
}

.team-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.55rem;
  color: #ffffff;
  background: var(--teal);
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 900;
}

.team-action:hover {
  color: #ffffff;
  background: var(--teal-dark);
}

.team-action.is-disabled {
  color: var(--muted);
  background: rgba(232, 236, 243, 0.9);
  border-color: rgba(103, 98, 115, 0.14);
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 12ch;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .state-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(251, 248, 239, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav a {
    padding: 0.9rem 0;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .hero-stats,
  .school-list,
  .card-grid,
  .state-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand-panel {
    width: min(100%, 420px);
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-panel {
    min-height: 360px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.7rem;
  }
}
