/* ============================================================
   FONDATION LA FACE – Premium Foundation Website
   Color Palette: Forest Green + Gold + Deep Blue + Terracotta
   ============================================================ */

:root {
  --gold: #C8A04A;
  --gold-lt: #E5C97D;
  --gold-dk: #8B6E30;
  --forest: #1A2E1A;
  --forest-md: #2D4A2D;
  --forest-lt: #5BA874;
  --sage: #8BA88B;
  --blue: #2E6FA3;
  --blue-lt: #5F9DC8;
  --blue-dk: #1A4A70;
  --teal: #1A6B8A;
  --red: #D64045;
  --earth: #8B5E3C;
  --cream: #F8F4EC;
  --cream-dk: #EDE8DC;
  --text: #1A1A1A;
  --text-md: #4A4A4A;
  --text-lt: #8A8A8A;
  --white: #FFFFFF;
  --border: rgba(26, 46, 26, 0.12);
  --shadow: 0 8px 40px rgba(26, 46, 26, 0.12);
  --shadow-lg: 0 20px 80px rgba(26, 46, 26, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Barlow', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body.has-cursor {
  cursor: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: 'Barlow', sans-serif;
}

body.has-cursor button {
  cursor: none;
}

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
  opacity: 0.7;
}

body.hovering .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--forest-lt);
  opacity: 0.5;
}

/* ---- LOADER ---- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo svg {
  width: 140px;
  height: 140px;
}

.loader-circle {
  animation: loaderCircle 2s ease-out forwards;
}

@keyframes loaderCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.loader-progress {
  width: 200px;
  height: 2px;
  background: rgba(200, 160, 74, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--gold);
  animation: loaderProg 2s ease-out forwards;
  width: 0;
}

@keyframes loaderProg {
  to {
    width: 100%;
  }
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(248, 244, 236, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--trans);
}

.navbar.scrolled {
  padding: 10px 48px;
  background: rgba(248, 244, 236, 0.98);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

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

.logo-svg {
  width: 260px;
  height: auto;
  max-height: 84px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-md);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--trans);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
}

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

.btn-donate {
  background: var(--gold);
  color: var(--forest);
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--trans);
}

.btn-donate:hover {
  background: var(--gold-dk);
  color: var(--white);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(26, 46, 26, 0.08);
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--forest);
  transition: var(--trans);
}

.lang-toggle:hover {
  background: rgba(26, 46, 26, 0.04);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: var(--trans);
}

/* Google Translate wrapper */
.google-translate-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

#google_translate_element {
  transform: translateY(2px);
}

.goog-te-combo {
  border-radius: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(26, 46, 26, 0.08);
  background: transparent;
  color: var(--forest);
}

.goog-te-gadget {
  font-size: 13px;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

.goog-logo-link {
  display: none !important;
}

/* ---- PAGES ---- */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--gold);
  color: var(--forest);
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--trans);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--forest);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 46, 26, 0.25);
}

.btn-primary.large {
  padding: 18px 40px;
  font-size: 15px;
}

.btn-primary.full {
  width: 100%;
  text-align: center;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--trans);
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-ghost.large {
  padding: 18px 40px;
  font-size: 15px;
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--trans);
  display: inline-block;
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-outline.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(200, 160, 74, 0.9);
}

