
/* ============================================
   DESIGN SYSTEM — ACYDS 2.0
   Aesthetic: Heritage Modernism
   Palette: Deep Emerald · Warm Gold · Terracotta · Ivory
   Typography: Playfair Display (display) + Syne (UI) + DM Sans (body)
   ============================================ */

   @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

   @import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --ink:       #0E1A14;
  --forest:    #0A3D2E;
  --emerald:   #0D5C42;
  --mist:      #1A6B51;
  --gold:      #C8941A;
  --gold-lt:   #E8B84B;
  --terra:     #D4614A;
  --ivory:     #F5F0E8;
  --cream:     #FBF8F2;
  --white:     #FFFFFF;
  --slate:     #4A5568;
  --muted:     #7A8694;

  --ff-display: 'Montserrat', sans-serif;
  --ff-ui:      'Urbanist', sans-serif;
  --ff-body:    'DM Sans', sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
}
.heading-ui {
  font-family: var(--ff-ui);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}
.label-ui {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.body-lg { font-size: .9rem; line-height: 1.5; font-weight: 200; }
.body-md { font-size: 1rem; line-height: 1.7; }
.body-sm { font-size: 0.9rem; line-height: 1.65; color: var(--slate); }

/* ============================================
   LAYOUT UTILITIES — Enhanced Grid System
   ============================================ */
.container { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 0 clamp(20px, 5vw, 60px); 
}
.container--narrow { 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 0 clamp(20px, 5vw, 60px); 
}
.section { 
  padding: clamp(80px, 10vw, 140px) 0; 
}

/* Core Grid System */
.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem; 
}
.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem; 
}
.grid-4 { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem; 
}

/* Advanced Responsive Grids */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.grid-auto-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.2s;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(200, 148, 26, 0.35);
}
.btn-gold:hover { box-shadow: 0 8px 32px rgba(200, 148, 26, 0.5); }

.btn-terra {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(212, 97, 74, 0.35);
}
.btn-terra:hover { box-shadow: 0 8px 32px rgba(212, 97, 74, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 15px 35px;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 15px 35px;
}
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

/* Arrow icon */
.btn .arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in-view { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; 
  width: 100%;
  z-index: 900;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s;
}
.nav.scrolled {
  background: rgba(13, 26, 20, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-ui);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 38px; 
  height: 38px;
  background: none;
  border-radius: 10px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--gold-lt); }
.nav__links a.active { color: var(--white); }
.nav__links a.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.nav__links a.nav-cta:hover { background: var(--gold-lt); color: var(--ink); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/hnd.png');
  background-size: cover;
  background-position: center 40%;
  margin-left: -400px;
  opacity: 0.65;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(10, 61, 46, 0.7) 0%,
    rgba(14, 26, 20, 0.9) 60%,
    rgba(14, 26, 20, 0.98) 100%
  );
}

/* Geometric accent shapes */
.hero__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__geo svg {
  position: absolute;
  opacity: 0.12;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(120px, 14vw, 180px) 0 clamp(80px, 8vw, 120px);
}

/* hero content right image */
/* Hero two-column layout */
.hero__content-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero__content-left {
  flex: 1;
  min-width: 0;
}

.hero__content-right {
  flex-shrink: 0;
  width: 420px;
  display: none; /* hidden by default — shown only on laptop/tablet via media query below */
}

/* Image frame with subtle styling */
.hero__image-frame {
  position: relative;
  border-radius: 20px 20px 60px 20px;
  overflow: hidden;
  height: 520px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.82) saturate(1.1);
}

.hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(10, 61, 46, 0.55) 100%
  );
}
/* end here */

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.hero__eyebrow-line {
  width: 40px; height: 2px;
  background: var(--gold);
}
.hero__eyebrow span {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3.8rem, 8vw, 8rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero__title em {
  font-size: clamp(2.3rem, 3.4vw, 3.4rem);
  font-style: italic;
  color: var(--gold-lt);
  display: block;
}

.hero__title em span {
  position: relative;
  color: var(--cream);
}

.hero__title em b {
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  font-family: var(--ff-display);
  /* color: var(--gold); */
}

.hero__desc {
  font-size: 1.2rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 50px; height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

/* Stats bar */
.hero__stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 36px 0;
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hero__stat {
  padding: 28px 32px;
  background: rgba(14, 26, 20, 0.6);
  text-align: center;
}
.hero__stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-label {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ============================================
   MARQUEE TICKER
   ============================================ */
.ticker {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}
.ticker__item {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  padding: 0 40px;
}
.ticker__sep {
  color: rgba(10, 61, 46, 0.4);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
  background: var(--cream);
  overflow: hidden;
}
.mission__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.mission__media {
  position: relative;
}
.mission__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.mission__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.mission__img-wrap:hover img { transform: scale(1.04); }

.mission__badge {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 130px; height: 130px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 6px solid var(--cream);
  z-index: 2;
}
.mission__badge-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.mission__badge-label {
  font-family: var(--ff-ui);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.mission__accent {
  position: absolute;
  top: -30px; left: -30px;
  width: 100px; height: 100px;
  background: var(--terra);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.4;
}

.mission__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mission__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}
.mission__text {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700;
  font-style: italic;
  color: var(--forest);
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.5;
}
.mission__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.mission__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid rgba(10, 61, 46, 0.08);
}
.mission__value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.mission__value span {
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
}

/* ============================================
   6 C'S / PILLARS SECTION
   ============================================ */
.pillars {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.pillars::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(200, 148, 26, 0.06);
}

.pillars::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 97, 74, 0.05);
}

.pillars__header {
  margin-bottom: 70px;
}

.pillars__intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin-top: 20px;
}

/* ── Grid — overflow:visible so absolute img-wraps aren't clipped ── */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 0;
  border-radius: 20px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* ── Card base — position:relative and overflow:hidden merged here ── */
.pillar-card {
  position: relative;
  overflow: hidden;
  padding: 50px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .1s 0.2s, border-color 0.6s .2s;
  cursor: default;
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-lg);
}

/* ── Number ── */
.pillar-card__num {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.436);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
}

.pillar-card:hover .pillar-card__num {
  color: rgba(200, 148, 26, 0.2);
}

/* ── Icon ── */
.pillar-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-out);
  position: relative;
  z-index: 1;
}

.pillar-card:hover .pillar-card__icon {
  transform: scale(1.1);
}

/* ── Title ── */
.pillar-card__title {
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* ── Description ── */
.pillar-card__desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

/* ── Per-card icon colour variants ── */
.pillar-card--gold .pillar-card__icon {
  background: rgba(200, 148, 26, 0.2);
  color: var(--gold-lt);
}

.pillar-card--terra .pillar-card__icon {
  background: rgba(212, 97, 74, 0.2);
  color: #EE8A76;
}

.pillar-card--teal .pillar-card__icon {
  background: rgba(29, 158, 117, 0.2);
  color: #5DCAA5;
}

.pillar-card--blue .pillar-card__icon {
  background: rgba(55, 138, 221, 0.2);
  color: #85B7EB;
}

.pillar-card--purple .pillar-card__icon {
  background: rgba(127, 119, 221, 0.2);
  color: #AFA9EC;
}

/* ── Contribution card special treatment ── */
.pillar-card--contribution {
  background: rgba(200, 148, 26, 0.1);
  border-color: rgba(200, 148, 26, 0.2);
}

.pillar-card--contribution .pillar-card__num {
  color: rgba(200, 148, 26, 0.15);
}

.pillar-card--contribution .pillar-card__title {
  color: var(--gold-lt);
}

.pillar-card--contribution .pillar-card__desc {
  color: rgba(255, 255, 255, 0.65);
}

.pillar-card--contribution .pillar-card__icon {
  background: rgba(200, 148, 26, 0.25);
  color: var(--gold-lt);
}

/* ============================================
   IMAGE ADDITIONS
   ============================================ */

/* ── Image wrap — absolute top-right corner inset ── */
.pillar-card__img-wrap {
  position: absolute;
  top: 2px;
  right: 0px;
  width: 58%;
  height: 58%;
  overflow: hidden;
  border-radius: 2px 2px 2px 36px;
  pointer-events: none;
  z-index: 0;
}

/* ── Image itself ── */
.pillar-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.42) saturate(0.65);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Gradient overlay that bleeds image into card background ── */
.pillar-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(14, 26, 20, 0.5) 50%,
    rgba(14, 26, 20, 0.08) 100%
  );
}

