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

:root {
  --blue-50:  #f1f8fd;
  --blue-100: #e0eff9;
  --blue-200: #bfdff4;
  --blue-300: #9cceee;
  --blue-400: #7ebde5;
  --blue-500: #64ade1;
  --blue-600: #4a90c9;
  --blue-700: #366fa0;
  --blue-800: #26527a;
  --blue-900: #013D62;
  --cream:    #e5f1fb;
  --white:    #ffffff;
  --ink:      #1f2d3a;
  --ink-soft: #56636e;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* Warm accents — used sparingly alongside blue to keep things bright without going corporate */
  --coral-100: #ffe4da;
  --coral-500: #ff8a5e;
  --coral-600: #e35f30;
  --sun-100:   #fff3d1;
  --sun-500:   #ffc23c;
  --sun-600:   #b8790a;
  --leaf-100:  #e1f5e6;
  --leaf-500:  #5cbf7c;
  --leaf-600:  #2f8049;

  --shadow-soft: 0 14px 34px rgba(28,58,86,.1);
  --shadow-float: 0 18px 40px rgba(28,58,86,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; }
ul { list-style: none; }
a { color: inherit; }

/* Baseline keyboard-focus visibility; more specific component rules override this where needed */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ── NAV ── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-900);
  box-shadow: 0 4px 18px rgba(28,58,86,.06);
  transition: box-shadow .3s;
}

.nav-wrap.scrolled { box-shadow: 0 10px 30px rgba(28,58,86,.14); }

nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 4%;
}

.nav-brand { display: flex; align-items: center; gap: 1.1rem; }

.nav-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; transition: opacity .2s; }
.nav-logo:hover { opacity: .8; }
.nav-logo img { height: 42px; width: 42px; object-fit: cover; border-radius: 50%; display: block; }
.nav-logo-text { font-weight: 800; font-size: 1.02rem; color: var(--white); }

.nav-social-row { display: flex; align-items: center; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }

.nav-links a {
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s;
}

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

.nav-links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: .3em; }

.nav-social-icon { display: flex; align-items: center; justify-content: center; padding: .5rem; color: var(--white); }
.nav-social-icon svg { width: 19px; height: 19px; fill: currentColor; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--white);
}

.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ── HERO ──
   Full-bleed dark band behind the whole hero (text + arch/map), matching
   the full-bleed technique used on .hero-visual/.hero-map. */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 4rem;
  background: var(--blue-900);
}

.hero-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 4% 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-top-text { flex: 1 1 420px; }

.hero-brand {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--blue-300);
  margin-bottom: 1.1rem;
}

.hero-oneliner {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-100);
  max-width: 480px;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue-300);
  color: var(--blue-900);
  text-decoration: none;
  padding: .9rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  transition: opacity 1s ease, transform 1s ease, box-shadow .2s, filter .2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 28px rgba(74,143,199,.4); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn-primary:active { transform: translateY(0) scale(1); }

/* Full-bleed hero map, shaped into a wide arch: the top corners' ellipses
   (rx 50%, ry Ypx) meet at the exact center, so the whole top edge is one
   continuous dome instead of two separate rounded corners. */
