/* ══════════════════════════════════════════════════════════════════
   NGO Public Frontend — Professional CSS
   Fully dynamic brand theming via admin panel.
   All brand references use CSS custom properties set from SiteSettings.
   ══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Defaults — overridden by admin panel) ── */
:root {
  --brand: #E05A2B;
  --brand-dark: #b84a1f;
  --brand-light: #fef5f2;
  --brand-mid: #f4a888;
  --accent: #1a3a5c;
  --accent-light: #f2f5f8;
  --accent-dark: #142e49;

  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --bg-2: #f3f4f6;
  --white: #ffffff;
  --green: #10b981;
  --green-dark: #059669;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #eff6ff;
  --red: #ef4444;

  --radius: 3px;
  --radius-lg: 3px;
  --radius-xl: 3px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; }

/* ══════════════════════════════════════════════════════════════════
   Navigation (Reference Design)
   ══════════════════════════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--border);
}
.nav-logo-img { height: 36px; width: auto; object-fit: contain; }
.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: var(--border);
}
.nav-link:last-child::after { display: none; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--brand); font-weight: 600; }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.nav-account {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
}
.nav-account:hover { border-color: var(--text); background: var(--bg); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* Mobile right */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 12px;
}
.nav-cta--mobile { padding: 8px 16px; font-size: 13px; }

/* Hamburger */
.nav-ham {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ham-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-ham.active .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.active .ham-line:nth-child(2) { opacity: 0; }
.nav-ham.active .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 20px;
  z-index: 499;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu-link {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-link:hover,
.mobile-menu-link.active { color: var(--brand); background: var(--bg); }
.mobile-menu-cta {
  display: block;
  margin-top: 12px;
  padding: 13px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-mobile-right { display: flex; }
  .nav-logo { border-right: none; padding-right: 0; margin-right: 0; }
  .nav-container { padding: 0 16px; height: 56px; }
  .nav-logo-img { height: 28px; }
  .nav-cta--mobile { padding: 7px 14px; font-size: 12px; }
  .nav-ham { width: 32px; height: 32px; }
  .nav-mobile-right { gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════════
   Footer (Ledger Close-Out — Reference Design)
   ══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--accent, #15373a);
  color: rgba(255,253,247,0.72);
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,253,247,0.35) 0 10px, transparent 10px 18px);
}

/* Top grid */
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1px 2.4fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
}
.footer-rule {
  background: rgba(255,253,247,0.14);
  width: 1px;
  height: 100%;
  min-height: 120px;
}

/* Columns wrapper */
.f-cols-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Brand */
.f-brand {}
.f-logo-link { display: block; margin-bottom: 12px; }
.f-logo-img { height: 32px; width: auto; }
.f-logo-text {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.f-about {
  font-size: 13px;
  max-width: 240px;
  color: rgba(255,253,247,0.55);
  margin-bottom: 18px;
  line-height: 1.7;
}
.f-social {
  display: flex;
  gap: 8px;
}
.f-social a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,253,247,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,253,247,0.75);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.f-social a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Link columns */
.f-col h4 {
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.85;
}
.f-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f-col li {
  margin-bottom: 9px;
  font-size: 13.5px;
  color: rgba(255,253,247,0.6);
}
.f-col li a {
  color: rgba(255,253,247,0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.f-col li a:hover { color: var(--brand); }

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 20px 0;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,253,247,0.5);
}
.footer-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255,253,247,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-rule { display: none; }
  .f-cols-wrap { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .f-cols-wrap { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 44px 0 0; }
}

/* ══════════════════════════════════════════════════════════════════
   Trust Strip
   ══════════════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}
.trust-inner {
  display: flex;
  animation: scroll-strip 30s linear infinite;
  white-space: nowrap;
}
.trust-inner:hover { animation-play-state: paused; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.trust-item .dot {
  width: 22px;
  height: 22px;
  background: var(--brand);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item .dot svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.5; }
.trust-item .dot i { display: flex; align-items: center; justify-content: center; }
@keyframes scroll-strip {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════
   Hero Carousel
   ══════════════════════════════════════════════════════════════════ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--brand-light);
}
.hero-slides {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 400px;
  position: relative;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background: var(--brand-light);
}
.hero-slide-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text {
  flex: 0 0 auto;
  max-width: 480px;
  padding: 44px 0;
}
.hero-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  padding: 6px 12px;
  border-radius: 3px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero-title em { color: var(--brand); font-style: normal; }
.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-donate-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.hero-donate-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-img-wrap {
  flex: 0 0 520px;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  box-shadow: var(--shadow-lg);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
  color: var(--text);
}
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
}
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.carousel-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   Mission Strip
   ══════════════════════════════════════════════════════════════════ */
.mission-strip {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mission-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.mission-strip-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 3px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.mission-strip-content {
  flex: 1;
}
.mission-strip-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.mission-strip-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 680px;
}
.mission-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.mission-strip-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   Campaigns Section (Homepage)
   ══════════════════════════════════════════════════════════════════ */
.campaigns-section { padding: 56px 0; background: var(--white); }
.campaigns-more {
  text-align: center;
  margin-top: 28px;
}
.campaigns-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--brand);
  color: var(--brand);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.campaigns-more-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════════════════
   Sections (Shared)
   ══════════════════════════════════════════════════════════════════ */
section { padding: 56px 0; }
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec-label {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.sec-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.sec-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 6px;
  line-height: 1.6;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.view-all {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  transition: opacity var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.view-all:hover { opacity: .75; }

/* ── Cause Tabs ── */
.cause-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.cause-tabs::-webkit-scrollbar { display: none; }
.cause-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  color: var(--text-3);
}
.cause-tab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.cause-tab span { font-size: 12px; font-weight: 600; }
.cause-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.cause-tab:hover:not(.active) { color: var(--text); }

/* ══════════════════════════════════════════════════════════════════
   Campaign Cards (Reference Design)
   ══════════════════════════════════════════════════════════════════ */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-img-link { display: block; }

/* ── Projects Page ── */
.projects-section { padding: 56px 0; background: var(--bg); }
.projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.projects-filter-bar::-webkit-scrollbar { display: none; }
.projects-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-2);
  transition: all var(--transition);
}
.projects-filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.projects-filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.projects-filter-btn svg { opacity: 0.6; }
.projects-filter-btn.active svg { opacity: 1; stroke: #fff; }
.projects-results-info {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
  font-weight: 500;
}
.projects-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.projects-empty h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 16px 0 8px; }
.projects-empty p { font-size: 14px; color: var(--text-2); }

