/* ============================================================
   ADIVASHI SEWA SANSTHAN — Complete Stylesheet
   Theme: Light, Authentic, Professional NGO
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
  /* Primary — warm earthy green */
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-dark: #1b4332;
  --primary-50: #d8f3dc;
  --primary-100: #b7e4c7;

  /* Accent — warm saffron / orange */
  --accent: #e07a2f;
  --accent-light: #f09c4f;
  --accent-dark: #c46a1f;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fdfcfa;
  --cream: #faf7f2;
  --light-bg: #f5f1eb;
  --gray-100: #f0ece6;
  --gray-200: #e0dbd3;
  --gray-300: #c9c2b8;
  --gray-400: #a39e95;
  --gray-500: #7a756d;
  --gray-600: #5c5850;
  --gray-700: #3d3a35;
  --gray-800: #2a2824;
  --gray-900: #1a1916;

  /* Text */
  --text-primary: #2a2824;
  --text-secondary: #5c5850;
  --text-muted: #7a756d;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-width: 1200px;
  --container-padding: 0 1.5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--gray-800);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

/* ======================== ANIMATIONS ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================== SECTION HEADER ======================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-label-light {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto 1.2rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

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

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  color: var(--white);
  background: var(--accent);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary-sm:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ======================== NAVBAR ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  transition: var(--transition);
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.navbar.scrolled .logo-name {
  color: var(--gray-800);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

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

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

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

.btn-nav-donate {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  white-space: nowrap;
}

.btn-nav-donate:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

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

.navbar.scrolled .hamburger span {
  background: var(--gray-700);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ======================== HERO ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #52796f 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,122,47,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.8rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 720px;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2.2rem;
  max-width: 680px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ======================== ABOUT ======================== */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.about-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.about-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.about-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-icon svg {
  width: 26px;
  height: 26px;
}

.about-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.values-list {
  margin: 1rem 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-weight: 500;
  color: var(--text-primary);
}

.values-list li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.about-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary) !important;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-top: 1.2rem !important;
}

/* Vision Mission Values */
.vmv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.vmv-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}

.vmv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.vmv-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  color: var(--white);
}

.vmv-icon svg {
  width: 22px;
  height: 22px;
}

.vmv-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--gray-800);
}

.vmv-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.vmv-card ul {
  text-align: left;
  padding-left: 0;
}

.vmv-card ul li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.vmv-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* ======================== PROGRAMS ======================== */
.programs {
  background: var(--cream);
}

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

.program-card {
  position: relative;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  overflow: hidden;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-100);
}

.program-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.program-card:hover .program-card-icon {
  background: var(--primary);
  color: var(--white);
}

.program-card-icon svg {
  width: 24px;
  height: 24px;
}

.program-card-number {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  transition: var(--transition);
}

.program-card:hover .program-card-number {
  color: var(--primary-50);
}

.program-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  padding-right: 2rem;
}

.program-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.program-card ul {
  margin-bottom: 1.2rem;
}

.program-card ul li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.1rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.program-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.program-impact {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.8rem;
  background: var(--primary-50);
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.program-impact svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.program-impact span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.5;
}

/* ======================== HOW YOU CAN HELP ======================== */
.help-section {
  background: var(--off-white);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.help-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}

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

.help-card.featured {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border: none;
  transform: scale(1.03);
}

.help-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.help-card.featured h3,
.help-card.featured p,
.help-card.featured li {
  color: var(--white);
}

.help-card.featured li::before {
  background: var(--accent-light) !important;
}

.help-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  color: var(--primary);
}

.help-card.featured .help-card-icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.help-card-icon svg {
  width: 28px;
  height: 28px;
}

.help-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.help-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.help-card ul {
  text-align: left;
  margin-bottom: 1.2rem;
}

.help-card ul li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.help-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.help-highlight {
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.8rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem !important;
}

/* ======================== VOLUNTEER ======================== */
.volunteer-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #52796f 100%);
  color: var(--white);
  overflow: hidden;
}

.volunteer-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10zm20 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.volunteer-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.volunteer-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.volunteer-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.volunteer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.volunteer-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}

.volunteer-point:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.volunteer-point svg {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
}

.volunteer-point span {
  font-size: 0.9rem;
  font-weight: 500;
}

.volunteer-cta-wrapper {
  text-align: center;
  margin-top: 2.5rem;
}

.volunteer-cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

/* ======================== IMPACT ======================== */
.impact-section {
  background: var(--cream);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.impact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.impact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.impact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 50%;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.impact-icon svg {
  width: 24px;
  height: 24px;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
}

.impact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ======================== GALLERY ======================== */
.gallery-section {
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(145deg, var(--primary-50), var(--gray-100));
  height: 260px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  padding: 1.5rem;
  transition: var(--transition);
}

.gallery-placeholder:hover {
  background: linear-gradient(145deg, var(--primary-100), var(--primary-50));
  border-color: var(--primary-light);
}

.gallery-placeholder svg {
  width: 32px;
  height: 32px;
  color: var(--primary-light);
}

.gallery-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ======================== NEWS ======================== */
.news-section {
  background: var(--cream);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.news-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

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

.news-card-date svg {
  width: 14px;
  height: 14px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.news-read-more svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.news-read-more:hover {
  color: var(--primary-dark);
}

.news-read-more:hover svg {
  transform: translateX(4px);
}

/* ======================== TESTIMONIALS ======================== */
.testimonials-section {
  background: var(--off-white);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
}

.testimonial-quote {
  margin-bottom: 1.2rem;
  color: var(--primary-light);
}

.testimonial-quote svg {
  width: 36px;
  height: 36px;
}

.testimonial-card > p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  border-radius: 50%;
  color: var(--primary);
}

.testimonial-avatar svg {
  width: 22px;
  height: 22px;
}

.testimonial-author div:last-child {
  text-align: left;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
}

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

.testimonial-btn svg {
  width: 18px;
  height: 18px;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ======================== CONTACT ======================== */
.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.contact-item span {
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-org-info {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-md);
  color: var(--white);
}

.contact-org-info h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.contact-org-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-50);
}

.form-group textarea {
  resize: vertical;
}

.contact-form .btn svg {
  width: 18px;
  height: 18px;
}

/* ======================== FOOTER ======================== */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.footer-follow {
  font-style: italic;
  color: var(--accent-light) !important;
}

.footer-links-group h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-links-group ul li {
  margin-bottom: 0.5rem;
}

.footer-links-group ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ======================== BACK TO TOP ======================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ======================== RESPONSIVE ======================== */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4.5rem 0;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-card.featured {
    transform: scale(1);
    grid-column: span 2;
  }

  .help-card.featured:hover {
    transform: translateY(-4px);
  }

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablet Small */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 5rem 1.5rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
    gap: 0.2rem;
    align-items: stretch;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    color: var(--text-primary) !important;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    background: var(--primary-50) !important;
    color: var(--primary) !important;
  }

  .btn-nav-donate {
    margin-left: 0 !important;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .vmv-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-padding: 3.5rem 0;
    --container-padding: 0 1.1rem;
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .help-card.featured {
    grid-column: span 1;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .impact-number {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 1;
  }

  .gallery-placeholder {
    height: 200px;
  }

  .gallery-item img {
    height: 200px;
  }

  .volunteer-grid {
    flex-direction: column;
    align-items: center;
  }

  .volunteer-point {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .back-to-top {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 42px;
    height: 42px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card > p {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 380px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