/* ── Hover — image zooms and brightens ── */
.pillar-card:hover .pillar-card__img {
  transform: scale(1.08);
  filter: brightness(0.56) saturate(0.82);
}

/* ── Per-card colour-tinted gradient overlays ── */
.pillar-card--gold .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(200, 148, 26, 0.20) 60%,
    rgba(200, 148, 26, 0.04) 100%
  );
}

.pillar-card--terra .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(212, 97, 74, 0.20) 60%,
    rgba(212, 97, 74, 0.04) 100%
  );
}

.pillar-card--teal .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(29, 158, 117, 0.20) 60%,
    rgba(29, 158, 117, 0.04) 100%
  );
}

.pillar-card--blue .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(55, 138, 221, 0.20) 60%,
    rgba(55, 138, 221, 0.04) 100%
  );
}

.pillar-card--purple .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.95) 0%,
    rgba(127, 119, 221, 0.20) 60%,
    rgba(127, 119, 221, 0.04) 100%
  );
}

.pillar-card--contribution .pillar-card__img-wrap::after {
  background: linear-gradient(
    135deg,
    rgba(14, 26, 20, 0.92) 0%,
    rgba(200, 148, 26, 0.28) 60%,
    rgba(200, 148, 26, 0.06) 100%
  );
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs {
  background: var(--ivory);
}

.programs__header { margin-bottom: 70px; }

.programs__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: 28px;
}

.program-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10, 61, 46, 0.14);
}

.program-card--featured {
  grid-row: span 2;
}

.program-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.program-card--featured .program-card__img {
  aspect-ratio: 4/3;
}
.program-card:hover .program-card__img { transform: scale(1.06); }
.program-card__img-wrap { overflow: hidden; }

.program-card__tag {
  position: absolute;
  top: 20px; left: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
}

.program-card__body {
  padding: 28px 30px;
}
.program-card--featured .program-card__body { padding: 36px 38px; }

.program-card__title {
  font-family: var(--ff-ui);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 10px;
}
.program-card--featured .program-card__title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.program-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: 20px;
}

.program-card__bullets {
  margin-bottom: 24px;
}
.program-card__bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate);
  padding: 5px 0;
}
.program-card__bullet-dot {
  position: relative;
  width: 6px; 
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
  animation: breathing-glow 3.5s ease-in-out infinite;
}

.program-card__bullet-dot::after{
  content: '';
  position: absolute;
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: breathing-glow 3.5s ease-in-out infinite;
}

/* Breathing Animation */
@keyframes breathing-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 148, 26, 0.7);
    transform: scale(0.55);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(200, 148, 26, 0);
    transform: scale(.80);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 148, 26, 0);
    transform: scale(0.55);
  }
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terra);
  transition: gap 0.2s;
}
.program-card__link:hover { gap: 12px; }

/* Programs extra card row */
.programs__extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.program-mini {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid rgba(10,61,46,0.07);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.program-mini:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(200, 148, 26, 0.1);
  transform: translateY(-3px);
}
.program-mini__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(10, 61, 46, 0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.program-mini__title {
  font-family: var(--ff-ui);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 8px;
}
.program-mini__desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ============================================
   RESOURCE HUB
   ============================================ */
.resources {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.resources::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.resources__intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.resources__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.resource-card {
  padding: 36px 30px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.resource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.resource-card:hover {
  border-color: rgba(200, 148, 26, 0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}
.resource-card:hover::before { transform: scaleX(1); }

.resource-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  background: rgba(200, 148, 26, 0.12);
  color: var(--gold-lt);
}
.resource-card__title {
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.resource-card__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.resource-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.resource-card__tag {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-lt);
  transition: gap 0.2s;
}
.resource-card__link:hover { gap: 12px; }

/* ============================================
   IMPACT / STORIES SECTION
   ============================================ */
.impact {
  background: var(--cream);
}
.impact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.impact__left { position: sticky; top: 120px; }

.impact__stat-block {
  margin: 40px 0;
}
.impact__big-num {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 8px;
}
.impact__big-label {
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.impact__divider {
  width: 50px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 32px 0;
}

.testimonial-stack { display: flex; flex-direction: column; gap: 20px; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 34px;
  border: 1px solid rgba(10,61,46,0.06);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(10,61,46,0.1);
  transform: translateX(4px);
}
.testimonial-card::before {
  content: '"';
  font-family: var(--ff-display);
  font-size: 6rem;
  font-weight: 900;
  color: var(--ivory);
  position: absolute;
  top: -10px; right: 20px;
  line-height: 1;
}
.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ivory);
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-ui);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--forest);
  background: linear-gradient(135deg, var(--ivory), var(--gold-lt));
  flex-shrink: 0;
}
.testimonial-card__name {
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}
.testimonial-card__program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(10,61,46,0.07);
  color: var(--forest);
  margin-bottom: 16px;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  background: var(--white);
  position: relative;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 64px;
}
.team-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-out);
  position: relative;
}
.team-card:hover { transform: translateY(-8px); }