/* ── Featured Campaign on Projects Page ── */
.project-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}
.project-featured:hover { box-shadow: 0 12px 32px -8px rgba(0,0,0,0.1); }
.project-featured-img {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--border));
}
.project-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.project-featured:hover .project-featured-img img { transform: scale(1.03); }
.project-featured-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.project-featured-urgent {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(239,68,68,0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-featured-content { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.project-featured-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-featured-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.project-featured-title { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.3px; }
.project-featured-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.project-featured-progress { margin-bottom: 18px; }
.project-featured-bar { background: var(--bg-2); height: 8px; border-radius: 100px; overflow: hidden; margin-bottom: 10px; }
.project-featured-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); border-radius: 100px; }
.project-featured-stats { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.project-featured-stats strong { color: var(--text); font-weight: 800; }
.project-featured-meta { display: flex; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.project-featured-meta span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.project-featured-meta svg { color: var(--brand); opacity: 0.7; }
.project-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  width: fit-content;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.project-featured-btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.project-featured-btn svg { transition: transform var(--transition); }
.project-featured-btn:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════════════════════════════════════
   Impact Stats Section (Trust Strip Style — Reference Design)
   ══════════════════════════════════════════════════════════════════ */
.impact-section {
  background: var(--accent, #1a3a5c);
  color: #fff;
  padding: 46px 0 40px;
}
.impact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.impact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.impact-item {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 22px;
}
.impact-item:first-child {
  border-left: none;
  padding-left: 0;
}
.impact-num {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--brand);
  display: block;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.impact-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  display: block;
  font-weight: 400;
}
@media (max-width: 900px) {
  .impact-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .impact-item:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
  .impact-row { grid-template-columns: 1fr 1fr; }
  .impact-section { padding: 36px 0; }
}

/* Keep old blue-hero for backward compat */
.blue-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 80px 0;
  color: #fff;
}
.blue-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.bh-label {
  font-size: 12px;
  font-weight: 700;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.bh-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.bh-sub {
  font-size: 16px;
  opacity: .8;
  max-width: 500px;
  line-height: 1.7;
}
.bh-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bh-stat {
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  transition: all var(--transition);
}
.bh-stat:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.bh-stat.wide { grid-column: 1 / -1; }
.bh-stat-num { font-size: 30px; font-weight: 800; line-height: 1; }
.bh-stat-label { font-size: 13px; opacity: .7; margin-top: 6px; font-weight: 500; }
.bh-live {
  background: #fff;
  color: var(--brand);
  border-radius: 3px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  box-shadow: var(--shadow-md);
}
.bh-live::before { content: '●'; font-size: 10px; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ══════════════════════════════════════════════════════════════════
   How It Works (Redesigned — Card Grid)
   ══════════════════════════════════════════════════════════════════ */
.hiw-section {
  padding: 56px 0;
  background: var(--bg);
}
.hiw-header {
  text-align: center;
  margin-bottom: 32px;
}
.hiw-header .sec-label { margin-bottom: 6px; }
.hiw-header .sec-title { margin-bottom: 0; }
.hiw-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.6;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.hiw-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.hiw-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.hiw-step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 40px;
  font-weight: 800;
  color: var(--bg-2);
  line-height: 1;
  pointer-events: none;
}
.hiw-icon {
  width: 56px;
  height: 56px;
  border-radius: 3px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
}
.hiw-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.hiw-card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* Keep old .how-section styles for other pages that might use it */
.how-section {
  position: relative;
  overflow: hidden;
  background: var(--text);
  padding: 80px 0;
  color: #fff;
}
.how-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .12;
  filter: grayscale(1);
}
.how-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.how-label { font-size: 13px; opacity: .6; font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.how-title { font-size: 32px; font-weight: 800; margin-bottom: 44px; letter-spacing: -0.3px; }
.how-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.how-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-2);
}
.how-step:last-of-type { border: none; }
.how-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-step-icon svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.how-step-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.how-step-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.how-card-btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius);
  border: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  transition: all var(--transition);
}
.how-card-btn.orange { background: var(--brand); color: #fff; }
.how-card-btn.blue { background: var(--accent); color: #fff; }
.how-card-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════════
   Testimonials
   ══════════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--bg); padding: 56px 0; }
.test-tabs { display: flex; gap: 6px; margin-bottom: 24px; }
.test-tab {
  padding: 10px 24px;
  border-radius: 3px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.test-tab.active { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.test-tab:not(.active) { background: var(--brand-light); color: var(--brand); }
.test-tab:not(.active):hover { background: var(--brand-mid); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.test-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.test-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.test-quote-mark {
  font-size: 32px;
  color: var(--brand-mid);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}
.test-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.test-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-2);
}
.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}
.test-name { font-size: 14px; font-weight: 700; color: var(--text); }
.test-role { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ══════════════════════════════════════════════════════════════════
   Why Us
   ══════════════════════════════════════════════════════════════════ */
.why-section { padding: 56px 0; }
.why-header { text-align: center; margin-bottom: 32px; }
.why-subtitle { font-size: 14px; color: var(--text-2); margin-top: 8px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition);
}
.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.8; }
.why-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.why-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════
   Awards / Partners
   ══════════════════════════════════════════════════════════════════ */
