/*
  Taranaki Hindu Cultural Trust
  2026 Futuristic Hindu Sacred Design System
  Fundraising-First · Youth-Focused · Glassmorphic
  Typography: Outfit / Playfair Display / Noto Serif Devanagari
  Theme Alignment: https://www.ttish.com/Temple/
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Noto+Serif+Devanagari:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Theme Alignment Colors */
  --bg-primary: #fdfbf7;
  --bg-secondary: #f7f1e5;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-hover: rgba(255, 255, 255, 0.98);
  --border-glass: rgba(180, 83, 9, 0.12);

  --color-saffron: #d97706;
  --color-saffron-light: #f59e0b;
  --color-gold: #b45309;
  --color-gold-dark: #78350f;
  --color-text-primary: #2d2a26;
  --color-text-secondary: #5f5a54;
  --color-green: #15803d;

  --grad-sunset: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #dc2626 100%);
  --grad-gold: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  --grad-light: linear-gradient(180deg, #fdfbf7 0%, #f7f1e5 100%);
  --grad-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);

  /* UI Tokens */
  --radius-card: 20px;
  --radius-btn: 50px;
  --shadow-premium: 0 8px 32px 0 rgba(139, 90, 43, 0.08);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.15);

  /* Typography */
  --font-display: 'Noto Serif Devanagari', var(--font-heading), serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% -20%, rgba(217, 119, 6, 0.04), transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(255, 189, 89, 0.03), transparent 30%);
  color: var(--color-text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 64px; /* Space for sticky donate bar */
}

/* ─── Focus & A11y ─── */
:focus-visible { outline: 3px solid var(--color-saffron) !important; outline-offset: 2px !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(180, 83, 9, 0.15); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(180, 83, 9, 0.3); }

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

/* ═══════════════════════════════════════════
   HEADER — Frosted Glass White
   ═══════════════════════════════════════════ */
header {
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky; top: 0; z-index: 1000;
  transition: var(--transition-smooth);
}

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; position: relative; width: 100%;
}

.logo { display: flex; align-items: center; text-decoration: none; transition: var(--ease); }
.logo img { width: 48px; height: auto; }
.logo:hover { opacity: 0.92; transform: scale(1.02); }

/* Hamburger Menu Toggle (Pure CSS) */
.menu-toggle-input { display: none; }
.menu-icon {
  display: flex; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border-radius: 6px; border: 1px solid var(--border-glass);
}
.menu-icon span {
  display: block; width: 24px; height: 3px; background-color: var(--color-gold);
  border-radius: 99px; transition: var(--transition-smooth);
}

#header-nav {
  display: flex; flex-direction: column; width: 100%;
  position: absolute; top: 100%; left: 0; background: rgba(253, 251, 247, 0.98);
  border-bottom: 1px solid var(--border-glass); max-height: 0; overflow: hidden;
  opacity: 0; transition: var(--transition-smooth); z-index: 1040;
  padding: 0 20px;
}

/* Toggle Menu on Check */
.menu-toggle-input:checked ~ #header-nav {
  max-height: 500px; opacity: 1; padding: 12px 20px;
}

/* Transform Hamburger Icon to X when checked */
.menu-toggle-input:checked ~ .menu-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle-input:checked ~ .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-input:checked ~ .menu-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#header-nav a, #header-nav > .nav-item-dropdown > a {
  text-decoration: none; color: var(--color-text-secondary);
  font-weight: 500; font-size: 1rem;
  padding: 8px 12px; border-radius: 10px;
  transition: var(--transition-smooth); border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; cursor: pointer; width: 100%;
}

/* Hide header CTA button on mobile to give room to Logo and Hamburger icon */
header .btn { display: none; }

@media (min-width: 1024px) {
  header .btn { display: inline-flex; }
  .logo img { width: 64px; }
  .menu-icon { display: none; }
  #header-nav {
    position: static; display: flex; flex-direction: row; width: auto;
    max-height: none; overflow: visible; opacity: 1; padding: 0; gap: 4px;
    border-bottom: none; background: transparent;
  }
  #header-nav a, #header-nav > .nav-item-dropdown > a {
    width: auto; padding: 8px 14px;
  }
}