.team-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
.team-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
  filter: grayscale(20%);
}
.team-card:hover .team-card__img {
  transform: scale(1.06);
  filter: grayscale(0%);
}
.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,20,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s;
}
.team-card:hover .team-card__overlay { opacity: 1; }
.team-card__bio {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
}
.team-card__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.team-card__social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
  transition: background 0.2s;
}
.team-card__social a:hover { background: var(--gold); }
.team-card__info {
  padding: 18px 20px;
}
.team-card__name {
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--forest);
}
.team-card__role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
  background: var(--ivory);
  padding: 60px 0;
}
.partners__label {
  text-align: center;
  margin-bottom: 36px;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
}
.partner-logo {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,61,46,0.4);
  border: 1.5px solid rgba(10,61,46,0.12);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  transition: color 0.2s, border-color 0.2s;
}
.partner-logo:hover { color: var(--forest); border-color: var(--forest); }

/* ============================================
   GET INVOLVED (CTA)
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1531206715517-5c0ba140b2b8?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,46,0.85), rgba(14,26,20,0.95));
}
.cta-section__content {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
}
.cta-section__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  max-width: 780px;
  margin: 0 auto 24px;
}
.cta-section__title em {
  font-style: italic;
  color: var(--gold-lt);
}
.cta-section__desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 48px;
}
.cta-section__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
}
.cta-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-6px);
}
.cta-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  transition: transform 0.3s var(--ease-out);
}
.cta-card:hover .cta-card__icon { transform: scale(1.1) rotate(-5deg); }
.cta-card__title {
  font-family: var(--ff-ui);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.cta-card__desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   NEWSLETTER BAND
   ============================================ */
.newsletter {
  background: var(--gold);
  padding: 60px 0;
}
.newsletter__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}
.newsletter__copy h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.newsletter__copy p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.newsletter__form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.newsletter__input {
  padding: 14px 22px;
  border-radius: 100px;
  border: none;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  width: 280px;
  outline: none;
  transition: background 0.2s;
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter__input:focus { background: rgba(255,255,255,0.3); }
.newsletter__btn {
  padding: 14px 28px;
  background: var(--white);
  color: var(--gold);
  border: none;
  border-radius: 100px;
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.newsletter__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  padding: 90px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
}
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 148, 26, 0.08);
}
.footer__col h4 {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}
.footer__col ul li {
  margin-bottom: 12px;
}
.footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--gold-lt); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer__contact-item i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__contact-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer__bottom p a {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
  animation: bounce 2s infinite;
}

.footer__bottom p a:hover { 
  color: var(--gold-lt); 
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--gold-lt); }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 85%; max-width: 360px;
  height: 100vh;
  background: var(--ink);
  z-index: 950;
  transition: right 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 80px 36px 40px;
  overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.open { right: 0; }
.mobile-menu__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu__close:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.mobile-menu a {
  font-family: var(--ff-ui);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold-lt); }
.mobile-menu .btn-gold { margin-top: 24px; width: 100%; justify-content: center; }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================
   RESPONSIVE — Grid-Optimized & Professional
   ============================================ */
/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
  .container {
    padding: 0 clamp(20px, 4vw, 40px);
  }
}

@media (max-width: 1100px) {
  .pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillar-card:nth-child(3) {
    border-right: none;
  }

  .pillar-card:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-card__img-wrap {
    width: 40%;
    height: 48%;
  }
}