.section-label.center {
  text-align: center;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 20px;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

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

.section-title.light em {
  color: var(--gold-lt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  color: var(--text-md);
  max-width: 560px;
  margin: 0 auto;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================== HERO ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: var(--forest);
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.orb1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -100px;
  right: 20%;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb2 {
  width: 350px;
  height: 350px;
  background: var(--forest-lt);
  bottom: 50px;
  right: 5%;
  animation: orbFloat 10s ease-in-out infinite 2s;
}

.orb3 {
  width: 250px;
  height: 250px;
  background: var(--blue);
  top: 40%;
  left: 5%;
  animation: orbFloat 12s ease-in-out infinite 4s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200, 160, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 160, 74, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-image-collage {
  position: absolute;
  right: 0;
  top: 80px;
  bottom: 0;
  width: 45%;
  z-index: 1;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(200, 160, 74, 0.2);
}

.c1 {
  width: 55%;
  height: 55%;
  top: 5%;
  left: 10%;
  animation: collageFloat1 6s ease-in-out infinite;
}

.c2 {
  width: 45%;
  height: 48%;
  bottom: 8%;
  right: 5%;
  animation: collageFloat2 7s ease-in-out infinite 1s;
}

.c3 {
  width: 38%;
  height: 38%;
  bottom: 20%;
  left: 0;
  animation: collageFloat1 8s ease-in-out infinite 2s;
}

@keyframes collageFloat1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes collageFloat2 {

  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }

  50% {
    transform: translateY(-8px) rotate(0deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 0 0 8vw;
  animation: heroReveal 1s ease 0.3s both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-title .ht-line1 {
  display: block;
  opacity: 0;
  animation: slideUp 0.8s ease 0.6s forwards;
}

.hero-title .ht-line2 {
  display: block;
  color: var(--gold);
  font-style: italic;
  opacity: 0;
  animation: slideUp 0.8s ease 0.8s forwards;
}

.hero-title .ht-line3 {
  display: block;
  opacity: 0;
  animation: slideUp 0.8s ease 1s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-sub {
  color: rgba(240, 237, 230, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  animation: slideUp 0.8s ease 1.1s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: slideUp 0.8s ease 1.2s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  opacity: 0;
  animation: slideUp 0.8s ease 1.3s forwards;
}

.hs {
  text-align: left;
}

.hs-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}

.hs-label {
  font-size: 11px;
  color: rgba(240, 237, 230, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.hs-divider {
  width: 1px;
  height: 40px;
  background: rgba(200, 160, 74, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 8vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(200, 160, 74, 0.6);
  animation: fadeInDelay 1s ease 2s both;
}

@keyframes fadeInDelay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(200, 160, 74, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

/* ---- SECTORS STRIP ---- */
.sectors-strip {
  background: var(--forest);
  border-top: 1px solid rgba(200, 160, 74, 0.2);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
  gap: 0;
  white-space: nowrap;
}

.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(200, 160, 74, 0.8);
  border-right: 1px solid rgba(200, 160, 74, 0.15);
  animation: marquee 25s linear infinite;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.sectors-strip:hover .sector-tag {
  animation-play-state: paused;
}

/* ---- VISION ---- */
.vision-section {
  padding: 100px 0;
  background: var(--cream);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-text p {
  color: var(--text-md);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.vision-image-stack {
  position: relative;
}

.vis-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vis-img.main {
  height: 420px;
  box-shadow: var(--shadow-lg);
}

.vis-img.accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 48%;
  height: 200px;
  border: 4px solid var(--cream);
  box-shadow: var(--shadow);
}

.vis-badge {
  position: absolute;
  top: 28px;
  right: -20px;
  background: var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.vb-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}

.vb-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--forest-md);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- PROGRAMS PREVIEW ---- */
.programs-preview {
  padding: 100px 0;
  background: var(--forest);
}

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

.programs-preview .section-title em {
  color: var(--gold);
}

.programs-preview .section-label {
  color: var(--gold);
}

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

.prog-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 160, 74, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

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

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

.prog-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.pc-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.prog-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}

.prog-card p {
  color: rgba(240, 237, 230, 0.65);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pc-arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.prog-card:hover .pc-arrow {
  transform: translateX(8px);
}

/* ---- IMPACT ---- */
.impact-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

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

.impact-bg img {
  filter: brightness(0.25) saturate(0.5);
}

.impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 46, 26, 0.9), rgba(26, 46, 26, 0.7));
}

.impact-section .container {
  position: relative;
  z-index: 1;
}

.impact-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.impact-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 160, 74, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--trans);
}

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

.ic-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.ic-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240, 237, 230, 0.6);
}

/* ---- TESTIMONIALS ---- */
.testimonial-section {
  padding: 100px 0;
  background: var(--cream-dk);
}

.testimonial-track {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  min-height: 160px;
  position: relative;
}

.testimonial {
  display: none;
  animation: fadeTestimonial 0.6s ease;
}

.testimonial.active {
  display: block;
}

@keyframes fadeTestimonial {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--forest);
  margin-bottom: 24px;
}

.testimonial cite {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.td {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--trans);
  cursor: pointer;
}

.td.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ---- PARTNERS ---- */
.partners-section {
  padding: 60px 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.partner-item {
  padding: 12px 24px;
  background: var(--cream-dk);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-md);
  transition: var(--trans);
}

.partner-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--white);
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-md) 50%, var(--blue-dk) 100%);
  padding: 100px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(200, 160, 74, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(91, 168, 116, 0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(240, 237, 230, 0.7);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================== PAGE HEROES ============================== */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 64px;
  padding-top: 120px;
  overflow: hidden;
}

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

.ph-bg img {
  filter: brightness(0.35) saturate(0.7);
}

.ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 46, 26, 0.85) 0%, transparent 60%);
}

