/* ============================================================
   JAI ANJANEYA FOUNDATION – Main Stylesheet
   Palette: warm terracotta, deep forest, sand ivory, charcoal
============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --terracotta: #FA5B01;
  --terracotta-dark: #e45300;
  --terracotta-light: #dd793e;
  --forest: #33A400;
  --forest-light: #7ea239;
  --sand: #F5EDD8;
  --sand-dark: #EDE0C4;
  --ivory: #FDFAF4;
  --charcoal: #1E1E1E;
  --charcoal-mid: #3A3A3A;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --white: #FFFFFF;
  --border: #E8DDD0;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(30,20,10,0.10);
  --shadow-lg: 0 12px 48px rgba(30,20,10,0.18);
  --transition: 0.3s ease;

  --container: 1200px;
  --nav-h: 140px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
}
.btn--primary:hover { background: var(--forest-light); transform: translateY(-2px); }

.btn--donate {
  background: var(--terracotta);
  color: var(--white);
}
.btn--donate:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,82,42,0.35); }

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

.btn--outline.btn--dark {
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--outline.btn--dark:hover { background: var(--charcoal); color: white; }

.btn--light {
  background: var(--white);
  color: var(--terracotta);
}
.btn--light:hover { background: var(--sand); }

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(253,250,244,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: var(--nav-h); */
  gap: 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { font-size: 1.6rem; color: var(--terracotta); line-height: 1; }
.logo-name { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--charcoal); line-height: 1; }
.logo-sub { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar__links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  transition: color var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.navbar__links a:hover, .navbar__links a.active { color: var(--terracotta); }
.navbar__links a:hover::after, .navbar__links a.active::after { transform: scaleX(1); }

.navbar__cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  transition: all var(--transition);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 245, 235, 0.20) 0%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(230, 126, 34, 0.08) 100%
  );
  /* background: linear-gradient(
    135deg,
    rgba(30,20,10,0.72) 0%,
    rgba(44,74,46,0.5) 60%,
    rgba(200,82,42,0.25) 100%
  ); */
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 24px 8rem;
  max-width: 700px;
}
.hero__badge {
  display: inline-block;
  background: rgb(250, 91, 1);
  color: white;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero__title em {
  font-style: italic;
  color: white;
}
.hero__sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero Stats Bar */
.hero__stats {
  position: relative;
  z-index: 1;
  background: rgba(253,250,244,0.97);
  backdrop-filter: blur(8px);
  border-top: 3px solid var(--terracotta);
}
.hero__stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.75rem 24px;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terracotta);
}
.stat__unit { font-size: 1.6rem; color: var(--terracotta); font-weight: 700; }
.stat__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 48px;
  background: var(--border);
}

/* ── Mission Strip ───────────────────────────────────────── */
.mission-strip { padding: 6rem 0; background: var(--sand); }
.mission-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mission-strip__text h2 { margin: 0.5rem 0 1.25rem; }
.mission-strip__text p { color: var(--text-muted); margin-bottom: 1rem; }
.mission-strip__text p:last-of-type { margin-bottom: 2rem; }

.img-stack { position: relative; }
.img-stack__main {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.img-stack__accent {
  position: absolute;
  bottom: -2rem; left: -2.5rem;
  width: 200px; height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--ivory);
  box-shadow: var(--shadow);
}
.img-stack__badge {
  position: absolute;
  top: -1.5rem; right: -1.5rem;
  background: var(--terracotta);
  color: white;
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}
.big-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

/* ── Causes ──────────────────────────────────────────────── */
.causes { padding: 6rem 0; background: var(--ivory); }
.causes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.causes__cta { text-align: center; margin-top: 3rem; }
.causes__cta .btn--outline {
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.causes__cta .btn--outline:hover { background: var(--charcoal); color: white; }

.cause-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cause-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.cause-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.cause-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cause-card:hover .cause-card__img img { transform: scale(1.06); }
.cause-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--terracotta);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
}

.cause-card__body { padding: 1.6rem; }
.cause-card__body h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.cause-card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.2rem; }

