/* ==========================================================================
   GLOBAL 100% VIEWPORT PROPORTIONS & ZERO HORIZONTAL SCROLL PROTECTION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  max-width: 100%;
}

html, body {
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

/* Ensure all flex and grid items can shrink without blowing out layouts */
.hero-grid > *,
.stat-grid > *,
.passbook-grid > *,
.donor-wall-grid > *,
.founder-spotlight-box > *,
.timeline-grid > *,
.impact-calc-card > *,
.meal-grid > *,
.footer-grid > * {
  min-width: 0;
}

/* ==========================================================================
   Vallal Illam Trust Chennai - Design System & Master Responsive Stylesheet
   Perfected Header/Footer Alignment, WCAG Legibility, & Multi-Device Scaling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-main: #faf7f0;
  --bg-card: #ffffff;
  --bg-navy-dark: #072416;
  --bg-dark-green: #072416;
  --bg-cream-alt: #f3ebd9;
  --accent-navy: #0f3d23;
  --accent-dark-green: #0f3d23;
  --accent-terracotta: #d95d30;
  --accent-gold: #e5a93c;
  --accent-green: #1b5e20;
  --accent-teal: #0d9488;
  --text-dark: #122319;
  --text-muted: #4a6354;
  --border-light: #e8e2d5;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 4px 12px rgba(15, 61, 35, 0.06);
  --shadow-md: 0 10px 28px rgba(15, 61, 35, 0.10);
  --shadow-hover: 0 20px 40px rgba(15, 61, 35, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================================================
   0. FLOATING EXPERIENCE SWITCHER (Removed from Live)
   ========================================================================== */

.experience-switcher-bar {
  display: none !important;
}

.exp-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.exp-pill:hover {
  color: var(--accent-terracotta);
  background: rgba(217, 93, 48, 0.08);
}

.exp-pill.active {
  background: linear-gradient(135deg, #d95d30, #c24d24);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 93, 48, 0.35);
}

/* ==========================================================================
   1. HEADER & TOP BANNER ALIGNMENT
   ========================================================================== */

.jeeva-quote-banner {
  background: var(--bg-navy-dark);
  color: var(--accent-gold);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(229, 169, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jeeva-quote-banner span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 400;
}

/* Glassmorphism Navbar */
.navbar {
  background: rgba(250, 247, 240, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
  gap: 16px;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f3d23 0%, #1e5c38 100%);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(15, 61, 35, 0.22);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-navy);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--accent-terracotta);
  font-weight: 700;
  white-space: nowrap;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-terracotta);
  background: rgba(217, 93, 48, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-select-dropdown {
  background: var(--bg-card);
  color: var(--accent-navy);
  border: 1.5px solid var(--border-light);
  padding: 6px 10px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-select-dropdown:hover, .lang-select-dropdown:focus {
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(217, 93, 48, 0.15);
}

/* Mobile-Only Hamburger Toggle Button */
.nav-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--accent-navy);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.nav-toggle-btn:hover {
  background: var(--bg-cream-alt);
  color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
}

/* Mobile Off-Canvas Drawer Navigation */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 36, 22, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  z-index: 2200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 36px rgba(7, 36, 22, 0.25);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}

.close-drawer-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--accent-navy);
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.close-drawer-btn:hover {
  background: rgba(217, 93, 48, 0.12);
  color: var(--accent-terracotta);
}

.mobile-nav-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 48px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mobile-nav-item i {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: var(--accent-navy);
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  background: rgba(15, 61, 35, 0.08);
  color: var(--accent-navy);
}

.mobile-nav-item.active i {
  color: var(--accent-terracotta);
}

.mobile-drawer-cta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.mobile-drawer-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-drawer-footer {
  padding-top: 18px;
  text-align: center;
}

/* Primary CTA Buttons */
.btn-donate {
  background: linear-gradient(135deg, #d95d30 0%, #c24d24 100%);
  color: #ffffff;
  border: none;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(217, 93, 48, 0.3);
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 93, 48, 0.4);
}

.btn-yt-badge {
  background: rgba(255,0,0,0.08);
  color: #d90429;
  border: 1px solid rgba(255,0,0,0.25);
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-yt-badge:hover {
  background: #d90429;
  color: #ffffff;
  border-color: #d90429;
}


/* ==========================================================================
   2. SCREEN VIEWS & HERO SECTION
   ========================================================================== */

.screen-page-view {
  display: none;
}

.screen-page-view.active {
  display: block;
}

.hero-banner {
  background: linear-gradient(135deg, #0a2f1b 0%, #04170d 100%);
  color: #ffffff;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 169, 60, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(229, 169, 60, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: var(--font-sans);
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-heading span {
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
  border: 2px solid rgba(229, 169, 60, 0.3);
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 21, 39, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-around;
  color: #fff;
  gap: 12px;
}


/* ==========================================================================
   3. TRUST CREDIBILITY & STAT BARS
   ========================================================================== */

.trust-seals-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
}

.trust-seals-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.seal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-navy);
}

.seal-item i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.stat-bar {
  background: linear-gradient(135deg, #d95d30 0%, #b8471e 100%);
  color: #ffffff;
  padding: 36px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.stat-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.95;
}


/* ==========================================================================
   4. CONTENT SECTIONS & CARDS
   ========================================================================== */

.content-section {
  padding: 80px 0;
}

.section-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.section-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-tag {
  color: var(--accent-terracotta);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2.7rem;
  color: var(--accent-navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.4px;
}

.founder-spotlight-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
  padding: 44px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.founder-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.founder-quote-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-navy);
  line-height: 1.6;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent-terracotta);
  padding-left: 20px;
}

/* Timeline Cards */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.timeline-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.timeline-time {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 8px;
}

/* Impact Calculator */
.impact-calc-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-hover);
  padding: 44px;
  max-width: 860px;
  margin: 0 auto;
}

