/*
Theme Name:  GurgaonFirst Child
Theme URI:   https://gurgaonfirst.org
Description: GurgaonFirst child theme — matches approved homepage design exactly. Outfit + DM Mono + Playfair Display. Dark forest nav. Scrolling ticker. Carousel. All component CSS.
Template:    astra
Version:     1.0.0-beta
Text Domain: gurgaonfirst-child
*/

/* ═══════════════════════════════════════
   GOOGLE FONTS — loaded via functions.php
   Outfit · DM Mono · Playfair Display
   ═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   DESIGN TOKENS — from approved design
   ═══════════════════════════════════════ */
:root {
  --forest:    #0D3321;
  --deep:      #061C12;
  --mid:       #1E6B48;
  --leaf:      #3A9E6A;
  --sage:      #8BBF9F;
  --pale:      #C8E6D4;
  --amber:     #D98E0E;
  --amber-lt:  #FEF3DC;
  --amber-dk:  #c47d0a;
  --cream:     #FAFAF8;
  --white:     #FFFFFF;
  --surface:   #F2F7F4;
  --border:    #E0EDE6;
  --ink:       #0F2118;
  --text:      #1A3028;
  --muted:     #5A7A69;
  --red:       #C13030;

  --ff-head:   'Playfair Display', Georgia, serif;
  --ff-body:   'Outfit', sans-serif;
  --ff-mono:   'DM Mono', monospace;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(13,51,33,.08);
  --shadow-md: 0 8px 32px rgba(13,51,33,.12);
  --shadow-lg: 0 20px 60px rgba(13,51,33,.18);
}

/* ═══════════════════════════════════════
   BASE RESET
   ═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-head); color: var(--ink); line-height: 1.15; }
a { color: var(--leaf); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mid); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Astra body bg override */
.ast-separate-container,
.ast-page-builder-template,
body.ast-page-builder-template { background: var(--cream) !important; }

/* Remove Astra page title on canvas pages */
.ast-page-builder-template .entry-header,
.ast-page-builder-template .ast-container > .entry-title { display: none !important; }

/* ═══════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════ */
.tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 30px; border: 1.5px solid currentColor;
  font-family: var(--ff-body);
}

.section-label {
  font-family: var(--ff-mono);
  font-size: .75rem; letter-spacing: .15em; color: var(--leaf);
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--leaf); display: inline-block; }

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

@keyframes fade-up   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fade-left { from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:translateX(0); } }
@keyframes bounce    { 0%,100%{transform:translateY(0);} 50%{transform:translateY(6px);} }
@keyframes pulse     { 0%,100%{opacity:1;} 50%{opacity:.3;} }
@keyframes gf-pulse  { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.8);} }
@keyframes ticker-scroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@keyframes carousel-progress { from{width:0;} to{width:100%;} }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn, .gf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  font-family: var(--ff-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all .25s ease;
  border: 2px solid transparent;
}
.btn-primary, .gf-btn-primary   { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-primary:hover, .gf-btn-primary:hover { background: var(--amber-dk); border-color: var(--amber-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); }
.btn-ghost, .gf-btn-ghost       { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover, .gf-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-outline, .gf-btn-outline   { background: transparent; color: var(--mid); border-color: var(--mid); }
.btn-outline:hover, .gf-btn-outline:hover { background: var(--mid); color: var(--white); }
.btn-sm { padding: 6px 16px; font-size: .8rem; }

/* Elementor button override */
.elementor-widget-button .elementor-button {
  font-family: var(--ff-body) !important;
  font-weight: 600 !important;
  border-radius: var(--r-sm) !important;
}

/* ═══════════════════════════════════════
   ANNOUNCEMENT TICKER
   (scrolling — admin-controlled via ACF)
   ═══════════════════════════════════════ */
#gf-ticker, .gf-ticker {
  background: var(--forest);
  color: var(--pale);
  font-size: .78rem;
  font-family: var(--ff-body);
  letter-spacing: .02em;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}
.gf-ticker-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}
.gf-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
}
.gf-ticker-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.gf-ticker a { color: var(--pale); text-decoration: underline; text-underline-offset: 2px; }
.gf-ticker a:hover { color: var(--amber); }

/* ═══════════════════════════════════════
   NAVIGATION — dark forest, sticky
   ═══════════════════════════════════════ */
