/* ============================================================
   Anand Sewa Sansthan – Professional NGO Website CSS
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --navy: #0B2447;
  --navy-light: #1e3a6e;
  --orange: #F97316;
  --orange-dark: #ea6c0b;
  --orange-light: #FFF7ED;
  --teal: #0E7490;
  --green: #166534;
  --white: #ffffff;
  --off-white: #F8FAFC;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --font: 'Inter', 'Noto Sans Devanagari', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font: inherit; cursor: pointer; border: none; transition: all 0.2s; }
input, textarea { font: inherit; }

/* ---- Layout Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Top Announcement Bar ---- */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.top-bar a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-200);
}
.brand-text {
  font-size: 15px;
  color: var(--gray-900);
  line-height: 1.2;
}
.brand-text strong { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-links > a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--navy); background: var(--gray-50); }
.nav-links > a.active { color: var(--orange); background: var(--orange-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.lang-btn:hover { background: var(--gray-200); }

.donate-btn {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(249,115,22,0.35);
}
.donate-btn:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.4); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249,115,22,0.5); }
.btn-primary.full-width { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  transition: all 0.2s;
  margin-top: 8px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---- Section Label ---- */
.section-label { margin-bottom: 48px; }
.section-label.centered { text-align: center; }
.kicker {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.kicker.light { color: rgba(255,255,255,0.8); }
.section-label h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-sub {
  color: var(--gray-500);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.7;
}
.section-label.centered .section-sub { margin: 0 auto; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: url("./assets/hero-community.png") center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,36,71,0.92) 0%, rgba(11,36,71,0.75) 55%, rgba(11,36,71,0.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-content { max-width: 680px; }
.hero-kicker {
  display: inline-block;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: #FED7AA;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats-row {
  display: flex;
  gap: 24px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  color: var(--white);
  text-align: center;
  min-width: 140px;
}
.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span { font-size: 13px; opacity: 0.8; font-weight: 500; }

/* ============================================================
   IMPACT SECTION
   ============================================================ */
.impact-section {
  padding: 96px 0;
  background: var(--navy);
}
.impact-section .section-label h2 { color: var(--white); }
.impact-section .section-label .kicker { color: #FED7AA; }
.impact-section .section-sub { color: rgba(255,255,255,0.65); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
  transition: all 0.3s;
}
.impact-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.impact-icon {
  width: 64px;
  height: 64px;
  background: rgba(249,115,22,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px;
  border: 1px solid rgba(249,115,22,0.3);
}
.impact-card strong {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-card span:last-child {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 96px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
  aspect-ratio: 1/1;
  background-color: var(--white);
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.about-badge span { font-size: 22px; font-weight: 800; }

.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.about-content #aboutBody {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.8;
}
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.value-chip {
  background: var(--orange-light);
  border: 1px solid #FDBA74;
  color: #9A3412;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
}

/* ============================================================
   OUR WORK SECTION
   ============================================================ */
.work-section {
  padding: 96px 0;
  background: var(--gray-50);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.work-card:hover::before { opacity: 1; }

/* Clickable card enhancements */
.work-card-clickable {
  cursor: pointer;
}
.work-card-clickable:hover .work-card-cta { opacity: 1; transform: translateX(0); color: var(--orange); }
.work-card-clickable:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.work-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.work-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.7;
  transform: translateX(-4px);
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.work-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.work-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.work-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   WORK DETAIL MODAL
   ============================================================ */
.work-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 36, 71, 0.72);
  backdrop-filter: blur(6px);
  z-index: 8000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 32px;
  overflow-y: auto;
  animation: wModalFadeIn 0.25s ease;
}
.work-modal-backdrop[hidden] { display: none; }
@keyframes wModalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.work-modal-box {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  animation: wModalSlide 0.3s ease;
  overflow: hidden;
}
@keyframes wModalSlide { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.work-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
  z-index: 1;
}
.work-modal-close:hover { background: rgba(255,255,255,0.35); }

.work-modal-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4080 100%);
  padding: 40px 40px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.work-modal-icon {
  font-size: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.work-modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.3;
}
.work-modal-header p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0;
}

.work-modal-body {
  padding: 32px 40px 40px;
}
.work-modal-act-heading {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

/* Activity Card */
.work-act-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  animation: wActFade 0.3s ease both;
}
.work-act-card:last-child { border-bottom: none; }
@keyframes wActFade { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

.work-act-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--gray-100);
  min-width: 36px;
  line-height: 1;
  padding-top: 4px;
}
.work-act-body { flex: 1; }
.work-act-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.work-act-body p {
  font-size: 14.5px;
  color: var(--gray-600, #4b5563);
  line-height: 1.7;
  margin-top: 10px;
}
.work-act-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.work-act-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  color: var(--gray-600, #4b5563);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}
.work-act-impact {
  background: #dcfce7;
  color: #166534;
}
.work-act-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400);
  font-size: 14px;
}

@media (max-width: 640px) {
  .work-modal-header { padding: 28px 20px 24px; flex-direction: column; gap: 14px; }
  .work-modal-body { padding: 24px 20px 28px; }
  .work-act-card { flex-direction: column; gap: 8px; }
}

/* ── Activity Photo Gallery ─────────────────────────────── */
.work-act-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.work-act-photo-btn {
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.work-act-photo-btn:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.work-act-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Activity Video Player ──────────────────────────────── */
.work-act-videos { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.work-act-video-wrap { border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.work-act-video { width: 100%; max-height: 340px; display: block; }

/* ── Photo Lightbox ─────────────────────────────────────── */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lbFade 0.2s ease;
}
.photo-lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
  animation: lbSlide 0.25s ease;
}
@keyframes lbSlide { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section {
  padding: 96px 0;
  background: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.project-art {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.project-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("./assets/hero-community.png") center/cover no-repeat;
  opacity: 0.25;
}
.project-cat {
  position: relative;
  z-index: 1;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 99px;
}
.project-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-loc {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}
.project-body p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
}
.learn-more {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.learn-more:hover { gap: 8px; }

/* ============================================================
   VISION & MISSION SECTION
   ============================================================ */
.vision-section {
  padding: 96px 0;
  background: var(--gray-50);
}
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.vision-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.vision-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.vision-card-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.vision-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.vision-card p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ============================================================
   DONATE SECTION
   ============================================================ */
.donate-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6c 50%, #1e3a5f 100%);
}
.donate-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.donate-left { color: var(--white); }
.donate-heading {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 12px 0;
}
.donate-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}
.donate-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donate-trust li {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* Donate Form */
.donate-right {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}
.donate-form { display: flex; flex-direction: column; gap: 10px; }
.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
}
.optional { font-weight: 400; color: var(--gray-500); }
.amount-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.amount-pill {
  background: var(--gray-100);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all 0.2s;
}
.amount-pill:hover { border-color: var(--orange); color: var(--orange); }
.amount-pill.active { background: var(--orange-light); border-color: var(--orange); color: var(--orange); }

.amount-input, .text-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s;
}
.amount-input:focus, .text-input:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,36,71,0.1);
}

