/* ============================================================
   GLEEMAN FOUNDATION — Charity Theme (green + yellow + cream)
   Inspired by the "Donae" non-profit layout.
   Type: Fraunces (serif display) + DM Sans (body) + Caveat (script)
   NOTE: legacy token names (--plum-*, --coral-*) are kept and
   remapped to greens/yellows so all pages inherit the new look.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* PRIMARY — Blue (refined navy scale from logo #2060d0). Names kept as --green-* */
  --green-900: #0d244f;   /* darkest — footer / topbar / dark sections */
  --green-800: #143a74;
  --green-700: #1a4ba0;   /* primary — buttons, links, headings */
  --green-600: #2a64c6;
  --green-500: #4681dc;

  /* ACCENT — Green (refined from logo #50a020). Names kept as --yellow-* */
  --yellow-500: #55a52e;  /* accent — used with restraint */
  --yellow-400: #6cbd3e;
  --yellow-300: #9fd473;
  --gold-600:   #3c7a1f;

  /* Cool, clean neutrals (logo sits on white) */
  --cream-100: #f5f7fb;   /* page bg */
  --cream-200: #e8eef7;
  --cream-300: #d6e0ef;

  --ink-900: #1a2438;     /* dark slate text */
  --ink-700: #3c485f;
  --ink-500: #6a7791;
  --white: #ffffff;

  /* --- legacy aliases (kept so existing markup keeps working) --- */
  --plum-900: var(--green-900);
  --plum-800: var(--green-800);
  --plum-700: var(--green-700);
  --plum-600: var(--green-600);
  --coral-600: var(--green-700);   /* accent text / links -> blue */
  --coral-500: var(--yellow-500);  /* accent bg / highlight -> green */
  --coral-400: var(--yellow-400);
  --rose-300: #bcd3f2;
  --rose-200: #d8e6fa;
  --gold-500: var(--yellow-500);
  --gold-400: var(--yellow-400);

  /* Semantic */
  --bg: var(--cream-100);
  --bg-alt: #eaf0f9;
  --surface: #ffffff;
  --text: var(--ink-900);
  --muted: var(--ink-500);
  --primary: var(--green-700);
  --accent: var(--yellow-500);

  /* Effects */
  --shadow-sm: 0 2px 12px rgba(20, 58, 134, 0.08);
  --shadow-md: 0 16px 40px rgba(20, 58, 134, 0.13);
  --shadow-lg: 0 30px 70px rgba(14, 42, 94, 0.18);
  --shadow-coral: 0 16px 36px rgba(28, 79, 176, 0.28);

  /* Layout */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;
  --container: 1220px;
  --gutter: clamp(18px, 5vw, 60px);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--green-800);
}
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 600;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
h2.section-title { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

/* Script accent (handwritten) */
.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--green-600);
  font-size: 1.7em;
  line-height: 1;
}
.eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px; border-radius: 3px;
  background: var(--yellow-500);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--ink-700); line-height: 1.7; }
.serif-accent { font-family: var(--font-script); font-style: normal; color: var(--green-600); font-size: 1.25em; }
.text-yellow { color: var(--yellow-500); }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(56px, 9vw, 116px); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 15px 30px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { transform: translateY(-3px); background: var(--yellow-500); color: var(--green-900); box-shadow: 0 20px 44px rgba(88,165,33,0.4); }
.btn-yellow { background: var(--yellow-500); color: var(--green-900); box-shadow: 0 16px 36px rgba(88,165,33,0.32); }
.btn-yellow:hover { transform: translateY(-3px); background: var(--yellow-400); }
.btn-dark { background: var(--green-800); color: #fff; box-shadow: 0 16px 36px rgba(14,42,94,0.26); }
.btn-dark:hover { transform: translateY(-3px); background: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-800); border: 1.5px solid rgba(28,79,176,0.28); }
.btn-ghost:hover { border-color: var(--green-700); background: rgba(28,79,176,0.06); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--green-800); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); background: var(--yellow-500); color: var(--green-900); }
.btn-lg { padding: 18px 40px; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--green-700);
  transition: gap 0.3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 14px; }

/* ============================================================
   HEADER / NAV  (with top bar)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: box-shadow 0.4s;
}
.topbar {
  background: var(--green-900);
  color: rgba(255,255,255,0.82);
  font-size: 0.84rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-left a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-left a:hover { color: var(--yellow-400); }
.topbar-left svg { width: 15px; height: 15px; color: var(--yellow-500); }
.topbar-socials { display: flex; align-items: center; gap: 14px; }
.topbar-socials a { color: rgba(255,255,255,0.8); }
.topbar-socials a:hover { color: var(--yellow-400); }
.topbar-socials svg { width: 15px; height: 15px; }

.header-main {
  background: var(--cream-100);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.site-header.scrolled .header-main {
  background: rgba(251,246,233,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 26px rgba(14,42,94,0.09);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 56px; width: auto; display: block; }
.footer-brand .brand-logo { height: 52px; background: #fff; padding: 8px 16px; border-radius: 14px; box-shadow: var(--shadow-sm); }
@media (max-width: 990px) { .brand-logo { height: 48px; } }
.brand-mark { width: 48px; height: 48px; flex: none; }
.brand-text { line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--green-800); letter-spacing: 0.01em; }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-600); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-weight: 600; font-size: 0.96rem; color: var(--ink-900); padding: 9px 15px; border-radius: 100px; transition: color 0.25s, background 0.25s; }
.nav-links a:hover { color: var(--green-700); }
.nav-links a.active { color: var(--green-700); background: rgba(88,165,33,0.22); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-search { width: 46px; height: 46px; border-radius: 50%; background: rgba(28,79,176,0.09); color: var(--green-700); display: grid; place-items: center; transition: background 0.25s, color 0.25s, transform 0.25s; }
.nav-search:hover { background: var(--green-700); color: #fff; transform: scale(1.05); }
.nav-search svg { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(28,79,176,0.1); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; width: 20px; height: 2px; background: var(--green-800); left: 13px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO — text left, image collage right
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(150px, 20vh, 210px);
  padding-bottom: clamp(50px, 8vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 30%, rgba(88,165,33,0.12), transparent 40%),
    var(--cream-100);
}
/* Hero background video — cinematic dark treatment so the footage stays clearly
   visible while white text on top remains crisp and readable. */
