/* ────────────────────────────────────────────────────────────
   STYLE.CSS — Eden Sanctuaries
   Tokens, reset, components, responsive design
   ──────────────────────────────────────────────────────────── */

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  --green:    #09af11;
  --green-dk: #067a0b;
  --brown:    #180e0e;
  --cream:    #f5f0e8;
  --sand:     #e8ddd0;
  --text:     #f5f0e8;
  --radius:   14px;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Poppins', sans-serif;
  /* ... keep your existing tokens ... */
  --panel:    #141f0f;
  --border:   rgba(9,175,17,0.15);
  --muted:    rgba(232,237,228,0.55);
  --shadow:   0 8px 24px rgba(0,0,0,0.25);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ── GRAIN OVERLAY (texture) ──────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image:tt ;
  opacity: 0.025;
}

  
/* ============================================================
   NAVBAR - PRECISE GRID ALIGNMENT
   ============================================================ */
   .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 26, 14, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: 0.4s;
    box-shadow: var(--shadow);
    z-index: 1000;
    
    /* Use grid with minmax for balanced columns */
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  /* ── LOGO (left) ──────────────────────────────────────────── */
  .logo-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    justify-self: start;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .logo span {
    font-weight: 600;
    color: var(--green);
    font-size: 0.95rem;
    white-space: nowrap;
  }
  
  /* ── NAV LINKS (center) ──────────────────────────────────── */
  .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    justify-self: center;
    margin: 0;
  }
  
  .nav-links a {
    padding: 0.4rem 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
  }
  
  .nav-links a:hover {
    color: var(--green);
    background: rgba(9,175,17,0.08);
  }
  
  .nav-links a.active {
    color: var(--green);
  }
  
  /* ── NAV RIGHT ICONS ──────────────────────────────────────── */
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    justify-self: end;
    min-width: 120px; /* Match the approximate width of the logo */
  }
  
  .nav-right .icon-img-btn,
  .nav-right .cart-icon {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
  }
  
  .nav-right .icon-img-btn:hover,
  .nav-right .cart-icon:hover {
    background: rgba(255,255,255,0.05);
  }
  
  .nav-right .nav-icon-img,
  .nav-right .cart-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* ── CART BADGE ──────────────────────────────────────────── */
  .cart-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    background: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .cart-badge.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  #cart-count.pop {
    transform: scale(1.4);
    transform-origin: top right;
  }
  
  /* ── NOTIFICATION BADGE ──────────────────────────────────── */
  .account-icon {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .account-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
  
  .notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    background: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .notification-badge.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .notification-count.pop {
    transform: scale(1.4);
    transform-origin: top right;
  }
  
  /* ── MOBILE MENU BUTTON ──────────────────────────────────── */
  .menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
  }
  
  .menu-btn:hover {
    background: rgba(255,255,255,0.05);
  }
  
  .menu-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* ── MOBILE SLIDE MENU ───────────────────────────────────── */
  .slide-menu {
    position: fixed;
    top: 0; left: -280px;
    width: 260px; height: 100%;
    background: rgba(13, 26, 14, 0.85);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(4px);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    z-index: 1001;
  }
  .slide-menu.show { left: 0; }
  .slide-menu a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s;
  }
  .slide-menu a:hover,
  .slide-menu a.active { color: var(--green); }
  
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
  }
  .overlay.show { opacity: 1; visibility: visible; backdrop-filter: blur(3px); }
  
  /* ── RESPONSIVE NAV ──────────────────────────────────────── */
  @media (max-width: 959px) {
    .navbar {
      grid-template-columns: 1fr auto;
      gap: 0.5rem;
    }
    
    .nav-links {
      display: none !important;
    }
    
    .menu-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
    }
    
    .nav-right {
      min-width: auto;
    }
  }
  
  @media (min-width: 960px) {
    .menu-btn {
      display: none !important;
    }
    .nav-links {
      display: flex !important;
    }
  }
  

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brown);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(24,14,14,0.15) 0%, rgba(24,14,14,0.85) 100%),
    linear-gradient(135deg, #1a2e0a 0%, #0d1f06 40%, #180e0e 100%);
}
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, #09af11 0%, transparent 70%);
  top: -20%; left: -15%;
  animation-duration: 22s;
}
.orb-2 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, #2d5a1b 0%, transparent 70%);
  top: 30%; right: -10%;
  animation-duration: 15s;
  animation-delay: -8s;
}
.orb-3 {
  width: 30vw; height: 30vw;
  background: radial-gradient(circle, #09af11 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-duration: 19s;
  animation-delay: -4s;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(4%, 6%) scale(1.08); }
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(9,175,17,0.6);
  border-radius: 50%;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 6vw 10vh;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fade-up 0.8s 0.3s forwards;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--green);
}
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 1.0;
  color: #fff;
  opacity: 0;
  animation: fade-up 0.9s 0.55s forwards;
  letter-spacing: -0.01em;
}
.hero-h1 em {
  font-style: italic;
  color: var(--green);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 1.6rem;
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.9s 0.8s forwards;
  transition: opacity 0.8s ease;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.9s 1.0s forwards;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(9,175,17,0.35);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(9,175,17,0.45);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 6vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(9,175,17,0.8), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}