.btn-donate {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(249,115,22,0.4);
  margin-top: 2px;
}
.btn-donate:hover { background: var(--orange-dark); transform: translateY(-1px); }

.form-status {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
  color: var(--green);
}

.payment-panel {
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  gap: 10px;
  text-align: center;
  margin-top: 4px;
}
.payment-panel strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}
.payment-panel p {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.5;
}
.payment-qr {
  width: min(180px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  justify-self: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 8px;
}
.payment-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.payment-link:hover { background: var(--navy-light); color: var(--white); }
.payment-upi {
  background: var(--orange-light);
  border: 1px solid #FDBA74;
  color: #9A3412;
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  overflow-wrap: anywhere;
}

/* ── New Donation Elements ─────────────────────────────── */
.donate-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.donate-impact-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 10px;
  transition: background 0.2s;
}
.donate-impact-item:hover { background: rgba(255,255,255,0.14); }
.donate-impact-amount { font-size: 16px; font-weight: 800; color: var(--orange); margin-bottom: 2px; }
.donate-impact-text { font-size: 11px; color: rgba(255,255,255,0.75); line-height: 1.3; }

.donate-legal-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.donate-legal-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.8); }
.donate-legal-badge { font-weight: 700; color: rgba(255,255,255,0.6); font-size: 11px; }