.awards-section { padding: 40px 0 56px; background: var(--bg); }
.awards-label { text-align: center; font-size: 13px; color: var(--text-3); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.awards-title { text-align: center; font-size: 26px; font-weight: 800; margin-bottom: 36px; color: var(--text); }
.awards-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.awards-divider::before,
.awards-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.awards-divider span {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.awards-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.award-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  opacity: .6;
  transition: all var(--transition);
  letter-spacing: .5px;
}
.award-logo:hover { opacity: 1; color: var(--text); }

/* ══════════════════════════════════════════════════════════════════
   Newsletter Section
   ══════════════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: 56px 0;
  background: var(--brand-light);
  text-align: center;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}
.newsletter-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand);
}
.newsletter-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.newsletter-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 22px;
  line-height: 1.7;
}
.newsletter-privacy {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 12px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.newsletter-form input[type="email"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.newsletter-form button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.newsletter-form button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.newsletter-message {
  font-size: 13px;
  margin-top: 14px;
  font-weight: 600;
}
.newsletter-message.success { color: var(--green); }
.newsletter-message.error { color: var(--red); }

/* ══════════════════════════════════════════════════════════════════
   Campaign Detail Page
   ══════════════════════════════════════════════════════════════════ */
.detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}
.detail-gallery { position: relative; margin-bottom: 18px; }
.detail-main-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-tax-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--green);
  color: #fff;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.detail-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  border: none;
  transition: .2s;
}
.detail-dot.active { background: #fff; width: 20px; border-radius: 4px; }
.detail-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.story-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}
.story-tab {
  padding: 12px 22px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.story-tab.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-badge {
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  line-height: 1.2;
}
.story-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 14px;
}
.story-content strong { color: var(--text); }
.story-content h1,
.story-content h2,
.story-content h3,
.story-content h4,
.story-content h5,
.story-content h6 {
  color: var(--text);
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.story-content h1 { font-size: 24px; }
.story-content h2 { font-size: 20px; }
.story-content h3 { font-size: 18px; }
.story-content h4 { font-size: 16px; }
.story-content ul,
.story-content ol {
  margin-bottom: 14px;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}
.story-content ul { list-style-type: disc; }
.story-content ol { list-style-type: decimal; }
.story-content li { margin-bottom: 4px; }
.story-content a {
  color: var(--brand);
  text-decoration: underline;
}
.story-content a:hover { opacity: 0.8; }
.story-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 14px 0;
}
.story-content blockquote {
  border-left: 4px solid var(--brand);
  padding-left: 18px;
  margin: 18px 0;
  color: var(--text-2);
  font-style: italic;
}
.story-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.story-content table th,
.story-content table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}
.story-content table th {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--text);
}
.story-content em { font-style: italic; }
.story-content u { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════
   Donation Box
   ══════════════════════════════════════════════════════════════════ */
.donation-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  position: sticky;
  top: 86px;
  box-shadow: var(--shadow-md);
}
.donor-info { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.donor-avatar {
  width: 42px;
  height: 42px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.donor-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.donor-text { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.donor-text strong { color: var(--text); font-size: 13px; }
.donor-assure {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.donor-loc-sep {
  color: var(--text-3);
  margin: 0 2px;
}
.donor-loc-inline {
  color: var(--text-3);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.donor-loc {
  color: var(--text-3);
  font-size: 11px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.raised-section { margin-bottom: 16px; }
.raised-amount { font-size: 30px; font-weight: 800; color: var(--text); line-height: 1; }
.raised-goal { font-size: 12px; color: var(--text-2); margin-top: 4px; margin-bottom: 12px; }
.pbar {
  height: 8px;
  background: var(--bg-2);
  border-radius: 100px;
  overflow: hidden;
}
.pbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 100px;
  transition: width 1s ease;
  min-width: 2px;
}
.raised-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.raised-donors { font-size: 16px; font-weight: 800; color: var(--text); }
.raised-donors-label {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.raised-donors-label::before { content: '\2665'; font-size: 11px; }
.preset-amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-bottom: 12px; margin-top: 6px; }
.preset-btn {
  padding: 11px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.preset-btn:hover { border-color: var(--brand); color: var(--brand); }
.preset-btn.active,
.preset-btn.popular { background: var(--brand); color: #fff; border-color: var(--brand); }
.popular-label {
  font-size: 9px;
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--brand);
  padding: 0 4px;
  font-weight: 700;
  white-space: nowrap;
}
.preset-wrap { position: relative; margin-top: 6px; }
.amount-input-row {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color var(--transition);
}
.amount-input-row:focus-within { border-color: var(--brand); }
.currency-sel {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  border-right: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: var(--bg);
  white-space: nowrap;
}
.amount-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
}
.donate-now-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16,185,129,0.25);
}
.donate-now-btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.donate-share-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--brand-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition);
}
.donate-share-btn:hover { background: var(--brand-mid); }
.donate-actions { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.donate-actions .donate-now-btn { flex: 1; width: auto; }
.via-section { margin-top: 16px; }
.via-badge { display: flex; align-items: center; }
.via-badge img { max-height: 58px; width: auto; object-fit: contain; }
.verify-link {
  text-align: center;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: underline;
}
.min-amount-msg {
  font-size: 11px;
  color: var(--red);
  margin-top: 4px;
  display: none;
}
.min-amount-msg.show { display: block; }

/* ══════════════════════════════════════════════════════════════════
   Payment Page
   ══════════════════════════════════════════════════════════════════ */
.payment-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.pay-left,
.pay-right {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pay-type-toggle {
  display: flex;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 22px;
  background: var(--bg);
}
.pay-type-btn {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.pay-type-btn.active { background: var(--brand); color: #fff; }
.pay-type-btn:not(.active) { background: transparent; color: var(--brand); }
.pay-info-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 18px;
}
.pay-info-text a { color: var(--brand); text-decoration: underline; }
.pay-support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.pay-support-val { display: flex; align-items: center; gap: 8px; color: var(--brand); }
.pay-summary-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.pay-summary-details {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--bg);
  display: block;
}
.pay-summary-details.open { display: block; }
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}
.pay-summary-row:last-child { margin-bottom: 0; font-weight: 700; }
.pay-right h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.pay-field {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  outline: none;
  transition: all var(--transition);
}
.pay-field:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.pay-field.error { border-color: var(--red); }
.pay-field-error {
  font-size: 12px;
  color: var(--red);
  margin-top: -10px;
  margin-bottom: 14px;
  display: none;
}
.pay-field-error.show { display: block; }
.pay-error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  max-width: 820px;
  font-size: 14px;
  text-align: center;
}
.pay-success-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  max-width: 820px;
  font-size: 14px;
  text-align: center;
}
.phone-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color var(--transition);
}
.phone-row:focus-within { border-color: var(--brand); }
.phone-row.error { border-color: var(--red); }
.phone-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid var(--border);
  height: 100%;
  background: var(--bg);
}
.phone-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 14px;
  font-size: 14px;
  font-family: inherit;
}
.pay-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  cursor: pointer;
}
.pay-check-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}
.pay-terms {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.6;
}
.pay-terms a { color: var(--brand); }
.pay-secure {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pay-submit {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.pay-submit:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════ */
footer {
  background: #111827;
  color: #d1d5db;
  padding: 56px 0 28px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: block;
}
.footer-logo-text span { color: var(--brand); }
.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,.5);
}
.footer-social { display: flex; gap: 8px; }
.fsoc {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.fsoc:hover { background: var(--brand); color: #fff; }

/* ── Footer columns ── */
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col-subhead {
  margin-top: 24px !important;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links li {
  margin: 0;
  padding: 0;
}
.footer-col a,
.footer-links a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  padding: 6px 0;
  transition: all var(--transition);
}
.footer-col a:hover,
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-view-all {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.36) !important;
}
.footer-view-all:hover { color: rgba(255,255,255,.75) !important; }
.footer-link-dim {
  opacity: .3 !important;
  pointer-events: none;
  cursor: default;
}

/* ── Footer brand column ── */
.footer-brand-col { display: flex; flex-direction: column; }
.footer-logo-link { display: inline-block; margin-bottom: 14px; }
.footer-logo-img-el { height: 38px; object-fit: contain; }
.footer-logo-dark { filter: brightness(0) invert(1); opacity: .85; }

/* ── Footer contact list ── */
.footer-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,.4);
  width: 16px;
}
.footer-contact-link {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.footer-contact-link:hover { color: #fff; }
.footer-contact-text {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

/* ── Footer contact rows ── */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* ── Footer bottom ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-style: italic;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  padding: 5px 12px;
  border-radius: 3px;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   Toast
   ══════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  z-index: 99999;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

/* ══════════════════════════════════════════════════════════════════
   Back Button
   ══════════════════════════════════════════════════════════════════ */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  margin-bottom: 10px;
  text-decoration: none;
}
.back-btn:hover { color: var(--brand); }
.back-btn svg { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   Updates Section (Campaign Detail)
   ══════════════════════════════════════════════════════════════════ */
.updates-list { list-style: none; }
.update-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--bg-2);
}
.update-item:last-child { border-bottom: none; }
.update-date {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 6px;
  font-weight: 600;
}
.update-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.update-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 12px;
}
.update-body p { margin-bottom: 8px; }
.update-body p:last-child { margin-bottom: 0; }
.update-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.update-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}
.update-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Tab Content Toggle ── */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ══════════════════════════════════════════════════════════════════
   404 Error Page
   ══════════════════════════════════════════════════════════════════ */
.error-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 72px 24px;
  text-align: center;
}
.error-404-container { max-width: 480px; }
.error-404-code {
  font-size: clamp(80px, 15vw, 140px);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}
.error-404-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.error-404-message {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.error-404-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.error-404-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════════
   Page Hero
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 64px 20px 56px;
  text-align: center;
}
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   Content Pages
   ══════════════════════════════════════════════════════════════════ */
.content-page { max-width: 800px; margin: 0 auto; }
.content-block { margin-bottom: 44px; }
.content-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.content-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ── Values Grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Team Page ── */
.team-section { padding: 56px 0; background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
  border-color: transparent;
}
.team-card-top {
  background: linear-gradient(135deg, var(--brand-light), var(--accent-light));
  padding: 28px 24px 0;
  display: flex;
  justify-content: center;
}
.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translateY(28px);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body {
  padding: 40px 24px 24px;
  text-align: center;
}
.team-name { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; letter-spacing: -0.2px; }
.team-role { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.team-bio {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bg-2);
}
.team-social-link {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}
.team-social-link:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.team-empty {
  text-align: center;
  padding: 64px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.team-empty h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 16px 0 8px; }
.team-empty p { font-size: 14px; color: var(--text-2); }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .team-section { padding: 40px 0; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; max-width: 360px; margin: 0 auto; }
  .team-avatar { width: 80px; height: 80px; }
  .team-card-body { padding: 36px 20px 20px; }
}

/* ── FAQ Accordion ── */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: all var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}
.faq-question:hover { background: var(--bg); }
.faq-arrow {
  font-size: 18px;
  color: var(--text-3);
  transition: transform var(--transition);
}
.faq-arrow.open { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { font-size: 14px; line-height: 1.8; color: var(--text-2); }

/* ── Pagination ── */
.pagination-wrap { margin-top: 44px; display: flex; justify-content: center; }
.pagination-wrap nav { display: flex; gap: 4px; border: none; background: none; position: static; }
.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all var(--transition);
}
.pagination-wrap a:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand);
}
.pagination-wrap span[aria-current="page"] {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-3);
  font-size: 15px;
}

/* ══════════════════════════════════════════════════════════════════
   Donor Auth & Dashboard
   ══════════════════════════════════════════════════════════════════ */
.donor-auth-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 20px;
  background: var(--bg);
}
.donor-auth-container { width: 100%; max-width: 440px; }
.donor-auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  border: 1px solid var(--border);
}
.donor-auth-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px; }
.donor-auth-subtitle { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
.donor-auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}
.donor-auth-error ul { list-style: none; padding: 0; margin: 0; }
.donor-auth-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 20px;
}
.donor-auth-form .form-group { margin-bottom: 20px; }
.donor-auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.donor-auth-form input {
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all var(--transition);
}
.donor-auth-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}
.donor-auth-btn {
  width: 100%;
  padding: 13px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.donor-auth-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.donor-auth-footer {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-2);
}
.donor-auth-footer a { color: var(--brand); font-weight: 600; }
.donor-auth-footer a:hover { text-decoration: underline; }