@media (max-width: 992px) {
  .mission__layout,
  .impact__layout,
  .resources__intro-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .programs__grid {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .newsletter__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .section {
    padding: clamp(60px, 8vw, 100px) 0;
  }
}

@media (max-width: 768px) {
  .pillars__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .programs__extra,
  .resources__cards,
  .team__grid,
  .cta-section__cards,
  .footer__grid,
  .hero__stats-grid {
    grid-template-columns: 1fr;
  }

  .mission__values {
    grid-template-columns: repeat(2, 3fr);
  }

  /* ── Card layout: two-column top, full-width desc bottom ──
     Left column: num + icon + title stacked
     Right column: image filling the same height
     Bottom: description spans full width beneath both        */
  .pillar-card {
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr 38%;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 16px;
    align-items: start;
  }

  /* num, icon, title — left column, stacked top to bottom */
  .pillar-card__num {
    grid-column: 1;
    grid-row: 1;
    font-size: 2.8rem;
    margin-bottom: 10px;
  }

  .pillar-card__icon {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 10px;
  }

  .pillar-card__title {
    grid-column: 1;
    grid-row: 3;
    margin-bottom: 0;
  }

  /* desc — spans full width below both columns */
  .pillar-card__desc {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 18px;
  }

  /* image wrap — right column, spans rows 1–3 alongside num/icon/title */
  .pillar-card__img-wrap {
    grid-column: 2;
    grid-row: 1 / 4;
    position: relative;
    top: auto;
    right: 60px;
    width: 170%;
    height: 100%;
    min-height: 140px;
    border-radius: 10px 10px 10px 24px;
    overflow: hidden;
    align-self: stretch;
  }

 .pillar-card__img-wrap--contribution{
    grid-column: 2;
    grid-row: 1 / 4;
    position: relative;
    top: auto;
    right: 20px;
    width: 100%;
    height: 100%;
    min-height: 140px;
    border-radius: 10px 10px 10px 24px;
    overflow: hidden;
    align-self: stretch;
 }

  .pillar-card__img {
    filter: brightness(0.5) saturate(0.7);
  }

  .pillar-card:hover .pillar-card__img {
    transform: scale(1.05);
    filter: brightness(0.64) saturate(0.85);
  }

  /* Gradient fades right-to-left so image edge softens into card */
  .pillar-card--gold .pillar-card__img-wrap::after,
  .pillar-card--terra .pillar-card__img-wrap::after,
  .pillar-card--teal .pillar-card__img-wrap::after,
  .pillar-card--blue .pillar-card__img-wrap::after,
  .pillar-card--purple .pillar-card__img-wrap::after,
  .pillar-card--contribution .pillar-card__img-wrap::after {
    background: linear-gradient(
      to left,
      rgba(14, 26, 20, 0.08) 0%,
      rgba(14, 26, 20, 0.55) 60%,
      rgba(14, 26, 20, 0.95) 100%
    );
  }
}

@media (max-width: 640px) {
  .newsletter__form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter__input {
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .container {
    padding: 0 16px;
  }

  .mission__badge {
    width: 110px;
    height: 110px;
    bottom: -15px;
    right: -15px;
  }

  /* Tighten card padding and image column on very small phones */
  .pillar-card {
    padding: 24px 18px;
    grid-template-columns: 1fr 36%;
    column-gap: 12px;
  }

  .pillar-card__num {
    font-size: 2.4rem;
  }

  .pillar-card__img-wrap {
    min-height: 120px;
    border-radius: 8px 8px 8px 20px;
  }

  .pillar-card__desc {
    margin-top: 14px;
  }
}

@media (max-width: 360px) {
  .pillar-card {
    padding: 20px 16px;
    grid-template-columns: 1fr 34%;
    column-gap: 10px;
  }

  .pillar-card__num {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .pillar-card__img-wrap {
    min-height: 110px;
    border-radius: 6px 6px 6px 16px;
  }

  .pillar-card__desc {
    margin-top: 12px;
    font-size: 0.82rem;
  }
}


/* Show hero right image on tablet and up (768px–1100px) */
@media (min-width: 768px) {
  .hero__content-right {
    display: block;
    width: 340px;
  }

  .hero__image-frame {
    height: 440px;
  }
}

/* Full size on laptop and desktop */
@media (min-width: 1100px) {
  .hero__content-right {
    display: block;
    width: 420px;
  }

  .hero__image-frame {
    height: 520px;
  }
}