/* ===== VOICE OF KAZIPUR - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&family=Raleway:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #006633;
  --primary-dark: #004d26;
  --primary-light: #008a45;
  --accent: #e8a020;
  --accent-dark: #c8880f;
  --red: #cc2936;
  --white: #ffffff;
  --off-white: #f8f9f5;
  --gray-light: #f0f4f0;
  --gray: #6b7280;
  --gray-dark: #374151;
  --text: #1a2e1a;
  --border: #d1e7d1;
  --shadow: 0 4px 24px rgba(0,102,51,0.10);
  --shadow-lg: 0 8px 48px rgba(0,102,51,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', 'Hind Siliguri', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad {
  padding: 80px 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 620px;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,160,32,0.10);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,51,0.30);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.35);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.30);
}

.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--primary);
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left span i {
  color: var(--accent);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-right a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
}
.topbar-right a:hover { color: var(--accent); }
.lang-switch {
  background: rgba(255,255,255,0.12);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--white) !important;
  font-weight: 600;
}
.lang-switch:hover { background: var(--accent) !important; }

/* ===== HEADER / NAVBAR ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}
.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}
.logo-text .tagline {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--gray-light);
}
.nav-link .arrow {
  font-size: 0.7rem;
  transition: var(--transition);
}
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--gray-light); color: var(--primary); }
.dropdown a .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

.nav-donate {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
}
.nav-donate:hover { background: #a8202c !important; transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}
.hero-slider {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,38,19,0.80) 0%, rgba(0,102,51,0.40) 60%, transparent 100%);
}
.hero-slide-1 { background-color: #1a4a2e; background-image: url('images/hero1.jpg'); }
.hero-slide-2 { background-color: #1a3a4a; background-image: url('images/hero2.jpg'); }
.hero-slide-3 { background-color: #2a1a4a; background-image: url('images/hero3.jpg'); }

/* Gradient fallback when no image */
.hero-slide-1 { background: linear-gradient(135deg, #004d26 0%, #006633 50%, #228B4E 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #0d3b2e 0%, #1a6645 50%, #2d9b6b 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #003320 0%, #005c38 50%, #008a56 100%); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.20);
  border: 1px solid rgba(232,160,32,0.40);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease both;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.slider-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary-dark);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== MARQUEE TICKER ===== */
.ticker-wrap {
  background: var(--accent);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-label {
  background: var(--primary-dark);
  color: var(--white);
  padding: 0 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
}
.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  padding-left: 200px;
}
.ticker-inner span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.ticker-inner span::before {
  content: '●';
  margin-right: 12px;
  color: var(--primary-dark);
  font-size: 0.6rem;
}

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

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-block {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-light);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  gap: 12px;
}
.about-img-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.5;
}
.about-card-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}
.about-card-badge .big-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.about-card-badge .sub {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 500;
  margin-top: 2px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.feature-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.feature-text .title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.feature-text .desc {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ===== PROGRAMS ===== */
.programs-section {
  background: var(--off-white);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.program-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}
.program-card-img img { width: 100%; height: 100%; object-fit: cover; }
.program-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.prog-1 .program-card-img-placeholder { background: linear-gradient(135deg, #e8f5e9, #a5d6a7); }
.prog-2 .program-card-img-placeholder { background: linear-gradient(135deg, #e3f2fd, #90caf9); }
.prog-3 .program-card-img-placeholder { background: linear-gradient(135deg, #fff8e1, #ffcc02); }
.prog-4 .program-card-img-placeholder { background: linear-gradient(135deg, #fce4ec, #f48fb1); }
.prog-5 .program-card-img-placeholder { background: linear-gradient(135deg, #e8eaf6, #9fa8da); }
.prog-6 .program-card-img-placeholder { background: linear-gradient(135deg, #e0f7fa, #80deea); }
.program-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.program-card-body {
  padding: 22px;
}
.program-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.program-card-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.prog-link:hover { gap: 10px; }
.prog-link svg { width: 16px; height: 16px; }

/* ===== IMPACT / CAMPAIGN ===== */
.impact-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #005c38 60%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}
.impact-text .section-title { color: var(--white); }
.impact-text .section-subtitle { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.impact-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.impact-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.impact-stat .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.70);
  font-weight: 500;
}
.impact-visual {
  position: relative;
}
.campaign-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.campaign-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}
.campaign-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.progress-wrap { margin-bottom: 24px; }
.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.progress-info .current { color: var(--primary); }
.progress-info .goal { color: var(--gray); }
.progress-bar {
  height: 10px;
  background: var(--gray-light);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
  width: 68%;
  transition: width 1.5s ease;
}
.donate-amounts {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.amount-btn {
  padding: 8px 18px;
  border: 2px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.amount-btn:hover, .amount-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ===== NEWS SECTION ===== */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}
.news-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.news-card-main-img {
  height: 300px;
  background: linear-gradient(135deg, #006633, #228B4E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.news-card-main-img img { width: 100%; height: 100%; object-fit: cover; }
.news-date {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.news-card-main-body { padding: 28px; }
.news-card-main-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-card-main-body p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; }

.news-sidebar { display: flex; flex-direction: column; gap: 16px; }
.news-mini-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.news-mini-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.news-mini-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.news-mini-body .date {
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.news-mini-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* ===== GALLERY ===== */
.gallery-section { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.g1 .gallery-placeholder { background: linear-gradient(135deg, #c8e6c9, #66bb6a); }
.g2 .gallery-placeholder { background: linear-gradient(135deg, #b3e5fc, #29b6f6); }
.g3 .gallery-placeholder { background: linear-gradient(135deg, #ffe0b2, #ffa726); }
.g4 .gallery-placeholder { background: linear-gradient(135deg, #f8bbd0, #f06292); }
.g5 .gallery-placeholder { background: linear-gradient(135deg, #d1c4e9, #7e57c2); }
.g6 .gallery-placeholder { background: linear-gradient(135deg, #b2dfdb, #26a69a); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,102,51,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  opacity: 0;
  transition: var(--transition);
}

/* ===== TESTIMONIALS / VOLUNTEERS ===== */
.volunteers-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 3px solid var(--border);
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.team-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card .bio {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.team-socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-dark);
}
.team-socials a:hover { background: var(--primary); color: var(--white); }

/* ===== PARTNERS ===== */
.partners-section { background: var(--off-white); padding: 48px 0; }
.partners-title {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partner-logo {
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--primary);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p { color: rgba(255,255,255,0.80); font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.80);
}
.footer-main {
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-text .name { color: var(--white); }
.footer-about .logo-text .tagline { color: rgba(255,255,255,0.50); }
.footer-about p {
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.65);
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.70);
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: var(--primary-dark); }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer-col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.60);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a::before { content: '›'; color: var(--accent); font-size: 1rem; }
.footer-links a:hover { color: var(--accent); }

.footer-contact-info { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-info .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-info .item i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-newsletter-form {
  display: flex;
  margin-top: 16px;
}
.footer-newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.87rem;
  background: rgba(255,255,255,0.10);
  color: var(--white);
  outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.40); }
.footer-newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  border: none;
  border-radius: 0 8px 8px 0;
  color: var(--primary-dark);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-inner a { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--accent); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 2000;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray-dark);
}
.mobile-nav { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-dark);
  border-radius: var(--radius);
}
.mobile-nav a:hover { background: var(--gray-light); color: var(--primary); }
.mobile-nav .donate-link {
  background: var(--red);
  color: var(--white);
  text-align: center;
  border-radius: 50px;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
}

@media (max-width: 768px) {
  .topbar-left { display: none; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .hero { height: 500px; }
  .hero-title { font-size: 1.9rem; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-card-badge { right: 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item.tall, .gallery-item.wide { grid-column: auto; grid-row: auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text h2 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .impact-stats { grid-template-columns: 1fr 1fr; }
}