.hero-visual {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-map {
  position: relative;
  background: var(--blue-200);
  border-radius: 50% 50% 0 0 / clamp(90px, 14vw, 220px) clamp(90px, 14vw, 220px) 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4% 2rem;
}

.hero-map .map-canvas { max-width: 1100px; }

/* Sits over the blank ocean area on the left side of the map. Sized as a
   % of the map so it shrinks together with the map instead of bleeding
   over the pins once the map gets smaller than the text's fixed size. */
.map-title-group {
  position: absolute;
  left: -3%;
  top: 58%;
  transform: translateY(-50%);
  max-width: 20%;
  z-index: 1;
  pointer-events: none;
}

.map-title { color: var(--blue-700); font-size: clamp(.9rem, 3.4vw, 2.4rem); line-height: 1.15; }

.map-subtitle { color: var(--blue-700); opacity: .8; font-size: clamp(.65rem, 1.6vw, 1.5rem); margin-top: .4rem; line-height: 1.3; }

.hero-impact { flex: 0 0 auto; }

/* Three circles arranged in a triangle: one on top, two below,
   absolutely positioned within a fixed-size container. */
.hero-impact-grid { position: relative; width: 410px; height: 365px; }

.hero-impact-grid > div {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--blue-500);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

/* Centered with margin (not transform) so transform stays free for the pop-in reveal below. */
.hero-impact-grid > div:nth-child(1) { top: 0; left: 50%; margin-left: -95px; z-index: 3; }
.hero-impact-grid > div:nth-child(2) { bottom: 0; left: 0; z-index: 2; }
.hero-impact-grid > div:nth-child(3) { bottom: 0; right: 0; z-index: 1; }

.hero-impact-grid > div.reveal {
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s ease, transform .6s cubic-bezier(.34, 1.7, .64, 1);
}

.hero-impact-grid > div.reveal.visible { opacity: 1; transform: scale(1); }

.hero-impact-number { font-size: 2.7rem; font-weight: 800; color: var(--white); display: block; }
.hero-impact-label { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .2rem; font-weight: 600; line-height: 1.2; }

/* ── SECTIONS ── */
section { padding: 2.5rem 4%; }

#classes { padding-top: 1.5rem; }

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

.panel {
  max-width: 1180px;
  margin: 0 4%;
  border-radius: var(--radius-lg);
}

@media (min-width: 1260px) { .panel { margin: 0 auto; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: .9rem 0 1rem;
}

h1, h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

#volunteer h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
#volunteer .cards { margin-bottom: 2.75rem; }

.section-intro {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

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

/* ── EMAIL CALLOUTS ── */
.emphasis-line { font-size: 1.2rem; font-weight: 700; color: var(--blue-800); }
.email-cta { margin-top: 1.5rem; }
.email-cta a { color: var(--blue-700); text-decoration: underline; }

.form-note { margin-top: 1.25rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

.footer-email { margin-top: .5rem; }
.footer-email a { color: rgba(255,255,255,.75); text-decoration: underline; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-impact-grid > div.reveal, .ts-teacher-photo img.reveal, .story-photo-thumb.reveal, .adhyapana-photo.reveal { opacity: 1; transform: none; transition: none; }
  .hero-map { animation: none !important; }
}

/* ── PLAIN LISTS (countries / classes) ── */
.plain-list {
  list-style: none;
  columns: 3;
  column-gap: 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.plain-list li {
  padding: .6rem 0;
  border-bottom: 1px solid var(--blue-100);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .97rem;
  break-inside: avoid;
}

.plain-list li.more { color: var(--blue-600); font-style: italic; border-bottom: none; }

@media (max-width: 640px) { .plain-list { columns: 2; } }
@media (max-width: 400px) { .plain-list { columns: 1; } }

/* ── COUNTRIES MAP ── */
.map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2000 / 857;
  background: var(--blue-200);
  border-radius: var(--radius-lg);
}

.world-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.map-pins { position: absolute; inset: 0; }

.map-pin {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -26px 0 0 -13px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* Classic teardrop marker: a rounded square with one square corner,
   rotated 45deg so that corner becomes the point touching the map. */
.map-pin-dot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--blue-600);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, background .2s ease;
}

.map-pin-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--white);
}

.map-pin:hover .map-pin-dot,
.map-pin:focus-visible .map-pin-dot,
.map-pin.active .map-pin-dot {
  transform: rotate(-45deg) scale(1.15);
  background: var(--blue-800);
}

.map-pin.reveal {
  opacity: 0;
  transform: translateY(-30px) scale(.4);
  transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}

.map-pin.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 144, 201, .55); }
  70% { box-shadow: 0 0 0 16px rgba(74, 144, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 144, 201, 0); }
}

.map-pin.reveal.visible .map-pin-dot {
  animation: pin-pulse 1.3s ease-out 1;
  animation-delay: calc(var(--stagger-delay, 0s) + .55s);
}

.map-pin-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-100% - 22px));
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 220px;
  padding: .6rem .9rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 2;
  white-space: nowrap;
}

