/* ═══════════════════════════════════════════════════════════
   GHRF - GLOBAL HUMAN RIGHTS FEDERATION
   Frontend CSS
   Theme: Navy / Red / Gold
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #0A1F8F;
  --primary-dark: #08165C;
  --primary-light: #1a3ab5;
  --navy: #0A1F8F;
  --navy-dark: #08165C;
  --secondary: #E60000;
  --accent: #F4C430;
  --accent-dark: #d4a820;
  --accent-light: #f7d45c;
  --gold: #F4C430;
  --orange: #F4C430;
  --green-900: #0A1F8F;
  --green-800: #0A1F8F;
  --green-700: #0A1F8F;
  --green-600: #08165C;
  --green-500: #F4C430;
  --green-400: #f7d45c;
  --green-100: #F5F7FA;
  --green-50: #F5F7FA;
  --white: #ffffff;
  --bg: #F5F7FA;
  --bg-soft: #f7f9f6;
  --bg-gray: #f3f4f6;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f1f5f3;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  padding-top: 0 !important;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.topbar a:hover { color: var(--green-400); }
.topbar i { font-size: 0.85rem; }
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-socials a {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: #fff;
  transition: all var(--transition);
}
.topbar-socials a:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .topbar-left a span { display: none; }
  .topbar-inner { gap: 8px; }
  .topbar-left, .topbar-right { gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER — Clean, no line-break, logo left / donate right
   ═══════════════════════════════════════════════════════════ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* ── Three‑column flex: [brand] [nav, flex:1] [header-actions] ── */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  flex-wrap: nowrap;
}

/* ── Logo — left, shrinkable, mobile par left padding ── */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  padding-left: 0;
}

/* Mobile/Tablet: brand left side bilkul chipka — koi gap nahi */
@media (max-width: 991px) {
  .brand { padding-left: 0; }
  .brand-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .brand-title { font-size: 0.85rem; }
  .brand-subtitle { font-size: 0.6rem; }
  .brand-text { gap: 1px; }
}
.brand-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
  position: relative;
}
.brand-icon::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.brand-icon:has(img)::before { display: none; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.brand-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
  border-top: 1.5px solid var(--primary);
  padding-top: 2px;
  display: inline-block;
  align-self: flex-start;
}

/* ── Nav — center, takes remaining space ── */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  gap: 0;
}
.nav-list > li {
  position: relative;
  flex-shrink: 0;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 8px 11px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;             /* ← NO LINE BREAK EVER */
}

/* Small desktop / laptop — nav items auto shrink */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav-list > li > a { font-size: 0.78rem; padding: 6px 8px; }
  .header-actions .ngo-btn { font-size: 0.78rem; padding: 8px 14px; }
  .brand-title { font-size: 0.82rem; }
  .brand-subtitle { font-size: 0.6rem; }
  .brand-icon { width: 40px; height: 40px; }
  .brand { gap: 8px; }
  .header-inner { padding: 8px 0; gap: 8px; }
}
/* Very small desktop (1024px and below) */
@media (min-width: 992px) and (max-width: 1100px) {
  .nav-list > li > a { font-size: 0.72rem; padding: 5px 6px; }
  .header-actions .ngo-btn { font-size: 0.72rem; padding: 6px 10px; }
  .brand-title { font-size: 0.75rem; }
  .brand-text { gap: 1px; }
}
.nav-list > li > a:hover { color: var(--primary); }
.nav-list > li > a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-list > li > a.active::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  bottom: 3px;
  height: 2.5px;
  background: var(--green-500);
  border-radius: 2px;
}
.nav-list i.fa-chevron-down { font-size: 0.6rem; margin-left: 1px; }

/* ── Dropdown ── */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 1001;
  border: 1px solid var(--border-light);
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover > a i.fa-chevron-down { transform: rotate(180deg); }
.nav-dropdown li a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 16px;
}

