/* ============================================
   Community Relief Network — Premium Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-deep: #0f3d21;
  --green-main: #1a6b37;
  --green-mid: #238c4a;
  --green-light: #e6f4ec;
  --green-pale: #f0f8f3;
  --blue-deep: #0c2d4a;
  --blue-main: #1565c0;
  --blue-light: #e8f1fc;
  --cream: #faf8f4;
  --cream-dark: #f0ece4;
  --warm-white: #fefdfb;
  --text-primary: #111a14;
  --text-secondary: #3d4f42;
  --text-light: #6b7e70;
  --text-muted: #94a39a;
  --accent-gold: #c9952c;
  --accent-coral: #d4664a;
  --border-light: rgba(15, 61, 33, 0.06);
  --shadow-xs: 0 1px 3px rgba(15, 61, 33, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 61, 33, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 61, 33, 0.07);
  --shadow-lg: 0 20px 60px rgba(15, 61, 33, 0.09);
  --shadow-xl: 0 32px 80px rgba(15, 61, 33, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.15;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}

h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--green-deep);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(254, 253, 251, 0.95);
  box-shadow: 0 1px 12px rgba(15, 61, 33, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-main);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-main);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
  background: var(--green-main) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s var(--ease-out) !important;
  box-shadow: 0 2px 12px rgba(26, 107, 55, 0.2);
}

.nav-cta:hover {
  background: var(--green-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 107, 55, 0.3);
}

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

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #f7faf8 0%, var(--cream) 40%, #f5f0e8 100%);
}

/* Hero watermark */
.hero::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -3%;
  width: 400px;
  height: 400px;
  background: url('../images/logo-icon.png') no-repeat center / contain;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(26, 107, 55, 0.05) 0%, transparent 70%);
}

.hero-shape-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -80px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.04) 0%, transparent 70%);
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  top: 30%;
  right: 20%;
  background: radial-gradient(circle, rgba(201, 149, 44, 0.04) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: heroFadeIn 1s var(--ease-out) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  color: var(--green-main);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-main);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  color: var(--green-deep);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue-main);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green-main);
  color: white;
  box-shadow: 0 4px 20px rgba(26, 107, 55, 0.25);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 107, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid rgba(15, 61, 33, 0.15);
}

.btn-outline:hover {
  border-color: var(--green-main);
  background: var(--green-light);
  transform: translateY(-2px);
}

/* Hero trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(15, 61, 33, 0.08);
}

.hero-trust-item {
  font-size: 0.88rem;
  color: var(--text-light);
}

.hero-trust-item strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  color: var(--green-deep);
  line-height: 1.2;
}

.hero-trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(15, 61, 33, 0.1);
}

/* Hero visual / card */
.hero-visual {
  position: relative;
  animation: heroFadeIn 1s var(--ease-out) 0.15s both;
}

.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 61, 33, 0.04);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--blue-main), var(--accent-gold));
}

.hero-card-header {
  margin-bottom: 28px;
}

.hero-card-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-main);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-stat {
  text-align: center;
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  background: var(--green-pale);
}

.hero-stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--green-deep);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.3;
}

/* Float elements */
.float-element {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatSlow 6s ease-in-out infinite;
  border: 1px solid rgba(15, 61, 33, 0.04);
}

.float-1 {
  top: -16px;
  right: -24px;
  color: var(--accent-coral);
}

.float-2 {
  bottom: -16px;
  left: -24px;
  color: var(--blue-main);
  animation-delay: -3s;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon.coral {
  background: rgba(212, 102, 74, 0.1);
  color: var(--accent-coral);
}

.float-icon.blue {
  background: rgba(21, 101, 192, 0.1);
  color: var(--blue-main);
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  background: var(--green-deep);
  padding: 20px 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-locations {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-locations span {
  padding: 5px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.trust-locations span:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 16px;
  position: relative;
  padding: 0 32px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--blue-main);
  opacity: 0.35;
}

.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag {
  padding-left: 0;
}

.about-content .section-tag::before {
  display: none;
}

.about-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
  border: 1px solid transparent;
}

.value-item:hover {
  background: white;
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.value-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-main);
  box-shadow: var(--shadow-xs);
}

