/* ==========================================================================
   Project Uddipon — home page
   A professional NGO-style layout (photo-led, impact-first, clear ways to
   help) carrying the ZAN Tech identity: deep navy, cyan for action, red for
   giving, Kodchasan type with JetBrains Mono labels.
   ========================================================================== */

:root {
  --navy: #0b0f19;
  --navy-2: #151b2b;
  --navy-3: #1c2436;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --cyan: #00f0ff;
  --teal: #0891b2;
  --teal-dark: #0e7490;
  --red: #ed2626;
  --red-dark: #c81e1e;
  --sun: #f5b301;
  --green: #059669;

  --font: "Kodchasan", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 10px 30px -14px rgb(15 23 42 / 0.18);
  --shadow-lg: 0 30px 60px -24px rgb(15 23 42 / 0.35);
  --container: 1200px;
}

/* ── Base ───────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: rgb(8 145 178 / 0.2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.material-symbols-outlined {
  font-size: 1.15em;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* Section scaffolding */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.eyebrow.on-dark { color: var(--cyan); }
.eyebrow.red { color: var(--red); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; }
.lead { margin-top: 16px; font-size: 1.08rem; color: var(--body); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgb(237 38 38 / 0.8); }
.btn-red:hover { background: var(--red-dark); }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: rgb(255 255 255 / 0.45); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 0.1); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--teal); color: var(--teal); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--teal);
}
.link-arrow .material-symbols-outlined { transition: transform 0.2s ease; }
.link-arrow:hover .material-symbols-outlined { transform: translateX(4px); }

