/* ═══════════════════════════════════════════════
   EXCELLERATE EDUCATION SOLUTIONS — Design System
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --navy: #0B1324;
  --navy-2: #111E35;
  --navy-3: #192744;
  --teal: #0FA876;
  --teal-dark: #0A8560;
  --teal-glow: rgba(15,168,118,0.12);
  --amber: #F0A500;
  --coral: #E8512A;
  --sky: #2E8FE8;
  --white: #FFFFFF;
  --off-white: #F5F7FB;
  --muted: rgba(255,255,255,0.55);
  --muted-2: rgba(255,255,255,0.3);
  --border: rgba(255,255,255,0.08);
  --text-dark: #0B1324;
  --text-body: #3A4A60;
  --text-muted: #6B7F99;
  --surface: #FFFFFF;
  --surface-2: #F4F7FB;
  --border-dark: rgba(11,19,36,0.09);
  --border-dark-2: rgba(11,19,36,0.13);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,19,36,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* padding-top = invisible bridge; moving mouse into it keeps :hover active */
  padding-top: 8px;
  min-width: 200px;
  z-index: 100;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  inset: 8px 0 0 0;
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  z-index: -1;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  position: relative;
  padding: 9px 14px !important;
  border-radius: 8px;
  font-size: 14px !important;
  color: rgba(255,255,255,0.65) !important;
}
.dropdown-menu a:hover { color: var(--white) !important; background: rgba(255,255,255,0.08) !important; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 80px 48px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: 10%;
  width: 480px; height: 360px;
  background: radial-gradient(ellipse, rgba(15,168,118,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,168,118,0.1);
  border: 1px solid rgba(15,168,118,0.22);
  color: #4ECFA0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  position: relative; z-index: 1;
}
.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1100px;
  width: 100%;
  position: relative; z-index: 1;
}
.page-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 32px;
  text-align: left;
  position: relative; z-index: 1;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
  line-height: 1.7;
  text-align: left;
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 1;
  position: relative; z-index: 1;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  justify-content: center;
  margin: 0;
  position: relative; z-index: 1;
}
.page-hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ─── LAYOUT ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section { padding: 60px 48px; max-width: 1240px; margin: 0 auto; }
.section-dark { background: var(--navy); padding: 96px 0; }
.section-light { background: var(--surface-2); padding: 96px 0; }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-block;
}
.eyebrow-teal { color: var(--teal-dark); }
.eyebrow-white { color: var(--teal); }

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-title em { font-style: normal; color: var(--teal); }
.section-sub {
  font-size: 17px; color: var(--text-body);
  max-width: 580px; line-height: 1.7; margin-bottom: 52px;
}
.section-sub.light { color: var(--muted); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--teal-dark);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--teal);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-outline:hover { background: var(--teal-glow); }

.btn-ghost {
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 400;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px rgba(11,19,36,0.08); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s;
}
.card-dark:hover { background: rgba(255,255,255,0.07); }

/* ─── STATS STRIP ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border-dark-2);
  border: 1px solid var(--border-dark-2);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-cell { background: var(--surface); padding: 36px 24px; text-align: center; }
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 38px; font-weight: 800;
  color: var(--teal-dark); line-height: 1;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ─── TRUST / TICKER ─── */
.trust-bar {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden;
}
.trust-track {
  display: flex; gap: 52px;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.trust-item {
  white-space: nowrap; color: rgba(255,255,255,0.38);
  font-size: 13px; font-weight: 400;
  display: flex; align-items: center; gap: 10px;
}
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); opacity: 0.7; }

