/* ============================================================
   DAKSHIN CHARAIKHEYA UNITED CLUB — Design System
   WordPress/Elementor-ready modular CSS
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@400;700;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================ */
:root {
  /* Colors */
  --color-primary: #2E7D32;
  --color-primary-dark: #1B5E20;
  --color-primary-light: #4CAF50;
  --color-primary-pale: #E8F5E9;
  --color-secondary: #1565C0;
  --color-secondary-dark: #0D47A1;
  --color-secondary-light: #42A5F5;
  --color-secondary-pale: #E3F2FD;
  --color-accent: #FF8F00;
  --color-earth: #F5F0E8;
  --color-earth-dark: #E8DFD0;
  --color-earth-light: #FAF8F4;
  --color-white: #FFFFFF;
  --color-text: #1A2A1A;
  --color-text-light: #4A5A4A;
  --color-text-muted: #7A8A7A;
  --color-border: #D5D5C8;
  --color-dark-bg: #0F1F0F;
  --color-dark-bg-light: #1A2E1A;
  --color-overlay: rgba(15, 31, 15, 0.7);

  /* Typography */
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --fs-display: clamp(2.2rem, 5vw, 3.8rem);
  --fs-h1: clamp(1.8rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.5rem);
  --fs-h4: 1.1rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8rem;
  --line-height: 1.7;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-section: clamp(4rem, 8vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --border-radius: 8px;
  --border-radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --transition: 0.3s ease;

  /* Header */
  --header-height: 80px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--color-text); line-height: 1.3; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.container--narrow { max-width: var(--container-narrow); }

.section-padding { padding: var(--space-section) 0; }
.section-padding--sm { padding: var(--space-xl) 0; }

.grid { display: grid; gap: var(--space-lg); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Horizontal Carousel utility for swiping rows */
.partners-carousel {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
  align-items: center;
  text-align: center;
}
/* Beautiful visible scrollbar for desktop mice */
.partners-carousel::-webkit-scrollbar { height: 6px; }
.partners-carousel::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.partners-carousel::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 10px; cursor: pointer; }
.partners-carousel::-webkit-scrollbar-thumb:hover { background: var(--color-primary-dark); }
.partners-carousel > div {
  min-width: 200px;
  scroll-snap-align: center;
  flex-shrink: 0;
  border: 1px solid rgba(46, 125, 50, 0.1);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  background: var(--color-primary-pale);
  transition: transform var(--transition);
}
.partners-carousel > div:hover {
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .partners-carousel > div { min-width: 160px; padding: var(--space-md); }
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }
.flex--column { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.text-center { text-align: center; }

/* ============================================================
   4. SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 700px; margin: 0 auto var(--space-xl); }
.section-label {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--color-primary); margin-bottom: var(--space-sm);
  padding: 6px 18px; background: var(--color-primary-pale); border-radius: 100px;
  font-family: var(--font-body);
}
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { color: var(--color-text-light); font-size: 1.05rem; }
.section-divider {
  width: 60px; height: 3px; background: var(--color-primary); margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: var(--fs-small); font-weight: 600;
  border-radius: var(--border-radius); cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  text-transform: uppercase; letter-spacing: 1px;
}
.btn--primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn--white:hover { background: var(--color-primary-pale); border-color: var(--color-primary-pale); color: var(--color-primary-dark); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: #fff; color: var(--color-primary); border-color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: var(--fs-xs); }
.btn--lg { padding: 18px 40px; font-size: var(--fs-body); }

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height); transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo__icon {
  width: 46px; height: 46px; background: var(--color-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-heading); font-weight: 900; font-size: 1.1rem;
}
.site-logo__icon-img {
  width: 86px; height: 86px; object-fit: contain; margin-right: 4px;
}
.site-logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo__name { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--color-text); }
.site-logo__tagline { font-size: var(--fs-xs); color: var(--color-text-muted); }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a {
  padding: 8px 14px; font-size: var(--fs-small); font-weight: 500;
  color: var(--color-text-light); border-radius: 6px; transition: var(--transition);
}
.nav-main a:hover, .nav-main a.active { color: var(--color-primary); background: var(--color-primary-pale); }
.nav-main a.btn { 
  margin-left: 12px; 
  background: var(--color-primary) !important; 
  color: #fff !important; 
  border-color: var(--color-primary) !important;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
  padding: 8px 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-main a.btn:hover { 
  background: var(--color-primary-dark) !important; 
  border-color: var(--color-primary-dark) !important; 
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.35);
  color: #fff !important;
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--color-text);
  position: absolute; left: 8px; transition: var(--transition);
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.section-hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-bg-light) 100%);
  color: #fff; margin-top: var(--header-height); overflow: hidden;
}
.section-hero__bg {
  position: absolute; inset: 0;
  background: url('') center/cover no-repeat;
  opacity: 0.3;
}
.section-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,31,15,0.85) 0%, rgba(21,101,192,0.4) 100%);
}
.section-hero__content { position: relative; z-index: 2; max-width: 700px; }
.section-hero__legacy {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px; border-radius: 100px; font-size: var(--fs-small);
  margin-bottom: var(--space-md); backdrop-filter: blur(4px);
}
.section-hero__legacy svg { width: 16px; height: 16px; }
.section-hero h1 { color: #fff; font-size: var(--fs-display); margin-bottom: var(--space-sm); }
.section-hero__tagline { font-size: clamp(1.1rem, 2vw, 1.35rem); opacity: 0.9; margin-bottom: var(--space-lg); line-height: 1.6; }
.section-hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.section-hero__stats {
  position: relative; z-index: 2; display: flex; gap: var(--space-xl); margin-top: var(--space-xl);
  padding-top: var(--space-lg); border-top: 1px solid rgba(255,255,255,0.15);
}
.section-hero__stat { text-align: center; }
.section-hero__stat-number { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 900; display: block; }
.section-hero__stat-label { font-size: var(--fs-xs); opacity: 0.7; text-transform: uppercase; letter-spacing: 1.5px; }

/* Page hero (smaller, for inner pages) */
.section-page-hero {
  padding: clamp(5rem,10vw,8rem) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-dark-bg-light) 100%);
  color: #fff; margin-top: var(--header-height); text-align: center;
}
.section-page-hero h1 { color: #fff; margin-bottom: var(--space-sm); }
.section-page-hero p { opacity: 0.8; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: var(--space-md); font-size: var(--fs-small); opacity: 0.7; }
.breadcrumb a { color: #fff; opacity: 0.8; }
.breadcrumb a:hover { opacity: 1; }

/* ============================================================
   8. ABOUT SNAPSHOT
   ============================================================ */
.section-about-snapshot { background: var(--color-earth-light); }
.about-snapshot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.about-snapshot__image { border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-snapshot__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-snapshot__content h2 { margin-bottom: var(--space-md); }
.about-snapshot__content p { color: var(--color-text-light); margin-bottom: var(--space-sm); }
.about-snapshot__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: var(--color-primary-pale); color: var(--color-primary-dark);
  border-radius: var(--border-radius); font-weight: 600; font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}

/* ============================================================
   9. FOCUS AREAS
   ============================================================ */
.section-focus-areas { background: var(--color-white); }
.card-focus {
  text-align: center; padding: var(--space-xl) var(--space-lg);
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); transition: var(--transition);
}
.card-focus:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-pale); }
.card-focus__icon {
  width: 72px; height: 72px; margin: 0 auto var(--space-md);
  background: var(--color-primary-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; transition: var(--transition);
}
.card-focus:hover .card-focus__icon { background: var(--color-primary); color: #fff; }
.card-focus h3 { margin-bottom: var(--space-xs); }
.card-focus p { color: var(--color-text-light); font-size: var(--fs-small); }

/* ============================================================
   10. IMPACT COUNTERS
   ============================================================ */
.section-impact-counters {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
  color: #fff;
}
.impact-counter { text-align: center; padding: var(--space-md); }
.impact-counter__number {
  font-family: var(--font-heading); font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 900; display: block; margin-bottom: 4px;
}
.impact-counter__label { font-size: var(--fs-small); opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   11. PROJECT CARDS
   ============================================================ */
.card-project {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.card-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-project__image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-project__image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card-project:hover .card-project__image img { transform: scale(1.05); }
.card-project__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 14px; border-radius: 100px; font-size: var(--fs-xs);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.card-project__badge--ongoing { background: var(--color-primary); color: #fff; }
.card-project__badge--completed { background: var(--color-secondary); color: #fff; }
.card-project__badge--nabard { background: var(--color-accent); color: #fff; }
.card-project__body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.card-project__category { font-size: var(--fs-xs); font-weight: 600; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.card-project__title { font-size: var(--fs-h4); margin-bottom: 8px; }
.card-project__summary { color: var(--color-text-light); font-size: var(--fs-small); margin-bottom: var(--space-sm); flex: 1; }
.card-project__meta { display: flex; gap: var(--space-sm); flex-wrap: wrap; font-size: var(--fs-xs); color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.card-project__meta span { display: flex; align-items: center; gap: 4px; }

/* Project filter */
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--space-xl); }
.filter-btn {
  padding: 8px 20px; border: 1px solid var(--color-border);
  border-radius: 100px; font-size: var(--fs-xs); font-weight: 500;
  cursor: pointer; background: var(--color-white); color: var(--color-text-light);
  transition: var(--transition); font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* ============================================================
   12. PROJECT DETAIL
   ============================================================ */
.project-detail__quick-info {
  background: var(--color-earth-light); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); padding: var(--space-lg);
}
.project-detail__quick-info dl { display: grid; gap: var(--space-sm); }
.project-detail__quick-info dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); font-weight: 600; }
.project-detail__quick-info dd { font-weight: 500; margin-bottom: var(--space-xs); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--color-border); }
.project-detail__layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-xl); }
.project-detail__content h2 { font-size: var(--fs-h3); margin: var(--space-lg) 0 var(--space-sm); color: var(--color-primary-dark); }
.project-detail__content p { color: var(--color-text-light); margin-bottom: var(--space-sm); }
.project-detail__content ul { margin: var(--space-sm) 0; padding-left: var(--space-md); }
.project-detail__content ul li { color: var(--color-text-light); margin-bottom: 6px; list-style: disc; }

/* ============================================================
   13. TIMELINE
   ============================================================ */
.section-timeline { background: var(--color-earth-light); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--color-primary-pale); transform: translateX(-50%);
}
.timeline-item { position: relative; display: flex; margin-bottom: var(--space-lg); }
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: calc(50% + 30px); }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: calc(50% + 30px); }
.timeline-item__dot {
  position: absolute; left: 50%; top: 20px; width: 16px; height: 16px;
  background: var(--color-primary); border: 3px solid var(--color-white);
  border-radius: 50%; transform: translateX(-50%); z-index: 2; box-shadow: var(--shadow-sm);
}
.timeline-item__content {
  background: var(--color-white); padding: var(--space-md);
  border-radius: var(--border-radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.timeline-item__year { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.timeline-item__text { color: var(--color-text-light); font-size: var(--fs-small); }

/* ============================================================
   14. GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: var(--space-sm); }
.gallery-item {
  position: relative; border-radius: var(--border-radius); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute; inset: 0; background: var(--color-overlay); opacity: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; transition: var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--space-xl); }
.gallery-tab {
  padding: 8px 20px; border: 1px solid var(--color-border); border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 500; cursor: pointer;
  background: var(--color-white); color: var(--color-text-light); transition: var(--transition);
  font-family: var(--font-body);
}
.gallery-tab:hover, .gallery-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999;
  display: none; align-items: center; justify-content: center; padding: var(--space-lg);
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--border-radius); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
  background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
  color: #fff; font-size: 1.5rem; cursor: pointer; transition: var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   15. TESTIMONIALS
   ============================================================ */
.section-testimonials { background: var(--color-earth-light); }
.card-testimonial {
  background: var(--color-white); padding: var(--space-lg);
  border-radius: var(--border-radius-lg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); position: relative;
}
.card-testimonial__quote {
  font-family: var(--font-heading); font-style: italic; font-size: 1.05rem;
  line-height: 1.7; color: var(--color-text-light); margin-bottom: var(--space-md);
  position: relative; padding-left: var(--space-lg);
}
.card-testimonial__quote::before {
  content: '\201C'; position: absolute; left: 0; top: -10px;
  font-size: 3.5rem; color: var(--color-primary-pale); font-family: var(--font-heading);
  line-height: 1;
}
.card-testimonial__author { display: flex; align-items: center; gap: 12px; }
.card-testimonial__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-primary); font-size: 1.1rem;
}
.card-testimonial__name { font-weight: 600; font-size: var(--fs-small); }
.card-testimonial__role { font-size: var(--fs-xs); color: var(--color-text-muted); }

/* ============================================================
   16. PARTNERS
   ============================================================ */
.card-partner {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); padding: var(--space-lg);
  text-align: center; transition: var(--transition);
}
.card-partner:hover { box-shadow: var(--shadow-md); }
.card-partner__logo {
  width: 80px; height: 80px; margin: 0 auto var(--space-md);
  background: var(--color-earth); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--color-primary); font-size: var(--fs-small);
}
.card-partner h4 { margin-bottom: 6px; }
.card-partner p { font-size: var(--fs-small); color: var(--color-text-muted); }

