/* ============================================================
   Pride of Gaidghat NGO - Complete Design System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #1a5c38;
  --primary-light: #2d7a52;
  --primary-dark: #0f3a22;
  --primary-50: rgba(26, 92, 56, 0.08);
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #a07810;
  --accent: #e8f5e9;
  --white: #ffffff;
  --off-white: #f8f5f0;
  --light-gray: #f4f6f4;
  --border: #e0e8e2;
  --text-dark: #1a2a20;
  --text-body: #3d5247;
  --text-muted: #7a9585;
  --danger: #c0392b;
  --success: #27ae60;
  --warning: #f39c12;
  --info: #2980b9;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-bangla: 'Hind Siliguri', sans-serif;

  /* Spacing */
  --section-py: 90px;
  --container: 1240px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,92,56,0.08);
  --shadow-md: 0 8px 32px rgba(26,92,56,0.12);
  --shadow-lg: 0 20px 60px rgba(26,92,56,0.15);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.lang-bn, body.lang-bn p, body.lang-bn span, body.lang-bn a,
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3,
body.lang-bn h4, body.lang-bn h5, body.lang-bn h6 {
  font-family: var(--font-bangla);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1em; }

.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ─── Container ─────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(26,92,56,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,92,56,0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(212,160,23,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm { padding: 9px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ─── Section Header ────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag i { font-size: 0.75rem; }

.section-header h2 {
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: var(--radius-full);
  margin: 16px auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-body { padding: 28px; }

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img { transform: scale(1.05); }

.card-img-wrap { overflow: hidden; }

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.badge-education { background: #e8f4fd; color: #1a6fa0; }
.badge-environment { background: #e8f5e9; color: #2e7d32; }
.badge-health { background: #fde8e8; color: #c62828; }
.badge-skill { background: #fff3e0; color: #e65100; }
.badge-disaster { background: #f3e5f5; color: #6a1b9a; }
.badge-general { background: #eceff1; color: #455a64; }

/* ─── Forms ─────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,92,56,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237a9585'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ─── Alert Messages ────────────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #4caf50; }
.alert-error   { background: #fde8e8; color: #c62828; border-left: 4px solid #ef5350; }
.alert-warning { background: #fff8e1; color: #e65100; border-left: 4px solid #ffc107; }
.alert-info    { background: #e3f2fd; color: #1565c0; border-left: 4px solid #42a5f5; }

/* ─── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.4s ease;
}

#navbar.transparent {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  z-index: 1001;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo-text {
  line-height: 1.2;
}

.nav-logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  transition: var(--transition);
}

.nav-logo-text .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  display: block;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

#navbar.scrolled .nav-logo-text .name { color: var(--primary); }
#navbar.scrolled .nav-logo-text .tagline { color: var(--text-muted); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

#navbar.scrolled .nav-link { color: var(--text-dark); }

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-dropdown a i {
  width: 20px;
  color: var(--primary);
  font-size: 0.8rem;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1001;
}

.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  overflow: hidden;
}

#navbar.scrolled .lang-toggle { background: var(--light-gray); }

.lang-btn {
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
}

#navbar.scrolled .lang-btn { color: var(--text-muted); }

.lang-btn.active {
  background: var(--white);
  color: var(--primary);
}

#navbar.scrolled .lang-btn.active { color: var(--primary); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span { background: var(--text-dark); }

/* Mobile Nav */
@media (max-width: 1350px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dark);
    padding: 80px 24px 40px;
    overflow-y: auto;
    z-index: 999;
    gap: 4px;
    align-items: flex-start;
  }

  .nav-link { color: rgba(255,255,255,0.9) !important; font-size: 1.1rem; }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 4px;
    border: none;
    width: 100%;
  }
  /* On mobile, tapping the nav-item toggles hover state in some browsers, but let's make it always visible or use focus. 
     For simple pure CSS fix without JS, we can just show them under the items on mobile to save space, or show them on :focus-within */
  .nav-item:hover .nav-dropdown,
  .nav-item:active .nav-dropdown,
  .nav-item:focus-within .nav-dropdown { display: block; }
  .nav-dropdown a { color: rgba(255,255,255,0.85); padding-left: 20px; }
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (min-width: 901px) {
  .hero { min-height: 850px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2e18 0%, #1a5c38 40%, #2d7a52 70%, #1a4a2e 100%);
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,46,24,0.85) 0%, rgba(26,92,56,0.7) 40%, rgba(45,122,82,0.6) 70%, rgba(26,74,46,0.8) 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') center/cover;
  opacity: 0.06;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212,160,23,0.15);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.1); opacity: 1; }
}

/* Slider Caption Overlay */
.slider-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  padding: 0;
  max-width: 900px;
  width: 90%;
  text-align: center;
  z-index: 10;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active .slider-caption {
  transform: translate(-50%, -50%);
  opacity: 1;
  transition-delay: 0.1s;
}
.slider-caption h3 {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  font-weight: 800;
  line-height: 1.1;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
}
.hero-slide.active .slider-caption h3 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}
.slider-caption h3 span.gold {
  color: var(--gold);
}
.slider-caption p {
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
}
.hero-slide.active .slider-caption p {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.5s;
}
.slider-caption .btn-gold {
  font-size: 1.15rem;
  padding: 16px 40px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(212,160,23,0.3);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease;
}
.hero-slide.active .slider-caption .btn-gold {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.7s;
}
.slider-caption .btn-gold:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 30px rgba(212,160,23,0.5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,160,23,0.2);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-size: 1.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-title .gold { color: var(--gold-light); }

.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-actions {
  width: 100%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: absolute;
  bottom: 40px;
  right: 40px;
  justify-content: flex-end;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

.hero-meta i { color: var(--gold); }

/* Bottom Cards Row */
.hero-bottom-cards-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  transform: translateY(40%);
  pointer-events: none;
}

.hero-cards-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hero-card {
  flex: 1;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  color: var(--white);
  transition: all var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: block;
  pointer-events: auto;
}

.hero-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.3);
}

.hero-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.hero-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--white);
}