.hero { background: var(--green-900); }        /* fallback behind video */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(9,26,58,0.70) 0%, rgba(9,26,58,0.48) 52%, rgba(9,26,58,0.32) 100%); }
.hero .container-wide { position: relative; z-index: 3; }
.hero .deco-sun { z-index: 2; opacity: 0.45; }

/* Light text over the darkened video (high specificity to beat base hero rules) */
.hero .hero-content .eyebrow { color: var(--yellow-300); }
.hero .hero-content h1 { color: #ffffff; }
.hero .hero-content h1 .thin { color: #bcd3f2; }
.hero .hero-content .lead { color: rgba(255,255,255,0.92); }
.hero .hero-stat-inline strong { color: #ffffff; }
.hero .hero-stat-inline small { color: rgba(255,255,255,0.82); }
.hero .hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero .hero-actions .btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }

@media (max-width: 980px) {
  .hero-video-overlay { background: linear-gradient(180deg, rgba(9,26,58,0.72), rgba(9,26,58,0.6)); }
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-content { position: relative; z-index: 3; min-width: 0; }
.hero-content .eyebrow { margin-bottom: 14px; }
.hero h1 { margin: 6px 0 22px; color: var(--green-800); }
.hero h1 .thin { color: var(--green-600); }
.hero .lead { max-width: 500px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-stat-inline { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.hero-stat-inline .avatars { display: flex; }
.hero-stat-inline .avatars span { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--cream-100); margin-left: -12px; background: linear-gradient(150deg,var(--green-600),var(--yellow-500)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem; }
.hero-stat-inline .avatars span:first-child { margin-left: 0; }
.hero-stat-inline strong { font-family: var(--font-display); color: var(--green-800); font-size: 1.2rem; display: block; line-height: 1; }
.hero-stat-inline small { color: var(--muted); font-size: 0.85rem; }

/* collage */
.hero-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 110px 150px; gap: 14px; }
.collage-tile { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.collage-tile svg, .collage-tile img { width: 100%; height: 100%; object-fit: cover; }
.collage-tile.tall { grid-row: span 2; }
.collage-tile.wide { grid-column: span 1; }
.collage-tile.t1 { grid-row: 1 / span 2; }
.collage-tile.t2 { grid-row: 1 / span 1; }
.collage-tile.t3 { grid-row: 2 / span 2; }
.collage-tile.t4 { grid-row: 3 / span 1; }
.hero-badge-circle {
  position: absolute; z-index: 5; left: 50%; top: 50%;
  transform: translate(-50%,-50%) rotate(-8deg);
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--yellow-500); color: var(--green-900);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--cream-100);
}
.hero-badge-circle strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; display: block; }
.hero-badge-circle span { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* decorative sunflower + arrow */
.deco-sun { position: absolute; z-index: 1; pointer-events: none; }
.deco-arrow { position: absolute; z-index: 1; pointer-events: none; color: var(--green-600); }

/* decorative blur blobs / dot grid (used on inner page heroes) */
.blob-bg { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; z-index: 0; pointer-events: none; }
.dot-grid { position: absolute; width: 120px; height: 120px; background-image: radial-gradient(var(--yellow-400) 2px, transparent 2px); background-size: 18px 18px; opacity: 0.5; z-index: 0; pointer-events: none; }

/* ============================================================
   FEATURE CARDS (3 up, with round icon)
   ============================================================ */
.features-band { margin-top: clamp(-40px, -4vw, -20px); position: relative; z-index: 6; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid rgba(28,79,176,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow-500); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-ico {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 22px;
  background: var(--green-700); color: var(--yellow-400);
  box-shadow: 0 10px 24px rgba(28,79,176,0.28);
  transition: background 0.35s, transform 0.35s;
}
.feature-card:hover .feature-ico { background: var(--yellow-500); color: var(--green-900); transform: rotate(-6deg); }
.feature-ico svg { width: 40px; height: 40px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--ink-700); font-size: 0.98rem; }
.feature-card .num-tag { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-size: 2rem; color: rgba(28,79,176,0.08); font-weight: 600; }
/* icon color variants (kept for other pages) */
.ico-coral, .ico-plum, .ico-gold, .ico-rose, .ico-green, .ico-teal { background: var(--green-700); color: var(--yellow-400); }

/* ============================================================
   SPLIT / ABOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-visual { position: relative; }
.rounded-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: linear-gradient(160deg, var(--green-700), var(--green-500)); }
.rounded-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-card { position: absolute; bottom: -24px; right: -18px; background: var(--yellow-500); border-radius: var(--radius); padding: 22px 26px; max-width: 260px; box-shadow: var(--shadow-md); color: var(--green-900); }
.quote-card .q-mark { font-family: var(--font-display); font-size: 2.4rem; line-height: 0.5; }
.quote-card p { font-size: 0.94rem; font-weight: 600; }

.check-list { display: grid; gap: 16px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--green-700); color: var(--yellow-400); display: grid; place-items: center; margin-top: 2px; }
.check-list .ck svg { width: 15px; height: 15px; }
.check-list strong { color: var(--green-800); display: block; }
.check-list span { color: var(--ink-700); font-size: 0.95rem; }

/* Stat badge on about image */
.stat-badge {
  position: absolute; top: 20px; left: -18px;
  background: var(--green-800); color: #fff;
  border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow-md);
  text-align: center;
}
.stat-badge strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--yellow-400); display: block; line-height: 1; }
.stat-badge span { font-size: 0.76rem; color: rgba(255,255,255,0.8); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--green-800); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px,5vw,52px) clamp(28px,5vw,58px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats-band::before { content: ""; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(88,165,33,0.28), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 2; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 600; color: var(--yellow-400); line-height: 1; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.82); margin-top: 8px; }