/* ── Header actions — right side ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Custom NGO button (renamed to avoid Bootstrap conflict) */
.ngo-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  margin: 0 !important;
}
.ngo-btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}
.ngo-btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.ngo-btn-primary {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary);
}
.ngo-btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42,97,29,0.3);
}
.ngo-btn-white {
  background: #fff !important;
  color: var(--primary-dark) !important;
  border: 0;
}
.ngo-btn-white:hover { background: var(--bg) !important; color: var(--primary-dark) !important; }
.ngo-btn-white-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid #fff;
}
.ngo-btn-white-outline:hover { background: #fff !important; color: var(--primary-dark) !important; }

/* Mobile menu toggle — right side with gap */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px; height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  margin-right: 4px;
  flex-shrink: 0;
  order: 10;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile sidebar close button (hidden on desktop) */
.nav-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px; height: 36px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  z-index: 10;
}
.nav-close:hover {
  background: var(--primary);
  color: #fff;
}

.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.menu-overlay.show { display: block; opacity: 1; }

@media (max-width: 991px) {
  .menu-toggle { display: flex; }
  .nav-close { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 320px; max-width: 85vw;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 28px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    gap: 0;
    flex: none;
    justify-content: flex-start;
  }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-list > li { border-bottom: 1px solid var(--border-light); width: 100%; }
  .nav-list > li > a { padding: 14px 4px; border-radius: 0; width: 100%; }
  .nav-list > li > a.active::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 8px 16px;
    background: var(--bg-soft);
    border-radius: 0;
    display: none;
  }
  .has-dropdown.open .nav-dropdown { display: block; }
  .has-dropdown.open > a i.fa-chevron-down { transform: rotate(180deg); }
  .header-actions { flex-direction: column; gap: 10px; margin-top: 24px; width: 100%; }
  .header-actions .ngo-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575px) {
  .brand-icon { width: 44px; height: 44px; font-size: 1.25rem; }
  .brand-title { font-size: 0.85rem; }
  .brand-subtitle { font-size: 0.6rem; }
  .header-inner { padding: 10px 0; }
}

/* ═══════════════════════════════════════════════════════════
   LIVE IMPACT (real-time DB counts - dynamic from database)
   ═══════════════════════════════════════════════════════════ */
