/* ============================================================
   SAHARA FOUNDATION – style.css
   Premium light palette drawn from Tamil temple architecture:
   parchment ivory, gopuram terracotta, temple-tank teal, antique
   bronze-gold. Fraunces + Inter, with Catamaran for Tamil script.
   ============================================================ */

/* ---------- GOOGLE FONTS (loaded in HTML) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800;9..144,900&family=Inter:wght@300;400;500;600;700;800&family=Catamaran:wght@500;600;700;800&display=swap');

:root {
  --red:         #e0202f;
  --red-dark:    #a8101f;
  --red-light:   #1a0407;
  --green:       #1f9a3a;
  --green-dark:  #137028;
  --green-light: #061409;
  --gold:        #e0b020;
  --gold-light:  #f5e6a0;
  --gold-bright: #ffd700;
  --black:       #0a0a0a;
  --black-rich:  #050505;
  --black-soft:  #111111;
  --black-card:  #141414;
  --black-hover: #1c1c1c;
  --white:       #ffffff;
  --text:        #f0ece0;
  --text-muted:  #a09070;
  --text-dim:    #6a5a40;
  --border:      rgba(224,176,32,0.18);
  --border-bright: rgba(224,176,32,0.4);

  --shadow-gold: 0 4px 20px rgba(224,176,32,0.2);
  --shadow-red:  0 4px 20px rgba(224,32,47,0.25);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.7);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.5);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.4);

  --radius:      10px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  --font-display: 'Cinzel', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-tamil:   'Catamaran', 'Inter', sans-serif;

  --nav-h:       80px;
  --transition:  .28s cubic-bezier(.4,0,.2,1);
}

[lang="ta"] { font-family: var(--font-tamil); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184,135,46,0.1);
  border: 1px solid rgba(184,135,46,0.3);
  padding: .3em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: .9rem;
}
.label-white { color: var(--gold-light); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--ink);
}
.section-header p { color: var(--text-muted); margin-top: .8rem; }

.text-gold    { color: var(--gold); }
.text-red     { color: var(--red); }
.text-green   { color: var(--green); }
.text-accent  { color: var(--gold); }
.text-yellow  { color: var(--gold-bright); }

/* ---- GOLD DIVIDER ---- */
.gold-rule {
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
  border-radius: 2px;
  margin: .8rem auto 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .72em 1.8em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: var(--shadow-red);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover { background: linear-gradient(135deg, #f02d40, var(--red)); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(191,91,51,0.4); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c89a18);
  color: var(--black);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,135,46,0.4); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--border-bright);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,135,46,0.08); }
.hero-actions .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.hero-actions .btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: rgba(255,255,255,0.08); }

.btn-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-white:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }

