/*
Theme Name: CDAR
Theme URI: https://www.cdarodisha.org
Author: CDAR
Description: Official WordPress theme for the Centre for Development Action and Research (CDAR), Odisha. A faithful port of the CDAR single-page experience — green palette, glassmorphism, ambient motion and an integrated contact form.
Version: 1.8.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cdar
*/

/* ============================================================= */
/*  Fonts                                                        */
/* ============================================================= */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap");

/* ============================================================= */
/*  Design tokens                                                */
/* ============================================================= */
:root {
  --cdar-dark: #0b5d1e;
  --cdar-forest: #1e7d32;
  --cdar-light: #8bc34a;
  --cdar-mist: #f4fff4;
  --cdar-deep: #03220c;
  --cdar-ink: #062812;

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --shadow-glow-sm: 0 0 18px rgba(139, 195, 74, 0.35);
  --shadow-glow: 0 0 42px rgba(139, 195, 74, 0.3);
  --shadow-glow-lg: 0 0 80px rgba(139, 195, 74, 0.35);
  --shadow-card: 0 18px 50px -20px rgba(5, 46, 19, 0.25);
  --shadow-card-lg: 0 30px 80px -24px rgba(5, 46, 19, 0.35);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================= */
/*  Reset / base                                                 */
/* ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 80px;
}

body {
  background: var(--cdar-mist);
  font-family: var(--font-sans);
  color: var(--cdar-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  line-height: 1.5;
}

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

::selection { background: var(--cdar-light); color: var(--cdar-deep); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eafbea; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cdar-forest), var(--cdar-dark));
  border-radius: 8px;
  border: 2px solid #eafbea;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cdar-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================= */
/*  Helpers                                                      */
/* ============================================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.font-display { font-family: var(--font-display); }

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.glass-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(11, 93, 30, 0.1);
}
.text-gradient {
  background: linear-gradient(92deg, #8bc34a, #d9f99d 45%, #8bc34a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient-deep {
  background: linear-gradient(92deg, #0b5d1e, #1e7d32 55%, #4c9f38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.noise { position: relative; }
.noise::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mask-fade-x {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.orb { position: absolute; border-radius: 9999px; pointer-events: none; filter: blur(40px); z-index: 0; }

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ============================================================= */
/*  Keyframes                                                    */
/* ============================================================= */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes aurora-a { 0% { transform: translate(-8%,-4%) scale(1);} 100% { transform: translate(10%,8%) scale(1.25);} }
@keyframes aurora-b { 0% { transform: translate(6%,10%) scale(1.1);} 100% { transform: translate(-10%,-6%) scale(0.9);} }
@keyframes aurora-c { 0% { transform: translate(0,0) scale(1) rotate(0);} 100% { transform: translate(-6%,10%) scale(1.2) rotate(28deg);} }
@keyframes blob {
  0%,100% { border-radius: 58% 42% 63% 37% / 46% 56% 44% 54%; }
  33% { border-radius: 42% 58% 37% 63% / 56% 44% 56% 44%; }
  66% { border-radius: 63% 37% 52% 48% / 40% 60% 42% 58%; }
}
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@keyframes marquee-rev { from { transform: translateX(-50%);} to { transform: translateX(0);} }
@keyframes pulse-ring { 0% { transform: scale(0.55); opacity: 0.9;} 100% { transform: scale(2.6); opacity: 0;} }
@keyframes sway { 0%,100% { transform: rotate(-6deg) translateY(0);} 50% { transform: rotate(8deg) translateY(-12px);} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
@keyframes scrollcue { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

.anim-float { animation: float 7s ease-in-out infinite; }
.anim-float-slow { animation: float 11s ease-in-out infinite; }
.anim-float-slower { animation: float 15s ease-in-out infinite; }
.anim-aurora-a { animation: aurora-a 18s ease-in-out infinite alternate; }
.anim-aurora-b { animation: aurora-b 23s ease-in-out infinite alternate; }
.anim-aurora-c { animation: aurora-c 27s ease-in-out infinite alternate; }
.anim-blob { animation: blob 16s ease-in-out infinite; }

/* ============================================================= */
/*  Navbar                                                       */
/* ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(3, 34, 12, 0.85);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.nav {
  display: flex;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .nav { padding: 0 2rem; } }
.nav__logo img { height: 44px; width: auto; filter: drop-shadow(0 2px 12px rgba(139,195,74,0.35)); }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__links a {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  height: 1px; width: 0;
  background: var(--cdar-light);
  transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-donate {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--cdar-forest), var(--cdar-dark));
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-glow-sm);
  box-shadow: var(--shadow-glow-sm), inset 0 0 0 1px rgba(255,255,255,0.2);
  transition: all 0.3s;
}
@media (min-width: 640px) { .btn-donate { display: inline-flex; } }
.btn-donate:hover { box-shadow: var(--shadow-glow); }
.btn-donate svg { fill: var(--cdar-light); color: var(--cdar-light); }
.nav__toggle {
  display: inline-flex;
  height: 44px; width: 44px;
  align-items: center; justify-content: center;
  border-radius: 9999px;
  color: #fff;
  transition: background 0.3s;
}
.nav__toggle:hover { background: rgba(255, 255, 255, 0.1); }
@media (min-width: 1024px) { .nav__toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem 0;
  background: linear-gradient(135deg, var(--cdar-deep), var(--cdar-dark) 50%, var(--cdar-deep));
}
.mobile-menu.open { display: flex; }
.mobile-menu a.m-link {
  display: block;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s;
}
.mobile-menu a.m-link:hover { color: var(--cdar-light); }
.mobile-menu .btn-donate-mobile {
  margin-top: 2.5rem;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--cdar-light);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdar-deep);
  box-shadow: var(--shadow-glow);
}

/* ============================================================= */
/*  Navbar dropdowns                                             */
/* ============================================================= */
.nav__links li { position: relative; }
.nav__links li.has-sub > a { display: inline-flex; align-items: center; gap: 4px; }
.nav__links .caret { font-size: 0.62em; line-height: 1; opacity: 0.85; transition: transform 0.3s var(--ease-expo); }
.nav__links li.has-sub:hover .caret,
.nav__links li.has-sub:focus-within .caret { transform: rotate(180deg); }

.nav__links .subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  margin-top: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(3, 34, 12, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-expo), transform 0.25s var(--ease-expo);
  z-index: 60;
  max-height: 72vh;
  overflow-y: auto;
}
.nav__links li.has-sub:hover .subnav,
.nav__links li.has-sub:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible hover bridge so the menu doesn't close in the gap */
.nav__links li.has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav__links .subnav li { display: block; }
.nav__links .subnav a {
  display: block;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s, color 0.2s;
}
.nav__links .subnav a::after { content: none; display: none; }
.nav__links .subnav a:hover { background: rgba(139, 195, 74, 0.16); color: #fff; }

/* Mobile: compact indented sub-items */
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding-top: 5rem; padding-bottom: 2rem; }
.mobile-menu a.m-link { font-size: 1.4rem; padding: 0.35rem 0; }
.mobile-menu .m-sub { margin: 0.2rem 0 0.7rem 0.25rem; padding-left: 0.9rem; border-left: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; gap: 0.05rem; }
.mobile-menu .m-sublink { display: block; padding: 0.28rem 0; font-size: 1rem; color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.mobile-menu .m-sublink:hover { color: var(--cdar-light); }

/* ============================================================= */
/*  Section heading                                              */
/* ============================================================= */
.heading { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.heading.left { align-items: flex-start; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid rgba(11, 93, 30, 0.15);
  background: rgba(255, 255, 255, 0.7);
  color: var(--cdar-dark);
}
.eyebrow.light { border: none; color: var(--cdar-light); }
.eyebrow .dot { height: 6px; width: 6px; border-radius: 9999px; background: var(--cdar-light); box-shadow: var(--shadow-glow-sm); }
.heading h2 {
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cdar-ink);
}
.heading.light h2 { color: #fff; }
.heading p.sub {
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(6, 40, 18, 0.65);
}
.heading.light p.sub { color: rgba(255, 255, 255, 0.7); }

/* ============================================================= */
/*  Hero                                                         */
/* ============================================================= */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cdar-deep);
}
/* Hero photo slideshow */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease-in-out; transform: scale(1.05); }
.hero__slide.active { opacity: 1; animation: heroKenburns 11s ease-out forwards; }
@keyframes heroKenburns { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(3,34,12,0.72) 0%, rgba(3,34,12,0.55) 45%, rgba(3,34,12,0.8) 100%); }
.hero--photos .hero__content { position: relative; z-index: 10; }

