:root {
  --sky: #e9f6ff;
  --ink: #17355f;
  --navy: #20457c;
  --blue: #2c7be5;
  --green: #57b85d;
  --gold: #f7b546;
  --coral: #ff7d6b;
  --berry: #f05b9b;
  --purple: #7a6cf2;
  --cream: #fffaf4;
  --white: #ffffff;
  --text: #2f3c4d;
  --muted: #667789;
  --border: rgba(32, 69, 124, 0.12);
  --shadow: 0 24px 60px rgba(33, 71, 126, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87, 184, 93, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(247, 181, 70, 0.18), transparent 26%),
    linear-gradient(180deg, #fefefe 0%, #f7fbff 52%, #fffdf8 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: rgba(44, 123, 229, 0.1);
}

.section-heading {
  margin: 0.85rem 0 0.85rem;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.96;
  color: var(--ink);
}

.section-copy {
  margin: 0;
  max-width: 66ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.topbar {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  color: rgba(255, 255, 255, 0.94);
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.topbar-links,
.topbar-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(32, 69, 124, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(44, 123, 229, 0.92), rgba(87, 184, 93, 0.92));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 18px 26px rgba(44, 123, 229, 0.22);
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--ink);
}

.brand-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}

.nav-links a {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--blue);
  background: rgba(44, 123, 229, 0.09);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  order: 3;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(44, 123, 229, 0.08);
  color: var(--navy);
  padding: 0.8rem;
  border-radius: 1rem;
}

.menu-toggle svg {
  width: 1.4rem;
  height: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 18px 30px rgba(44, 123, 229, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(32, 69, 124, 0.14);
}

.button-soft {
  color: var(--navy);
  background: rgba(44, 123, 229, 0.09);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.9;
}

.hero::before {
  top: -9rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  background: rgba(247, 181, 70, 0.18);
}

.hero::after {
  bottom: -12rem;
  left: -7rem;
  width: 20rem;
  height: 20rem;
  background: rgba(87, 184, 93, 0.14);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4.6rem 0 3rem;
}

.hero-copy p {
  margin: 0 0 1.4rem;
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-title {
  margin: 1rem 0 1rem;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 0.92;
  color: var(--ink);
}

.hero-actions,
.stacked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(32, 69, 124, 0.08);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  padding: 1.1rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(44, 123, 229, 0.22), rgba(87, 184, 93, 0.25), rgba(247, 181, 70, 0.24));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-card img {
  width: 100%;
  border-radius: 1.4rem;
}

.floating-note {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  max-width: 14rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(23, 53, 95, 0.16);
}

.floating-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.floating-note span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.section {
  padding: 4.2rem 0;
}

.surface {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(32, 69, 124, 0.08);
  box-shadow: var(--shadow);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem;
}

.feature-grid,
.card-grid,
.program-grid,
.contact-grid,
.info-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.feature-card,
.program-card,
.contact-card,
.step-card,
.value-card {
  padding: 1.45rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
}

.feature-card,
.program-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.program-card::after {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 999px;
  opacity: 0.12;
}

.feature-card:nth-child(1)::after,
.program-card:nth-child(1)::after {
  background: var(--blue);
}

.feature-card:nth-child(2)::after,
.program-card:nth-child(2)::after {
  background: var(--green);
}

.feature-card:nth-child(3)::after,
.program-card:nth-child(3)::after {
  background: var(--gold);
}

.feature-card:nth-child(4)::after,
.program-card:nth-child(4)::after {
  background: var(--berry);
}

.feature-card h3,
.program-card h3,
.step-card h3,
.contact-card h3,
.value-card h3,
.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.feature-card p,
.program-card p,
.step-card p,
.contact-card p,
.value-card p,
.card p,
.card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(44, 123, 229, 0.08);
}

.accent-green {
  background: rgba(87, 184, 93, 0.12);
}

.accent-gold {
  background: rgba(247, 181, 70, 0.16);
}

.accent-coral {
  background: rgba(255, 125, 107, 0.14);
}

.accent-purple {
  background: rgba(122, 108, 242, 0.12);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(44, 123, 229, 0.08);
  color: var(--navy);
}

.list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.6rem;
}

.list li + li {
  margin-top: 0.7rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
}

.showcase img {
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 3.8rem 0 2rem;
}

.page-hero .surface {
  padding: 2rem;
}

.page-title {
  margin: 0.8rem 0;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.98;
  color: var(--ink);
}

.page-intro {
  margin: 0;
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--muted);
}

.highlight-band {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(44, 123, 229, 0.1), rgba(87, 184, 93, 0.12), rgba(247, 181, 70, 0.14));
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.form-card,
.cta-panel {
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(32, 69, 124, 0.1);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(32, 69, 124, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(44, 123, 229, 0.2);
  border-color: rgba(44, 123, 229, 0.55);
}

.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.form-note,
.small-note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(87, 184, 93, 0.1);
  color: #1b5a22;
}

.cta-banner {
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #3d72c9 52%, #5abf68 100%);
  box-shadow: 0 26px 54px rgba(32, 69, 124, 0.24);
}

.cta-banner h2 {
  margin: 0 0 0.8rem;
  font-family: "Baloo 2", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
}

.cta-banner p {
  margin: 0;
  max-width: 58ch;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .stacked-actions {
  margin-top: 1.4rem;
}

.cta-banner .button-primary {
  background: var(--white);
  color: var(--navy);
}

.cta-banner .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.footer {
  margin-top: 4rem;
  padding: 3rem 0 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(247, 181, 70, 0.16), transparent 24%),
    linear-gradient(180deg, #f1f8ff 0%, #f7fbff 100%);
  border-top: 1px solid rgba(32, 69, 124, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.9fr;
  gap: 1.5rem;
}

.footer h3,
.footer h4 {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.footer p,
.footer li,
.footer a {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-action {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
}

.footer-action:hover,
.footer-links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(32, 69, 124, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.3rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(32, 69, 124, 0.12);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 48px rgba(23, 53, 95, 0.18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cookie-banner-text strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.cookie-banner-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cookie-banner-text a {
  color: var(--blue);
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  min-width: 240px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .showcase,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .card-grid,
  .program-grid,
  .step-grid,
  .contact-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.6rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .header-actions .button {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .floating-note {
    position: static;
    margin-top: 1rem;
    max-width: none;
  }

  .cookie-banner-content {
    flex-direction: column;
  }

  .cookie-banner-actions {
    min-width: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .hero-grid {
    padding-top: 3.5rem;
  }

  .hero-title {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero-stats,
  .feature-grid,
  .card-grid,
  .program-grid,
  .step-grid,
  .contact-grid,
  .info-grid,
  .form-grid.two-column {
    grid-template-columns: 1fr;
  }

  .topbar .container,
  .topbar-links,
  .topbar-note {
    justify-content: center;
  }

  .page-hero .surface,
  .highlight-band,
  .form-card,
  .cta-panel,
  .cta-banner {
    padding: 1.4rem;
  }

  .brand-subtitle {
    display: none;
  }
}