/* ============================================================
   17. REPORT CARDS
   ============================================================ */
.card-report {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); padding: var(--space-lg);
  display: flex; gap: var(--space-md); align-items: flex-start; transition: var(--transition);
}
.card-report:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-report__icon {
  flex-shrink: 0; width: 56px; height: 56px; background: var(--color-secondary-pale);
  border-radius: var(--border-radius); display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary); font-size: 1.4rem;
}
.card-report__body { flex: 1; }
.card-report__year { font-size: var(--fs-xs); color: var(--color-text-muted); font-weight: 600; margin-bottom: 4px; }
.card-report__title { font-size: var(--fs-h4); margin-bottom: 6px; }
.card-report__summary { font-size: var(--fs-small); color: var(--color-text-light); margin-bottom: var(--space-sm); }

/* ============================================================
   18. TEAM CARDS
   ============================================================ */
.card-team-member {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); overflow: hidden;
  text-align: center; transition: var(--transition);
}
.card-team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-team-member__photo {
  aspect-ratio: 1; background: var(--color-earth);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--color-primary-pale);
}
.card-team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.card-team-member__info { padding: var(--space-md); }
.card-team-member__name { font-size: var(--fs-h4); margin-bottom: 4px; }
.card-team-member__role { font-size: var(--fs-small); color: var(--color-primary); font-weight: 500; margin-bottom: 6px; }
.card-team-member__bio { font-size: var(--fs-xs); color: var(--color-text-muted); }

