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

:root {
  --navy: #1A2F4A;
  --navy-dark: #0F1E30;
  --navy-mid: #243d5e;
  --yellow: #F5C842;
  --yellow-light: #FDF3C4;
  --green: #4CAF7D;
  --green-light: #E6F5ED;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --gray-100: #F0F2F5;
  --gray-200: #E0E4EA;
  --gray-400: #9AA4B2;
  --gray-600: #5A6474;
  --text: #1A2F4A;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  color: var(--white); font-size: 1.2rem;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

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

.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > span {
  color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.nav-dropdown > span::after { content: '▾'; font-size: 0.7em; opacity: 0.6; }
.nav-dropdown:hover > span { color: var(--white); }

.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12); min-width: 200px; overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block; padding: 10px 16px; color: var(--text) !important;
  font-size: 0.875rem; text-decoration: none; transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--gray-100); }

.nav-cta {
  background: var(--yellow) !important; color: var(--navy) !important;
  padding: 8px 20px; border-radius: var(--radius-sm);
  font-weight: 600 !important; transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.9 !important; }

.nav-mobile-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-mobile-btn span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 2px; transition: 0.3s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 64px 5% 56px; color: var(--white);
}
.page-hero .breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero h1 em { font-style: italic; color: var(--yellow); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; }

/* ── SECTION BASE ── */
section { padding: 72px 5%; }

.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy);
  margin-bottom: 1rem; max-width: 560px;
}
.section-lead {
  color: var(--gray-600); font-size: 1.05rem; max-width: 560px; line-height: 1.75;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--yellow); color: var(--navy);
  font-weight: 600; font-size: 0.95rem; padding: 13px 26px;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block; background: transparent;
  color: rgba(255,255,255,0.8); font-weight: 500; font-size: 0.95rem;
  padding: 13px 26px; border-radius: var(--radius-sm); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25); transition: border-color 0.15s, color 0.15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--navy);
  font-weight: 600; font-size: 0.9rem; padding: 11px 22px;
  border-radius: var(--radius-sm); text-decoration: none;
  border: 1.5px solid var(--navy); transition: background 0.15s, color 0.15s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,47,74,0.08);
  border-color: rgba(26,47,74,0.2);
}

.card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0;
}
.card-icon svg {
  width: 24px; height: 24px; stroke: var(--yellow); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 0.4rem; }

.tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px;
  border-radius: 100px; background: var(--green-light); color: #2E7D52;
  margin-bottom: 0.75rem;
}
.tag.tag-blue {
  background: #E6F1FB; color: #0C447C;
}
.tag.tag-yellow {
  background: var(--yellow-light); color: #6B5200;
}

.card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 1.5rem; }
.card-link {
  font-size: 0.875rem; font-weight: 600; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; }

/* ── CARD GRID ── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}
.card-grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; margin-top: 2.5rem;
}

/* ── DARK SECTION ── */
.section-dark {
  background: var(--navy); color: var(--white);
}
.section-dark .section-eyebrow { color: var(--yellow); }
.section-dark .section-title { color: var(--white); max-width: 100%; }
.section-dark .section-lead { color: rgba(255,255,255,0.65); }
.section-dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12); color: var(--white);
}
.section-dark .card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); }
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255,255,255,0.6); }
.section-dark .card-link { color: var(--yellow); }
.section-dark .card-link::after { content: '→'; }

/* ── OFF-WHITE BG ── */
.section-light { background: var(--off-white); }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.step { display: flex; flex-direction: column; gap: 0.75rem; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  font-family: 'DM Serif Display', serif; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step h4 { font-size: 1rem; color: var(--navy); }
.step p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonial {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  border-left: 4px solid var(--yellow);
}
.testimonial blockquote {
  font-family: 'DM Serif Display', serif; font-size: 1.05rem;
  color: var(--navy); line-height: 1.6; margin-bottom: 1rem; font-style: italic;
}
.testimonial cite { font-size: 0.875rem; color: var(--gray-600); font-style: normal; }

/* ── PARTNER LOGOS ── */
.partner-grid {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  margin-top: 1.5rem;
}
.partner-badge {
  background: var(--gray-100); border-radius: var(--radius-sm);
  padding: 8px 16px; font-size: 0.875rem; font-weight: 500;
  color: var(--gray-600); border: 1px solid var(--gray-200);
}

/* ── SCHOOL LOGOS ── */
.school-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem;
}
.school-badge {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-size: 0.8rem; font-weight: 600; color: var(--navy);
}

/* ── MODULE LIST ── */
.module-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.module-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.module-item::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; margin-top: 0.45rem;
}
.module-item h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 0.2rem; }
.module-item p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

/* ── CTA BOX ── */
.cta-box {
  background: var(--navy); border-radius: 20px; padding: 56px 40px;
  text-align: center; max-width: 760px; margin: 0 auto;
}
.cta-box h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
.cta-box p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.cta-section { padding: 72px 5%; background: var(--white); }

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--off-white); padding: 56px 5%; text-align: center; }
.newsletter-section h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 0.5rem; }
.newsletter-section p { color: var(--gray-600); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex; gap: 12px; max-width: 420px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--gray-200);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s; background: var(--white);
}
.newsletter-form input:focus { border-color: var(--navy); }
.newsletter-form button {
  background: var(--navy); color: var(--white); border: none;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: opacity 0.15s;
}
.newsletter-form button:hover { opacity: 0.85; }
.newsletter-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 0.75rem; }

/* ── FOOTER ── */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.6); padding: 60px 5% 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.75; margin: 1rem 0; max-width: 240px; }
.footer-col h4 {
  font-family: 'DM Serif Display', serif; color: var(--white);
  font-size: 0.95rem; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 0.875rem; transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col .contact-line { font-size: 0.875rem; margin-bottom: 0.4rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
}