.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #0B5D1E 0%, #06401a 38%, #03220C 78%),
    radial-gradient(60% 50% at 85% 90%, rgba(30,125,50,0.5) 0%, transparent 70%);
}
.hero__aurora { position: absolute; border-radius: 9999px; filter: blur(60px); }
.hero__aurora--a { left: -15%; top: -20%; height: 70vh; width: 70vw;
  background: radial-gradient(circle, rgba(139,195,74,0.34) 0%, transparent 65%); animation: aurora-a 18s ease-in-out infinite alternate; }
.hero__aurora--b { right: -20%; top: 15%; height: 80vh; width: 65vw;
  background: radial-gradient(circle, rgba(30,125,50,0.55) 0%, transparent 62%); animation: aurora-b 23s ease-in-out infinite alternate; }
.hero__aurora--c { bottom: -18%; left: 18%; height: 55vh; width: 45vw;
  background: radial-gradient(circle, rgba(217,249,157,0.16) 0%, transparent 60%); animation: aurora-c 27s ease-in-out infinite alternate; }
.hero__blob { position: absolute; backdrop-filter: blur(4px); animation: blob 16s ease-in-out infinite; }
.hero__blob--1 { left: 6%; top: 58%; height: 11rem; width: 11rem;
  border: 1px solid rgba(139,195,74,0.15); background: linear-gradient(135deg, rgba(30,125,50,0.25), rgba(139,195,74,0.1)); }
.hero__blob--2 { right: 5%; top: 14%; height: 13rem; width: 13rem; display: none;
  border: 1px solid rgba(139,195,74,0.1); background: linear-gradient(45deg, rgba(139,195,74,0.15), transparent); animation-delay: -6s; }