/* ============================================================
   19. NEWS CARDS
   ============================================================ */
.card-news {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); overflow: hidden; transition: var(--transition);
}
.card-news:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-news__image { aspect-ratio: 16/9; overflow: hidden; }
.card-news__image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card-news:hover .card-news__image img { transform: scale(1.05); }
.card-news__body { padding: var(--space-md); }
.card-news__date { font-size: var(--fs-xs); color: var(--color-text-muted); font-weight: 500; margin-bottom: 6px; }
.card-news__title { font-size: var(--fs-h4); margin-bottom: 8px; }
.card-news__excerpt { font-size: var(--fs-small); color: var(--color-text-light); margin-bottom: var(--space-sm); }

/* ============================================================
   20. CTA SECTION
   ============================================================ */
.section-cta {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff; text-align: center;
}
.section-cta h2 { color: #fff; margin-bottom: var(--space-sm); }
.section-cta p { opacity: 0.9; max-width: 600px; margin: 0 auto var(--space-lg); }
.section-cta .container > div:last-child { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; margin-top: var(--space-sm); }
.section-cta .btn { margin: 0; }

/* ============================================================
   21. CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-info__item { display: flex; gap: var(--space-sm); margin-bottom: var(--space-md); }
.contact-info__icon {
  flex-shrink: 0; width: 48px; height: 48px; background: var(--color-primary-pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); font-size: 1.2rem;
}
.contact-info__text h4 { margin-bottom: 2px; font-size: var(--fs-body); }
.contact-info__text p { font-size: var(--fs-small); color: var(--color-text-light); }

.contact-form { background: var(--color-earth-light); padding: var(--space-xl); border-radius: var(--border-radius-lg); }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--color-border);
  border-radius: var(--border-radius); font-family: var(--font-body);
  font-size: var(--fs-body); background: var(--color-white); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-pale);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* Map placeholder */
.map-placeholder {
  width: 100%; height: 300px; background: var(--color-earth);
  border-radius: var(--border-radius-lg); display: flex; align-items: center;
  justify-content: center; color: var(--color-text-muted); margin-top: var(--space-xl);
  border: 1px solid var(--color-border);
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.site-footer { background: var(--color-dark-bg); color: rgba(255,255,255,0.8); }
.footer-main { padding: var(--space-2xl) 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-xl); }
.footer-col h4 { color: #fff; font-size: var(--fs-body); margin-bottom: var(--space-md); font-family: var(--font-body); font-weight: 600; }
.footer-col p { font-size: var(--fs-small); line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: var(--fs-small); transition: var(--transition); }
.footer-col ul a:hover { color: var(--color-primary-light); padding-left: 4px; }
.footer-about__logo { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); }
.footer-about__logo-icon {
  width: 40px; height: 40px; background: var(--color-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-heading); font-weight: 900; font-size: 0.9rem;
}
.footer-about__logo-icon-img {
  width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: white; padding: 4px;
}
.footer-about__logo-text { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-small); }
.footer-social { display: flex; gap: 12px; margin-top: var(--space-md); }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: transparent !important; /* Hide text fallback */
  position: relative; transition: var(--transition);
}
.footer-social a::before {
  content: ''; position: absolute; inset: 0; background-color: rgba(255,255,255,0.7);
  -webkit-mask-size: 45%; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
  mask-size: 45%; mask-repeat: no-repeat; mask-position: center; transition: var(--transition);
}
.footer-social a:hover { background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.footer-social a:hover::before { background-color: #ffffff; }

/* Injected SVG Social Icons (Feather) */
.footer-social a:nth-child(1)::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.footer-social a:nth-child(2)::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'/%3E%3C/svg%3E"); }
.footer-social a:nth-child(3)::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E"); }
.footer-social a:nth-child(4)::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.42a2.78 2.78 0 0 0-1.94 2C1 8.17 1 12 1 12s0 3.83.46 5.58a2.78 2.78 0 0 0 1.94 2C5.12 20 12 20 12 20s6.88 0 8.6-.42a2.78 2.78 0 0 0 1.94-2C23 15.83 23 12 23 12s0-3.83-.46-5.58z'/%3E%3Cpolygon points='9.75 15.02 15.5 12 9.75 8.98 9.75 15.02'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.42a2.78 2.78 0 0 0-1.94 2C1 8.17 1 12 1 12s0 3.83.46 5.58a2.78 2.78 0 0 0 1.94 2C5.12 20 12 20 12 20s6.88 0 8.6-.42a2.78 2.78 0 0 0 1.94-2C23 15.83 23 12 23 12s0-3.83-.46-5.58z'/%3E%3Cpolygon points='9.75 15.02 15.5 12 9.75 8.98 9.75 15.02'/%3E%3C/svg%3E"); }

/* Adaptation for light backgrounds (e.g., Contact Page Follow Us section) */
.contact-grid .footer-social a { border-color: rgba(0,0,0,0.1); }
.contact-grid .footer-social a::before { background-color: var(--color-primary-dark); }
.contact-grid .footer-social a:hover::before { background-color: #ffffff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: var(--space-md) 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); opacity: 0.6;
}

/* ============================================================
   23. DONATE / SUPPORT
   ============================================================ */
.donate-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--space-lg); }
.donate-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg); padding: var(--space-xl); text-align: center;
  transition: var(--transition);
}
.donate-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.donate-card__icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-md);
  background: var(--color-primary-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--color-primary);
}
.donate-card h3 { margin-bottom: var(--space-xs); }
.donate-card p { font-size: var(--fs-small); color: var(--color-text-light); margin-bottom: var(--space-md); }