.btn-lg   { padding: .9em 2.4em; font-size: 1.05rem; }
.btn-sm   { padding: .5em 1.2em; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== PAGE LOADER ===== */
body.is-loading { overflow: hidden; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.loader-logo {
  height: 80vh;          /* logo fills half the screen height */
  width: auto;
  max-width: 90vw;
  object-fit: contain;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.loader-bar {
  width: min(280px, 60vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(224,176,32,0.15);
  overflow: hidden;
}
.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e0202f, #e0b020, #1f9a3a);
  border-radius: 999px;
  animation: loaderFill 1.6s ease-in-out infinite;
}
@keyframes loaderFill {
  0%   { width: 0%;  margin-left: 0; }
  50%  { width: 70%; }
  100% { width: 0%;  margin-left: 100%; }
}
@media (max-width: 640px) {
  .loader-logo { height: 40vh; max-width: 80vw; }
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  overflow: hidden;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: var(--black-rich);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(18,36,31,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.8);
  border-bottom-color: rgba(184,135,46,0.2);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 70px;
  height: 100px;
  /* border-radius: 50%; */
  display: grid; place-items: center;
  color: var(--white);
  margin-top: -10px;
  font-size: 1.2rem;
}

.logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(184,135,46,0.4);
  box-shadow: 0 0 12px rgba(184,135,46,0.25);
  transition: box-shadow var(--transition);
}
.logo:hover .logo-img { box-shadow: 0 0 20px rgba(184,135,46,0.5); }
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.logo-sub {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: .1rem;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 500;
  padding: .5em 1em;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  letter-spacing: .02em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(184,135,46,0.1);
}

.nav-donate {
  margin-left: 1.2rem;
  font-size: .88rem;
  font-family: var(--font-display);
  letter-spacing: .04em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(18,36,31,0.98);
  border-bottom: 1px solid var(--border-bright);
  padding: 1.5rem 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: .4rem;
  transform: translateY(-110%);
  transition: transform var(--transition);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  color: var(--text);
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  border: 1px solid transparent;
}
.mobile-menu a:hover { color: var(--gold); border-color: var(--border); background: rgba(184,135,46,0.06); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 7s ease-out;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(15,22,18,.90) 0%, rgba(18,36,31,.72) 55%, rgba(18,36,31,.40) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(191,91,51,0.16), transparent 60%),
              radial-gradient(ellipse at 80% 40%, rgba(184,135,46,0.14), transparent 60%);
}

/* ---- HERO CAROUSEL CONTROLS ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(20,20,20,0.35);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  font-size: .9rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-arrow:hover {
  background: rgba(224,176,32,0.28);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

.hero-dots {
  position: absolute;
  bottom: 2.1rem;
  right: 2.2rem;
  z-index: 4;
  display: flex;
  gap: .55rem;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  transition: background var(--transition), width var(--transition), border-color var(--transition);
}
.hero-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .hero-arrow { width: 38px; height: 38px; font-size: .78rem; }
  .hero-arrow-prev { left: .7rem; }
  .hero-arrow-next { right: .7rem; }
  .hero-dots { right: 50%; transform: translateX(50%); bottom: 1.2rem; }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 6rem;
  max-width: 780px;
  animation: fadeUp .9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  background: rgba(184,135,46,0.1);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: .45em 1.2em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(184,135,46,0.35);
  margin-bottom: 1.5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-badge i { color: var(--gold-bright); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.3rem;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ===== HERO BRAND BOX – LOGO-STYLE NAMEPLATE ===== */
.hero-brand-box {
  display: inline-block;
  text-align: center;
  background: rgba(184,135,46,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184,135,46,0.35);
  border-radius: var(--radius-md, 14px);
  padding: 1rem 1.9rem;
  margin-bottom: 1.8rem;
  max-width: 100%;
}

.hero-brand-tamil,
.hero-brand-english {
  display: block;
  background: linear-gradient(180deg, #fbe9a8 0%, #e0b020 35%, #b8860b 55%, #f5e6a0 75%, #e0b020 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: yellow; /* fallback */
  text-shadow: 0 1px 0 rgb(255, 162, 0), 0 2px 5px rgba(0,0,0,.55);
}

.hero-brand-tamil {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.3vw, 1.5rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.hero-brand-english {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.52rem, 1.1vw, .9rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero-brand-box { padding: 0.8rem 1.2rem; }
  .hero-brand-tamil { font-size: 0.95rem; }
  .hero-brand-english { font-size: 0.72rem; letter-spacing: 0.1em; }
}

/* Tamil subtitle */
.hero-tamil {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8rem;
  opacity: 0.9;
  letter-spacing: .04em;
}

.hero-desc {
  color: rgba(255,255,255,.78);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  max-width: 600px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(184,135,46,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(184,135,46,0.25);
  border-radius: var(--radius-lg);
  padding: 1.3rem 2.2rem;
  width: fit-content;
}
.hero-stat { text-align: center; padding: 0 1.6rem; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-stat-divider {
  width: 1px;
  height: 46px;
  background: rgba(184,135,46,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero-scroll a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid rgba(184,135,46,0.5);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: .85rem;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ---- HERO KOLAM SIGNATURE ---- */
.hero-kolam-wrap {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: min(52vw, 720px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}
.hero-kolam { width: 100%; height: 100%; }
.kolam-ring-outer, .kolam-ring-inner {
  fill: none;
  stroke: rgba(212,163,64,0.22);
  stroke-width: 1;
}
.kolam-petal {
  fill: none;
  stroke: rgba(236,220,174,0.55);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: kolamDraw 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
.kolam-petal-outer { stroke: rgba(212,163,64,0.65); }
.kolam-petal-inner { stroke: rgba(236,220,174,0.42); stroke-width: 1.1; }
@keyframes kolamDraw {
  to { stroke-dashoffset: 0; }
}
.kolam-dot { fill: rgba(212,163,64,0.55); }
.kolam-center-dot { fill: rgba(212,163,64,0.8); }

@media (max-width: 900px) {
  .hero-kolam-wrap { width: min(80vw, 520px); opacity: 0.55; right: -20%; }
}
@media (max-width: 600px) {
  .hero-kolam-wrap { display: none; }
}

/* ---- ABOUT STRIP ---- */
.about-strip {
  padding: 5.5rem 0;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}
.about-strip-text p { color: var(--text-muted); margin-bottom: 1.8rem; }

.about-strip-images {
  position: relative;
  height: 400px;
}
.strip-img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.strip-img-1 {
  position: absolute;
  width: 70%; height: 320px;
  top: 0; left: 0;
  border: 1px solid rgba(184,135,46,0.2);
}
.strip-img-2 {
  position: absolute;
  width: 52%; height: 240px;
  bottom: 0; right: 0;
  border: 3px solid rgba(184,135,46,0.3);
}

/* ---- CAUSES ---- */
.causes { padding: 5.5rem 0; }

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cause-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.cause-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
  border-color: rgba(184,135,46,0.4);
}

.cause-img-wrap { position: relative; height: 200px; overflow: hidden; }
.cause-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; filter: brightness(0.85); }
.cause-card:hover .cause-img-wrap img { transform: scale(1.07); filter: brightness(0.95); }

.cause-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3em .9em;
  border-radius: var(--radius-pill);
  color: var(--ink);
}
.cause-badge-red    { background: var(--red); }
.cause-badge-green  { background: var(--green); }
.cause-badge-gold   { background: #9c7a10; color: var(--gold-light); }
.cause-badge-blue   { background: #1a3a7a; }
.cause-badge-orange { background: #8a3500; }
.cause-badge-teal   { background: #0a5050; }

.cause-body { padding: 1.5rem; }

.cause-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.cause-icon-red    { background: rgba(191,91,51,0.15);  color: #f04060; }
.cause-icon-green  { background: rgba(15,107,92,0.15);  color: #3fc060; }
.cause-icon-gold   { background: rgba(184,135,46,0.15); color: var(--gold); }
.cause-icon-blue   { background: rgba(26,58,122,0.3);   color: #6090e0; }
.cause-icon-orange { background: rgba(138,53,0,0.3);    color: #e08040; }
.cause-icon-teal   { background: rgba(10,80,80,0.3);    color: #30c0c0; }

.cause-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.cause-body p  { color: var(--text-muted); font-size: .88rem; margin-bottom: 1rem; }

.cause-progress { margin-bottom: 1.2rem; }
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: .4rem;
}
.progress-bar {
  height: 6px;
  background: rgba(36,26,16,0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: var(--radius-pill);
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.progress-green  { background: linear-gradient(90deg, var(--green), #30d050); }
.progress-gold   { background: linear-gradient(90deg, #9c7a10, var(--gold)); }

/* ---- IMPACT ---- */
.impact {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}
.impact-bg { position: absolute; inset: 0; }
.impact-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3); }
.impact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,.9), rgba(10,15,5,.85));
}
.impact-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.impact-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 3rem;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.impact-card {
  background: rgba(184,135,46,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184,135,46,0.18);
  border-radius: var(--radius-lg);
  padding: 1.8rem .8rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.impact-card:hover {
  background: rgba(184,135,46,0.12);
  transform: translateY(-5px);
  border-color: rgba(184,135,46,0.4);
  box-shadow: var(--shadow-gold);
}
.impact-card i { font-size: 1.7rem; color: var(--gold); margin-bottom: .7rem; display: block; }
.impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 900;
  color: var(--white);
}
.impact-label { display: block; font-size: .72rem; color: rgba(255,255,255,.55); margin-top: .3rem; letter-spacing: .04em; }

/* ---- GALLERY ---- */
.gallery { padding: 5.5rem 0; background: var(--black-soft); border-top: 1px solid var(--border); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
  transition: transform .6s ease, filter .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.9) saturate(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.85) 0%, transparent 55%);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition), border-color var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; border-color: rgba(184,135,46,0.3); }
.gallery-overlay span { color: var(--gold); font-weight: 600; font-size: .88rem; font-family: var(--font-display); letter-spacing: .06em; }

/* ---- TESTIMONIALS ---- */
.testimonials { padding: 5.5rem 0; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.testi-card {
  background: black;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-4px); border-color: rgba(184,135,46,0.3); }

.testi-featured {
  background: var(--black-rich);
  border-color: rgba(212,163,64,0.4);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.testi-featured:hover { transform: scale(1.03) translateY(-4px); }

.testi-quote { font-size: 2rem; color: var(--red); margin-bottom: .8rem; }
.testi-featured .testi-quote { color: var(--gold-bright); }

.testi-card > p { font-size: .93rem; line-height: 1.75; margin-bottom: 1.5rem; color: var(--text-muted); }
.testi-featured p { color: rgba(255,253,248,0.82); }

.testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184,135,46,0.3);
}
.testi-author strong { display: block; font-size: .9rem; color: var(--ink); }
.testi-author span   { font-size: .78rem; color: var(--gold); }
.testi-featured .testi-author strong { color: var(--white); }
.testi-featured .testi-author span   { color: var(--gold-bright); }

/* ---- DONATE SECTION ---- */
.donate-section {
  padding: 5.5rem 0;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.donate-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4.5rem;
  align-items: center;
}

.donate-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}
.donate-text p { color: var(--text-muted); margin-bottom: 1.5rem; }

.donate-list { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; }
.donate-list li {
  display: flex;
  align-items: center;
  gap: .7em;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
}
.donate-list li i { color: var(--green); font-size: 1rem; }

.tax-note {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .8rem;
  color: var(--text-dim);
  background: rgba(184,135,46,0.06);
  border: 1px solid rgba(184,135,46,0.15);
  padding: .65em 1em;
  border-radius: var(--radius);
  width: fit-content;
}
.tax-note i { color: var(--gold); }

.donate-form-card {
  background: var(--black-rich);
  border-radius: var(--radius-lg);
  padding: 2.3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-bright);
}
.donate-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-align: center;
  letter-spacing: .04em;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin-bottom: 1rem;
}
.amount-btn {
  padding: .65em;
  border: 1.5px solid rgba(184,135,46,0.25);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  background: rgba(184,135,46,0.05);
  color: var(--text-muted);
  transition: all var(--transition);
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--gold);
  background: rgba(184,135,46,0.15);
  color: var(--gold);
}

.custom-amt,
.cause-select,
.form-input {
  width: 100%;
  padding: .75em 1em;
  border: 1.5px solid rgba(184,135,46,0.2);
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: .85rem;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.custom-amt:focus,
.cause-select:focus,
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,135,46,0.1);
}
.custom-amt::placeholder,
.form-input::placeholder { color: var(--text-dim); }
.cause-select option { background: var(--black-card); color: var(--text); }
.form-textarea { resize: vertical; min-height: 110px; }

/* Donate card is a deliberate dark accent — restyle its light-theme-default inputs */
.donate-form-card .amount-btn { color: rgba(255,253,248,0.75); }
.donate-form-card .custom-amt,
.donate-form-card .cause-select,
.donate-form-card .form-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(212,163,64,0.28);
  color: var(--white);
}
.donate-form-card .custom-amt::placeholder,
.donate-form-card .form-input::placeholder { color: rgba(255,253,248,0.4); }
.donate-form-card .cause-select option { background: var(--black-rich); color: var(--white); }

.secure-note {
  text-align: center;
  font-size: .76rem;
  color: var(--text-dim);
  margin-top: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
}
.secure-note i { color: var(--green); }

.form-message {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-message.success {
  background: rgba(31,154,58,0.12);
  border: 1px solid rgba(31,154,58,0.4);
  color: #2ecc55;
}
.form-message.error {
  background: rgba(224,32,47,0.12);
  border: 1px solid rgba(224,32,47,0.4);
  color: #ff5c68;
}

/* ---- CONTACT ---- */
.contact { padding: 5.5rem 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: .9rem;
  color: var(--ink);
}
.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-cards { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover { border-color: rgba(184,135,46,0.35); box-shadow: var(--shadow-gold); }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(191,91,51,0.12);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--red);
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-card strong { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .2rem; color: var(--ink); }
.contact-card span   { font-size: .83rem; color: var(--text-muted); }

.social-links { display: flex; gap: .65rem; }
.social-links a {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(184,135,46,0.25);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-muted);
  font-size: .9rem;
  transition: all var(--transition);
}
.social-links a:hover { border-color: var(--gold); background: rgba(184,135,46,0.12); color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: .9rem; }

/* ---- FOOTER ---- */
.footer { background: var(--black-rich); border-top: 1px solid rgba(184,135,46,0.25); }

.footer-top { padding: 4.5rem 0 3rem; }

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

.footer-brand p {
  color: rgba(255,255,255,.42);
  font-size: .86rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
}
.reg-no { font-size: .73rem; color: rgba(184,135,46,0.4); margin-top: .5rem; }

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.4);
  font-size: .86rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col > p { color: rgba(255,255,255,.42); font-size: .84rem; margin-bottom: 1rem; }

.newsletter-form {
  display: flex;
  border: 1.5px solid rgba(184,135,46,0.25);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(184,135,46,0.05);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: .7em 1em;
  color: var(--ink);
  font-size: .86rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
  padding: .7em 1.1em;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--ink);
  transition: background var(--transition);
}
.newsletter-form button:hover { background: linear-gradient(135deg, var(--green-dark), var(--green)); }

.footer-bottom { border-top: 1px solid rgba(184,135,46,0.1); padding: 1.4rem 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

/* ---- ABOUT PAGE ---- */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.25); }
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(191,91,51,0.2), rgba(15,107,92,0.15));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .8rem;
  color: rgba(184,135,46,.6);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(184,135,46,.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: .65rem; }

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: .6rem;
}
.page-hero-content p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ---- MISSION/VISION ---- */
.mv-section { padding: 5rem 0; background: var(--black-soft); border-bottom: 1px solid var(--border); }
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mv-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.mv-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-5px); border-color: rgba(184,135,46,0.35); }