.cause-card__details {
  margin-bottom: 1.2rem;
}
.cause-card__details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cause-card__details li i { color: var(--forest); font-size: 0.75rem; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.progress-labels strong { color: var(--charcoal); }
.progress-bar {
  height: 7px;
  background: var(--sand-dark);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
  border-radius: 50px;
  transition: width 1.2s ease;
}
.progress-pct {
  font-size: 0.78rem;
  color: var(--terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 1.2rem;
}

/* ── Impact Banner ───────────────────────────────────────── */
.impact-banner {
  position: relative;
  padding: 7rem 0;
  text-align: center;
}
.impact-banner__bg {
  position: absolute; inset: 0;
}
.impact-banner__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.impact-banner__overlay {
  position: absolute; inset: 0;
  background: rgba(44,74,46,0.82);
}
.impact-banner__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.impact-banner__content blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  color: white;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
.impact-banner__content cite {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  font-style: normal;
}

/* ── How It Works ────────────────────────────────────────── */
.how-it-works { padding: 6rem 0; background: var(--sand); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 2rem 1rem;
}
.step__icon {
  width: 70px; height: 70px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: white;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.88rem; }
.step__arrow {
  color: var(--terracotta);
  font-size: 1.5rem;
  align-self: center;
  padding: 0 0.5rem;
  margin-top: -1rem;
}

/* ── Gallery Preview ─────────────────────────────────────── */
.gallery-preview { padding: 6rem 0; background: var(--ivory); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item__hover {
  position: absolute; inset: 0;
  background: rgba(200,82,42,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.8rem;
  color: white;
}
.gallery-item:hover .gallery-item__hover { opacity: 1; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { padding: 6rem 0; background: var(--sand); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--terracotta);
}
.testimonial-card__stars { color: #F59E0B; margin-bottom: 1rem; font-size: 0.85rem; }
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--charcoal-mid);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sand-dark);
}
.testimonial-card__author strong { display: block; font-size: 0.9rem; color: var(--charcoal); }
.testimonial-card__author span { font-size: 0.78rem; color: var(--text-muted); }

/* ── Volunteer CTA ───────────────────────────────────────── */
.volunteer-cta { padding: 6rem 0; background: var(--forest); }
.volunteer-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.volunteer-cta .eyebrow { color: #90BF94; }
.volunteer-cta__text h2 { color: white; margin: 0.5rem 0 1.25rem; }
.volunteer-cta__text p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.volunteer-cta__img img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.volunteer-cta .btn--primary {
  background: var(--terracotta);
}
.volunteer-cta .btn--primary:hover { background: var(--terracotta-dark); }

/* ── Partners ────────────────────────────────────────────── */
.partners { padding: 3.5rem 0; background: var(--ivory); border-top: 1px solid var(--border); }
.partners__label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.partner-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.partner-logo:hover { opacity: 1; color: var(--charcoal); }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: rgb(0 0 0 / 22%) !important;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
  color: white;
}
.page-hero__content h1 { color: white; margin: 0.5rem 0; }
.page-hero__content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ── About / Story ───────────────────────────────────────── */
.story { padding: 6rem 0; background: var(--ivory); }
.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story__text h2 { margin: 0.5rem 0 1.25rem; }
.story__text p { color: var(--text-muted); margin-bottom: 1rem; }
.story__text em { color: var(--terracotta); font-style: italic; }
.story__img { position: relative; }
.story__img img {
  border-radius: var(--radius-lg);
  width: 100%; height: 460px;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-lg);
}
.story__founder-badge {
  position: absolute;
  bottom: -1.5rem; left: 2rem;
  background: var(--terracotta);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story__founder-badge strong { display: block; font-size: 0.95rem; }
.story__founder-badge span { font-size: 0.78rem; opacity: 0.85; }

.values { padding: 6rem 0; background: var(--sand); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.value-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-card__icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.3rem;
  color: white;
}
.value-card h3 { margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }

.team { padding: 6rem 0; background: var(--ivory); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-card__img {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 4px solid var(--sand-dark);
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.team-card__role { font-size: 0.8rem; color: var(--terracotta); font-weight: 600; display: block; margin-bottom: 0.75rem; }
.team-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.team-card__social { display: flex; justify-content: center; gap: 10px; }
.team-card__social a {
  width: 32px; height: 32px;
  background: var(--sand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all var(--transition);
}
.team-card__social a:hover { background: var(--terracotta); color: white; }

/* ── Causes Full ─────────────────────────────────────────── */
.causes-full { padding: 4rem 0 6rem; }
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: 8px 22px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: white;
}
.causes__grid--full { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

/* ── Gallery Full ────────────────────────────────────────── */
.gallery-full { padding: 4rem 0 6rem; }
.masonry-grid {
  columns: 3;
  column-gap: 16px;
}
.masonry-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  transition: transform 0.5s ease;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item__overlay {
  position: absolute; inset: 0;
  background: rgba(30,20,10,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity var(--transition);
  color: white;
  font-size: 1.6rem;
  padding: 1rem;
  text-align: center;
}
.masonry-item__overlay p { font-size: 0.85rem; }
.masonry-item:hover .masonry-item__overlay { opacity: 1; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); }
.lightbox p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-section { padding: 5rem 0 6rem; }
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-info__items { margin-bottom: 2rem; }
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.contact-info__icon {
  width: 40px; height: 40px;
  background: var(--sand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
  flex-shrink: 0;
}
.contact-info__item strong { display: block; font-size: 0.85rem; color: var(--charcoal); margin-bottom: 2px; }
.contact-info__item span { font-size: 0.88rem; color: var(--text-muted); }

.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--ivory);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: white;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-error { color: #DC2626; font-size: 0.8rem; display: block; margin-top: 4px; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.9rem; }
.alert--success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* ── Social Links ────────────────────────────────────────── */
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-links--dark a {
  background: var(--sand);
  border-color: var(--border);
  color: var(--charcoal);
}
.social-links--dark a:hover { background: var(--terracotta); border-color: var(--terracotta); color: white; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--charcoal); }
.footer__newsletter {
  background: var(--terracotta);
  padding: 2.5rem 0;
}
.footer__newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__newsletter h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.footer__newsletter p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 12px 18px;
  border-radius: 50px;
  border: none;
  min-width: 260px;
  font-size: 0.9rem;
  outline: none;
}
.footer__main { padding: 5rem 0 3rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 2fr;
  gap: 3rem;
}
.footer__brand .footer__logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
}
.footer__brand .logo-name { color: white; }
.footer__brand .logo-sub { color: var(--terracotta-light); }
.footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer__col h4 {
  color: white;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--terracotta-light); }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.contact-list li i { color: var(--terracotta-light); margin-top: 3px; flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { color: rgba(255,255,255,0.4); font-size: 0.82rem; }


/* ============================================================
   VOLUNTEER ADDITIONS & ANIMATIONS
   ============================================================ */

/* ── Volunteer button (replaces donate) ──────────────────── */
.btn--volunteer {
  background: var(--forest) !important;
  color: var(--white) !important;
}
.btn--volunteer:hover {
  background: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,74,46,0.35);
}

/* ── Volunteer Roles Section ─────────────────────────────── */
.volunteer-roles {
  padding: 6rem 0;
  background: var(--ivory);
}

.roles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.role-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--forest);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  animation-delay: var(--delay, 0ms);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.role-card__icon {
  width: 60px; height: 60px;
  background: var(--forest);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  transition: transform var(--transition);
}
.role-card:hover .role-card__icon {
  transform: scale(1.1) rotate(-4deg);
}

.role-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
}
.role-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.role-card__spots {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 6px;
}
.role-card__spots .fa-circle {
  font-size: 0.5rem;
  color: #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── Volunteer CTA button group ──────────────────────────── */
.volunteer-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.volunteer-cta .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.volunteer-cta .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ── Volunteer CTA section (updated from existing) ───────── */
.volunteer-cta {
  background: var(--forest);
  padding: 6rem 0;
  overflow: hidden;
}
.volunteer-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.volunteer-cta__text .eyebrow { color: rgba(255,255,255,0.7); }
.volunteer-cta__text h2 { color: white; margin: 0.5rem 0 1.25rem; }
.volunteer-cta__text p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

.volunteer-cta__img img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */

/* Hero entrance */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-hero {
  animation: heroFadeUp 1s ease 0.3s both;
}

/* Fade up (scroll-triggered via JS) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: none;
}

/* Fade in left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.in-view {
  opacity: 1;
  transform: none;
}

/* Fade in right */
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.in-view {
  opacity: 1;
  transform: none;
}

/* Staggered card reveal */
.cause-card, .role-card, .testimonial-card, .step {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.cause-card.in-view, .role-card.in-view, .testimonial-card.in-view, .step.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Floating badge animation on img-stack */
.img-stack__badge {
  animation: floatBadge 4s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Parallax shimmer on hero overlay */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Step icon hover pulse */
.step__icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step__icon {
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(44,74,46,0.35);
}

/* Gallery item shimmer overlay */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease infinite;
}

/* Navbar volunteer button pulse on mobile */
@media (max-width: 768px) {
  .volunteer-cta__inner {
    grid-template-columns: 1fr;
  }
  .volunteer-cta__img { order: -1; }
  .volunteer-cta__img img { height: 280px; }
  .roles__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .roles__grid { grid-template-columns: 1fr; }
}



/* ============================================
   HEADER / NAVBAR - MOBILE RESPONSIVE
============================================ */

/* Base navbar styles */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar__logo img {
    max-height: 60px;
    width: auto;
}

/* Nav links - desktop */
.navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__links a {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.navbar__links a:hover,
.navbar__links a.active {
    color: #e67e22;
}

.navbar__links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e67e22;
}

/* CTA area */
.navbar__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-volunteer {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-volunteer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.35);
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   MOBILE RESPONSIVE BREAKPOINTS
============================================ */

/* Tablets & small laptops */
@media (max-width: 1024px) {
    .navbar__links {
        gap: 1.2rem;
    }
    .navbar__logo img {
        max-height: 50px;
    }
}

/* Mobile */
@media (max-width: 992px) {
    .navbar__links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1.5rem 0;
        gap: 1rem;
        border-top: 1px solid #e9ecef;
        margin-top: 0.8rem;
        background: #fff;
    }

    .navbar__links.open {
        display: flex;
    }

    .navbar__links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .navbar__cta {
        gap: 0.8rem;
    }

    .btn-volunteer {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .navbar__logo img {
        max-height: 45px;
    }
}

/* Small phones */
@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar__logo img {
        max-height: 40px;
        width: auto;
    }

    .btn-volunteer {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .navbar__links a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }
}

/* ============================================
   FOOTER - MOBILE RESPONSIVE
============================================ */

.footer {
    background: #1a2634;
    color: rgba(255,255,255,0.8);
    margin-top: auto;
}

.footer__main {
    padding: 3rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer__brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 1rem 0;
    max-width: 400px;
}

.footer__logo img {
    max-height: 60px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #e67e22;
    color: #fff;
    transform: translateY(-3px);
}

.footer__col h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__col ul li {
    margin-bottom: 0.7rem;
}

.footer__col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__col ul li a:hover {
    color: #f39c12;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.contact-list li i {
    width: 20px;
    color: #e67e22;
    font-size: 1rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

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

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__brand p {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer__main {
        padding: 2rem 0 1rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer__brand p {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer__col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer__col ul li {
        margin-bottom: 0.5rem;
    }

    .contact-list li {
        justify-content: center;
        font-size: 0.9rem;
    }

    .footer__bottom {
        font-size: 0.8rem;
        padding: 0.8rem 0;
    }

    .footer__logo img {
        max-height: 50px;
    }
}

/* ============================================
   NEWSLETTER STRIP (if enabled)
============================================ */
.footer__newsletter {
    background: rgba(255,255,255,0.04);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__newsletter-inner h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.footer__newsletter-inner p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    border: none;
    min-width: 250px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .btn {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-form .btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer__newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        justify-content: center;
        width: 100%;
    }

    .newsletter-form input {
        min-width: 200px;
        flex: 1;
    }
}

@media (max-width: 576px) {
    .newsletter-form input {
        min-width: 100%;
    }
}
