@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600&display=swap');

:root {
  --orange: #1F6FEB;
  --yellow: #15B8A6;
  --black: #0F2A43;
  --cream: #EEF6FF;
  --blush: #DCF0FF;
  --text-muted: #4A6882;
  --radius: 16px;
  --radius-sm: 8px;
}

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

/* ── BRAND LOCKUP (inline, recolorable) ── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  line-height: 1;
  font-size: 26px;            /* drives overall lockup size */
  white-space: nowrap;
}
.brand-spark {
  height: 1.06em;
  width: 1.06em;
  flex-shrink: 0;
  overflow: visible;
}
.brand-word {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-stacked {
  flex-direction: column;
  gap: 0.35em;
}
.brand-stacked .brand-spark { height: 1.5em; width: 1.5em; }

/* Light theme — on cream/white backgrounds */
.brand-light .brand-word { color: var(--black); }
.brand-light .brand-i    { color: var(--orange); }
.brand-light .spark-lg   { fill: var(--orange); }
.brand-light .spark-sm   { fill: var(--yellow); }

/* Dark theme — on navy/dark backgrounds */
.brand-dark .brand-word { color: var(--cream); }
.brand-dark .brand-i    { color: var(--yellow); }
.brand-dark .spark-lg   { fill: var(--orange); }
.brand-dark .spark-sm   { fill: var(--yellow); }

/* ── LAB PHOTOS (reusable across pages) ── */
.lab-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(15, 42, 67, 0.12);
}
.lab-photo--spaced { margin-top: 1.75rem; }
.lab-photo figcaption,
.lab-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  line-height: 1.5;
}
/* Photo filling a program-detail visual panel (replaces emoji) */
.program-detail-visual.has-photo {
  padding: 0;
  overflow: hidden;
  font-size: 0;
}
.program-detail-visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  background: var(--cream);
  color: var(--black);
  font-size: 18px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: var(--cream);
  border-bottom: 1.5px solid #C0D4EE;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo img { height: 40px; }
.nav-logo .brand { font-size: 25px; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 17px;
}

.nav-links a {
  color: var(--black);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--cream) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  transition: background 0.15s;
}

.nav-cta:hover { background: #1558D0 !important; color: var(--cream) !important; }

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: var(--cream);
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--orange); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: 'Fredoka', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--cream);
}
.btn-primary:hover { background: #1558D0; color: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid #B0C8E8;
}
.btn-secondary:hover { border-color: var(--black); }

/* SECTIONS */
section { padding: 5rem 2rem; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* PROGRAM CARDS */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--cream);
  border: 1.5px solid #C0D4EE;
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.program-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 24px rgba(31,111,235,0.08);
}

.program-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.program-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blush);
  color: var(--orange);
}

.tag-yellow {
  background: #E0FAF8;
  color: #0A7A6E;
}

/* HOW IT WORKS */
.how-bg { background: var(--black); color: var(--cream); }

.how-bg .section-label { color: var(--yellow); }
.how-bg .section-title { color: var(--cream); }
.how-bg .section-sub { color: #7AA8CC; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
}

.step p {
  font-size: 0.95rem;
  color: #7AA8CC;
  line-height: 1.6;
}

/* LEVELS */
.levels-bg { background: var(--blush); }

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.level-card {
  background: var(--cream);
  border: 1.5px solid #C0D4EE;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: left;
}

.level-num {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.level-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

/* Rich level cards (with details) */
.level-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.level-head .level-num { font-size: 1.5rem; margin-bottom: 0; }
.level-head .level-title { font-size: 1.05rem; }

.level-card-focus {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.level-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.level-card-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.level-card-list li::before {
  content: '✦';
  color: var(--orange);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.about-visual {
  background: var(--black);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--cream);
}

.about-visual img { margin: 0 auto 1.5rem; max-width: 180px; }
.about-visual .brand { font-size: 38px; }

.about-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-text p:last-child { margin-bottom: 0; }

/* PRICING */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--cream);
  border: 1.5px solid #C0D4EE;
  border-radius: var(--radius);
  padding: 2.5rem;
}

.pricing-card.featured { border-color: var(--orange); }

.price-amount {
  font-size: 3rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.price-total {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}

.price-features li {
  font-size: 1rem;
  color: var(--black);
  padding: 0.6rem 0;
  border-bottom: 1px solid #C0D4EE;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.price-features li:last-child { border-bottom: none; }

.check { color: var(--orange); font-size: 1.1rem; }

/* CTA BANNER */
.cta-banner {
  background: var(--orange);
  color: var(--cream);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-banner .section-title { color: var(--cream); margin-bottom: 0.75rem; }
.cta-banner .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto 2rem; }

.btn-white {
  background: var(--cream);
  color: var(--orange);
  font-weight: 600;
}
.btn-white:hover { background: #fff; color: var(--orange); }

/* FOOTER */
footer {
  background: var(--black);
  color: #7AA8CC;
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo img { height: 36px; }
.footer-logo .brand { font-size: 23px; }

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  font-size: 15px;
}

.footer-links a { color: #7AA8CC; transition: color 0.15s; }
.footer-links a:hover { color: var(--cream); }

.footer-copy { font-size: 13px; color: #6B5748; }

/* ENROLL PAGE */
.enroll-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 700px) {
  .enroll-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.form-card {
  background: var(--cream);
  border: 1.5px solid #C0D4EE;
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-card h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #C0D4EE;
  border-radius: var(--radius-sm);
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 500;
  background: var(--cream);
  color: var(--black);
  transition: border-color 0.15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group textarea { height: 100px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-submit { width: 100%; padding: 0.9rem; font-size: 18px; margin-top: 0.5rem; }

.info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.info-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* PROGRAMS PAGE */
.program-detail {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1.5px solid #C0D4EE;
}

.program-detail:last-child { border-bottom: none; }

@media (max-width: 700px) {
  .program-detail { grid-template-columns: 1fr; gap: 2rem; }
}

.program-detail-visual {
  background: var(--black);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 4rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-detail-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.program-detail-content .section-label { margin-bottom: 0.5rem; }
.program-detail-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }

.detail-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.detail-list li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--black);
  border-bottom: 1px solid #C0D4EE;
  display: flex;
  gap: 0.75rem;
}

.detail-list li:last-child { border-bottom: none; }

/* ABOUT PAGE */
.mission-statement {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  max-width: 700px;
  padding: 3rem 0;
  border-top: 3px solid var(--orange);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--blush);
  border-radius: var(--radius);
}

.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.value-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* NONPROFIT BADGE */
.nonprofit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blush);
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* "Coming soon" badge — teal accent, used for programs in development */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(21, 184, 166, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(21, 184, 166, 0.4);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  vertical-align: middle;
  white-space: nowrap;
}
h2 .coming-soon-badge { margin-left: 0.75rem; }

/* RESPONSIVE NAV */
@media (max-width: 640px) {
  nav { padding: 1rem; }
  .nav-links { gap: 1rem; font-size: 15px; }
  .nav-links li:not(:last-child) { display: none; }
}

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--black);
  color: var(--cream);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.page-hero .section-label { color: var(--yellow); }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; color: var(--cream); margin-bottom: 0.75rem; }
.page-hero p { color: #7AA8CC; max-width: 540px; margin: 0 auto; }