/* ============================================================
   MARQUEE BAND
   ============================================================ */
.marquee {
  background: var(--yellow-500);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  transform: rotate(-1.4deg);
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-item h4 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); color: var(--green-900); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.marquee-item .sep { color: var(--green-800); flex: none; }
.marquee-item .sep svg { width: 26px; height: 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================
   CAUSES CARDS (with progress bars)
   ============================================================ */
.cause-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.cause-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,79,176,0.07); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.cause-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cause-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(155deg, var(--green-700), var(--green-500)); }
.cause-media img, .cause-media svg { width: 100%; height: 100%; object-fit: cover; }
.cause-cat { position: absolute; top: 16px; left: 16px; background: var(--yellow-500); color: var(--green-900); font-weight: 700; font-size: 0.76rem; padding: 7px 15px; border-radius: 100px; }
.cause-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.cause-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.cause-body p { color: var(--ink-700); font-size: 0.95rem; margin-bottom: 20px; }
.progress { height: 10px; border-radius: 100px; background: var(--cream-200); overflow: hidden; margin-bottom: 12px; }
.progress .bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--green-600), var(--yellow-500)); width: 0; transition: width 1.2s var(--ease); }
.cause-meta { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-700); margin-top: auto; }
.cause-meta strong { color: var(--green-800); font-family: var(--font-display); }
.cause-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(28,79,176,0.1); }

/* ============================================================
   PROJECT SHOWCASE (kept)
   ============================================================ */
.project-card { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(28,79,176,0.07); }
.project-card.flip { grid-template-columns: 1.1fr 0.9fr; }
.project-media { position: relative; min-height: 320px; background: linear-gradient(155deg, var(--green-700), var(--green-500)); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.project-tag { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--yellow-500); color: var(--green-900); font-weight: 700; font-size: 0.78rem; padding: 8px 16px; border-radius: 100px; letter-spacing: 0.03em; }
.project-body { padding: clamp(30px, 4vw, 50px); }
.project-body h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.project-body .subtitle { font-family: var(--font-script); color: var(--green-600); font-weight: 700; font-size: 1.4rem; margin-bottom: 12px; }
.project-body p { color: var(--ink-700); margin-bottom: 18px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pill { background: var(--cream-200); color: var(--green-800); font-size: 0.82rem; font-weight: 600; padding: 7px 15px; border-radius: 100px; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,79,176,0.07); transition: transform 0.3s var(--ease); }
.step:hover { transform: translateX(8px); }
.step-num { counter-increment: step; width: 52px; height: 52px; border-radius: 16px; background: var(--green-700); color: var(--yellow-400); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; display: grid; place-items: center; }
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-800); margin-bottom: 4px; }
.step p { color: var(--ink-700); font-size: 0.94rem; }

/* Story band */
.story-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); border-radius: var(--radius-lg); padding: clamp(36px,5vw,60px); color: #fff; position: relative; overflow: hidden; }
.story-band .q-mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.4; color: var(--yellow-400); }
.story-band h3 { color: #fff; margin: 16px 0; }
.story-band p { color: rgba(255,255,255,0.88); }
.story-band .attribution { margin-top: 22px; font-weight: 700; color: var(--yellow-400); }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1; border-radius: 24px; overflow: hidden; margin-bottom: 18px; background: linear-gradient(160deg, var(--green-600), var(--yellow-500)); position: relative; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.team-card:hover .team-photo { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: rgba(255,255,255,0.9); }
.team-card h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-800); }
.team-card .role { color: var(--green-600); font-weight: 600; font-size: 0.9rem; }

/* ============================================================
   VALUES / ICON ROW
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.65); border: 1px solid rgba(28,79,176,0.09); }
.value-item .v-ico { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-700); color: var(--yellow-400); }
.value-item h4 { font-family: var(--font-display); font-size: 1.1rem; color: var(--green-800); margin-bottom: 4px; }
.value-item p { font-size: 0.92rem; color: var(--ink-700); }

/* ============================================================
   SECTION BITS
   ============================================================ */
.section-head { max-width: 700px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { color: var(--ink-700); margin-top: 14px; }
.bg-alt { background: var(--bg-alt); }
.bg-plum { background: var(--green-800); color: #fff; }
.bg-plum h2, .bg-plum h3 { color: #fff; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(135deg, var(--green-700), var(--green-800)); border-radius: var(--radius-xl); padding: clamp(44px,7vw,84px) clamp(28px,5vw,70px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(88,165,33,0.14); }
.cta-banner::before { width: 260px; height: 260px; top: -80px; left: -60px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -70px; right: -40px; }
.cta-banner .eyebrow { color: var(--yellow-400); justify-content: center; margin-bottom: 10px; }
.cta-banner h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); position: relative; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 16px auto 30px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-info-card { background: var(--green-800); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); position: relative; overflow: hidden; }
.contact-info-card::before { content: ""; position: absolute; bottom: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(88,165,33,0.28), transparent 70%); }
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255,255,255,0.82); margin-bottom: 28px; }
.contact-line { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; position: relative; z-index: 2; }
.contact-line .c-ico { width: 46px; height: 46px; border-radius: 12px; flex: none; background: rgba(255,255,255,0.1); color: var(--yellow-400); display: grid; place-items: center; }
.contact-line .c-ico svg { width: 22px; height: 22px; }
.contact-line span { font-size: 0.78rem; color: rgba(255,255,255,0.6); display: block; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-line strong { font-weight: 600; font-size: 1.02rem; }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; position: relative; z-index: 2; }
.contact-socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.contact-socials a:hover { background: var(--yellow-500); color: var(--green-900); transform: translateY(-3px); }