#nav, .gf-nav,
#masthead, .site-header {
  background: rgba(13,51,33,.97) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: box-shadow .3s !important;
}
#nav.scrolled, .gf-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.3) !important; }

.gf-nav-inner, .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 24px; max-width: 1200px; margin: 0 auto;
}

/* Logo */
.gf-logo, .logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.gf-logo-mark, .logo-mark {
  width: 38px; height: 38px;
  background: var(--mid);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; color: var(--white);
}
.gf-logo-text, .logo-text {
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.gf-logo-text span, .logo-text span {
  display: block;
  font-family: var(--ff-body); font-size: .65rem; font-weight: 400;
  color: var(--sage); letter-spacing: .08em; margin-top: 1px;
}

/* Astra nav link overrides */
.main-header-menu .menu-item > a,
.main-header-bar .menu-item > a {
  color: rgba(255,255,255,.75) !important;
  font-family: var(--ff-body) !important;
  font-size: .88rem !important; font-weight: 500 !important;
  border-radius: var(--r-sm) !important;
  transition: all .2s !important;
  padding: 8px 14px !important;
}
.main-header-menu .menu-item > a:hover,
.main-header-menu .menu-item.current-menu-item > a {
  color: var(--white) !important;
  background: rgba(255,255,255,.08) !important;
}
/* Donate CTA button in nav */
.main-header-menu .menu-item.nav-donate > a,
.main-header-menu .menu-item.gf-nav-cta > a {
  background: var(--amber) !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
  padding: 8px 18px !important;
}
.main-header-menu .menu-item.nav-donate > a:hover,
.main-header-menu .menu-item.gf-nav-cta > a:hover {
  background: var(--amber-dk) !important;
}
/* Dropdowns */
.main-header-menu .sub-menu {
  background: var(--deep) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-top: 2px solid var(--amber) !important;
  border-radius: 0 0 var(--r-md) var(--r-md) !important;
  box-shadow: var(--shadow-lg) !important;
}
.main-header-menu .sub-menu .menu-item > a {
  color: rgba(255,255,255,.7) !important;
  font-size: .85rem !important;
  padding: 10px 20px !important;
  border-radius: 0 !important;
}
.main-header-menu .sub-menu .menu-item > a:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,.06) !important;
}

/* ═══════════════════════════════════════
   HERO — dark forest, grid layout
   ═══════════════════════════════════════ */
.gf-hero, #hero {
  background: var(--forest);
  min-height: 92vh;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.gf-hero-bg, .hero-bg {
  position: absolute; inset: 0; opacity: .12;
  background-image:
    radial-gradient(ellipse at 20% 50%, #3A9E6A 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, #D98E0E 0%, transparent 50%);
  pointer-events: none;
}
.gf-hero-grid, .hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.gf-hero-body, .hero-body {
  flex: 1;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center;
  padding: 80px 24px 60px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.gf-hero-eyebrow, .hero-eyebrow {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .2em;
  color: var(--sage); text-transform: uppercase; margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fade-up .8s .2s forwards;
}
.gf-hero-eyebrow::before, .hero-eyebrow::before {
  content: ''; width: 30px; height: 1px; background: var(--sage);
}
.gf-hero-title, .hero-title {
  font-family: var(--ff-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; color: var(--white); line-height: 1.08;
  margin-bottom: 24px;
  opacity: 0; animation: fade-up .8s .35s forwards;
}
.gf-hero-title em, .hero-title em { color: var(--amber); font-style: italic; }
.gf-hero-desc, .hero-desc {
  font-size: 1.05rem; color: rgba(200,230,212,.8); line-height: 1.7;
  max-width: 540px; margin-bottom: 40px;
  opacity: 0; animation: fade-up .8s .5s forwards;
}
.gf-hero-actions, .hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fade-up .8s .65s forwards;
}

/* Hero stat cards (right column) */
.gf-hero-cards, .hero-cards {
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; animation: fade-left 1s .5s forwards;
}
.gf-hcard, .hcard {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md); padding: 20px 24px;
  backdrop-filter: blur(8px);
  position: relative; overflow: hidden;
}
.gf-hcard::before, .hcard::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--leaf);
}
.gf-hcard-label, .hcard-label {
  font-size: .7rem; font-family: var(--ff-mono); color: var(--sage);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px;
}
.gf-hcard-value, .hcard-value {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.gf-hcard-value.amber, .hcard-value.amber { color: var(--amber); }
.gf-hcard-value.red,   .hcard-value.red   { color: #F87171; }
.gf-hcard-sub, .hcard-sub {
  font-size: .78rem; color: var(--sage); margin-top: 4px;
}
.gf-hcard-live, .hcard-live {
  display: flex; align-items: center; gap: 6px;
  font-size: .68rem; font-family: var(--ff-mono); color: var(--sage); margin-top: 12px;
}
.live-dot {
  width: 7px; height: 7px; background: #4ade80;
  border-radius: 50%; animation: pulse 1.5s infinite;
}
.gf-hero-scroll, .hero-scroll-hint {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  color: var(--sage); font-size: .78rem; font-family: var(--ff-mono);
  letter-spacing: .1em; padding: 24px; text-transform: uppercase;
}
.scroll-arrow { animation: bounce 2s ease-in-out infinite; }

/* ═══════════════════════════════════════
   HERO CAROUSEL
   (below hero section, above stats bar)
   Slides driven by JS in gf-carousel.js
   ═══════════════════════════════════════ */
.gf-carousel {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  /* Height auto-sized to content; override per implementation */
}
.gf-carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.gf-carousel-slide {
  min-width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  min-height: 480px;
}
/* Slide photo backgrounds — replace bg-image inline with real photos in WP */
.gf-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,28,18,.88) 0%, rgba(6,28,18,.4) 60%, transparent 100%);
}
.gf-carousel-content {
  position: relative; z-index: 2;
  padding: 0 0 52px; width: 100%;
}
.gf-carousel-content .container { max-width: 900px; }