/* ─── TESTIMONIAL ─── */
.testimonial {
  background: linear-gradient(135deg, rgba(15,168,118,0.07), rgba(46,143,232,0.05));
  border: 1px solid rgba(15,168,118,0.16);
  border-radius: var(--radius-xl);
  padding: 52px 60px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: -8px; left: 48px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 110px; color: var(--teal); opacity: 0.12; line-height: 1;
}
.testimonial-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px; font-weight: 500;
  color: var(--text-dark); line-height: 1.55;
  margin-bottom: 24px; font-style: italic;
  position: relative; z-index: 1;
}
.testimonial-source { font-size: 15px; font-weight: 500; color: var(--text-dark); }
.testimonial-role { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--navy);
  padding: 96px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(15,168,118,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.cta-banner h2 em { font-style: normal; color: var(--teal); }
.cta-banner p {
  font-size: 17px; color: var(--muted);
  margin-bottom: 40px; position: relative; z-index: 1;
}
.btn-row {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}

/* ─── FOOTER ─── */
footer {
  background: #070F1D;
  color: rgba(255,255,255,0.55);
  padding: 72px 48px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1240px; margin: 0 auto;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand { font-family: 'Bricolage Grotesque', sans-serif; font-size: 21px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: var(--teal); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.65; margin-bottom: 20px; max-width: 270px; }
.footer-contact { font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.8; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.32); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.52); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-eco { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-eco a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-eco a:hover { color: var(--teal); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ─── HAMBURGER / MOBILE NAV ─── */
.nav-mobile-right { display:none; align-items:center; gap:10px; }
.nav-cta-sm { background:var(--teal); color:var(--white) !important; font-size:12px; font-weight:600; padding:7px 14px; border-radius:8px; text-decoration:none; white-space:nowrap; transition:background 0.2s; }
.nav-cta-sm:hover { background:var(--teal-dark); }
.nav-hamburger { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:40px; height:40px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:8px; cursor:pointer; padding:0; }
.nav-hamburger span { display:block; width:20px; height:2px; background:var(--white); border-radius:2px; transition:transform 0.25s ease, opacity 0.2s ease; }
.nav-hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.nav-mobile-menu { display:none; position:fixed; inset:0; z-index:2000; background:var(--navy); flex-direction:column; overflow-y:auto; }
.nav-mobile-menu.open { display:flex; }
.nav-mobile-header { display:flex; align-items:center; justify-content:space-between; padding:0 20px; height:68px; border-bottom:1px solid rgba(255,255,255,0.08); flex-shrink:0; }
.nav-mobile-close { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:8px; color:var(--white); font-size:18px; width:40px; height:40px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.nav-mobile-links { display:flex; flex-direction:column; padding:16px 20px 40px; gap:2px; }
.nav-mobile-links > a { color:rgba(255,255,255,0.8); text-decoration:none; font-size:18px; font-weight:400; padding:13px 16px; border-radius:10px; transition:background 0.2s,color 0.2s; display:block; }
.nav-mobile-links > a:hover { background:rgba(255,255,255,0.07); color:var(--white); }
.nav-mobile-group { margin:4px 0; }
.nav-mobile-group-title { font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:rgba(255,255,255,0.3); padding:10px 16px 6px; }
.nav-mobile-group a { display:block; color:rgba(255,255,255,0.65); text-decoration:none; font-size:15px; padding:10px 16px 10px 28px; border-radius:8px; transition:background 0.2s,color 0.2s; }
.nav-mobile-group a:hover { background:rgba(255,255,255,0.07); color:var(--white); }
.nav-mobile-cta { background:var(--teal) !important; color:var(--white) !important; font-weight:600 !important; text-align:center !important; margin-top:16px; border-radius:10px !important; }
.nav-mobile-cta:hover { background:var(--teal-dark) !important; }
@media (max-width: 768px) {
  .nav-links { display:none !important; }
  .nav-mobile-right { display:flex; }
  .hero h1 { font-size:28px !important; }
  .hero-stats { padding-top:0 !important; }
  .hero-btns { margin-bottom:30px !important; }
  .hero-btns .btn-primary { display:none !important; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links .hide-md { display: none; }
  .section, .container { padding-left: 24px; padding-right: 24px; }
  .page-hero { padding: 72px 24px 36px; gap: 12px; }
  .page-hero-row { flex-direction: column; align-items: center; gap: 16px; }
  .page-hero h1 { white-space: normal; text-align: center; padding-right: 0; font-size: 28px; }
  .page-hero p { padding-left: 0; border-left: none; text-align: center; max-width: 480px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
}
</style>