.mv-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.mv-mission .mv-icon { background: rgba(191,91,51,0.12); color: var(--red); }
.mv-vision  .mv-icon { background: rgba(15,107,92,0.12);  color: #3fc060; }
.mv-values  .mv-icon { background: rgba(184,135,46,0.12); color: var(--gold); }

.mv-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: .7rem; color: var(--ink); letter-spacing: .04em; }
.mv-card p  { color: var(--text-muted); font-size: .9rem; }

.values-list { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.values-list li { display: flex; align-items: center; gap: .6em; font-size: .88rem; color: var(--text-muted); }
.values-list li i { color: var(--green); font-size: .75rem; }

/* ---- STORY ---- */
.story-section { padding: 5.5rem 0; }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-images { position: relative; height: 420px; }
.story-img-main {
  position: absolute;
  width: 80%; height: 340px;
  top: 0; left: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(184,135,46,0.15);
}
.story-img-small {
  position: absolute;
  width: 52%; height: 220px;
  bottom: 0; right: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(184,135,46,0.3);
  box-shadow: var(--shadow-md);
}
.story-badge {
  position: absolute;
  bottom: 4rem; left: -1.5rem;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  border-radius: var(--radius);
  padding: .8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-red);
  z-index: 1;
  border: 1px solid rgba(184,135,46,0.2);
}
.story-badge-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.story-badge span:last-child { font-size: .72rem; opacity: .8; }