.map-pin-card.visible { opacity: 1; }
.map-pin-card.below { transform: translate(-50%, 22px); }
.map-pin-card.align-left { transform: translate(0, calc(-100% - 22px)); }
.map-pin-card.align-left.below { transform: translate(0, 22px); }
.map-pin-card.align-right { transform: translate(-100%, calc(-100% - 22px)); }
.map-pin-card.align-right.below { transform: translate(-100%, 22px); }

.map-pin-card-flag { font-size: 1.4rem; line-height: 1; }
.map-pin-card-name { font-weight: 700; font-size: .95rem; color: var(--ink); }


@media (prefers-reduced-motion: reduce) {
  .map-pin.reveal.visible .map-pin-dot { animation: none; }
}

@media (max-width: 640px) {
  .map-pin { width: 20px; height: 20px; margin: -20px 0 0 -10px; }
  .map-pin-dot::after { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
}

.volunteer-intro-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  text-align: left;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.volunteer-intro-text-col { flex: 1; min-width: 280px; }

.volunteer-form-btn {
  display: flex;
  width: fit-content;
  margin: 1.75rem auto 0;
  font-size: 1.25rem;
  padding: 1.4rem 3.2rem;
}
.volunteer-intro-text { margin: 0; }

.volunteer-intro-requirements { flex: 1; min-width: 280px; }
.volunteer-intro-requirements h2 { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); margin-bottom: 1rem; }
.volunteer-intro-requirements .check-list { margin: 0; max-width: none; }

/* ── CHECK LIST (requirements) ── */
.check-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.5;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--blue-100);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: .42rem;
  top: .52rem;
  width: .55rem;
  height: .3rem;
  border-left: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}

.body-text { color: var(--ink-soft); line-height: 1.75; font-size: .98rem; }

/* ── TEACHERS + STUDENTS ── */
.teachers-students-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.ts-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ts-intro { margin-bottom: 1.5rem; margin-left: auto; margin-right: auto; }

.ts-teacher-photo {
  position: relative;
  flex: 1;
  min-height: 320px;
  margin-top: 1.5rem;
}

.ts-teacher-photo img {
  position: absolute;
  width: 60%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(28,58,86,.18);
}

.ts-teacher-photo-a { top: 0; left: 0; z-index: 2; }
.ts-teacher-photo-b { bottom: 0; right: 0; z-index: 1; }
.ts-teacher-photo .ts-teacher-photo-b { width: 42%; }

.ts-teacher-photo img.reveal {
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s ease, transform .6s cubic-bezier(.34, 1.7, .64, 1);
}

.ts-teacher-photo img.reveal.visible { opacity: 1; transform: scale(1); }

.story-photo-thumb.reveal,
.adhyapana-photo.reveal {
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s ease, transform .6s cubic-bezier(.34, 1.7, .64, 1);
}

.story-photo-thumb.reveal.visible,
.adhyapana-photo.reveal.visible { opacity: 1; transform: scale(1); }
.ts-student-list { gap: .85rem; }
.ts-student-list .pillar {
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,.5);
  box-shadow: none;
}
.ts-student-list .pillar:hover { background: rgba(255,255,255,.6); box-shadow: none; transform: none; }
.ts-student-list .pillar p { font-size: .85rem; }

/* ── PILLARS + SDG WHEEL ── */
.pillars-sdg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.pillars-sdg-grid > .pillars-sdg-col { min-width: 0; }

.pillars-sdg-col .sdg-wheel-frame { margin: -75px auto 0; }
.sdg-intro { margin-bottom: .75rem; }

.pillars-sdg-grid > .pillars-sdg-col:first-child { text-align: center; }
.pillars-sdg-grid > .pillars-sdg-col:first-child h2 { margin-bottom: .2rem; }
.pillars-sdg-grid > .pillars-sdg-col:first-child .section-tag { margin-top: .2rem; margin-bottom: 2.5rem; }

#sdg { text-align: center; }
#sdg h2 { margin-bottom: .2rem; }
#sdg .section-tag { margin-top: .2rem; }
#sdg .sdg-intro { margin-left: auto; margin-right: auto; font-size: .89rem; line-height: 1.55; }

/* Pillars: soft translucent rows instead of solid white boxed cards. */
.pillars-sdg-grid > .pillars-sdg-col:first-child .pillars-grid { gap: 1.25rem; }