@media (min-width: 640px) {
  .hero__blob--1 { height: 16rem; width: 16rem; }
  .hero__blob--2 { display: block; }
}
canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__content {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  max-width: 64rem;
  flex-direction: column;
  align-items: center;
  padding: 8rem 1.25rem 7rem;
  text-align: center;
}
.hero__badge {
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cdar-light);
}
.hero__badge .dot { height: 6px; width: 6px; border-radius: 9999px; background: var(--cdar-light); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.hero__logo { width: 15rem; height: auto; filter: drop-shadow(0 0 45px rgba(139,195,74,0.45)); animation: bob 6s ease-in-out infinite; }
@media (min-width: 640px) { .hero__logo { width: 18rem; } }
@media (min-width: 1024px) { .hero__logo { width: 20rem; } }
.hero__title {
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}
.hero__cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest));
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdar-deep);
  box-shadow: var(--shadow-glow);
  transition: box-shadow 0.3s;
}
.btn-primary:hover { box-shadow: var(--shadow-glow-lg); }
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: rgba(139,195,74,0.5); background: rgba(255,255,255,0.1); }
.scroll-cue {
  position: absolute;
  bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--cdar-light); }
.scroll-cue span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; }
.scroll-cue svg { animation: scrollcue 1.8s ease-in-out infinite; }
@media (max-height: 739px) { .scroll-cue { display: none; } }
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 10; height: 12vh; min-height: 88px; }
.hero__wave svg { height: 100%; width: 100%; }

/* ============================================================= */
/*  Generic section                                              */
/* ============================================================= */
.section { position: relative; overflow: hidden; }
.section--mist { background: var(--cdar-mist); }
.section--white { background: #fff; }
.section--grad { background: linear-gradient(to bottom, var(--cdar-mist), #fff, var(--cdar-mist)); }
.section--deep { background: var(--cdar-deep); }
.section__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 6rem 1.25rem; }
@media (min-width: 640px) { .section__inner { padding: 9rem 2rem; } }

/* ============================================================= */
/*  About                                                        */
/* ============================================================= */
.about__grid { margin-top: 3.5rem; display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .about__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.about__body p { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.7; color: rgba(6,40,18,0.75); margin-bottom: 1.25rem; }
.values { display: grid; grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.value-card { border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-card); transition: box-shadow 0.3s; }
.value-card:hover { box-shadow: var(--shadow-card-lg); }
.value-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--cdar-ink); }
.value-card p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.55; color: rgba(6,40,18,0.6); }
.icon-badge {
  margin-bottom: 0.75rem;
  display: inline-flex;
  height: 2.5rem; width: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--cdar-light), var(--cdar-forest));
  color: #fff;
  box-shadow: var(--shadow-glow-sm);
  transition: transform 0.3s;
}
.value-card:hover .icon-badge { transform: scale(1.1) rotate(6deg); }
.vm-stack { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .vm-stack { position: sticky; top: 7rem; } }
.vm-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--cdar-dark), var(--cdar-deep));
  padding: 2rem;
  color: #fff;
  box-shadow: var(--shadow-card-lg);
}
.vm-card .orb-glow { position: absolute; right: -3rem; top: -3rem; height: 11rem; width: 11rem; border-radius: 9999px;
  background: radial-gradient(circle, rgba(139,195,74,0.3) 0%, transparent 65%); filter: blur(16px); }
.vm-card .icon-ring {
  position: relative;
  margin-bottom: 1rem;
  display: inline-flex;
  height: 3rem; width: 3rem;
  align-items: center; justify-content: center;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  color: var(--cdar-light);
}
.vm-card h3 { position: relative; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.vm-card p { position: relative; margin-top: 0.75rem; line-height: 1.7; color: rgba(255,255,255,0.75); }

/* Timeline */
.timeline-wrap { margin-top: 7rem; }
.timeline { position: relative; margin: 4rem auto 0; max-width: 56rem; }
.timeline__spine { position: absolute; left: 1.25rem; top: 0; height: 100%; width: 1px; background: rgba(11,93,30,0.1); }
.timeline__progress { position: absolute; left: 1.25rem; top: 0; width: 1px; transform-origin: top; height: 100%;
  background: linear-gradient(to bottom, var(--cdar-light), var(--cdar-forest), var(--cdar-dark)); box-shadow: var(--shadow-glow-sm); transform: scaleY(0); transition: transform 0.1s linear; }
@media (min-width: 768px) { .timeline__spine, .timeline__progress { left: 50%; } }
.timeline ol { display: flex; flex-direction: column; gap: 3rem; }
.timeline li { position: relative; }
.timeline__row { display: flex; align-items: flex-start; gap: 1.5rem; padding-left: 3rem; }
.timeline__node {
  position: absolute; left: 1.25rem; top: 0.5rem; z-index: 10;
  transform: translateX(-50%);
  display: flex; height: 1rem; width: 1rem;
}
.timeline__node .ring { position: absolute; inset: 0; border-radius: 9999px; background: rgba(139,195,74,0.6); animation: pulse-ring 2.6s cubic-bezier(0.4,0,0.2,1) infinite; }
.timeline__node .core { position: relative; height: 1rem; width: 1rem; border-radius: 9999px; border: 2px solid #fff;
  background: linear-gradient(135deg, var(--cdar-light), var(--cdar-forest)); box-shadow: var(--shadow-glow-sm); }
.timeline__card { width: 100%; border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-card); transition: all 0.3s; }
.timeline__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-lg); }
.timeline__year { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.timeline__card h3 { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--cdar-ink); }
.timeline__card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.55; color: rgba(6,40,18,0.65); }
@media (min-width: 768px) {
  .timeline li:nth-child(odd) .timeline__row { width: 50%; padding-left: 0; padding-right: 3rem; text-align: right; }
  .timeline li:nth-child(even) .timeline__row { width: 50%; margin-left: auto; padding-left: 3rem; }
  .timeline__node { left: 50%; }
}

