/* =============================================
   Classic Premium Pro — Advanced Dynamic Features
   Theme: Classic Premium Pro v3.0.0
   ============================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #C8963E;
  --primary-rgb: 200, 150, 62;
  --primary-foreground: #fff;
  --primary-dark: #A67B2E;
  --secondary: #1A6B4A;
  --secondary-rgb: 26, 107, 74;
  --secondary-foreground: #fff;
  --accent-burgundy: #8B2942;
  --background: #FDF8F0;
  --foreground: #1A1410;
  --muted: #F5EFE6;
  --muted-foreground: #7A6E62;
  --card: #FFFFFF;
  --border: #E5DDD2;
  --gold-accent: #D4A84B;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  --header-h: 72px;
  --transition-fast: .2s cubic-bezier(.25,.46,.45,.94);
  --transition-base: .3s cubic-bezier(.25,.46,.45,.94);
  --transition-slow: .5s cubic-bezier(.25,.46,.45,.94);
  --transition-spring: .6s cubic-bezier(.34, 1.56, .64, 1);
  --shadow-sm: 0 1px 3px rgba(26,20,16,.04), 0 4px 12px rgba(26,20,16,.03);
  --shadow-md: 0 4px 24px rgba(26,20,16,.06);
  --shadow-lg: 0 8px 40px rgba(26,20,16,.1);
  --shadow-xl: 0 24px 64px rgba(26,20,16,.15);
  --shadow-glow: 0 0 30px rgba(200,150,62,.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: opacity .3s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: rgba(200,150,62,.2); color: var(--foreground); }

/* ====================================
   READING PROGRESS BAR
   ==================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}
.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold-accent), var(--primary));
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}
@keyframes progressShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utilities ---- */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.font-serif { font-family: var(--font-serif); }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .08em; }
.tracking-wider { letter-spacing: .12em; }
.tracking-widest { letter-spacing: .2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ====================================
   ORNAMENTAL DIVIDER
   ==================================== */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold-accent));
}
.ornament-divider::after { --dir: left; }
.ornament-divider .diamond {
  width: 8px; height: 8px;
  background: var(--gold-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ---- Buttons (Enhanced) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255,255,255,.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.btn:active::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #C8963E, #D4A84B);
  color: var(--primary-foreground);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(200,150,62,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #A67B2E, #C8963E);
  box-shadow: 0 6px 20px rgba(200,150,62,.45);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: rgba(200,150,62,.07); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--muted); }

.btn svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  flex-shrink: 0;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ====================================
   HEADER (Enhanced with Desktop Nav)
   ==================================== */
.header-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary), var(--gold-accent));
  background-size: 200% 100%;
  animation: headerShimmer 4s ease infinite;
  width: 100%;
}
@keyframes headerShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--background);
  transition: box-shadow var(--transition-base), padding var(--transition-base), background var(--transition-base);
  padding: 20px 0;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(253,248,240,.92);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 2px 24px rgba(26,20,16,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}
.site-logo:hover { transform: scale(1.02); }
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}
.site-logo:hover .logo-main { color: var(--primary-dark); }
.logo-sub {
  font-size: .78rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .2em;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; align-items: center; }
}
.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.desktop-nav-list li { margin: 0; }
.desktop-nav-list a,
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav-list a:hover,
.nav-link:hover {
  color: var(--primary);
  background: rgba(200,150,62,.06);
}
.desktop-nav-list a.current,
.nav-link.current {
  color: var(--primary);
  font-weight: 600;
  background: rgba(200,150,62,.08);
}
.desktop-nav-list .current-menu-item > a,
.desktop-nav-list .current_page_item > a {
  color: var(--primary);
  font-weight: 600;
  background: rgba(200,150,62,.08);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-donate {
  padding: 9px 20px;
  font-size: .82rem;
}
@media (max-width: 640px) {
  .nav-donate { display: none; }
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}
.menu-toggle:hover {
  background: var(--muted);
  border-color: rgba(200,150,62,.3);
}
.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 20px;
  height: 20px;
}
.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94),
              opacity .2s ease,
              width .35s cubic-bezier(.25,.46,.45,.94);
  transform-origin: center;
}
.menu-toggle.is-active .bar-1 { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar-2 { opacity: 0; width: 0; }
.menu-toggle.is-active .bar-3 { transform: translateY(-7px) rotate(-45deg); }

/* ====================================
   OFF-CANVAS NAVIGATION (Enhanced)
   ==================================== */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s cubic-bezier(.25,.46,.45,.94), visibility .4s;
}
.offcanvas-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.offcanvas-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--card);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
  box-shadow: -8px 0 40px rgba(26,20,16,.12);
  border-left: 1px solid var(--border);
}
.offcanvas-nav.is-open {
  transform: translateX(0);
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offcanvas-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.offcanvas-close svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.offcanvas-close:hover {
  background: var(--muted);
  color: var(--foreground);
  border-color: rgba(200,150,62,.3);
  transform: rotate(90deg);
}

.offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}
.offcanvas-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color var(--transition-fast), background var(--transition-fast), padding-left .25s;
  position: relative;
  text-decoration: none;
}
.offcanvas-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--gold-accent), var(--primary));
  border-radius: 0 2px 2px 0;
  transition: transform .25s cubic-bezier(.25,.46,.45,.94);
}
.offcanvas-link:hover {
  color: var(--primary);
  background: rgba(200,150,62,.04);
  padding-left: 32px;
}
.offcanvas-link:hover::before { transform: translateY(-50%) scaleY(1); }
.offcanvas-link.current {
  color: var(--primary);
  font-weight: 700;
  background: rgba(200,150,62,.06);
  padding-left: 32px;
}
.offcanvas-link.current::before { transform: translateY(-50%) scaleY(1); }