@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}

/* ── WAVES ────────────────────────────────────────────────── */
.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave svg {
  display: block;
}

/* ── MANIFESTO ────────────────────────────────────────────── */
.manifesto {
  background: var(--brown);
  padding: 7rem 6vw;
  position: relative;
  overflow: hidden;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.manifesto-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.manifesto-headline {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  color: var(--cream);
  line-height: 1.12;
  font-weight: 900;
}
.manifesto-headline .accent {
  color: var(--green);
  font-style: italic;
}
.manifesto-body {
  color: rgba(245,240,232,0.7);
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 2rem;
}
.manifesto-body strong {
  color: var(--cream);
  font-weight: 600;
}
.three-words {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
}
.word-pill {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  border-top: 2px solid;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
  transition: color 0.3s;
}
.word-pill:nth-child(1) { border-color: var(--green); color: var(--green); }
.word-pill:nth-child(2) { border-color: rgba(245,240,232,0.2); }
.word-pill:nth-child(3) { border-color: rgba(245,240,232,0.2); }

/* ── STATS BAND ───────────────────────────────────────────── */
.stats-band {
  background: var(--green);
  padding: 3rem 6vw;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* ── PROJECTS SECTION ─────────────────────────────────────── */
.projects {
  background: var(--cream);
  padding: 7rem 6vw;
}
.section-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}
.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--green);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brown);
  line-height: 1.15;
  max-width: 600px;
}
.section-title em {
  font-style: italic;
  color: var(--green-dk);
}
.project-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.project-card {
  background: var(--brown);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.2), box-shadow 0.35s;
  box-shadow: 0 8px 30px rgba(24,14,14,0.15);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(24,14,14,0.25);
}
.card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .card-image img { transform: scale(1.06); }
.card-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.card-image-placeholder.elephants {
  background: linear-gradient(135deg, #1a3a0e, #0d2406);
}
.card-image-placeholder.baboons {
  background: linear-gradient(135deg, #2d1a0a, #180e0e);
}
.card-image-placeholder.community {
  background: linear-gradient(135deg, #0a2415, #0d3018);
}
.urgency-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: #d04a02;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.urgency-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-species {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 0.9rem;
}
.card-desc {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
}
.card-progress {
  margin-top: 1.4rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(245,240,232,0.5);
  margin-bottom: 0.4rem;
}
.progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  width: 0%;
  transition: width 1.4s cubic-bezier(.22,.68,0,1);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.card-cta:hover { gap: 0.7rem; }

/* ── VOLUNTEER SECTION ────────────────────────────────────── */
.volunteer {
  background: var(--brown);
  padding: 7rem 6vw;
  position: relative;
  overflow: hidden;
}
.volunteer::before {
  content: 'VOLUNTEER';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 900;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.volunteer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.volunteer-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.vol-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--cream);
  line-height: 1.15;
}
.vol-headline em {
  font-style: italic;
  color: var(--green);
}
.vol-body {
  color: rgba(245,240,232,0.65);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}
.vol-body p + p {
  margin-top: 1rem;
}
.vol-tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.vol-track {
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(245,240,232,0.1);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  cursor: default;
}
.vol-track:hover {
  background: rgba(9,175,17,0.08);
  border-color: rgba(9,175,17,0.35);
  transform: translateY(-5px);
}
.track-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}
.track-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.track-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.7rem;
  line-height: 1.25;
}
.track-desc {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
  font-weight: 300;
}
.track-detail {
  margin-top: 1.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(9,175,17,0.7);
  letter-spacing: 0.06em;
}