.story-text h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.2; margin-bottom: 1rem; color: var(--ink); }
.story-text p { color: var(--text-muted); margin-bottom: 1rem; }

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.story-stat span { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--gold); }
.story-stat small { font-size: .73rem; color: var(--text-dim); }

/* ---- TIMELINE ---- */
.timeline-section { padding: 5.5rem 0; background: var(--black-soft); border-top: 1px solid var(--border); }

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--gold), var(--green));
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 2.5rem;
}
.tl-left  { grid-template-areas: "content dot empty"; }
.tl-right { grid-template-areas: "empty dot content"; }

.tl-content {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.tl-content:hover { box-shadow: var(--shadow-gold); border-color: rgba(184,135,46,0.35); }
.tl-left  .tl-content { grid-area: content; margin-right: 2rem; text-align: right; }
.tl-right .tl-content { grid-area: content; margin-left: 2rem; }

.tl-dot {
  width: 16px; height: 16px;
  background: var(--gold);
  border: 3px solid var(--black);
  border-radius: 50%;
  margin-top: 1.3rem;
  box-shadow: 0 0 0 3px rgba(184,135,46,0.4);
  grid-area: dot;
  flex-shrink: 0;
}

.tl-year { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: .3rem; }
.tl-content h4 { font-size: .97rem; font-weight: 700; margin-bottom: .3rem; color: var(--ink); }
.tl-content p  { font-size: .85rem; color: var(--text-muted); }

/* ---- TEAM ---- */
.team-section { padding: 5.5rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--black-card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-6px); border-color: rgba(184,135,46,0.35); }