.ph-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 8vw;
}

.ph-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.ph-content h1 em {
  color: var(--gold-lt);
  font-style: italic;
}

.ph-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 500px;
}

/* ============================== ABOUT ============================== */
.about-story {
  padding: 100px 0;
  background: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.story-text p {
  color: var(--text-md);
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-text .btn-outline {
  margin-top: 16px;
}

.story-timeline {
  border-left: 2px solid var(--border);
  padding-left: 28px;
}

.tl-item {
  position: relative;
  margin-bottom: 28px;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.tl-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tl-event {
  font-size: 0.92rem;
  color: var(--text-md);
  line-height: 1.5;
}

.values-section {
  padding: 100px 0;
  background: var(--forest);
}

.values-section .section-title {
  color: var(--cream);
}

.values-section .section-label {
  color: var(--gold);
}

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

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 160, 74, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--trans);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.val-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.value-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.value-card p {
  color: rgba(240, 237, 230, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.mission-vision-section {
  padding: 100px 0;
  background: var(--cream-dk);
}

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

.mv-card {
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.mv-card.mission {
  background: var(--forest);
}

.mv-card.vision {
  background: linear-gradient(135deg, var(--blue-dk), var(--teal));
}

.mv-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.mv-card p {
  color: rgba(240, 237, 230, 0.85);
  font-size: 1.08rem;
  line-height: 1.75;
  font-style: italic;
}

/* ============================== PROGRAMS DETAIL ============================== */
.programs-detail {
  padding: 80px 0;
  background: var(--cream);
}

.prog-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
}

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

.prog-detail-card.reverse {
  direction: rtl;
}

.prog-detail-card.reverse>* {
  direction: ltr;
}

.pdc-image {
  position: relative;
  min-height: 380px;
}

.pdc-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}

.pdc-content {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pdc-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.pdc-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 16px;
}

.pdc-content p {
  color: var(--text-md);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pdc-list {
  list-style: none;
  margin-bottom: 24px;
}

.pdc-list li {
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-md);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.pdc-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.pdc-stat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.pdc-stat strong {
  font-size: 1.4rem;
}

/* ============================== IMPACT PAGE ============================== */
.impact-detail {
  padding: 80px 0;
  background: var(--cream);
}

.impact-big-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.ibn {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.ibn-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--forest);
  font-weight: 700;
  display: block;
}

.ibn-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 8px;
}

.sector-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.si-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
}

.si-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--forest);
}

.si-bar {
  height: 6px;
  background: var(--cream-dk);
  border-radius: 3px;
  margin-bottom: 10px;
}

.si-fill {
  height: 6px;
  border-radius: 3px;
  transition: width 1.2s ease;
}

.si-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-lt);
  letter-spacing: 1px;
}

.si-card p {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.6;
}

.sdg-section {
  margin-top: 60px;
}

.sdg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sdg-item {
  width: 100px;
  padding: 16px 8px;
  border-radius: 10px;
  text-align: center;
  color: var(--white);
}

.sdg-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
}

.sdg-item span {
  font-size: 11px;
  opacity: 0.85;
}