/* ─── Dropdown Sub-Menus ─── */
.nav-item-dropdown { position: relative; display: inline-block; width: 100%; }
@media (min-width: 1024px) { .nav-item-dropdown { width: auto; } }

.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: rgba(253, 251, 247, 0.98);
  min-width: 220px; border-radius: 14px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-premium); padding: 6px 0; z-index: 1050;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu { display: flex; flex-direction: column; }

.dropdown-menu a {
  display: flex !important; width: 100%;
  padding: 8px 18px !important; color: var(--color-text-secondary) !important;
  font-size: 0.95rem !important; font-weight: 500 !important;
  min-height: 40px; align-items: center; border-radius: 0 !important;
  text-align: left; border: none !important;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-menu a:hover { background: rgba(217, 119, 6, 0.05) !important; color: var(--color-text-primary) !important; }
.dropdown-menu a.active { background: rgba(217, 119, 6, 0.1) !important; color: var(--color-gold) !important; font-weight: 600 !important; }

@media (max-width: 1023px) {
  .nav-item-dropdown { text-align: center; }
  .nav-item-dropdown > a { justify-content: center; }
  .dropdown-menu {
    display: none; position: static; transform: none;
    background: rgba(0,0,0,0.03); border: none; box-shadow: none;
    width: 100%; border-radius: 10px; padding: 4px 0;
    margin-top: 2px; margin-bottom: 8px; flex-direction: column;
  }
  .nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu {
    display: flex;
  }
  .dropdown-menu a { justify-content: center; padding: 6px 10px !important; font-size: 0.9rem !important; }
}

/* ═══════════════════════════════════════════
   BUTTONS — Sunset CTA & Saffron Secondary
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 30px; border-radius: var(--radius-btn);
  font-weight: 600; font-size: 0.95rem; font-family: var(--font-body);
  text-decoration: none; transition: var(--transition-smooth);
  cursor: pointer; border: none; min-width: 130px;
  background: var(--grad-sunset); color: white;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.35), var(--shadow-glow);
}
.btn:active { transform: translateY(0); }

.btn-secondary {
  background: transparent; color: var(--color-saffron);
  border: 2px solid var(--color-saffron); box-shadow: none;
}
.btn-secondary:hover {
  background: rgba(217, 119, 6, 0.06); color: var(--color-gold);
  border-color: var(--color-gold); transform: translateY(-2px);
  box-shadow: none;
}

.btn-outline {
  background: transparent; color: var(--color-saffron);
  border: 2px solid var(--color-saffron); box-shadow: none;
}
.btn-outline:hover {
  background: var(--grad-sunset); color: white; border-color: transparent;
  transform: translateY(-2px);
}

.btn-sm { height: 36px; padding: 0 16px; font-size: 0.85rem; min-width: auto; }

/* ═══════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════ */
.full-width-hero {
  position: relative; width: 100%;
  min-height: 420px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  margin-bottom: 0;
}
@media (min-width: 768px) { .full-width-hero { min-height: 520px; } }

.full-width-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44, 27, 12, 0.3) 0%, rgba(44, 27, 12, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; color: white;
  max-width: 800px; padding: 32px 20px;
}
@media (min-width: 768px) { .hero-content { padding: 48px 24px; } }

.hero-content h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.5px;
  margin-bottom: 12px; color: white !important;
}
.hero-content h1 span {
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .mantra {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px; display: block;
}

.hero-content p {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem); font-weight: 400;
  line-height: 1.55; color: rgba(255,255,255,0.9) !important;
  margin-bottom: 20px !important;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   SECTIONS — Compact Spacing
   ═══════════════════════════════════════════ */
.section { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-title {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 700; color: #2c1b0c; text-align: center;
  margin-bottom: 8px; letter-spacing: -0.3px;
}

.section-mantra {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--color-gold); text-align: center;
  margin-bottom: 6px; display: block;
}

.section-subtitle {
  font-size: 1.15rem; color: var(--color-text-secondary); text-align: center;
  max-width: 600px; margin: 0 auto 32px; font-weight: 400;
}

/* ─── Section Divider ─── */
.section-divider {
  display: flex; justify-content: center; align-items: center; padding: 16px 0;
}
.section-divider::before, .section-divider::after {
  content: ""; flex: 1; height: 1px; max-width: 200px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
}
.section-divider span { padding: 0 16px; font-size: 1.2rem; color: var(--color-saffron); }

/* ═══════════════════════════════════════════
   GLASSMORPHIC CARDS — Theme Aligned
   ═══════════════════════════════════════════ */
.card {
  background: var(--grad-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-card);
  padding: 20px; box-shadow: var(--shadow-premium); transition: var(--transition-smooth);
}
@media (min-width: 768px) { .card { padding: 28px; } }

.card:hover {
  transform: translateY(-4px); background: var(--bg-glass-hover);
  border-color: rgba(217, 119, 6, 0.2);
  box-shadow: 0 12px 40px rgba(139, 90, 43, 0.12), 0 0 30px rgba(217, 119, 6, 0.05);
}

.card h3 {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--color-gold); margin-bottom: 8px;
}
.card p { color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.6; }

