/* ─── Base ───────────────────────────────────────────────────────────────── */
:root {
  --green:        #1a7f4b;
  --green-dark:   #145f38;
  --green-light:  #e8f5ee;
  --white:        #ffffff;
  --gray-50:      #f8f9fa;
  --gray-100:     #f1f3f5;
  --gray-300:     #dee2e6;
  --gray-600:     #6c757d;
  --gray-800:     #343a40;
  --text:         #1e2a35;
  --radius:       10px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.btn-primary {
  background: var(--green);
  border-color: var(--green);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-primary {
  color: var(--green);
  border-color: var(--green);
}
.btn-outline-primary:hover {
  background: var(--green);
  border-color: var(--green);
}
.text-primary { color: var(--green) !important; }
.bg-primary { background: var(--green) !important; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
#mainNav {
  padding: 14px 0;
  transition: box-shadow .2s;
}
#mainNav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.1); }

.brand-text {
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -.5px;
}
.brand-text strong { color: var(--green); }
.brand-nigeria { color: var(--green); font-weight: 300; font-size: 1rem; }
.brand-nigeria-light { color: #6fcf97; font-weight: 300; font-size: 1rem; }

.nav-link { font-size: .92rem; font-weight: 500; color: var(--gray-800) !important; padding: .4rem .75rem !important; }
.nav-link.active { color: var(--green) !important; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, #0f4c2a 0%, #1a7f4b 55%, #27ae60 100%);
  color: var(--white);
  padding: 96px 0 80px;
}
#hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}
#hero .lead { font-size: 1.1rem; opacity: .88; max-width: 560px; }
#hero .badge-pill {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
}
.hero-ctas .btn { padding: .65rem 1.6rem; font-weight: 500; }
.hero-ctas .btn-light { color: var(--green-dark); }
.hero-ctas .btn-outline-light { border-width: 1.5px; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-num { font-size: 1.6rem; font-weight: 700; }
.hero-stat-label { font-size: .78rem; opacity: .7; }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
}
.section-heading { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 16px; }
.section-sub { color: var(--gray-600); max-width: 560px; }

/* ─── Feature overview cards ─────────────────────────────────────────────── */
.overview-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.overview-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 1.3rem;
}
.overview-card h5 { font-size: 1rem; margin-bottom: 8px; }
.overview-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--gray-600);
  font-size: .87rem;
}
.overview-card ul li { margin-bottom: 4px; }

/* ─── Nigeria callout ────────────────────────────────────────────────────── */
.ng-callout {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.ng-callout h5 { color: var(--green-dark); margin-bottom: 8px; }
.ng-callout p { margin: 0; font-size: .9rem; color: var(--gray-800); }

/* ─── Curriculum badge strip ─────────────────────────────────────────────── */
.curriculum-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.curriculum-badge {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-800);
}
.curriculum-badge.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ─── Pricing cards ──────────────────────────────────────────────────────── */
.pricing-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  position: relative;
  transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(26,127,75,.15);
}
.pricing-card .featured-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card h4 { font-size: 1.05rem; }
.pricing-card .price-label { font-size: .82rem; color: var(--gray-600); }
.pricing-included { list-style: none; padding: 0; margin: 20px 0 0; }
.pricing-included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  margin-bottom: 10px;
  color: var(--gray-800);
}
.pricing-included li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ─── Testimonials / trust strip ─────────────────────────────────────────── */
.trust-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 28px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--gray-600);
  font-weight: 500;
}
.trust-item i { font-size: 1.4rem; color: var(--green); }

/* ─── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0f4c2a 0%, #1a7f4b 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { opacity: .85; max-width: 480px; margin: 0 auto 28px; }

/* ─── Features page ──────────────────────────────────────────────────────── */
.features-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-300);
  padding: 56px 0;
}
.feature-section { padding: 72px 0; border-bottom: 1px solid var(--gray-100); }
.feature-section:last-of-type { border-bottom: none; }
.feature-icon-lg {
  width: 64px; height: 64px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .92rem;
}
.feature-list li i { color: var(--green); margin-top: 3px; flex-shrink: 0; }

/* ─── Contact / FAQs ─────────────────────────────────────────────────────── */
.page-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-300);
  padding: 52px 0;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,127,75,.12); }
.form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,127,75,.12); }

.accordion-button:not(.collapsed) { color: var(--green); background: var(--green-light); }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(26,127,75,.12); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0f2219;
  padding: 64px 0 32px;
  color: rgba(255,255,255,.7);
}
.footer-heading {
  color: var(--white);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: .88rem; }
.footer-links a { color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.text-muted-footer { color: rgba(255,255,255,.45) !important; }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 40px 0 20px; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-copy a { color: rgba(255,255,255,.5); }
.footer-copy a:hover { color: rgba(255,255,255,.8); }

/* ─── Legal pages ────────────────────────────────────────────────────────── */
.legal-body h4 { margin-top: 2rem; margin-bottom: .6rem; font-size: 1.05rem; color: var(--text); }
.legal-body h5 { margin-top: 1.25rem; margin-bottom: .4rem; font-size: .95rem; color: var(--text); }
.legal-body p, .legal-body ul { color: var(--gray-600); font-size: .94rem; }
.legal-body ul { padding-left: 1.4rem; }
.legal-body ul li { margin-bottom: .4rem; }
.legal-body a { color: var(--green); }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.bg-green-light { background: var(--green-light) !important; }
.text-green { color: var(--green) !important; }
.rounded-xl { border-radius: var(--radius) !important; }

@media (max-width: 768px) {
  #hero { padding: 64px 0 52px; }
  .hero-stats { gap: 20px; }
  .section-pad { padding: 52px 0; }
  .feature-section { padding: 52px 0; }
}
