/* =========================================================
   Bradrie — Design System
   Inspired by care.org / savethechildren.org
   Palette matched to the Bradrie logo (warm gold / orange)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;600;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --gold: #F5B82E;
  --gold-light: #FCD66F;
  --orange: #E89622;
  --orange-deep: #C77A18;
  --brown: #2B1A0E;
  --brown-soft: #6B4423;
  --cream: #FAF4E6;
  --cream-deep: #F1E6CC;
  --text: #3D2F22;
  --text-soft: #7A6A5A;
  --white: #FFFFFF;
  --border: #E8DECB;
  --shadow-sm: 0 4px 12px rgba(43, 26, 14, 0.06);
  --shadow-md: 0 12px 28px rgba(43, 26, 14, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 26, 14, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max: 1240px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-deep); }
ul { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--brown);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: inline-block;
}
.lead { font-size: 1.2rem; color: var(--text-soft); line-height: 1.6; }

/* ===== Layout ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 150, 34, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 150, 34, 0.5);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--brown);
}
.btn-white:hover { background: var(--cream); color: var(--brown); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(43, 26, 14, 0.08);
  border-bottom-color: var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Source Serif 4', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.brand img { height: 44px; width: auto; }
.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-menu a {
  color: var(--brown);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-cta { margin-left: 16px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--brown);
}

@media (max-width: 880px) {
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { max-height: 500px; }
  .nav-menu a { padding: 16px 24px; width: 100%; }
  .nav-cta { margin: 12px 24px 20px; }
  .nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--brown);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,26,14,0.15) 0%, rgba(43,26,14,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 100px 24px;
}
.hero-content .eyebrow { color: var(--gold); }
.hero h1 {
  color: var(--white);
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero p.lead {
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (smaller, for subpages) */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--brown);
  overflow: hidden;
}
.page-hero .hero-bg::after {
  background: linear-gradient(135deg, rgba(43,26,14,0.7) 0%, rgba(107,68,35,0.5) 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,0.9); max-width: 50ch; }

/* ===== Stats bar ===== */
.stats {
  background: var(--cream);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--brown-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
}

/* ===== Story row (image + text, alternating) ===== */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-row.reverse .story-img { order: 2; }
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 { margin-bottom: 20px; }
.story-text p { margin-bottom: 16px; color: var(--text-soft); }
.story-text .btn { margin-top: 12px; }
@media (max-width: 880px) {
  .story-row { grid-template-columns: 1fr; gap: 36px; }
  .story-row.reverse .story-img { order: 0; }
}

/* ===== Programs grid ===== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { color: var(--text-soft); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.program-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-deep);
}
.program-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.program-card:hover .program-card-img img { transform: scale(1.06); }
.program-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.program-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.program-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.program-card .read-more {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.program-card .read-more::after {
  content: "→";
  transition: transform 0.2s;
}
.program-card:hover .read-more::after { transform: translateX(4px); }

@media (max-width: 1024px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .programs-grid { grid-template-columns: 1fr; } }

/* ===== Full-bleed quote ===== */
.quote-block {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--brown);
}
.quote-block .hero-bg::after {
  background: linear-gradient(90deg, rgba(43,26,14,0.85) 0%, rgba(43,26,14,0.4) 100%);
}
.quote-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 24px;
}
.quote-content blockquote {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 24px;
  font-style: italic;
}
.quote-content blockquote::before { content: "“"; font-size: 4rem; line-height: 0; color: var(--gold); margin-right: 6px; vertical-align: -0.4em; }
.quote-content cite {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.92); max-width: 56ch; margin: 0 auto 32px; font-size: 1.1rem; }

/* ===== Gallery grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--cream-deep);
  cursor: zoom-in;
}
.gallery-grid .gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== Footer ===== */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 28px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.site-footer .brand-footer {
  font-family: 'Source Serif 4', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
}
.site-footer p { color: rgba(255,255,255,0.65); margin-bottom: 18px; max-width: 30ch; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a {
  color: rgba(255,255,255,0.75);
}
.site-footer a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--brown); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Sticky donate button (mobile) ===== */
.sticky-donate {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: none;
}
@media (max-width: 880px) { .sticky-donate { display: inline-block; } }

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Video feature (As Featured on TV) ===== */
.video-feature {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}
.video-feature h2 { color: var(--white); margin-bottom: 12px; }
.video-feature .eyebrow { color: var(--gold); }
.video-feature .lead { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto; }
.video-wrap {
  position: relative;
  max-width: 960px;
  margin: 48px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #000;
}
.video-wrap video,
.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}