.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); box-shadow: var(--shadow-md); border: 1px solid rgba(28,79,176,0.07); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--green-800); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 0.98rem; padding: 14px 16px; border: 1.5px solid rgba(28,79,176,0.18); border-radius: var(--radius-sm); background: var(--cream-100); color: var(--ink-900); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(88,165,33,0.2); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; background: #e4f1e6; color: #1f6b3d; border: 1px solid #b6dcc0; border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.form-success.show { display: block; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid rgba(28,79,176,0.16); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green-800); }
.faq-q .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--cream-200); color: var(--green-700); display: grid; place-items: center; transition: transform 0.3s, background 0.3s, color 0.3s; font-size: 1.2rem; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--yellow-500); color: var(--green-900); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--ink-700); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-top: clamp(160px, 22vh, 220px); padding-bottom: clamp(50px,8vw,90px); position: relative; overflow: hidden; text-align: center; background: radial-gradient(circle at 80% 10%, rgba(88,165,33,0.14), transparent 42%), var(--cream-100); }
.page-hero .breadcrumb { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.page-hero .breadcrumb a:hover { color: var(--green-700); }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-bottom: 16px; text-transform: uppercase; }
.page-hero .lead { max-width: 640px; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.75); padding-top: clamp(54px,8vw,88px); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: #fff; }
.footer-about { margin: 18px 0 22px; font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.95rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--yellow-400); padding-left: 5px; }
.footer-newsletter p { font-size: 0.95rem; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255,255,255,0.08); padding: 6px; border-radius: 100px; }
.newsletter-form input { flex: 1; background: transparent; border: none; color: #fff; padding: 10px 16px; font-family: inherit; font-size: 0.9rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--yellow-500); color: var(--green-900); display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.newsletter-form button:hover { background: var(--yellow-400); transform: scale(1.05); }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; transition: background 0.3s, transform 0.3s, color 0.3s; }
.footer-social a:hover { background: var(--yellow-500); color: var(--green-900); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; flex-wrap: wrap; font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--yellow-400); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Content is fully VISIBLE by default. Only after JS confirms it is running
   (an inline <script> in each page adds the `js` class to <html>) do we hide
   content for the entrance animation. This guarantees the page can NEVER stay
   blank/white if JS is disabled, blocked, cached, slow or errors out. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
/* Second safety net: JS is on but main.js failed to reveal (error/slow) —
   pure-CSS animation reveals everything anyway after a short delay. */
@keyframes revealAuto { to { opacity: 1; transform: none; } }
.js .reveal:not(.in) { animation: revealAuto 0.6s var(--ease) 1.2s forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 520px; margin: 10px auto 0; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .project-card, .project-card.flip { grid-template-columns: 1fr; }
  .project-media { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 990px) {
  body { font-size: 16px; }
  .topbar-left .hide-sm { display: none; }
  .nav-links, .nav-search { display: none; }
  .nav-cta .btn { padding: 11px 18px; font-size: 0.86rem; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 68px; left: var(--gutter); right: var(--gutter); background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg); gap: 4px; z-index: 20; }
  .nav.open .nav-links a { padding: 14px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-card { position: static; margin-top: 18px; max-width: none; }
  .stat-badge { left: 12px; }
}

@media (min-width: 991px) and (max-width: 1120px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 10px; font-size: 0.88rem; }
  .nav-cta .btn { padding: 11px 18px; font-size: 0.88rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-collage { grid-template-rows: 130px 90px 130px; }
}

/* ============================================================
   ABOUT 2 (overlapping images + highlight box)
   ============================================================ */
.about2-visual { position: relative; padding: 0 30px 40px 0; }
.about2-main { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.6; }
.about2-main img { width: 100%; height: 100%; object-fit: cover; }
.about2-inset { position: absolute; bottom: 6px; right: 0; width: 46%; aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; border: 7px solid var(--cream-100); box-shadow: var(--shadow-md); }
.about2-inset img { width: 100%; height: 100%; object-fit: cover; }
.about2-tag { position: absolute; left: 16px; bottom: 20px; background: var(--green-800); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow-md); z-index: 3; }
.about2-tag em { color: var(--yellow-400); font-style: normal; }
.highlight-box { display: flex; gap: 16px; align-items: center; background: var(--green-700); color: #fff; border-radius: 16px; padding: 18px 22px; margin: 22px 0; }
.highlight-box .hb-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--yellow-500); color: var(--green-900); display: grid; place-items: center; }
.highlight-box p { color: #fff; font-weight: 600; font-size: 0.96rem; }
.watch-video { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--green-800); }
.watch-video .play { width: 52px; height: 52px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(28,79,176,0.4); animation: pulse 2.2s infinite; }
.watch-video .play svg { width: 20px; height: 20px; margin-left: 2px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(28,79,176,0.35);} 70%{box-shadow:0 0 0 16px rgba(28,79,176,0);} 100%{box-shadow:0 0 0 0 rgba(28,79,176,0);} }

/* ============================================================
   SHIELD STATS
   ============================================================ */