.card .mantra {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.9rem; color: var(--color-saffron); margin-bottom: 6px; display: block;
}

.card img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 14px; margin-bottom: 14px;
}

/* ═══════════════════════════════════════════
   GRIDS — Tighter Gaps
   ═══════════════════════════════════════════ */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ═══════════════════════════════════════════
   IMPACT COUNTERS
   ═══════════════════════════════════════════ */
.impact-strip {
  background: #25221e; color: white;
  padding: 24px 0; text-align: center;
}
.impact-strip .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.impact-item { flex: 1 1 140px; max-width: 200px; }
.impact-item .number {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--color-saffron-light); display: block; line-height: 1.2;
}
.impact-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500; }

/* ═══════════════════════════════════════════
   FUNDRAISING PROGRESS BAR
   ═══════════════════════════════════════════ */
.progress-container {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-glass); border: 1px solid var(--border-glass);
  border-radius: 24px; padding: 20px; box-shadow: var(--shadow-premium);
  text-align: center;
}
@media (min-width: 768px) { .progress-container { padding: 28px; } }

.progress-header {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px;
}
.progress-header strong {
  font-size: 1.8rem; color: var(--color-text-primary);
  font-family: var(--font-body); display: block;
}
@media (min-width: 576px) {
  .progress-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .progress-header strong { font-size: 2.2rem; }
  .progress-header div:last-child { text-align: right !important; }
}

.progress-bar {
  background: rgba(139, 90, 43, 0.08); border-radius: 50px;
  height: 28px; overflow: hidden; border: 1px solid rgba(139, 90, 43, 0.15);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 14px;
}
.progress-bar-fill {
  background: linear-gradient(90deg, #ea580c, #d97706, #f59e0b);
  height: 100%; border-radius: 50px;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 15px; color: white; font-weight: 700; font-size: 0.9rem;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.25);
}

/* ═══════════════════════════════════════════
   QUICK DONATE WIDGET
   ═══════════════════════════════════════════ */
.quick-donate {
  background: var(--bg-glass); border: 1px solid var(--border-glass);
  border-radius: var(--radius-card); padding: 24px; text-align: center;
  box-shadow: var(--shadow-premium);
}
.quick-donate h3 { font-family: var(--font-heading); color: var(--color-gold); margin-bottom: 14px; }

.donate-amounts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.donate-amounts label {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 80px; height: 40px; padding: 0 16px;
  border: 1px solid rgba(139, 90, 43, 0.18); border-radius: 12px;
  cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--color-text-primary); transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.6);
}
.donate-amounts label:hover { border-color: var(--color-saffron); color: var(--color-saffron); }
.donate-amounts input[type="radio"] { display: none; }
.donate-amounts input[type="radio"]:checked + label {
  background: var(--grad-sunset); color: white; border-color: transparent;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}
.donate-amounts .custom-input {
  height: 40px; border: 1px solid rgba(139, 90, 43, 0.18); border-radius: 12px;
  padding: 0 14px; font-size: 0.95rem; width: 120px; text-align: center;
  font-family: var(--font-body); font-weight: 600; background: rgba(255,255,255,0.6);
}
.donate-amounts .custom-input:focus { border-color: var(--color-saffron); background: white; outline: none; }