.team-img-wrap { position: relative; height: 240px; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(0.9); transition: transform .5s ease, filter .4s; }
.team-card:hover .team-img-wrap img { transform: scale(1.07); filter: brightness(0.9) saturate(1); }

.team-social {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(5,5,5,.9), transparent);
  display: flex;
  justify-content: center;
  gap: .6rem;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a {
  width: 34px; height: 34px;
  background: rgba(184,135,46,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-size: .85rem;
  border: 1px solid rgba(184,135,46,0.3);
  transition: background var(--transition);
}
.team-social a:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.team-info { padding: 1.4rem; }
.team-info h4 { font-size: .97rem; font-weight: 700; margin-bottom: .2rem; color: var(--ink); }
.team-info span { display: block; font-size: .78rem; color: var(--gold); font-weight: 600; margin-bottom: .55rem; font-family: var(--font-display); letter-spacing: .04em; }
.team-info p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ---- AWARDS ---- */
.awards-section { padding: 5rem 0; background: var(--black-soft); border-top: 1px solid var(--border); }
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.award-card {
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.award-card:hover { box-shadow: var(--shadow-gold); transform: translateY(-4px); border-color: rgba(184,135,46,0.35); }
.award-icon {
  width: 56px; height: 56px;
  background: rgba(184,135,46,0.1);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0 auto 1.1rem;
  border: 1px solid rgba(184,135,46,0.2);
}
.award-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; color: var(--ink); }
.award-card span { font-size: .78rem; color: var(--text-muted); }

/* ---- PARTNERS ---- */
.partners-section { padding: 4.5rem 0; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.partner-logo {
  padding: 1rem 2rem;
  border: 1.5px solid rgba(184,135,46,0.2);
  border-radius: var(--radius);
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--black-card);
  transition: all var(--transition);
  line-height: 1.4;
}
.partner-logo:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,135,46,0.07); }