/* ============================== TEAM ============================== */
.team-section {
  padding: 80px 0;
  background: var(--cream);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--trans);
  text-align: center;
}

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

.tc-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 20px;
  font-style: italic;
}

.team-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 6px;
}

.tc-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.87rem;
  color: var(--text-md);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tc-social {
  font-size: 12px;
  color: var(--text-lt);
}

.volunteer-cta {
  background: linear-gradient(135deg, var(--forest), var(--forest-md));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.vc-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.vc-text p {
  color: rgba(240, 237, 230, 0.7);
}

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

.news-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.nf-btn {
  padding: 8px 22px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-md);
  transition: var(--trans);
}

.nf-btn.active,
.nf-btn:hover {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-auto-rows: max-content;
}

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

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  cursor: pointer;
}

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

.nc-image {
  position: relative;
  height: 220px;
}

.news-card.featured .nc-image {
  height: 320px;
}

.nc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--forest);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nc-content {
  padding: 24px;
}

.nc-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.nc-cat.education {
  background: rgba(46, 111, 163, 0.12);
  color: var(--blue);
}

.nc-cat.health {
  background: rgba(214, 64, 69, 0.12);
  color: var(--red);
}

.nc-cat.agri {
  background: rgba(139, 94, 60, 0.12);
  color: var(--earth);
}

.nc-cat.entre {
  background: rgba(200, 160, 74, 0.15);
  color: var(--gold-dk);
}

.nc-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.35;
}

.nc-content p {
  font-size: 0.88rem;
  color: var(--text-md);
  line-height: 1.6;
  margin-bottom: 14px;
}

.nc-meta {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-lt);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.news-load-more {
  text-align: center;
  margin-top: 48px;
}

.news-card.hidden {
  display: none;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-wrap h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 32px;
}

.contact-form-wrap h2 em {
  color: var(--gold);
}

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

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-md);
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: var(--trans);
  outline: none;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 160, 74, 0.12);
}

.cf-group textarea {
  resize: vertical;
}

.form-success {
  background: rgba(91, 168, 116, 0.12);
  border: 1px solid var(--forest-lt);
  border-radius: 8px;
  padding: 14px;
  color: var(--forest-md);
  font-size: 14px;
  display: none;
}

.form-success.visible {
  display: block;
}

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--forest);
  margin-bottom: 32px;
}

.contact-info h2 em {
  color: var(--gold);
}

.ci-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.ci-icon {
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.ci-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 4px;
}

.ci-item p {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.6;
}

.donate-box {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 36px;
}

.donate-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.donate-box p {
  color: rgba(240, 237, 230, 0.7);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.donate-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.da-btn {
  padding: 10px 16px;
  border: 1.5px solid rgba(200, 160, 74, 0.3);
  border-radius: 6px;
  background: transparent;
  color: rgba(240, 237, 230, 0.8);
  font-size: 14px;
  font-weight: 600;
  transition: var(--trans);
}

.da-btn.active,
.da-btn:hover {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
}

/* ============================== FOOTER ============================== */
.footer {
  background: var(--forest);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(200, 160, 74, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand p {
  color: rgba(240, 237, 230, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-contact {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(200, 160, 74, 0.18);
  color: rgba(240, 237, 230, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo-svg {
  width: 220px;
  height: auto;
  max-height: 70px;
}

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

.sl {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 160, 74, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(240, 237, 230, 0.6);
  transition: var(--trans);
  text-transform: uppercase;
}

.sl:hover {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
}

.footer-nav h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-nav a {
  display: block;
  color: rgba(240, 237, 230, 0.6);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--gold-lt);
}

.footer-newsletter h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-newsletter p {
  color: rgba(240, 237, 230, 0.6);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.nl-form {
  display: flex;
  margin-bottom: 20px;
}

.nl-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 160, 74, 0.2);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: var(--cream);
  font-size: 13px;
  outline: none;
}

.nl-form button {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--forest);
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--trans);
}

.nl-form button:hover {
  background: var(--gold-lt);
}

.footer-reg {
  font-size: 11px;
  color: rgba(240, 237, 230, 0.35);
  line-height: 1.5;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(240, 237, 230, 0.4);
  transition: color 0.25s;
}

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

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

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---- COMMUNITY STORIES ---- */
.community-stories {
  padding: 80px 0;
  background: var(--cream-dk);
}

.community-stories .section-label {
  color: var(--gold);
}

.community-stories .section-title {
  color: var(--forest);
}

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

.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  cursor: pointer;
}

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

.story-icon {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--gold), var(--cream-dk));
  position: relative;
}

