:root {
  --blue: #1E3A8A;
  --blue-dark: #172554;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --soft-white: #F8FAFC;
  --charcoal: #1F2937;
  --light-blue: #DBEAFE;
  --muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow: 0 20px 50px rgba(30, 58, 138, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--charcoal);
  background: var(--soft-white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--blue);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.22);
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.94rem;
  color: #334155;
  font-weight: 650;
}

.menu a:hover,
.menu a.active {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--blue);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: white;
}

.mobile-menu a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: #334155;
  font-weight: 700;
}

.mobile-menu a:hover {
  color: var(--blue);
  background: #F8FAFC;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.24);
}

.btn-secondary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  color: var(--blue);
  border-color: rgba(30, 58, 138, 0.22);
  background: white;
}

.btn-outline:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 10% 20%, rgba(219, 234, 254, 0.95), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(249, 115, 22, 0.14), transparent 22%),
    linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(219, 234, 254, 0.9);
  color: var(--blue);
  border: 1px solid rgba(30, 58, 138, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

h1, h2, h3 {
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.045em;
  color: #111827;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5rem);
  max-width: 720px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 9px;
}

p {
  margin-top: 0;
}

.tagline {
  margin: 20px 0 0;
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-copy {
  margin: 16px 0 30px;
  font-size: 1.15rem;
  color: #475569;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 610px;
}

.trust-item {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
  color: #334155;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.photo-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 10px solid white;
  background: white;
  transform: rotate(1deg);
}

.photo-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  left: -26px;
  bottom: 30px;
  width: min(280px, 70%);
  background: white;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid var(--border);
}

.floating-card strong {
  display: block;
  color: var(--blue);
  font-size: 1rem;
  margin-bottom: 6px;
}

.floating-card span {
  display: block;
  color: #64748B;
  font-size: 0.92rem;
}

.page-hero {
  padding: 82px 0 58px;
  background:
    radial-gradient(circle at 15% 10%, rgba(219, 234, 254, 1), transparent 30%),
    linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

.page-hero p {
  font-size: 1.13rem;
  color: #475569;
  max-width: 760px;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--light-blue);
}

.section-white {
  background: white;
}

.section-header {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  margin: 0;
  font-size: 1.1rem;
  color: #475569;
}

.mission-panel {
  background: white;
  border-radius: 30px;
  padding: 48px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
  border: 1px solid var(--border);
}

.mission-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  background: var(--light-blue);
}

.mission-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.mission-copy p {
  color: #475569;
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  min-height: 210px;
}

.section-white .card {
  background: var(--soft-white);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(30, 58, 138, 0.08);
  color: var(--blue);
  border-radius: 16px;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.card p {
  margin: 0;
  color: #64748B;
}

.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.path-card {
  border-radius: 28px;
  padding: 34px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.path-card.highlight {
  background: var(--blue);
  color: white;
}

.path-card.highlight h3,
.path-card.highlight p {
  color: white;
}

.path-card p {
  color: #64748B;
  margin: 12px 0 28px;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.program-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  min-height: 230px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status {
  display: inline-flex;
  width: fit-content;
  background: rgba(249, 115, 22, 0.12);
  color: #C2410C;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 20px;
}

.resource-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.resource-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.resource-item .icon {
  flex: 0 0 48px;
  margin-bottom: 0;
  background: rgba(249, 115, 22, 0.12);
  color: #C2410C;
}

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: stretch;
}

.cta-panel {
  background: var(--blue);
  color: white;
  border-radius: 34px;
  padding: 46px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cta-panel:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  right: -80px;
  top: -90px;
}

.cta-panel h2,
.cta-panel p {
  color: white;
  position: relative;
  z-index: 1;
}

.cta-panel p {
  font-size: 1.08rem;
  max-width: 650px;
  margin: 0 0 26px;
}

.cta-photo {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.cta-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.donate-band {
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(234, 88, 12, 0.95)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  border-radius: 34px;
  padding: 52px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.donate-band h2,
.donate-band p {
  color: white;
}

.donate-band p {
  max-width: 690px;
  margin: 0;
  font-size: 1.08rem;
}

.contact-card {
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 56px 30px;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: #64748B;
  font-size: 1.1rem;
  margin: 12px auto 26px;
  max-width: 600px;
}

.content-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.content-block + .content-block {
  margin-top: 24px;
}

.content-block p,
.content-block li {
  color: #475569;
}

.lesson-list,
.checklist {
  padding-left: 1.2rem;
}

.lesson-list li,
.checklist li {
  margin-bottom: 10px;
}

.topic-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-pill {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: #334155;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 750;
  color: #334155;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: white;
  color: var(--charcoal);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: #64748B;
  font-size: 0.92rem;
}

footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 52px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  margin-bottom: 34px;
}

footer .logo {
  color: white;
  margin-bottom: 14px;
}

.footer-text {
  max-width: 420px;
  color: #CBD5E1;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: white;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: #CBD5E1;
  margin: 9px 0;
  font-size: 0.94rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.9rem;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .card-grid.five,
  .program-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .menu,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu.open {
    display: block;
  }

  .hero-grid,
  .mission-panel,
  .split-cta,
  .resource-strip {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .card-grid.five,
  .pathways,
  .program-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-card img {
    height: 420px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .trust-row,
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .card-grid.five,
  .pathways,
  .program-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mission-panel,
  .cta-panel,
  .donate-band,
  .content-block {
    padding: 30px;
  }

  .donate-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .photo-card img {
    height: 360px;
  }

  .floating-card {
    left: 18px;
    bottom: 18px;
  }

  .resource-item {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }
}