/* ── STORIES SECTION ──────────────────────────────────────── */
.stories {
  background: var(--cream);
  padding: 7rem 6vw;
}
.stories-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}
.story-main {
  background: var(--brown);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
}
.story-quote-mark {
  font-family: var(--serif);
  font-size: 8rem;
  color: var(--green);
  opacity: 0.2;
  line-height: 0.7;
  margin-bottom: 0.5rem;
}
.story-text {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--cream);
  line-height: 1.55;
  font-style: italic;
}
.story-attr {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.story-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.story-mini {
  background: var(--brown);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.25s;
}
.story-mini:hover {
  transform: translateX(4px);
}
.story-mini-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.story-mini-text {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.65;
  font-style: italic;
}
.story-mini-name {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--green);
  padding: 6rem 6vw;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  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.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band-inner {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: var(--green-dk);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  display: inline-block;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline-white:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

/* ── DONATION TIERS ───────────────────────────────────────── */
.donate-section {
  background: var(--sand);
  padding: 6rem 6vw;
}
.donate-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.donate-card {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(24,14,14,0.06);
}
.donate-card:hover {
  border-color: var(--green);
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(9,175,17,0.12);
}
.donate-amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.donate-impact {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(24,14,14,0.5);
  font-weight: 600;
  margin-bottom: 1rem;
}
.donate-desc {
  font-size: 0.9rem;
  color: rgba(24,14,14,0.7);
  line-height: 1.65;
}
.donate-btn {
  display: block;
  width: 100%;
  margin-top: 1.4rem;
  background: var(--brown);
  color: #fff;
  padding: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}
.donate-btn:hover {
  background: #000;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--brown);
  padding: 4rem 6vw 2.5rem;
  color: rgba(245,240,232,0.5);
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,240,232,0.08);
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--cream);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials img {
  width: 36px; height: 36px;
}

.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,240,232,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(245,240,232,0.1);
}
.social-btn:hover {
  background: var(--green);
  color: #fff;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(245,240,232,0.45);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--green);
}
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: rgba(245,240,232,0.4);
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--green);
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

/* ── RESPONSIVE BREAKPOINTS ───────────────────────────────── */

/* --- Small tablets & large phones (up to 900px) --- */
@media (max-width: 900px) {
  .manifesto-inner,
  .volunteer-intro,
  .story-grid,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .project-cards,
  .vol-tracks,
  .donate-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
}

/* --- Mobile phones (up to 600px) --- */
@media (max-width: 600px) {
  .project-cards,
  .vol-tracks,
  .donate-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .three-words {
    flex-direction: column;
  }
  .word-pill {
    border-top: none;
    border-left: 2px solid;
    padding: 0.5rem 1rem;
  }
  .hero-scroll {
    display: none;
  }
}

/* ── TABLET SPECIFIC (768px – 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  /* --- Fix navigation: show hamburger menu --- */
  .nav-links {
    display: none !important;
  }
  .menu-btn {
    display: flex !important;
  }

  /* --- Cards: 1 wide column, natural height (no stretching) --- */
  .project-cards,
  .vol-tracks,
  .donate-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* --- Keep text-heavy sections in 2 columns for readability --- */
  .manifesto-inner,
  .volunteer-intro,
  .story-grid,
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* --- Reduce section padding slightly for tablet --- */
  .manifesto,
  .projects,
  .volunteer,
  .stories,
  .donate-section {
    padding: 5rem 5vw;
  }

  /* --- Hero tweaks --- */
  .hero-scroll {
    right: 4vw;
  }
  .scroll-line {
    height: 40px;
  }

  /* --- Stats spacing --- */
  .stats-inner {
    gap: 1.5rem;
  }

  /* --- Donation cards tweaks --- */
  .donate-card {
    padding: 2rem;
  }
  .donate-amount {
    font-size: 2.6rem;
  }
}

/* ============================================================
   RESPONSIVE NAV VISIBILITY
   ============================================================ */
   @media (max-width: 959px) {
    .nav-links { display: none !important; }
    .menu-btn { display: flex !important; }
  }
  
  @media (min-width: 960px) {
    .menu-btn { display: none !important; }
    .nav-links { display: flex !important; }
  }
  
  @media (max-width: 959px) {
  .navbar {
    justify-content: space-between;
  }
  .logo {
    margin: 0;          /* remove any centering */
    flex: 0 0 auto;     /* prevent stretching */
  }
  .nav-right {
    margin-left: auto;  /* keep icons at far right */
    display: flex;
    align-items: center;
    gap: 12px;
  }
}
/* ── LARGE SCREENS (above 1300px) ────────────────────────── */
@media (min-width: 1300px) {
  .dashboard-container {
    padding: 0 2rem;
  }
  
  /* Desktop: add horizontal padding to match content */
  .navbar {
    padding-left: calc(2rem + (100% - 1300px) / 2);
    padding-right: calc(2rem + (100% - 1300px) / 2);
  }
}