/* ═══════════════════════════════════════════
   DONATION TIER CARDS
   ═══════════════════════════════════════════ */
.tier-card {
  background: var(--grad-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-card); padding: 24px; text-align: center;
  transition: var(--transition-smooth);
}
.tier-card:hover { transform: translateY(-4px); border-color: rgba(217, 119, 6, 0.2); }

.tier-card.featured {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 1px var(--color-saffron), var(--shadow-glow);
}
.tier-card .tier-price {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
  color: var(--color-saffron); margin: 8px 0;
}
.tier-card .tier-name {
  font-family: var(--font-body); font-size: 1.1rem;
  color: var(--color-gold); font-weight: 600;
}
.tier-card ul { list-style: none; padding: 0; margin: 12px 0; text-align: left; }
.tier-card ul li {
  padding: 4px 0; font-size: 0.9rem; color: var(--color-text-secondary);
  border-bottom: 1px solid var(--border-glass);
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li::before { content: "✓ "; color: var(--color-green); font-weight: 700; }

/* ═══════════════════════════════════════════
   STYLED TABLES
   ═══════════════════════════════════════════ */
.table-styled {
  width: 100%; border-collapse: collapse;
  background: var(--bg-glass); border-radius: 14px;
  overflow: hidden; border: 1px solid var(--border-glass);
}
.table-styled th {
  background: rgba(139, 90, 43, 0.04); color: var(--color-gold);
  text-align: left; padding: 12px 18px; font-weight: 700; font-size: 0.9rem;
  border-bottom: 1px solid var(--border-glass);
}
.table-styled td {
  padding: 12px 18px; color: var(--color-text-primary);
  border-bottom: 1px solid var(--border-glass); font-size: 0.9rem;
}
.table-styled tr:last-child td { border-bottom: none; font-weight: 700; color: var(--color-saffron); }

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 4px; font-weight: 500;
  color: var(--color-text-primary); font-size: 0.95rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 16px;
  border: 1px solid rgba(139, 90, 43, 0.18); background: rgba(255, 255, 255, 0.6);
  border-radius: 12px; color: var(--color-text-primary);
  font-family: inherit; font-size: 1rem;
  transition: var(--transition-smooth); min-height: 44px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-saffron);
  background: white; box-shadow: 0 0 15px rgba(217, 119, 6, 0.1);
}

/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */
.timeline-roadmap { position: relative; padding-left: 30px; border-left: 2px solid var(--border-glass); margin-top: 20px; }
.timeline-step { position: relative; margin-bottom: 32px; }
.timeline-step:last-child { margin-bottom: 0; }

.timeline-dot {
  position: absolute; left: -41px; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-primary); border: 4px solid var(--color-saffron);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.2); transition: var(--transition-smooth);
}
.timeline-step.active .timeline-dot { background: var(--color-saffron-light); }
.timeline-step.completed .timeline-dot { background: var(--color-green); }

.timeline-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.timeline-title { font-size: 1.1rem; font-weight: 700; color: var(--color-gold); }

.timeline-badge {
  font-size: 0.7rem; font-weight: 800; padding: 4px 10px;
  border-radius: 99px; text-transform: uppercase; letter-spacing: 0.8px;
}
.timeline-badge.active { background: rgba(217, 119, 6, 0.1); color: var(--color-saffron); border: 1px solid rgba(217, 119, 6, 0.2); }
.timeline-badge.completed { background: rgba(21, 128, 61, 0.08); color: var(--color-green); border: 1px solid rgba(21, 128, 61, 0.2); }
.timeline-badge.upcoming { background: rgba(139, 90, 43, 0.05); color: var(--color-text-secondary); border: 1px solid var(--border-glass); }

/* ═══════════════════════════════════════════
   ICON BADGES & AVATARS
   ═══════════════════════════════════════════ */
.icon-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(217, 119, 6, 0.06); border: 1px solid rgba(217,119,6,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 1.5rem; color: var(--color-saffron);
}

.avatar-placeholder {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,90,43,0.06), rgba(139,90,43,0.12));
  border: 2px solid var(--border-glass); color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 10px;
  transition: var(--transition-smooth);
}
.avatar-placeholder:hover { border-color: var(--color-saffron); transform: scale(1.05); }