/* Off-Canvas link stagger animation */
.offcanvas-nav.is-open .offcanvas-link {
  animation: slideInRight .4s cubic-bezier(.22,.61,.36,1) both;
}
.offcanvas-nav.is-open .offcanvas-link:nth-child(1)  { animation-delay: .05s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(2)  { animation-delay: .08s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(3)  { animation-delay: .11s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(4)  { animation-delay: .14s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(5)  { animation-delay: .17s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(6)  { animation-delay: .20s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(7)  { animation-delay: .23s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(8)  { animation-delay: .26s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(9)  { animation-delay: .29s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(10) { animation-delay: .32s; }
.offcanvas-nav.is-open .offcanvas-link:nth-child(11) { animation-delay: .35s; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.offcanvas-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.offcanvas-donate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 12px;
}

/* Body lock when menu is open */
body.menu-open { overflow: hidden; }

/* ====================================
   BACK TO TOP (With Progress Ring)
   ==================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 92px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-spring), background var(--transition-fast), border-color var(--transition-fast);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.back-to-top:hover .btt-icon { color: #fff; }

.btt-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: color var(--transition-fast);
  position: relative;
  z-index: 2;
}
.btt-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  z-index: 1;
}

/* ====================================
   WHATSAPP FLOAT (Enhanced)
   ==================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  text-decoration: none;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.3);
  animation: whatsappPulse 2s ease infinite;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ====================================
   FOOTER
   ==================================== */
.site-footer {
  background: linear-gradient(180deg, #1A1410, #0F0C08);
  color: var(--background);
  padding: 72px 0 0;
  border-top: 3px solid var(--gold-accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.footer-brand .logo-main { color: var(--gold-accent); }
.footer-brand .logo-sub { color: rgba(253,248,240,.6); }
.footer-brand p {
  color: rgba(253,248,240,.65);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--background);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(253,248,240,.65);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  font-size: .95rem;
}
.footer-links a:hover { color: var(--gold-accent); padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(253,248,240,.65);
  font-size: .93rem;
}
.footer-contact-item svg { color: var(--gold-accent); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.social-row { display: flex; gap: 12px; margin-bottom: 28px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(253,248,240,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--background);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-spring);
  border: 1px solid rgba(253,248,240,.2);
  cursor: pointer;
}
.social-btn:hover {
  background: var(--gold-accent);
  border-color: var(--gold-accent);
  color: #fff;
  transform: scale(1.1) translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; pointer-events: none; }

.footer-reg h4 { font-size: .9rem; font-weight: 600; color: var(--background); margin-bottom: 4px; }
.footer-reg p { font-family: var(--font-mono); font-size: .88rem; color: rgba(253,248,240,.65); }

.footer-bottom {
  border-top: 1px solid rgba(253,248,240,.1);
  margin-top: 56px;
  padding: 24px 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(253,248,240,.4);
}

/* ====================================
   PAGE BANNER (Enhanced with Parallax)
   ==================================== */
.page-banner {
  position: relative;
  padding: 140px 0 80px;
  background: var(--foreground);
  color: var(--background);
  overflow: hidden;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .18;
  pointer-events: none;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200,150,62,.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary), var(--gold-accent));
  z-index: 3;
}
/* Floating particles effect */
.page-banner .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-accent);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold-accent); transition: opacity var(--transition-fast); }
.breadcrumb a:hover { opacity: .75; }
.breadcrumb span { color: rgba(253,248,240,.55); }
.breadcrumb svg { width: 13px; height: 13px; }
.page-banner .eyebrow {
  display: block;
  color: var(--gold-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  margin-bottom: 10px;
}
.page-banner h1 {
  color: var(--background);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.page-banner p {
  font-size: .95rem;
  color: rgba(253,248,240,.78);
  max-width: 600px;
  line-height: 1.75;
}
.page-banner .banner-desc {
  font-size: .95rem;
  color: rgba(253,248,240,.72);
  max-width: 680px;
  line-height: 1.75;
}
.page-content { padding: 48px 0 80px; }

.post-meta-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(253,248,240,.6);
  font-size: .9rem;
  margin-top: 12px;
}
.meta-sep { opacity: .4; }

/* ====================================
   REVEAL ANIMATIONS (Enhanced)
   ==================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }
.delay-400 { transition-delay: .4s; }
.delay-500 { transition-delay: .5s; }
.delay-600 { transition-delay: .6s; }
.delay-700 { transition-delay: .7s; }

/* Pulse animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* Float animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Glow pulse */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,150,62,.2); }
  50%      { box-shadow: 0 0 40px rgba(200,150,62,.4); }
}

/* ====================================
   SECTION SPACING
   ==================================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg-muted { background: var(--muted); }

/* ====================================
   SECTION HEADER (Premium)
   ==================================== */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; letter-spacing: -0.02em; }
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary));
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-header p { color: var(--muted-foreground); font-size: 1rem; }

/* ====================================
   CARDS & SURFACES (Enhanced)
   ==================================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-shadow { box-shadow: var(--shadow-md); }
.card-hover { transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base); }
.card-hover:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,150,62,.4);
  transform: translateY(-4px);
}

/* Glassmorphism card variant */
.card-glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200,150,62,.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ====================================
   GRIDS
   ==================================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ====================================
   ICON WRAPPERS (Premium)
   ==================================== */
.icon-wrap {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  flex-shrink: 0;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.icon-wrap:hover { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.icon-wrap svg { color: var(--primary); }
.icon-wrap-sm  { width: 40px; height: 40px; }
.icon-wrap-md  { width: 52px; height: 52px; }
.icon-wrap-lg  { width: 64px; height: 64px; }
.icon-wrap-sm  svg { width: 20px; height: 20px; }
.icon-wrap-md  svg { width: 26px; height: 26px; }
.icon-wrap-lg  svg { width: 32px; height: 32px; }

/* ====================================
   HOME PAGE (Enhanced with Parallax)
   ==================================== */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 180px 0 100px;
  background: var(--foreground);
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--background);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(200,150,62,.1), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  background: rgba(200,150,62,.1);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  border: 1px solid rgba(200,150,62,.25);
  margin-bottom: 24px;
  animation: glowPulse 3s ease infinite;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero parallax background shapes */
.hero-parallax-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  pointer-events: none;
  background: var(--primary);
}
.hero-parallax-shape-1 {
  width: 300px; height: 300px;
  top: 10%; right: -50px;
}
.hero-parallax-shape-2 {
  width: 200px; height: 200px;
  bottom: 20%; left: -60px;
}
.hero-parallax-shape-3 {
  width: 150px; height: 150px;
  top: 40%; right: 20%;
  opacity: .04;
}

/* Stats Band (Premium) */
.stats-band {
  padding: 64px 0;
  background: var(--secondary);
  color: var(--secondary-foreground);
  position: relative;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.03) 20px,
    rgba(255,255,255,.03) 40px
  );
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .8;
}

