/* ══ EduLab Nigeria — Base styles (shared across all pages) ══ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --ink: #122421;
  --navy: #0F3D3A;
  --blue: #0E7C72;
  --sky: #14B8A6;
  --cyan: #2DD4BF;
  --ice: #E6FBF7;
  --green: #2F7D5B;
  --lime: #D2F5E3;
  --gold: #DB8A1F;
  --sand: #FFFCF6;
  --off: #F6F2E9;
  --white: #FFFFFF;
  --mid: #3E4F4B;
  --muted: #71807A;
  --border: #E3E8E1;
  --font-h: 'Fraunces', Georgia, serif;
  --font-b: 'Outfit', sans-serif;
  --font-m: 'Space Mono', monospace;
  --r: 16px;
  --r2: 28px;
  --r3: 48px;
  --sh: 0 4px 24px rgba(18, 36, 33, .08);
  --sh2: 0 12px 56px rgba(18, 36, 33, .12);
  --sh3: 0 32px 96px rgba(18, 36, 33, .18);
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-b);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden
}

/* ══ NOISE OVERLAY ══ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ══ NAV ══ */
nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 14px 24px
}

.nav-pill {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 61, 58, .92);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r3);
  padding: 10px 10px 10px 20px;
  box-shadow: 0 8px 32px rgba(15, 61, 58, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: all .3s
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.logo-m {
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(45, 212, 191, .35))
}

.logo-m img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block
}

.logo-t {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em
}

.logo-t em {
  font-style: normal;
  color: var(--cyan)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 99px;
  transition: all .2s
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--sky)) !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(45, 212, 191, .3) !important
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, .45) !important
}

.hburg {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px
}

.hburg span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all .25s
}

/* ══ BUTTONS ══ */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: var(--r3);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(45, 212, 191, .4);
  transition: all .25s;
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  font-family: var(--font-b)
}

.btn-p:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(45, 212, 191, .55)
}

.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 24px;
  border-radius: var(--r3);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all .25s
}

.btn-g:hover {
  background: var(--ice);
  border-color: var(--sky)
}

/* ══ PAGE HEADER (non-home pages) ══ */
.pg-header {
  background: linear-gradient(160deg, var(--ice) 0%, var(--sand) 55%);
  position: relative;
  overflow: hidden;
  padding: 160px 0 72px
}

.pg-header .hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(45, 212, 191, .16) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 10% 70%, rgba(14, 124, 114, .12) 0%, transparent 60%);
}

.pg-header .hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 61, 58, .09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 80%)
}

.pg-crumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 22px
}

.pg-crumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color .2s
}

.pg-crumb a:hover {
  color: var(--sky)
}

.pg-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-h);
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.03;
  color: var(--navy);
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: 16px
}

.pg-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sky)
}

.pg-sub {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--mid);
  max-width: 620px;
  line-height: 1.75;
  font-weight: 300
}

/* ══ SECTIONS ══ */
.sec {
  padding: 96px 0
}

.ctn {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px
}

.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-m);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px
}

.chip-b {
  background: rgba(20, 184, 166, .12);
  color: var(--blue);
  border: 1px solid rgba(20, 184, 166, .25)
}

.chip-g {
  background: rgba(47, 125, 91, .1);
  color: var(--green);
  border: 1px solid rgba(47, 125, 91, .2)
}

.chip-a {
  background: rgba(219, 138, 31, .1);
  color: var(--gold);
  border: 1px solid rgba(219, 138, 31, .2)
}

.sec-h {
  font-family: var(--font-h);
  font-size: clamp(34px, 4vw, 56px);
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: 16px
}

.sec-h em {
  font-style: italic;
  font-weight: 300;
  color: var(--sky)
}

.sec-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  font-weight: 300
}

/* ══ FOOTER ══ */
footer {
  background: var(--off);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px
}

footer .logo-t {
  color: var(--navy)
}

footer .logo-t em {
  color: var(--sky)
}

.fg-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px
}

@media(max-width:700px) {
  .fg-grid {
    grid-template-columns: 1fr
  }
}

.fb-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 14px
}

.fc h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px
}

.fc a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s
}

.fc a:hover {
  color: var(--blue)
}

.fbot {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px
}

.fbot p {
  font-size: 12px;
  color: var(--muted)
}

.fbot-badge {
  font-family: var(--font-m);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .13em
}

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.rev {
  opacity: 1;
  transform: none;
  transition: none
}

.rev.vis {
  opacity: 1;
  transform: none
}

.d1 {
  transition-delay: .1s
}

.d2 {
  transition-delay: .2s
}

.d3 {
  transition-delay: .3s
}

/* ══ MOBILE ══ */
@media(max-width:800px) {
  .nav-links {
    display: none
  }

  .hburg {
    display: block
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(15, 61, 58, .97);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r2);
    padding: 16px 20px;
    gap: 4px;
    box-shadow: var(--sh3)
  }
}