/* Trust row */
.donate-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.donate-trust-row span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

.purpose-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.purpose-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-600);
  text-align: center;
  transition: all 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.purpose-pill:hover { border-color: var(--orange); color: var(--orange); }
.purpose-pill.active { background: var(--orange-light); border-color: var(--orange); color: var(--orange); font-weight: 700; }

.donate-required-note { color: var(--orange); font-weight: 600; font-size: 12px; }
.payment-panel-header { text-align: center; }

.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--gray-200);
}
.payment-step { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-700); line-height: 1.4; }
.payment-step-num {
  min-width: 22px;
  height: 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.payment-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.payment-whatsapp-btn:hover { background: #128C7E; transform: translateY(-1px); }

.payment-receipt-note { font-size: 12px; color: var(--gray-500); text-align: center; margin: 0; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 96px 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.contact-note { font-size: 16px; color: var(--gray-500); line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.detail-icon {
  font-size: 24px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-detail-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-detail-item p { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin: 0; }

.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
}
.form-group label::after {
  content: " *";
  color: #dc2626;
}
.form-group input, .form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,36,71,0.1);
}
.form-group textarea { resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white) !important;
  font-size: 16px;
  line-height: 1.2;
}
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.footer-brand strong { color: var(--white); }
.footer-tagline { font-size: 14px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer-links-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-links-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--white); }
.footer-links-col p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}
.footer-donate-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange) !important;
  font-weight: 700;
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-legal-links {
  margin-top: 6px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.footer-legal-links a:hover { color: var(--white); }

.legal-page {
  min-height: calc(100vh - 72px);
  background: var(--gray-50);
  padding: 72px 0;
}
.legal-page-inner {
  max-width: 820px;
}
.legal-page h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
}
.legal-page p {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--gray-700);
  font-size: 17px;
  line-height: 1.9;
  padding: 32px;
  white-space: pre-line;
}
.legal-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 8px;
  color: var(--gray-500);
  font-size: 14px;
}
.legal-contact strong { color: var(--navy); }
.legal-nav-links {
  justify-content: flex-end;
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  padding: 96px 0;
  background: var(--white);
}

/* Leaders row – Founder / Co-Founder larger cards */
.team-leaders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.team-leader-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.team-leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 40px 32px 24px;
  position: relative;
}
.leader-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: block;
}
.leader-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.leader-role-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 99px;
}
.leader-card-bottom {
  padding: 24px 28px 28px;
}
.team-leader-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.team-leader-card .member-quote {
  font-size: 14px;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}