/* ============================================================= */
/*  Programs                                                     */
/* ============================================================= */
.programs__grid { margin-top: 4rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .programs__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .programs__grid { grid-template-columns: repeat(4, 1fr); } }
.program-card {
  height: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.5s, transform 0.3s;
}
.program-card:hover { box-shadow: var(--shadow-glow); }
.program-card__inner { display: flex; height: 100%; flex-direction: column; padding: 1.75rem; }
.program-card .icon-lg {
  margin-bottom: 1.25rem;
  display: inline-flex;
  height: 3.5rem; width: 3.5rem;
  align-items: center; justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--cdar-light), var(--cdar-dark));
  color: #fff;
  box-shadow: var(--shadow-glow-sm);
  transition: transform 0.5s;
}
.program-card:hover .icon-lg { transform: scale(1.1) rotate(-6deg); }
.program-card .short { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(30,125,50,0.7); }
.program-card h3 { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--cdar-ink); }
.program-card p { margin-top: 0.75rem; flex: 1; font-size: 0.875rem; line-height: 1.55; color: rgba(6,40,18,0.65); }
.program-card .learn { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--cdar-forest); }
.program-card .learn svg { transition: transform 0.3s; }
.program-card:hover .learn svg { transform: translate(2px, -2px); }

/* ============================================================= */
/*  Impact                                                       */
/* ============================================================= */
.impact__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(30,125,50,0.45) 0%, transparent 60%),
    radial-gradient(70% 55% at 85% 75%, rgba(139,195,74,0.18) 0%, transparent 60%);
}
.impact__stats { margin-top: 5rem; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 1.5rem; }
.stat-card {
  width: calc(50% - 12px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.5s;
  animation: float 11s ease-in-out infinite;
}
@media (min-width: 640px) { .stat-card { width: 14rem; padding: 1.75rem; } }
.stat-card:hover { border-color: rgba(139,195,74,0.4); box-shadow: var(--shadow-glow); }
.stat-card .icon-ring {
  margin: 0 auto 1rem;
  display: inline-flex;
  height: 3rem; width: 3rem;
  align-items: center; justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(139,195,74,0.25), rgba(30,125,50,0.25));
  box-shadow: inset 0 0 0 1px rgba(139,195,74,0.3);
  color: var(--cdar-light);
}
.stat-card .num { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; color: #fff; }
.stat-card .label { margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.6); }
@media (min-width: 640px) { .stat-card .label { text-transform: none; letter-spacing: normal; font-size: 0.875rem; } }
.impact__quote { margin: 5rem auto 0; max-width: 42rem; text-align: center; font-family: var(--font-display); font-size: clamp(1.125rem, 2.5vw, 1.25rem); font-style: italic; line-height: 1.7; color: rgba(139,195,74,0.8); }
.stat-offset-1 { transform: translateY(2.5rem); }
.stat-offset-2 { transform: translateY(-1rem); }
.stat-offset-3 { transform: translateY(3rem); }
.stat-offset-4 { transform: translateY(0.5rem); }
@media (max-width: 1023px) { [class^="stat-offset"], [class*=" stat-offset"] { transform: none; } }

/* Flow divider */
.flow-divider { position: absolute; left: 0; right: 0; z-index: 2; height: 10vh; min-height: 70px; line-height: 0; }
.flow-divider svg { width: 100%; height: 100%; }
.flow-divider.top { top: -1px; }
.flow-divider.bottom { bottom: -1px; }

/* ============================================================= */
/*  Presence (map)                                               */
/* ============================================================= */
.presence__grid { margin-top: 4rem; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .presence__grid { grid-template-columns: 1.1fr 0.9fr; } }
.presence__map { position: relative; }
.presence__map svg { width: 100%; height: auto; }
.district-list { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .district-list { grid-template-columns: 1fr 1fr; } }
.district-card { border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: var(--shadow-card); transition: all 0.3s; }
.district-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-lg); }
.district-card .name { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; color: var(--cdar-ink); }
.district-card .name .pin { color: var(--cdar-forest); }
.district-card .focus { margin-top: 0.25rem; font-size: 0.8rem; color: rgba(6,40,18,0.6); }
.presence__note { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: rgba(6,40,18,0.45); }

/* ============================================================= */
/*  Stories                                                      */
/* ============================================================= */
.stories__stage { position: relative; margin-top: 4rem; max-width: 72rem; margin-left: auto; margin-right: auto; }
.story-card { position: relative; overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-card-lg); }
.story-grid { display: grid; }
@media (min-width: 768px) { .story-grid { grid-template-columns: 0.85fr 1.15fr; } }
.story-photo { position: relative; height: 16rem; overflow: hidden; }
@media (min-width: 768px) { .story-photo { height: auto; min-height: 420px; } }
.story-photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.story-photo .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,34,12,0.6), transparent 60%); }
@media (min-width: 768px) { .story-photo .shade { background: linear-gradient(to right, rgba(3,34,12,0.6), transparent 60%); } }
.story-photo .cat {
  position: absolute; left: 1.25rem; top: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; background: rgba(3,34,12,0.7);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cdar-light);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.story-body { display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
@media (min-width: 640px) { .story-body { padding: 3rem; } }
.story-body .qmark { color: var(--cdar-light); }
.story-body blockquote { margin-top: 1.25rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 500; line-height: 1.55; color: var(--cdar-ink); }
.story-meta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.story-meta .name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--cdar-dark); }
.story-meta .place { font-size: 0.875rem; color: rgba(6,40,18,0.55); }
.story-meta .outcome { display: inline-flex; align-items: center; border-radius: 9999px; background: rgba(139,195,74,0.15); padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--cdar-forest); box-shadow: inset 0 0 0 1px rgba(139,195,74,0.3); }
.story-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 100%; transform-origin: left; background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest)); }
.stories__controls { margin-top: 1.75rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.stories__controls button.arrow { display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 9999px; color: var(--cdar-forest); box-shadow: var(--shadow-card); transition: all 0.3s; }
.stories__controls button.arrow:hover { transform: scale(1.1); color: var(--cdar-dark); }
.stories__dots { display: flex; align-items: center; gap: 0.5rem; }
.stories__dots button { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: rgba(11,93,30,0.2); transition: all 0.4s; }
.stories__dots button:hover { background: rgba(11,93,30,0.4); }
.stories__dots button.active { width: 2rem; background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest)); box-shadow: var(--shadow-glow-sm); }