/* Click-to-YouTube thumbnail card (fallback when embedding is blocked) */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}
.video-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}
.video-thumb:hover img {
  transform: scale(1.04);
  filter: brightness(0.92);
}
.video-thumb-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  background: var(--orange);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.video-thumb-play::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 18px 0 18px 28px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.video-thumb:hover .video-thumb-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--gold);
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
}
.video-caption {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.video-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(245, 184, 46, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.video-link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
  transform: translateX(2px);
}

/* ===== Where We Work — map page ===== */
#bradrie-map {
  width: 100%;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  z-index: 1;
}
@media (max-width: 768px) { #bradrie-map { height: 420px; } }

.map-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding: 20px 28px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}
.map-legend-pin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.map-pin-dot {
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--orange);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 150, 34, 0.25);
}

/* Animated pin on the Leaflet map */
.bradrie-pin {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(232, 150, 34, 0.7);
  animation: bradriePulse 2.2s infinite;
}
@keyframes bradriePulse {
  0%   { box-shadow: 0 0 0 0   rgba(232, 150, 34, 0.7); }
  70%  { box-shadow: 0 0 0 24px rgba(232, 150, 34, 0); }
  100% { box-shadow: 0 0 0 0   rgba(232, 150, 34, 0); }
}

/* Location stat trio */
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.location-stat {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.location-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.location-stat .stat-num { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; } }

/* ===== News page — featured + grid ===== */
.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.news-featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--cream-deep);
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-img.has-video {
  aspect-ratio: 16 / 9;
  background: #000;
}
.news-featured-img video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.news-featured-body h3 { font-size: 2rem; margin-bottom: 16px; line-height: 1.2; }
.news-featured-body p { color: var(--text-soft); margin-bottom: 20px; }
.news-date {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 14px;
}
@media (max-width: 880px) {
  .news-featured { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .news-featured-body h3 { font-size: 1.5rem; }
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-deep);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.news-card-body h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.news-card-body p { color: var(--text-soft); font-size: 0.95rem; flex: 1; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .news-grid { grid-template-columns: 1fr; } }

/* ===== Testimonials with Urdu + audio ===== */
.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 920px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
}
.testimonial-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
  border: 3px solid var(--cream-deep);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Letter thumbnail — clickable preview of the original handwritten letter */
.testimonial-letter-thumb {
  width: 72px;
  height: 92px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--cream-deep);
  background: var(--cream);
  display: block;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-letter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.testimonial-letter-thumb:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}
.testimonial-letter-thumb::after {
  content: "↗";
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(43, 26, 14, 0.7);
  color: #fff;
  font-size: 0.7rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Expandable full translation (details/summary) */
.testimonial-full {
  margin-top: 22px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.testimonial-full summary {
  cursor: pointer;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  transition: color 0.2s;
}
.testimonial-full summary::-webkit-details-marker { display: none; }
.testimonial-full summary::before {
  content: "▸";
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.85em;
  color: var(--orange);
}
.testimonial-full[open] summary::before { transform: rotate(90deg); }
.testimonial-full summary:hover { color: var(--orange-deep); }
.testimonial-full-text {
  margin-top: 18px;
  padding: 26px 30px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}
.testimonial-full-text p { margin-bottom: 14px; }
.testimonial-full-text p:last-child { margin-bottom: 0; }
.testimonial-full-text ol { margin: 10px 0 16px 24px; }
.testimonial-full-text ol li { margin-bottom: 6px; }
.testimonial-full-text strong { color: var(--brown); }

/* ===== Press / "As seen on" feature callout ===== */
.press-feature {
  background: var(--brown);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.press-feature .eyebrow {
  color: var(--gold);
}
.press-feature h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}
.press-feature h2 em {
  color: var(--gold);
  font-style: italic;
}
.press-feature p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin: 0 auto 28px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.press-feature p em {
  color: var(--gold-light);
  font-style: italic;
}

/* ===== Bradrie family — closed Facebook group invitation card ===== */
.group-card {
  display: flex;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 920px;
  margin: 0 auto;
  border-left: 4px solid var(--orange);
}
.group-card-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(232, 150, 34, 0.35);
}
.group-card-content { flex: 1; }
.group-card-content h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}
.group-card-content p {
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.65;
}
.group-card-content p strong {
  color: var(--brown);
  font-weight: 600;
}
.group-card-content .btn { margin-top: 8px; }