.live-impact {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, #f8faf9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.live-impact::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(10,31,143,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.live-impact::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,152,0,.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.live-impact .section-head { margin-bottom: 44px; position: relative; z-index: 1; }
.live-impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.live-impact-card {
  background: #fff;
  border: 1px solid #e8eef0;
  border-radius: 14px;
  padding: 28px 18px 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.live-impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, #0A1F8F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.live-impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
  border-color: var(--card-accent, #0A1F8F);
  text-decoration: none;
  color: inherit;
}
.live-impact-card:hover::before { transform: scaleX(1); }
.live-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 14px;
  background: var(--card-accent, #0A1F8F);
  box-shadow: 0 4px 12px rgba(10,31,143,.25);
  transition: transform .3s ease;
}
.live-impact-card:hover .live-icon { transform: scale(1.1) rotate(-5deg); }
.live-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: #1a2a1f;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.5px;
}
.live-label {
  font-size: .82rem;
  font-weight: 700;
  color: #1a2a1f;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.live-sub {
  font-size: .72rem;
  color: #6b7c75;
  font-weight: 500;
}

/* Per-card accent colors */
.live-card-donations  { --card-accent: #1a3ab5; --card-accent-soft: #e8f5e9; }
.live-card-donors     { --card-accent: #c62828; --card-accent-soft: #ffebee; }
.live-card-members    { --card-accent: #1565c0; --card-accent-soft: #e3f2fd; }
.live-card-volunteers { --card-accent: #ef6c00; --card-accent-soft: #fff3e0; }
.live-card-projects   { --card-accent: #6a1b9a; --card-accent-soft: #f3e5f5; }
.live-card-events     { --card-accent: #00838f; --card-accent-soft: #e0f7fa; }

.live-card-donations  .live-icon { background: linear-gradient(135deg, #1a3ab5, #0A1F8F); }
.live-card-donors     .live-icon { background: linear-gradient(135deg, #c62828, #e53935); }
.live-card-members    .live-icon { background: linear-gradient(135deg, #1565c0, #1e88e5); }
.live-card-volunteers .live-icon { background: linear-gradient(135deg, #ef6c00, #fb8c00); }
.live-card-projects   .live-icon { background: linear-gradient(135deg, #6a1b9a, #8e24aa); }
.live-card-events     .live-icon { background: linear-gradient(135deg, #00838f, #00acc1); }

.live-card-donations:hover  { box-shadow: 0 12px 28px rgba(27,94,32,.15); }
.live-card-donors:hover     { box-shadow: 0 12px 28px rgba(198,40,40,.15); }
.live-card-members:hover    { box-shadow: 0 12px 28px rgba(21,101,192,.15); }
.live-card-volunteers:hover { box-shadow: 0 12px 28px rgba(239,108,0,.15); }
.live-card-projects:hover   { box-shadow: 0 12px 28px rgba(106,27,154,.15); }
.live-card-events:hover     { box-shadow: 0 12px 28px rgba(0,131,143,.15); }

.live-impact-footer {
  text-align: center;
  margin-top: 36px;
  font-size: .82rem;
  color: #6b7c75;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.live-impact-footer i { color: #0A1F8F; }

@media (max-width: 1199px) {
  .live-impact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .live-impact { padding: 50px 0 60px; }
  .live-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .live-icon { width: 48px; height: 48px; font-size: 1.3rem; }
  .live-value { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .live-impact-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .live-impact-card { padding: 20px 12px 16px; }
  .live-icon { width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 10px; }
  .live-value { font-size: 1.3rem; }
  .live-label { font-size: .72rem; }
  .live-sub { font-size: .65rem; }
}

/* ═══════════════════════════════════════════════════════════
   HERO BANNER SLIDER (dynamic image-only - from tbl_banners)
   ═══════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 620px;
  background: #0a1e14;
  overflow: hidden;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease-in-out, visibility .9s ease-in-out;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: inherit;
}
.hero-slide-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
a.hero-slide-link { cursor: pointer; }
span.hero-slide-link { cursor: default; }

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: all .25s ease;
}
.hero-arrow:hover {
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-50%) scale(1.06);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,.7); }
.hero-dot.active {
  background: #fff;
  width: 36px;
  border-radius: 6px;
}

/* Slide counter (1/5) */
.hero-counter {
  position: absolute;
  bottom: 28px;
  right: 30px;
  z-index: 5;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: .5px;
  border: 1px solid rgba(255,255,255,.2);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-slider { height: 500px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}
@media (max-width: 575px) {
  .hero-slider { height: 420px; }
  .hero-arrow { width: 36px; height: 36px; font-size: .85rem; }
  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }
  .hero-counter { right: 16px; bottom: 70px; font-size: .75rem; padding: 4px 10px; }
  .hero-dots { bottom: 24px; gap: 8px; }
  .hero-dot { width: 10px; height: 10px; }
  .hero-dot.active { width: 28px; }
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fef3e8 0%, #f5e6d3 50%, #e8d4b8 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1516467508483-a7212febe31a?w=1600&q=80') center/cover no-repeat;
  opacity: 0.55;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0) 70%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-content { padding-right: 30px; }
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 32px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-feature-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.hero-feature-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}
.hero-cta { margin-top: 6px; }
.hero-quote {
  position: relative;
  padding: 28px 26px 28px 50px;
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  backdrop-filter: blur(6px);
}
.hero-quote::before {
  content: '\201C';
  position: absolute;
  top: 0; left: 14px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
  font-weight: 700;
}
.hero-quote p {
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0;
  font-style: italic;
  line-height: 1.4;
  text-align: right;
}

@media (max-width: 991px) {
  .hero { min-height: 520px; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 0; }
  .hero-content { padding-right: 0; }
  .hero-title { font-size: 2.3rem; }
  .hero-quote { margin-top: 20px; }
}
@media (max-width: 575px) {
  .hero { min-height: auto; }
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-features { grid-template-columns: 1fr; gap: 12px; }
  .hero-quote p { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 26px 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}
.stat-item {
  text-align: center;
  padding: 8px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.18);
}
.stat-icon {
  color: var(--green-400);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 500;
}
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════ */
.section { padding: 70px 0; }
.section-tight { padding: 50px 0; }
.section-soft { background: var(--bg-soft); }
.section-green { background: var(--primary-dark); color: #fff; }

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head-left {
  text-align: left;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 14px;
}
.section-eyebrow::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 2.5px;
  background: var(--green-500);
  border-radius: 2px;
}
.section-head-left .section-eyebrow { text-align: left; }
.section-head-left .section-eyebrow::after { left: 0; transform: none; }
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 12px;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  text-align: left;
  margin-bottom: 40px;
}
.section-head-row .section-head-text { max-width: 640px; flex: 1; }
.section-head-row .section-head-text .section-subtitle { margin: 0; }

@media (max-width: 575px) {
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}

/* Ghost button */
.ngo-btn-ghost {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border);
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  margin: 0 !important;
}
.ngo-btn-ghost:hover {
  border-color: var(--primary);
  background: var(--bg);
  color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT / MISSION SECTION
   ═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-gray);
  box-shadow: var(--shadow);
}
.about-img:nth-child(1) { grid-row: span 2; aspect-ratio: 1 / 2.05; }
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-img:hover img { transform: scale(1.05); }
.about-content { padding: 0 0 0 10px; }
.about-content .section-eyebrow { text-align: left; }
.about-content .section-eyebrow::after { left: 0; transform: none; }
.about-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 16px;
  line-height: 1.15;
}
.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 24px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-feature-icon {
  width: 32px; height: 32px;
  background: var(--green-100);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.about-feature span {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-content { padding: 0; }
  .about-title { font-size: 1.9rem; }
}
@media (max-width: 575px) {
  .about-images { grid-template-columns: 1fr 1fr; }
  .about-img:nth-child(1) { grid-row: span 1; aspect-ratio: 1 / 1; }
}

/* ═══════════════════════════════════════════════════════════
   PROGRAMS SECTION
   ═══════════════════════════════════════════════════════════ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.program-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 14px 18px;
  text-align: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gc1, #0A1F8F) 0%, var(--gc2, #F4C430) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  border-color: var(--gc2, #F4C430);
}
.program-card:hover::before { transform: scaleX(1); }
.program-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--gc1, #0A1F8F) 0%, var(--gc2, #F4C430) 100%);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 12px;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}
.program-icon i { position: relative; z-index: 1; }
.program-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.program-card:hover .program-icon {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.program-card:hover .program-icon img { transform: scale(1.08); }
.program-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin-bottom: 10px;
  font-size: .72rem;
  color: var(--text-muted);
}
.program-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}
.program-stat i {
  font-size: .68rem;
  color: var(--gc2, #F4C430);
}
.program-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 14px;
  flex-grow: 1;
}
.program-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gc1, #0A1F8F);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .25s ease, color .25s ease;
  margin-top: auto;
}
.program-link i { font-size: .72rem; transition: transform .25s ease; }
.program-card:hover .program-link { gap: 8px; }
.program-card:hover .program-link i { transform: translateX(3px); }

@media (max-width: 1399px) {
  .programs-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .program-icon { font-size: 2rem; }
  .program-title { font-size: .88rem; }
  .program-link { font-size: .72rem; }
}
@media (max-width: 1199px) {
  .programs-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .program-card { padding: 12px 10px 14px; }
  .program-icon { font-size: 1.6rem; border-radius: 12px; }
  .program-title { font-size: .82rem; }
  .program-stats { font-size: .68rem; gap: 3px 8px; }
  .program-link { font-size: .7rem; }
}

/* ═══════════════════════════════════════════════════════════
   FUNDRAISER CARDS
   ═══════════════════════════════════════════════════════════ */
.funds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fund-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.fund-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-400);
}
.fund-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-gray);
}
.fund-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fund-card:hover .fund-img-wrap img { transform: scale(1.05); }
.days-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.fund-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.fund-category {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.fund-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fund-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.fund-progress-row strong { color: var(--text); }

/* Custom progress bar (renamed to avoid Bootstrap conflict) */
.ngo-progress {
  height: 6px;
  background: var(--bg-gray);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  display: block;
}
.ngo-progress-bar {
  background: var(--green-500);
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
  display: block;
}
.fund-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.fund-percent {
  background: var(--green-100);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
}
.fund-donors { color: var(--text-muted); }

.ngo-btn-donate-sm {
  background: var(--primary) !important;
  color: #fff !important;
  border: 0;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
  margin: 0 !important;
}
.ngo-btn-donate-sm:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .funds-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .funds-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   UPCOMING EVENTS — modern vertical cards
   ═══════════════════════════════════════════════════════════ */
.events-section { position: relative; }
.events-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(34,197,94,.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(34,197,94,.05) 0%, transparent 40%);
  pointer-events: none;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.event-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 4px 18px rgba(0,0,0,.06);
  border: 1px solid var(--border-light);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  border-color: var(--gc2, var(--green-400));
}
.event-card:hover .event-cover img,
.event-card:hover .event-cover-art i {
  transform: scale(1.08);
}
.event-card:hover .event-cta i {
  transform: translateX(4px);
}
.event-cover {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--gc1, #0A1F8F) 0%, var(--gc2, #F4C430) 100%);
  overflow: hidden;
}
.event-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.event-cover-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,.15) 0%, transparent 50%);
}
.event-cover-art i {
  font-size: 5rem;
  color: rgba(255,255,255,.85);
  text-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.event-cover-art::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%);
  background-size: 30px 30px;
  opacity: .6;
}
.event-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.event-date-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  min-width: 60px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  line-height: 1.05;
}
.event-date-day {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gc1, #0A1F8F);
  line-height: 1;
}
.event-date-mon {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gc2, var(--primary));
  letter-spacing: .5px;
  margin-top: 3px;
}
.event-featured-ribbon {
  position: absolute;
  top: 14px; right: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(249,115,22,.4);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.event-featured-ribbon i { font-size: .65rem; }
.event-countdown-wrap {
  position: absolute;
  bottom: 12px; left: 14px;
  z-index: 2;
}
.evt-countdown {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  padding: 5px 11px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.evt-countdown i { font-size: .68rem; }
.evt-countdown-soon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}
.evt-countdown-today {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  animation: evtPulse 1.5s ease-in-out infinite;
}
@keyframes evtPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}
.event-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.event-weekday {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gc2, var(--primary));
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.event-weekday i { font-size: .8rem; }
.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-venue {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.event-venue i {
  color: #ef4444;
  font-size: .8rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.event-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.evt-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 50px;
  background: var(--bg-gray);
  color: var(--text);
  white-space: nowrap;
}
.evt-tag i { font-size: .65rem; }
.evt-tag-free {
  background: linear-gradient(135deg, var(--bg) 0%, #F5F7FA 100%);
  color: var(--primary-dark);
}
.evt-tag-fee {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}
.evt-tag-seats {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e3a8a;
}
.event-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gc2, var(--primary));
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.event-cta i {
  font-size: .72rem;
  transition: transform .25s ease;
}
.event-card-featured {
  border-color: var(--gc2, var(--green-400));
}
.event-card-featured .event-cta { font-weight: 800; }
.events-cta {
  text-align: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.events-cta .ngo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 8px 20px rgba(42,97,29,.25);
}
.events-cta .ngo-btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42,97,29,.35);
}

@media (max-width: 991px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .event-cover { height: 160px; }
}
@media (max-width: 575px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   IMPACT STORIES (dark green)
   ═══════════════════════════════════════════════════════════ */
.section-green .section-eyebrow { color: var(--green-400); }
.section-green .section-eyebrow::after { background: var(--green-400); }
.section-green .section-title { color: #fff; }
.section-green .section-subtitle { color: rgba(255,255,255,0.85); }
.stories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.story-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-gray);
  overflow: hidden;
  position: relative;
}
.story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.story-card:hover .story-img img { transform: scale(1.05); }
.story-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a3ab5 0%, #0A1F8F 100%);
  color: rgba(255,255,255,.85);
  font-size: 3rem;
}
.story-body { padding: 16px; flex-grow: 1; }
.story-text {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.story-link:hover { color: var(--primary-dark); gap: 6px; }
@media (max-width: 1199px) {
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .story-body { padding: 12px; }
  .story-text { font-size: 0.82rem; }
}

/* ═══════════════════════════════════════════════════════════
   PARTNERS — single-line auto slider
   ═══════════════════════════════════════════════════════════ */
.partners-section { position: relative; }
.partners-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(34,197,94,.04) 0%, transparent 50%);
  pointer-events: none;
}
.partners-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 -16px;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.partners-track {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 0 16px;
  animation: partnersScroll 28s linear infinite;
  will-change: transform;
}
.partners-slider:hover .partners-track,
.partners-slider:focus-within .partners-track {
  animation-play-state: paused;
}
.partners-slide-set {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
}
.partners-slide-set .partner-card {
  width: 200px;
  flex-shrink: 0;
}
@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 20px)); }
}
.partners-track:hover { cursor: grab; }
.partners-track:active { cursor: grabbing; }
.partner-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  filter: grayscale(40%);
  opacity: 0.88;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(34,197,94,.06) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: inherit;
  pointer-events: none;
}
.partner-card:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  border-color: var(--green-400);
  text-decoration: none;
  color: inherit;
}
.partner-card:hover::before { opacity: 1; }
.partner-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.partner-name.tata     { color: #1a3a8f; }
.partner-name.infosys  { color: #007cc0; }
.partner-name.wipro    { color: #f37321; font-style: italic; }
.partner-name.hcl      { color: #0d47a1; }
.partner-name.techm    { color: #c82037; }
.partner-name.vedanta  { color: #08165C; }
.partner-name.default  { color: var(--primary-dark); }
@media (max-width: 575px) {
  .partners-track { animation-duration: 20s; }
  .partners-slide-set .partner-card { width: 160px; height: 78px; }
  .partner-name { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS — modern trust-building cards
   ═══════════════════════════════════════════════════════════ */
.certs-section { position: relative; }
.certs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(34,197,94,.04) 0%, transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(168,85,247,.04) 0%, transparent 35%);
  pointer-events: none;
}
.certs-trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: -10px auto 36px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  max-width: 820px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  position: relative;
  z-index: 1;
}
.certs-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.certs-trust-item i {
  color: var(--green-500);
  font-size: .95rem;
}
.certs-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 -16px;
  padding: 8px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.certs-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 0 16px;
  animation: certsScroll 32s linear infinite;
  will-change: transform;
}
.certs-slider:hover .certs-track,
.certs-slider:focus-within .certs-track {
  animation-play-state: paused;
}
.certs-slide-set {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
}
.certs-slide-set .cert-card {
  width: 320px;
  flex-shrink: 0;
}
@keyframes certsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 24px)); }
}
.certs-track:hover { cursor: grab; }
.certs-track:active { cursor: grabbing; }
@media (max-width: 575px) {
  .certs-track { animation-duration: 22s; }
  .certs-slide-set .cert-card { width: 280px; }
}
.cert-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gc1, #0A1F8F) 0%, var(--gc2, #F4C430) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
  border-color: var(--gc2, #F4C430);
}
.cert-card:hover::before { transform: scaleX(1); }
.cert-card:hover .cert-art i { transform: scale(1.1) rotate(-5deg); }
.cert-card:hover .cert-img-shine { transform: translateX(200%); }
.cert-verify {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  box-shadow: 0 3px 10px rgba(16,185,129,.4);
}
.cert-verify::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(16,185,129,.3);
  animation: certPulse 2s ease-in-out infinite;
}
@keyframes certPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: .5; }
}
.cert-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--gc1, #0A1F8F) 0%, var(--gc2, #F4C430) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cert-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.06) 25%, transparent 25%);
  background-size: 24px 24px;
}
.cert-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.cert-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-art::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  z-index: -1;
}
.cert-art i {
  font-size: 3.8rem;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cert-img-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: translateX(0);
  transition: transform .8s ease;
  z-index: 2;
  pointer-events: none;
}
.cert-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.cert-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.cert-reg {
  background: var(--bg-gray);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cert-reg-label {
  font-size: .62rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.cert-reg-code {
  font-family: 'Inter', monospace;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gc1, #0A1F8F);
  letter-spacing: .3px;
  word-break: break-all;
}
.cert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
}
.cert-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: #047857;
}
.cert-status i { font-size: .8rem; }
.cert-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gc1, #0A1F8F);
  font-size: .78rem;
  font-weight: 700;
}
.cert-cta i { font-size: .7rem; }
.certs-cta {
  text-align: center;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}