/* Program Cards Grid (home) */
.program-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  cursor: pointer;
  display: block;
  box-shadow: var(--shadow-sm);
}
.program-card:hover {
  border-color: rgba(200,150,62,.5);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.program-card h3 { font-size: 1.15rem; margin: 12px 0 8px; transition: color var(--transition-fast); }
.program-card:hover h3 { color: var(--primary); }
.program-card p { font-size: .93rem; color: var(--muted-foreground); }
.program-card svg { color: var(--primary); width: 36px; height: 36px; }

/* CTA Dark Section (Premium) */
.cta-dark {
  background: var(--foreground);
  color: var(--background);
  padding: 96px 0;
  text-align: center;
  position: relative;
}
.cta-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(200,150,62,.12), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(200,150,62,.08), transparent 50%);
  pointer-events: none;
}
.cta-dark h2 {
  color: var(--background);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cta-dark p {
  color: rgba(253,248,240,.75);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ====================================
   ABOUT PAGE
   ==================================== */
.image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200,150,62,.2), rgba(26,107,74,.2));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.image-placeholder span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  z-index: 1;
}
.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,20,16,.04);
}

.real-photo-wrap {
  border-radius: calc(var(--radius)*1.5);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}
.real-photo-wrap:hover { transform: scale(1.02); }
.real-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.photo-strip-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}
.photo-strip-item:hover { transform: scale(1.03); }
.photo-strip-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.story-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.mvision-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.mvision-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.mvision-card:hover {
  border-color: rgba(200,150,62,.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.mvision-card h3 { font-size: 1.5rem; margin: 20px 0 12px; }
.mvision-card p { color: var(--muted-foreground); font-size: 1.05rem; line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.value-item { text-align: center; }
.value-item .icon-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.1), rgba(200,150,62,.05));
  border: 1px solid rgba(200,150,62,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition-spring);
}
.value-item:hover .icon-circle { transform: scale(1.1) rotate(5deg); }
.value-item .icon-circle svg { width: 36px; height: 36px; color: var(--primary); }
.value-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.value-item p { font-size: .92rem; color: var(--muted-foreground); }

/* Timeline (Premium) */
.timeline-dark { background: var(--foreground); color: var(--background); padding: 96px 0; }
.timeline-dark h2 { color: var(--background); }
.timeline-dark p.lead { color: rgba(253,248,240,.65); }
.timeline { max-width: 740px; margin: 0 auto; }
.tl-item {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 60px;
  bottom: -48px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-accent), rgba(200,150,62,.2));
}
.tl-item:last-child::before { display: none; }
.tl-year {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C8963E, #D4A84B);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--foreground);
  z-index: 1;
  box-shadow: 0 2px 8px rgba(200,150,62,.35);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.tl-item:hover .tl-year { transform: scale(1.15); box-shadow: var(--shadow-glow); }
.tl-content { padding-top: 6px; }
.tl-content h4 { color: var(--background); font-size: 1.2rem; margin-bottom: 6px; }
.tl-content p { color: rgba(253,248,240,.65); font-size: .97rem; }

/* ====================================
   PROGRAMS PAGE
   ==================================== */
.programs-list { display: flex; flex-direction: column; gap: 100px; }
.program-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.program-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius)*2);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition-slow);
}
.program-visual:hover { transform: scale(1.01); }
.program-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,20,16,.08);
  mix-blend-mode: overlay;
}
.program-visual::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.25) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .3;
}
.program-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(200,150,62,.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.program-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.program-content p { color: var(--muted-foreground); font-size: 1.03rem; line-height: 1.75; }
.highlights-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--foreground);
  margin: 28px 0 14px;
}
.highlights-list { display: flex; flex-direction: column; gap: 10px; }
.highlight-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--muted-foreground);
  font-size: .95rem;
}
.highlight-item svg { color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }

/* Swap columns for even rows */
@media (min-width: 1024px) {
  .program-row.reverse .program-visual { order: 2; }
  .program-row.reverse .program-content { order: 1; }
}

/* ====================================
   TEAM PAGE
   ==================================== */
