/* =========================================================
   Dr. Sanaullah Welfare Foundation: site styles
   Mobile-first. Brand colours live in :root below.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }

/* ---------- Brand tokens ---------- */
:root {
  --navy: #12355B;
  --navy-900: #0B2440;
  --navy-700: #1B4673;
  --teal: #0F766E;
  --teal-600: #0C5F59;
  --teal-300: #7CCBC2;
  --saffron: #F4A62A;
  --saffron-600: #E0921A;
  --mist: #E8F4F2;
  --mist-2: #F4FAF9;
  --slate: #5B6B7A;
  --ink: #1A2B3C;
  --line: #D6E6E3;
  --white: #fff;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 53, 91, .06), 0 2px 8px rgba(18, 53, 91, .05);
  --shadow: 0 2px 4px rgba(18, 53, 91, .05), 0 12px 32px rgba(18, 53, 91, .09);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.012em; font-weight: 700; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; color: var(--navy); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tint { background: var(--mist-2); }
.section--navy { background: var(--navy); color: #DCE8F2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--teal-300); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate); line-height: 1.65; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.muted { color: var(--slate); }
.urdu { font-family: var(--font-urdu); direction: rtl; line-height: 2.1; font-weight: 400; letter-spacing: 0; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.45em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
/* Saffron = Donate / key call to action only */
.btn--donate { --bg: var(--saffron); --fg: var(--navy-900); --bd: var(--saffron); box-shadow: 0 6px 18px rgba(244, 166, 42, .35); }
.btn--donate:hover { --bg: #F7B54A; --bd: #F7B54A; box-shadow: 0 8px 24px rgba(244, 166, 42, .45); }
.btn--teal { --bg: var(--teal); --bd: var(--teal); }
.btn--teal:hover { --bg: var(--teal-600); --bd: var(--teal-600); }
.btn--outline { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
.btn--outline:hover { --bg: var(--teal); --fg: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(18, 53, 91, .07); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand__mark { width: 44px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.06rem; white-space: nowrap; }
.brand__sub { font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: .8rem; white-space: nowrap; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 10px; color: var(--navy); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; position: relative;
}
.nav__link:hover { color: var(--teal); background: var(--mist-2); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--teal); }

.header-donate { flex: none; }
/* Facebook icon in the header: desktop only (on phones it's in the menu) */
.header-social { display: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); flex: none; transition: background-color .2s, color .2s; }
.header-social .icon { width: 20px; height: 20px; }
.header-social:hover { background: var(--mist); color: var(--teal); }
@media (min-width: 960px) { .header-social { display: inline-grid; } }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--mist-2); border: 1px solid var(--line); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Mobile menu panel */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.mobile-nav a.mobile-nav__link {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--teal); }
.mobile-nav__contact { margin-top: 24px; display: grid; gap: 10px; }
.mobile-nav__contact .btn { width: 100%; }
body.nav-open { overflow: hidden; }

@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand__name { font-size: .9rem; }
  .brand__sub { font-size: .7rem; }
  .brand__mark { width: 34px; height: 31px; }
  .header-donate.btn--sm { padding-inline: .8em; font-size: .85rem; min-height: 38px; }
  .nav-toggle { width: 40px; height: 40px; }
  .eyebrow { letter-spacing: .1em; font-size: .74rem; }
}
@media (min-width: 960px) {
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
  .header-inner { gap: 20px; }
  :root { --header-h: 84px; }
  .brand__mark { width: 52px; height: 47px; }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { font-size: .86rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__media { position: relative; aspect-ratio: 4 / 3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 53, 91, 0) 55%, rgba(18, 53, 91, 1) 100%); }
.hero__content { position: relative; padding: 8px 0 56px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .45em; }
.hero__sub { font-size: clamp(1.06rem, 1.7vw, 1.25rem); color: #D9E6F0; max-width: 40rem; margin-bottom: 28px; }
.hero__eyebrow { color: var(--teal-300); }
.hero__urdu { margin-top: 28px; font-size: 1.15rem; color: #BFE3DE; display: inline-block; }

@media (min-width: 900px) {
  .hero { min-height: min(84vh, 760px); display: flex; align-items: center; }
  .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media img { object-position: 62% 50%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(11, 36, 64, .94) 0%, rgba(18, 53, 91, .86) 34%, rgba(18, 53, 91, .35) 62%, rgba(18, 53, 91, 0) 82%),
      linear-gradient(0deg, rgba(11, 36, 64, .45) 0%, rgba(11, 36, 64, 0) 30%);
  }
  .hero__content { padding: 96px 0; max-width: 720px; }
  .hero h1 { max-width: 17ch; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #DCE8F2; overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 36, 64, .95) 0%, rgba(18, 53, 91, .86) 50%, rgba(18, 53, 91, .6) 100%); }
.page-hero__inner { padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #D2E1EC; margin-bottom: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #A9C1D6; }
.breadcrumb a { color: #CFE4F0; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 14px 28px; grid-template-columns: 1fr; }
.trust__item { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--ink); line-height: 1.4; }
.trust__item .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--mist); color: var(--teal); }
.trust__item strong { display: block; font-family: var(--font-head); }
@media (min-width: 640px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust__list { grid-template-columns: repeat(4, 1fr); padding: 28px 0; } }

/* ---------- Impact numbers (shown only once figures are verified) ---------- */
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.impact__item { background: #fff; padding: 28px 20px; text-align: center; }
.impact__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); line-height: 1; }
.impact__label { color: var(--slate); font-size: .95rem; margin-top: 8px; }
@media (min-width: 900px) { .impact { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Services (home) ---------- */
.services { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.services__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.services__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); color: var(--ink);
  border-radius: 12px; padding: 12px 14px; font-size: .88rem; line-height: 1.45; box-shadow: var(--shadow-sm);
}
.photo-caption strong { font-family: var(--font-head); display: block; font-size: .92rem; }
.service-grid { display: grid; gap: 16px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: #BFDCD7; box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card h3 { margin: 16px 0 8px; }
.service-card p { margin: 0; color: var(--slate); font-size: 1rem; }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mist); color: var(--teal); }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--navy { background: var(--navy); color: #fff; }
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 560px) and (max-width: 999px) { .services__photo img { aspect-ratio: 4 / 3; object-position: 50% 65%; } }
@media (min-width: 1000px) {
  .services { grid-template-columns: 5fr 7fr; }
  .services__photo { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Message / quote ---------- */
.message { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.message__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.message__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.quote { margin: 0; position: relative; }
.quote__mark { width: 48px; height: 48px; color: var(--teal); margin-bottom: 14px; }
.quote p { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; letter-spacing: -.01em; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.quote cite { font-style: normal; line-height: 1.35; }
.quote cite strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.quote cite span { color: var(--slate); font-size: .92rem; }
.avatar-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; flex: none; }
.avatar-mark svg { width: 34px; height: 31px; }
@media (min-width: 900px) { .message { grid-template-columns: 6fr 6fr; } .message--reverse .message__photo { order: 2; } }

/* ---------- Events ---------- */
.events-grid { display: grid; gap: 24px; }
@media (min-width: 680px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event-card__media { display: grid; gap: 3px; grid-template-columns: 1fr; background: var(--line); }
.event-card__media--2 { grid-template-columns: 3fr 2fr; }
.event-card__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.event-card__media--2 img { aspect-ratio: auto; height: 220px; }
.event-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--slate); margin-bottom: 10px; }
.event-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-card__meta .icon { width: 15px; height: 15px; color: var(--teal); }
.event-card h3 { margin-bottom: 8px; }
.event-card p { color: var(--slate); font-size: .98rem; margin-bottom: 18px; }
.event-card .btn { margin-top: auto; align-self: flex-start; }
.event-card--follow { background: var(--mist); border-color: transparent; justify-content: center; }
.event-card--follow .event-card__body { justify-content: center; padding: 32px 28px; }
.event-card--follow h3 { margin-top: 18px; }
.events-empty { text-align: center; color: var(--slate); padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); }
.events-more { margin-top: 32px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: #E3F4F1; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .06);
}
.cta-band__inner { position: relative; display: grid; gap: 28px; align-items: center; padding-block: clamp(56px, 8vw, 88px); }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 38rem; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* ---------- Two-column prose ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* ---------- Vision / mission ---------- */
.vm { display: grid; gap: 20px; }
.vm__card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.vm__card h3 { display: flex; align-items: center; gap: 12px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 16px; }
.vm__card p { font-family: var(--font-head); font-weight: 600; color: #fff; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; margin: 0; }
@media (min-width: 900px) { .vm { grid-template-columns: 1fr 1fr; } }

/* ---------- Values ---------- */
.values { display: grid; gap: 16px; grid-template-columns: 1fr; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.value h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.value p { margin: 0; color: var(--slate); font-size: .98rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Registration / transparency ---------- */
.reg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reg-item { display: grid; grid-template-columns: 1fr; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.reg-item__title { font-family: var(--font-head); font-weight: 600; color: var(--navy); line-height: 1.35; }
.reg-item__detail { color: var(--slate); font-size: .95rem; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: 6px; align-self: start; justify-self: start; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
.badge .icon { width: 14px; height: 14px; }
.badge--done { background: #DDF3EF; color: #0B5C55; }
.badge--progress { background: #EEF2F6; color: #3F5163; }
@media (min-width: 720px) { .reg-item { grid-template-columns: 1fr auto; align-items: center; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.6; margin-top: 2px; }
.section--navy .checklist .icon { background: var(--teal-300); color: var(--navy); }

/* ---------- Programmes (Our Work) ---------- */
.programme { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.programme:first-child { border-top: 0; padding-top: 0; }
.programme__num { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--teal); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.programme__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.programme__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.programme__panel {
  border-radius: var(--radius-lg); background: var(--mist); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.programme__panel .bg-icon { position: absolute; right: -30px; top: -30px; width: 220px; height: 220px; color: #CFE7E3; stroke-width: 1.2; }
.programme__panel h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; position: relative; }
.programme__panel ul { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.programme__panel li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); }
.programme__panel li .icon { color: var(--teal); }
.info-box { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 18px; font-size: .97rem; }
.info-box strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.info-box p:last-child { margin: 0; }
@media (min-width: 900px) {
  .programme { grid-template-columns: 1fr 1fr; }
  .programme:nth-child(even) .programme__visual { order: 2; }
}

/* ---------- Donate ---------- */
.give-grid { display: grid; gap: 20px; }
.give-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; }
.give-card--featured { border: 2px solid var(--saffron); box-shadow: var(--shadow); position: relative; }
.give-card__tag { position: absolute; top: -13px; left: 24px; background: var(--saffron); color: var(--navy-900); font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
.give-card h3 { margin: 16px 0 8px; }
.give-card p { color: var(--slate); }
.give-card .btn { margin-top: auto; align-self: flex-start; }
.give-card .pending-note { margin-top: auto; font-size: .92rem; background: var(--mist-2); border: 1px dashed #BFDCD7; border-radius: 10px; padding: 12px 14px; color: var(--slate); }
@media (min-width: 900px) { .give-grid { grid-template-columns: repeat(3, 1fr); } }

.bank-details { margin: 0 0 18px; display: grid; gap: 8px; }
.bank-details div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: .95rem; }
.bank-details dt { color: var(--slate); }
.bank-details dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.copy-btn { background: none; border: 0; color: var(--teal); cursor: pointer; padding: 0 0 0 6px; font: inherit; font-size: .85rem; text-decoration: underline; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: #B4231F; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist-2);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 118, 110, .15); }
.field-hint { font-size: .85rem; color: var(--slate); margin-top: 6px; }
.privacy-note { display: flex; gap: 10px; font-size: .88rem; color: var(--slate); background: var(--mist-2); border-radius: 12px; padding: 12px 14px; line-height: 1.5; margin: 0; }
.privacy-note .icon { color: var(--teal); margin-top: 2px; }
.hidden-field { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { width: 46px; height: 46px; flex: none; }
.contact-list .icon-badge .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.contact-list a, .contact-list span.value-text { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--teal); text-decoration: underline; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--mist); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9CADB; font-size: .96rem; }
.footer-top { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 80px) 40px; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: var(--teal-300); }
.footer-brand p { margin: 18px 0 0; max-width: 30rem; line-height: 1.65; }
.footer-urdu { color: #DCE8F2; font-size: 1.1rem; margin-top: 14px !important; text-align: left; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #DCE8F2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { color: var(--teal-300); margin-top: 3px; }
.footer-contact a { display: inline-block; padding: 6px 0; min-height: 32px; }
.footer-contact li > span br { display: none; }
.footer-contact li > span a + a, .footer-contact li > span a ~ a { display: block; margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--teal); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px 96px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; color: #93A9BE; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.6fr 1fr 1.3fr; } .footer-bottom { padding-bottom: 28px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  background: #157A3F; color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 18px 12px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .2s, background-color .2s;
}
.wa-float:hover { color: #fff; background: #0F6633; transform: translateY(-2px); }
.wa-float .icon { width: 22px; height: 22px; }
@media (max-width: 479px) { .wa-float span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float { padding: 14px; } }

/* ---------- Utility / thank-you / 404 ---------- */
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.center-page .icon-badge { width: 72px; height: 72px; margin: 0 auto 20px; }
.center-page .icon-badge .icon { width: 36px; height: 36px; }
.center-page .btn-row { justify-content: center; }

/* ---------- Reveal on scroll (motion-safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .wa-float, .cta-band, .site-footer .social { display: none !important; }
}