/* ---- CTA BANNER ---- */
.cta-banner { position: relative; padding: 5rem 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.2); }
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(191,91,51,0.25), rgba(15,107,92,0.2));
}
.cta-content { position: relative; z-index: 2; text-align: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: .7rem;
}
.cta-content p { color: rgba(255,255,255,.7); margin-bottom: 2.2rem; font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 1;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed;
  bottom: 2rem; right: 1.8rem;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .95rem;
  box-shadow: var(--shadow-red);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  border: 1px solid rgba(184,135,46,0.2);
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); background: linear-gradient(135deg, var(--green-dark), var(--green)); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .impact-grid      { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid     { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .gi-tall, .gi-wide { grid-column: auto; grid-row: auto; }
  .causes-grid      { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .awards-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .donate-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .about-strip-images { height: 300px; max-width: 500px; }
  .mv-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .story-images { height: 300px; max-width: 460px; }
  .story-badge { left: .5rem; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-donate { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero-stats { flex-direction: column; gap: 1rem; padding: 1.2rem; align-items: flex-start; width: auto; max-width: 240px; }
  .hero-stat-divider { width: 100%; height: 1px; }
  .causes-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-featured { transform: none; }
  .testi-featured:hover { transform: translateY(-4px); }
  .timeline::before { left: 18px; transform: none; }
  .timeline-item { grid-template-columns: auto 1fr; }
  .tl-left  { grid-template-areas: "dot content"; }
  .tl-right { grid-template-areas: "dot content"; }
  .tl-left .tl-content  { margin-right: 0; margin-left: 1.2rem; text-align: left; grid-area: content; }
  .tl-right .tl-content { margin-left: 1.2rem; grid-area: content; }
  .tl-dot { grid-area: dot; margin-top: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .story-stats { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .awards-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .footer-bottom-inner { flex-direction: column; gap: .4rem; text-align: center; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .story-images { height: 240px; }
  .about-strip-images { height: 240px; }
  .donate-inner { gap: 2.5rem; }
  .donate-form-card { padding: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-stats { display: none; }
  .hero-scroll { display: none; }
  .logo-text-wrap { display: none; }
}

@media (max-width: 360px) {
  .amount-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
/* ============================================================
   TAMIL CULTURE & VILLAGE ROOTS – New Sections
   ============================================================ */

/* ---- TAMIL CULTURE SECTION ---- */
.tamil-culture {
  padding: 0 0 5.5rem;
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle kolam-inspired dot-grid background */
.tamil-culture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(184,135,46,0.065) 1.5px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
}

/* ---- KOLAM DIVIDER ---- */
.kolam-divider {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2.8rem 0 2.2rem;
  max-width: 700px;
  margin: 0 auto;
}
.kd-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,135,46,0.55), transparent);
}
.kd-motif {
  position: relative;
  width: 54px; height: 54px;
  border: 1.5px solid rgba(184,135,46,0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.3rem;
  background: rgba(184,135,46,0.07);
  flex-shrink: 0;
  animation: kolam-spin 18s linear infinite;
}
.kd-motif::before {
  content: '';
  position: absolute;
  width: 70px; height: 70px;
  border: 1px dashed rgba(184,135,46,0.22);
  border-radius: 50%;
  animation: kolam-spin 9s linear infinite reverse;
}
@keyframes kolam-spin {
  to { transform: rotate(360deg); }
}

/* ---- TAMIL SCRIPT QUOTE IN SECTION HEADER ---- */
.tc-quote-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  padding: 1.6rem 2.5rem;
  background: var(--black-rich);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}
.tc-tamil {
  font-family: var(--font-tamil);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.tc-translate {
  font-size: 1rem;
  color: rgba(255,253,248,0.82);
  font-style: italic;
}
.tc-attr {
  font-size: 0.75rem;
  color: rgba(236,220,174,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

/* ---- CULTURE CARD GRID ---- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

/* ---- CULTURE CARD ---- */
.culture-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.culture-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(184,135,46,0.25);
  border-color: rgba(184,135,46,0.38);
}

.culture-card-top {
  position: relative;
  text-align: center;
  overflow: hidden;
  max-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
/* Subtle radial shimmer inside card top */
.culture-card-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}

.cc-icon-ring {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0,0,0,0.28);
  border: 2px solid rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.95);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}
.culture-card:hover .cc-icon-ring { transform: scale(1.1) rotate(-5deg); }

.cc-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.3);
  padding: 0.25em 0.85em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}

.culture-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.culture-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.culture-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.cc-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  padding: 0.3em 0;
  border-top: 1px solid rgba(184,135,46,0.15);
  margin-top: 0.4rem;
}
.cc-tag i { font-size: 0.7rem; }

/* ---- THIRUKKURAL WISDOM BLOCK ---- */
.kural-block {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--black-rich);
  border: 1px solid rgba(184,135,46,0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.kural-block::before {
  content: '"';
  position: absolute;
  right: 2.5rem; top: -1rem;
  font-size: 12rem;
  font-family: var(--font-display);
  color: rgba(212,163,64,0.09);
  line-height: 1;
  pointer-events: none;
}

.kural-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-bright);
}
.kural-icon-wrap i {
  font-size: 3.2rem;
  opacity: 0.9;
}
.kural-book-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: center;
  border: 1px solid rgba(212,163,64,0.4);
  padding: 0.3em 0.7em;
  border-radius: var(--radius-pill);
  background: rgba(212,163,64,0.1);
}

.kural-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.kural-chapter {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236,220,174,0.55);
}
.kural-text-tamil {
  font-family: var(--font-tamil);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--gold-bright);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.kural-text-en {
  font-size: 1rem;
  color: rgba(255,253,248,0.88);
  font-style: italic;
  line-height: 1.65;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.kural-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: rgba(236,220,174,0.55);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}