.value-item:hover .value-icon {
  background: var(--green-light);
}

.value-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}

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

/* About visual */
.about-visual {
  position: relative;
}

.about-image-card {
  background: linear-gradient(145deg, var(--green-deep), #0a3520);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  color: white;
  position: relative;
  overflow: hidden;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, rgba(26, 107, 55, 0.3) 0%, transparent 60%);
}

.about-image-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.15) 0%, transparent 60%);
}

.about-quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  line-height: 0.5;
  opacity: 0.15;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.about-image-card blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.about-image-card cite {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.6;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

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

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

.program-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

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

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

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.program-icon.food { background: linear-gradient(135deg, #e6f4ec, #c8e6c9); color: #2e7d32; }
.program-icon.hygiene { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }
.program-icon.events { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.program-icon.elderly { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.program-icon.homeless { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #7b1fa2; }

.program-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--green-deep);
}

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

/* Featured program */
.program-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #f0f8f3, white);
}

.program-card.featured .program-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
}

/* ========================================
   IMPACT
   ======================================== */
.impact {
  background: linear-gradient(160deg, var(--green-deep), #0a3520);
  color: white;
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 107, 55, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(21, 101, 192, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.impact .section-tag {
  color: rgba(255,255,255,0.55);
}

.impact .section-tag::before,
.impact .section-tag::after {
  background: rgba(255,255,255,0.2);
}

.impact .section-header h2 {
  color: white;
}

.impact .section-header p {
  color: rgba(255,255,255,0.6);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.impact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

.impact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: rgba(165, 214, 167, 0.9);
}

.impact-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #a5d6a7, #81d4fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.4;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-deep);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--green-deep);
}

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

/* ========================================
   GET INVOLVED / CTA
   ======================================== */
.cta {
  background: var(--cream);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cta-card {
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

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

.cta-card.donate {
  background: linear-gradient(145deg, var(--green-main), #136b35);
  color: white;
  box-shadow: 0 16px 48px rgba(26, 107, 55, 0.2);
}

.cta-card.donate::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.cta-card.volunteer {
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.cta-card.volunteer:hover {
  border-color: var(--green-main);
  box-shadow: var(--shadow-lg);
}

.cta-card-icon {
  margin-bottom: 24px;
  color: currentColor;
  opacity: 0.85;
}

.cta-card.donate .cta-card-icon {
  color: white;
}

.cta-card.volunteer .cta-card-icon {
  color: var(--green-main);
}

.cta-card h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.cta-card.donate h3 { color: white; }

.cta-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-card.donate p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-card.volunteer p {
  color: var(--text-secondary);
}

.btn-white {
  background: white;
  color: var(--green-deep);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-tag {
  padding-left: 0;
}

.contact-info .section-tag::before {
  display: none;
}

.contact-info h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
}

.contact-info > p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: var(--green-pale);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-main);
}

.contact-item-text {
  font-size: 0.95rem;
}

.contact-item-text strong {
  display: block;
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

.contact-item-text a {
  color: var(--text-secondary);
}

.contact-item-text a:hover {
  color: var(--green-main);
}

/* Contact form */
.contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(15, 61, 33, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--cream);
  transition: all 0.3s ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-main);
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 107, 55, 0.06);
}

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

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

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--green-main);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 107, 55, 0.25);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand-name {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.footer-brand-name span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: white;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-bottom a:hover {
  color: white;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-main);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 107, 55, 0.3);
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  z-index: 999;
}

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

.scroll-top:hover {
  background: var(--green-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(26, 107, 55, 0.35);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .float-element {
    display: none;
  }

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

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

  .program-card.featured {
    grid-column: span 2;
  }

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

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 251, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-light);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-links li a:hover {
    background: var(--green-pale);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 0;
  }

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

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

  .program-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

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

  .cta-card {
    padding: 36px 28px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .impact-card {
    padding: 28px 18px;
  }

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

  .trust-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .trust-locations {
    justify-content: center;
  }

  .hero-trust {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-trust-divider {
    display: none;
  }

  .hero-trust-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-card {
    padding: 28px 20px;
  }

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

  .btn {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