/* ── Donor Dashboard ── */
.donor-dashboard-section {
  padding: 44px 20px 80px;
  background: var(--bg);
  min-height: 60vh;
}
.donor-dashboard-container { max-width: 900px; margin: 0 auto; }
.donor-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.donor-dashboard-title { font-size: 26px; font-weight: 800; letter-spacing: -0.3px; }
.donor-dashboard-subtitle { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.donor-dashboard-actions { display: flex; gap: 10px; align-items: center; }
.donor-btn-outline {
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.donor-btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.donor-btn-logout { color: #b91c1c; border-color: #fecaca; }
.donor-btn-logout:hover { background: #fef2f2; border-color: #b91c1c; }
.donor-btn-primary {
  display: inline-block;
  padding: 11px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
}
.donor-btn-primary:hover { background: var(--brand-dark); }

/* ── Stats Grid ── */
.donor-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.donor-stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donor-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.donor-stat-value { font-size: 24px; font-weight: 800; color: var(--text); }

/* ── Donation History Table ── */
.donor-history-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  padding: 28px;
}
.donor-history-title { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.donor-table-wrap { overflow-x: auto; }
.donor-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.donor-table th {
  text-align: left;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.donor-table td {
  padding: 14px;
  border-bottom: 1px solid var(--bg-2);
}
.donor-table tr:last-child td { border-bottom: none; }
.donor-table tr:hover td { background: var(--bg); }
.donor-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}
.donor-status-completed { background: #f0fdf4; color: #166534; }
.donor-status-pending { background: #fffbeb; color: #92400e; }
.donor-status-failed { background: #fef2f2; color: #b91c1c; }
.donor-pagination { margin-top: 22px; }
.donor-empty-state { text-align: center; padding: 44px 20px; color: var(--text-3); }
.donor-empty-state p { margin-bottom: 18px; }

/* ── Donor Responsive ── */
@media (max-width: 768px) {
  .donor-stats-grid { grid-template-columns: 1fr; }
  .donor-dashboard-header { flex-direction: column; align-items: flex-start; }
  .donor-auth-card { padding: 28px 22px; }
}

/* ══════════════════════════════════════════════════════════════════
   Quick Donate Modal
   ══════════════════════════════════════════════════════════════════ */
.qd-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qd-overlay.open { display: flex; }
.qd-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: qdSlideIn .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes qdSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.qd-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-3);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition);
  border-radius: 50%;
}
.qd-close:hover { color: var(--text); background: var(--bg-2); }
.qd-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 22px;
  color: var(--text);
  text-align: center;
}
.qd-body { display: flex; flex-direction: column; gap: 14px; }
.qd-presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.qd-preset-btn {
  padding: 13px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.qd-preset-btn:hover { border-color: var(--brand); color: var(--brand); }
.qd-preset-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.qd-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  text-align: center;
  transition: all var(--transition);
}
.qd-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.qd-error {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  text-align: center;
  min-height: 0;
}
.qd-error:empty { display: none; }
.qd-submit {
  width: 100%;
  padding: 15px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.qd-submit:hover { background: var(--brand-dark); transform: translateY(-1px); }
.qd-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
  .qd-modal { max-width: 100%; border-radius: var(--radius-lg); padding: 26px 20px; }
  .qd-preset-btn { padding: 11px 6px; font-size: 14px; }
}

/* ── Quick Donate Toggle & Direct Payment ── */
.qd-toggle-wrap {
  display: flex;
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
}
.qd-toggle-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.qd-toggle-btn.active {
  background: var(--white);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.qd-panel { display: none; }
.qd-panel.active { display: block; }
.qd-direct-section { text-align: center; }
.qd-qr-wrap { margin-bottom: 14px; }
.qd-qr-img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  object-fit: contain;
  padding: 8px;
  background: var(--white);
}
.qd-qr-label { font-size: 12px; color: var(--text-3); margin-top: 8px; font-weight: 500; }
.qd-upi-id-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 12px;
}
.qd-section-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; text-align: left; }
.qd-bank-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.qd-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-2);
}
.qd-detail-row:last-child { border-bottom: none; }
.qd-detail-label { font-size: 12px; color: var(--text-3); font-weight: 500; text-align: left; }
.qd-detail-value { font-size: 13px; font-weight: 600; color: var(--text); word-break: break-all; }
.qd-copy-row { display: flex; align-items: center; gap: 8px; }
.qd-copy-btn {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
}
.qd-copy-btn:hover { color: var(--brand); background: var(--bg-2); }
.qd-copy-btn.copied { color: var(--green); }

/* ══════════════════════════════════════════════════════════════════
   Donors List (Campaign Detail)
   ══════════════════════════════════════════════════════════════════ */