.stats-shield-band { background: var(--green-800); position: relative; overflow: hidden; padding-block: clamp(56px,8vw,90px); }
.stats-shield-band::before { content: "VOLUNTEER"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 15vw; color: rgba(255,255,255,0.04); font-weight: 700; letter-spacing: 0.1em; pointer-events: none; }
.stats-shield-band .blob-yellow { position: absolute; left: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--yellow-500); opacity: 0.9; }
.shield-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.shield { background: #fff; border-radius: 20px 20px 26px 26px; padding: 44px 18px 26px; text-align: center; position: relative; margin-top: 26px; box-shadow: var(--shadow-md); }
.shield .sh-ico { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--green-700); color: var(--yellow-400); display: grid; place-items: center; border: 5px solid var(--cream-100); }
.shield .sh-ico svg { width: 26px; height: 26px; }
.shield .sh-num { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); font-weight: 600; color: var(--green-800); line-height: 1; }
.shield .sh-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); margin-top: 8px; }
/* all stat cards share one consistent look (was a highlighted card) */
.shield.featured { background: #fff; }
.shield.featured .sh-ico { background: var(--green-700); color: var(--yellow-400); }
.shield.featured .sh-num { color: var(--green-800); }
.shield.featured .sh-label { color: var(--ink-500); }

/* ============================================================
   FEATURED CAUSE (middle highlighted)
   ============================================================ */
.cause-card.featured { border: 2px solid var(--yellow-500); box-shadow: var(--shadow-md); transform: translateY(-10px); }
.cause-cat.ico { display: inline-flex; align-items: center; gap: 7px; }
.cause-cat.ico svg { width: 15px; height: 15px; }

/* ============================================================
   VOLUNTEERS / TEAM
   ============================================================ */
/* Leadership: single row of 5 on desktop, centered 3+2 on tablet, 2 then 1 on phones */
.vol-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.vol-card { flex: 0 1 calc(20% - 16px); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
@media (max-width: 1120px) { .vol-card { flex-basis: calc(33.333% - 14px); } }
@media (max-width: 760px)  { .vol-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 460px)  { .vol-card { flex-basis: 100%; } }

/* Even 3-column grids (6 items -> a clean 3 + 3), collapse to 2 then 1 */
.card-grid.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .card-grid.center-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid.center-grid { grid-template-columns: 1fr; } }

/* Even 4-column grids (4 items), collapse to 2 then 1 */
.card-grid.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 1024px) { .card-grid.four-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid.four-grid { grid-template-columns: 1fr; } }

/* Symmetrical 5-column or centered flex layout for 5 items */
.card-grid.five-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.card-grid.five-grid > article, .card-grid.five-grid > div { flex: 1 1 200px; max-width: calc(20% - 20px); min-width: 200px; }
@media (max-width: 1200px) { .card-grid.five-grid > article, .card-grid.five-grid > div { max-width: calc(33.333% - 16px); } }
@media (max-width: 768px) { .card-grid.five-grid > article, .card-grid.five-grid > div { max-width: calc(50% - 12px); } }
@media (max-width: 480px) { .card-grid.five-grid > article, .card-grid.five-grid > div { max-width: 100%; flex: 1 1 100%; } }

.story-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
@media (max-width: 560px) { .story-grid-two { grid-template-columns: 1fr; } }

.vol-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.vol-photo { aspect-ratio: 1/1; position: relative; display: grid; place-items: center; overflow: hidden; }
.vol-photo img { width: 100%; height: 100%; object-fit: cover; }
.vol-photo .mono { font-family: var(--font-display); font-size: 4rem; color: rgba(255,255,255,0.92); font-weight: 600; }
.vol-photo.g { background: linear-gradient(160deg, var(--green-600), var(--green-800)); }
.vol-photo.y { background: linear-gradient(160deg, var(--yellow-400), var(--gold-600)); }
.vol-photo .share { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--cream-100); color: var(--green-700); display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 2; }
.vol-photo .share svg { width: 18px; height: 18px; }
.vol-body { padding: 20px; text-align: center; }
.vol-body h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-800); }
.vol-body .role { color: var(--green-600); font-weight: 600; font-size: 0.86rem; margin-bottom: 8px; }
.vol-body .phone { font-size: 0.82rem; color: var(--ink-500); }

/* ============================================================
   COMMUNITY CTA (green + yellow split)
   ============================================================ */