/* ============================================================= */
/*  Gallery                                                      */
/* ============================================================= */
.gallery__filters { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.filter-btn {
  border-radius: 9999px;
  border: 1px solid rgba(11,93,30,0.15);
  background: rgba(255,255,255,0.7);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem; font-weight: 600;
  color: rgba(6,40,18,0.7);
  transition: all 0.3s;
}
.filter-btn:hover { border-color: rgba(30,125,50,0.4); color: var(--cdar-forest); }
.filter-btn.active { border-color: var(--cdar-forest); background: linear-gradient(90deg, var(--cdar-forest), var(--cdar-dark)); color: #fff; box-shadow: var(--shadow-glow-sm); }
.gallery__grid { margin-top: 3rem; columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .gallery__grid { columns: 2; } }
@media (min-width: 1024px) { .gallery__grid { columns: 3; } }
.gallery__item { position: relative; margin-bottom: 1.25rem; break-inside: avoid; }
.gallery__item button { position: relative; display: block; width: 100%; cursor: zoom-in; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-card); transition: box-shadow 0.5s; }
.gallery__item button:hover { box-shadow: var(--shadow-card-lg); }
.gallery__item img { height: auto; width: 100%; transition: transform 0.7s var(--ease-expo); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,34,12,0.75), transparent 55%); opacity: 0; transition: opacity 0.5s; }
.gallery__item:hover .shade { opacity: 1; }
.gallery__item .meta { position: absolute; inset: auto 0 0 0; padding: 1.25rem; text-align: left; opacity: 0; transform: translateY(12px); transition: all 0.5s; }
.gallery__item:hover .meta { opacity: 1; transform: none; }
.gallery__item .meta .tag { margin-bottom: 0.375rem; display: inline-block; border-radius: 9999px; background: rgba(139,195,74,0.9); padding: 0.125rem 0.625rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cdar-deep); }
.gallery__item .meta .cap { display: block; font-size: 0.875rem; font-weight: 500; color: #fff; }
.gallery__item .zoom { position: absolute; right: 1rem; top: 1rem; display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.2); color: #fff; opacity: 0; transform: scale(0.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: all 0.5s; }
.gallery__item:hover .zoom { opacity: 1; transform: scale(1); }
.gallery__item.hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: rgba(3,34,12,0.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox__frame { position: relative; max-height: 100%; width: 100%; max-width: 56rem; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-card-lg); }
.lightbox__frame img { height: auto; max-height: 80vh; width: 100%; object-fit: contain; }
.lightbox__cap { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(3,34,12,0.85), transparent); padding: 1.25rem; }
.lightbox__cap .tag { margin-bottom: 0.25rem; display: inline-block; border-radius: 9999px; background: rgba(139,195,74,0.9); padding: 0.125rem 0.625rem; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--cdar-deep); }
.lightbox__cap p { font-size: 0.95rem; font-weight: 500; color: #fff; }
.lightbox button.lb-ctrl { position: absolute; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.1); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background 0.3s; }
.lightbox button.lb-ctrl:hover { background: rgba(255,255,255,0.25); }
.lightbox .lb-close { right: 1.25rem; top: 1.25rem; height: 2.75rem; width: 2.75rem; }
.lightbox .lb-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); height: 3rem; width: 3rem; }
.lightbox .lb-next { right: 0.75rem; top: 50%; transform: translateY(-50%); height: 3rem; width: 3rem; }
.lightbox .lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); border-radius: 9999px; background: rgba(255,255,255,0.1); padding: 0.375rem 1rem; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 639px) { .lightbox .lb-prev, .lightbox .lb-next { display: none; } }