.story-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.story-content {
  padding: 20px;
}

.story-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 4px;
}

.story-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.story-text {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.6;
  font-style: italic;
}

/* ---- GALLERY ---- */
.gallery-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--white) 0%, #f8f2e7 100%);
}

.gallery-intro {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.gallery-intro .section-title {
  margin-bottom: 10px;
}

.gallery-intro p {
  color: var(--text-md);
  line-height: 1.7;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  cursor: pointer;
  height: 280px;
  transition: var(--trans);
  background: var(--cream-dk);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 35%, rgba(26,46,26,0.35) 100%);
  pointer-events: none;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--trans);
}

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

.gi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 46, 26, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: var(--trans);
  z-index: 1;
}

.gi-info {
  color: var(--white);
}

.gi-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gold);
}

.gi-info p {
  font-size: 0.88rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* Gallery Lightbox */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s;
}

.gallery-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.gb-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  font-size: 0.95rem;
  max-width: 80%;
}

.gb-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.gb-close:hover {
  color: var(--gold);
}

.gb-prev,
.gb-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--white);
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s ease;
  border-radius: 3px;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.gb-next {
  right: 0;
}

.gb-prev {
  left: 0;
}

.gb-prev:hover,
.gb-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Enhanced program cards with background images */
.prog-card {
  background-attachment: fixed;
  background-blend-mode: overlay;
}

.prog-card h3,
.prog-card p {
  position: relative;
  z-index: 1;
}

/* ---- COMMUNITY MEMBERS SECTION ---- */
.community-members-section {
  padding: 80px 0;
  background: var(--white);
}

.community-members-section .section-label {
  color: var(--gold);
}

.community-members-section .section-title {
  color: var(--forest);
}

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

.community-member {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  cursor: pointer;
  height: 300px;
}

.community-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--trans);
}

.community-member:hover img {
  transform: scale(1.05);
}

.community-member::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 46, 26, 0.8) 100%);
  transition: var(--trans);
}

.community-member h3,
.community-member p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: var(--white);
  z-index: 2;
}

.community-member h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.community-member p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.navbar {
  padding: 14px 32px;
}

.hero-image-collage {
  width: 40%;
}

.hero-content {
  max-width: 520px;
}

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

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

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

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }

  .logo-svg {
    width: 180px;
    max-height: 64px;
  }

  .footer-logo-svg {
    width: 160px;
    max-height: 56px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 46, 26, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9990;
  }

  .nav-links.open {
    display: flex;
    animation: mobileMenuIn 0.4s ease;
  }

  @keyframes mobileMenuIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .nav-links .nav-link {
    font-size: 18px;
    color: var(--cream);
  }

  .hamburger {
    display: flex;
  }

  .btn-donate {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-image-collage {
    display: none;
  }

  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .sectors-strip {
    display: flex;
  }

  .vision-grid,
  .story-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .vis-img.accent {
    display: none;
  }

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

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

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

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

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

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

  .prog-detail-card {
    grid-template-columns: 1fr;
  }

  .prog-detail-card.reverse {
    direction: ltr;
  }

  .pdc-image {
    min-height: 240px;
  }

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

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

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

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

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

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

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

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

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .volunteer-cta {
    flex-direction: column;
    text-align: center;
  }

  .ph-content {
    padding: 0 24px;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: 12px;
  }

  .hs-num {
    font-size: 1.6rem;
  }

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

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

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

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

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

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

  .page-hero {
    min-height: 360px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .sdg-item {
    width: 80px;
    padding: 12px 4px;
  }
}