.community { display: grid; grid-template-columns: 1.05fr 0.95fr; background: var(--green-800); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.community-body { padding: clamp(34px,4vw,56px); color: #fff; }
.community-body .eyebrow { color: var(--yellow-400); }
.community-body h2 { color: #fff; margin: 10px 0 14px; }
.community-body p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.community-progress { margin-bottom: 26px; }
.community-progress .top { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 8px; }
.community-progress strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--yellow-400); display: block; }
.community-media { background: var(--yellow-500); position: relative; display: grid; place-items: end center; }
.community-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-card { background: var(--cream-200); border-radius: 34px; padding: clamp(30px,4vw,50px); display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; max-width: 900px; margin-inline: auto; }
.testi-photo { width: 150px; height: 150px; border-radius: 50%; padding: 5px; background: conic-gradient(var(--green-600), var(--yellow-500), var(--green-600)); flex: none; }
.testi-photo .inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--green-700); display: grid; place-items: center; }
.testi-photo .inner .mono { font-family: var(--font-display); font-size: 2.6rem; color: #fff; }
.testi-photo .inner img { width: 100%; height: 100%; object-fit: cover; }
.testi-stars { color: var(--yellow-500); margin-bottom: 12px; letter-spacing: 3px; }
.testi-card blockquote { font-family: var(--font-display); font-size: clamp(1.1rem,2.2vw,1.4rem); color: var(--green-800); line-height: 1.5; font-style: italic; }
.testi-card .who { margin-top: 16px; font-weight: 700; color: var(--green-700); }
.testi-card .who span { display: block; font-weight: 500; color: var(--ink-500); font-size: 0.88rem; }
.testi-card .big-q { position: absolute; right: 30px; bottom: 10px; font-family: var(--font-display); font-size: 8rem; color: rgba(28,79,176,0.08); line-height: 1; }

/* ============================================================
   EVENTS CLUSTER
   ============================================================ */
.events-cluster { position: relative; aspect-ratio: 1/1; max-width: 480px; margin-inline: auto; }
.events-cluster .ec { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-md); border: 4px solid var(--cream-100); }
.events-cluster .ec img { width: 100%; height: 100%; object-fit: cover; }
.events-cluster .ec1 { width: 42%; top: 2%; left: 6%; }
.events-cluster .ec2 { width: 38%; top: 6%; right: 4%; }
.events-cluster .ec3 { width: 40%; bottom: 4%; left: 2%; }
.events-cluster .ec4 { width: 44%; bottom: 2%; right: 6%; }
.events-cluster .ec-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 92px; height: 92px; border-radius: 50%; background: var(--green-700); display: grid; place-items: center; z-index: 3; box-shadow: var(--shadow-lg); border: 5px solid var(--cream-100); }
.events-cluster .ec-center svg { width: 46px; height: 46px; }
.events-dashed { position: absolute; inset: 12%; border: 2px dashed rgba(28,79,176,0.2); border-radius: 50%; }
.event-meta-box { background: var(--cream-200); border-left: 4px solid var(--yellow-500); border-radius: 12px; padding: 16px 20px; margin: 22px 0; }
.event-meta-box .line { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-700); }
.event-meta-box .line svg { width: 16px; height: 16px; color: var(--green-600); }

/* ============================================================
   MARQUEE VARIANTS
   ============================================================ */
.marquee.green { background: var(--green-800); transform: rotate(0); margin: 0; box-shadow: none; }
.marquee.green .marquee-item h4 { color: #fff; }
.marquee.green .marquee-item .sep { color: var(--yellow-500); }
.marquee.yellow.tilt { transform: rotate(-2deg); }
.marquee-stack { position: relative; margin: 40px 0; }

/* ============================================================
   BRANDS
   ============================================================ */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-item { border: 1.5px solid rgba(28,79,176,0.14); border-radius: 16px; padding: 22px 16px; text-align: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ink-500); display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.brand-item:hover, .brand-item.active { border-color: var(--yellow-500); color: var(--green-800); background: rgba(88,165,33,0.08); }
.brand-item svg { width: 22px; height: 22px; color: var(--yellow-500); }

/* ============================================================
   DONATION CTA (green + form)
   ============================================================ */
.donate-cta { background: var(--green-800); border-radius: var(--radius-lg); padding: clamp(40px,5vw,64px) clamp(24px,4vw,48px); position: relative; overflow: hidden; }
.donate-cta .heart-deco { position: absolute; top: 30px; width: 80px; color: rgba(255,255,255,0.14); }
.donate-cta .heart-deco.l { left: 24px; } .donate-cta .heart-deco.r { right: 24px; color: rgba(88,165,33,0.5); }
.donate-cta .head { text-align: center; margin-bottom: 34px; position: relative; z-index: 2; }
.donate-cta .head .eyebrow { color: var(--yellow-400); justify-content: center; }
.donate-cta .head h2 { color: #fff; margin-top: 8px; }
.donate-form { display: grid; grid-template-columns: 1fr 1fr; background: var(--yellow-500); border-radius: var(--radius); overflow: hidden; max-width: 880px; margin-inline: auto; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.donate-form .df-media { position: relative; min-height: 260px; }
.donate-form .df-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.donate-form .df-body { padding: 30px; }
.donate-form .df-body h4 { font-family: var(--font-display); color: var(--green-900); font-size: 1.3rem; margin-bottom: 16px; }
.amount-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.amount-btn { background: rgba(255,255,255,0.55); border: 1.5px solid rgba(28,79,176,0.25); color: var(--green-900); font-weight: 700; padding: 9px 16px; border-radius: 100px; font-size: 0.85rem; cursor: pointer; transition: background 0.25s; }
.amount-btn:hover, .amount-btn.active { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.donate-form .pay-label { font-weight: 700; color: var(--green-900); font-size: 0.85rem; margin: 6px 0 10px; }
.pay-opts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; font-size: 0.82rem; color: var(--green-900); font-weight: 600; }
.pay-opts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }

/* ============================================================
   PROGRAM (icon boxes + checklist + video)
   ============================================================ */
.prog-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 260px; }
.prog-ico { aspect-ratio: 1/1; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.prog-ico svg { width: 34px; height: 34px; }
.prog-ico.g { background: var(--green-700); } .prog-ico.y { background: var(--yellow-500); color: var(--green-900); } .prog-ico.d { background: var(--green-800); }
.prog-card { background: var(--cream-200); border-radius: var(--radius); padding: 30px; }
.prog-card h4 { font-family: var(--font-display); color: var(--green-800); margin-bottom: 12px; }
.prog-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 16px 0 22px; }
.prog-checks li { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--ink-700); }
.prog-checks .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; flex: none; }
.prog-checks .ck svg { width: 12px; height: 12px; }
.prog-video { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; }
.prog-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prog-video .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--yellow-500); color: var(--green-900); display: grid; place-items: center; animation: pulse 2.2s infinite; }
.prog-video .play svg { width: 24px; height: 24px; margin-left: 3px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,79,176,0.07); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.blog-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-date { position: absolute; top: 14px; right: 14px; background: var(--yellow-500); color: var(--green-900); border-radius: 12px; padding: 8px 12px; text-align: center; font-weight: 700; line-height: 1; }
.blog-date b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.blog-date span { font-size: 0.66rem; text-transform: uppercase; }
.blog-body { padding: 24px; }
.blog-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--green-600); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-body h3 { font-size: 1.25rem; margin-bottom: 14px; }
.blog-body h3 a:hover { color: var(--green-600); }
.blog-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(28,79,176,0.1); font-size: 0.85rem; color: var(--ink-500); }
.blog-foot .rd { width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; }
.blog-foot .rd svg { width: 16px; height: 16px; }