.member-social-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.member-social-pill {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--gray-200);
  transition: all 0.2s;
  text-decoration: none;
}
.member-social-pill:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Regular team members grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-member-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.team-member-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--gray-200);
  display: block;
}
.member-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 14px;
  border: 3px solid var(--gray-200);
}
.team-member-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.member-role {
  display: inline-block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.member-bio {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Leader card – clean clickable design */
.team-leader-card { cursor: pointer; }
.team-leader-card:hover .view-profile-hint { color: var(--orange); }
.member-preview {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
  text-align: left;
  margin-bottom: 8px;
}
.view-profile-hint {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
  transition: color 0.2s;
}

/* ============================================================
   PROFILE MODAL
   ============================================================ */
.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 36, 71, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInBackdrop 0.25s ease;
}
.profile-modal-backdrop[hidden] { display: none; }
@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
.profile-modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: slideUpModal 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUpModal {
  from { transform: translateY(40px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.profile-modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.profile-modal-close:hover { background: var(--gray-900); color: var(--white); }
.profile-modal-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  clear: both;
}
/* Left column */
.profile-modal-left {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-radius: 0 0 0 var(--radius-xl);
}
.profile-modal-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.35);
  background: linear-gradient(135deg, var(--orange) 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.profile-modal-avatar span {
  font-size: 54px;
  font-weight: 900;
  color: var(--white);
}
.profile-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.profile-modal-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 99px;
}
.profile-modal-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.modal-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  word-break: break-all;
}
.modal-contact-pill:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
/* Right column */
.profile-modal-right {
  padding: 40px 36px;
  overflow-y: auto;
}
.profile-modal-right h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.profile-modal-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--orange-dark);
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  margin: 0 0 20px;
  line-height: 1.7;
}
.profile-modal-bio p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}
.profile-modal-message {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.profile-modal-message p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 14px;
}
.modal-section-heading {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Modal responsive */
@media (max-width: 640px) {
  .profile-modal-inner { grid-template-columns: 1fr; }
  .profile-modal-left { border-radius: 0; padding: 32px 20px; }
  .profile-modal-right { padding: 28px 20px; }
  .profile-modal-right h2 { font-size: 22px; }
}

/* ============================================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img { max-width: 100%; aspect-ratio: 16/9; }
  .about-badge { right: 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .donate-card { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-leaders { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

/* ============================================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .top-bar { justify-content: center; text-align: center; gap: 8px; padding: 8px 16px; font-size: 11.5px; }
  .top-bar > span:last-child { display: none; }

  /* Mobile Navbar */
  .nav-inner { height: 64px; padding: 0 16px; gap: 0; }
  .menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 10;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
    z-index: 999;
    gap: 4px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
  .nav-actions {
    width: 100%;
    flex-direction: column;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
    margin-top: 4px;
  }
  .lang-btn, .donate-btn { width: 100%; justify-content: center; padding: 12px; font-size: 15px; }

  /* Hero */
  .hero { min-height: 100vh; }
  .hero-inner { padding: 60px 16px; }
  .hero h1 { font-size: 36px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; font-size: 15px; padding: 14px 24px; }
  .hero-stats-row { gap: 12px; }
  .hero-stat { padding: 16px 20px; min-width: 100px; flex: 1; }
  .hero-stat strong { font-size: 26px; }

  /* Sections */
  .impact-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .team-leaders { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .impact-section, .about-section, .work-section,
  .projects-section, .vision-section, .team-section,
  .donate-section, .contact-section { padding: 64px 0; }

  /* Donate */
  .donate-right { padding: 28px; }
  .amount-pills { grid-template-columns: repeat(2, 1fr); }
  .purpose-pills { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .purpose-pill {
    min-height: 44px;
    padding: 9px 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
  }

  /* Contact */
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-form-wrap { padding: 24px; }

  /* Mobile inputs iOS auto-zoom prevention & tap optimization */
  input, select, textarea {
    font-size: 16px !important;
    -webkit-appearance: none;
    appearance: none;
    border-radius: var(--radius-sm);
  }
  * {
    -webkit-tap-highlight-color: transparent;
  }
  .modal-overlay, .profile-modal, .ap-modal-backdrop {
    -webkit-overflow-scrolling: touch;
  }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-label { margin-bottom: 32px; }
  .hero-stats-row { flex-direction: column; }
  .hero-stat { text-align: left; flex-direction: row; align-items: center; justify-content: space-between; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ── Success Modal ───────────────────────────────────────── */
.success-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 36, 71, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: smBackdropIn 0.3s ease;
}
.success-modal-backdrop[hidden] { display: none; }

@keyframes smBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.success-modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(11,36,71,0.22), 0 2px 8px rgba(0,0,0,0.08);
  animation: smBoxIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

@keyframes smBoxIn {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-modal-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.success-modal-circle {
  width: 80px;
  height: 80px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: smPulse 0.6s ease 0.3s both;
}

@keyframes smPulse {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.success-modal-check {
  width: 52px;
  height: 52px;
}

.success-check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: smDraw 0.5s ease 0.5s forwards;
}

@keyframes smDraw {
  to { stroke-dashoffset: 0; }
}

.success-modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.success-modal-msg {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 28px;
}

.success-modal-org {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange-light);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.success-modal-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.success-modal-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
  width: 100%;
}

.success-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,0.45);
}

@media (max-width: 480px) {
  .success-modal-box { padding: 36px 24px 28px; }
  .success-modal-title { font-size: 22px; }
}