.gf-slide-category {
  display: inline-block;
  background: var(--amber); color: var(--ink);
  font-family: var(--ff-mono);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px; margin-bottom: 16px;
}
.gf-slide-title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1.15;
  margin-bottom: 14px; max-width: 700px;
}
.gf-slide-desc {
  font-size: .95rem; color: rgba(200,230,212,.85);
  max-width: 560px; line-height: 1.7; margin-bottom: 28px;
  font-family: var(--ff-body);
}
.gf-slide-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* Carousel dots + arrows */
.gf-carousel-controls {
  position: absolute; bottom: 20px; right: 32px;
  z-index: 10; display: flex; align-items: center; gap: 8px;
}
.gf-carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer; transition: all .2s; border: none; padding: 0;
}
.gf-carousel-dot.active {
  background: var(--amber); width: 22px; border-radius: 3px;
}
.gf-carousel-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background .18s; margin-left: 8px;
}
.gf-carousel-arrow:hover { background: rgba(255,255,255,.25); }

/* Progress bar */
.gf-carousel-progress {
  position: absolute; bottom: 0; left: 0; height: 3px;
  background: var(--amber);
  animation: carousel-progress 5s linear infinite;
  transform-origin: left;
}

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.gf-stats-bar, #stats-bar {
  background: var(--deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 32px 0;
}
.gf-stats-grid, .stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
}
.gf-stat-item, .stat-item {
  text-align: center; padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.gf-stat-item:last-child, .stat-item:last-child { border-right: none; }
.gf-stat-number, .stat-number {
  font-family: var(--ff-head); font-size: 2.6rem; font-weight: 700;
  color: var(--white); line-height: 1; display: block;
}
.gf-stat-number span, .stat-number span { color: var(--amber); }
.gf-stat-label, .stat-label {
  font-size: .78rem; color: var(--sage); font-family: var(--ff-mono);
  letter-spacing: .08em; text-transform: uppercase; margin-top: 6px;
}

/* ═══════════════════════════════════════
   CIVIC PRIORITY CARDS
   ═══════════════════════════════════════ */
.gf-priorities, #priorities { padding: 80px 0; background: var(--cream); }
.gf-priorities-header, .priorities-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.gf-priorities-title, .priorities-title {
  font-family: var(--ff-head); font-size: 2.2rem; font-weight: 700; color: var(--ink);
}
.gf-priorities-grid, .priorities-scroll {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 20px;
}
.gf-pcard, .pcard {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  transition: all .3s ease; cursor: pointer; position: relative;
}
.gf-pcard:hover, .pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gf-pcard-top, .pcard-top { padding: 24px 20px 16px; }
.gf-pcard-icon, .pcard-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.gf-pcard-title, .pcard-title {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px;
}
.gf-pcard-stat, .pcard-stat {
  font-family: var(--ff-mono); font-size: .75rem; color: var(--muted);
}
.gf-pcard-desc, .pcard-desc {
  font-size: .85rem; color: var(--muted); line-height: 1.6; margin-top: 10px;
}
.gf-pcard-footer, .pcard-footer {
  padding: 12px 20px; border-top: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: space-between;
}
.gf-pcard-link, .pcard-link {
  font-size: .78rem; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; gap: 4px; transition: gap .2s;
}
.gf-pcard-link:hover, .pcard-link:hover { gap: 8px; }
.severity { width: 8px; height: 8px; border-radius: 50%; }

/* Priority colour variants */
.priority-air    { --p-color: #ef4444; --p-bg: #fef2f2; }
.priority-water  { --p-color: #3b82f6; --p-bg: #eff6ff; }
.priority-waste  { --p-color: #f59e0b; --p-bg: #fffbeb; }
.priority-mobility { --p-color: #8b5cf6; --p-bg: #f5f3ff; }
.priority-safety { --p-color: #ec4899; --p-bg: #fdf2f8; }

.pcard .pcard-icon, .gf-pcard .gf-pcard-icon { background: var(--p-bg); color: var(--p-color); }
.pcard .pcard-link, .gf-pcard .gf-pcard-link { color: var(--p-color); }
.pcard .severity, .gf-pcard .severity       { background: var(--p-color); }
.pcard:hover .pcard-top  { background: linear-gradient(135deg, var(--p-bg) 0%, transparent 100%); }
.gf-pcard:hover .gf-pcard-top { background: linear-gradient(135deg, var(--p-bg) 0%, transparent 100%); }

/* ═══════════════════════════════════════
   INSIGHTS / ARTICLE CARDS
   ═══════════════════════════════════════ */
.gf-insights, #insights { padding: 80px 0; background: var(--white); }
.gf-insights-grid, .insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px; margin-top: 40px;
}
.gf-icard, .icard {
  border-radius: var(--r-md); overflow: hidden;
  background: var(--cream); border: 1px solid var(--border);
  transition: all .3s; cursor: pointer;
}
.gf-icard:hover, .icard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-icard.featured, .icard.featured {
  grid-column: 1; grid-row: 1 / 3;
  background: var(--forest); color: var(--white);
}
.gf-icard-img, .icard-img {
  width: 100%; aspect-ratio: 16/9;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; position: relative; overflow: hidden;
}
.gf-icard.featured .gf-icard-img,
.icard.featured .icard-img { aspect-ratio: 4/5; }
.gf-icard-img-overlay, .icard-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13,51,33,.8) 100%);
}
.gf-icard-body, .icard-body { padding: 20px; }
.gf-icard.featured .gf-icard-body,
.icard.featured .icard-body { padding: 28px; }
.gf-icard-tag, .icard-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 10px;
  font-family: var(--ff-body);
}
.gf-icard-title, .icard-title {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); line-height: 1.3; margin-bottom: 8px;
}
.gf-icard.featured .gf-icard-title,
.icard.featured .icard-title { font-size: 1.4rem; color: var(--white); }
.gf-icard-excerpt, .icard-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.gf-icard.featured .gf-icard-excerpt,
.icard.featured .icard-excerpt { color: var(--pale); }
.gf-icard-meta, .icard-meta {
  font-size: .72rem; color: var(--muted); margin-top: 12px; font-family: var(--ff-mono);
}
.gf-icard.featured .gf-icard-meta,
.icard.featured .icard-meta { color: var(--sage); }