@media (max-width: 720px) {
  .group-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
  }
  .group-card-icon { width: 64px; height: 64px; }
  .group-card-icon svg { width: 28px; height: 28px; }
}
.testimonial-name {
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 2px;
}

/* Urdu text — Nastaliq script, right-to-left */
.urdu-text {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 1.5rem;
  line-height: 2.4;
  text-align: right;
  direction: rtl;
  color: var(--brown);
  margin-bottom: 24px;
  padding: 28px 32px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-weight: 500;
}

.testimonial-translation {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
  padding-left: 16px;
  border-left: 2px solid var(--cream-deep);
}
.t-label {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonial-audio {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.audio-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}
.testimonial-audio audio {
  flex: 1;
  min-width: 240px;
  max-width: 100%;
  height: 40px;
}

@media (max-width: 768px) {
  .testimonial-card { padding: 28px 24px; }
  .urdu-text { font-size: 1.3rem; padding: 20px 22px; line-height: 2.2; }
  .testimonial-meta { gap: 12px; margin-bottom: 22px; }
  .testimonial-avatar { width: 52px; height: 52px; }
}

/* ===== Social embed placeholder (Instagram / Facebook) ===== */
.social-embed {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 56px 28px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}
.social-embed code {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--brown);
  font-size: 0.88em;
}

/* ===== Donate page ===== */
.donate-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}
@media (max-width: 880px) {
  .donate-options { grid-template-columns: 1fr; }
}

.donate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--orange);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.donate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.donate-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(232, 150, 34, 0.3);
}
.donate-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 12px;
}
.donate-card h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.donate-card > p {
  color: var(--text-soft);
  margin-bottom: 18px;
  line-height: 1.65;
}
.donate-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.donate-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  color: var(--text);
  font-size: 0.97rem;
}
.donate-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.donate-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Bank details toggle — keeps the account info hidden until clicked */
.bank-toggle {
  margin-top: 6px;
  margin-bottom: 18px;
}
.bank-toggle summary {
  list-style: none;
  cursor: pointer;
}
.bank-toggle summary::-webkit-details-marker { display: none; }

.bank-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}
.bank-toggle-btn::before {
  content: "▸";
  display: inline-block;
  font-size: 0.85em;
  transition: transform 0.25s ease;
}
.bank-toggle[open] .bank-toggle-btn::before {
  transform: rotate(90deg);
}
.bank-toggle-btn:hover {
  background: var(--brown);
  color: var(--white);
}
.bank-toggle .hide-text { display: none; }
.bank-toggle[open] .show-text { display: none; }
.bank-toggle[open] .hide-text { display: inline; }

.bank-toggle .bank-details,
.bank-toggle .bank-confirm {
  margin-top: 18px;
  animation: bankReveal 0.25s ease-out;
}
@keyframes bankReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Bank details box */
.bank-details {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.bank-row:last-child { border-bottom: none; }
.bank-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
  flex-shrink: 0;
}
.bank-value {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  color: var(--brown);
  text-align: right;
  word-break: break-all;
  font-size: 1rem;
}
.bank-confirm {
  font-size: 0.92rem;
  background: rgba(232, 150, 34, 0.08);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  line-height: 1.6;
}
.bank-confirm strong { color: var(--brown); }

/* Donor form */
.donor-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown);
  margin-bottom: 8px;
}
.form-field .req { color: var(--orange); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Inter', sans-serif;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 24px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.donor-form .btn { display: block; width: 100%; }
.form-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .donor-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 20px; }
}

/* What happens next */
.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.next-step {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
.next-num {
  font-family: 'Source Serif 4', serif;
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}
.next-step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.next-step p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 880px) { .next-grid { grid-template-columns: 1fr; } }

/* Transparency note */
.transparency-note {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.transparency-note h2 { margin-bottom: 18px; }
.transparency-note p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