.kural-sep { color: rgba(212,163,64,0.5); }

/* ====================================================
   VILLAGE ROOTS SECTION
   ==================================================== */
.village-roots {
  padding: 5.5rem 0;
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Warm saffron-to-green gradient accent at top */
.village-roots::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
}

.village-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.village-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}
.village-text > p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.75;
}
.village-text > p strong { color: var(--gold); }

/* ---- DISTRICT PILLS ---- */
.district-pills {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.district-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid;
  transition: transform var(--transition), box-shadow var(--transition);
}
.district-pill:hover { transform: translateX(4px); }
.dp-red   { background: rgba(191,91,51,0.08); border-color: rgba(191,91,51,0.3); }
.dp-green { background: rgba(15,107,92,0.08); border-color: rgba(15,107,92,0.3); }
.dp-red:hover   { box-shadow: 0 4px 20px rgba(191,91,51,0.15); }
.dp-green:hover { box-shadow: 0 4px 20px rgba(15,107,92,0.15); }

.dp-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.dp-red   .dp-icon { background: rgba(191,91,51,0.18); color: #f04060; }
.dp-green .dp-icon { background: rgba(15,107,92,0.18); color: #3fc060; }

.dp-name {
  display: block;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}
.dp-count {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---- VILLAGE MICRO STATS ---- */
.village-micro-stats {
  display: flex;
  align-items: center;
  background: rgba(184,135,46,0.05);
  border: 1px solid rgba(184,135,46,0.18);
  border-radius: var(--radius-lg);
  padding: 1.2rem 2rem;
  margin-bottom: 1.8rem;
  gap: 0;
}
.vms-item {
  flex: 1;
  text-align: center;
}
.vms-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.vms-plus {
  font-size: 1.1rem;
  vertical-align: super;
}
.vms-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.vms-divider {
  width: 1px;
  height: 40px;
  background: rgba(184,135,46,0.25);
  flex-shrink: 0;
}

/* ---- VILLAGE CULTURE NOTE ---- */
.village-culture-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: rgba(15,107,92,0.06);
  border: 1px solid rgba(15,107,92,0.2);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.village-culture-note i { color: var(--green); flex-shrink: 0; margin-top: 0.2rem; }

/* ---- VILLAGE ACTIONS ---- */
.village-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- VILLAGE PHOTO MOSAIC ---- */
.village-photo-mosaic {
  position: relative;
}
.vpm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 200px;
  gap: 0.85rem;
}
.vpm-tall { grid-row: span 2; }
.vpm-wide { grid-column: span 2; }

.vpm-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.vpm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.vpm-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.88) saturate(1.1);
}
.vpm-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.vpm-item:hover .vpm-overlay { opacity: 1; }
.vpm-overlay span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: block;
}
.vpm-overlay small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-top: 0.15rem;
}

