/* =============================================
   JEEVARSI TRUST — CORE STYLESHEET
   Design: Greenest Theme inspired
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Poppins:wght@400;500;600;700&family=Assistant:wght@300;400;600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #77c720;
  --primary-dark: #5c9e14;
  --primary-light: #a8e04f;
  --dark: #1b1b1b;
  --dark2: #202020;
  --footer-bg: #202329;
  --copyright-bg: #1a1a1a;
  --bg-light: #f6f6f6;
  --bg-white: #ffffff;
  --text: #494848;
  --text-light: #6e6d6d;
  --heading: #242424;
  --white: #ffffff;
  --border: #d0cfcf;
  --font-heading: 'Playfair Display', serif;
  --font-nav: 'Poppins', sans-serif;
  --font-body: 'Assistant', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover: 0 10px 40px rgba(0,0,0,0.18);
  --radius: 4px;
  --container: 1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading); line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

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

/* ---- Section Titles ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title span { color: var(--primary); }
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-top: 14px;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
.section-header { margin-bottom: 50px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-title::after { margin: 14px auto 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(119, 199, 32, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-dark {
  background: var(--dark2);
  color: var(--white);
  border-color: var(--dark2);
}
.btn-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-arrow::after { content: ' →'; }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--dark);
  border-top: 4px solid var(--primary);
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
}
.top-bar-info i { color: var(--primary); font-size: 13px; }
.top-bar-info a { color: var(--white); }
.top-bar-info a:hover { color: var(--primary); }
.top-bar-right { display: flex; align-items: center; gap: 12px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   HEADER / STICKY NAV
   ============================================ */
.site-header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

/* Logo */
.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
/* Hide text fallback when image loads correctly */
.site-logo img + .logo-text { display: none; }
.site-logo img[style*="display:none"] + .logo-text,
.site-logo img[style*="display: none"] + .logo-text { display: block; }
.logo-text {
  font-family: var(--font-nav);
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.2;
}
.logo-text span { color: var(--text-light); display: block; font-size: 12px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

/* Footer logo text — always white */
.footer-logo-text { color: var(--white) !important; font-family: var(--font-nav); font-size: 18px; font-weight: 700; }
.footer-logo img { height: 54px; width: auto; object-fit: contain; }
/* Hide footer text fallback when image loads */
.footer-logo img + .footer-logo-text { display: none; }
.footer-logo img[style*="display:none"] + .footer-logo-text,
.footer-logo img[style*="display: none"] + .footer-logo-text { display: block; }

/* Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  color: #424242;
  border-radius: 2px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li.active a { color: var(--primary); }
.main-nav ul li.active a { font-weight: 600; }

/* Dropdown */
.main-nav ul li { position: relative; }
.main-nav ul li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--primary);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  flex-direction: column;
  gap: 0;
  display: flex;
}
.main-nav ul li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul li .sub-menu li a { padding: 10px 18px; border-bottom: 1px solid #f0f0f0; color: var(--text); font-size: 13px; }
.main-nav ul li .sub-menu li:last-child a { border-bottom: none; }
.main-nav ul li .sub-menu li a:hover { color: var(--primary); padding-left: 24px; }

/* Donate Button */
.header-donate .btn { padding: 10px 24px; font-size: 13px; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 90vh;
  min-height: 580px;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,27,27,0.72) 0%, rgba(27,27,27,0.35) 60%, rgba(119,199,32,0.15) 100%);
  z-index: 1;
}
.slide-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  color: var(--white);
}
.slide-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 22px;
}
.slide-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.slide-content h1 br { display: none; }
.slide-content h1 span { color: var(--primary-light); }
.slide-content p {
  font-size: clamp(16px, 2.2vw, 21px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.slide-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.slide-btns .btn {
  padding: 14px 34px;
  font-size: 14px;
  border-radius: 25px;
}

/* Slider controls */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.8);
  transition: var(--transition);
}
.slider-dot.active { background: var(--primary); border-color: var(--primary); transform: scale(1.2); }

/* Slider animated entrance */
.slide.active .slide-tag { animation: slideUp 0.6s 0.2s both; }
.slide.active .slide-content h1 { animation: slideUp 0.7s 0.35s both; }
.slide.active .slide-content p { animation: slideUp 0.7s 0.5s both; }
.slide.active .slide-btns { animation: slideUp 0.7s 0.65s both; }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   STATS STRIP (below hero)
   ============================================ */
.stats-strip {
  background: var(--primary);
  padding: 0;
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.2);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}
.stat-text .stat-num {
  font-family: var(--font-nav);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-text .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================
   ABOUT / WHO WE ARE
   ============================================ */
#about { padding: 100px 0; background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-block { position: relative; }
.about-img-main {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  max-height: 520px;
}
.about-img-thumb {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-hover);
}
.about-content { padding-top: 10px; }
.about-content .section-title { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; color: var(--text); font-size: 16px; line-height: 1.8; }
.pillars { display: flex; flex-direction: column; gap: 18px; margin: 32px 0; }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 4px;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.pillar:hover { background: #edf7da; transform: translateX(4px); }
.pillar-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.pillar-text h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--heading); font-family: var(--font-nav); }
.pillar-text p { font-size: 14px; color: var(--text-light); margin: 0; line-height: 1.6; }