/* ============================================================
   24. UTILITY CLASSES
   ============================================================ */
.bg-white { background: var(--color-white); }
.bg-earth { background: var(--color-earth-light); }
.bg-primary { background: var(--color-primary); color: #fff; }
.bg-dark { background: var(--color-dark-bg); color: #fff; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ============================================================
   25. SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  /* opacity: 0; transform: translateY(30px); removed to ensure visibility */
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { /* opacity: 0; transform: translateX(-30px); */ transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { /* opacity: 0; transform: translateX(30px); */ transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   26. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail__layout { grid-template-columns: 1fr; }
  .section-hero__stats { gap: var(--space-lg); }
}
@media (max-width: 768px) {
  .site-header { background: #ffffff; border-bottom: none; box-shadow: 0 2px 10px rgba(0,0,0,0.05); backdrop-filter: none !important; }
  .nav-toggle { display: none !important; /* Hide hamburger completely */ }
  body { padding-bottom: 80px; } /* Add padding so footer content isn't hidden by bottom nav */
  
  .nav-main {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; height: 74px;
    background: #ffffff; flex-direction: row; padding: 0 4px; margin: 0;
    transform: none; transition: none; gap: 0;
    justify-content: flex-start; align-items: stretch;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1); 
    border-top: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    z-index: 9999;
  }
  .nav-main::-webkit-scrollbar { display: none; }
  
  .nav-main a { 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0 6px; font-size: 0.65rem; border: none !important; border-radius: 0;
    font-weight: 600; color: var(--color-text-muted); transition: color 0.2s ease;
    min-width: 68px; scroll-snap-align: center; flex-shrink: 0; line-height: 1.2;
    text-transform: capitalize;
  }
  .nav-main a:hover, .nav-main a.active { 
    background: transparent; color: var(--color-primary); padding-left: 6px;
  }
  
  /* Reset CTA button spacing and style to match other bottom tabs */
  .nav-main .btn, .nav-main a.btn { 
    margin: 0 !important; padding: 0 6px !important; display: flex !important; justify-content: center !important; 
    border: none !important; box-shadow: none !important; background: transparent !important; color: var(--color-text-muted) !important;
    font-size: 0.65rem !important; border-radius: 0 !important; font-weight: 600 !important; height: auto !important; letter-spacing: 0 !important; white-space: normal !important; flex-shrink: 0 !important;
  }
  .nav-main a.btn:hover, .nav-main a.btn.active { color: var(--color-primary) !important; background: transparent !important; transform: none !important; box-shadow: none !important; }
  
  /* SVG Mobile Icons Using Masks */
  .nav-main a::before {
    content: ''; display: block; width: 22px; height: 22px; margin-bottom: 4px; background-color: currentColor;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
    mask-size: contain; mask-repeat: no-repeat; mask-position: center; transition: transform 0.2s ease;
  }
  .nav-main a:active::before { transform: scale(0.85); }
  
  .nav-main a[href="index.html"]::before, .nav-main a[href$="/dcuc/"]::before, .nav-main a[href$="/"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
  .nav-main a[href*="about"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
  .nav-main a[href*="project"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
  .nav-main a[href*="impact"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E"); }
  .nav-main a[href*="gallery"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E"); }
  .nav-main a[href*="report"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }
  .nav-main a[href*="team"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
  .nav-main a[href*="news"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E"); }
  .nav-main a[href*="contact"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
  .nav-main a[href*="donate"]::before, .nav-main a.btn::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E"); }


  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .about-snapshot__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-hero { min-height: 70vh; }
  .section-hero__stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: var(--space-md) var(--space-xs); 
    align-items: start; 
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .section-hero__stats .stat-item h3 { font-size: 1.8rem; }
  .section-hero__actions { flex-direction: column; }
  .section-hero__actions .btn { width: 100%; justify-content: center; }

  .timeline::before { left: 20px; }
  .timeline-item { padding: 0 0 0 50px !important; justify-content: flex-start !important; }
  .timeline-item__dot { left: 20px !important; }
}
@media (max-width: 480px) {
  :root { --space-section: 3rem; }
  .btn { padding: 12px 24px; width: 100%; justify-content: center; }
  .card-report { flex-direction: column; }
}

/* ============================================================
   27. ELEGANT IMPACT CHARTS & TIMELINES
   ============================================================ */
.chart-container {
  display: flex; align-items: flex-end; justify-content: center; gap: 20px;
  height: 300px; padding: var(--space-md) 0 0; position: relative;
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 100% 50px, 50px 100%;
  border-bottom: 2px solid var(--color-border);
}
.chart-bar-wrapper {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  height: 100%; width: 100px; position: relative;
}
.chart-bar {
  width: 100%; border-radius: 8px 8px 0 0; position: relative;
  background: linear-gradient(to top, var(--color-primary-dark), var(--color-primary-light));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  box-shadow: 0 4px 15px rgba(46,125,50,0.2);
  transform-origin: bottom;
}
.chart-bar-wrapper:hover .chart-bar {
  transform: scaleY(1.05); filter: brightness(1.1);
}
.chart-label-top {
  position: absolute; top: -35px; width: 100%; text-align: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem;
  color: var(--color-primary-dark); opacity: 0; transform: translateY(10px);
  transition: 0.3s ease;
}
.chart-bar-wrapper:hover .chart-label-top { opacity: 1; transform: translateY(0); }
.chart-label-bottom {
  margin-top: 15px; font-weight: 600; font-size: 0.95rem; color: var(--color-text);
}

/* ============================================================
   28. FLAGSHIP PROGRAMME CARDS
   ============================================================ */
.card-flagship {
  background: var(--color-white);
  border-radius: var(--border-radius-lg); position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); transition: var(--transition);
  display: flex; flex-direction: column; border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-primary);
}
.card-flagship:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
}
.card-flagship__image { position: relative; height: 220px; overflow: hidden; }
.card-flagship__image img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease;
}
.card-flagship:hover .card-flagship__image img { transform: scale(1.08); }
.card-flagship__icon {
  position: absolute; bottom: -25px; left: 25px;
  width: 60px; height: 60px; background: var(--color-white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow-sm); z-index: 2;
  border: 2px solid var(--color-primary-pale);
}
.card-flagship__body { padding: 40px var(--space-lg) var(--space-lg); flex: 1; display:flex; flex-direction:column;}
.card-flagship__title { font-size: 1.3rem; margin-bottom: 12px; color: var(--color-text); }
.card-flagship__desc { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex:1;}
.card-flagship__footer {
  border-top: 1px solid var(--color-border); padding-top: 15px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; font-weight: 600; color: var(--color-primary-dark);
}

/* ============================================================
   29. SOCIAL ICONS
   ============================================================ */
.footer-social { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); color: #fff;
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  color: #fff;
}
#contact-section .footer-social a {
  color: var(--color-text);
  border-color: var(--color-border);
}
#contact-section .footer-social a:hover {
  color: #fff;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