.pillars-sdg-grid > .pillars-sdg-col:first-child .pillar {
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  box-shadow: none;
  text-align: left;
}

.pillars-sdg-grid > .pillars-sdg-col:first-child .pillar:hover {
  background: rgba(255,255,255,.6);
  box-shadow: none;
  transform: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: left;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 6px 16px rgba(28,58,86,.05);
  transition: opacity 1s ease, transform 1s ease, box-shadow .25s, translate .25s;
}

.pillar:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); transition: box-shadow .25s, transform .25s; }

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Cycle warm accent colors across the three mission pillars */
#pillars .pillar:nth-child(2) .pillar-icon { background: var(--coral-100); }
#pillars .pillar:nth-child(2) .pillar-icon svg { color: var(--coral-600); }
#pillars .pillar:nth-child(3) .pillar-icon { background: var(--leaf-100); }
#pillars .pillar:nth-child(3) .pillar-icon svg { color: var(--leaf-600); }

/* Cycle accents across the student-type list */
.ts-student-list .pillar:nth-child(4n+2) .pillar-icon { background: var(--coral-100); }
.ts-student-list .pillar:nth-child(4n+2) .pillar-icon svg { color: var(--coral-600); }
.ts-student-list .pillar:nth-child(4n+3) .pillar-icon { background: var(--sun-100); }
.ts-student-list .pillar:nth-child(4n+3) .pillar-icon svg { color: var(--sun-600); }
.ts-student-list .pillar:nth-child(4n+4) .pillar-icon { background: var(--leaf-100); }
.ts-student-list .pillar:nth-child(4n+4) .pillar-icon svg { color: var(--leaf-600); }

.pillar-icon svg { width: 19px; height: 19px; color: var(--blue-600); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pillar strong { display: block; color: var(--blue-900); font-size: .98rem; margin-bottom: .25rem; }
.pillar p { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }

/* ── CARD GRIDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.quote-cards { grid-template-columns: repeat(2, 1fr); max-width: 860px; }

#adhyapana-quote { padding-top: 0; }
#adhyapana-quote .quote-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0; }

.adhyapana-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.adhyapana-photo {
  width: 320px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(28,58,86,.07);
}

.become-partner-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  text-align: left;
  flex-wrap: wrap;
}

.become-partner-text { flex: 1; min-width: 280px; }
.become-partner-text .body-text { margin-bottom: 1rem; }

.become-partner-quotes.quote-cards {
  grid-template-columns: 1fr;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  margin: 0;
}

.card {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  border: 1px solid var(--blue-100);
  box-shadow: 0 8px 20px rgba(28,58,86,.05);
  transition: opacity 1s ease, transform 1s ease, box-shadow .25s, border-color .25s;
}

.card:hover { box-shadow: var(--shadow-float); transform: translateY(-6px); border-color: var(--blue-300); transition: box-shadow .25s, transform .25s, border-color .25s; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg { width: 24px; height: 24px; color: var(--blue-600); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.emoji { font-size: 22px; line-height: 1; }

/* Cycle warm accents across the "Why Volunteer" emoji cards */
#volunteer .card:nth-child(2) .card-icon { background: var(--sun-100); }
#volunteer .card:nth-child(3) .card-icon { background: var(--coral-100); }
#volunteer .card:nth-child(4) .card-icon { background: var(--leaf-100); }
#volunteer .card:nth-child(6) .card-icon { background: var(--coral-100); }
#volunteer .card:nth-child(7) .card-icon { background: var(--sun-100); }

.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--blue-900); margin-bottom: .45rem; }
.card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }

/* ── TESTIMONIAL / QUOTE CARDS ── */
/* Soft, irregular "blob" outline reads as a cloud and scales cleanly with any amount of text. */
.quote-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  border: none;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 0 8px 20px rgba(28,58,86,.07);
  padding: 2.25rem 2.4rem;
  margin: 10px 0 26px;
}
.quote-card:hover { box-shadow: var(--shadow-float); }

.quote-mark { font-size: 2.8rem; line-height: 1; font-weight: 800; color: var(--blue-300); font-family: Georgia, serif; margin-bottom: -.5rem; }
.quote-text { font-size: .92rem; font-style: italic; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1rem; flex: 1; }
.quote-author { font-size: .88rem; font-weight: 700; color: var(--blue-900); }
.quote-author::before { content: '— '; }