/* ═══════════════════════════════════════
   EVENT CARDS
   ═══════════════════════════════════════ */
.gf-events, #events { padding: 80px 0; background: var(--surface); }
.gf-events-grid, .events-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px;
}
.gf-ecard, .ecard {
  background: var(--white); border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--border); transition: all .3s;
}
.gf-ecard:hover, .ecard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-ecard-header, .ecard-header {
  padding: 20px; display: flex; gap: 16px; align-items: flex-start;
}
.gf-ecard-date, .ecard-date {
  min-width: 52px; background: var(--forest); border-radius: var(--r-sm);
  text-align: center; padding: 10px 8px; color: var(--white); flex-shrink: 0;
}
.gf-edate-day, .edate-day {
  font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; line-height: 1; display: block;
}
.gf-edate-mo, .edate-mo {
  font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .08em;
  color: var(--sage); text-transform: uppercase; display: block; margin-top: 2px;
}
.gf-ecard-info, .ecard-info { flex: 1; }
.gf-ecard-title, .ecard-title {
  font-family: var(--ff-head); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px; line-height: 1.3;
}
.gf-ecard-meta, .ecard-meta {
  font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px;
  font-family: var(--ff-body);
}
.gf-ecard-footer, .ecard-footer {
  padding: 14px 20px; background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.gf-ecard-seats, .ecard-seats {
  font-size: .75rem; font-family: var(--ff-mono); color: var(--muted);
}
.gf-ecard-price, .ecard-price { font-weight: 700; color: var(--mid); font-size: .9rem; }

/* ═══════════════════════════════════════
   VISION + MISSIONS (about section)
   ═══════════════════════════════════════ */
.gf-about, #about {
  padding: 100px 0;
  background: var(--forest); color: var(--white);
  position: relative; overflow: hidden;
}
.gf-about .gf-hero-bg { opacity: .15; }
.gf-about-grid, .about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 1;
}
.gf-about-title, .about-title {
  font-family: var(--ff-head); font-size: clamp(2rem,4vw,3rem);
  font-weight: 700; color: var(--white); margin-bottom: 20px; line-height: 1.1;
}
.gf-about-title em, .about-title em { color: var(--amber); font-style: italic; }
.gf-about-desc, .about-desc {
  color: rgba(200,230,212,.8); line-height: 1.8; font-size: 1rem; margin-bottom: 32px;
}
.gf-about-card, .about-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.gf-about-card:last-child, .about-card:last-child { margin-bottom: 0; }
.gf-about-card-icon, .about-card-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.gf-about-card-title, .about-card-title { font-weight: 600; color: var(--white); font-size: .95rem; }
.gf-about-card-sub, .about-card-sub { font-size: .82rem; color: var(--sage); margin-top: 2px; }