.certs-cta .ngo-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  transition: all .25s ease;
  background: transparent;
}
.certs-cta .ngo-btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42,97,29,.25);
}
@media (max-width: 575px) {
  .certs-trust-bar { gap: 8px 16px; padding: 12px 18px; }
  .certs-trust-item { font-size: .76rem; }
}

/* ═══════════════════════════════════════════════════════════
   CTA / NEWSLETTER SECTION (combined)
   ═══════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--primary-dark);
  padding: 50px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.cta-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin: 0 0 24px;
  max-width: 460px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.newsletter-title {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.newsletter-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: 5px;
  box-shadow: var(--shadow);
}
.newsletter-form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font-size: 0.92rem;
  outline: none;
  color: var(--text);
}
.newsletter-form button {
  background: var(--green-500) !important;
  color: #fff !important;
  border: 0;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--green-600) !important; }

@media (max-width: 767px) {
  .cta-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-title { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #0f1a0e;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-brand .brand-icon {
  width: 44px; height: 44px;
  font-size: 1.2rem;
}
.footer-brand .brand-title {
  color: #fff;
  font-size: 0.95rem;
}
.footer-brand .brand-subtitle {
  color: rgba(255,255,255,0.6);
  border-color: var(--green-400);
}
.footer-about {
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0 0 20px;
  font-size: 0.85rem;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: all var(--transition);
}
.footer-socials a:hover {
  background: var(--green-500);
  color: #fff;
  transform: translateY(-2px);
}
.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--green-500);
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-list li { margin-bottom: 9px; }
.footer-list a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-list a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--green-400);
}
.footer-list a:hover { color: #fff; padding-left: 4px; }
.footer-contact {
  list-style: none;
  padding: 0; margin: 0;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-contact i {
  color: var(--green-400);
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.85rem;
}
.footer-contact a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--green-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-bottom-right .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom-right .badge-item i { color: var(--green-400); }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand-section { grid-column: span 2; }
}
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand-section { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* Count-up number styling */
.count-up { display: inline-block; }