/* ═══════════════════════════════════════════
   MANTRA BLOCK (Sanskrit Quotes)
   ═══════════════════════════════════════════ */
.mantra-block {
  text-align: center; padding: 20px; margin: 16px 0;
  border-left: 3px solid var(--color-saffron); background: rgba(217,119,6,0.03);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.mantra-block .sanskrit {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--color-gold-dark); font-weight: 600; margin-bottom: 4px;
}
.mantra-block .translation {
  font-style: italic; font-size: 0.9rem; color: var(--color-text-secondary);
}

/* ═══════════════════════════════════════════
   CTA BANNER (inline donation prompt)
   ═══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  border-radius: var(--radius-card); padding: 28px; text-align: center;
  color: white; margin: 24px 0;
}
.cta-banner h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 6px; }
.cta-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; }

/* ═══════════════════════════════════════════
   STICKY DONATE BAR
   ═══════════════════════════════════════════ */
.sticky-donate-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--grad-sunset);
  border-top: 1px solid var(--border-glass);
  padding: 8px 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  height: 48px;
}
.sticky-donate-bar-container {
  display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; justify-content: space-between;
}
.sticky-donate-bar-marquee {
  display: flex; white-space: nowrap; overflow: hidden; width: calc(100% - 140px); align-items: center; height: 30px; position: relative;
}
.sticky-donate-bar-track {
  display: flex; justify-content: center; align-items: center; position: relative; width: 100%; height: 100%;
}
.sticky-donate-bar-track span {
  color: white !important; font-size: 0.9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; position: absolute;
  opacity: 0; transform: translateY(15px);
  animation: fade-cycle 15s infinite ease-in-out;
  white-space: nowrap;
}
.sticky-donate-bar-track span:nth-child(1) { animation-delay: 0s; }
.sticky-donate-bar-track span:nth-child(2) { animation-delay: 5s; }
.sticky-donate-bar-track span:nth-child(3) { animation-delay: 10s; }

/* Disable duplicate spans in fade mode to prevent overlaps */
.sticky-donate-bar-track span:nth-child(n+4) {
  display: none !important;
}

.sticky-donate-bar .btn-sticky {
  height: 32px; font-size: 0.8rem; padding: 0 16px;
  background: white; color: var(--color-gold-dark) !important;
  border-radius: 99px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: var(--transition-smooth);
  flex-shrink: 0;
}
.sticky-donate-bar .btn-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

@keyframes fade-cycle {
  0%, 2% { opacity: 0; transform: translateY(15px); }
  5%, 30% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-15px); }
}

@media (max-width: 767px) {
  .sticky-donate-bar {
    height: auto;
    padding: 8px 12px;
  }
  .sticky-donate-bar-container {
    flex-direction: column;
    gap: 0;
    padding: 0;
    align-items: center;
  }
  .sticky-donate-bar-marquee {
    display: none !important;
  }
  .sticky-donate-bar .btn-sticky {
    position: static;
    width: 100%;
    height: 38px;
    border-radius: 8px;
  }
}


/* ═══════════════════════════════════════════
   FOOTER — Dark Charcoal/Brown Aligned
   ═══════════════════════════════════════════ */
footer {
  background: #25221e; border-top: 1px solid var(--border-glass);
  padding: 40px 20px 24px; color: #ababa5;
}
@media (min-width: 768px) { footer { padding: 56px 32px 28px; } }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1.5fr 1.3fr; } }

.footer-col h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: white; margin-bottom: 14px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.6; color: #ababa5; }

.footer-logo-img { width: 200px; height: auto; display: block; margin-bottom: 14px; }
@media (min-width: 768px) { .footer-logo-img { width: 240px; } }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  text-decoration: none; color: #c8c5c0;
  font-size: 0.95rem; font-weight: 500; transition: var(--transition-smooth);
  min-height: 36px; display: inline-flex; align-items: center;
}
.footer-col ul li a:hover { color: var(--color-saffron-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; gap: 0; }
}
.footer-credit { font-size: 0.9rem; font-weight: 500; color: #ababa5; }
.footer-credit a { color: #4b9cd3; text-decoration: none; }
.footer-credit a:hover { color: #7bb5ec; text-decoration: underline; }

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