/* ============================================================
   NEWSLETTER BAND
   ============================================================ */
.news-band { background: var(--yellow-500); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px) clamp(28px,5vw,54px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-md); }
.news-band .nb-left { display: flex; align-items: center; gap: 18px; }
.news-band .nb-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green-800); color: var(--yellow-400); display: grid; place-items: center; flex: none; }
.news-band h3 { color: var(--green-900); font-size: clamp(1.3rem,2.5vw,1.8rem); }
.news-band form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 100px; flex: 1; min-width: 280px; max-width: 460px; }
.news-band input { flex: 1; border: none; background: transparent; padding: 12px 18px; font-family: inherit; font-size: 0.9rem; }
.news-band input:focus { outline: none; }
.news-band button { background: var(--green-800); color: #fff; border-radius: 100px; padding: 0 24px; font-weight: 700; white-space: nowrap; }
.news-band button:hover { background: var(--green-900); }

/* ============================================================
   SDG BADGES / STORY CARDS / SLOGAN
   ============================================================ */
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.sdg { border-radius: 18px; padding: 22px 20px; color: #fff; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.sdg:hover { transform: translateY(-6px); }
.sdg .n { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.sdg .t { font-size: 0.9rem; font-weight: 600; margin-top: 8px; }

.story-card { position: relative; }
.story-card .q { font-family: var(--font-display); font-size: 2.6rem; color: var(--yellow-500); line-height: 0.6; }
.story-card .name { font-family: var(--font-display); color: var(--green-800); font-size: 1.15rem; margin-top: 8px; }
.story-card .name span { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--green-600); }

.slogan-line { font-family: var(--font-script); font-size: 1.9rem; color: var(--green-600); line-height: 1.1; margin-top: 16px; }
.slogan-sub { font-size: 0.92rem; color: var(--muted); margin-top: 2px; }

/* Big footer wordmark */
.footer-wordmark { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 14vw, 11rem); line-height: 0.9; color: rgba(255,255,255,0.06); letter-spacing: 0.02em; padding: 10px 0 0; user-select: none; }
.footer-wordmark b { color: rgba(88,165,33,0.14); }

/* ============================================================
   RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 980px) {
  .shield-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .community { grid-template-columns: 1fr; }
  .community-media { min-height: 260px; }
  .donate-form { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .prog-icons { max-width: none; }
}
@media (max-width: 720px) {
  .testi-card { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .testi-photo { margin-inline: auto; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-checks { grid-template-columns: 1fr; }
  .news-band { flex-direction: column; text-align: center; }
  .news-band .nb-left { flex-direction: column; }
}
@media (max-width: 480px) {
  .shield-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE BANNER (inner-page hero with photo + hands + splash)
   ============================================================ */
.page-banner { position: relative; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 220px 20px 100px; }
.page-banner .pb-bg { position: absolute; inset: 0; z-index: 0; }
.page-banner .pb-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .pb-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at center, rgba(14, 42, 94, 0.45) 0%, rgba(10, 25, 60, 0.85) 100%), linear-gradient(135deg, rgba(28, 79, 176, 0.25) 0%, rgba(88, 165, 33, 0.15) 100%); }

/* Premium Glassmorphic Hero Card */
.pb-card { position: relative; z-index: 4; background: transparent; border: none; padding: 0; max-width: 720px; width: 100%; margin-inline: auto; transform: translateY(20px); animation: pbCardFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes pbCardFadeIn { to { transform: translateY(0); opacity: 1; } }
.pb-eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--yellow-400); margin-bottom: 12px; }
.pb-title { color: #fff !important; font-size: clamp(2.4rem, 5vw, 3.6rem) !important; font-weight: 800 !important; text-transform: none; margin-bottom: 12px; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); }
.pb-subtitle { color: rgba(255, 255, 255, 0.88); font-size: clamp(0.95rem, 2vw, 1.12rem); font-weight: 500; margin-bottom: 24px; max-width: 540px; margin-inline: auto; line-height: 1.5; }
.pb-crumb-row { display: flex; justify-content: center; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; }
.pb-crumb-row .crumb { font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88) !important; margin: 0; }
.pb-crumb-row .crumb a { color: #ffffff !important; }
.pb-crumb-row .crumb a:hover { color: var(--yellow-400) !important; }
.pb-crumb-row .crumb .sep { color: var(--yellow-400) !important; margin: 0 8px; }

/* ============================================================
   SERVICE CARDS (Focus Areas / Service page)
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card { display: grid; grid-template-columns: 1.1fr 0.9fr; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,79,176,0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .sc-body { padding: 28px; display: flex; flex-direction: column; }
.service-card .sc-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.service-card .sc-ico svg { width: 28px; height: 28px; }
.sc-ico.c1 { background: var(--yellow-500); color: var(--green-900); } .sc-ico.c2 { background: #d8593a; } .sc-ico.c3 { background: var(--green-600); } .sc-ico.c4 { background: #7a4fb0; } .sc-ico.c5 { background: #2e7d78; } .sc-ico.c6 { background: var(--green-800); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-700); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.service-card .read-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.85rem; color: var(--green-700); text-transform: uppercase; letter-spacing: 0.04em; }
.service-card .read-more svg { width: 15px; height: 15px; }
.service-card .sc-media { position: relative; min-height: 200px; }
.service-card .sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   EVENT ROWS (Projects / Events page)
   ============================================================ */
.date-circles { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.date-circle { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; line-height: 1.1; }
.date-circle.g { background: var(--green-700); } .date-circle.y { background: var(--yellow-500); color: var(--green-900); }
.date-circle b { font-family: var(--font-display); font-size: 1.4rem; display: block; }
.date-circle span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }

.event-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }
.event-row .ev-media { border-radius: 18px; overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow-sm); }
.event-row .ev-media img { width: 100%; height: 100%; object-fit: cover; }
.event-row .ev-body { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(28,79,176,0.08); }
.event-row.reverse .ev-media { order: 2; }
.ev-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--cream-200); color: var(--green-700); font-size: 0.76rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; }
.ev-tag svg { width: 13px; height: 13px; }
.event-row h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.event-row p { color: var(--ink-700); font-size: 0.94rem; margin-bottom: 20px; }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ev-speaker { display: flex; align-items: center; gap: 10px; }
.ev-speaker .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.ev-speaker b { display: block; font-size: 0.9rem; color: var(--green-800); }
.ev-speaker span { font-size: 0.78rem; color: var(--ink-500); }