/* ============================================================= */
/*  Reports                                                      */
/* ============================================================= */
.reports__tools { margin: 2.5rem auto 0; display: flex; max-width: 48rem; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .reports__tools { flex-direction: row; } }
.reports__search { position: relative; width: 100%; }
.reports__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(6,40,18,0.4); pointer-events: none; }
.reports__search input { width: 100%; border-radius: 9999px; border: 1px solid rgba(11,93,30,0.15); background: rgba(244,255,244,0.6); padding: 0.75rem 1.25rem 0.75rem 2.75rem; font-size: 0.875rem; color: var(--cdar-ink); outline: none; transition: all 0.3s; }
.reports__search input:focus { border-color: var(--cdar-forest); background: #fff; box-shadow: var(--shadow-glow-sm); }
.reports__years { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.year-btn { border-radius: 9999px; border: 1px solid rgba(11,93,30,0.15); background: #fff; padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; color: rgba(6,40,18,0.65); transition: all 0.3s; }
.year-btn:hover { border-color: rgba(30,125,50,0.4); color: var(--cdar-forest); }
.year-btn.active { border-color: var(--cdar-forest); background: var(--cdar-forest); color: #fff; box-shadow: var(--shadow-glow-sm); }
.reports__grid { margin-top: 3.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reports__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reports__grid { grid-template-columns: repeat(3, 1fr); } }
.report-card { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(11,93,30,0.1); background: linear-gradient(135deg, #fff, var(--cdar-mist)); padding: 1.75rem; box-shadow: var(--shadow-card); transition: all 0.5s; }
.report-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.report-card .topbar { position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest), var(--cdar-dark)); }
.report-card .latest { position: absolute; right: 1.25rem; top: 1.25rem; display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 9999px; background: rgba(139,195,74,0.15); padding: 0.25rem 0.75rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cdar-forest); box-shadow: inset 0 0 0 1px rgba(139,195,74,0.4); }
.report-card .file-ic { display: inline-flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border-radius: 1rem; background: linear-gradient(135deg, var(--cdar-light), var(--cdar-dark)); color: #fff; box-shadow: var(--shadow-glow-sm); transition: transform 0.5s; }
.report-card:hover .file-ic { transform: scale(1.1) rotate(-6deg); }
.report-card h3 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--cdar-ink); }
.report-card .meta { margin-top: 0.375rem; font-size: 0.875rem; color: rgba(6,40,18,0.55); }
.report-card .dl { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background: rgba(30,125,50,0.1); padding: 0.625rem 1.25rem; font-size: 0.875rem; font-weight: 700; color: var(--cdar-forest); box-shadow: inset 0 0 0 1px rgba(30,125,50,0.25); transition: all 0.3s; }
.report-card .dl:hover { background: var(--cdar-forest); color: #fff; box-shadow: var(--shadow-glow-sm); }
.reports__empty { margin-top: 3.5rem; text-align: center; color: rgba(6,40,18,0.55); }

/* ============================================================= */
/*  Partners                                                     */
/* ============================================================= */
.partners__rows { margin-top: 4rem; display: flex; flex-direction: column; gap: 1.5rem; }
.partners__track { display: flex; width: max-content; gap: 1.5rem; padding-right: 1.5rem; }
.partners__track.a { animation: marquee 36s linear infinite; }
.partners__track.b { animation: marquee-rev 30s linear infinite; }
.partners__rows:hover .partners__track { animation-play-state: paused; }
.partner-chip { display: flex; flex-shrink: 0; align-items: center; gap: 1rem; border-radius: 1rem; padding: 1.25rem 1.75rem; box-shadow: var(--shadow-card); transition: all 0.3s; }
.partner-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.partner-chip .pic { display: inline-flex; height: 3rem; width: 3rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 0.75rem; background: linear-gradient(135deg, rgba(139,195,74,0.2), rgba(30,125,50,0.2)); box-shadow: inset 0 0 0 1px rgba(30,125,50,0.2); color: var(--cdar-forest); transition: transform 0.3s; }
.partner-chip:hover .pic { transform: scale(1.1); }
.partner-chip .name { white-space: nowrap; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--cdar-ink); }
.partner-chip .type { white-space: nowrap; font-size: 0.75rem; color: rgba(6,40,18,0.55); }

/* ============================================================= */
/*  Contact                                                      */
/* ============================================================= */
.contact__grid { margin-top: 4rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.05fr 0.95fr; } }
.contact-form { border-radius: 2rem; padding: 1.75rem; box-shadow: var(--shadow-card-lg); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(11,93,30,0.15);
  background: rgba(255,255,255,0.7);
  padding: 1.5rem 1.25rem 0.75rem;
  font-size: 0.875rem;
  color: var(--cdar-ink);
  outline: none;
  transition: all 0.3s;
}
.field textarea { resize: none; min-height: 8rem; }
.field input:focus, .field textarea:focus { border-color: var(--cdar-forest); background: #fff; box-shadow: var(--shadow-glow-sm); }
.field label { position: absolute; left: 1.25rem; top: 0.5rem; pointer-events: none; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cdar-forest); transition: all 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field input:placeholder-shown + label, .field textarea:placeholder-shown + label { top: 1.1rem; font-size: 0.875rem; font-weight: 400; text-transform: none; letter-spacing: normal; color: rgba(6,40,18,0.45); }
.field input:focus + label, .field textarea:focus + label { top: 0.5rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cdar-forest); }
.btn-send { display: inline-flex; align-items: center; gap: 0.625rem; align-self: flex-start; border-radius: 9999px; background: linear-gradient(90deg, var(--cdar-forest), var(--cdar-dark)); padding: 1rem 2rem; font-size: 1rem; font-weight: 700; color: #fff; box-shadow: var(--shadow-glow-sm); transition: all 0.3s; }
.btn-send:hover { box-shadow: var(--shadow-glow); }
.btn-send:disabled { opacity: 0.8; cursor: default; }
.btn-send.success { background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest)); }
.form-note { font-size: 0.875rem; font-weight: 500; }
.form-note.err { color: #ef4444; }
.contact__aside { display: flex; flex-direction: column; gap: 1.25rem; }
.info-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .info-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .info-cards { grid-template-columns: 1fr; } }
@media (min-width: 1280px) { .info-cards { grid-template-columns: 1fr 1fr; } }
.info-card { border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-card); transition: all 0.3s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-lg); }
.info-card .label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(30,125,50,0.7); }
.info-card .val { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; line-height: 1.5; color: var(--cdar-ink); }
.info-card a.val:hover { color: var(--cdar-forest); }
.info-card.wide { grid-column: 1 / -1; }
@media (min-width: 1024px) and (max-width: 1279px) { .info-card.wide { grid-column: auto; } }
.donate-card { position: relative; overflow: hidden; border-radius: 1.5rem; background: linear-gradient(135deg, var(--cdar-dark), var(--cdar-deep)); padding: 1.75rem; color: #fff; box-shadow: var(--shadow-card-lg); }
.donate-card .orb-glow { position: absolute; right: -2.5rem; top: -2.5rem; height: 10rem; width: 10rem; border-radius: 9999px; background: radial-gradient(circle, rgba(139,195,74,0.35) 0%, transparent 65%); filter: blur(16px); animation: float 11s ease-in-out infinite; }
.donate-card h3 { position: relative; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.donate-card p { position: relative; margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.75); }
.donate-card .icon-ring { position: relative; margin-bottom: 0.75rem; display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 0.75rem; background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); }
.donate-card .icon-ring svg { fill: var(--cdar-light); color: var(--cdar-light); }
.donate-card .dbtn { position: relative; margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background: var(--cdar-light); padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 700; color: var(--cdar-deep); box-shadow: var(--shadow-glow-sm); transition: all 0.3s; }
.donate-card .dbtn:hover { box-shadow: var(--shadow-glow); }
.donate-card .dbtn svg { fill: var(--cdar-deep); }
/* UPI donation block */
.donate-upi { position: relative; z-index: 1; margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.donate-upi__qr { width: 116px; height: 116px; border-radius: 0.85rem; background: #fff; padding: 7px; flex-shrink: 0; box-shadow: var(--shadow-card); }
.donate-upi__info { min-width: 0; }
.donate-upi__btn { margin-top: 0 !important; }
.donate-upi__id { margin-top: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.8); word-break: break-all; }
.donate-upi__id strong { color: #fff; }
.donate-upi__hint { margin-top: 0.3rem; font-size: 0.72rem; line-height: 1.4; color: rgba(255,255,255,0.55); }
.donate-upi__alt { position: relative; z-index: 1; margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--cdar-light); transition: color 0.2s; }
.donate-upi__alt:hover { color: #fff; }
.donate-upi__alt svg { stroke: currentColor; }
.contact__map { overflow: hidden; border-radius: 1.5rem; box-shadow: var(--shadow-card); }
.contact__map iframe { height: 16rem; width: 100%; border: 0; filter: grayscale(25%); transition: filter 0.5s; }
.contact__map iframe:hover { filter: grayscale(0); }

/* ============================================================= */
/*  Footer                                                       */
/* ============================================================= */
.site-footer { position: relative; overflow: hidden; background: var(--cdar-deep); color: #fff; }
.site-footer__bg { position: absolute; inset: 0; background: radial-gradient(70% 55% at 15% 15%, rgba(30,125,50,0.4) 0%, transparent 60%), radial-gradient(55% 45% at 90% 80%, rgba(139,195,74,0.14) 0%, transparent 60%); }
.site-footer__inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 5rem 1.25rem 2.5rem; }
@media (min-width: 640px) { .site-footer__inner { padding-left: 2rem; padding-right: 2rem; } }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr; } }
.footer-logo img { height: 56px; width: auto; filter: drop-shadow(0 2px 16px rgba(139,195,74,0.4)); }
.footer-blurb { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.65); }
.socials { margin-top: 1.5rem; display: flex; gap: 0.625rem; }
.socials a { display: inline-flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); transition: all 0.3s; }
.socials a:hover { transform: translateY(-4px); background: var(--cdar-light); color: var(--cdar-deep); box-shadow: var(--shadow-glow-sm); }
.footer-col h3 { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cdar-light); }
.footer-col ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-col ul a:hover { color: #fff; }
.newsletter p { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.65); }
.newsletter form { margin-top: 1.25rem; display: flex; gap: 0.5rem; }
.newsletter input { width: 100%; min-width: 0; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.1); padding: 0.75rem 1.25rem; font-size: 0.875rem; color: #fff; outline: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: all 0.3s; }
.newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter input:focus { border-color: rgba(139,195,74,0.6); background: rgba(255,255,255,0.15); }
.newsletter button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; background: linear-gradient(90deg, var(--cdar-light), var(--cdar-forest)); padding: 0 1.25rem; color: var(--cdar-deep); box-shadow: var(--shadow-glow-sm); transition: all 0.3s; }
.newsletter button:hover { box-shadow: var(--shadow-glow); }
.newsletter .ok { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; background: rgba(139,195,74,0.15); padding: 0.625rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--cdar-light); box-shadow: inset 0 0 0 1px rgba(139,195,74,0.3); }
.footer-bottom { margin-top: 4rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.75rem; line-height: 1.6; color: rgba(255,255,255,0.5); text-align: center; }
@media (min-width: 640px) { .footer-bottom p { text-align: left; } }
.footer-bottom .made { color: rgba(255,255,255,0.4); }
.footer-bottom .made span { color: var(--cdar-light); }