.donors-list-section {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.donors-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.donors-list-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.donors-list-title svg { color: var(--brand); }
.donors-list-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 3px;
}
.donors-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.donors-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-2);
}
.donors-list-item:last-child { border-bottom: none; }
.donors-list-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.donors-list-avatar.anonymous { background: var(--bg-2); color: var(--text-3); }
.donors-list-info { flex: 1; min-width: 0; }
.donors-list-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.donors-list-time { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.donors-list-amount { font-size: 14px; font-weight: 700; color: var(--green-dark); white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════
   Mobile Sticky Donate Button
   ══════════════════════════════════════════════════════════════════ */
.mobile-sticky-donate {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.mobile-sticky-presets {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-sticky-presets::-webkit-scrollbar { display: none; }
.ms-preset-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.ms-preset-btn:hover { border-color: var(--brand); }
.ms-preset-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.ms-custom-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 90px;
  transition: border-color var(--transition);
}
.ms-custom-wrap:focus-within { border-color: var(--brand); }
.ms-currency { padding: 0 6px 0 8px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.ms-custom-input {
  border: none;
  outline: none;
  width: 60px;
  padding: 8px 8px 8px 0;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  background: transparent;
  -moz-appearance: textfield;
}
.ms-custom-input::-webkit-outer-spin-button,
.ms-custom-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mobile-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-sticky-info { display: flex; flex-direction: column; }
.mobile-sticky-raised { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.2; }
.mobile-sticky-goal { font-size: 11px; color: var(--text-3); }
.mobile-sticky-btn {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(16,185,129,0.25);
}
.mobile-sticky-btn:hover { background: var(--green-dark); }
.mobile-sticky-btn.disabled { opacity: .5; pointer-events: none; }

@media (max-width: 900px) {
  .mobile-sticky-donate { display: block; }
  .detail-wrap { padding-bottom: 130px; }
}

/* ── Donors list mobile ── */
@media (max-width: 640px) {
  .donors-list-section { margin-top: 20px; padding-top: 18px; }
  .donors-list-avatar { width: 34px; height: 34px; font-size: 12px; }
  .donors-list-item { gap: 10px; padding: 10px 0; }
  .donors-list-name { font-size: 13px; }
  .donors-list-amount { font-size: 13px; }
  .donors-list-title { font-size: 15px; }
}


/* ══════════════════════════════════════════════════════════════════
   Gallery Sections — Moments of Mercy / Stories / Mosaic
   ══════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   Field Ledger Gallery (Reference Design — Polaroid Frame Style)
   ══════════════════════════════════════════════════════════════════ */
.ledger-section,
.story-cards-section,
.mosaic-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-cards-section { background: var(--white); border-top: none; }
.mosaic-section { background: var(--bg); }

.ledger-head {
  margin-bottom: 36px;
}
.ledger-subtitle {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 600px;
}

/* Grid layout */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 18px;
}
.ledger-grid--stories {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
}
.ledger-grid--mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
}

/* Ledger item — polaroid-frame style */
.ledger-item {
  position: relative;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 8px 22px -14px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ledger-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35);
  z-index: 5;
}

/* Size variants */
.ledger-item--big {
  grid-column: span 2;
  grid-row: span 2;
}
.ledger-item--tall {
  grid-row: span 2;
}
.ledger-item--wide {
  grid-column: span 2;
}

/* Frame and image */
.ledger-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.ledger-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ledger-item:hover .ledger-frame img {
  transform: scale(1.05);
}

/* Stamp badge */
.ledger-stamp {
  position: absolute;
  top: -4px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(2deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  z-index: 3;
}

/* Caption overlay on hover */
.ledger-cap {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: rgba(26,58,92,0.88);
  color: #fff;
  font-size: 11.5px;
  padding: 8px 10px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ledger-item:hover .ledger-cap {
  opacity: 1;
  transform: translateY(0);
}

/* More button */
.ledger-more {
  text-align: center;
  margin-top: 40px;
}
.ledger-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1.5px solid var(--text);
  color: var(--text);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.ledger-more-btn:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Gallery Bridge ── */
.gallery-bridge { padding: 64px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bridge-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.bridge-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; color: var(--brand);
}
.bridge-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 16px; letter-spacing: -0.3px; line-height: 1.3; }
.bridge-text { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 0; }

/* Auto-Scrolling Image Strip */
.scroll-strip-section {
  padding: 64px 0;
  background: var(--white);
  overflow: hidden;
}
.scroll-strip-section .sec-inner { margin-bottom: 36px; }
.scroll-strip-header { text-align: center; }
.scroll-strip-wrapper { overflow: hidden; padding: 8px 0; }
.scroll-strip-wrapper--tilt { transform: rotate(-1.5deg); margin-bottom: 12px; }
.scroll-strip-wrapper--tilt-reverse { transform: rotate(1.5deg); }
.scroll-strip-track { display: flex; gap: 14px; animation: scrollStripLeft 50s linear infinite; width: max-content; }
.scroll-strip-track--reverse { animation: scrollStripRight 55s linear infinite; }
.scroll-strip-track:hover { animation-play-state: paused; }
@keyframes scrollStripLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollStripRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.scroll-strip-item {
  flex-shrink: 0; width: 260px; height: 170px;
  overflow: hidden; position: relative;
  background: var(--white); padding: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
}
.scroll-strip-item:hover { transform: scale(1.05); z-index: 10; box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.scroll-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive Gallery ── */
@media (max-width: 900px) {
  .ledger-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .ledger-grid--stories { grid-template-columns: repeat(2, 1fr); }
  .ledger-grid--mosaic { grid-template-columns: repeat(2, 1fr); }
  .ledger-item--big { grid-column: span 2; }
  .scroll-strip-item { width: 220px; height: 150px; }
}
@media (max-width: 640px) {
  .ledger-section, .story-cards-section, .mosaic-section { padding: 56px 0; }
  .ledger-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 12px; }
  .ledger-grid--stories { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .ledger-item { padding: 6px; }
  .ledger-stamp { font-size: 8px; padding: 2px 6px; }
  .ledger-cap { font-size: 10px; padding: 6px 8px; }
  .scroll-strip-item { width: 180px; height: 120px; padding: 4px; }
  .scroll-strip-wrapper--tilt { transform: rotate(-1deg); }
  .scroll-strip-wrapper--tilt-reverse { transform: rotate(1deg); }
}

/* ══════════════════════════════════════════════════════════════════ */
/* Keep legacy stories-section for backward compat if needed */
.stories-text-side {
  display: flex;
  align-items: center;
}
.stories-text-inner {
  max-width: 460px;
}
.stories-title {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-top: 10px;
}
.stories-desc {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 16px;
}
.stories-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stories-stat-item {
  text-align: left;
}
.stories-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.stories-stat-label {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
}
.stories-quote {
  margin-top: 28px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--brand);
  position: relative;
}
.stories-quote svg {
  position: absolute;
  top: 12px;
  left: 16px;
  color: var(--brand);
}
.stories-quote p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  font-style: italic;
  padding-left: 4px;
}
.stories-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  background: var(--accent);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.stories-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stories-cta-btn svg {
  transition: transform var(--transition);
}
.stories-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Stories Creative Grid (left side) */
.stories-grid-side {
  position: relative;
}
.stories-creative-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 140px 140px 140px;
  gap: 12px;
}
.stories-grid-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}
.stories-grid-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
  z-index: 2;
}
.stories-grid-item--pos0 {
  grid-column: 1 / 8;
  grid-row: 1 / 2;
  border-radius: var(--radius-xl);
}
.stories-grid-item--pos1 {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  border-radius: var(--radius-xl);
}
.stories-grid-item--pos2 {
  grid-column: 1 / 5;
  grid-row: 2 / 4;
  border-radius: var(--radius-xl);
}
.stories-grid-item--pos3 {
  grid-column: 5 / 8;
  grid-row: 2 / 3;
}
.stories-grid-item--pos4 {
  grid-column: 5 / 13;
  grid-row: 3 / 4;
}
.stories-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.stories-grid-item:hover img {
  transform: scale(1.08);
}
.stories-grid-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
}
.stories-grid-caption p {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* ── Mosaic Section ── */
.mosaic-section { padding: 56px 0; background: var(--bg); }
.mosaic-header { text-align: center; margin-bottom: 32px; }
.mosaic-subtitle {
  color: var(--text-2); font-size: 15px; margin-top: 10px;
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; }
.mosaic-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all 0.3s; }
.mosaic-item--tall { grid-row: span 2; }
.mosaic-item--wide { grid-column: span 2; }
.mosaic-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-item-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0; transition: opacity 0.3s;
}
.mosaic-item:hover .mosaic-item-overlay { opacity: 1; }
.mosaic-item-overlay span { color: #fff; font-size: 12px; font-weight: 500; }

/* ── Gallery Sections Responsive ── */
/* Tablet (max 900px) */
@media (max-width: 900px) {
  /* Gallery sections - responsive (handled in gallery CSS block) */

  /* Stories section - stack vertically, images on top */
  .stories-section { padding: 64px 0; }
  .stories-split { grid-template-columns: 1fr; gap: 36px; }
  .stories-grid-side { order: -1; }
  .stories-text-side { justify-content: center; }
  .stories-text-inner { max-width: 100%; text-align: center; }
  .stories-stats { justify-content: center; }
  .stories-quote { text-align: left; }
  .stories-cta-btn { margin: 28px auto 0; display: inline-flex; }
  .stories-creative-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 160px 160px;
    gap: 10px;
  }
  .stories-grid-item--pos0 { grid-column: 1 / 4; grid-row: 1 / 2; }
  .stories-grid-item--pos1 { grid-column: 4 / 7; grid-row: 1 / 2; }
  .stories-grid-item--pos2 { grid-column: 1 / 3; grid-row: 2 / 3; }
  .stories-grid-item--pos3 { grid-column: 3 / 5; grid-row: 2 / 3; }
  .stories-grid-item--pos4 { grid-column: 5 / 7; grid-row: 2 / 3; }

  .mosaic-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
  /* Gallery sections mobile (handled in gallery CSS block) */

  /* Gallery Bridge mobile */
  .gallery-bridge { padding: 40px 0; }
  .bridge-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .bridge-icon svg { width: 22px; height: 22px; }
  .bridge-title { font-size: 18px; margin-bottom: 8px; }
  .bridge-text { font-size: 13px; margin-bottom: 18px; }

  /* Stories section mobile */
  .stories-section { padding: 48px 0; }
  .stories-split { gap: 28px; }
  .stories-title { font-size: 26px; }
  .stories-desc { font-size: 14px; }
  .stories-creative-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px;
    gap: 8px;
  }
  .stories-grid-item--pos0 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .stories-grid-item--pos1 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .stories-grid-item--pos2 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .stories-grid-item--pos3 { display: none; }
  .stories-grid-item--pos4 { display: none; }
  .stories-grid-item { border-radius: var(--radius); }
  .stories-stats { gap: 20px; margin-top: 20px; padding-top: 18px; }
  .stories-stat-num { font-size: 22px; }
  .stories-stat-label { font-size: 12px; }
  .stories-quote { margin-top: 20px; padding: 16px; }
  .stories-quote svg { width: 18px; height: 18px; top: 10px; left: 12px; }
  .stories-quote p { font-size: 13px; }
  .stories-cta-btn { padding: 11px 22px; font-size: 13px; margin-top: 22px; }

  /* Mosaic mobile */
  .mosaic-section { padding: 48px 0; }
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
  .mosaic-item--wide { grid-column: span 2; }
}

/* Small phones (max 400px) */
@media (max-width: 400px) {
  .stories-section { padding: 36px 0; }
  .stories-title { font-size: 22px; }
  .stories-creative-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 150px 130px;
  }
  .stories-grid-item--pos0 { grid-column: 1; grid-row: 1 / 2; }
  .stories-grid-item--pos1 { grid-column: 1; grid-row: 2 / 3; }
  .stories-grid-item--pos2 { display: none; }
  .stories-stats { flex-direction: column; gap: 12px; }
}