.story-awards-row {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.story-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(340px, 90vw);
  flex-shrink: 0;
}

.story-square {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  overflow: hidden;
}

.story-square h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.story-square .body-text { font-size: .82rem; line-height: 1.5; margin: 0; }

.story-photos {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .75rem;
}

.story-photo-thumb {
  width: 100%;
  flex: 1 1 120px;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.awards-col {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

#awards .award-cards-stacked { grid-template-columns: 1fr; margin: 0; }

.story-photo {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 2rem;
  border-radius: 0;
  box-shadow: none;
  max-height: 260px;
  object-fit: cover;
}

/* ── AWARD CARDS ── */
/* Soft translucent boxes, matching the treatment on "Our Three Pillars". */
.award-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: none;
}
.award-card:hover { background: rgba(255,255,255,.6); box-shadow: none; transform: none; }
.award-badge { width: 72px; height: 72px; object-fit: contain; margin: 0; flex-shrink: 0; display: block; }
.award-badge-lg { width: 100px; height: 100px; }
.award-card-text { display: flex; flex-direction: column; }
.award-card h3 { text-align: left; }

/* ── SDG WHEEL ── */
.sdg-wheel-frame {
  position: relative;
  width: 520px;
  height: 520px;
  max-width: 100%;
  margin: 0 auto;
}

.sdg-wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  overflow: visible;
}

.sdg-segment {
  cursor: pointer;
  stroke: var(--cream);
  stroke-width: 3;
  transition: transform .2s ease, filter .2s ease;
  transform-box: fill-box;
  transform-origin: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.sdg-segment:hover { transform: scale(1.045); filter: brightness(1.08); }
.sdg-segment:focus { outline: none; }
.sdg-segment:focus-visible { outline: none; filter: brightness(1.12) drop-shadow(0 0 5px var(--blue-900)); }

.sdg-icon { pointer-events: none; }

.sdg-segment-group {
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), filter .25s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.sdg-segment-group.active {
  transform: scale(1.14);
  filter: brightness(1.1) drop-shadow(0 10px 18px rgba(28,58,86,.35));
}

.sdg-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(28,58,86,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.sdg-center-label { font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-700); transition: font-size .2s ease; }
.sdg-center-number { font-size: 1.9rem; font-weight: 800; color: var(--blue-900); line-height: 1.1; }

.sdg-center.empty .sdg-center-label { font-size: 1.5rem; }
.sdg-center.empty .sdg-center-number { display: none; }

/* Callout pops directly out of the tapped slice */
.sdg-callout {
  position: absolute;
  width: 200px;
  padding: 1.1rem 1.3rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(28,58,86,.25);
  border-top: 4px solid var(--blue-500);
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  transition: opacity .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1), left .3s ease, top .3s ease;
  pointer-events: none;
  z-index: 5;
}

.sdg-callout.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.sdg-callout-tag {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 999px;
  color: var(--white);
  margin-bottom: .55rem;
  transition: background .2s;
}

.sdg-callout h3 { font-size: 1.02rem; font-weight: 800; color: var(--blue-900); margin-bottom: .35rem; line-height: 1.25; }
.sdg-callout p { font-size: .84rem; color: var(--ink-soft); line-height: 1.5; }


@media (max-width: 900px) {
  .sdg-wheel-frame { width: 420px; height: 420px; margin-top: 3.5rem; }
  .sdg-wheel { width: 250px; height: 250px; }
  .sdg-center { width: 94px; height: 94px; }
  .sdg-callout { width: 170px; padding: .9rem 1.1rem; }
}

@media (max-width: 480px) {
  .sdg-wheel-frame { width: 320px; height: 320px; margin-top: 4.5rem; }
  .sdg-wheel { width: 195px; height: 195px; }
  .sdg-center { width: 74px; height: 74px; }
  .sdg-center-number { font-size: 1.4rem; }
  .sdg-callout { width: 140px; padding: .75rem .9rem; }
  .sdg-callout h3 { font-size: .88rem; }
  .sdg-callout p { font-size: .74rem; }
}