/* ── Utility bar ────────────────────────────────────── */
.utility {
  background: var(--navy);
  color: #94a3b8;
  font-size: 0.82rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 40px;
}
.utility-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.utility a:hover { color: #fff; }
.utility-item { display: inline-flex; align-items: center; gap: 6px; }
.utility-social { margin-left: auto; display: flex; gap: 14px; }

/* ── Header ─────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(15 23 42 / 0.4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-by {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.1;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-by b { display: block; font-family: var(--font); font-size: 0.95rem; letter-spacing: 0.06em; color: var(--ink); }
.brand-by b i { font-style: normal; color: var(--red); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav a.nav-link:hover,
.nav a.nav-link.active { color: var(--ink); }
.nav a.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}
/* Impact Report: a highlighted menu item so the report is one click away */
.nav a.nav-link.nav-report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 7px 12px;
  border: 1px solid rgb(8 145 178 / 0.35);
  border-radius: 999px;
  background: rgb(8 145 178 / 0.08);
  color: var(--teal);
}
.nav a.nav-link.nav-report .material-symbols-outlined { font-size: 1.1rem; }
.nav a.nav-link.nav-report:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.header-cta { display: flex; gap: 10px; margin-left: 12px; }
.header-cta .btn { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
/* The hero already offers "Invite us", so the header keeps just Donate (the drawer shows both) */
.header-cta .btn-line { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 118px));
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(11 15 25 / 0.92) 0%, rgb(11 15 25 / 0.7) 42%, rgb(11 15 25 / 0.15) 100%),
    linear-gradient(0deg, rgb(11 15 25 / 0.85) 0%, transparent 45%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 30%, transparent 75%);
}
.hero-content { position: relative; padding: 96px 0 140px; max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgb(0 240 255 / 0.35);
  background: rgb(0 240 255 / 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; line-height: 1.05; }
.hero h1 .accent { color: var(--cyan); }
.hero h1 .bn { display: block; font-family: "Hind Siliguri", var(--font); color: var(--sun); font-size: 0.7em; margin-top: 10px; font-weight: 700; }
.hero p.hero-lead { margin-top: 22px; font-size: 1.15rem; color: #cbd5e1; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-report {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: 22px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-left: 3px solid var(--sun);
  border-radius: 14px;
  background: rgb(11 15 25 / 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-report:hover { border-color: rgb(255 255 255 / 0.4); border-left-color: var(--sun); background: rgb(11 15 25 / 0.75); }
.hero-report-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sun);
  color: var(--navy);
  font-size: 1.4rem;
}
.hero-report-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-report-text small {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.hero-report-text b { font-size: 0.98rem; font-weight: 600; line-height: 1.35; }
.hero-report-go { flex: none; margin-left: auto; color: var(--sun); transition: transform 0.2s ease; }
.hero-report:hover .hero-report-go { transform: translateX(4px); }
.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 150px;
  max-width: 260px;
  padding: 12px 14px;
  border-left: 2px solid var(--cyan);
  background: rgb(11 15 25 / 0.55);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  color: #cbd5e1;
}
.hero-caption b { display: block; color: #fff; font-size: 0.85rem; }

/* Impact bar overlapping the hero (NGO "our reach" band) */
.impact { position: relative; z-index: 2; margin-top: -84px; }
.impact-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.impact-item { padding: 28px 26px; border-right: 1px solid var(--line); }
.impact-item:last-child { border-right: 0; }
.impact-value { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; color: var(--ink); line-height: 1; }
.impact-value.red { color: var(--red); }
.impact-label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.impact-note { margin-top: 6px; font-size: 0.85rem; color: var(--body); }

/* ── Who we are ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .main-img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-media .sub-img {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 52%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}
.about-media .tag-card {
  position: absolute;
  left: -20px;
  top: 28px;
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  max-width: 220px;
}
.about-media .tag-card b { display: block; color: var(--cyan); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.mission {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--red);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--body); }
.checks li .material-symbols-outlined { color: var(--green); font-size: 1.3rem; font-variation-settings: "FILL" 1; }

/* ── Programmes ─────────────────────────────────────── */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgb(8 145 178 / 0.35); }
.program-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.program:hover .program-img img { transform: scale(1.05); }
.program-icon {
  position: absolute;
  left: 18px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--cyan);
  font-size: 1.5rem;
  box-shadow: 0 8px 20px -8px rgb(11 15 25 / 0.6);
}
.program-icon.red { background: var(--red); color: #fff; }
.program-body { padding: 36px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.program-body h3 { font-size: 1.25rem; font-weight: 700; }
.program-body p { margin-top: 10px; color: var(--body); font-size: 0.95rem; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--body);
}

/* ── How it works (navy band) ───────────────────────── */
.dark-band {
  position: relative;
  background: var(--navy);
  color: #cbd5e1;
  overflow: hidden;
}
.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.dark-band::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 240 255 / 0.14), transparent 65%);
}
.dark-band > .container { position: relative; z-index: 1; }
.dark-band .h2 { color: #fff; }
.dark-band .lead { color: #94a3b8; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 20px;
  border-radius: var(--radius);
  border: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(255 255 255 / 0.03);
}
.step-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.step-num b {
  display: flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgb(0 240 255 / 0.4);
  background: rgb(0 240 255 / 0.08);
  font-size: 1rem;
}
.step h3 { color: #fff; font-size: 1.05rem; }
.step p { margin-top: 8px; font-size: 0.88rem; color: #94a3b8; }
.steps-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ── Where we've been ───────────────────────────────── */
.reach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.reach-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.reach-stat { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.reach-stat b { display: block; font-size: 1.6rem; color: var(--ink); }
.reach-stat span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.institutions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.institutions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
}
.institutions li .material-symbols-outlined { color: var(--teal); font-size: 1.25rem; }
.goal-bar {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--navy);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.goal-bar .material-symbols-outlined { font-size: 2rem; color: var(--cyan); }
.goal-bar b { color: #fff; }

/* ── Stories / gallery ──────────────────────────────── */
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}
.story:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.story img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s ease; }
.story:hover img { transform: scale(1.06); }
.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(11 15 25 / 0.92) 0%, rgb(11 15 25 / 0.1) 55%, transparent 100%);
}
.story-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; color: #fff; }
.story-text small {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.story-text b { display: block; font-size: 1rem; line-height: 1.3; }
.story:first-child .story-text b { font-size: 1.5rem; }
.stories-more { display: flex; justify-content: center; margin-top: 36px; gap: 12px; flex-wrap: wrap; }
.stories.collapsed .story:nth-child(n + 10) { display: none; }

/* ── Voice / quote ──────────────────────────────────── */
.voice {
  position: relative;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.voice-bg { position: absolute; inset: 0; }
.voice-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.voice-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 15 25 / 0.95), rgb(11 15 25 / 0.6)); }
.voice .container { position: relative; }
.voice blockquote { margin: 0; max-width: 820px; }
.voice .q-mark { font-size: 5rem; line-height: 0.6; color: var(--red); font-weight: 700; }
.voice p { font-size: clamp(1.4rem, 2.6vw, 2.05rem); font-weight: 600; line-height: 1.35; margin-top: 18px; }
.voice cite { display: block; margin-top: 24px; font-style: normal; color: #94a3b8; }
.voice cite b { color: var(--cyan); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ── Team ───────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: left; }
.member-photo { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 0.5s ease, filter 0.3s ease; }
.member:hover .member-photo img { transform: scale(1.04); filter: none; }
.member-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.member:hover .member-photo::after { transform: scaleX(1); }
.member h3 { margin-top: 14px; font-size: 1.05rem; }
.member p { margin-top: 2px; font-size: 0.85rem; color: var(--muted); }

/* ── Get involved ───────────────────────────────────── */
.involve { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.involve-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.involve-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--teal); }
.involve-card.red::before { background: var(--red); }
.involve-card.navy::before { background: var(--navy); }
.involve-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  background: rgb(8 145 178 / 0.1);
  color: var(--teal);
}
.involve-card.red .involve-icon { background: rgb(237 38 38 / 0.1); color: var(--red); }
.involve-card.navy .involve-icon { background: rgb(11 15 25 / 0.07); color: var(--navy); }
.involve-card h3 { font-size: 1.3rem; }
.involve-card .who { margin-top: 4px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.involve-card ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 9px; flex: 1; }
.involve-card li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--body); }
.involve-card li .material-symbols-outlined { color: var(--green); font-size: 1.15rem; margin-top: 2px; }