/* ── Gallery Lazy Loading ── */
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-2);
}
.gallery-img-preloader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 50%, #f5f5f5 100%);
  background-size: 200% 200%;
  animation: galleryShimmer 1.5s ease-in-out infinite;
  z-index: 2;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.gallery-img-preloader.loaded { opacity: 0; visibility: hidden; }
@keyframes galleryShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.gallery-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,0,0,0.08);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: gallerySpin 0.8s linear infinite;
}
@keyframes gallerySpin { to { transform: rotate(360deg); } }
.gallery-lazy {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gallery-lazy.gallery-loaded { opacity: 1; transform: scale(1); }

/* ── Gallery Lightbox ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}
.lightbox-caption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Lightbox responsive */
@media (max-width: 768px) {
  .lightbox-container { padding: 50px 16px; }
  .lightbox-img { max-width: 95vw; max-height: 70vh; border-radius: 3px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lightbox-caption { font-size: 13px; margin-top: 12px; padding: 0 16px; }
  .lightbox-counter { bottom: 14px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════════
   Responsive Breakpoints
   ══════════════════════════════════════════════════════════════════ */

/* ── Tablet: max-width 900px ── */
@media (max-width: 900px) {
  .campaigns-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .project-featured { grid-template-columns: 1fr; }
  .project-featured-img { min-height: 220px; }
  .project-featured-content { padding: 28px 24px; }
  .how-cards { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .blue-hero-inner { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .detail-wrap { grid-template-columns: 1fr; gap: 20px; padding: 20px 16px; }
  .detail-main-img { height: 320px; }
  .donation-box { position: static; }
  .payment-wrap { grid-template-columns: 1fr; }
  .nav-link { padding: 8px 10px; font-size: 13px; }
  .nav-cta-desktop { padding: 9px 16px; font-size: 13px; }
  .nav-login { padding: 8px 12px; font-size: 13px; }
  .hero-img-wrap { flex: 0 0 320px; height: 260px; }
  .hero-text { max-width: 400px; padding: 32px 0; }
  .hero-title { font-size: 28px; }
  .hero-slide-content { gap: 24px; }
  .nav-search { display: none; }
  .mission-strip-btn { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .projects-stats-bar { gap: 16px; padding: 14px 18px; }
  .projects-stat-item { font-size: 12px; }
}

/* ── Small Tablet: max-width 768px ── */
@media (max-width: 768px) {
  .nav-links, .nav-search, .nav-spacer, .nav-login, .nav-cta-desktop { display: none; }
  .nav-mobile-actions { display: flex; }
  .nav-ham { display: flex; }
  .nav-cta-mobile {
    display: inline-flex;
    background: var(--brand);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all var(--transition);
  }
  .nav-cta-mobile:hover { background: var(--brand-dark); }
  .nav-wrap { overflow: visible; }
}

/* ── Mobile: max-width 640px ── */
@media (max-width: 640px) {
  .campaigns-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-search, .nav-spacer, .nav-login, .nav-cta-desktop { display: none; }
  .nav-mobile-actions { display: flex; }
  .nav-ham { display: flex; }
  .nav-wrap { padding: 0 16px; overflow: visible; }
  .hero-img-wrap { display: none; }
  .hero-text { max-width: 100%; padding: 28px 0; }
  .hero-slide-content { padding: 0 16px; gap: 0; flex-direction: column; }
  .hero-slide { min-height: 280px; }
  .hero-title { font-size: 24px; line-height: 1.2; word-wrap: break-word; overflow-wrap: break-word; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-tag { font-size: 11px; padding: 5px 10px; margin-bottom: 10px; }
  .hero-donate-btn { padding: 12px 24px; font-size: 14px; }
  .carousel-btn { width: 34px; height: 34px; font-size: 16px; }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }
  .carousel-dots { bottom: 12px; }
  .impact-section { padding: 44px 0; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .impact-card { padding: 20px 16px; }
  .impact-card-num { font-size: 24px; }
  .impact-title { font-size: 22px; }
  .hiw-section { padding: 44px 0; }
  .hiw-grid { grid-template-columns: 1fr; gap: 14px; }
  .hiw-card { padding: 24px 20px; }
  .bh-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-inner { padding: 0 16px; }
  footer { padding: 36px 0 20px; }
  .footer-logo-text { font-size: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-badges { justify-content: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"],
  .newsletter-form button { width: 100%; }
  .newsletter-section { padding: 44px 0; }
  .donation-box { position: static; padding: 18px; }
  .sec-inner { padding: 0 16px; }
  section { padding: 40px 0; }
  .mission-strip-inner { flex-direction: column; text-align: center; gap: 16px; padding: 22px 16px; }
  .mission-strip-icon { margin: 0 auto; }
  .mission-strip-text { max-width: 100%; }
  .mission-strip-btn { display: none; }
  .campaigns-section { padding: 40px 0; }
  .campaigns-more-btn { padding: 11px 22px; font-size: 13px; }
  .projects-section { padding: 40px 0; }
  .projects-filter-bar { gap: 6px; }
  .projects-filter-btn { padding: 7px 14px; font-size: 12px; }
  .card-img { height: 180px; }
  .project-featured { grid-template-columns: 1fr; }
  .project-featured-img { min-height: 200px; }
  .project-featured-content { padding: 24px 20px; }
  .project-featured-title { font-size: 18px; }
  .testimonials-section { padding: 44px 0; }
  .test-tabs { order: 2; width: 100%; justify-content: flex-start; overflow-x: auto; }
  .test-tab { padding: 8px 16px; font-size: 13px; }
  .awards-section { padding: 36px 0 44px; }
  .detail-wrap { padding: 16px 12px; gap: 16px; }
  .detail-main-img { height: 220px; border-radius: var(--radius); }
  .detail-title { font-size: 18px; margin-bottom: 12px; }
  .detail-gallery { margin-bottom: 12px; }
  .story-tabs { margin-bottom: 14px; }
  .story-tab { padding: 10px 16px; font-size: 13px; }
  .story-content p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }
  .raised-amount { font-size: 24px; }
  .raised-donors { font-size: 14px; }
  .preset-amounts { gap: 6px; }
  .preset-btn { padding: 9px 6px; font-size: 12px; }
  .donate-now-btn { padding: 12px; font-size: 13px; }
  .via-options { gap: 6px; }
  .via-opt { padding: 8px 6px; font-size: 10px; }
  .donor-info { margin-bottom: 14px; gap: 10px; }
  .donor-avatar { width: 36px; height: 36px; font-size: 12px; }
  .back-btn { font-size: 13px; margin-bottom: 8px; }
  .payment-wrap { padding: 16px 12px; }
  .update-item { padding: 14px 0; }
}

/* ── Extra Small Mobile: max-width 400px ── */
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand-col { grid-column: auto; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-links a { padding: 5px 0; }
}

/* ── Nav Active State ── */
.nav-link.active {
  color: var(--brand);
  font-weight: 600;
}

/* ── Mobile Navigation ── */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  display: block;
  padding: 12px 16px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}
.nav-mobile-link:hover,
.nav-mobile-link.active {
  background: var(--brand-light);
  color: var(--brand);
}
.nav-mobile-cta {
  display: block;
  margin-top: 12px;
  padding: 13px 16px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
}
.nav-mobile-cta:hover { background: var(--brand-dark); }

/* ══════════════════════════════════════════════════════════════════
   Blog Pages
   ══════════════════════════════════════════════════════════════════ */
.blog-featured { margin-bottom: 36px; }
.blog-featured-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-featured-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.blog-featured-img { height: 280px; overflow: hidden; background: var(--bg-2); }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-3); }
.blog-featured-content { padding: 28px 28px 28px 0; }
.blog-featured-title { font-size: 22px; font-weight: 800; color: var(--text); margin: 8px 0 12px; line-height: 1.3; letter-spacing: -0.3px; }
.blog-featured-excerpt { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.blog-category { display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; background: var(--brand-light); padding: 4px 10px; border-radius: 3px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

.blog-home-section { padding: 56px 0; background: var(--bg); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.blog-card-img { height: 180px; overflow: hidden; background: var(--bg-2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin: 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 12px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog Article */
.blog-article-wrap { padding: 32px 0 64px; }
.blog-article-header { margin-bottom: 24px; }
.blog-article-title { font-size: clamp(24px, 4vw, 34px); font-weight: 800; color: var(--text); margin: 10px 0 14px; line-height: 1.25; letter-spacing: -0.5px; }
.blog-article-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.blog-article-img { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; max-height: 420px; }
.blog-article-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-body { max-width: 750px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.blog-tag { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--bg-2); padding: 5px 14px; border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════════
   Events Pages
   ══════════════════════════════════════════════════════════════════ */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.event-card--upcoming { border-color: var(--brand-mid); }
.event-card-img { height: 180px; overflow: hidden; background: var(--bg-2); position: relative; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.event-card:hover .event-card-img img { transform: scale(1.05); }
.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  padding: 8px 12px;
  text-align: center;
  line-height: 1;
  box-shadow: var(--shadow-md);
}
.event-date-day { display: block; font-size: 20px; font-weight: 800; }
.event-date-month { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.event-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.event-category { display: inline-block; font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; }
.event-card-title { font-size: 15px; font-weight: 700; color: var(--text); margin: 6px 0 8px; line-height: 1.4; }
.event-card-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-card-info { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--bg-2); }
.event-card-info span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.event-card-info svg { flex-shrink: 0; }

/* Event Detail */
.event-detail-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 4px; }
.event-detail-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.event-detail-item a { color: var(--brand); text-decoration: underline; }
.event-detail-item svg { flex-shrink: 0; color: var(--brand); }
.event-cta-box { margin-top: 32px; padding: 24px; background: var(--brand-light); border-radius: var(--radius-lg); text-align: center; }
.event-cta-box p { font-size: 15px; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.event-register-btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 32px; border-radius: var(--radius); font-size: 14px; font-weight: 700; transition: all var(--transition); }
.event-register-btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.event-contact-box { margin-top: 24px; padding: 20px; background: var(--bg); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.event-contact-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.event-contact-box p { font-size: 14px; color: var(--text-2); margin-bottom: 6px; }
.event-contact-box a { color: var(--brand); }
.event-gallery { margin-top: 32px; }
.event-gallery h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.event-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.event-gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }
.event-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.event-gallery-item:hover img { transform: scale(1.05); }

/* Blog & Events Responsive */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured-link { grid-template-columns: 1fr; }
  .blog-featured-img { height: 220px; }
  .blog-featured-content { padding: 20px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .blog-featured-title { font-size: 18px; }
  .blog-article-title { font-size: 22px; }
  .blog-article-img { max-height: 240px; }
  .event-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════
   Impact Stories — Homepage Section
   ══════════════════════════════════════════════════════════════════ */
.stories-home-section { padding: 56px 0; background: var(--white); }
.stories-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story-home-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.story-home-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.story-home-img { height: 160px; overflow: hidden; background: var(--bg-2); position: relative; }
.story-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.story-home-card:hover .story-home-img img { transform: scale(1.05); }
.story-home-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}
.story-home-body { padding: 16px; }
.story-home-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.story-home-category { font-size: 10px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; background: var(--brand-light); padding: 3px 8px; border-radius: 3px; }
.story-home-helped { font-size: 11px; color: var(--text-3); }
.story-home-headline { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-home-summary { font-size: 13px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-home-location { font-size: 11px; color: var(--text-3); margin-top: 8px; display: flex; align-items: center; gap: 4px; }

/* ══════════════════════════════════════════════════════════════════
   Impact Stories — Dedicated Page (Timeline)
   ══════════════════════════════════════════════════════════════════ */
.stories-timeline { position: relative; padding-left: 140px; }
.stories-timeline::before {
  content: '';
  position: absolute;
  left: 128px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.story-timeline-item { position: relative; margin-bottom: 32px; }
.story-timeline-item:last-child { margin-bottom: 0; }
.story-timeline-date {
  position: absolute;
  left: -140px;
  top: 0;
  width: 110px;
  text-align: right;
  padding-right: 20px;
}
.story-tl-day { display: block; font-size: 24px; font-weight: 800; color: var(--brand); line-height: 1; }
.story-tl-month { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; font-weight: 600; }
.story-tl-time { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.story-timeline-dot {
  position: absolute;
  left: -12px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--brand-mid);
}
.story-timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.story-timeline-card:hover { box-shadow: var(--shadow-md); }
.story-tl-img { height: 240px; overflow: hidden; background: var(--bg-2); }
.story-tl-img img { width: 100%; height: 100%; object-fit: cover; }
.story-tl-content { padding: 20px 24px; }
.story-tl-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.story-tl-category { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.5px; background: var(--brand-light); padding: 3px 10px; border-radius: 3px; }
.story-tl-location, .story-tl-helped { font-size: 12px; color: var(--text-3); }
.story-tl-headline { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: 8px; }
.story-tl-summary { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.story-tl-body { margin-top: 12px; }
.story-tl-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.story-tl-gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }
.story-tl-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Stories Responsive */
@media (max-width: 900px) {
  .stories-home-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-timeline { padding-left: 0; }
  .stories-timeline::before { left: 16px; }
  .story-timeline-date { position: static; width: auto; text-align: left; padding: 0 0 8px 36px; display: flex; align-items: baseline; gap: 6px; }
  .story-tl-day { font-size: 16px; display: inline; }
  .story-tl-month { display: inline; font-size: 12px; }
  .story-tl-time { display: inline; }
  .story-timeline-dot { left: 10px; top: 4px; width: 10px; height: 10px; }
  .story-timeline-card { margin-left: 36px; }
}
@media (max-width: 640px) {
  .stories-home-grid { grid-template-columns: 1fr; }
  .story-home-img { height: 180px; }
  .story-tl-img { height: 180px; }
  .story-tl-headline { font-size: 16px; }
  .story-tl-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════
   Organisation Hero Section (Regd. NGO — Reference Design)
   ══════════════════════════════════════════════════════════════════ */
.org-hero {
  padding: 64px 0 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.org-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}
.org-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.org-hero-eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}
.org-hero-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.org-hero-desc {
  font-size: 16px;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.org-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.org-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}
.org-btn:hover { transform: translateY(-2px); }
.org-btn-primary {
  background: var(--brand);
  color: #fff;
}
.org-btn-primary:hover {
  background: var(--brand-dark);
}
.org-btn-outline {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
}
.org-btn-outline:hover {
  background: var(--text);
  color: #fff;
}
.org-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-2);
  font-weight: 500;
}
.org-hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.org-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green, #10b981);
  display: inline-block;
}

/* Collage grid */
.org-hero-collage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 150px 180px;
  gap: 12px;
  position: relative;
}
.ohc {
  overflow: hidden;
  border-radius: 3px;
}
.ohc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ohc-1 {
  grid-column: 1;
  grid-row: 1 / 3;
}
.ohc-2 {
  grid-column: 2;
  grid-row: 1;
}
.ohc-3 {
  grid-column: 2;
  grid-row: 2;
}
.org-hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--accent, #1a3a5c);
  color: #fff;
  padding: 16px 18px;
  max-width: 200px;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.35);
}
.org-hero-badge strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  .org-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .org-hero-collage { margin-top: 0; }
  .org-hero-badge { bottom: -16px; left: -10px; }
  .org-hero { padding: 48px 0 0; }
  .org-hero-grid { padding-bottom: 48px; }
}
@media (max-width: 640px) {
  .org-hero { padding: 36px 0 0; }
  .org-hero-grid { padding-bottom: 40px; }
  .org-hero-title { font-size: 28px; }
  .org-hero-desc { font-size: 15px; }
  .org-hero-collage { grid-template-rows: 120px 140px; gap: 8px; }
  .org-hero-badge { padding: 12px 14px; font-size: 11px; max-width: 170px; }
  .org-hero-badge strong { font-size: 20px; }
  .org-btn { padding: 12px 20px; font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════════
   Campaign Cards — Reference Design Style
   ══════════════════════════════════════════════════════════════════ */
.campaign-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}
.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.card-img-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.campaign-card:hover .card-img-inner {
  transform: scale(1.06);
}
.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--bg-2) 0%, var(--border) 100%);
}
.card-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
}
.card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title-link { text-decoration: none; }
.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.campaign-card:hover .card-title { color: var(--brand); }
.card-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.card-progress {
  margin-bottom: 18px;
}
.card-progress-bar {
  height: 6px;
  background: var(--bg-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.card-progress-fill {
  height: 100%;
  background: var(--green, #10b981);
  border-radius: 3px;
  transition: width 1s ease;
}
.card-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-2);
}
.card-progress-meta strong {
  color: var(--text);
  font-size: 14px;
}
.card-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.card-donate-btn:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════════
   Stories, Not Statistics Section
   ══════════════════════════════════════════════════════════════════ */
.field-stories-section {
  padding: 80px 0;
  background: var(--white);
}
.field-stories-head {
  margin-bottom: 56px;
  max-width: 600px;
}
.field-stories-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.field-stories-eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}
.field-stories-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.field-stories-subtitle {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

.field-stories-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.field-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.field-story--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.field-story--reverse .field-story-img {
  order: 2;
}
.field-story--reverse .field-story-copy {
  order: 1;
}

.field-story-img {
  position: relative;
}
.field-story-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 3px;
}
.field-story-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 12px 28px -8px rgba(224,90,43,0.4);
}
.field-story-badge small {
  font-size: 10px;
  font-weight: 500;
  display: block;
}

.field-story-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green, #10b981);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.field-story-eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--green, #10b981);
  display: inline-block;
}
.field-story-heading {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.field-story-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.field-story-quote {
  font-style: italic;
  font-size: 17px;
  color: var(--text);
  border-left: 3px solid var(--brand);
  padding-left: 18px;
  margin: 20px 0 0;
  line-height: 1.5;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   Where The Money Goes (Transparency Section)
   ══════════════════════════════════════════════════════════════════ */
.transparency-section {
  padding: 80px 0;
  background: var(--accent, #1a3a5c);
  color: #fff;
}
.transparency-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.transparency-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.transparency-eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--brand);
  display: inline-block;
}
.transparency-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.transparency-lead {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

.fund-bar {
  display: flex;
  height: 34px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.fund-bar div {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.fund-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}
.fund-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fund-legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 2px;
}

.transparency-certs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cert-badge {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  border-radius: 2px;
}

.transparency-right {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 32px;
  border-radius: 3px;
}
.transparency-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.transparency-row:last-child {
  border-bottom: none;
}
.transparency-row b {
  font-weight: 700;
  color: var(--brand);
}
.transparency-row a {
  text-decoration: none;
}
.transparency-row a b {
  transition: opacity 0.2s;
}
.transparency-row a:hover b {
  opacity: 0.7;
}

/* ── Responsive for new sections ── */
@media (max-width: 900px) {
  .org-strip-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .field-story, .field-story--reverse { grid-template-columns: 1fr; gap: 32px; }
  .field-story--reverse .field-story-img, .field-story--reverse .field-story-copy { order: 0; }
  .field-story-img img { height: 300px; }
  .transparency-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .field-stories-section { padding: 56px 0; }
  .field-stories-list { gap: 56px; }
  .field-story-img img { height: 240px; }
  .field-story-badge { width: 60px; height: 60px; font-size: 12px; bottom: -14px; right: -10px; }
  .field-story-heading { font-size: 22px; }
  .field-story-quote { font-size: 15px; padding-left: 14px; }
  .transparency-section { padding: 56px 0; }
  .transparency-right { padding: 22px; }
  .org-strip-trust { gap: 12px; }
}

/* ══════════════════════════════════════════════════════════════════
   Gallery Page
   ══════════════════════════════════════════════════════════════════ */
.page-hero-simple {
  padding: 56px 0 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-simple .page-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.page-hero-desc {
  font-size: 15px;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.7;
}
  max-width: 500px;
  line-height: 1.7;
}
.gallery-page-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.gallery-page-section:last-of-type { border-bottom: none; }
.gallery-page-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: -0.2px;
}

/* Share Toast */
.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Payment Gateway Selection */
.pay-gateway-section { margin-bottom: 18px; }
.pay-gateway-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.pay-gateway-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-gateway-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pay-gateway-opt:hover { border-color: var(--brand); }
.pay-gateway-opt.selected {
  border-color: var(--brand);
  background: var(--brand-light);
}
.pay-gateway-opt input[type="radio"] { display: none; }
.pay-gateway-info { flex: 1; }
.pay-gateway-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.pay-gateway-desc {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.pay-gateway-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pay-gateway-opt.selected .pay-gateway-check {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Mobile Sticky Pay Button */
@media (max-width: 768px) {
  .pay-submit-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .pay-submit-sticky .pay-submit {
    width: 100%;
    margin: 0;
  }
  /* Hide the original button inside the form on mobile */
  .pay-right .pay-submit { display: none; }
}
@media (min-width: 769px) {
  .pay-submit-sticky { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   Story Detail Page (Enhanced)
   ══════════════════════════════════════════════════════════════════ */
.story-detail { padding-bottom: 0; }

/* Hero Image */
.story-hero {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.story-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.15) 100%);
}

/* Main layout */
.story-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 44px 0 64px;
  align-items: start;
}

/* Content column */
.story-content-col {}

.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.story-cat-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand);
  color: #fff;
  padding: 4px 10px;
}
.story-date-text {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.story-headline {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}

.story-summary {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.story-body-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
  margin-bottom: 32px;
}
.story-body-content p { margin-bottom: 16px; }
.story-body-content h2, .story-body-content h3 {
  color: var(--text);
  margin: 24px 0 10px;
  font-weight: 700;
}
.story-body-content img {
  width: 100%;
  margin: 18px 0;
}
.story-body-content ul, .story-body-content ol {
  margin: 12px 0 12px 20px;
}

/* Gallery */
.story-gallery {
  margin-bottom: 32px;
}
.story-gallery-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.story-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.story-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
}
.story-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.story-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.story-gallery-item:hover img { transform: scale(1.04); }

/* Sidebar */
.story-sidebar {
  position: sticky;
  top: 80px;
}
.story-info-card,
.story-share-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 22px;
  margin-bottom: 16px;
}
.story-info-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.story-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}
.story-info-row:last-child { border-bottom: none; }
.story-info-label {
  font-size: 12.5px;
  color: var(--text-3);
  font-weight: 500;
}
.story-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.story-info-highlight {
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

/* Share links */
.story-share-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-share-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-2);
  text-decoration: none;
  transition: all 0.2s;
}
.story-share-link:hover { border-color: var(--brand); color: var(--brand); }
.story-share--wa:hover { border-color: #25d366; color: #25d366; }
.story-share--fb:hover { border-color: #1877f2; color: #1877f2; }
.story-share--tw:hover { border-color: #1da1f2; color: #1da1f2; }

/* Sidebar CTA */
.story-sidebar-cta {
  display: block;
  padding: 14px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.story-sidebar-cta:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* Related */
.story-related-section {
  padding: 56px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.story-related-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
}
.story-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-related-card {
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.story-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.1);
}
.story-related-img { height: 160px; overflow: hidden; }
.story-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.story-related-card:hover .story-related-img img { transform: scale(1.05); }
.story-related-body { padding: 16px; }
.story-related-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
}
.story-related-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}
.story-related-date {
  font-size: 12px;
  color: var(--text-3);
}

/* Responsive */
@media (max-width: 900px) {
  .story-main { grid-template-columns: 1fr; gap: 32px; }
  .story-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .story-sidebar-cta { grid-column: 1 / -1; }
  .story-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .story-hero { height: 240px; }
  .story-headline { font-size: 22px; }
  .story-summary { font-size: 15px; }
  .story-main { padding: 28px 0 44px; }
  .story-sidebar { grid-template-columns: 1fr; }
  .story-gallery-grid { grid-template-columns: 1fr 1fr; }
  .story-gallery-item--large { grid-column: span 2; grid-row: span 1; }
  .story-related-grid { grid-template-columns: 1fr; }
}