/* ===== FOUNDER IMAGE CARDS (replaces testimonials) ===== */
.founder-card {
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-img {
  width: 100%;
  height: 340px;
  object-fit: fill;
  border-radius: 12px;
  display: block;
}
.testi-featured.founder-card .founder-img {
  height: 380px;
}

@media (max-width: 992px) {
  .founder-img { height: 300px; }
  .testi-featured.founder-card .founder-img { height: 300px; }
}
@media (max-width: 640px) {
  .founder-img { height: 260px; }
}

/* ---- RESPONSIVE – Tamil sections ---- */
@media (max-width: 1024px) {
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .kural-block { grid-template-columns: 110px 1fr; gap: 2rem; padding: 2.2rem; }
}

@media (max-width: 900px) {
  .village-inner { grid-template-columns: 1fr; gap: 3rem; }
  .village-photo-mosaic { max-width: 520px; margin: 0 auto; }
  .kural-block { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; padding: 2rem 1.5rem; }
  .kural-block::before { display: none; }
  .kural-text-en { border-left: none; padding-left: 0; border-top: 3px solid var(--green); padding-top: 0.8rem; }
  .kural-footer { justify-content: center; }
}

@media (max-width: 768px) {
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .vpm-grid { grid-template-rows: 180px 160px; }
  .district-pills { flex-direction: column; }
  .village-micro-stats { padding: 1rem; }
  .tc-quote-strip { padding: 1.1rem 1.2rem; }
  .tc-tamil { font-size: 1.2rem; }
}

@media (max-width: 600px) {
  .culture-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .kural-block { padding: 1.5rem 1.2rem; }
  .vpm-grid { grid-template-columns: 1fr; grid-template-rows: 200px 180px 160px; }
  .vpm-tall, .vpm-wide { grid-row: auto; grid-column: auto; }
  .village-actions { flex-direction: column; }
}