/* ── PARTNERS ── */
#partners { padding-top: 1.5rem; padding-bottom: 0; }

.partner-marquee {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  margin-bottom: 1.75rem;
}

.partner-track { display: flex; gap: 1.1rem; width: max-content; animation: partner-scroll-ltr 24s linear infinite; }
.partner-track:hover { animation-play-state: paused; }

.partner-item {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  gap: .85rem;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 1.2rem 1.4rem;
}

.partner-item strong { display: block; color: var(--blue-900); font-size: .95rem; }
.partner-item span { font-size: .8rem; color: var(--ink-soft); }

.partner-item-logo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.partner-item-text { display: flex; flex-direction: column; }

.partner-item-centered {
  flex: 0 0 240px;
  flex-direction: column;
  text-align: center;
}
.partner-item-centered .partner-item-logo { width: 68px; height: 68px; }
.partner-item-centered .partner-item-text { flex-direction: column; gap: .1rem; }
.partner-item-centered strong { font-size: .8rem; }
.partner-item-centered span { font-size: .7rem; }

.partner-item.pending { background: var(--blue-50); border-style: dashed; }
.partner-item.pending span.status { color: var(--blue-600); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }

@keyframes partner-scroll-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }

/* ── CTA ── */
.cta { text-align: center; }
.cta-box { max-width: 600px; margin: 0 auto; }
.cta-box .hero-buttons { justify-content: center; }

/* ── CONTACT ── */
.contact-email-link {
  color: var(--blue-700);
  text-decoration: underline;
  font-weight: 700;
}

/* ── FOOTER ── */
footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 4% 1.5rem;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto 2.5rem;
}

.footer-brand h2 { color: var(--white); font-size: 1.15rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .87rem; line-height: 1.7; }
.footer-brand-logo { display: inline-flex; margin-bottom: 1rem; }
.footer-brand-logo img { height: 60px; width: 60px; object-fit: cover; border-radius: 50%; display: block; }

.footer-social-row { display: flex; gap: .9rem; margin-top: 1.2rem; }
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  transition: color .2s, border-color .2s;
}
.footer-social-icon svg { width: 16px; height: 16px; fill: currentColor; }
.footer-social-icon:hover { color: var(--white); border-color: var(--blue-300); }

.footer-col h3 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.65); font-size: .87rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.2rem;
  font-size: .8rem;
  text-align: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-map { height: 380px; }
  .hero-impact { flex-basis: 100%; display: flex; justify-content: center; }
  .pillars-sdg-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .teachers-students-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: var(--radius-md);
    padding: 1.3rem 1.5rem;
    box-shadow: 0 14px 30px rgba(28,58,86,.14);
  }

  .nav-links a { color: var(--ink-soft); }
  .nav-links a:hover { color: var(--blue-700); }
  .nav-links a[aria-current="page"] { color: var(--blue-700); }
  .nav-links.open { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-map { height: 320px; }
  .hero-impact-grid { width: 302px; height: 269px; }
  .hero-impact-grid > div { width: 140px; height: 140px; }
  .hero-impact-grid > div:nth-child(1) { margin-left: -70px; }
  .hero-impact-number { font-size: 2.1rem; }
  .hero-impact-label { font-size: .68rem; }
}

@media (max-width: 480px) {
  section { padding: 3.25rem 5%; }
  .hero { padding: 0 0 3.5rem; }
  .hero-brand { font-size: 1.9rem; }
  .hero-map { height: 220px; border-radius: 50% 50% 0 0 / 60px 60px 0 0; }
  .hero-impact-grid { width: 237px; height: 211px; }
  .hero-impact-grid > div { width: 110px; height: 110px; padding: .6rem; }
  .hero-impact-grid > div:nth-child(1) { margin-left: -55px; }
  .hero-impact-number { font-size: 1.65rem; }
  .hero-impact-label { font-size: .58rem; }
  .partner-item { flex-basis: 190px; }
  .nav-logo-text { display: none; }
  .cards { grid-template-columns: 1fr; }
}

/* ── STANDALONE PAGE INTRO (volunteer.html) ── */
.page-intro { margin-top: 1rem; }