.impact-metric-pill {
  background: rgba(27, 94, 32, 0.1);
  color: var(--accent-green);
  font-weight: 800;
  font-size: 1.2rem;
  padding: 8px 18px;
  border-radius: 12px;
  display: inline-block;
}

.impact-slider {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: var(--bg-cream-alt);
  outline: none;
  margin: 20px 0;
  accent-color: var(--accent-terracotta);
}

/* Meal Cards */
.meal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.meal-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.meal-card-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

/* Donor Wall & FAQ Accordion */
.donor-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}

.donor-wall-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.donor-name {
  font-weight: 800;
  color: var(--accent-navy);
  font-size: 1.05rem;
}

.donor-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.donor-badge {
  display: inline-block;
  background: rgba(27, 94, 32, 0.1);
  color: var(--accent-green);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 8px;
  margin-top: 12px;
}

.faq-accordion {
  max-width: 880px;
  margin: 32px auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Video Story Cards */
.story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.story-thumb-box {
  position: relative;
  height: 220px;
  cursor: pointer;
}

.story-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(217, 93, 48, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.timestamp-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(7, 21, 39, 0.88);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 12px;
}


/* ==========================================================================
   5. PERSISTENT FLOATING STICKY BOTTOM DONATION BAR
   ========================================================================== */

.sticky-donation-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(7, 36, 22, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.sticky-donation-presets {
  display: flex;
  gap: 10px;
  align-items: center;
}

.preset-btn {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  min-height: 40px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.preset-btn:hover {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
}


/* ==========================================================================
   6. DONATION MODAL STEPPER & LIGHTBOX
   ========================================================================== */

.donation-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 21, 39, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.donation-modal-backdrop.active {
  display: flex;
}

.donation-modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}

.donation-modal-header {
  background: var(--accent-navy);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stepper-bar {
  display: flex;
  background: var(--bg-cream-alt);
  border-bottom: 1px solid var(--border-light);
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
}

.step-item.active {
  color: var(--accent-terracotta);
  border-bottom-color: var(--accent-terracotta);
  background: #ffffff;
}

.step-item.completed {
  color: var(--accent-green);
}

.donation-modal-body {
  padding: 28px 24px;
  max-height: 68vh;
  overflow-y: auto;
}

.checkout-step-panel {
  display: none;
}

.checkout-step-panel.active {
  display: block;
}

.modal-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.modal-tier-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-tier-card:hover, .modal-tier-card.active {
  border-color: var(--accent-terracotta);
  background: rgba(217, 93, 48, 0.05);
}

.modal-tier-amt {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-navy);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(217, 93, 48, 0.15);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pay-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.pay-card.active {
  border-color: var(--accent-terracotta);
  background: rgba(217, 93, 48, 0.05);
}

.donation-modal-footer {
  background: var(--bg-main);
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
}

.receipt-box {
  background: var(--bg-cream-alt);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-navy);
}

/* Video Lightbox Modal */
.video-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 21, 39, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-card {
  background: #000;
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}

.video-iframe-box {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-iframe-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==========================================================================
   7. FOOTER & COMPLIANCE ALIGNMENT
   ========================================================================== */

.footer {
  background: var(--bg-navy-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-col-title {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;

}

.footer-links {
  list-style: none;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
}


/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

/* Laptop & Medium Screens (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-heading {
    font-size: 2.6rem;
  }
  .founder-spotlight-box {
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding: 36px;
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Screens (768px to 991px) */
@media (max-width: 1360px) {
  /* Hide desktop menu & yt badge; show mobile hamburger toggle */
  .nav-desktop,
  .nav-desktop-yt {
    display: none !important;
  }
  .nav-toggle-btn {
    display: inline-flex !important;
  }
  .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1280px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
  gap: 16px;
  box-sizing: border-box;
}
  .nav-actions {
    gap: 10px;
  }

  .experience-switcher-bar,
  .mobile-switcher-container {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-heading {
    font-size: 2.3rem;
  }
  .hero-img {
    height: 320px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .founder-spotlight-box {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }
  .founder-img {
    height: 280px;
    max-width: 300px;
    margin: 0 auto;
  }
  .founder-quote-text {
    border-left: none;
    border-top: 3px solid var(--accent-terracotta);
    padding-left: 0;
    padding-top: 16px;
  }
  .meal-grid {
    grid-template-columns: 1fr;
  }
  .donor-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile Screens (< 768px) */
@media (max-width: 767px) {
  body {
    padding-bottom: 84px;
  }
  .jeeva-quote-banner {
    font-size: 0.85rem;
    padding: 7px 12px;
    line-height: 1.4;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.68rem;
  }
  .lang-select-dropdown {
    height: 38px;
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  /* Section Padding & Spacing */
  .section-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
  .content-section {
    padding: 42px 0;
  }
  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  /* Hero Section */
  .hero-banner {
    padding: 24px 0 36px;
  }
  .hero-heading {
    font-size: clamp(1.8rem, 6vw, 2.25rem);
    line-height: 1.22;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-cta-group .btn-donate,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .hero-image-wrapper {
    border-radius: var(--radius-md);
  }
  .hero-img {
    height: 230px;
    border-radius: var(--radius-md);
  }
  .hero-floating-stat {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 14px;
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    padding: 14px 16px;
  }

  /* Trust Seals Bar (2x2 Grid) */
  .trust-seals-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .trust-seal-item {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Daily Passbook */
  .public-passbook-banner {
    padding: 18px 14px;
    margin: 20px 0;
  }
  .passbook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .passbook-stat-item {
    padding: 10px;
  }
  .passbook-val {
    font-size: 1.1rem;
  }

  /* Impact Calculator */
  .impact-calc-card {
    padding: 20px 14px;
    border-radius: var(--radius-md);
  }
  .calc-slider {
    height: 10px;
  }
  .calc-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }
  .calc-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
  .calc-preset-btn {
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  /* Meal Cards */
  .meal-card {
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-md);
    gap: 16px;
  }
  .meal-card-img {
    width: 100%;
    height: 180px;
  }
  .meal-card-cta {
    width: 100%;
  }
  .meal-card-cta .btn-donate {
    width: 100%;
    justify-content: center;
  }

  /* Timeline & Stories */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline-card {
    padding: 20px 16px;
  }
  .story-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Governance & Legal */
  .gov-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal-doc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Contact Us Layout & Form */
  .contact-layout-split {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .contact-card {
    padding: 20px 16px;
  }

  /* Sticky Bottom Donation Bar (Clean & Sleek Mobile Dock) */
  .sticky-donation-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(7, 36, 22, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  z-index: 999;
}
  .sticky-donation-info {
    display: none;
  }
  .sticky-donation-presets {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 480px;
  }
  .sticky-donation-presets .preset-btn {
    flex: 1;
    padding: 9px 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    min-height: 42px;
  }
  .sticky-donation-presets .preset-btn[data-amt="25000"] {
    display: none; /* Hide large preset to keep 2 compact presets on mobile */
  }
  .sticky-donation-presets .btn-donate {
    flex: 2;
    padding: 9px 12px;
    font-size: 0.86rem;
    font-weight: 700;
    min-height: 42px;
    justify-content: center;
    white-space: nowrap;
  }

  /* Modals */
  .donation-modal-card {
    width: 94%;
    max-height: 92vh;
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
  .stepper-bar {
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 12px;
  }
  .step-item {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .modal-tier-grid {
    grid-template-columns: 1fr;
  }
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  .upi-apps-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .upi-app-btn {
    flex: 1 1 calc(50% - 8px);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 479px) {
  .hero-heading {
    font-size: 1.75rem;
  }
  .hero-img {
    height: 200px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .trust-seals-grid {
    grid-template-columns: 1fr !important;
  }
  .sticky-donation-presets .preset-btn {
    font-size: 0.74rem;
    padding: 8px 4px;
  }
  .sticky-donation-presets .btn-donate {
    font-size: 0.82rem;
    padding: 8px 8px;
  }
}

/* ==========================================================================
   ADVANCED CONVERSION & INSTANT UPI DIRECT STYLES
   ========================================================================== */

.checkout-mode-switcher {
  display: flex;
  background: var(--bg-cream-alt);
  border-radius: var(--radius-sm);
  padding: 4px;
  gap: 6px;
  margin-bottom: 20px;
}

.checkout-mode-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.checkout-mode-btn.active {
  background: #ffffff;
  color: var(--accent-terracotta);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.upi-direct-box {
  background: #ffffff;
  border: 1.5px solid rgba(217, 93, 48, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.upi-vpa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 61, 35, 0.06);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-navy);
  margin: 12px 0;
  border: 1px dashed var(--accent-terracotta);
}

.upi-qr-preview {
  width: 170px;
  height: 170px;
  margin: 14px auto;
  border: 2px solid var(--accent-navy);
  border-radius: 12px;
  padding: 8px;
  background: #ffffff;
}

.fcra-disclaimer-pill {
  background: rgba(217, 93, 48, 0.08);
  border: 1px solid rgba(217, 93, 48, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #8c3214;
  line-height: 1.45;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Institutional Governance Section */
.gov-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
}

.gov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.gov-seal-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.gov-seal-icon {
  font-size: 1.8rem;
  color: var(--accent-terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Mobile Scroll Auto-Hide for Sticky Bottom Bar */
.sticky-donation-bar.hidden {
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

/* 1-Page Checkout Mode Tabs & Seamless Flow */
.checkout-mode-tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-cream-alt);
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.checkout-tab-btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.checkout-tab-btn.active {
  background: #ffffff;
  color: var(--accent-terracotta);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.checkout-tab-content {
  display: none;
}

.checkout-tab-content.active {
  display: block;
}

/* Legal Documents Modal */
.legal-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 21, 39, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-backdrop.active {
  display: flex;
}

.legal-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.legal-doc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
}

.legal-doc-card {
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.legal-doc-card:hover {
  border-color: var(--accent-terracotta);
  transform: translateY(-2px);
}

.legal-seal-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27, 94, 32, 0.1);
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.mobile-switcher-container {
  display: none !important;
}

/* ==========================================================================
   PUBLIC FIELD DOSSIER & DAILY KITCHEN PASSBOOK ARCHITECTURE
   ========================================================================== */

.public-passbook-banner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent-navy);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 10px 25px rgba(15, 43, 72, 0.05);
}

.passbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.passbook-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.passbook-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.passbook-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.passbook-stat-item {
  background: var(--bg-cream-alt);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.passbook-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.passbook-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .passbook-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Contact Us Screen (#screenContactPage) Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 61, 35, 0.35);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(15, 61, 35, 0.08);
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.contact-card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 8px;
}

.contact-card-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.contact-card-action {
  margin-top: 18px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(27, 94, 32, 0.1);
  color: #1b5e20;
  border: 1px solid rgba(27, 94, 32, 0.25);
  margin-top: 8px;
}

.contact-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 48px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .contact-layout-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}



@media (max-width: 767px) {
  .brand-sub {
    font-size: 0.68rem;
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* ==========================================================================
   YOGA & JEEVA KARUNYA SADHANA PAGE STYLING
   ========================================================================== */
.yoga-record-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.yoga-record-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.yoga-record-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.yoga-record-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.yoga-record-img-box:hover .yoga-record-img {
  transform: scale(1.02);
}

.yoga-record-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-terracotta);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.yoga-quote-callout {
  background: var(--bg-cream-alt);
  border-left: 4px solid var(--accent-terracotta);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.yoga-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.yoga-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yoga-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}

.yoga-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 61, 35, 0.08);
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.yoga-pillar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.yoga-pillar-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.yoga-vallalar-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: center;
}

.yoga-vallalar-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 2px solid rgba(229, 169, 60, 0.3);
}

.yoga-vallalar-img {
  width: 100%;
  height: auto;
  display: block;
}

.asana-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.asana-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.asana-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.asana-card-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.asana-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.asana-card:hover .asana-card-img {
  transform: scale(1.04);
}

.asana-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(7, 36, 22, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid rgba(229, 169, 60, 0.4);
}

.asana-card-body {
  padding: 18px 20px;
  flex: 1;
}

.asana-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.asana-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   AUTHENTIC PHOTO & VIDEO GALLERY PAGE STYLING
   ========================================================================== */
.gallery-controls-section {
  padding: 24px 0 12px;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--accent-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gallery-filter-btn:hover {
  border-color: var(--accent-navy);
  background: var(--bg-cream-alt);
}

.gallery-filter-btn.active {
  background: var(--accent-navy);
  color: #ffffff;
  border-color: var(--accent-navy);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-gold);
}

.gallery-card-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #111;
}

.gallery-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-img-box img {
  transform: scale(1.05);
}

.gallery-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 36, 22, 0.88);
  backdrop-filter: blur(6px);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(229, 169, 60, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gallery-card-info {
  padding: 18px 20px;
  flex: 1;
}

.gallery-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.gallery-card-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Gallery Lightbox Modal */
.gallery-lightbox-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 36, 22, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.gallery-lightbox-backdrop.active {
  display: flex;
}

.gallery-lightbox-card {
  background: var(--bg-navy-dark);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.gallery-lightbox-header {
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.gallery-lightbox-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.gallery-lightbox-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.gallery-lightbox-close:hover {
  color: var(--accent-gold);
}

.gallery-lightbox-img-box {
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 68vh;
  overflow: hidden;
}

.gallery-lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-footer {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR YOGA & GALLERY
   ========================================================================== */
@media (max-width: 1024px) {
  .yoga-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .asana-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .yoga-record-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .yoga-vallalar-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .yoga-record-banner-card {
    padding: 20px 16px;
  }
  .yoga-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .asana-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-filter-btn {
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 14px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ==========================================================================
   AKHANDA JYOTI SABHAI & SACRED LAMP PAGE STYLES (ADAPTED FROM OLD_INDEX)
   ========================================================================== */
.spiritual-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: center;
}

.deepam-box {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Pulsing aura glow for the Akhanda Deepam */
.deepam-glow-aura {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.45) 0%, rgba(217, 93, 48, 0) 70%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.deepam-glow-aura::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.3) 0%, rgba(217, 93, 48, 0) 70%);
  animation: pulseAura 3s ease-in-out infinite;
}

@keyframes pulseAura {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
}

.deepam-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 12px rgba(229, 169, 60, 0.7));
  position: relative;
  z-index: 2;
}

.deepam-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-navy);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.deepam-status {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background-color: var(--bg-cream-alt);
  border: 1px solid rgba(229, 169, 60, 0.4);
  border-radius: 30px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #16a34a;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.deepam-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1rem;
}

.ritual-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.ritual-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.ritual-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-cream-alt);
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(229, 169, 60, 0.3);
}

.mantra-callout-box {
  background: var(--bg-navy-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
  border: 1px solid rgba(229, 169, 60, 0.35);
}

.lamp-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lamp-photo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lamp-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.lamp-photo-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #000;
  overflow: hidden;
}

.lamp-photo-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lamp-photo-card:hover .lamp-photo-img-box img {
  transform: scale(1.04);
}

.lamp-photo-body {
  padding: 18px 20px;
}

/* ==========================================================================
   RIGHT-HAND DOCKED FLOATING SOCIAL MEDIA WIDGET (NOT WHATSAPP)
   ========================================================================== */
.floating-social-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0 6px 6px;
}

.social-widget-item {
  display: flex;
  align-items: center;
  background: rgba(7, 36, 22, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-right: none;
  border-radius: 24px 0 0 24px;
  padding: 9px 12px 9px 14px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  box-shadow: -4px 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, background 0.25s ease, padding 0.25s ease;
  overflow: hidden;
}

.social-widget-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0;
  transition: max-width 0.3s ease, opacity 0.3s ease, margin-left 0.3s ease;
}

.social-widget-item:hover {
  transform: translateX(-4px);
  padding-right: 16px;
}

.social-widget-item:hover .social-widget-label {
  max-width: 120px;
  opacity: 1;
  margin-left: 8px;
}

.social-widget-item.yt-item {
  color: #ff4444;
}
.social-widget-item.yt-item:hover {
  background: #b91c1c;
  color: #ffffff;
}

.social-widget-item.phone-item {
  color: var(--accent-gold);
}
.social-widget-item.phone-item:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
}

.social-widget-item.email-item {
  color: #60a5fa;
}
.social-widget-item.email-item:hover {
  background: #1e3a8a;
  color: #ffffff;
}

.social-widget-item.map-item {
  color: #4ade80;
}
.social-widget-item.map-item:hover {
  background: #166534;
  color: #ffffff;
}

/* Mobile responsiveness for Lamp and Social Widget */
@media (max-width: 850px) {
  .spiritual-split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lamp-photo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .floating-social-widget {
    top: auto;
    bottom: 90px;
    transform: none;
    gap: 4px;
  }
  .social-widget-item {
    padding: 8px 10px 8px 12px;
    font-size: 1rem;
  }
  .social-widget-label {
    display: none !important;
  }
}

/* Preset Chip Buttons for Calculator */
.preset-chip-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}
.preset-chip-btn:hover, .preset-chip-btn.active {
  background: var(--accent-terracotta);
  color: #ffffff;
  border-color: var(--accent-terracotta);
  box-shadow: 0 4px 10px rgba(217, 93, 48, 0.25);
}


/* ==========================================================================
   PRINT STYLESHEET (Clean 80G Tax Receipt & Certificate Printing)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hide non-printable navigation, chrome, and extraneous screen widgets */
  .navbar,
  .jeeva-quote-banner,
  .trust-seals-bar,
  .footer,
  .quick-dial-bar,
  .floating-annadhanam-counter,
  .cockpit-telemetry-bar,
  .mobile-nav-backdrop,
  .mobile-nav-drawer,
  .hero-banner,
  .screen-page-view,
  #modalStep1,
  #modalStep2,
  #modalStep3,
  .stepper-header,
  .modal-close-btn,
  .donation-modal-footer,
  .btn-receipt-action {
    display: none !important;
  }

  .donation-modal-backdrop,
  .legal-modal-backdrop {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .donation-modal-card,
  .legal-modal-card {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .receipt-box {
    border: 2px solid #000000 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    padding: 24px !important;
    page-break-inside: avoid !important;
  }

  .receipt-box * {
    color: #000000 !important;
  }

  .receipt-stamp-badge {
    border: 2px solid #008000 !important;
    color: #008000 !important;
  }
}