/* ============================================================
   FAQ GRID (Contact / FAQ page)
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; align-items: start; }
.faq-grid .faq-item { border: 1.5px solid rgba(28,79,176,0.14); border-radius: 14px; padding: 0 20px; transition: border-color 0.3s, background 0.3s; }
.faq-grid .faq-item.open { border-color: var(--yellow-500); background: #fff; box-shadow: var(--shadow-sm); }
.faq-grid .faq-q { padding: 18px 0; font-size: 1.02rem; }
.faq-grid .faq-item.open .faq-q { color: var(--green-700); }

/* ============================================================
   RESPONSIVE — inner page components
   ============================================================ */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr; }
  .event-row.reverse .ev-media { order: 0; }
}
@media (max-width: 560px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card .sc-media { min-height: 180px; order: -1; }
}

/* ============================================================
   RESPONSIVE POLISH — small-device friendliness
   ============================================================ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .topbar { font-size: 0.76rem; }
  .topbar-inner { padding: 8px 0; }
  .topbar-socials { gap: 11px; }
  .section-pad { padding-block: clamp(42px, 11vw, 80px); }
  .about2-visual { padding: 0 0 34px 0; }
  .about2-inset { width: 44%; }
  .story-band, .cta-banner, .stats-band, .community, .donate-cta { border-radius: var(--radius); }
  .hero { padding-top: 140px; }
  h2.section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .page-banner { min-height: 480px; padding: 160px 16px 80px; }
  .page-banner h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .pb-hands { width: 96px; }
  .pb-splash { width: 110px; }

  .pb-subtitle { margin-bottom: 18px; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .btn { padding: 13px 22px; font-size: 0.92rem; }
  .btn-lg { padding: 15px 26px; }
  .shield .sh-num { font-size: 2rem; }
}

/* ---- Phone tuning (real mobile friendliness) ---- */
@media (max-width: 640px) {
  .marquee, .marquee.yellow.tilt { transform: none; margin: 22px 0; }   /* no tilt = no edge overflow */
  .display { font-size: clamp(2.05rem, 8.6vw, 2.7rem); }
  .hero { padding-top: 124px; padding-bottom: 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stat-inline { margin-top: 24px; }
  /* keep a compact Donate button in the mobile header (hide only search) */
  .nav-cta .btn { display: inline-flex; padding: 10px 16px; font-size: 0.85rem; }
  .nav-cta { gap: 8px; }
  section, .marquee { max-width: 100%; }
  img, video { max-width: 100%; height: auto; }
}
@media (max-width: 400px) {
  .display { font-size: clamp(1.75rem, 9.4vw, 2.2rem); }
  .btn-lg { padding: 14px 20px; font-size: 0.94rem; }
  .brand-logo { height: 42px; }
  .topbar-left a span, .topbar-left a { font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   DONATION QR CODE & MODAL STYLING
   ============================================================ */
.donate-qr-wrapper {
  background: #ffffff;
  border: 2px dashed rgba(28, 79, 176, 0.25);
  border-radius: 20px;
  padding: 16px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(28, 79, 176, 0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.donate-qr-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(28, 79, 176, 0.13);
}
.donate-qr-img {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.upi-box {
  background: var(--cream-100);
  border: 1.5px solid rgba(28, 79, 176, 0.16);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}
.upi-box .upi-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.upi-box .upi-val {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-900);
  word-break: break-all;
}
.copy-upi-btn {
  padding: 8px 18px;
  font-size: 0.84rem;
  border-radius: 100px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
  flex-shrink: 0;
}
.copy-upi-btn:hover {
  transform: scale(1.04);
}

/* Global Donation Modal */
.donate-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 60, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.donate-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.donate-modal-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 34px 26px;
  max-width: 450px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  text-align: center;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(28, 79, 176, 0.12);
}
.donate-modal-backdrop.open .donate-modal-card {
  transform: scale(1) translateY(0);
}
.donate-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-200);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink-700);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.donate-modal-close:hover {
  background: var(--yellow-400);
  color: var(--green-900);
  transform: rotate(90deg);
}
.donate-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(88, 165, 33, 0.12);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.donate-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 6px;
}
.donate-modal-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