/* ═══════════════════════════════════════════════════════════
   DYNAMIC-ENHANCEMENT PATCHES (Indian NGO theme)
   ═══════════════════════════════════════════════════════════ */

/* Brand icon: support both <div> with gradient & <img> */
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  position: relative;
  z-index: 1;
}
.brand-icon:has(img)::before { display: none; }

/* Hero badge (above title) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.hero-badge i { color: #ffd54f; }

/* Hindi quote styling */
.hindi-quote {
  display: inline-block;
  font-family: 'Tiro Devanagari Hindi', serif;
  font-style: italic;
  margin-left: 6px;
  color: #ffe082;
  font-weight: 600;
}
.hero-quote p {
  font-family: 'Tiro Devanagari Hindi', serif;
}

/* Partner card: <a> tag support */
a.partner-card { text-decoration: none; color: inherit; }
a.partner-card:hover { text-decoration: none; }

/* Cert reg-number line under cert name */
.cert-reg {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  font-family: 'Inter', monospace;
  letter-spacing: 0.3px;
}

/* Hero: ensure background image displays */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-feature-text { color: #fff; }
.hero .hero-feature { color: #fff; }
.hero .hero-feature-icon { background: rgba(255,255,255,0.2); color: #fff; }

/* Responsive grid for programs on small screens */
@media (max-width: 575px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   DONATE CTA SECTION
   ═══════════════════════════════════════════════════════════ */
.donate-cta {
  background: linear-gradient(135deg, #030a1e 0%, var(--primary) 40%, var(--primary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.donate-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,196,48,0.06) 0%, transparent 60%);
  border-radius: 50%;
}
.donate-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.donate-cta-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.donate-cta-content h2 span { color: var(--accent); }
.donate-cta-content > p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 540px;
}
.donate-cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.donate-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
}
.donate-cta-tag i { font-size: .75rem; }
.dct-red   { background: rgba(220,38,38,.12); color: #fca5a5; border: 1px solid rgba(220,38,38,.2); }
.dct-blue  { background: rgba(37,99,235,.12); color: #93c5fd; border: 1px solid rgba(37,99,235,.2); }
.dct-green { background: rgba(22,163,74,.12); color: #86efac; border: 1px solid rgba(22,163,74,.2); }
.donate-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-btn-primary,
.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: 2px solid transparent;
}
.cta-btn-primary {
  background: var(--accent);
  color: var(--primary-dark) !important;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(244,196,48,.3);
}
.cta-btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,196,48,.4);
  color: var(--primary-dark) !important;
}
.cta-btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.3);
}
.cta-btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-2px);
  color: #fff !important;
}
.donate-cta-visual {
  display: flex;
  justify-content: center;
}
.donate-cta-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 380px;
}
.donate-cta-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.dcs-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}
.dcs-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
@media (max-width: 768px) {
  .donate-cta-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .donate-cta-content > p { margin: 0 auto 20px; }
  .donate-cta-tags { justify-content: center; }
  .donate-cta-buttons { justify-content: center; }
  .donate-cta-content h2 { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — Device ke hisaab se adjust
   Breakpoints: 480px(mobile) | 768px(tablet) | 992px(desktop-sm) | 1200px(desktop)
   ═══════════════════════════════════════════════════════════ */

/* ── TABLET (768px - 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
  /* Header */
  .header-inner { padding: 8px 0; gap: 8px; }
  .brand-icon { width: 38px; height: 38px; font-size: 1rem; }
  .brand { gap: 8px; }
  .brand-title { font-size: 0.78rem; }
  .brand-subtitle { font-size: 0.55rem; }
  
  /* Hero */
  .hero-fs { aspect-ratio: 16/8; min-height: 0 !important; }
  .hero-content-wrap { min-height: 0 !important; padding: 70px 0 40px !important; }
  
  /* Blog cards — 3 columns on tablet */
  .blogs-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stories-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .activity-card .ac-img { height: 150px; }
  .ac-body { padding: 14px 16px 18px; }
  .ac-body h4 { font-size: 0.85rem; }
  .ac-body p { font-size: 0.75rem; -webkit-line-clamp: 2; }

  /* About page */
  .about-hero h1 { font-size: 2rem; }
  .about-who { padding: 50px 0; }
  .about-who-content h2 { font-size: 1.6rem; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mvv-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-row { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .about-cta-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .about-cta-buttons { justify-content: center; }
  .about-cta-stat-grid { margin: 0 auto; }

  /* What We Do page */
  .wwd-nav { top: 62px; }
  .wwd-nav a { font-size: 0.78rem; padding: 6px 12px; }
  .section-detail { padding: 40px 0; }
  .sd-header h2 { font-size: 1.4rem; }
  .sd-icon { width: 48px; height: 48px; font-size: 1.1rem; }

  /* Events */
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .event-cover { height: 160px; }
  
  /* Funds */
  .funds-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand-section { grid-column: span 3; }

  /* Sections padding */
  .activities-section { padding: 50px 0; }
  .activities-section .sec-header-left h2 { font-size: 1.5rem; }

  /* Membership */
  .mem-grid { grid-template-columns: repeat(3, 1fr); }
  .mem-header h2 { font-size: 1.6rem; }

  /* Partners */
  .partners-section-custom { padding: 40px 0; }
  .certs-section-custom { padding: 40px 0; }
}

/* ── MOBILE (max 767px) — extra safety for tablet-portrait ── */
@media (max-width: 767px) {
  .brand-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .brand-title { font-size: 0.8rem; }
  .brand-subtitle { font-size: 0.55rem; }
  .blogs-grid { grid-template-columns: 1fr; gap: 14px; }
  .stories-grid { grid-template-columns: 1fr; gap: 12px; }
  .timeline-track { padding-left: 24px; }
  .about-hero h1 { font-size: 1.6rem; }
  .sd-header h2 { font-size: 1.2rem; }
  .sd-icon { width: 40px; height: 40px; font-size: 1rem; }
}

/* ── SMALL DESKTOP (992px - 1199px) ── already defined above at line ~262 */

/* ── VERY SMALL MOBILE (max 400px) ── */
@media (max-width: 400px) {
  .brand-text .brand-subtitle { display: none; }
}