/* ============================================
   FOCUS AREAS (Cards)
   ============================================ */
#focus-areas { padding: 100px 0; background: var(--bg-light); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.focus-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}
.focus-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--primary);
}
.focus-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.focus-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.focus-card:hover .focus-card-img img { transform: scale(1.07); }
.focus-card-icon {
  position: absolute;
  bottom: -22px;
  left: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(119,199,32,0.4);
}
.focus-card-body {
  padding: 36px 24px 28px;
}
.focus-card-body h3 {
  font-family: var(--font-nav);
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
}
.focus-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.focus-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.focus-stat i { font-size: 14px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font-nav);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.read-more:hover { color: var(--primary-dark); gap: 10px; }

/* ============================================
   IMPACT COUNTERS (Dark band)
   ============================================ */
#impact-counters {
  background: linear-gradient(135deg, #1a2a0a 0%, #2a4a10 50%, #1a2a0a 100%);
  padding: 90px 0;
  position: relative;
}
#impact-counters::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-1.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.impact-item {
  text-align: center;
  color: var(--white);
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.impact-item:last-child { border-right: none; }
.impact-icon {
  width: 64px;
  height: 64px;
  background: rgba(119,199,32,0.2);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  margin: 0 auto 20px;
}
.impact-num {
  font-family: var(--font-nav);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.impact-suffix { color: var(--primary); }
.impact-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   NEWS & STORIES (Blog Grid)
   ============================================ */
#news { padding: 100px 0; background: var(--bg-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.news-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-thumb {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.news-body { padding: 24px; }
.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.news-meta span { display: flex; align-items: center; gap: 5px; }
.news-meta i { color: var(--primary); }
.news-body h3 {
  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 14px; color: var(--text-light); margin-bottom: 18px; line-height: 1.7; }
.news-data {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #edf7da;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ============================================
   GALLERY
   ============================================ */
#gallery { padding: 100px 0; background: var(--bg-light); }
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-rows: 250px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-item.wide { grid-column: span 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(119,199,32,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-overlay i { color: var(--white); font-size: 28px; opacity: 0; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { background: rgba(92, 158, 20, 0.65); }
.gallery-item:hover .gallery-overlay i { opacity: 1; }
.gallery-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}


/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img, .lightbox-inner video { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { color: var(--primary); }

/* ============================================
   TRUST & TRANSPARENCY
   ============================================ */
#transparency { padding: 100px 0; background: var(--bg-white); }
.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.trans-card { text-align: center; padding: 40px 30px; border-radius: 4px; transition: var(--transition); }
.trans-card:hover { background: var(--bg-light); transform: translateY(-4px); }
.trans-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(119,199,32,0.3);
}
.trans-card h3 {
  font-family: var(--font-nav);
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.trans-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.trans-card p { font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* ============================================
   GET INVOLVED / CTA
   ============================================ */
#get-involved {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d1f05 0%, #1a3a0a 40%, #0d1f05 100%);
  position: relative;
}
#get-involved::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-3.jpg') center/cover no-repeat;
  opacity: 0.12;
}
#get-involved .container { position: relative; z-index: 1; }
#get-involved .section-title { color: var(--white); }
#get-involved .section-subtitle { color: var(--primary-light); }
.involve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 50px 0;
}
.involve-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  padding: 32px 22px;
  text-align: center;
  transition: var(--transition);
  color: var(--white);
}
.involve-card:hover {
  background: rgba(119,199,32,0.15);
  border-color: var(--primary);
  transform: translateY(-6px);
}
.involve-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
  margin: 0 auto 18px;
}
.involve-card h4 { font-family: var(--font-nav); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.involve-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.involve-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.involve-ctas .btn { padding: 13px 30px; font-size: 13px; }

/* ============================================
   NEWSLETTER STRIP
   ============================================ */
#newsletter {
  background: var(--primary);
  padding: 60px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter-text p { color: rgba(255,255,255,0.85); font-size: 15px; margin: 0; }
.newsletter-form {
  display: flex;
  gap: 0;
  flex: 1;
  max-width: 480px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  border-radius: 2px 0 0 2px;
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--dark2);
  color: var(--white);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--footer-bg);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-col h5 {
  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 54px; width: auto; }
.footer-logo-text {
  font-family: var(--font-nav);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  font-size: 14px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a::before { content: '›'; color: var(--primary); font-size: 18px; line-height: 1; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer-contact-item i { color: var(--primary); font-size: 16px; min-width: 18px; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--primary); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 50px 0 0; }
.copyright-bar {
  background: var(--copyright-bg);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.copyright-bar a { color: var(--primary); font-weight: 600; }
.copyright-bar a:hover { color: var(--primary-light); }

/* ============================================
   INNER PAGE HEADER (Banner)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, #1a2a0a, #2a4a10);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-1.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-mission { padding: 100px 0; }
.about-team { padding: 80px 0; background: var(--bg-light); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.team-card { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.team-thumb { position: relative; overflow: hidden; height: 260px; }
.team-thumb img { width: 100%; height: 100%; object-fit: cover; }
.team-overlay { position: absolute; inset: 0; background: rgba(119,199,32,0.85); opacity: 0; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); }
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay a { width: 36px; height: 36px; background: var(--white); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--transition); }
.team-overlay a:hover { background: var(--primary-dark); color: var(--white); }
.team-info { padding: 22px; }
.team-info h4 { font-family: var(--font-nav); font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.team-info span { color: var(--primary); font-size: 13px; font-weight: 600; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px; }
.value-item { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--white); border-radius: 4px; box-shadow: var(--shadow); transition: var(--transition); }
.value-item:hover { border-left: 4px solid var(--primary); }
.value-icon { width: 50px; height: 50px; min-width: 50px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.value-text h4 { font-family: var(--font-nav); font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.value-text p { font-size: 14px; color: var(--text-light); margin: 0; }

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-section { padding: 100px 0; }
.blog-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-grid-full .news-card { display: flex; flex-direction: column; height: 100%; }
.blog-grid-full .news-body { flex: 1; display: flex; flex-direction: column; }
.blog-grid-full .news-body .read-more { margin-top: auto; }
.blog-sidebar { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.sidebar-widget { background: var(--bg-light); border-radius: 4px; padding: 28px; margin-bottom: 24px; }
.sidebar-widget h4 { font-family: var(--font-nav); font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.sidebar-cats { display: flex; flex-direction: column; gap: 8px; }
.sidebar-cats a { display: flex; justify-content: space-between; font-size: 14px; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-cats a:hover { color: var(--primary); }
.sidebar-cats span { background: var(--primary); color: var(--white); padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.contact-info-card {
  background: var(--bg-light);
  border-radius: 4px;
  padding: 40px;
}
.contact-info-card h3 { font-family: var(--font-nav); font-size: 22px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.contact-info-card > p { color: var(--text-light); font-size: 15px; margin-bottom: 30px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon { width: 46px; height: 46px; min-width: 46px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-detail-text h5 { font-family: var(--font-nav); font-size: 14px; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.contact-detail-text p, .contact-detail-text a { font-size: 14px; color: var(--text-light); margin: 0; }
.contact-detail-text a:hover { color: var(--primary); }
.contact-form-wrap { padding: 40px; background: var(--white); border-radius: 4px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-family: var(--font-nav); font-size: 22px; font-weight: 700; color: var(--heading); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-family: var(--font-nav); letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }
.map-section { padding: 0 0 80px; }
.map-embed { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 400px; border: none; }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.clear { clear: both; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Scroll to top */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(119,199,32,0.4);
}
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* =============================================
   PUBLIC EVENTS / PROJECTS / FUNDRAISING
   ============================================= */

/* Event date badge (on top of thumbnail) */
.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Event registration status pill */
.event-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(119,199,32,0.15);
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.event-status-badge.closed {
  background: rgba(211,47,47,0.1);
  color: #d32f2f;
}

/* Projects grid */
.pub-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.pub-project-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pub-project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.pub-project-body { padding: 24px; }
.pub-project-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  font-family: var(--font-nav);
}
.pub-project-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}
.pub-project-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pub-project-status.live { background: rgba(119,199,32,0.15); color: var(--primary-dark); }
.pub-project-status.completed { background: rgba(44,62,80,0.1); color: var(--heading); }
.pub-project-status.future { background: rgba(33,150,243,0.1); color: #1565c0; }

/* Fundraising campaigns grid */
.pub-campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.pub-campaign-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pub-campaign-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.pub-campaign-card h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-nav);
  margin: 0;
  line-height: 1.3;
}
.pub-campaign-card > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}
.pub-campaign-amounts {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}
.pub-campaign-pct {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}

/* Responsive — public sections */
@media (max-width: 900px) {
  .pub-project-grid,
  .pub-campaign-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pub-project-grid,
  .pub-campaign-grid { grid-template-columns: 1fr; }
}

/* ── PUBLIC MODALS (Register / Donate) ──────────────────── */
.pub-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.pub-modal-box {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: pubModalIn 0.22s ease;
}
@keyframes pubModalIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pub-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 16px;
  border-bottom: 1px solid var(--border);
}
.pub-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--heading);
  margin: 0;
}
.pub-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 4px;
  transition: var(--transition);
}
.pub-modal-close:hover { background: var(--bg-light); color: var(--heading); }
.pub-form-group {
  margin-bottom: 16px;
}
.pub-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}
.pub-form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.pub-form-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.pub-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