/* ============================================================= */
/*  Team section                                                 */
/* ============================================================= */
.team-tabs { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.team-tab { border-radius: 9999px; border: 1px solid rgba(11,93,30,0.15); background: rgba(255,255,255,0.7); padding: 0.55rem 1.5rem; font-size: 0.9rem; font-weight: 600; color: rgba(6,40,18,0.7); transition: all 0.3s; }
.team-tab:hover { border-color: rgba(30,125,50,0.4); color: var(--cdar-forest); }
.team-tab.active { border-color: var(--cdar-forest); background: linear-gradient(90deg, var(--cdar-forest), var(--cdar-dark)); color: #fff; box-shadow: var(--shadow-glow-sm); }
.team__grid { margin-top: 2.25rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { border-radius: 1.5rem; padding: 1.75rem; text-align: center; box-shadow: var(--shadow-card); transition: transform 0.3s, box-shadow 0.3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-lg); }
.team-card__avatar { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--cdar-light), var(--cdar-dark)); box-shadow: var(--shadow-glow-sm); }
.team-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--cdar-ink); }
.team-card__role { margin-top: 0.2rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cdar-forest); }
.team-more { margin-top: 1.1rem; }
.team-more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; list-style: none; font-size: 0.82rem; font-weight: 700; color: var(--cdar-forest); background: rgba(30,125,50,0.1); padding: 0.5rem 1.1rem; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(30,125,50,0.2); transition: all 0.25s; }
.team-more summary::-webkit-details-marker { display: none; }
.team-more summary::after { content: "\25BE"; transition: transform 0.25s; }
.team-more[open] summary::after { transform: rotate(180deg); }
.team-more summary:hover { background: var(--cdar-forest); color: #fff; }
.team-more[open] summary { margin-bottom: 0.9rem; }
.team-details { text-align: left; display: flex; flex-direction: column; gap: 0.7rem; border-top: 1px solid rgba(11,93,30,0.1); padding-top: 0.9rem; }
.team-details li { font-size: 0.85rem; line-height: 1.5; color: var(--cdar-ink); }
.team-details li span { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(6,40,18,0.5); margin-bottom: 0.1rem; }
.team-readmore { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; color: var(--cdar-forest); background: rgba(30,125,50,0.1); padding: 0.5rem 1.1rem; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(30,125,50,0.2); transition: all 0.25s; }
.team-readmore:hover { background: var(--cdar-forest); color: #fff; }
.team-readmore svg { transition: transform 0.25s; }
.team-readmore:hover svg { transform: translate(2px, -2px); }
/* Member detail page */
.member-detail__avatar { font-size: 1.5rem; }
.member-detail__photo img { width: 5rem; height: 5rem; border-radius: 9999px; object-fit: cover; box-shadow: var(--shadow-glow); }
.member-info { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.member-info li { font-size: 1rem; line-height: 1.55; color: var(--cdar-ink); border-bottom: 1px solid rgba(11,93,30,0.08); padding-bottom: 1rem; }
.member-info li span { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(6,40,18,0.5); margin-bottom: 0.2rem; }

/* ============================================================= */
/*  Program detail page (single-cdar_program)                    */
/* ============================================================= */
.prog-detail__hero { position: relative; overflow: hidden; background: var(--cdar-deep); color: #fff; }
.prog-detail__hero-bg { position: absolute; inset: 0; background:
  radial-gradient(80% 70% at 20% 0%, #0B5D1E 0%, #06401a 45%, #03220C 85%),
  radial-gradient(50% 60% at 90% 100%, rgba(139,195,74,0.18) 0%, transparent 70%); }
.prog-detail__inner { position: relative; z-index: 1; max-width: 60rem; margin: 0 auto; padding: 8rem 1.25rem 3.5rem; }
@media (min-width: 640px) { .prog-detail__inner { padding: 9rem 2rem 4rem; } }
.prog-detail__back { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); transition: color 0.2s; margin-bottom: 1.75rem; }
.prog-detail__back:hover { color: var(--cdar-light); }
.prog-detail__icon { display: inline-flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 1.25rem; background: linear-gradient(135deg, var(--cdar-light), var(--cdar-dark)); color: #fff; box-shadow: var(--shadow-glow); }
.prog-detail__eyebrow { display: block; margin-top: 1.25rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cdar-light); }
.prog-detail__title { margin-top: 0.5rem; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; }
.prog-detail__content { padding-top: 3rem !important; padding-bottom: 4rem !important; }
.prog-detail__thumb { margin-bottom: 2rem; border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-card); }
.prog-detail__thumb img { width: 100%; height: auto; display: block; }
.prose { font-size: 1.05rem; line-height: 1.75; color: rgba(6,40,18,0.8); }
.prose p { margin-bottom: 1.1rem; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--cdar-ink); margin: 1.8rem 0 0.8rem; line-height: 1.25; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem 1.25rem; } .prose li { margin-bottom: 0.4rem; }
.prose img { max-width: 100%; height: auto; border-radius: 1rem; margin: 1rem 0; }
.prose a { color: var(--cdar-forest); font-weight: 600; text-decoration: underline; }
.prose-note { font-size: 0.9rem; font-style: italic; color: rgba(6,40,18,0.5); }
.prog-detail__cta { margin-top: 2.5rem; }

/* ============================================================= */
/*  Reduced motion                                               */
/* ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
