/* =====================================================================
   Elimu Digital — public website
   Palette: deep navy, white, teal accents, light grey surfaces.
   ===================================================================== */
:root {
  --navy-900: #071a33;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --navy-600: #1a3f72;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-50: #e6f7f5;
  --grey-50: #f5f7fa;
  --grey-100: #eef2f6;
  --ink: #0f172a;
  --muted: #5b6b80;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, .06);
  --shadow: 0 18px 40px -18px rgba(11, 31, 58, .28);
  --nav-h: 72px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; z-index: 2000; top: 8px; left: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.text-teal { color: var(--teal-600) !important; }
.text-muted-2 { color: var(--muted); }
.link-teal { color: var(--teal-600); font-weight: 700; text-decoration: none; }
.link-teal:hover { color: var(--navy-700); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal-500); border-color: var(--teal-500); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 184, 166, .7); }
.btn-teal:hover, .btn-teal:focus { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn-navy { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.btn-outline-navy { border: 1.5px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }

/* ---------- Navigation ---------- */
.site-nav { min-height: var(--nav-h); background: transparent; transition: background .25s, box-shadow .25s, min-height .25s; }
.site-nav.scrolled, .site-nav.open { background: rgba(7, 26, 51, .96); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .45); }
.site-nav .brand-text { color: #fff; font-weight: 800; letter-spacing: .3px; font-size: 1.15rem; }
.brand-logo { border-radius: 10px; object-fit: contain; }
.site-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .93rem; padding: .5rem .8rem !important; border-radius: 10px; }
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link.active { color: #fff; background: rgba(20, 184, 166, .22); }
.navbar-toggler { color: #fff; border: 1px solid rgba(255, 255, 255, .35); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(20, 184, 166, .45); }
@media (max-width: 991.98px) {
  #navLinks { padding: .75rem 0 1rem; }
  .nav-cta { margin-top: .5rem; }
  .nav-cta .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: calc(var(--nav-h) + 64px) 0 96px; background: var(--navy-900); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 500px at 85% 10%, rgba(20, 184, 166, .28), transparent 60%),
  radial-gradient(700px 420px at 0% 100%, rgba(26, 63, 114, .9), transparent 60%),
  linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.eyebrow { display: inline-flex; gap: .5rem; align-items: center; padding: .4rem .9rem; border-radius: 999px; background: rgba(20, 184, 166, .16); color: #7ff0e2; font-weight: 700; font-size: .85rem; border: 1px solid rgba(20, 184, 166, .35); }
.display-title { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.12; letter-spacing: -.02em; }
.hero-lead { color: rgba(255, 255, 255, .8); font-size: 1.12rem; max-width: 560px; }
.hero-points li { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; }
.hero-points i { color: var(--teal-500); margin-right: .35rem; }

/* Dashboard mockup (pure HTML/CSS illustration) */
.mockup { margin: 0; background: #fff; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; color: var(--ink); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-8px); } }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--grey-100); border-bottom: 1px solid #e2e8f0; }
.mock-top > span { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-top > span:nth-child(2) { background: #fbbf24; } .mock-top > span:nth-child(3) { background: #34d399; }
.mock-url { margin-left: 10px; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.mock-body { display: flex; min-height: 300px; }
.mock-side { width: 52px; background: var(--navy-800); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 16px; color: rgba(255, 255, 255, .55); font-size: .95rem; }
.mock-side i:first-child { color: var(--teal-500); }
.mock-main { flex: 1; padding: 14px; background: var(--grey-50); min-width: 0; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms, .mp { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow-sm); }
.ms small, .mp small { display: block; color: var(--muted); font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ms b { font-size: 1.35rem; font-weight: 800; color: var(--navy-800); }
.ms em { display: block; font-style: normal; font-size: .66rem; color: var(--teal-600); }
.mock-panels { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 10px; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 88px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal-500), var(--navy-600)); }
.donut { width: 76px; height: 76px; margin: 8px auto 4px; border-radius: 50%; background: conic-gradient(var(--teal-500) 0 38%, var(--navy-600) 0 72%, #fbbf24 0 90%, #f87171 0); -webkit-mask: radial-gradient(circle 22px, transparent 98%, #000 100%); mask: radial-gradient(circle 22px, transparent 98%, #000 100%); }
.legend-mini { display: flex; justify-content: center; gap: 6px; font-size: .6rem; font-weight: 700; }
.legend-mini span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 3px; background: var(--teal-500); }
.legend-mini .l2::before { background: var(--navy-600); } .legend-mini .l3::before { background: #fbbf24; } .legend-mini .l4::before { background: #f87171; }
.spark { width: 100%; height: 46px; color: var(--teal-600); }
.mock-note { text-align: right; font-size: .65rem; color: var(--muted); padding: 4px 10px 6px; background: var(--grey-50); }
@media (max-width: 575.98px) { .mockup { transform: none; animation: none; } .mock-side { display: none; } .ms b { font-size: 1.05rem; } }

/* ---------- Strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--grey-100); padding: 28px 0; position: relative; }
.strip b { display: block; font-size: 1.55rem; font-weight: 800; color: var(--navy-800); }
.strip span { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.bg-soft { background: var(--grey-50); }
.kicker { display: inline-block; color: var(--teal-600); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .5rem; }
.kicker-light { color: #7ff0e2; }
.section-title { font-weight: 800; font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.015em; color: var(--navy-800); margin-bottom: 1rem; }
@media (max-width: 767.98px) { .section { padding: 68px 0; } }

/* About mini cards */
.mini-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--grey-100); border-radius: 16px; padding: 16px; height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mini-card h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .2rem; color: var(--navy-800); }
.mini-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); font-size: 1.1rem; }

/* Feature cards */
.feature-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--grey-100); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal-500), var(--navy-600)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy-800); margin: 16px 0 8px; }
.feature-card p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.ic-lg { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--navy-600)); box-shadow: 0 10px 20px -10px rgba(13, 148, 136, .8); }
.ic-lg.ic-sm { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
.badge-soon { background: #fff4e5; color: #b45309; font-weight: 700; font-size: .68rem; border: 1px solid #fcd9a8; }

/* Why section */
.why { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.why-item { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); height: 100%; transition: background .2s, transform .2s; }
.why-item:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.why-item .ic { margin: 0 auto 12px; background: rgba(20, 184, 166, .18); color: #5eead4; }
.why-item h3 { font-size: 1rem; font-weight: 800; }
.why-item p { color: rgba(255, 255, 255, .7); font-size: .87rem; margin: 0; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--grey-100); border-radius: 999px; padding: 4px; }
.billing-toggle button { border: 0; background: transparent; padding: .5rem 1.3rem; border-radius: 999px; font-weight: 700; color: var(--muted); }
.billing-toggle button.active { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 30px 24px 24px; border: 1px solid #e3e9f0; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.recommended { border: 2px solid var(--teal-500); box-shadow: 0 24px 50px -24px rgba(13, 148, 136, .55); }
@media (min-width: 1200px) { .price-card.recommended { transform: translateY(-10px); } .price-card.recommended:hover { transform: translateY(-14px); } }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal-500); color: #fff; font-size: .75rem; font-weight: 800; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.price-card h3 { font-weight: 800; font-size: 1.3rem; color: var(--navy-800); margin: 0; }
.price-card .tag { color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.price { min-height: 78px; margin-bottom: 14px; }
.price .cur { font-weight: 700; color: var(--muted); margin-right: 4px; vertical-align: top; }
.price .amt { font-size: 2.2rem; font-weight: 800; color: var(--navy-800); line-height: 1; }
.price .amt-text { font-size: 1.6rem; }
.price .per { color: var(--muted); font-weight: 600; margin-left: 4px; }
.price .note { font-size: .78rem; color: var(--teal-600); font-weight: 600; margin-top: 4px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { display: flex; gap: 10px; padding: 6px 0; font-size: .92rem; color: #334155; }
.checks li i { color: var(--teal-500); margin-top: 4px; font-size: .8rem; }
.checks li.more { color: var(--teal-600); font-weight: 700; padding-left: 22px; }
.checks-lg li { padding: 8px 0; border-bottom: 1px dashed var(--grey-100); }
.checks li.planned { color: var(--muted); }
.checks li.planned i { color: #d97706; }
.chip { display: inline-flex; align-items: center; background: var(--teal-50); color: var(--navy-700); border-radius: 999px; padding: .3rem .75rem; font-size: .8rem; font-weight: 700; }
.compare th, .compare td { padding: .7rem .6rem; }
.compare thead th { font-weight: 800; color: var(--navy-800); border-bottom: 2px solid var(--grey-100); }
.compare thead th.rec { color: var(--teal-600); }
.compare tbody th { font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* Steps */
.steps .step { position: relative; text-align: center; background: #fff; border-radius: var(--radius); padding: 34px 20px 24px; height: 100%; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-100); }
.steps .num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--grey-50); }
.steps .ic { margin: 4px auto 14px; width: 58px; height: 58px; font-size: 1.35rem; border-radius: 16px; }
.steps h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-800); }
.steps p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (min-width: 992px) { .steps li:not(:last-child) .step::after { content: ""; position: absolute; top: 50%; right: -22px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-500) 0 6px, transparent 6px 10px); } }

/* Testimonials */
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-100); position: relative; }
.quote .q { color: var(--teal-500); font-size: 1.6rem; opacity: .5; }
.quote blockquote { font-size: 1rem; color: #334155; margin: 10px 0 18px; }
.quote figcaption b { display: block; color: var(--navy-800); }
.quote figcaption span { color: var(--muted); font-size: .85rem; }
.quote-empty { border: 2px dashed #cbd5e1; background: var(--grey-50); color: var(--muted); }
.quote-empty i { color: var(--teal-500); }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--grey-100); border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 700; color: var(--navy-800); padding: 1.1rem 1.25rem; }
.faq .accordion-button:not(.collapsed) { background: var(--teal-50); color: var(--navy-800); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(20, 184, 166, .35); }
.faq .accordion-body { color: #475569; }

/* Contact */
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--grey-50); border: 1px solid var(--grey-100); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-item b { display: block; color: var(--navy-800); }
.contact-item span { color: var(--muted); font-size: .9rem; word-break: break-word; }
.contact-item.wa .ic { background: #dcfce7; color: #16a34a; }
.contact-form { background: #fff; border-radius: 22px; padding: 28px; border: 1px solid var(--grey-100); box-shadow: var(--shadow); }
.contact-form .form-label { font-weight: 700; font-size: .88rem; color: var(--navy-800); }
.contact-form .form-control, .contact-form .form-select { border-radius: 12px; padding: .7rem .9rem; border-color: #dbe3ec; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(20, 184, 166, .15); }
.contact-form.highlight { animation: pulse-border 1.4s ease 1; }
@keyframes pulse-border { 0%, 100% { box-shadow: var(--shadow); } 40% { box-shadow: 0 0 0 6px rgba(20, 184, 166, .35); } }
.req { color: #dc2626; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Final CTA */
.final-cta { padding: 90px 0; color: #fff; background:
  radial-gradient(600px 300px at 15% 20%, rgba(20, 184, 166, .35), transparent 60%),
  linear-gradient(135deg, var(--navy-800), var(--navy-600)); }
.final-cta h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.final-cta p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 64px 0 24px; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer a:hover { color: #5eead4; }
.site-footer li { margin-bottom: 8px; font-size: .9rem; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--teal-500); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* Floating buttons */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.8rem; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.to-top { position: fixed; right: 26px; bottom: 92px; z-index: 1040; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--navy-800); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
body:not(:has(.wa-float)) .to-top { bottom: 24px; }

/* Modals */
.modal-content { border: 0; border-radius: 20px; }
.modal-header { border-bottom-color: var(--grey-100); }
.modal-title { font-weight: 800; color: var(--navy-800); }
.legal p { color: #334155; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; } .delay-2 { transition-delay: .16s; } .delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Headings always use the site palette, whatever Bootstrap theme is loaded */
.hero h1, .hero .display-title { color: #fff; }
.section:not(.why) h2, .section:not(.why) h3, .section:not(.why) h4 { color: var(--navy-900, #0b1f3a); }
.why h2, .why h3, .final-cta h2 { color: #fff; }