.team-list { display: flex; flex-direction: column; gap: 60px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-avatar-col {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.team-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 4px solid var(--background);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.team-card:hover .team-avatar { transform: scale(1.05); box-shadow: var(--shadow-glow); }
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-socials { display: flex; gap: 14px; }
.team-socials a {
  color: var(--muted-foreground);
  transition: color var(--transition-fast);
}
.team-socials a:hover { color: var(--primary); }
.team-socials svg { width: 22px; height: 22px; }

.team-content { flex: 1; }
.team-content h2 { font-size: 1.9rem; margin-bottom: 4px; }
.team-role {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 24px;
  display: block;
}
.team-quote {
  position: relative;
  padding-left: 36px;
  margin-bottom: 24px;
}
.quote-icon {
  position: absolute;
  left: 0; top: 0;
  color: rgba(200,150,62,.2);
  width: 28px; height: 28px;
}
.team-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #2A2018;
  line-height: 1.6;
}
.team-divider { width: 60px; height: 1px; background: var(--border); margin: 20px 0; }
.team-bio { color: var(--muted-foreground); font-size: 1rem; line-height: 1.75; }

/* ====================================
   GALLERY PAGE (Premium + Lightbox)
   ==================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s, outline .3s, transform var(--transition-base);
}
.gallery-item:hover {
  box-shadow: var(--shadow-xl);
  outline: 2px solid var(--gold-accent);
  outline-offset: -2px;
  transform: scale(1.02);
  z-index: 2;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,.25) 1px, transparent 0);
  background-size: 14px 14px;
  opacity: .25;
}
.gallery-badge {
  position: absolute;
  top: 12px; left: 12px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  z-index: 2;
}
.gallery-caption {
  position: absolute; inset: 0;
  background: rgba(26,20,16,.62);
  backdrop-filter: blur(2px);
  display: flex; align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
  z-index: 3;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p {
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
  transform: translateY(8px);
  transition: transform .3s;
}
.gallery-item:hover .gallery-caption p { transform: translateY(0); }

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,.5);
  transform: scale(.9);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.gallery-lightbox.is-open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Gallery gradient classes */
.g-amber   { background: linear-gradient(135deg, #fde68a, #fb923c); }
.g-emerald { background: linear-gradient(135deg, #a7f3d0, #14b8a6); }
.g-blue    { background: linear-gradient(135deg, #bfdbfe, #6366f1); }
.g-green   { background: linear-gradient(135deg, #86efac, #10b981); }
.g-purple  { background: linear-gradient(135deg, #e9d5ff, #7c3aed); }
.g-pink    { background: linear-gradient(135deg, #fbcfe8, #f43f5e); }
.g-yellow  { background: linear-gradient(135deg, #fef08a, #f59e0b); }
.g-cyan    { background: linear-gradient(135deg, #a5f3fc, #3b82f6); }
.g-red     { background: linear-gradient(135deg, #fecaca, #ef4444); }
.g-sky     { background: linear-gradient(135deg, #bae6fd, #06b6d4); }
.g-fuchsia { background: linear-gradient(135deg, #f5d0fe, #a855f7); }
.g-lime    { background: linear-gradient(135deg, #d9f99d, #10b981); }
.g-indigo  { background: linear-gradient(135deg, #c7d2fe, #2563eb); }
.g-orange  { background: linear-gradient(135deg, #fed7aa, #ef4444); }
.g-teal    { background: linear-gradient(135deg, #99f6e4, #22c55e); }
.g-amber2  { background: linear-gradient(135deg, #fcd34d, #ea580c); }
.g-blue2   { background: linear-gradient(135deg, #93c5fd, #4338ca); }
.g-yellow2 { background: linear-gradient(135deg, #fde047, #d97706); }
.g-emerald2{ background: linear-gradient(135deg, #6ee7b7, #0d9488); }
.g-purple2 { background: linear-gradient(135deg, #d8b4fe, #c026d3); }

/* ====================================
   COMMUNITY DEVELOPMENT PAGE
   ==================================== */
.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.amenity-item { display: flex; align-items: center; gap: 10px; }
.check-circle {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.check-circle svg { width: 14px; height: 14px; color: var(--primary); }
.amenity-item span { font-weight: 600; font-size: .93rem; }

.book-box {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.book-box h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.book-box p { font-size: .88rem; color: var(--muted-foreground); margin-bottom: 14px; }

.community-hall-visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: calc(var(--radius)*2);
  background: linear-gradient(135deg, #d6d3d1, #a8a29e);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.community-hall-visual svg { width: 80px; height: 80px; color: rgba(87,83,78,.45); margin-bottom: 12px; }
.community-hall-visual span { font-family: var(--font-serif); font-size: 1.2rem; color: rgba(87,83,78,.6); }

.programs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.programs-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.prog-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.prog-icon svg { width: 26px; height: 26px; color: var(--primary); }
.programs-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.programs-card p { color: var(--muted-foreground); line-height: 1.7; }

.impact-band {
  background: linear-gradient(135deg, var(--primary), var(--gold-accent));
  color: var(--primary-foreground);
  padding: 80px 0;
}
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: center; }
.impact-number { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 800; display: block; margin-bottom: 6px; }
.impact-label { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }

/* ====================================
   FUTURE PROJECTS PAGE
   ==================================== */
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,150,62,.3);
  transform: translateY(-4px);
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.proj-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.proj-icon svg { width: 28px; height: 28px; }
.proj-badge {
  display: inline-flex; align-items: center;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--muted);
  color: var(--muted-foreground);
}
.project-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.project-card p { color: var(--muted-foreground); line-height: 1.7; font-size: .95rem; flex: 1; margin-bottom: 28px; }

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: .82rem;
}
.progress-label .status-text { font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.progress-label .pct { font-weight: 700; color: var(--primary); }
.progress-bar-wrap {
  height: 8px;
  border-radius: 99px;
  background: var(--muted);
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #C8963E, #D4A84B);
  transition: width 1.5s cubic-bezier(.25,.46,.45,.94);
  width: 0;
}
.progress-bar-fill.animated {
  /* Width set via inline style or JS */
}

.sponsor-box {
  background: rgba(26,20,16,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 700px;
  margin: 80px auto 0;
  text-align: center;
}
.sponsor-box h3 { font-size: 1.5rem; margin-bottom: 14px; }
.sponsor-box p { color: var(--muted-foreground); margin-bottom: 24px; }

/* ====================================
   GET INVOLVED PAGE
   ==================================== */
.involve-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }

.donate-heading {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.donate-heading h2 { font-size: 1.35rem; margin: 0; }

.bank-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.bank-card h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem;
  margin-bottom: 20px;
}
.bank-card h3 svg { color: var(--primary); width: 18px; height: 18px; }
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}
.bank-row:last-child { border-bottom: none; }
.bank-row .label { color: var(--muted-foreground); }
.bank-row .value { font-weight: 600; }
.bank-row .mono { font-family: var(--font-mono); }

.upi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* SBI Scanner Link (replaces broken iframe) */
.sbi-scanner-link {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
}
.sbi-scanner-box {
  width: 176px;
  height: 176px;
  border-radius: 12px;
  border: 2px dashed var(--border);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}
.sbi-scanner-link:hover .sbi-scanner-box {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(200,150,62,.15);
  transform: scale(1.03);
}
.sbi-scanner-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 4px;
}
.sbi-scanner-hint {
  font-size: .7rem;
  color: var(--muted-foreground);
}

/* UPI Info & Volunteer Card (Donate Now section) */
.upi-info h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem;
  margin-bottom: 8px;
}
.upi-info h3 svg { color: var(--primary); width: 18px; height: 18px; }
.upi-info .sub {
  font-size: .82rem;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}
.upi-id {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 500;
  background: rgba(200,150,62,.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(200,150,62,.15);
  letter-spacing: .02em;
}

.impact-list {
  margin-top: 28px;
  padding: 24px;
  background: rgba(200,150,62,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(200,150,62,.1);
}
.impact-list h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--foreground);
}
.impact-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.impact-list li {
  font-size: .85rem;
  color: var(--muted-foreground);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.impact-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.impact-list li strong {
  color: var(--foreground);
  font-weight: 600;
}

.vol-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.vol-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.vol-card .sub {
  font-size: .85rem;
  color: var(--muted-foreground);
  margin-bottom: 24px;
}

/* ====================================
   CONTACT PAGE
   ==================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.contact-info h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.contact-info .lead {
  font-size: .9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.contact-icon-wrap:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}
.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}
.contact-item h4 {
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--foreground);
}
.contact-item p {
  font-size: .85rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.social-section {
  margin-top: 8px;
  margin-bottom: 32px;
}
.social-section h4 {
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--foreground);
}
.social-btns {
  display: flex;
  gap: 12px;
}
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200,150,62,.08);
  border: 1px solid rgba(200,150,62,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-spring);
  text-decoration: none;
}
.social-icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.1) translateY(-2px);
}
.social-icon-btn svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contact Form (Enhanced) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--foreground);
}
.form-input,
.form-textarea,
.form-control {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: .88rem;
  color: var(--foreground);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,150,62,.15);
}
.form-textarea,
.form-control[type="textarea"] {
  min-height: 140px;
  resize: vertical;
}
textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Form Notice */
.form-notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(26,107,74,.1);
  border: 1px solid rgba(26,107,74,.2);
  color: var(--secondary);
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.form-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   SHG CENTER MEMBERS PAGE
   ==================================== */

/* Section Eyebrows */
.shg-section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  margin-bottom: 12px;
}
.shg-section-eyebrow-light {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

/* Thesis Section */
.shg-thesis {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.shg-thesis h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 20px;
}
.shg-thesis p {
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.shg-thesis p:last-child { margin-bottom: 0; }
.shg-thesis strong { color: var(--primary); }

/* Model Grid — 4-step chain */
.shg-model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .shg-model-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.shg-model-step {
  text-align: center;
  position: relative;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.shg-model-step:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.shg-model-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  transition: transform var(--transition-spring);
}
.shg-model-step:hover .shg-model-icon { transform: scale(1.1); }
.shg-model-number {
  font-family: var(--font-serif);
  font-size: .75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.shg-model-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.shg-model-step p {
  font-size: .88rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.shg-model-connector {
  display: none;
}
@media (min-width: 768px) {
  .shg-model-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    z-index: 2;
  }
  .shg-model-connector svg { width: 16px; height: 16px; }
}

/* Stats Band */
.shg-stats-band {
  background: linear-gradient(135deg, var(--secondary), #0D4A32);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.shg-stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,.03) 20px, rgba(255,255,255,.03) 40px);
  pointer-events: none;
}
.shg-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
@media (min-width: 640px) {
  .shg-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.shg-stat-card {
  padding: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-spring), background var(--transition-fast);
}
.shg-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
}
.impact-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gold-accent);
  display: block;
  margin-bottom: 6px;
}
.impact-label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
}

/* Council Grid — Visionary Council */
.shg-council-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (min-width: 640px) {
  .shg-council-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .shg-council-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.shg-council-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.shg-council-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.shg-council-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 3px solid var(--background);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.shg-council-card:hover .shg-council-avatar {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}
.shg-council-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shg-council-initials {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}
.shg-council-card h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}
.shg-council-role {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
}

/* Cluster Leaders */
.shg-leaders-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .shg-leaders-grid { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .shg-leader-card { flex: 1 1 calc(50% - 12px); }
}
.shg-leader-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.shg-leader-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.shg-leader-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 3px solid var(--background);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.shg-leader-card:hover .shg-leader-avatar {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}
.shg-leader-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shg-leader-info { flex: 1; }
.shg-leader-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.shg-leader-place {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.shg-leader-place svg { width: 14px; height: 14px; }
.shg-leader-info p {
  font-size: .9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Blog Cards */
.shg-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .shg-blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.shg-blog-visual {
  aspect-ratio: 16/9;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.shg-blog-visual.g-amber {
  background: linear-gradient(135deg, #C8963E, #D4A84B);
}
.shg-blog-visual.g-emerald {
  background: linear-gradient(135deg, #1A6B4A, #2D8B64);
}
.shg-blog-visual.g-blue {
  background: linear-gradient(135deg, #2B4C7E, #3B6DB5);
}
.shg-blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.shg-blog-body {
  padding: 24px;
}
.shg-blog-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.shg-blog-body p {
  font-size: .9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 16px;
}
.shg-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.shg-blog-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* Get Involved Cards */
.shg-involved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .shg-involved-grid { grid-template-columns: repeat(4, 1fr); }
}
.shg-involved-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: rgba(253,248,240,.06);
  border: 1px solid rgba(253,248,240,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: var(--background);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-base);
}
.shg-involved-card:hover {
  background: rgba(253,248,240,.12);
  border-color: rgba(200,150,62,.3);
  transform: translateY(-4px);
}
.shg-involved-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(200,150,62,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-accent);
  margin-bottom: 16px;
  transition: transform var(--transition-spring);
}
.shg-involved-card:hover .shg-involved-icon { transform: scale(1.1); }
.shg-involved-card h3 {
  font-size: 1rem;
  color: var(--background);
  margin-bottom: 8px;
}
.shg-involved-card p {
  font-size: .85rem;
  color: rgba(253,248,240,.7);
  line-height: 1.5;
  margin-bottom: 12px;
}
.shg-involved-arrow {
  color: var(--gold-accent);
  transition: transform var(--transition-fast);
}
.shg-involved-card:hover .shg-involved-arrow { transform: translateX(4px); }

/* ====================================
   BLOG / POST CARDS
   ==================================== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.post-card-thumb {
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.post-card-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body {
  padding: 24px;
}
.post-card-date {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 8px;
}
.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.post-card-title a {
  transition: color var(--transition-fast);
}
.post-card-title a:hover { color: var(--primary); }
.post-card-excerpt {
  font-size: .93rem;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

/* Content Grid (with sidebar) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .content-grid { grid-template-columns: 1fr 320px; }
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--foreground);
}
.sidebar-widget ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-widget a {
  font-size: .93rem;
  color: var(--muted-foreground);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.sidebar-widget a:hover { color: var(--primary); padding-left: 4px; }

/* Single Post */
.single-featured-image {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.single-featured-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* WP Content Styles */
.wp-content { line-height: 1.8; }
.wp-content h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
.wp-content h3 { font-size: 1.4rem; margin: 1.5rem 0 .75rem; }
.wp-content p { margin-bottom: 1.25rem; }
.wp-content ul, .wp-content ol { margin-bottom: 1.25rem; padding-left: 2rem; }
.wp-content ul { list-style: disc; }
.wp-content ol { list-style: decimal; }
.wp-content li { margin-bottom: .5rem; }
.wp-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.wp-content a:hover { color: var(--primary-dark); }
.wp-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.wp-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

/* Post Tags */
.post-tags {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tags-label {
  font-weight: 600;
  font-size: .88rem;
  margin-right: 8px;
}
.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  margin: 4px;
  border-radius: 99px;
  background: var(--muted);
  border: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted-foreground);
  transition: all var(--transition-fast);
}
.post-tags a:hover {
  background: rgba(200,150,62,.1);
  border-color: rgba(200,150,62,.3);
  color: var(--primary);
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.nav-previous, .nav-next { font-size: .9rem; }
.nav-next { text-align: right; }
.post-navigation a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.post-navigation a:hover { color: var(--primary-dark); }

/* Comments */
.comments-area { margin-top: 48px; }
.comments-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.comment-list { display: flex; flex-direction: column; gap: 24px; }
.comment-body {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.comment-author { font-weight: 600; margin-bottom: 8px; }
.comment-content p { font-size: .93rem; line-height: 1.7; }

/* Search Form */
.search-form-inner {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-form-inner:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200,150,62,.15);
}
.search-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: var(--card);
  font-size: .95rem;
  color: var(--foreground);
}
.search-input:focus { outline: none; }
.search-submit {
  padding: 12px 20px;
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.search-submit:hover { background: var(--primary-dark); }

/* No Results */
.no-results {
  text-align: center;
  padding: 64px 0;
}
.no-results h2 { font-size: 1.5rem; margin-bottom: 16px; }
.no-results p { color: var(--muted-foreground); margin-bottom: 24px; }

/* Pagination */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all var(--transition-fast);
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ====================================

/* ====================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   ==================================== */

/* === EXTRA SMALL DEVICES (Phones, 0-480px) === */
@media (max-width: 480px) {
  :root {
    --header-h: 56px;
    --radius: 8px;
    --radius-lg: 14px;
  }

  /* Container */
  .container { padding: 0 16px; }

  /* Typography scale */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 1rem; }

  /* Header */
  .site-header { padding: 10px 0; }
  .site-header.scrolled { padding: 6px 0; }
  .logo-main { font-size: 1.15rem; }
  .logo-sub { font-size: .6rem; letter-spacing: .12em; }
  .site-logo { gap: 8px; }
  .site-logo img { height: 28px !important; }
  .header-actions { gap: 8px; }
  .menu-toggle { width: 38px; height: 38px; }

  /* Hero */
  .hero {
    min-height: 100vh;
    padding: 90px 0 60px;
  }
  .hero h1 { font-size: 1.85rem; line-height: 1.15; margin-bottom: 16px; }
  .hero p { font-size: .95rem; margin-bottom: 28px; }
  .hero-badge { font-size: .68rem; padding: 5px 12px; margin-bottom: 16px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-parallax-shape-1 { width: 160px; height: 160px; }
  .hero-parallax-shape-2 { width: 100px; height: 100px; }
  .hero-parallax-shape-3 { width: 80px; height: 80px; }

  /* Page Banner */
  .page-banner { padding: 110px 0 56px; }
  .page-banner h1 { font-size: 1.55rem; margin-bottom: 14px; }
  .page-banner p,
  .page-banner .banner-desc { font-size: .88rem; line-height: 1.65; }
  .breadcrumb { font-size: .72rem; margin-bottom: 14px; }
  .page-banner .eyebrow { font-size: .68rem; letter-spacing: .12em; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.45rem; }
  .section-header p { font-size: .88rem; }
  .page-content { padding: 32px 0 48px; }

  /* Buttons */
  .btn { padding: 10px 22px; font-size: .88rem; }
  .btn-lg { padding: 12px 24px; font-size: .92rem; }

  /* Cards */
  .mvision-card { padding: 24px; }
  .mvision-card h3 { font-size: 1.25rem; }
  .mvision-card p { font-size: .92rem; }
  .team-card { padding: 24px; gap: 20px; }
  .team-avatar { width: 120px; height: 120px; font-size: 2rem; }
  .card-hover:hover { transform: none; }

  /* About page */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .value-item .icon-circle { width: 56px; height: 56px; }
  .value-item .icon-circle svg { width: 28px; height: 28px; }
  .value-item h4 { font-size: 1rem; }
  .value-item p { font-size: .85rem; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Timeline */
  .tl-item { gap: 16px; margin-bottom: 36px; }
  .tl-year { width: 44px; height: 44px; font-size: .7rem; }
  .tl-item::before { left: 22px; top: 48px; }
  .tl-content h4 { font-size: 1.05rem; }
  .tl-content p { font-size: .9rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .gallery-lightbox-caption { font-size: .85rem; }

  /* Documents */
  .doc-grid { grid-template-columns: 1fr !important; }
  .doc-card { padding: 16px; }
  .doc-icon { width: 36px; height: 36px; }
  .doc-icon svg { width: 18px; height: 18px; }
  .doc-title { font-size: .88rem; }
  .doc-desc { font-size: .78rem; }

  /* CSR Donors */
  .csr-grid { grid-template-columns: 1fr 1fr !important; }
  .csr-card { padding: 16px; }
  .csr-initials { width: 36px; height: 36px; font-size: .82rem; }

  /* Get Involved */
  .involve-grid { grid-template-columns: 1fr; }
  .upi-card { padding: 20px; flex-direction: column; align-items: flex-start; }
  .sbi-scanner-box { width: 140px; height: 140px; }
  .bank-card h3 { font-size: 1rem; }
  .bank-row { font-size: .85rem; }
  .impact-list { padding: 16px; }
  .impact-list h4 { font-size: .82rem; }
  .impact-list li { font-size: .8rem; }

  /* Footer */
  .site-footer { padding: 48px 0 0; }
  .footer-grid { gap: 32px; }
  .footer-bottom { margin-top: 36px; padding: 16px 0; font-size: .78rem; }
  .social-row { gap: 10px; margin-bottom: 20px; }
  .footer-brand p { max-width: 100%; font-size: .9rem; }
  .footer-heading { font-size: 1rem; margin-bottom: 14px; }
  .footer-contact-item { font-size: .85rem; }

  /* Back to Top & WhatsApp */
  .back-to-top { right: 76px; bottom: 16px; width: 42px; height: 42px; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }

  /* Off-canvas */
  .offcanvas-nav { width: 100%; max-width: 100vw; }
  .offcanvas-link { padding: 12px 20px; font-size: .9rem; }

  /* Forms */
  .form-row { flex-direction: column; }
  .form-control { font-size: 16px; padding: 12px 14px; }
  .vol-card { padding: 24px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: .72rem; }

  /* Programs */
  .program-row { gap: 32px; }
  .programs-list { gap: 60px; }
  .program-card { padding: 20px; }
  .program-card svg { width: 28px; height: 28px; }
  .program-visual { border-radius: var(--radius); }

  /* Projects */
  .project-card { padding: 20px; }
  .project-highlights { gap: 6px; }

  /* Search */
  .search-input-wrap input { font-size: .9rem; padding: 10px 12px 10px 36px; }
}

/* === SMALL DEVICES (Large phones, 481-639px) === */
@media (min-width: 481px) and (max-width: 639px) {
  :root { --header-h: 60px; }

  .container { padding: 0 20px; }

  /* Hero */
  .hero { min-height: 85vh; padding: 140px 0 72px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-wrap: wrap; }

  /* Page Banner */
  .page-banner { padding: 120px 0 64px; }
  .page-banner h1 { font-size: 1.75rem; }

  /* Section */
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.6rem; }

  /* Cards */
  .team-card { padding: 32px; gap: 24px; }
  .team-avatar { width: 140px; height: 140px; }
  .mvision-card { padding: 32px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 12px; }

  /* Documents */
  .doc-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* CSR Donors */
  .csr-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Footer */
  .site-footer { padding: 56px 0 0; }
  .footer-grid { gap: 36px; }

  /* Back to top & WhatsApp */
  .back-to-top { right: 80px; bottom: 20px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* === MEDIUM DEVICES (Tablets, 640-767px) === */
@media (min-width: 640px) {
  /* Hero */
  .hero { padding: 140px 0 80px; }
  .hero h1 { font-size: 2.6rem; }
  .hero p { font-size: 1rem; margin-bottom: 28px; }

  /* Page Banner */
  .page-banner { padding: 120px 0 64px; }
  .page-banner h1 { font-size: 1.75rem; }

  /* Section */
  .section { padding: 72px 0; }
  .section-header h2 { font-size: 1.8rem; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* About */
  .story-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .mvision-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); gap: 12px; }

  /* Team */
  .team-card { flex-direction: row; }
  .team-avatar { width: 200px; height: 200px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Get Involved */
  .involve-grid { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .stats-band { padding: 56px 0; }

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

  /* Off-canvas */
  .offcanvas-nav { width: 380px; }
}

/* === MEDIUM-LARGE DEVICES (Tablets landscape, 768-1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --header-h: 68px; }

  /* Hero */
  .hero { min-height: 80vh; padding: 150px 0 80px; }
  .hero h1 { font-size: 3rem; }

  /* Page Banner */
  .page-banner { padding: 130px 0 72px; }
  .page-banner h1 { font-size: 2rem; }

  /* Section */
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 44px; }
  .section-header h2 { font-size: 2rem; }

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

  /* About */
  .values-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }

  /* Programs */
  .program-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .programs-list { gap: 80px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Documents */
  .doc-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }

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

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .form-card { padding: 36px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .stat-number { font-size: 2.4rem; }

  /* Back to top */
  .back-to-top { right: 84px; }
}

/* === LARGE DEVICES (Desktops, 1024-1279px) === */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root { --header-h: 72px; }

  /* Grids */
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  /* Programs */
  .program-row { grid-template-columns: 1fr 1fr; gap: 64px; }

  /* Story */
  .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(4, 1fr) !important; }

  /* Content grid */
  .content-grid { grid-template-columns: 1fr 320px; }

  /* Documents */
  .doc-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }

  /* Team */
  .team-card { flex-direction: row; }

  /* Off-canvas - hidden on desktop, nav shown */
  .offcanvas-nav { display: none; }
  .offcanvas-overlay { display: none; }
  .menu-toggle { display: none; }

  /* Hero two column */
  .hero-two-col { grid-template-columns: 1fr 1fr; gap: 80px; }
  #hero-photo-col { display: block !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .form-card { padding: 40px; }
  .form-card h3 { font-size: 1.15rem; }
}

/* === EXTRA LARGE DEVICES (Large desktops, 1280px+) === */
@media (min-width: 1280px) {
  /* Hero */
  .hero { min-height: 85vh; padding: 160px 0 88px; }
  .hero h1 { font-size: 3rem; }

  .section { padding: 80px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }

  /* Programs */
  .program-row { grid-template-columns: 1fr 1fr; gap: 80px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(4, 1fr) !important; }

  /* Documents */
  .doc-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

/* === ULTRA-WIDE DEVICES (1440px+) === */
@media (min-width: 1440px) {
  .hero { min-height: 90vh; padding: 180px 0 100px; }
  .hero h1 { font-size: 3.5rem; }
  .section { padding: 96px 0; }
  .section-header h2 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* === TOUCH DEVICE ADJUSTMENTS === */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets */
  .btn { min-height: 44px; min-width: 44px; }
  .nav-link { padding: 10px 16px; }
  .footer-links a { padding: 6px 0; }
  .footer-contact-item { padding: 6px 0; }
  .offcanvas-link { padding: 16px 28px; }
  .social-btn { width: 44px; height: 44px; }

  /* Disable hover transforms on touch */
  .card-hover:hover { transform: none; }
  .team-card:hover { transform: none; }
  .mvision-card:hover { transform: none; }
  .program-card:hover { transform: none; }
  .photo-strip-item:hover { transform: none; }
  .real-photo-wrap:hover { transform: none; }
  .program-visual:hover { transform: none; }
  .site-logo:hover { transform: none; }
  .whatsapp-float:hover { transform: scale(1.06); }
  .back-to-top:hover { transform: translateY(-2px); }
}

/* === LANDSCAPE PHONE (max-width 896px) === */
@media (max-width: 896px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding: 90px 0 60px; }
  .page-banner { padding: 90px 0 48px; }
  .site-header { padding: 8px 0; }
  .section { padding: 48px 0; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 8px; }
}

/* === SAFE AREA (Notched phones) === */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
  .whatsapp-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .offcanvas-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* === PRINT STYLES === */
@media print {
  .site-header,
  .offcanvas-nav,
  .offcanvas-overlay,
  .whatsapp-float,
  .back-to-top,
  .reading-progress-bar,
  .menu-toggle { display: none !important; }

  .site-footer { background: #f5f5f5 !important; color: #000 !important; padding: 20px 0; }
  a { color: #000; text-decoration: underline; }
  .container { max-width: 100%; padding: 0; }
  .section { padding: 24px 0; }
  .hero { background: #f5f5f5 !important; }
  .page-banner { background: #0f0c08 !important; }
  .page-banner-bg { display: none; }
  .card, .doc-card, .program-card, .team-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-parallax-shape { display: none; }
  .whatsapp-float::before { display: none; }
  .reading-progress-fill { animation: none; }
  .header-accent-bar { animation: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}

/* === HIGH CONTRAST === */
@media (prefers-contrast: high) {
  :root {
    --border: #8A7E72;
    --muted-foreground: #4A3E32;
  }
  .btn-primary { box-shadow: 0 0 0 2px var(--primary); }
  .card { border-width: 2px; }
  .page-banner::after { height: 6px; }
  .site-footer { border-top-width: 5px; }
}

/* === DARK MODE (Optional) === */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0F0C08;
    --foreground: #FDF8F0;
    --card: #1A1610;
    --border: #2A2418;
    --muted: #1A1610;
    --muted-foreground: #A89E92;
  }
  .hero { background: var(--foreground); }
  .page-banner { background: #0a0806; }

  .image-placeholder {
    background: linear-gradient(135deg, rgba(200,150,62,.15), rgba(26,107,74,.15));
  }

  .card-glass {
    background: rgba(36,30,24,.8);
    border-color: rgba(200,150,62,.2);
  }

  img { filter: brightness(.92); }
}

/* ====================================
   PAN INDIA EXPANSION v4.0 — NEW STYLES
   ==================================== */

/* Trust Badges Row */
.trust-badges-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.trust-badge-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
  white-space: nowrap;
}
.trust-badge-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.trust-badge-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge-icon svg { color: var(--primary); width: 20px; height: 20px; }
.trust-badge-text { font-size: .88rem; font-weight: 600; color: var(--foreground); }

@media (min-width: 1024px) {
  .trust-badges-row {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* Impact Metrics Grid */
.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .impact-metrics-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .impact-metrics-grid { grid-template-columns: repeat(6, 1fr); }
}
.impact-metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.impact-metric-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.impact-metric-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.impact-metric-icon svg { color: var(--primary); width: 24px; height: 24px; }
.impact-metric-number {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.impact-metric-label {
  font-size: .78rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Core Values Expanded (6 values) */
.values-expanded-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .values-expanded-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .values-expanded-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-expanded-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.value-expanded-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.value-expanded-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  border: 1px solid rgba(200,150,62,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform var(--transition-spring);
}
.value-expanded-card:hover .value-expanded-icon { transform: scale(1.1); }
.value-expanded-icon svg { color: var(--primary); width: 28px; height: 28px; }
.value-expanded-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.value-expanded-card p { font-size: .92rem; color: var(--muted-foreground); line-height: 1.7; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-accent), var(--primary));
  border-radius: var(--radius) var(--radius) 0 0;
}
.testimonial-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-quote-icon {
  color: var(--primary);
  opacity: .3;
  margin-bottom: 12px;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200,150,62,.12), rgba(200,150,62,.06));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-author-avatar svg { color: var(--primary); width: 20px; height: 20px; }
.testimonial-author-name { font-weight: 700; font-size: .9rem; }
.testimonial-author-location { font-size: .8rem; color: var(--muted-foreground); }

/* Verification Cards */
.verification-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .verification-grid { grid-template-columns: repeat(2, 1fr); }
}
.verification-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.verification-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-md);
}
.verification-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22,163,74,.12), rgba(22,163,74,.06));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.verification-icon svg { color: #16a34a; width: 22px; height: 22px; }
.verification-card h4 { font-size: .95rem; margin-bottom: 8px; }
.verification-card p { font-size: .85rem; color: var(--muted-foreground); margin: 0; }
.verification-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 600;
  color: #16a34a;
  margin-top: 4px;
}

/* Sponsorship Table */
.sponsorship-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sponsorship-table thead th {
  background: var(--foreground);
  color: var(--background);
  padding: 16px 20px;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: left;
}
.sponsorship-table tbody td {
  padding: 16px 20px;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
  vertical-align: top;
}
.sponsorship-table tbody tr:last-child td { border-bottom: none; }
.sponsorship-table tbody tr:hover { background: rgba(200,150,62,.04); }
.sponsorship-tier-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

/* Founder Message */
.founder-message-section {
  background: var(--foreground);
  color: var(--background);
  padding: 96px 0;
  position: relative;
}
.founder-message-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(200,150,62,.1), transparent 50%);
  pointer-events: none;
}
.founder-message-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.founder-message-content p {
  color: rgba(253,248,240,.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.founder-signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(253,248,240,.15);
}
.founder-signature h4 { color: var(--gold-accent); font-size: 1.2rem; margin-bottom: 4px; }
.founder-signature p { font-size: .88rem; color: rgba(253,248,240,.6); margin: 2px 0; }

/* Meeting Options */
.meeting-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .meeting-options-grid { grid-template-columns: repeat(2, 1fr); }
}
.meeting-option-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.meeting-option-card:hover {
  border-color: rgba(200,150,62,.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.meeting-option-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.meeting-option-card h4 { font-size: 1rem; margin-bottom: 6px; }
.meeting-option-card p { font-size: .85rem; color: var(--muted-foreground); margin: 0; }

/* Pipeline Project Cards */
.pipeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.pipeline-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* CSR Tier Badge */
.csr-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Footer Grid Responsive Upgrade */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