/* ═══════════════════════════════════════
   THREE STREAMS
   ═══════════════════════════════════════ */
.gf-streams, #streams { padding: 80px 0; background: var(--cream); }
.gf-streams-grid, .streams-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 40px;
}
.gf-scard, .scard {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--white); transition: all .3s;
}
.gf-scard:hover, .scard:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.gf-scard-head, .scard-head {
  padding: 28px; position: relative; overflow: hidden;
}
.gf-scard-head::after, .scard-head::after {
  content: ''; position: absolute; right: -20px; bottom: -20px;
  width: 80px; height: 80px; border-radius: 50%; opacity: .15;
}
.stream-gf   .scard-head,  .stream-gf   .gf-scard-head  { background: var(--forest); }
.stream-gff  .scard-head,  .stream-gff  .gf-scard-head  { background: #1a3a8f; }
.stream-music .scard-head, .stream-music .gf-scard-head { background: #7c1a82; }
.stream-gf   .scard-head::after  { background: var(--leaf); }
.stream-gff  .scard-head::after  { background: #4a6cf7; }
.stream-music .scard-head::after { background: #e879f9; }
.gf-scard-icon, .scard-icon { font-size: 2rem; margin-bottom: 12px; }
.gf-scard-name, .scard-name {
  font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.gf-scard-tagline, .scard-tagline { font-size: .82rem; color: rgba(255,255,255,.65); }
.gf-scard-body, .scard-body { padding: 24px; }
.gf-scard-desc, .scard-desc {
  font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}
.gf-scard-items, .scard-items {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
}
.gf-scard-items li, .scard-items li {
  font-size: .85rem; color: var(--text); display: flex; align-items: center; gap: 8px;
}
.gf-scard-items li::before, .scard-items li::before {
  content: '›'; font-weight: 700; color: var(--leaf); font-size: 1rem;
}

/* ═══════════════════════════════════════
   MUSIC FOR CAUSE CARDS
   ═══════════════════════════════════════ */
.gf-music-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; transition: all .3s;
}
.gf-music-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-music-thumb {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gf-music-thumb iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.gf-music-body { padding: 20px; }
.gf-music-cause {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--leaf); margin-bottom: 6px;
}
.gf-music-title {
  font-family: var(--ff-head); font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 8px; line-height: 1.3;
}
.gf-music-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ═══════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════ */
.gf-newsletter, #newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--deep) 0%, var(--forest) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.gf-nl-inner, .nl-inner {
  position: relative; z-index: 1; max-width: 600px; margin: 0 auto;
}
.gf-nl-label, .nl-label {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .15em;
  color: var(--sage); text-transform: uppercase; margin-bottom: 16px;
}
.gf-nl-title, .nl-title {
  font-family: var(--ff-head); font-size: clamp(1.8rem,3vw,2.5rem);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.gf-nl-desc, .nl-desc {
  color: rgba(200,230,212,.7); font-size: .95rem; margin-bottom: 36px; line-height: 1.6;
}
.gf-nl-form, .nl-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto 16px;
}
.gf-nl-input, .nl-input {
  flex: 1; padding: 14px 20px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: var(--white);
  font-family: var(--ff-body); font-size: .95rem; outline: none; transition: border .2s;
}
.gf-nl-input::placeholder, .nl-input::placeholder { color: rgba(255,255,255,.4); }
.gf-nl-input:focus, .nl-input:focus { border-color: var(--amber); }
.gf-nl-note, .nl-note { font-size: .75rem; color: var(--sage); }

/* ═══════════════════════════════════════
   RAZORPAY / DONATE STRIP
   ═══════════════════════════════════════ */
.gf-donate-strip {
  background: var(--amber); padding: 56px 0;
}
.gf-donate-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.gf-donate-heading {
  font-family: var(--ff-head); font-size: clamp(1.6rem,3vw,2.2rem);
  font-weight: 700; color: var(--ink); margin-bottom: 8px;
}
.gf-donate-sub { font-size: .95rem; color: rgba(15,33,24,.75); max-width: 480px; line-height: 1.7; }

/* Razorpay button styled to match brand */
.gf-rzp-wrapper a,
.gf-rzp-wrapper .PaymentButton {
  background: var(--ink) !important;
  color: var(--amber) !important;
  border: 2px solid var(--ink) !important;
  border-radius: var(--r-sm) !important;
  padding: 14px 28px !important;
  font-family: var(--ff-body) !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all .2s !important;
  text-decoration: none !important;
}
.gf-rzp-wrapper a:hover,
.gf-rzp-wrapper .PaymentButton:hover {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
  color: var(--white) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}
.gf-rzp-wrapper .PaymentButton-securedBy,
.gf-rzp-secure {
  font-size: .72rem !important;
  color: rgba(15,33,24,.6) !important;
  text-align: center !important;
  margin-top: 8px !important;
  display: block !important;
  font-family: var(--ff-mono) !important;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.gf-footer, #footer, .site-footer {
  background: var(--deep) !important;
  color: rgba(255,255,255,.7) !important;
  padding: 60px 0 0 !important;
}
.gf-footer-grid, .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.gf-footer-desc, .footer-desc {
  font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-top: 16px;
}
.gf-footer-social, .footer-social { display: flex; gap: 10px; margin-top: 24px; }
.gf-soc-btn, .soc-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; transition: all .2s;
}
.gf-soc-btn:hover, .soc-btn:hover {
  background: rgba(255,255,255,.1); color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.gf-footer-heading, .footer-heading {
  font-size: .72rem; font-family: var(--ff-mono); letter-spacing: .12em;
  color: var(--sage); text-transform: uppercase; margin-bottom: 20px;
}
.gf-footer-links, .footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.gf-footer-links a, .footer-links a {
  color: rgba(255,255,255,.55) !important; text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.gf-footer-links a:hover, .footer-links a:hover { color: var(--white) !important; }
.gf-footer-bottom, .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px;
}

/* ═══════════════════════════════════════
   HANDBOOKS GRID
   ═══════════════════════════════════════ */
.gf-handbooks-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px;
}
.gf-handbook-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; transition: all .3s;
}
.gf-handbook-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-handbook-cover {
  height: 160px; background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.gf-handbook-body {
  padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.gf-handbook-cat {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--leaf);
}
.gf-handbook-title {
  font-family: var(--ff-head); font-size: 1rem; font-weight: 700;
  color: var(--ink); line-height: 1.3;
}
.gf-handbook-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.gf-handbook-footer {
  padding: 12px 20px; border-top: 1px solid var(--border); background: var(--surface);
}

/* ═══════════════════════════════════════
   CHANGE MAKER CARDS
   ═══════════════════════════════════════ */
.gf-changemakers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px;
}
.gf-cm-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; transition: all .3s;
}
.gf-cm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gf-cm-photo {
  height: 180px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.gf-cm-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--ff-mono); font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--amber); color: var(--ink);
  padding: 3px 9px; border-radius: 3px;
}
.gf-cm-body { padding: 20px; }
.gf-cm-name {
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 3px;
}
.gf-cm-role {
  font-size: .82rem; color: var(--leaf); font-weight: 600; margin-bottom: 10px;
  font-family: var(--ff-body);
}
.gf-cm-quote {
  font-size: .85rem; color: var(--muted); line-height: 1.65;
  font-style: italic; border-left: 2px solid var(--amber);
  padding-left: 12px; margin-bottom: 14px;
}
.gf-cm-tag {
  font-family: var(--ff-mono); font-size: .72rem; font-weight: 600;
  color: var(--mid); background: var(--surface);
  padding: 3px 10px; border-radius: 3px;
}