.hero-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
  margin: 0;
  color: rgba(255,255,255,0.9);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    display: block;
    background: var(--primary-dark);
  }
  .hero-slider {
    position: relative;
    height: 650px;
  }
  .slider-caption {
    padding: 0;
    width: 95%;
  }
  .slider-caption h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .slider-caption p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  .slider-caption .btn-gold {
    font-size: 1rem;
    padding: 14px 30px;
  }
  .hero-bottom-cards-wrapper {
    position: relative;
    transform: translateY(-40px);
    z-index: 20;
  }
  .hero-cards-row {
    flex-wrap: wrap;
  }
  .hero-cards-row .hero-card {
    min-width: 140px;
  }
}

/* ─── Stats Section ─────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 160px 0 60px;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(212,160,23,0.15) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  opacity: 0.9;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .plus { color: var(--gold-light); }

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ─── Programs Section ──────────────────────────────────── */
.programs-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.program-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.program-card-img i {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.9);
  z-index: 1;
}

.program-card.education .program-card-img { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.program-card.environment .program-card-img { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.program-card.health .program-card-img { background: linear-gradient(135deg, #c62828, #ef5350); }
.program-card.skill .program-card-img { background: linear-gradient(135deg, #e65100, #ffa726); }
.program-card.disaster .program-card-img { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }

.program-card-body {
  padding: 28px;
}

.program-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.program-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.program-stats {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

.program-stat { text-align: center; }
.program-stat .val {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}
.program-stat .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

@media (max-width: 600px) {
  .programs-grid { grid-template-columns: 1fr; }
}

/* ─── Impact Section ────────────────────────────────────── */
.impact-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.impact-visual { position: relative; }

.impact-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 480px;
}

.impact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px solid var(--primary-50);
}

.impact-badge .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.impact-badge .lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.impact-text { }

.impact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.impact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.impact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.impact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.impact-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-visual { display: none; }
}

/* ─── News Section ──────────────────────────────────────── */
.news-section {
  padding: var(--section-py) 0;
  background: var(--off-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.08); }

.news-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.news-card-meta i { color: var(--primary); }

.news-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.news-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1;
}

.news-card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more-link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more-link:hover { gap: 10px; }

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

@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ─── Donation CTA ──────────────────────────────────────── */
.donate-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.donate-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
}

.donate-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.donate-cta-text h2 { color: var(--white); margin-bottom: 16px; }
.donate-cta-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.amount-pill {
  padding: 10px 22px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.08);
}

.amount-pill:hover, .amount-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.donate-cta-form {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 36px;
}

.donate-cta-form h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.donate-cta-form .form-control {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

.donate-cta-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.donate-cta-form .form-control:focus { border-color: var(--gold); background: rgba(255,255,255,0.18); }
.donate-cta-form label { color: rgba(255,255,255,0.85); }

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.pay-method:hover, .pay-method.selected {
  border-color: var(--gold);
  background: rgba(212,160,23,0.15);
  color: var(--white);
}

.pay-method img { height: 20px; width: auto; }
.pay-method i { font-size: 1rem; color: var(--gold-light); }

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  margin-top: 12px;
}

.secure-badge i { color: var(--gold-light); }

@media (max-width: 900px) {
  .donate-cta-inner { grid-template-columns: 1fr; }
}

/* ─── Partners ──────────────────────────────────────────── */
.partners-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.partners-scroll {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scroll-partners 25s linear infinite;
  width: max-content;
}

.partner-item {
  opacity: 0.5;
  transition: var(--transition);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-item:hover { opacity: 1; color: var(--primary); }

@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Newsletter ────────────────────────────────────────── */
.newsletter-section {
  padding: 80px 0;
  background: var(--off-white);
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 { margin-bottom: 12px; }
.newsletter-inner p { color: var(--text-muted); margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form .form-control {
  flex: 1;
  border-radius: var(--radius-full);
}

@media (max-width: 500px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ─── SDG Section ───────────────────────────────────────── */
.sdg-section {
  padding: 50px 0;
  background: var(--white);
  text-align: center;
}

.sdg-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sdg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sdg-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
}

.sdg-badge:hover { transform: scale(1.15); }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img { height: 52px; }

.footer-logo-text .name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.footer-logo-text .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.62);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--primary-light);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-newsletter-form .form-control {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.footer-newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-form .form-control:focus { border-color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── Page Header (Inner Pages) ─────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') center/cover;
  opacity: 0.05;
}

.page-header-content { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto 20px; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb i { font-size: 0.65rem; }

/* ─── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Sticky Donate Button ──────────────────────────────── */
.sticky-donate {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

@keyframes breathe-donate {
  0% { transform: scale(1); box-shadow: 0 8px 30px rgba(212,160,23,0.5); }
  50% { transform: scale(1.05); box-shadow: 0 12px 45px rgba(212,160,23,0.8); }
  100% { transform: scale(1); box-shadow: 0 8px 30px rgba(212,160,23,0.5); }
}

.sticky-donate-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-dark);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 30px rgba(212,160,23,0.5);
  transition: var(--transition);
  animation: breathe-donate 2.5s infinite ease-in-out;
}

.sticky-donate-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(212,160,23,0.6);
  animation-play-state: paused;
}

.sticky-donate-btn i {
  background: rgba(0,0,0,0.15);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Back to Top ───────────────────────────────────────── */
.back-top {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  font-size: 0.9rem;
  border: 2px solid var(--border);
}

.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ─── Social Chat Floats Toggle ───────────────────────────── */
.chat-float-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.chat-toggle-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--text-dark);
  border-radius: 50%;
  border: none;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(212,160,23,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 1002;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
}

.chat-float-menu {
  position: absolute;
  bottom: 100%;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transform-origin: bottom center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1001;
}

.chat-float-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-float, .messenger-float {
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float {
  background-color: #25d366;
  font-size: 24px;
}

.messenger-float {
  background-color: #0084FF;
  font-size: 22px;
}

.whatsapp-float:hover, .messenger-float:hover {
  transform: scale(1.1);
  color: #fff;
}



/* ─── Utilities ─────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }
.py-1 { padding: 8px 0; }
.py-2 { padding: 16px 0; }
.py-3 { padding: 24px 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── Pagination ────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ─── Tag/Filter Buttons ────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  justify-content: center;
}

.filter-tab {
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ─── Lightbox ──────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}
.lightbox-close:hover { opacity: 1; transform: scale(1.2); }

/* ─── Progress Bar ──────────────────────────────────────── */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 1.2s ease;
}

/* ─── Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-box { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ─── Responsive Adjustments ────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .section-header { margin-bottom: 40px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sticky-donate { bottom: 16px; right: 16px; }
}

/* ─── Global Mobile Grid Overrides ────────────────────────────── */
@media (max-width: 900px) {
  .donate-main, .mvv-grid, .team-grid, .legal-grid, .gallery-grid, 
  .alloc-grid, .reports-grid, .gov-grid, .vol-process-grid, .vol-benefits, 
  .vol-check-grid, .vol-prog-grid, .vol-avail-grid, .project-main-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .donate-cause-grid, .donate-pay-grid {
    grid-template-columns: 1fr !important;
  }
}