/* ── Donate ─────────────────────────────────────────── */
.donate { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.donate-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.tier {
  padding: 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tier b { display: block; font-size: 1.5rem; color: var(--ink); }
.tier span { display: block; margin-top: 4px; font-size: 0.85rem; color: var(--body); }
.tier:hover { border-color: rgb(237 38 38 / 0.5); }
.tier.selected { border-color: var(--red); box-shadow: 0 0 0 4px rgb(237 38 38 / 0.12); }
.tier.selected b { color: var(--red); }
.donate-box {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}
.donate-box h3 { color: #fff; font-size: 1.5rem; }
.donate-box p { margin-top: 10px; font-size: 0.95rem; }
.donate-box p strong { color: #fff; }
.donate-box .btn { margin-top: 12px; }
.donate-trust {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
}
.donate-trust .material-symbols-outlined { color: var(--cyan); }

/* ── Partners strip ─────────────────────────────────── */
.partners { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.partners-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.partners img { height: 48px; width: auto; }
.partners .spacer { flex: 1; }

/* ── Contact ────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.contact-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--teal);
}
.contact-row small { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-row a:hover { color: var(--teal); }
.template-card { padding: 30px; border-radius: var(--radius); background: var(--navy); color: #cbd5e1; }
.template-card h3 { color: #fff; font-size: 1.25rem; }
.template {
  margin: 16px 0 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: #cbd5e1;
  white-space: pre-wrap;
}
.template-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.template-actions .btn { flex: 1; }

/* ── Footer ─────────────────────────────────────────── */
.footer { background: var(--navy); color: #94a3b8; position: relative; overflow: hidden; }
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.footer > * { position: relative; }
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 560px; }
.footer-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-about { margin-top: 16px; font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.12);
  color: #cbd5e1;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { color: var(--cyan); border-color: rgb(0 240 255 / 0.5); }
.footer h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.82rem;
}
.footer-bottom b { color: #fff; }
.footer-bottom b i { font-style: normal; color: var(--red); }

/* ── Lightbox, floating buttons ─────────────────────── */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgb(11 15 25 / 0.92);
  backdrop-filter: blur(4px);
}
.lightbox-backdrop.open { display: flex; }
.lightbox-img { max-width: min(1100px, 100%); max-height: 76vh; border-radius: 12px; object-fit: contain; }
.lightbox-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; color: #e2e8f0; }
.lightbox-caption { font-weight: 600; }
.lightbox-details { display: none; align-items: center; gap: 6px; color: var(--cyan); font-weight: 700; }
.lightbox-details.show { display: inline-flex; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.2);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-wa,
.fab-top {
  position: fixed;
  right: 20px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px -10px rgb(0 0 0 / 0.45);
}
.fab-wa { bottom: 20px; background: #25d366; color: #fff; font-size: 1.6rem; }
.fab-top {
  bottom: 86px;
  background: var(--navy);
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-top.visible { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.19s; }
.d4 { transition-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
}

/* The full menu (with Impact Report) needs ~1150px; below that use the drawer */
@media (max-width: 1180px) {
  /* Mobile navigation drawer.
     backdrop-filter would make the header the containing block for the
     fixed drawer (trapping it inside the 70px bar), so drop it here. */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* Toggle stays above the open drawer so it doubles as the close button */
  .nav-toggle { display: flex; position: relative; z-index: 80; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 90px 20px 24px;
    background: #fff;
    box-shadow: -20px 0 50px -20px rgb(0 0 0 / 0.4);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 70;
  }
  .nav.nav-open { transform: none; }
  .nav a.nav-link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.nav-link.active::after { display: none; }
  .nav a.nav-link.nav-report { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; justify-content: center; }
  .header-cta { flex-direction: column; margin: 18px 0 0; }
  .header-cta .btn,
  .header-cta .btn-line { display: inline-flex; width: 100%; min-height: 48px; }
  .nav-close { display: flex !important; }
  .nav-scrim { position: fixed; inset: 0; background: rgb(11 15 25 / 0.5); z-index: 65; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .utility-hide-md { display: none; }

  .hero-content { padding: 90px 0 140px; }
  .hero-caption { display: none; }
  .impact-card { grid-template-columns: 1fr 1fr; }
  .impact-item:nth-child(2) { border-right: 0; }
  .impact-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

  .about-grid,
  .reach-grid,
  .donate,
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 520px; }
  .programs,
  .involve { grid-template-columns: 1fr 1fr; }
  .stories { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .utility-inner { justify-content: center; }
  .utility-tag,
  .utility-social { display: none; }
  .header-inner { height: 68px; }
  .brand img { height: 36px; }
  .brand-by { display: none; }

  .hero { min-height: 620px; }
  .hero-content { padding: 70px 0 130px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .impact { margin-top: -70px; }
  .impact-item { padding: 20px 16px; }
  .impact-value { font-size: 1.65rem; }
  .hero-badge { font-size: 0.64rem; letter-spacing: 0.1em; }

  .about-media .sub-img { right: -6px; bottom: -20px; }
  .about-media .tag-card { left: -6px; }
  .programs,
  .involve,
  .institutions,
  .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stories { grid-template-columns: 1fr 1fr; gap: 10px; }
  .story:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
  .story-text { padding: 12px; }
  .story-text b { font-size: 0.85rem; }
  .donate-tiers { grid-template-columns: 1fr; }
  .donate-box,
  .contact-card,
  .template-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