/* ═══════════════════════════════════════
   ORGANISATIONS GRID
   ═══════════════════════════════════════ */
.gf-orgs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px;
}

/* ═══════════════════════════════════════
   ELEMENTOR OVERRIDES
   ═══════════════════════════════════════ */
.elementor-widget-heading .elementor-heading-title { font-family: var(--ff-head) !important; }
.elementor-widget-text-editor { font-family: var(--ff-body) !important; }
.elementor-widget-button .elementor-button {
  font-family: var(--ff-body) !important; font-weight: 600 !important;
  border-radius: var(--r-sm) !important;
}
/* Background helpers for Elementor sections */
.elementor-section.gf-bg-forest  { background: var(--forest) !important; }
.elementor-section.gf-bg-deep    { background: var(--deep) !important; }
.elementor-section.gf-bg-cream   { background: var(--cream) !important; }
.elementor-section.gf-bg-surface { background: var(--surface) !important; }
.elementor-section.gf-bg-amber   { background: var(--amber) !important; }

/* Hero text overlay helpers */
.gf-hero-dark .elementor-heading-title,
.gf-hero-dark p,
.gf-hero-dark .elementor-widget-text-editor { color: var(--white) !important; }
.gf-hero-light .elementor-heading-title,
.gf-hero-light p,
.gf-hero-light .elementor-widget-text-editor { color: var(--ink) !important; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .gf-hero-body, .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .gf-hero-cards, .hero-cards { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .gf-hcard, .hcard { flex: 1; min-width: 160px; }
  .gf-priorities-grid, .priorities-scroll { grid-template-columns: repeat(3,1fr); }
  .gf-insights-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .icard.featured, .gf-icard.featured { grid-column: 1 / 3; grid-row: auto; }
  .icard.featured .icard-img, .gf-icard.featured .gf-icard-img { aspect-ratio: 16/6; }
  .gf-footer-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .gf-about-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .gf-streams-grid, .streams-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .gf-stats-grid, .stats-grid { grid-template-columns: repeat(2,1fr); }
  .gf-stat-item:nth-child(2n), .stat-item:nth-child(2n) { border-right: none; }
  .gf-stat-item, .stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .gf-priorities-grid, .priorities-scroll { grid-template-columns: repeat(2,1fr); }
  .gf-events-grid, .events-grid { grid-template-columns: 1fr; }
  .gf-streams-grid, .streams-grid { grid-template-columns: 1fr; }
  .gf-insights-grid, .insights-grid { grid-template-columns: 1fr; }
  .icard.featured, .gf-icard.featured { grid-column: 1; }
  .gf-nl-form, .nl-form { flex-direction: column; }
  .gf-footer-grid, .footer-grid { grid-template-columns: 1fr; }
  .gf-about-grid, .about-grid { grid-template-columns: 1fr; }
  .gf-priorities-header, .priorities-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gf-footer-bottom, .footer-bottom { flex-direction: column; text-align: center; }
  .gf-carousel-slide { min-height: 360px; }
  .gf-slide-title { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
