/* =========================================================
   TechnoGalaxy Foundation — site styles
   ========================================================= */
:root {
  /* Yellow · black · white — minimal and elegant (matches the logo) */
  --teal-ink: #111111;      /* black: headings, dark sections */
  --teal: #3A3A3A;          /* secondary ink */
  --teal-soft: #F7F6F2;     /* soft off-white section background */
  --marigold: #FCB004;      /* logo yellow: buttons, highlights */
  --marigold-deep: #E9A200;
  --sun: #FCB004;
  --on-accent: #111111;     /* text on yellow (10:1 contrast) */
  --accent-ink: #8A6200;    /* dark gold for small icons on light backgrounds */
  --accent-soft: #FFF4D6;
  --accent-on-dark: #FCB004; /* yellow on black */
  --on-dark: #CFCFCF;
  --track: #EDEAE2;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --text: #1F1F1F;
  --muted: #6B6B6B;
  --line: #E8E5DD;

  --font-head: 'Plus Jakarta Sans', 'Mukta', system-ui, sans-serif;
  --font-body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --radius: 16px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 18px 40px -28px rgba(0, 0, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p + p { margin-top: .9em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }

.wrap, .container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.12rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.tint { background: var(--teal-soft); }
.dark { background: var(--teal-ink); color: var(--on-dark); }
.dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark .section-head p { color: var(--on-dark); }
.hi { font-family: var(--font-body); }

/* ---------- Buttons ---------- */
.btn, .btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn-primary, .btn-donate { background: var(--marigold); color: var(--teal-ink); }
.btn-primary:hover, .btn-donate:hover { background: var(--sun); transform: translateY(-1px); }
.btn-secondary, .btn-ghost { background: transparent; color: var(--teal-ink); border-color: var(--teal-ink); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--teal-ink); color: var(--white); }
.dark .btn-secondary, .dark .btn-ghost, .on-dark .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.6); }
.dark .btn-secondary:hover, .on-dark .btn-secondary:hover { background: var(--white); color: var(--teal-ink); }
.text-link { font-weight: 700; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--sun); }
.text-link:hover { color: var(--teal-ink); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--teal-ink); color: var(--on-dark); font-size: .92rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-contact { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  font: 600 1.02rem var(--font-body); color: var(--teal-ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--teal-soft); }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav li.open .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.submenu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.submenu a:hover { background: var(--teal-soft); color: var(--teal-ink); }
@media (hover: hover) and (min-width: 961px) {
  .nav li:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
}
.nav li.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav > li > a.btn-donate { margin-left: 10px; padding: 11px 22px; background: var(--marigold); color: var(--teal-ink); border-radius: 999px; font-family: var(--font-head); font-weight: 700; }
.nav > li > a.btn-donate:hover { background: var(--sun); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--teal-ink); }
.menu-toggle svg { width: 30px; height: 30px; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 90px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .submenu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav li.open > .submenu { display: block; }
  .nav > li > a.btn-donate { margin: 18px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; }
  .topbar .tb-note { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lead { font-size: 1.22rem; color: var(--muted); margin: 22px 0 10px; max-width: 34em; }
.hero .hindi-line { font-size: 1.15rem; color: var(--teal); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { border-left: 3px solid var(--marigold); padding-left: 12px; }
.hero-trust strong { display: block; font: 800 1.7rem/1 var(--font-head); color: var(--teal-ink); }
.hero-trust span { color: var(--muted); font-size: .95rem; }

.arch-stack { position: relative; justify-self: center; width: min(460px, 100%); }
.arch { border-radius: var(--arch); overflow: hidden; background: var(--teal-soft); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-stack .arch-main { aspect-ratio: 4 / 5; border: 10px solid var(--white); outline: 2px solid var(--sun); outline-offset: 8px; }
.arch-stack .arch-small {
  position: absolute; width: 42%; aspect-ratio: 3 / 4; left: -16%; bottom: -8%;
  border: 8px solid var(--white);
}
.arch-stack .badge {
  position: absolute; right: -6%; top: 9%; background: var(--teal-ink); color: #fff; border-radius: 16px;
  padding: 14px 18px; max-width: 200px; font-size: .95rem; line-height: 1.35; box-shadow: var(--shadow);
}
.arch-stack .badge strong { color: var(--sun); display: block; font: 700 1.05rem var(--font-head); }

/* one orchestrated load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal-1, .hero .reveal-2, .hero .reveal-3 { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .reveal-2 { animation-delay: .12s; }
  .hero .reveal-3 { animation-delay: .28s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .arch-stack { width: min(380px, 86%); margin-top: 20px; }
  .arch-stack .arch-small { left: -10%; }
  .arch-stack .badge { right: -8%; }
}

/* ---------- Toran ticker ---------- */
.toran { background: var(--sun); color: var(--teal-ink); overflow: hidden; position: relative; border-block: 3px solid var(--marigold); }
.toran::before {
  content: ""; position: absolute; inset: auto 0 -3px 0; height: 12px;
  background: radial-gradient(circle at 10px 0, var(--marigold) 7px, transparent 7.5px) 0 0 / 20px 12px repeat-x;
  transform: translateY(100%);
}
.toran-track { display: flex; width: max-content; gap: 0; padding: 14px 0; font-size: 1.08rem; font-weight: 500; white-space: nowrap; }
.toran-track span { padding: 0 22px; position: relative; }
.toran-track span::after { content: "✿"; position: absolute; right: -8px; color: var(--marigold-deep); }
@media (prefers-reduced-motion: no-preference) {
  .toran-track { animation: slide 70s linear infinite; }
  .toran:hover .toran-track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) { .toran-track { flex-wrap: wrap; width: auto; white-space: normal; } }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.program-card { display: flex; flex-direction: column; background: var(--white); border-radius: 22px; padding: 12px 12px 22px; border: 1px solid var(--line); }
.program-card .arch { aspect-ratio: 1 / 1.05; box-shadow: none; border-radius: 999px 999px 12px 12px; }
.program-card img { transition: transform .5s; }
.program-card:hover img { transform: scale(1.04); }
.program-card h3 { margin: 18px 8px 6px; font-size: 1.25rem; }
.program-card p { margin: 0 8px; color: var(--muted); font-size: .98rem; line-height: 1.55; flex: 1; }
.program-card .card-actions { display: flex; gap: 16px; align-items: center; margin: 18px 8px 0; }
.program-card .card-actions .btn-primary { padding: 8px 18px; font-size: .95rem; }
@media (max-width: 1080px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- Impact numbers ---------- */
.impact .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.impact-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-nums div { border-top: 3px solid var(--sun); padding-top: 14px; }
.impact-nums strong { display: block; font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--font-head); color: var(--sun); }
.impact-nums span { color: var(--on-dark); }
@media (max-width: 900px) { .impact .wrap { grid-template-columns: 1fr; } .impact-nums { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.goal-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.goal-figures { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.goal-figures strong { font: 800 2.2rem/1 var(--font-head); color: var(--teal-ink); }
.goal-figures span { color: var(--muted); }
.goal-bar { height: 18px; background: var(--teal-soft); border-radius: 999px; overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--marigold), var(--sun)); border-radius: 999px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.goal-note { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.ways { margin-top: 30px; display: grid; gap: 14px; }
.way { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.way .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-ink); }
.way .ico svg { width: 22px; height: 22px; }
.way p { color: var(--muted); font-size: .98rem; }
.pay-card { background: var(--teal-ink); color: var(--on-dark); border-radius: 22px; padding: clamp(24px, 4vw, 36px); }
.pay-card h3 { color: #fff; }
.qr { margin: 20px auto; width: 210px; aspect-ratio: 1; background: #fff; border-radius: 16px; display: grid; place-items: center; padding: 12px; color: var(--muted); text-align: center; font-size: .9rem; }
.qr img { width: 100%; height: 100%; object-fit: contain; }
.pay-rows { display: grid; gap: 2px; margin-top: 10px; }
.pay-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .98rem; }
.pay-rows dt { color: var(--on-dark); }
.pay-rows dd { color: #fff; font-weight: 600; text-align: right; word-break: break-word; }
.copy-btn { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 2px 10px; font: inherit; font-size: .85rem; cursor: pointer; margin-left: 8px; }
.pay-card .small { font-size: .9rem; color: var(--on-dark); margin-top: 16px; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: 1fr; } }

/* ---------- Director message ---------- */
.message .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.message .arch { aspect-ratio: 4 / 5; max-width: 380px; background: linear-gradient(180deg, var(--teal-soft) 0%, var(--accent-soft) 100%); border: 8px solid var(--white); outline: 2px solid var(--sun); outline-offset: 6px; }
.message .arch img { object-position: center top; }
.message .quote { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.35 var(--font-head); color: var(--teal-ink); margin-bottom: 22px; }
.message .body p { color: var(--text); }
.message .sign { margin-top: 26px; }
.message .sign strong { display: block; font: 700 1.25rem var(--font-head); color: var(--teal-ink); }
.message .sign span { color: var(--muted); }
@media (max-width: 860px) { .message .wrap { grid-template-columns: 1fr; } .message .arch { max-width: 300px; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.team-grid img { width: 100%; max-width: 180px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 5px solid var(--white); box-shadow: 0 0 0 2px var(--sun); }
.team-grid h3 { font-size: 1.15rem; }
.team-grid p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--teal-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 30, 32, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.show { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1100px, 100%); border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-family: var(--font-head); font-size: 1.1rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-btn:hover { background: var(--marigold); color: var(--teal-ink); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Documents ---------- */
.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px 20px; }
.doc .ico { width: 52px; height: 60px; border-radius: 8px; background: var(--sun); color: var(--teal-ink); display: grid; place-items: center; font: 800 .8rem var(--font-head); }
.doc h3 { font-size: 1.12rem; }
.doc p { color: var(--on-dark); font-size: .93rem; line-height: 1.4; }
.doc a { color: var(--sun); font-weight: 700; text-decoration: none; white-space: nowrap; }
.doc a:hover { text-decoration: underline; }
@media (max-width: 760px) { .doc-list { grid-template-columns: 1fr; } .doc { grid-template-columns: 44px 1fr; } .doc a { grid-column: 2; } }

/* ---------- FAQ (home + program pages) ---------- */
.faq, .faq-container { max-width: 820px; margin: 0 auto; }
.faq details, .faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary, .faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 700 1.1rem var(--font-head); color: var(--teal-ink); position: relative; }
.faq summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--marigold-deep); transition: transform .2s; }
.faq details[open] summary::after, .faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div, .faq-answer { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Contact + map ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: stretch; }
.contact-list { display: grid; gap: 22px; margin-top: 26px; }
.contact-list .way p { color: var(--text); }
.map-frame { border-radius: 22px; overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--white); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.volunteer-box { margin-top: 30px; background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.volunteer-box h3 { margin-bottom: 6px; }
.volunteer-box p { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-ink); color: var(--on-dark); padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; }
.footer-logo img { height: 46px; }
.site-footer p { font-size: .98rem; }
.site-footer h4 { color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.site-footer a.btn-donate, .site-footer a.btn-donate:hover { color: var(--teal-ink); }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero (About + programs) ---------- */
.page-hero, .program-hero { padding: clamp(44px, 7vw, 90px) 0; background: var(--paper); }
.page-hero .wrap, .program-hero .ph-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.crumbs { font-size: .95rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--teal); text-decoration: none; }
.program-hero h1, .page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.program-hero h2 { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--font-head); color: var(--teal); margin-top: 10px; }
.program-hero p, .page-hero p.lead { color: var(--muted); font-size: 1.15rem; margin-top: 16px; max-width: 36em; }
.program-hero .hero-buttons, .hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.program-hero .arch, .page-hero .arch { aspect-ratio: 4 / 4.6; max-width: 420px; justify-self: center; width: 100%; border: 10px solid var(--white); outline: 2px solid var(--sun); outline-offset: 8px; }
@media (max-width: 860px) {
  .page-hero .wrap, .program-hero .ph-wrap { grid-template-columns: 1fr; }
  .program-hero .arch, .page-hero .arch { max-width: 320px; }
}

/* =========================================================
   Program page building blocks (kept from original markup)
   ========================================================= */
.content-section, .programs-grid-section { padding: clamp(56px, 8vw, 96px) max(20px, calc((100% - var(--wrap)) / 2)); }
.content-section > .section-title, .programs-grid-section > .section-title { text-align: center; margin-bottom: 10px; }
.content-section > .section-title .divider, .programs-grid-section > .section-title .divider { margin-left: auto; margin-right: auto; }
.section-title { margin-bottom: 14px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; }
.divider { width: 64px; height: 4px; border-radius: 4px; background: var(--marigold); margin: 14px 0 22px; }
.divider.mx-auto, .text-center .divider { margin-left: auto; margin-right: auto; }
.intro-section .text-content { max-width: 820px; margin: 0 auto; text-align: center; }
.intro-section .text-content p { color: var(--muted); font-size: 1.12rem; }
.highlight-text, h3.highlight-text { display: inline-block; margin-top: 26px; background: var(--sun); color: var(--teal-ink); padding: 10px 22px; border-radius: 999px; font-size: 1.15rem; }

/* dark blocks become deep teal, light blocks become mint */
.bg-dark, .bg-black { background: var(--teal-ink); color: var(--on-dark); }
.bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-black h2, .bg-black h3 { color: #fff; }
.bg-light-gray { background: var(--teal-soft); }
.bg-yellow { background: var(--sun); color: var(--teal-ink); }
.bg-yellow h2, .bg-yellow h3 { color: var(--teal-ink); }
.divider.bg-black { background: var(--teal-ink); }
.divider.bg-yellow { background: var(--sun); }
.title-light { color: #fff; }
.text-white { color: #fff; }
.text-black { color: var(--teal-ink); }
.box-padding { padding: clamp(24px, 4vw, 44px); }
.rounded-lg { border-radius: 22px; }

.programs-grid-section .section-title, .programs-grid-section > h2 { text-align: center; }
.grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card, .premium-card { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.bg-dark .card, .bg-dark .premium-card { border-color: transparent; }
.card h3, .premium-card h3 { color: var(--teal-ink); margin: 10px 0 8px; font-size: 1.2rem; }
.card p, .premium-card p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.card .card-image { max-width: none; width: calc(100% + 52px); margin: -26px -26px 16px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px 20px 0 0; }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: var(--teal-soft); }
@media (max-width: 960px) { .grid-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid-container { grid-template-columns: 1fr; } }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.split-content { align-self: center; }
.split-content.box-padding { align-self: stretch; }
@media (max-width: 860px) { .split-section { grid-template-columns: 1fr; } }

.styled-list { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.styled-list li { position: relative; padding-left: 34px; }
.styled-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3B3F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.bg-yellow .styled-list li::before { background-color: var(--white); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: s; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: relative; }
.bg-dark .step-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.bg-dark .step-card p { color: var(--on-dark); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; font: 800 1.1rem var(--font-head); margin-bottom: 14px; }
.step-card h4 { margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: .97rem; line-height: 1.55; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 36px auto 0; }
.stat-item { border-top: 3px solid var(--sun); padding-top: 14px; text-align: left; }
.stat-item h3 { font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-head); color: var(--sun); }
.stat-item p { color: var(--on-dark); margin-top: 6px; }
.content-section:not(.bg-dark):not(.bg-black) .stat-item h3 { color: var(--teal-ink); }
.content-section:not(.bg-dark):not(.bg-black) .stat-item p { color: var(--muted); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-block { text-align: center; padding: clamp(60px, 8vw, 100px) 20px; background: var(--paper); }
.testimonial-block h2 { max-width: 760px; margin: 0 auto; }
.testimonial-block blockquote { font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.45 var(--font-head); color: var(--teal); max-width: 780px; margin: 0 auto 16px; }
.testimonial-block p { color: var(--muted); }

.cta-banner { background: var(--teal-ink); color: var(--on-dark); padding: clamp(60px, 8vw, 96px) 20px; text-align: center; position: relative; overflow: hidden; }
.cta-banner { border-top: 3px solid var(--marigold); }
.cta-banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: radial-gradient(circle at 10px 0, var(--marigold) 7px, transparent 7.5px) 0 0 / 20px 12px repeat-x; }
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { position: relative; margin-top: 12px; font-size: 1.15rem; }
.cta-banner .hero-buttons { justify-content: center; position: relative; }
.cta-banner .btn-secondary { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-banner .btn-secondary:hover { background: #fff; color: var(--teal-ink); }

/* ---------- About page extras ---------- */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mission-grid article { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.mission-grid h3 { margin-bottom: 8px; }
.mission-grid p { color: var(--muted); }
@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* =========================================================
   Video hero (story plays once and rests on the hopeful last frame)
   ========================================================= */
.video-hero { position: relative; background: #111; overflow: hidden; height: min(56.25vw, 860px); min-height: 480px; color: #fff; }
.vh-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 15%; }
.video-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.42) 32%, rgba(0,0,0,0) 56%); pointer-events: none; }
.vh-content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.vh-content h1 { color: #fff; max-width: 11ch; }
.vh-content .lead { color: var(--on-dark); font-size: 1.2rem; margin: 20px 0 10px; max-width: 32em; max-width: 30ch; }
.vh-content .hindi-line { color: var(--sun); font-size: 1.12rem; }
.vh-content .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.vh-content .btn-secondary { color: #fff; border-color: rgba(255,255,255,.75); }
.vh-content .btn-secondary:hover { background: #fff; color: var(--teal-ink); }
.vh-toggle { position: absolute; z-index: 2; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vh-toggle:hover { background: rgba(0,0,0,.6); }
.vh-toggle svg { width: 20px; height: 20px; display: none; }
.vh-toggle[data-state="playing"] .i-pause, .vh-toggle[data-state="paused"] .i-play, .vh-toggle[data-state="ended"] .i-replay { display: block; }

@media (max-width: 760px) {
  .video-hero { height: auto; aspect-ratio: 9 / 16; max-height: calc(100svh - 70px); min-height: 560px; }
  .vh-video { object-position: center 60%; }
  .video-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 30%, rgba(0,0,0,0) 50%); }
  .vh-content { align-items: flex-start; padding-top: 26px; }
  .vh-content h1 { font-size: 2.2rem; max-width: 14ch; }
  .vh-content .lead, .vh-content .hindi-line { display: none; }
  .vh-content .hero-actions { margin-top: 18px; gap: 10px; }
  .vh-content .btn { padding: 10px 20px; font-size: .98rem; }
  .vh-toggle { top: auto; bottom: 16px; left: 16px; right: auto; }
  .vh-content .btn-secondary { display: none; }
}
@media (max-width: 560px) { .topbar .tb-contact a[href^="mailto"] { display: none; } }


/* =========================================================
   Heart-style components
   ========================================================= */
/* buttons */
.btn-primary, .btn-donate { background: var(--marigold); color: #fff; }
.btn-primary:hover, .btn-donate:hover { background: var(--marigold-deep); color: #fff; }
.nav > li > a.btn-donate { background: var(--marigold); color: #fff; }
.nav > li > a.btn-donate:hover { background: var(--marigold-deep); }
.site-footer a.btn-donate, .site-footer a.btn-donate:hover { color: #fff; }
.btn-outline { background: transparent; color: var(--teal-ink); border-color: var(--teal-ink); }
.btn-outline:hover { background: var(--teal-ink); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost-light:hover { background: #fff; color: var(--teal-ink); }
.btn-lg { padding: 15px 32px; font-size: 1.08rem; }
.btn-sm { padding: 8px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
h1, h2, h3, h4 { letter-spacing: -.015em; }
h2 { font-weight: 800; }

.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--marigold); font: 700 1rem var(--font-head); margin-bottom: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--sun); border-radius: 2px; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 2px; background: var(--sun); border-radius: 2px; }
.cream { background: var(--teal-soft); }

/* top bar + header */
.topbar { background: var(--teal-ink); color: var(--on-dark); }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-note { color: var(--accent-on-dark); display: inline-flex; align-items: center; gap: 6px; }

/* video hero tweaks */
.vh-kicker { color: var(--accent-on-dark); font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.vh-content .lead { max-width: 34ch; }

/* cause cards with raised/goal slider */
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cause { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; }
.cause-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.cause-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cause:hover .cause-img img { transform: scale(1.05); }
.cause-tag { position: absolute; left: 16px; top: 16px; background: var(--marigold); color: #fff; font: 700 .82rem var(--font-head); padding: 5px 12px; border-radius: 999px; }
.cause-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cause-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cause-body h3 a { color: var(--teal-ink); text-decoration: none; }
.cause-body h3 a:hover { color: var(--marigold); }
.cause-body > p { color: var(--muted); font-size: 1rem; line-height: 1.55; flex: 1; margin-bottom: 18px; }
.progress { position: relative; height: 10px; background: var(--track); border-radius: 999px; margin: 26px 0 12px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--marigold), var(--sun)); border-radius: 999px; transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
.progress .pct { position: absolute; top: -28px; left: 0; transform: translateX(-4px); background: var(--teal-ink); color: #fff; font: 700 .75rem var(--font-head); padding: 2px 8px; border-radius: 6px; transition: left 1.3s cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
.progress-lg { height: 14px; }
.raised-row { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; color: var(--muted); }
.raised-row strong { color: var(--teal-ink); font-family: var(--font-head); }
.cause-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.cause-foot .count { color: var(--muted); font-size: .93rem; }
.blood-note { display: flex; gap: 10px; align-items: flex-start; background: var(--accent-soft); color: var(--marigold-deep); border-radius: 12px; padding: 12px 14px; font-size: .95rem; line-height: 1.45; }
.blood-note svg { flex: none; margin-top: 2px; }
@media (max-width: 1000px) { .cause-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cause-grid { grid-template-columns: 1fr; } }

/* stats band */
.stats-band { background: var(--teal-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M80 118s-34-19.5-34-43a19 19 0 0 1 34-11.7A19 19 0 0 1 114 75c0 23.5-34 43-34 43z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2'/%3E%3C/svg%3E") ; padding: 70px 0; }
.stats-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-grid-home strong { display: block; font: 800 clamp(2.4rem, 4.5vw, 3.4rem)/1 var(--font-head); color: #fff; }
.stats-grid-home span { display: block; color: var(--accent-on-dark); margin-top: 8px; font-weight: 600; }
@media (max-width: 700px) { .stats-grid-home { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } }

/* donate section */
.donate-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: 30px; align-items: start; }
.donate-form { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); position: relative; }
.donate-form fieldset { border: 0; margin-bottom: 26px; }
.donate-form legend { font: 800 1.12rem var(--font-head); color: var(--teal-ink); margin-bottom: 12px; }
.donate-form select, .donate-form input, .donate-form textarea {
  width: 100%; font: 500 1.05rem var(--font-body); color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.donate-form select:focus, .donate-form input:focus, .donate-form textarea:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 4px var(--accent-soft); }
.donate-form .is-invalid { border-color: #C0392B !important; background: #FFF6F5; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.amt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 6px; font: 700 1.05rem var(--font-head); color: var(--teal-ink); cursor: pointer; transition: .15s; }
.amt:hover { border-color: var(--marigold); }
.amt.is-on { background: var(--marigold); border-color: var(--marigold); color: #fff; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; margin-bottom: 6px; color: var(--teal-ink); }
.field b { color: var(--marigold); }
.field small { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hint { font-size: .9rem; color: var(--muted); margin: -6px 0 12px; }
.address-wrap { animation: open .3s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.form-error { background: #FFF1EF; color: #A52A1A; border: 1px solid #F5C6BE; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.secure { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 14px; }
.secure svg { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.thanks { position: absolute; inset: 0; background: #fff; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 10px; }
.thanks[hidden] { display: none; }
.thanks-ico { width: 68px; height: 68px; border-radius: 50%; background: #E6F6EC; color: #1E8449; display: grid; place-items: center; margin-bottom: 6px; }
.thanks code { background: var(--teal-soft); padding: 2px 8px; border-radius: 6px; font-size: .95rem; }
.thanks p { color: var(--muted); max-width: 40ch; }
@media (max-width: 960px) { .donate-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .amounts { grid-template-columns: repeat(2, 1fr); } .field-row { grid-template-columns: 1fr; } }

.donate-side { display: grid; gap: 20px; }
.goal-card, .bank-card, .offline-card { background: #fff; border-radius: 20px; padding: 26px; border: 1px solid var(--line); }
.goal-card { background: var(--teal-ink); color: var(--on-dark); border: 0; }
.goal-card h3 { color: #fff; }
.goal-card .goal-figures { margin: 16px 0 4px; display: block; }
.goal-card .goal-figures strong { display: block; color: #fff; font: 800 2.3rem/1.1 var(--font-head); }
.goal-card .goal-figures span { color: var(--on-dark); }
.goal-card .goal-figures b { color: #fff; }
.goal-card .progress { background: rgba(255,255,255,.14); margin-top: 38px; }
.goal-card .progress .pct { background: #fff; color: var(--teal-ink); }
.goal-card .goal-note { color: var(--on-dark); margin-top: 10px; }
.bank-card h3, .offline-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; }
.bank-card h3 svg, .offline-card h3 svg { color: var(--marigold); }
.bank-card .pay-rows { margin-bottom: 16px; }
.bank-card .pay-rows div { border-bottom: 1px solid var(--line); }
.bank-card .pay-rows dt { color: var(--muted); }
.bank-card .pay-rows dd { color: var(--teal-ink); }
.bank-card .copy-btn { color: var(--marigold); border-color: var(--line); }
.offline-card p { color: var(--muted); font-size: .98rem; }

/* founder / team tweaks */
.message .arch { background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); border: 0; outline: 0; box-shadow: var(--shadow); }
.message .arch img { object-position: center top; }
.message .quote { margin-top: 6px; }
.message .text-link { display: inline-block; margin-top: 18px; }
.team-grid img { border: 5px solid #fff; box-shadow: 0 0 0 2px var(--sun); }

/* FAQ + contact */
.faq summary::after, .faq-item summary::after { color: var(--marigold); }
.cream .faq details { background: #fff; }
.volunteer-box { background: var(--teal-soft); border: 0; }
.way .ico { background: var(--accent-soft); color: var(--marigold); }

/* footer */
.f-reg { display: flex; gap: 8px; align-items: center; color: var(--accent-on-dark); margin-top: 14px; font-size: .92rem; }
.footer-logo { background: #fff; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* gallery (mosaic) */
.gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 12px; grid-auto-flow: dense; }
.gallery button { aspect-ratio: auto; border-radius: 14px; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* program page accents */
.bg-yellow, .split-content.bg-yellow { background: var(--accent-soft); color: var(--text); }
.bg-yellow h2, .bg-yellow h3 { color: var(--teal-ink); }
.highlight-text, h3.highlight-text { background: var(--accent-soft); color: var(--marigold-deep); }
.step-num { color: #fff; }
.styled-list li::before { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D2412D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.bg-yellow .styled-list li::before { background-color: #fff; }
.program-hero .arch, .page-hero .arch { outline-color: var(--sun); }
.hero-goal { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px 14px; margin-top: 26px; max-width: 460px; box-shadow: none; }
.hero-goal .count { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.cta-banner { background: var(--teal-ink); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: var(--on-dark); }
.cta-banner::before { background: radial-gradient(circle at 10px 0, var(--sun) 7px, transparent 7.5px) 0 0 / 20px 12px repeat-x; }
.mission-grid .m-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--marigold); display: grid; place-items: center; margin-bottom: 16px; }

/* legal pages */
.legal { padding: clamp(40px, 7vw, 80px) 0; }
.legal-wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.35rem; margin: 30px 0 10px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }
.legal p, .legal li { color: var(--text); }

/* documents: compact, open on tap */
.docs-compact { padding: clamp(48px, 7vw, 80px) 0; }
.docs-box { display: grid; grid-template-columns: .9fr 1.5fr; gap: 30px; align-items: center; background: var(--teal-soft); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.docs-intro { display: flex; gap: 16px; align-items: flex-start; }
.docs-ico { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--marigold); display: grid; place-items: center; }
.docs-intro h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.docs-intro p { color: var(--muted); font-size: 1rem; }
.doc-btns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.doc-btn { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--teal-ink); transition: border-color .2s, transform .2s; }
.doc-btn svg { flex: none; color: var(--marigold); }
.doc-btn strong { display: block; font: 700 1rem var(--font-head); line-height: 1.25; }
.doc-btn small { color: var(--muted); font-size: .88rem; }
.doc-btns .doc-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
.doc-btn:hover { border-color: var(--marigold); transform: translateY(-2px); }
@media (max-width: 860px) { .docs-box { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .doc-btns { grid-template-columns: 1fr; } }

.doc-dialog { margin: auto; border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 30px 70px -20px rgba(0,0,0,.5); }
.doc-dialog::backdrop { background: rgba(20, 22, 30, .7); }
.dd-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--teal-ink); }
.dd-preview { background: #EEF3F8; padding: 24px 24px 0; max-height: 380px; overflow: hidden; }
.dd-preview img { width: 100%; border-radius: 4px; box-shadow: 0 8px 22px -10px rgba(0,0,0,.35); }
.dd-body { padding: 20px 24px 24px; }
.dd-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.dd-body p { color: var(--muted); margin-bottom: 16px; }
@media (max-width: 960px) { .topbar .tb-note { display: none; } }
@media (max-width: 760px) { .vh-content .btn-ghost-light { display: none; } }

/* hero media wrapper + fallback slideshow (used when the browser blocks autoplay) */
.vh-media { position: absolute; inset: 0; }
.vh-slides { position: absolute; inset: 0; }
.vh-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 15%; opacity: 0; transition: opacity 1.1s ease; }
.vh-slides img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .vh-slides img { transition: none; } }

@media (max-width: 760px) {
  .video-hero { height: auto; aspect-ratio: auto; max-height: none; min-height: 0; background: var(--teal-ink); }
  .vh-media { position: relative; aspect-ratio: 1 / 1; }
  .vh-video, .vh-slides img { object-position: center; }
  .video-hero::after { display: none; }
  .vh-content { position: static; padding: 26px 0 34px; }
  .vh-content h1 { font-size: 2.1rem; max-width: 16ch; }
  .vh-content .lead { display: block; font-size: 1.05rem; margin: 12px 0 0; }
  .vh-content .hindi-line { display: none; }
  .vh-content .hero-actions { margin-top: 20px; }
  .vh-content .btn-ghost-light { display: inline-flex; }
  .vh-toggle { top: auto; bottom: 12px; left: 12px; right: auto; }
}

/* our story video */
.story-player { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #111; box-shadow: var(--shadow); }
.story-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: rgba(17,17,17,.88); color: #fff; font: 700 1rem var(--font-head); cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.story-sound:hover { background: var(--marigold); }
.story-sound[hidden], .story-play[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .story-sound { animation: nudge 2.4s ease-in-out infinite; }
  @keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(252,176,4,.6); } 50% { box-shadow: 0 0 0 10px rgba(252,176,4,0); } }
}
.story-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; color: var(--marigold); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 40px -12px rgba(0,0,0,.55); }
.story-play svg { margin-left: 5px; }
.story-play:hover { background: var(--marigold); color: #fff; }
@media (max-width: 560px) { .story-player { border-radius: 14px; } .story-play { width: 66px; height: 66px; } .story-sound { left: 10px; bottom: 10px; padding: 9px 14px; font-size: .92rem; } }


/* =========================================================
   Yellow / black theme: text on yellow is black, small accents use dark gold
   ========================================================= */
.btn-primary, .btn-donate, .nav > li > a.btn-donate, .site-footer a.btn-donate { background: var(--marigold); color: var(--on-accent); }
.btn-primary:hover, .btn-donate:hover, .nav > li > a.btn-donate:hover, .site-footer a.btn-donate:hover { background: var(--teal-ink); color: var(--marigold); }
.site-footer a.btn-donate:hover { background: #fff; color: var(--teal-ink); }
.cause-tag { background: var(--marigold); color: var(--on-accent); }
.amt.is-on { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.amt:hover, .doc-btn:hover { border-color: var(--teal-ink); }
.step-num { color: var(--on-accent); }
.kicker { color: var(--teal-ink); letter-spacing: .01em; }
.cause-body h3 a:hover { color: var(--accent-ink); }
.field b { color: var(--accent-ink); }
.bank-card .copy-btn { color: var(--teal-ink); }
.faq summary::after, .faq-item summary::after { color: var(--teal-ink); }
.way .ico, .mission-grid .m-ico, .docs-ico, .bank-card h3 svg, .offline-card h3 svg, .doc-btn svg { color: var(--accent-ink); }
.story-sound:hover { background: var(--marigold); color: var(--on-accent); }
.story-play { color: var(--teal-ink); }
.story-play:hover { background: var(--marigold); color: var(--on-accent); }
.lb-btn:hover { color: var(--on-accent); }
.text-link { border-bottom-color: var(--marigold); color: var(--teal-ink); }
.highlight-text, h3.highlight-text { background: var(--accent-soft); color: var(--teal-ink); }
.styled-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.progress i { background: var(--marigold); }
.donate-form select:focus, .donate-form input:focus, .donate-form textarea:focus { border-color: var(--teal-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.stats-grid-home span { color: var(--marigold); }
.program-hero .arch, .page-hero .arch { outline-color: var(--marigold); }
.team-grid img { box-shadow: 0 0 0 2px var(--marigold); }
.site-header { background: rgba(255,255,255,.97); }
.blood-note { color: var(--accent-ink); }

/* =========================================================
   Food Programs page
   ========================================================= */
.fp-hero { position: relative; overflow: hidden; background: #fff; min-height: 560px; display: flex; align-items: center; }
.fp-hero::before { content: ""; position: absolute; left: -120px; top: -140px; width: 420px; height: 300px; border-radius: 50%; background: var(--accent-soft); }
.fp-hero::after { content: ""; position: absolute; left: -90px; bottom: -120px; width: 360px; height: 220px; border-radius: 50%; background: var(--marigold); opacity: .9; }
.fp-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
.fp-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.fp-hero-inner { position: relative; z-index: 1; padding: 60px 0 70px; }
.fp-hero-text { max-width: 520px; }
.fp-kicker { display: inline-block; font: 700 .95rem var(--font-head); letter-spacing: .32em; text-transform: uppercase; color: var(--teal-ink); padding-bottom: 8px; border-bottom: 5px solid var(--marigold); border-radius: 2px; margin-bottom: 14px; }
.fp-hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fp-hero h1 em { font-style: normal; color: var(--marigold); }
.fp-lead { font-size: 1.25rem; color: var(--teal); margin: 18px 0 26px; max-width: 30ch; }
.fp-hero-icons { display: flex; gap: 0; margin-bottom: 30px; }
.fp-hero-icons div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font: 700 .95rem/1.2 var(--font-head); color: var(--teal-ink); padding: 0 22px; border-left: 1px solid var(--line); }
.fp-hero-icons div:first-child { padding-left: 0; border-left: 0; }
.fp-hero-icons span { width: 58px; height: 58px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; }
.fp-hero .btn { gap: 10px; }
@media (max-width: 900px) {
  .fp-hero { display: block; min-height: 0; }
  .fp-hero-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .fp-hero-photo img { -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 75%, transparent 100%); object-position: center; }
  .fp-hero::before { display: none; }
  .fp-hero::after { width: 240px; height: 150px; bottom: -90px; }
  .fp-hero-inner { padding: 6px 0 56px; }
  .fp-hero-icons div { padding: 0 14px; font-size: .85rem; }
  .fp-hero-icons span { width: 50px; height: 50px; }
}

.fp-why-grid { display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 34px; align-items: center; }
.fp-why-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.fp-why-text h2 { margin-bottom: 14px; }
.fp-why-text p { color: var(--muted); }
.fp-why-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #F3E3B0; border-radius: 20px; overflow: hidden; border: 1px solid #F3E3B0; }
.fp-why-tiles div { background: var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 22px 12px; font: 700 .98rem/1.25 var(--font-head); color: var(--teal-ink); }
.fp-why-tiles svg { color: var(--accent-ink); }
.fp-why-tiles .wide { grid-column: 1 / -1; }
@media (max-width: 1000px) { .fp-why-grid { grid-template-columns: 1fr 1fr; } .fp-why-tiles { grid-column: 1 / -1; grid-template-columns: repeat(5, 1fr); } .fp-why-tiles .wide { grid-column: auto; } }
@media (max-width: 640px) { .fp-why-grid { grid-template-columns: 1fr; } .fp-why-tiles { grid-template-columns: repeat(2, 1fr); } .fp-why-tiles .wide { grid-column: 1 / -1; } }

.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fp-card { position: relative; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.fp-card:hover { transform: translateY(-4px); }
.fp-img { aspect-ratio: 16 / 10; overflow: hidden; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fp-card:hover .fp-img img { transform: scale(1.05); }
.fp-card .fp-ico { position: relative; left: 20px; top: -30px; margin-bottom: -30px; width: 60px; height: 60px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; border: 4px solid #fff; }
.fp-body { position: relative; padding: 12px 64px 24px 22px; flex: 1; }
.fp-body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.fp-body p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.fp-go { position: absolute; right: 18px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.fp-go:hover { background: var(--teal-ink); color: var(--marigold); }
@media (max-width: 1000px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fp-grid { grid-template-columns: 1fr; } }

.fp-impact { background: var(--teal-ink); padding: 42px 0; }
.fp-impact-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 30px; align-items: center; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.fp-impact-item { border-left: 3px solid var(--marigold); padding-left: 16px; }
.fp-impact-item strong { display: block; font: 800 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--font-head); color: #fff; }
.fp-impact-item span { color: var(--on-dark); }
.fp-impact-bar .progress { background: rgba(255,255,255,.14); margin: 34px 0 0; }
.fp-impact-bar .progress .pct { background: #fff; color: var(--teal-ink); }
@media (max-width: 800px) { .fp-impact-grid { grid-template-columns: 1fr 1fr; } .fp-impact-bar { grid-column: 1 / -1; } }

.fp-donate { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: stretch; }
.fp-donate-left { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.fp-change { background: var(--teal-ink) url("img/prog-food.webp") center / cover; position: relative; color: #fff; padding: 28px 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.fp-change::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.88) 70%); }
.fp-change > * { position: relative; }
.fp-change-title { font: 800 1.75rem/1.15 var(--font-head); margin-bottom: 12px; }
.fp-change-title em { font-style: normal; color: var(--marigold); display: block; }
.fp-change p:last-child { color: #E4E4E4; font-size: .98rem; }
.fp-amount-box { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; }
.fp-amount-box h2, .fp-form h2 { font-size: 1.4rem; margin-bottom: 4px; }
.fp-sub { color: var(--muted); margin-bottom: 18px; font-size: .98rem; }
.fp-amount-box .amounts { grid-template-columns: repeat(2, 1fr); }
.fp-amount-box input { width: 100%; font: 500 1.05rem var(--font-body); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fp-amount-box input:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.fp-total { background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; font: 700 1.05rem var(--font-head); display: flex; justify-content: space-between; align-items: center; margin: 4px 0 18px; }
.fp-total strong { font-size: 1.5rem; }
.fp-amount-box .btn { margin-top: auto; gap: 10px; }
.fp-form { border: 1px solid var(--line); }
.fp-form .field-row { gap: 14px; }
@media (max-width: 1100px) { .fp-donate { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fp-donate-left { grid-template-columns: 1fr; } .fp-change { min-height: 220px; } }

.fp-gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.fp-gal-head .section-head { margin-bottom: 28px; }
.fp-gal-nav { display: flex; gap: 10px; margin-bottom: 30px; }
.fp-gal-btn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal-ink); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--teal-ink); }
.fp-gal-btn:hover { background: var(--marigold); border-color: var(--marigold); }
.fg-viewport { overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; }
.fg-viewport::-webkit-scrollbar { display: none; }
.fg-track { display: flex; gap: 16px; width: max-content; padding-left: max(20px, calc((100% - var(--wrap)) / 2)); }
.fg-item { position: relative; flex: none; width: clamp(240px, 26vw, 340px); aspect-ratio: 3 / 2; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--track); }
.fg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fg-item:hover img { transform: scale(1.05); }
.fg-zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; }

.zoombox { position: fixed; inset: 0; z-index: 120; background: rgba(10,10,10,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.zoombox[hidden] { display: none; }
.zb-stage { width: min(1200px, 100%); height: min(76vh, 760px); overflow: hidden; display: grid; place-items: center; touch-action: none; }
.zb-stage img { max-width: 100%; max-height: 100%; border-radius: 10px; transition: transform .25s ease; user-select: none; -webkit-user-drag: none; }
.zb-stage.zoomed { cursor: grab; }
.zb-stage.zoomed img { transition: none; }
.zb-cap { color: #fff; margin: 12px 0; font-family: var(--font-head); text-align: center; }
.zb-tools { display: flex; gap: 8px; }
.zb-tools button, .zb-close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; display: grid; place-items: center; cursor: pointer; }
.zb-tools button:hover, .zb-close:hover { background: var(--marigold); color: var(--teal-ink); }
.zb-close { position: absolute; right: 18px; top: 18px; }
.fp-amount-box .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }

/* =========================================================
   Education Programs page
   ========================================================= */
.fp-hero-icons-4 div { padding: 0 16px; }
.fp-hero-icons-4 span { width: 54px; height: 54px; }
@media (max-width: 520px) { .fp-hero-icons-4 { flex-wrap: wrap; row-gap: 16px; } .fp-hero-icons-4 div { width: 50%; border-left: 0; padding: 0 6px; } }
.fp-img-icon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--accent-soft) 0 14px, #FFF9E8 14px 28px); color: var(--accent-ink); }

/* Islamic education: deep green + gold, matching the client's artwork */
.isl-band { --isl-green: #0F4A37; --isl-gold: #B8892E; --isl-cream: #FBF7EE; background: var(--isl-cream); padding-bottom: clamp(56px, 8vw, 96px); }
.isl-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #FFF8EA 0%, #FBF1DC 100%); min-height: 380px; display: flex; align-items: center; border-bottom: 3px solid var(--isl-gold); }
.isl-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.isl-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%); mask-image: linear-gradient(90deg, transparent 0%, #000 25%); }
.isl-hero-inner { position: relative; z-index: 1; padding: 50px 0; }
.isl-hero-text { max-width: 480px; }
.isl-moon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--isl-gold); color: var(--isl-gold); margin-bottom: 14px; }
.isl-hero h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--isl-green); line-height: 1.05; letter-spacing: -.01em; }
.isl-hero h2 em { display: block; font-style: normal; color: var(--isl-gold); font-size: .72em; margin-top: 4px; }
.isl-hero p { margin-top: 14px; color: var(--isl-green); font-weight: 600; }
.isl-hero p span { color: var(--isl-gold); margin: 0 6px; }
.isl-cards { margin-top: clamp(40px, 6vw, 64px); }
.isl-band .fp-card { box-shadow: 0 1px 0 #EFE4CC, 0 18px 40px -28px rgba(15,74,55,.4); }
.isl-band .fp-card .fp-ico { background: var(--isl-green); color: #F3E3B8; }
.isl-band .fp-go { background: var(--isl-green); color: #F3E3B8; }
.isl-band .fp-go:hover { background: var(--isl-gold); color: #fff; }
.isl-band .fp-img-icon { background: repeating-linear-gradient(135deg, #EEF4EF 0 14px, #F7FAF6 14px 28px); color: var(--isl-green); }
@media (max-width: 900px) {
  .isl-hero { display: block; min-height: 0; }
  .isl-hero-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .isl-hero-photo img { -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, #000 75%, transparent 100%); }
  .isl-hero-inner { padding: 4px 0 34px; }
}

/* education donation */
.edu-donate { display: grid; grid-template-columns: .95fr 1.1fr; gap: 26px; align-items: stretch; }
.edu-impact { background: var(--teal-ink); color: var(--on-dark); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); overflow: visible; display: flex; flex-direction: column; }
.edu-impact h2 { color: #fff; margin-bottom: 22px; }
.kicker-light { color: #fff; }
.edu-total-label { color: var(--on-dark); font-size: .98rem; }
.edu-total { display: block; font: 800 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--font-head); color: var(--marigold); margin: 4px 0; }
.edu-count { color: var(--on-dark); font-size: .95rem; }
.edu-impact .progress { background: rgba(255,255,255,.14); margin-top: 38px; }
.edu-impact .progress .pct { background: #fff; color: var(--teal-ink); }
.edu-goal { font-size: .92rem; margin-top: 8px; }
.edu-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.edu-tiles div { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 16px; }
.edu-tiles div[hidden] { display: none; }
.edu-tiles strong { display: block; font: 800 1.6rem var(--font-head); color: #fff; }
.edu-tiles span { font-size: .9rem; }
.edu-impact blockquote { margin-top: auto; padding-left: 16px; border-left: 3px solid var(--marigold); color: #E8E8E8; font-size: 1.02rem; font-style: italic; }
#edu-form .amounts { margin-bottom: 10px; }
#edu-form #e-custom { width: 100%; }
#edu-form .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }
@media (max-width: 1000px) { .edu-donate { grid-template-columns: 1fr; } }
.fp-why-img img { height: auto; }

.edu-impact-img { flex: 1; min-height: 180px; margin: 6px 0 22px; border-radius: 14px; overflow: hidden; }
.edu-impact-img img { width: 100%; height: 100%; object-fit: cover; }
.edu-impact blockquote { margin-top: 0; }

/* =========================================================
   Cloth & Essential Items page
   ========================================================= */
.fp-hero h1.h1-long { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.fp-hero h1.h1-long em { display: block; }
.cloth-note { color: var(--on-dark); font-size: .95rem; margin-bottom: 14px; }
.items-box { margin-top: 26px; padding: 20px; border: 1.5px dashed var(--line); border-radius: 16px; background: var(--teal-soft); }
.items-box legend { font: 800 1.08rem var(--font-head); color: var(--teal-ink); padding: 0 6px; }
.items-box .fp-sub { margin-bottom: 12px; }
.chk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.chk { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; color: var(--teal-ink); }
.chk input { width: 18px; height: 18px; accent-color: var(--teal-ink); flex: none; }
.chk:has(input:checked) { border-color: var(--teal-ink); background: var(--accent-soft); }
.items-box .btn { gap: 8px; }
#cloth-form .amounts { margin-bottom: 10px; }
#cloth-form #c-custom { width: 100%; }
#cloth-form .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }
@media (max-width: 420px) { .chk-grid { grid-template-columns: 1fr; } }

/* Healthcare page */
.health-disclaimer { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--teal-soft); color: var(--muted); font-size: .88rem; line-height: 1.5; }
#health-form .amounts { margin-bottom: 10px; }
#health-form #h-custom { width: 100%; }
#health-form .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }
.health-page .fp-hero-photo img { object-position: 40% center; }
/* Environment page */
#env-form .amounts { margin-bottom: 10px; }
#env-form #v-custom { width: 100%; }
#env-form .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }

/* program cards: centre an incomplete last row on desktop */
@media (min-width: 1001px) {
  .fp-grid { grid-template-columns: repeat(6, 1fr); }
  .fp-grid > .fp-card { grid-column: span 2; }
  .fp-grid > .fp-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .fp-grid > .fp-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}

/* shared: program-page forms */
.fp-form .custom-amt { width: 100%; }
.fp-form .amounts { margin-bottom: 10px; }
.fp-form .amt.is-on { background: var(--marigold); border-color: var(--marigold); color: var(--on-accent); }

/* Skill Development page */
.skill-intro { background: var(--teal-ink); color: var(--on-dark); padding: clamp(40px, 6vw, 64px) 0; }
.skill-intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.skill-intro-text { font-size: 1.1rem; line-height: 1.7; }
.skill-quote { font: 700 clamp(1.4rem, 2.6vw, 1.9rem)/1.35 var(--font-head); color: #fff; border-left: 4px solid var(--marigold); padding-left: 20px; }
.skill-quote span { color: var(--on-dark); font-weight: 600; }
.skill-quote em { font-style: normal; color: var(--marigold); display: block; }
@media (max-width: 860px) { .skill-intro-grid { grid-template-columns: 1fr; } }
.skill-why { display: grid; grid-template-columns: .9fr 1.2fr 1fr; gap: 34px; align-items: start; }
.skill-focus { background: var(--accent-soft); border-radius: 20px; padding: 24px; }
.skill-focus h3 { margin-bottom: 4px; }
.skill-focus .styled-list { gap: 8px; }
.skill-focus .styled-list li { font-size: .97rem; line-height: 1.45; }
.skill-focus .styled-list li::before { background-color: #fff; }
@media (max-width: 1000px) { .skill-why { grid-template-columns: 1fr 1fr; } .skill-focus { grid-column: 1 / -1; } }
@media (max-width: 640px) { .skill-why { grid-template-columns: 1fr; } }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: c; }
.course { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.course-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; }
.course-no { font: 800 2.2rem/1 var(--font-head); color: var(--track); }
.course h3 { font-size: 1.18rem; margin-bottom: 6px; }
.course > p { color: var(--muted); font-size: .97rem; line-height: 1.5; margin-bottom: 14px; }
.course-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; flex: 1; align-content: flex-start; }
.course-topics li { font-size: .82rem; font-weight: 600; background: var(--teal-soft); border: 1px solid var(--line); color: var(--teal); border-radius: 999px; padding: 4px 10px; }
.course-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-ink); text-decoration: none; border-top: 1px solid var(--line); padding-top: 14px; }
.course-go:hover { color: var(--accent-ink); }
@media (max-width: 1000px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .course-grid { grid-template-columns: 1fr; } }
.who-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.who-chips li { background: var(--teal-ink); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.who-chips li::before { content: "✓"; color: var(--marigold); margin-right: 8px; font-weight: 800; }
.who-note { text-align: center; color: var(--muted); margin-top: 18px; font-size: .95rem; }
.support-title { color: #fff; font-size: 1.05rem; margin: 18px 0 10px; }
.support-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.support-list li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 12px; font-size: .88rem; color: #E8E8E8; }
.edu-tiles div:only-child { grid-column: 1 / -1; }
.skill-page .fp-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }

/* =========================================================
   About · Contact · Gallery pages
   ========================================================= */

/* ---------- About: story ---------- */
.ab-story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ab-story-media { position: relative; padding: 0 0 60px 0; }
.ab-ph { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--teal-soft); }
.ab-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-ph-main { aspect-ratio: 4 / 3.4; width: 86%; }
.ab-ph-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--white); }
.ab-badge { position: absolute; left: 22px; bottom: 18px; background: var(--teal-ink); color: #fff; border-radius: 18px; padding: 16px 22px; box-shadow: var(--shadow); }
.ab-badge strong { display: block; font: 800 2.2rem/1 var(--font-head); color: var(--marigold); }
.ab-badge span { font-size: .95rem; color: var(--on-dark); }
.ab-story h2 { margin: 6px 0 18px; }
.ab-lead { font-size: 1.18rem; color: var(--teal-ink); margin-bottom: 14px; }
.ab-story p { color: var(--muted); }
.ab-story .ab-lead { color: var(--text); }
.ab-checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 24px 0 4px; }
.ab-checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--teal-ink); line-height: 1.4; }
.ab-checks svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); margin-top: 1px; }
@media (max-width: 900px) { .ab-story .wrap { grid-template-columns: 1fr; } .ab-story-media { max-width: 560px; } }
@media (max-width: 560px) { .ab-checks { grid-template-columns: 1fr; } }

/* ---------- About: vision + values ---------- */
.ab-vision { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.ab-vision-card { background: var(--teal-ink); color: var(--on-dark); border-radius: 24px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.ab-vision-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid var(--marigold); opacity: .18; }
.ab-vision-card .kicker { color: var(--marigold); }
.ab-vision-card h2 { color: #fff; margin: 8px 0 14px; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.ab-vico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--marigold); color: var(--teal-ink); margin-bottom: 18px; }
.ab-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ab-values article { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; transition: border-color .2s, transform .2s; }
.ab-values article:hover { border-color: var(--marigold); transform: translateY(-3px); }
.ab-values article > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 14px; }
.ab-values h3 { font-size: 1.15rem; margin-bottom: 4px; }
.ab-values p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
@media (max-width: 900px) { .ab-vision { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ab-values { grid-template-columns: 1fr; } }

/* ---------- About: programs overview ---------- */
.ab-prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-prog { display: grid; grid-template-columns: 116px 1fr; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 12px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ab-prog:hover { border-color: var(--marigold); transform: translateY(-3px); box-shadow: var(--shadow); }
.ab-prog-img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--teal-soft); }
.ab-prog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ab-prog:hover .ab-prog-img img { transform: scale(1.06); }
.ab-prog-body strong { display: block; font: 700 1.1rem/1.25 var(--font-head); color: var(--teal-ink); }
.ab-prog-body small { display: block; color: var(--muted); font-size: .93rem; line-height: 1.45; margin: 4px 0 8px; }
.ab-prog-body em { font-style: normal; font: 700 .9rem var(--font-head); color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1024px) { .ab-prog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ab-prog-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ct-hero .btn svg { vertical-align: -3px; margin-right: 4px; }
.ct-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ct-card { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ct-card:hover { border-color: var(--marigold); transform: translateY(-4px); box-shadow: var(--shadow); }
.ct-ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--marigold); color: var(--teal-ink); margin-bottom: 12px; }
.ct-card strong { font: 700 1.15rem var(--font-head); color: var(--teal-ink); }
.ct-val { color: var(--muted); font-size: .98rem; word-break: break-word; flex: 1; }
.ct-card em, .ct-link { font-style: normal; font: 700 .95rem var(--font-head); color: var(--teal-ink); display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; text-decoration: none; }
.ct-card em { border-top: 1px solid var(--line); padding-top: 12px; }
.ct-link:hover, .ct-card:hover em { color: var(--accent-ink); }
.ct-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.ct-form h2 { margin: 6px 0 4px; }
.ct-form .fp-sub { color: var(--muted); margin-bottom: 22px; }
.ct-form textarea { resize: vertical; min-height: 130px; }
.ct-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ct-actions .btn { flex: 1 1 200px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; }
.ct-side { display: grid; gap: 18px; }
.ct-side .map-frame, .ct-side .map-frame iframe { min-height: 300px; }
.ct-address, .ct-bank { background: var(--teal-soft); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ct-address { display: grid; grid-template-columns: 50px 1fr; gap: 14px; }
.ct-address .ct-ico, .ct-bank .ct-ico { margin: 0; }
.ct-address h3, .ct-bank h3 { font-size: 1.1rem; margin-bottom: 4px; }
.ct-address p, .ct-bank p { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.ct-address .ct-link { margin-top: 8px; }
.ct-bank-head { display: grid; grid-template-columns: 50px 1fr; gap: 14px; margin-bottom: 14px; }
.ct-bank dl { background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.ct-bank dl > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.ct-bank dl > div:last-child { border-bottom: 0; }
.ct-bank dt { color: var(--muted); font-size: .92rem; }
.ct-bank dd { font: 700 1rem var(--font-head); color: var(--teal-ink); display: flex; align-items: center; gap: 8px; text-align: right; }
.ct-copy { border: 1px solid var(--line); background: var(--white); border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; color: var(--teal); transition: .15s; }
.ct-copy:hover { border-color: var(--marigold); color: var(--teal-ink); }
.ct-copy.is-done { background: var(--marigold); border-color: var(--marigold); color: var(--teal-ink); }
.ct-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ct-way { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.ct-way h3 { margin-bottom: 6px; }
.ct-way p { color: var(--muted); }
@media (max-width: 1024px) { .ct-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .ct-grid, .ct-ways { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ct-cards { grid-template-columns: 1fr 1fr; gap: 12px; } .ct-card { padding: 16px; } .ct-card .ct-ico { width: 42px; height: 42px; } .ct-val { font-size: .85rem; } .ct-card strong { font-size: 1.02rem; } }

/* ---------- Gallery ---------- */
.gp-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); text-align: center; background: var(--teal-soft); position: relative; overflow: hidden; }
.gp-hero::before, .gp-hero::after { content: ""; position: absolute; border-radius: 50%; border: 26px solid var(--marigold); opacity: .14; }
.gp-hero::before { width: 260px; height: 260px; left: -90px; top: -90px; }
.gp-hero::after { width: 200px; height: 200px; right: -60px; bottom: -80px; }
.gp-hero .wrap { position: relative; z-index: 1; }
.gp-hero .kicker { justify-content: center; }
.gp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 8px 0 12px; }
.gp-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin: 0 auto; }
.gp-stats { display: inline-flex; gap: clamp(20px, 5vw, 56px); margin-top: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 14px clamp(24px, 5vw, 44px); }
.gp-stats strong { display: block; font: 800 1.8rem/1 var(--font-head); color: var(--teal-ink); }
.gp-stats span { font-size: .9rem; color: var(--muted); }
.gp-sec { padding-top: clamp(32px, 5vw, 56px); }
.gp-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.gp-tab { border: 1.5px solid var(--line); background: var(--white); color: var(--teal-ink); border-radius: 999px; padding: 9px 18px; font: 700 .98rem var(--font-head); cursor: pointer; transition: .15s; display: inline-flex; align-items: center; gap: 8px; }
.gp-tab span { font-size: .78rem; background: var(--teal-soft); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
.gp-tab:hover { border-color: var(--teal-ink); }
.gp-tab.is-on { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.gp-tab.is-on span { background: var(--marigold); color: var(--teal-ink); }
.gp-grid { columns: 4 240px; column-gap: 16px; }
.gp-item { display: block; width: 100%; break-inside: avoid; margin: 0 0 16px; border: 0; padding: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; position: relative; background: var(--teal-soft); animation: gpIn .4s ease both; }
.gp-item[hidden] { display: none; }
.gp-item img { width: 100%; height: auto; display: block; transition: transform .6s; }
.gp-item:hover img, .gp-item:focus-visible img { transform: scale(1.06); }
.gp-cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; text-align: left; color: #fff; font: 600 .95rem/1.35 var(--font-body); background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0)); opacity: 0; transform: translateY(8px); transition: .3s; }
.gp-cap em { display: inline-block; font: 700 .72rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-style: normal; background: var(--marigold); color: var(--teal-ink); border-radius: 999px; padding: 2px 9px; margin-bottom: 6px; }
.gp-item:hover .gp-cap, .gp-item:focus-visible .gp-cap { opacity: 1; transform: none; }
@media (hover: none) { .gp-cap { opacity: 1; transform: none; font-size: .85rem; padding-top: 28px; } }
.gp-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@keyframes gpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gp-lightbox figure { margin: 0; text-align: center; }
.gp-lightbox img { max-height: 80vh; max-width: min(1100px, 100%); border-radius: 12px; }
.gp-count { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 4px; }
.gp-lightbox { background: rgba(10, 10, 10, .95); }
@media (max-width: 520px) { .gp-grid { columns: 2 140px; column-gap: 10px; } .gp-item { margin-bottom: 10px; border-radius: 12px; } }
.gp-more-wrap { text-align: center; margin-top: 18px; }
.gp-more-wrap[hidden] { display: none; }
.gp-more span { color: var(--muted); font-weight: 600; margin-left: 4px; }

/* Skill Development course cards: photo on top */
.course { position: relative; overflow: hidden; }
.course-img { margin: -24px -24px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-soft); }
.course-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.course:hover .course-img img { transform: scale(1.05); }
.course-img + .course-top { margin-top: -28px; position: relative; z-index: 1; }
.course-img + .course-top .course-ico { border: 4px solid #fff; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); width: 60px; height: 60px; }
.course-img + .course-top { align-items: flex-end; }
.course-img + .course-top .course-no { font-size: 1.9rem; margin-bottom: 2px; }

/* ---------- Support delivered page ---------- */
.bn-tools { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.bn-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; flex: 1 1 320px; max-width: 460px; color: var(--muted); }
.bn-search:focus-within { border-color: var(--teal-ink); }
.bn-search input { border: 0; outline: 0; background: transparent; padding: 12px 0; flex: 1; min-width: 0; font: inherit; color: var(--text); }
.bn-tools select { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 12px 18px; font: 600 1rem var(--font-body); color: var(--teal-ink); min-width: 200px; }
.bn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bn-grid[aria-busy="true"] { opacity: .5; transition: opacity .2s; }
.bn-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bn-card:hover { border-color: var(--marigold); transform: translateY(-3px); box-shadow: var(--shadow); }
.bn-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bn-prog { font: 700 .78rem var(--font-head); background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 3px 11px; }
.bn-date { color: var(--muted); font-size: .9rem; }
.bn-card h3 { font-size: 1.2rem; margin-top: 4px; }
.bn-support { color: var(--text); line-height: 1.5; }
.bn-meta { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .92rem; }
.bn-meta dt { color: var(--muted); }
.bn-meta dd { font-weight: 600; color: var(--teal-ink); text-align: right; font-variant-numeric: tabular-nums; }
.bn-msg { text-align: center; color: var(--muted); padding: 50px 0; font-size: 1.05rem; }
.bn-pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.bn-pager:empty { display: none; }
.bn-pager button { min-width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font: 700 1rem var(--font-head); color: var(--teal-ink); cursor: pointer; }
.bn-pager button.on { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.bn-pager button:disabled { opacity: .4; cursor: default; }
.bn-privacy { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; max-width: 760px; margin: 34px auto 0; color: var(--muted); font-size: .95rem; background: var(--teal-soft); border-radius: 14px; padding: 14px 18px; }
.bn-privacy svg { flex: none; margin-top: 2px; color: var(--accent-ink); }
@media (max-width: 1024px) { .bn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bn-grid { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header: keep everything on one line with the extra Beneficiaries link */
.nav > li > a.btn-donate { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) {
  .nav > li > a, .nav > li > button { padding-left: 10px; padding-right: 10px; }
  .nav > li > a.btn-donate { margin-left: 6px; padding: 10px 18px; }
  .brand img { height: 46px; }
}

/* ---------- Beneficiaries page: table, download, print ---------- */
.bn-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font: 700 .98rem var(--font-head); background: var(--marigold); color: var(--teal-ink); border: 1.5px solid var(--marigold); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.bn-btn:hover { background: var(--marigold-deep); border-color: var(--marigold-deep); }
.bn-btn[hidden] { display: none; }
.bn-btn-ghost { background: var(--white); border-color: var(--line); }
.bn-btn-ghost:hover { background: var(--white); border-color: var(--teal-ink); }
.bn-table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow-x: auto; box-shadow: var(--shadow); }
.bn-table-wrap[aria-busy="true"] { opacity: .55; transition: opacity .2s; }
.bn-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.bn-table[hidden] { display: none; }
.bn-table th { background: var(--accent-soft); color: var(--teal-ink); text-align: left; font: 700 .95rem var(--font-head); padding: 14px 16px; white-space: nowrap; }
.bn-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; color: var(--text); }
.bn-table tbody tr:hover td { background: #FCFBF7; }
.bn-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--teal-ink); }
.bn-table .bn-no { color: var(--muted); width: 64px; }
.bn-table .bn-nowrap { white-space: nowrap; }
.bn-table .bn-name { font-weight: 700; color: var(--teal-ink); }
.bn-table.no-amt .bn-amt { display: none; }
.bn-table-wrap:has(.bn-table[hidden]) { display: none; }
@media (max-width: 720px) {
  .bn-tools .bn-btn { flex: 1 1 auto; justify-content: center; }
  .bn-table { min-width: 720px; font-size: .92rem; }
  .bn-table .bn-name, .bn-table .bn-prog { white-space: nowrap; }
  .bn-table th, .bn-table td { padding: 11px 12px; }
  .bn-table .bn-no { width: 48px; }
  .bn-table-wrap { border-radius: 14px; }
}
.bn-scroll-hint { display: none; text-align: center; color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
@media (max-width: 720px) { .bn-scroll-hint { display: block; } }
@media print {
  .topbar, .site-header, header, footer, .site-footer, .cta-banner, .bn-tools, .bn-pager, .gp-hero::before, .gp-hero::after, .whatsapp-float, .wa-float { display: none !important; }
  body { background: #fff; }
  .gp-hero { background: #fff; padding: 0 0 12px; }
  .gp-hero .lead, .gp-hero .crumbs, .gp-stats { display: none !important; }
  .section { padding: 0 !important; }
  .bn-table-wrap { box-shadow: none; border: 1px solid #999; overflow: visible; }
  .bn-table th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bn-table tr { page-break-inside: avoid; }
}

/* ---------- Payment methods under donate buttons ---------- */
.pay-methods { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 14px; background: var(--teal-soft); }
.pm-title { font: 700 .85rem var(--font-head); color: var(--teal-ink); text-align: center; margin: 0 0 10px; letter-spacing: .01em; }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-list li { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.pm-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.pm-list b { display: block; font: 700 .88rem/1.2 var(--font-head); color: var(--teal-ink); }
.pm-list small { display: block; font-size: .76rem; line-height: 1.3; color: var(--muted); }
.pay-methods + .secure { margin-top: 10px; }
@media (max-width: 400px) { .pm-list { grid-template-columns: 1fr; } }
.bn-date { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; font: 600 .92rem var(--font-body); color: var(--muted); }
.bn-date input { border: 0; outline: 0; background: transparent; font: 600 .95rem var(--font-body); color: var(--teal-ink); padding: 7px 8px; }
.bn-date:focus-within { border-color: var(--teal-ink); }
.bn-table.no-ids .bn-id { display: none; }
@media (max-width: 720px) { .bn-date { flex: 1 1 40%; justify-content: space-between; } .bn-table { min-width: 980px; } }
.bn-table .bn-name, .bn-table .bn-prog { white-space: nowrap; }

/* ---------- Beneficiaries page: totals ---------- */
.bn-summary { margin-bottom: 24px; }
.bn-summary[hidden] { display: none; }
.bn-sum-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.bn-sum-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.bn-sum-card[hidden] { display: none; }
.bn-sum-card span { font: 700 .9rem var(--font-head); color: var(--muted); }
.bn-sum-card strong { font: 800 2rem/1.15 var(--font-head); color: var(--teal-ink); font-variant-numeric: tabular-nums; }
.bn-sum-card small { color: var(--muted); font-size: .88rem; }
.bn-sum-dark { background: var(--teal-ink); border-color: var(--teal-ink); }
.bn-sum-dark span, .bn-sum-dark small { color: rgba(255,255,255,.7); }
.bn-sum-dark strong { color: var(--marigold); }
.bn-prog-totals { background: var(--teal-soft); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.bn-pt-title { font: 700 .95rem var(--font-head); color: var(--teal-ink); margin: 0 0 12px; }
.bn-pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.bn-pt .bn-prog { white-space: nowrap; }
.bn-pt { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bn-pt-nums { text-align: right; line-height: 1.25; }
.bn-pt-nums b { display: block; font: 700 .95rem var(--font-head); color: var(--teal-ink); white-space: nowrap; }
.bn-pt-nums small { display: block; color: var(--muted); font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) { .bn-sum-cards { grid-template-columns: 1fr; } .bn-sum-card strong { font-size: 1.7rem; } }
@media print { .bn-sum-card { box-shadow: none; } .bn-sum-dark { background: #fff; border-color: #999; } .bn-sum-dark strong, .bn-sum-dark span, .bn-sum-dark small { color: #000; } }

/* ---------- Videos page ---------- */
.vd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vd-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.vd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--marigold); }
.vd-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #111; cursor: pointer; overflow: hidden; }
.vd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.vd-card:hover .vd-thumb img { transform: scale(1.05); }
.vd-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--marigold); color: var(--teal-ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.vd-thumb:hover .vd-play, .vd-thumb:focus-visible .vd-play { transform: translate(-50%, -50%) scale(1.1); }
.vd-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.vd-tag { align-self: flex-start; font: 700 .76rem var(--font-head); background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 3px 10px; }
.vd-body h3 { font-size: 1.12rem; line-height: 1.3; }
.vd-body p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.vd-modal { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,10,.88); display: grid; place-items: center; padding: 20px; }
.vd-modal[hidden] { display: none; }
.vd-modal-box { width: min(1000px, 100%); }
.vd-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.vd-modal-head h3 { color: #fff; font-size: 1.15rem; }
.vd-close { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; flex: none; }
.vd-close:hover { background: var(--marigold); color: var(--teal-ink); }
.vd-player iframe, .vd-player video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #000; display: block; max-height: 78vh; }
.vd-modal-desc { color: rgba(255,255,255,.75); margin-top: 10px; }
.vd-modal-desc:empty { display: none; }
@media (max-width: 1024px) { .vd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vd-grid { grid-template-columns: 1fr; } }
/* header has one more link now */
@media (max-width: 1280px) and (min-width: 961px) {
  .nav > li > a, .nav > li > button { padding-left: 9px; padding-right: 9px; font-size: .97rem; }
}
@media (max-width: 1100px) and (min-width: 961px) {
  .nav > li > a, .nav > li > button { padding-left: 7px; padding-right: 7px; font-size: .93rem; }
  .nav > li > a.btn-donate { padding: 9px 14px; }
  .brand img { height: 42px; }
}
.vd-thumb { background: radial-gradient(circle at 30% 30%, #3a3a3a, #111 70%); }
#home-videos[hidden] { display: none; }
.hv-more { text-align: center; margin-top: 28px; }
/* Instagram videos */
.vd-player.is-ig { display: flex; justify-content: center; }
.vd-player iframe.vd-ig-frame { width: min(420px, 100%); height: min(760px, 80vh); aspect-ratio: auto; max-height: none; background: #fff; }
.vd-thumb.vd-ig { background: linear-gradient(135deg, #111 0%, #2b2b2b 55%, #3d3216 100%); }
.vd-ig-label { position: absolute; left: 14px; bottom: 12px; font: 700 .82rem var(--font-head); color: var(--marigold); letter-spacing: .02em; background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 999px; }
.bn-per select { border: 0; outline: 0; background: transparent; font: 600 .95rem var(--font-body); color: var(--teal-ink); padding: 7px 4px; cursor: pointer; min-width: 0; }