/* ============================================
   ISNAD — Design System & Styles
   Humanitarian Aid NGO — Gaza
   ============================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Core palette */
  --olive-900: #1a2618;
  --olive-800: #2a3c24;
  --olive-700: #3a5230;
  --olive-600: #4a6940;
  --olive-500: #5a7f50;
  --olive-400: #7a9f6a;
  --olive-300: #9abf8a;
  --olive-200: #c5ddb8;
  --olive-100: #e8f0e2;
  --olive-50:  #f4f8f2;

  --gold-900: #5c3d0a;
  --gold-800: #7a5210;
  --gold-700: #9a6a18;
  --gold-600: #b88420;
  --gold-500: #d4a030;
  --gold-400: #e0b84c;
  --gold-300: #ecd07a;
  --gold-200: #f4e0a8;
  --gold-100: #faf0d5;
  --gold-50:  #fdf8eb;

  --warm-900: #2c1810;
  --warm-800: #4a2a1a;
  --warm-700: #6a3c24;
  --warm-600: #8a5030;
  --warm-500: #a86840;
  --warm-100: #f5ebe0;
  --warm-50:  #faf6f0;

  --neutral-950: #0a0a0a;
  --neutral-900: #171717;
  --neutral-800: #262626;
  --neutral-700: #404040;
  --neutral-600: #525252;
  --neutral-500: #737373;
  --neutral-400: #a3a3a3;
  --neutral-300: #d4d4d4;
  --neutral-200: #e5e5e5;
  --neutral-100: #f5f5f5;
  --neutral-50:  #fafafa;

  --white: #ffffff;
  --black: #000000;

  /* Semantic */
  --bg-primary: var(--warm-50);
  --bg-dark: var(--olive-900);
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-600);
  --text-muted: var(--neutral-500);
  --text-inverse: var(--neutral-100);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-600);
  --accent-light: var(--gold-100);
  --brand: var(--olive-600);
  --brand-light: var(--olive-100);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 40px rgba(212,160,48,0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

/* ---------- 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(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo img {
  height: 48px;
  width: 48px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: var(--white);
  padding: 2px;
}

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

.logo-en {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color var(--transition-base);
}

.logo-ar {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  transition: color var(--transition-base);
}

.header.scrolled .logo-en {
  color: var(--olive-800);
}

.header.scrolled .logo-ar {
  color: var(--olive-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.header.scrolled .nav-links a {
  color: var(--text-secondary);
}

.header.scrolled .nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.65rem 1.6rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  transition: all var(--transition-base) !important;
  box-shadow: 0 2px 12px rgba(212,160,48,0.3);
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,160,48,0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.header.scrolled .mobile-toggle span {
  background: var(--text-primary);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 38, 24, 0.88) 0%,
    rgba(26, 38, 24, 0.72) 40%,
    rgba(26, 38, 24, 0.55) 70%,
    rgba(26, 38, 24, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.2rem;
  background: rgba(212, 160, 48, 0.15);
  border: 1px solid rgba(212, 160, 48, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-300);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .accent {
  color: var(--gold-400);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212,160,48,0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,48,0.45);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--olive-700);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--olive-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 1s both;
}

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

/* ============================================
   IMPACT STATS BAR
   ============================================ */
.impact-bar {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 var(--space-xl);
}

.impact-bar-inner {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  box-shadow: var(--shadow-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: var(--neutral-200);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--olive-700);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-number .accent {
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   ABOUT / MISSION SECTION
   ============================================ */
.about {
  padding: var(--space-5xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold-300);
  border-radius: var(--radius-2xl);
  z-index: -1;
  opacity: 0.5;
}

.about-text h2 {
  margin-bottom: var(--space-xl);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--olive-50);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.value-item:hover {
  background: var(--olive-100);
  transform: translateY(-2px);
}

.value-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-200);
  border-radius: var(--radius-md);
  color: var(--olive-700);
  flex-shrink: 0;
}

.value-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--olive-700);
}

.value-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--olive-800);
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ============================================
   PROGRAMS / WHAT WE DO
   ============================================ */
.programs {
  padding: var(--space-5xl) 0;
  background: var(--olive-900);
  position: relative;
  overflow: hidden;
}

.programs::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(212,160,48,0.06) 0%, transparent 70%);
}

.programs .section-title {
  color: var(--white);
}

.programs .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.programs-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.program-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.program-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,160,48,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,160,48,0.12);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  color: var(--gold-400);
}

.program-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold-400);
}

.program-card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.program-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ============================================
   GALLERY / IMPACT SECTION
   ============================================ */
.gallery {
  padding: var(--space-5xl) 0;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-3xl);
}

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

.gallery-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--neutral-200);
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:first-child img {
  min-height: 520px;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,38,24,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}



/* ============================================
   CTA / DONATE SECTION
   ============================================ */
.cta {
  padding: var(--space-5xl) 0;
  position: relative;
}

.cta-card {
  background: linear-gradient(135deg, var(--olive-800) 0%, var(--olive-900) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(212,160,48,0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta-card h2 .accent {
  color: var(--gold-400);
}

.cta-card p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.donate-amounts {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.donate-amount {
  padding: 0.6rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.donate-amount:hover,
.donate-amount.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(212,160,48,0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--space-5xl) 0;
  background: var(--neutral-50);
}

.contact-grid {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-100);
  border-radius: var(--radius-lg);
  color: var(--olive-700);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--neutral-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--olive-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90,127,80,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--neutral-400);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--olive-700);
  color: var(--white);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.btn-submit:hover {
  background: var(--olive-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: var(--space-lg);
  max-width: 300px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.footer-social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-base);
}

.footer-social:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: var(--space-xl);
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: var(--space-xs) 0;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-newsletter {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-newsletter input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.3);
}

.footer-newsletter input:focus {
  border-color: var(--accent);
}

.footer-newsletter button {
  padding: 0.65rem 1.2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-base);
}

.footer-newsletter button:hover {
  background: var(--accent-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

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

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: var(--space-2xl);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

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

  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item:first-child img {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(26, 38, 24, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: var(--white);
  }

  .header.scrolled .nav-links a {
    color: var(--white);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .impact-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image img {
    height: 350px;
  }

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

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

  .gallery-item:first-child img {
    min-height: 280px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-card {
    padding: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.25rem;
    --space-4xl: 3rem;
    --space-5xl: 4rem;
  }

  .impact-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

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