/* ============================================================
   Kawadipally Sri Ramalayam — Temple Design System
   Traditional Hindu temple aesthetic: Saffron, Gold, Maroon, Cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Telugu:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --saffron:        hsl(25, 95%, 50%);
  --saffron-light:  hsl(30, 90%, 65%);
  --saffron-dark:   hsl(20, 90%, 40%);
  --gold:           hsl(43, 80%, 55%);
  --gold-light:     hsl(45, 75%, 70%);
  --maroon:         hsl(350, 60%, 25%);
  --maroon-light:   hsl(350, 50%, 35%);
  --cream:          hsl(40, 50%, 97%);
  --cream-dark:     hsl(40, 40%, 90%);

  --background:     hsl(40, 50%, 97%);
  --foreground:     hsl(20, 40%, 15%);
  --card-bg:        hsl(40, 40%, 95%);
  --muted:          hsl(40, 30%, 90%);
  --muted-fg:       hsl(20, 25%, 40%);
  --border:         hsl(35, 30%, 85%);

  --grad-saffron:   linear-gradient(135deg, hsl(25,95%,50%), hsl(30,90%,60%));
  --grad-gold:      linear-gradient(135deg, hsl(43,80%,55%), hsl(45,75%,65%));
  --grad-temple:    linear-gradient(180deg, hsl(40,50%,97%), hsl(40,40%,90%));
  --grad-hero:      linear-gradient(180deg, hsla(20,40%,15%,.3), hsla(20,40%,15%,.7));

  --shadow-soft:    0 4px 20px hsla(25,95%,50%,.1);
  --shadow-card:    0 2px 12px hsla(20,40%,15%,.08);
  --shadow-elev:    0 8px 30px hsla(20,40%,15%,.12);

  --radius:         0.5rem;
  --header-h:       72px;
  --transition:     0.3s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Serif Telugu', serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block; max-width: 100%; height: auto;
  -webkit-user-drag: none; user-drag: none;
  pointer-events: none; /* blocks right-click save on images */
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

/* ── No select / no copy ── */
body, p, h1, h2, h3, h4, h5, h6, span, div, section, article {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Noto Serif Telugu', serif; font-weight: 600; line-height: 1.3; }

/* ── Accessibility: Screen-reader only ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link (visible on focus) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .5rem 1rem;
  background: var(--saffron);
  color: white;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--maroon); outline-offset: 2px; }

/* ── Global Focus Styles ── */
:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 3px;
}
/* Remove outline for mouse users */
:focus:not(:focus-visible) { outline: none; }

/* ── Layout Helpers ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}

.section {
  padding: 4rem 0;
}
@media (min-width: 768px)  { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.site-header.scrolled {
  background: hsla(40,50%,97%,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── Logo ── */
.logo { display: flex; align-items: center; gap: 1rem; }

.logo-icon {
  position: relative;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #e7b335 0%, #ac4310 50%, #b45309 100%, #7c2d12 100%);
  /* triple ring effect */
  border: 2px solid #fde68a;
  outline: 3px solid #92400e;
  outline-offset: 2px;
  box-shadow:
    0 0 0 6px rgba(251,191,36,.18),
    0 8px 28px rgba(120,40,5,.65),
    0 0 22px rgba(245,158,11,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.logo-icon:hover {
  transform: scale(1.09) rotate(-2deg);
  box-shadow:
    0 0 0 6px rgba(251,191,36,.3),
    0 10px 36px rgba(120,40,5,.8),
    0 0 32px rgba(245,158,11,.65);
}

/* inner decorative ring */
.logo-icon::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(253,230,138,.45);
  pointer-events: none;
}

.logo-shriram {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.logo-shriram .sri {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif', serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: #fde68a;
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
  letter-spacing: 0.1em;
  display: block;
}
/* thin gold divider */
.logo-shriram .divider {
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, #fde68a, transparent);
  margin: 2px 0;
  display: block;
}
.logo-shriram .ram {
  font-family: 'Tiro Devanagari Hindi', 'Noto Serif', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(251,191,36,.9),
    0 0 3px rgba(251,191,36,.6),
    0 2px 6px rgba(0,0,0,.95);
  letter-spacing: 0.05em;
  display: block;
}
.logo-text { display: none; }
@media (min-width: 480px) { .logo-text { display: block; } }
.logo-name {
  font-size: 1rem; font-weight: 700; line-height: 1.2;
  color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.6);
  transition: color var(--transition);
}
.logo-sub {
  font-size: .75rem; font-weight: 500;
  color: #fcd34d; text-shadow: 0 1px 5px rgba(0,0,0,.9);
  transition: color var(--transition);
}
.site-header.scrolled .logo-name { color: var(--maroon); text-shadow: none; }
.site-header.scrolled .logo-sub  { color: var(--saffron); text-shadow: none; }

/* Desktop Nav */
.nav-desktop { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }

.nav-link {
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem; font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.7);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover { background: rgba(255,255,255,.15); color: #fde68a; }
.nav-link.active {
  background: var(--saffron);
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  box-shadow: 0 2px 10px hsla(25,95%,50%,.5);
}
.site-header.scrolled .nav-link { color: var(--maroon); text-shadow: none; }
.site-header.scrolled .nav-link:hover { background: var(--muted); color: var(--saffron); }
.site-header.scrolled .nav-link.active { background: var(--saffron); color: white; text-shadow: none; }

/* Hamburger */
.nav-toggle {
  display: flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: none; border-radius: var(--radius);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,.2); }
.site-header.scrolled .nav-toggle { color: var(--maroon); }
.site-header.scrolled .nav-toggle:hover { background: var(--muted); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: hsla(40,50%,97%,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 99;
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: .375rem;
  box-shadow: var(--shadow-elev);
}
.nav-mobile.open {
  display: flex;
  animation: slideDown .25s ease both;
}

.nav-mobile-link {
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem; font-weight: 500;
  color: var(--foreground);
  transition: background var(--transition), color var(--transition);
}
.nav-mobile-link:hover { background: var(--muted); color: var(--saffron); }
.nav-mobile-link.active { background: var(--saffron); color: white; }

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin-top: 0; /* sits under fixed header; pages handle pt */
}
@media (min-width: 768px) { .hero-slider { height: 80vh; } }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex; align-items: center; justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
.slide-content {
  position: relative; z-index: 2;
  text-align: center; color: white;
  padding: 0 1.5rem;
}
.slide-caption {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .3s, transform .6s ease .3s;
}
.slide-subcaption {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .5s, transform .6s ease .5s;
}
.slide.active .slide-caption,
.slide.active .slide-subcaption {
  opacity: 1; transform: translateY(0);
}

/* Slider Arrows */
.slider-btn {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  color: white;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.slider-btn:hover { background: rgba(255,255,255,.45); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

/* Dots */
.slider-dots {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: .5rem;
}
.dot {
  width: .75rem; height: .75rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  background: rgba(255,255,255,.5);
  transition: background var(--transition), width var(--transition);
}
.dot.active { background: var(--saffron); width: 2rem; }

/* ── HERO BANNER (inner pages) ── */
.hero-banner {
  position: relative;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) { .hero-banner { height: 50vh; } }
.hero-banner-overlay {
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
.hero-banner h1 {
  position: relative; z-index: 1;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  padding: 0 1rem;
}

/* ── SECTION HEADING ── */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .75rem;
}
.section-heading p {
  font-size: 1rem;
  color: var(--muted-fg);
  max-width: 600px;
  margin: 0 auto .75rem;
  line-height: 1.7;
}
.divider {
  width: 6rem; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-elev); }

.card-saffron {
  background: var(--grad-saffron);
  color: white;
  border: none;
}
.card-muted {
  background: var(--muted);
  border: 1px solid var(--border);
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }

@media (min-width: 640px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; /* WCAG 2.5.5 touch target */
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Noto Serif Telugu', serif;
  font-size: 1rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--saffron);
  color: white;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--saffron-dark); box-shadow: 0 6px 24px hsla(25,95%,50%,.3); }

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}
.btn-outline:hover { background: var(--saffron); color: white; }

.btn-gold {
  background: var(--gold);
  color: hsl(20,40%,15%);
  box-shadow: 0 4px 16px hsla(43,80%,55%,.3);
}
.btn-gold:hover { background: var(--gold-light); }

/* ── INFO CARD (Home page 3-up) ── */
.grid-3 .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.icon-circle {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--grad-saffron);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin: 0 auto 1rem;
  transition: transform var(--transition);
}
.grid-3 .info-card:hover .icon-circle { transform: scale(1.1); }
.icon-circle svg { width: 2rem; height: 2rem; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grid-3 .info-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--maroon); margin-bottom: .5rem; }
.grid-3 .info-card p  { color: var(--muted-fg); font-size: .975rem; line-height: 1.6; }

/* ── EVENT CARD ── */
.event-card { position: relative; overflow: hidden; }
.event-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-saffron);
  border-radius: 2px 0 0 2px;
}

/* Live / Upcoming / Regular variants */
.event-card-live {
  border-color: hsl(142,55%,40%);
  background: linear-gradient(135deg, hsl(142,40%,98%) 0%, white 100%);
  box-shadow: 0 4px 20px hsla(142,55%,40%,.15), var(--shadow-card);
}
.event-card-live::before { background: linear-gradient(180deg, hsl(142,60%,40%), hsl(142,45%,55%)); }

.event-card-upcoming {
  border-color: hsl(43,80%,55%);
  background: linear-gradient(135deg, hsl(43,80%,98%) 0%, white 100%);
  box-shadow: 0 4px 20px hsla(43,80%,55%,.15), var(--shadow-card);
}
.event-card-upcoming::before { background: var(--grad-gold); }

.event-card-regular::before { background: linear-gradient(180deg, var(--maroon), var(--maroon-light)); }

/* Status badge */
.event-status-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8125rem; font-weight: 800;
  padding: .3rem .85rem;
  border-radius: 2rem;
  margin-bottom: .85rem;
  letter-spacing: .02em;
}
.badge-live {
  background: hsl(142,55%,40%);
  color: white;
  box-shadow: 0 0 0 3px hsla(142,55%,40%,.2);
  animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 3px hsla(142,55%,40%,.2); }
  50%       { box-shadow: 0 0 0 7px hsla(142,55%,40%,.05); }
}
.badge-upcoming {
  background: hsl(43,80%,55%);
  color: hsl(20,60%,15%);
}
.badge-regular {
  background: var(--muted);
  color: var(--muted-fg);
  border: 1px solid var(--border);
}
.event-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--grad-saffron);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.event-icon svg { width: 1.5rem; height: 1.5rem; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-date {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 600;
  color: var(--saffron);
  margin-bottom: .625rem;
}
.event-date svg { width: 1rem; height: 1rem; stroke: var(--saffron); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--maroon); margin-bottom: .5rem; }
.event-card p  { color: var(--muted-fg); font-size: .95rem; line-height: 1.65; }

/* ── WELCOME SECTION ── */
.welcome-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .welcome-grid { grid-template-columns: 1fr 1fr; } }

.welcome-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-elev);
}
.welcome-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsla(350,60%,25%,.3), transparent);
}
.welcome-blob-1,
.welcome-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(3rem);
  opacity: .2;
  pointer-events: none;
}
.welcome-blob-1 { width: 6rem; height: 6rem; bottom: -1rem; left: -1rem; background: var(--grad-saffron); }
.welcome-blob-2 { width: 8rem; height: 8rem; top: -1rem; right: -1rem;  background: var(--grad-gold); }

.welcome-text p { color: var(--muted-fg); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1rem; }
.welcome-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 5rem 0;
  background: var(--maroon);
  text-align: center;
  color: white;
}
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.cta-section p  { font-size: 1.0625rem; opacity: .85; max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }

/* ── SPONSORS ── */
.sponsor-card { text-align: center; }
.sponsor-avatar {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  transition: background var(--transition);
}
.sponsor-avatar svg { width: 2rem; height: 2rem; stroke: var(--muted-fg); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--transition); }
.sponsor-card:hover .sponsor-avatar { background: var(--grad-saffron); }
.sponsor-card:hover .sponsor-avatar svg { stroke: white; }
.sponsor-card h3 { font-size: 1rem; font-weight: 600; color: var(--maroon); margin-bottom: .25rem; }
.sponsor-card p  { font-size: .875rem; color: var(--saffron); }

/* ════════════════════════════════════════════
   GALLERY — TABS + GRID + LIGHTBOX
════════════════════════════════════════════ */

/* ── Tab Bar ── */
.gallery-tabs {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.gtab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  background: none;
  border: none; border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: inherit; font-size: .9375rem; font-weight: 600;
  color: var(--muted-fg);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.gtab:hover { color: var(--saffron-dark); background: hsl(35,60%,96%); }
.gtab-active {
  color: var(--maroon);
  border-bottom-color: var(--saffron);
  background: hsl(35,60%,96%);
}
.gtab-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.gtab-icon svg { width: 100%; height: 100%; stroke: currentColor; }
.gtab-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.4rem; height: 1.4rem;
  background: var(--muted);
  color: var(--muted-fg);
  font-size: .75rem; font-weight: 700;
  border-radius: 2rem;
  padding: 0 .35rem;
  transition: background var(--transition), color var(--transition);
}
.gtab-active .gtab-count { background: var(--saffron); color: white; }

/* ── Tab Panels ── */
.gallery-panel { display: none; }
.gallery-panel-active { display: block; }

/* ── Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}
@media (min-width: 480px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Gallery Item ── */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: none; padding: 0;
  background: var(--muted);
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-elev); transform: translateY(-3px); }
.gallery-item:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsla(20,40%,15%,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  gap: .4rem; padding: .85rem;
}
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.gallery-item-overlay span { color: white; font-size: .8125rem; font-weight: 600; text-align: center; }

/* ── Empty state ── */
.gallery-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--muted);
  border-radius: var(--radius);
  border: 2px dashed var(--border);
}
.gallery-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.gallery-empty p    { color: var(--muted-fg); font-size: 1rem; margin-bottom: .5rem; }
.gallery-empty-hint { font-size: .875rem !important; }
.gallery-empty code {
  background: var(--border); border-radius: 3px;
  padding: .1rem .35rem; font-size: .8125rem;
}

/* ════ NEW LIGHTBOX ════ */
.glightbox {
  position: fixed; inset: 0;
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
}
.glightbox[hidden] { display: none; }

.glb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.93);
  backdrop-filter: blur(6px);
}
.glb-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: min(90vw, 1100px);
  width: 100%;
  gap: .75rem;
}
.glb-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0 .25rem;
}
.glb-counter { color: rgba(255,255,255,.55); font-size: .875rem; }
.glb-close {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.glb-close svg { width: 1.1rem; height: 1.1rem; }
.glb-close:hover { background: rgba(255,255,255,.28); }

.glb-img-wrap {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  max-height: 78vh;
}
.glb-img {
  max-width: 100%; max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  object-fit: contain;
  display: block;
  transition: opacity .2s ease;
}
.glb-caption {
  color: rgba(255,255,255,.75);
  font-size: .9375rem; text-align: center;
  max-width: 40rem;
}

/* Nav arrows */
.glb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: white; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), opacity var(--transition);
}
.glb-nav svg { width: 1.25rem; height: 1.25rem; }
.glb-nav:hover { background: rgba(255,255,255,.28); }
.glb-nav:disabled { opacity: .25; cursor: default; pointer-events: none; }
.glb-prev { left: 1rem; }
.glb-next { right: 1rem; }

@media (max-width: 480px) {
  .glb-prev { left: .35rem; }
  .glb-next { right: .35rem; }
  .glb-nav  { width: 2.25rem; height: 2.25rem; }
  .gtab-label { display: none; }
  .gtab { padding: .6rem .9rem; }
}

/* ── HISTORY PAGE ── */
.history-content { max-width: 52rem; margin: 0 auto; }
.history-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-elev); }
.history-cols {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 768px) { .history-cols { grid-template-columns: 1fr 1fr; } }

/* ── FOOTER ── */
.site-footer {
  background: var(--maroon);
  color: white;
}
.footer-inner {
  padding: 3.5rem 0 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }

.footer-brand { text-align: center; }
@media (min-width: 768px) { .footer-brand { text-align: left; } }

.footer-logo { display: flex; align-items: center; gap: .75rem; justify-content: center; margin-bottom: 1rem; }
@media (min-width: 768px) { .footer-logo { justify-content: flex-start; } }

.footer-logo-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #e7b335 0%, #ac4310 50%, #b45309 100%, #7c2d12 100%);
  border: 2px solid #fcd34d;
  box-shadow: 0 0 0 1px #451a03, 0 0 0 3px #b45309, 0 4px 16px rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-logo h3 { font-size: 1rem; font-weight: 700; }
.footer-logo p  { font-size: .75rem; color: var(--gold-light); }
.footer-brand > p { font-size: .875rem; opacity: .8; line-height: 1.7; }

.footer-links { text-align: center; }
.footer-links h4 { font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.footer-links nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .875rem; opacity: .85; transition: color var(--transition), opacity var(--transition); }
.footer-links a:hover { color: var(--gold); opacity: 1; }

.footer-addr { text-align: center; }
@media (min-width: 768px) { .footer-addr { text-align: right; } }
.footer-addr h4 { font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: 1rem; }
.footer-addr address { font-size: .875rem; opacity: .8; line-height: 1.8; }
.footer-addr .gold-text { color: var(--gold-light); margin-top: .5rem; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 2.5rem; padding: 1.5rem 0;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: .75rem;
}
.footer-bottom p { font-size: .875rem; opacity: .6; text-align: center; }
.footer-bottom .jai { color: var(--gold-light); font-size: .875rem; }

/* ── BG COLORS ── */
.bg-cream   { background: var(--grad-temple); }
.bg-card    { background: var(--card-bg); }
.bg-muted-s { background: var(--muted); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(.9);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── KEYFRAMES ── */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── HERO page-top offset ── */
.page-top { margin-top: var(--header-h); }

/* ── Utilities ── */
.text-center  { text-align: center; }
.text-maroon  { color: var(--maroon); }
.text-saffron { color: var(--saffron); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted-fg); }
.text-white   { color: white; }
.font-bold    { font-weight: 700; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* ── Responsive text ── */
.text-sm   { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.0625rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }

/* ── Note box ── */
.note-box {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: var(--muted-fg);
  font-size: .975rem;
  line-height: 1.65;
  margin-top: 3rem;
}

/* ── Sponsor become CTA ── */
.sponsor-cta {
  background: var(--grad-saffron);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: white;
  margin-top: 4rem;
}
.sponsor-cta h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.sponsor-cta p  { line-height: 1.7; opacity: .9; max-width: 38rem; margin: 0 auto 1.5rem; }
.sponsor-cta-box {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: .75rem 1.5rem;
  font-size: 1rem;
}
.sponsor-cta-box p { margin: 0; font-weight: 500; opacity: 1; }
.sponsor-cta-box strong { font-size: 1.125rem; font-weight: 700; display: block; }

/* ── Disclaimer ── */
.disclaimer { text-align: center; margin-top: 2rem; color: var(--muted-fg); font-size: .875rem; }

/* ════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   320px  – Small phones
   480px  – Mid phones (iPhone SE, Galaxy S)
   600px  – Large phones / small tablets
   768px  – Tablets (existing)
   1024px – Desktop (existing)
════════════════════════════════════════════ */

/* ── ≤ 480px: Small & mid phones ── */
@media (max-width: 480px) {
  /* Typography */
  .section-heading h2 { font-size: 1.5rem; }
  .section-heading p  { font-size: .9375rem; }

  /* Cards */
  .card { padding: 1rem; }
  .sponsor-cta { padding: 1.5rem 1rem; }
  .note-box    { padding: 1rem; }

  /* Slider */
  .hero-slider { height: 55vh; }
  .slide-caption    { font-size: 1.5rem; }
  .slide-subcaption { font-size: .9375rem; }
  .slider-btn { width: 36px; height: 36px; }

  /* Info cards – stack to 1 col */
  .grid-3 { grid-template-columns: 1fr; }

  /* Events grid – 1 col */
  .grid-2 { grid-template-columns: 1fr; }

  /* Gallery grid – 2 col (keep, but tighten gap) */
  .gallery-grid { gap: .5rem; }

  /* Welcome */
  .welcome-btns { flex-direction: column; }
  .welcome-btns .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-inner { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: center; gap: .5rem; }

  /* CTA section */
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p  { font-size: .9375rem; }

  /* Hero banner (inner pages) */
  .hero-banner h1 { font-size: 1.75rem; }
}

/* ── 481px – 600px: Mid phones / large phones ── */
@media (min-width: 481px) and (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card   { padding: 1.25rem; }
}

/* ── 601px – 767px: Large phones / small tablets ── */
@media (min-width: 601px) and (max-width: 767px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 768px – 820px: Tablets (portrait) ── */
@media (min-width: 768px) and (max-width: 820px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .welcome-grid { gap: 1.5rem; }
}

/* ── Mobile nav link touch targets ── */
.nav-mobile-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ── Lightbox mobile improvements ── */
@media (max-width: 600px) {
  .lightbox-btn {
    width: 2.25rem; height: 2.25rem;
    font-size: 1rem;
  }
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
  .lightbox-inner { max-width: 95vw; }
}

/* ════════════════════════════════════════════
   SPONSORS / DONORS PAGE
════════════════════════════════════════════ */

/* ── Hero sub-caption ── */
.hero-banner-sub {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 0 1rem;
  margin-top: .5rem;
}

/* ── Gratitude Banner ── */
.gratitude-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, hsl(43,80%,97%) 0%, hsl(35,60%,93%) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px hsla(43,80%,55%,.15);
  text-align: center;
  justify-content: center;
  flex-direction: column;
}
.gratitude-icon {
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px hsla(25,95%,50%,.3));
}
.gratitude-banner p {
  font-size: 1.0625rem;
  color: var(--maroon);
  font-weight: 600;
  line-height: 1.7;
  max-width: 52rem;
  margin: 0;
}

/* ── Donors Stats Row ── */
.donors-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { .donors-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .donors-stats { grid-template-columns: 1fr 1fr; } }

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-item:hover { box-shadow: var(--shadow-elev); transform: translateY(-2px); }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--saffron-dark);
  line-height: 1.1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .875rem; color: var(--muted-fg); line-height: 1.4; }

/* ── PDF CTA Top banner ── */
.pdf-cta-top {
  background: linear-gradient(135deg, hsl(20,60%,15%) 0%, var(--maroon) 50%, hsl(350,55%,30%) 100%);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 1rem;
  border: 2px solid hsla(43,80%,55%,.3);
  box-shadow: 0 8px 32px hsla(350,60%,25%,.25), 0 0 0 1px hsla(43,80%,55%,.1) inset;
  position: relative; overflow: hidden;
}
.pdf-cta-top::after {
  content: '📄';
  position: absolute; right: 12rem; top: 50%;
  transform: translateY(-50%);
  font-size: 5rem; opacity: .05;
  pointer-events: none;
}
.pdf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.pdf-cta-text {
  display: flex; align-items: flex-start; gap: 1rem;
  color: white; flex: 1;
}
.pdf-cta-text svg { width: 2rem; height: 2rem; flex-shrink: 0; margin-top: .2rem; opacity: .8; }
.pdf-cta-text strong { display: block; font-size: 1.0625rem; font-weight: 700; margin-bottom: .25rem; }
.pdf-cta-text p { font-size: .875rem; opacity: .85; margin: 0; }

.btn-pdf-download {
  display: inline-flex; align-items: center; gap: .75rem;
  background: linear-gradient(135deg, hsl(43,90%,50%) 0%, hsl(35,95%,55%) 60%, hsl(43,80%,60%) 100%);
  color: hsl(20,60%,15%);
  font-size: .9375rem; font-weight: 800;
  padding: .75rem 1.75rem;
  border-radius: 2rem;
  white-space: nowrap;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px hsla(43,85%,50%,.45), 0 1px 0 hsla(255,100%,100%,.3) inset;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 2px solid hsla(255,100%,100%,.25);
}
.btn-pdf-download::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: pdf-shimmer 3s ease-in-out infinite;
}
@keyframes pdf-shimmer {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}
.btn-pdf-download svg { width: 1.2em; height: 1.2em; flex-shrink: 0; position: relative; }
.btn-pdf-download:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px hsla(43,85%,50%,.55), 0 1px 0 hsla(255,100%,100%,.4) inset;
}
.btn-pdf-lg {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
  gap: .9rem;
}

/* ── Donor Section Wrappers ── */
.donors-section { padding: 4rem 0; }
.ds-saffron  { background: linear-gradient(180deg, hsl(35,60%,93%) 0%, hsl(40,50%,97%) 100%); }
.ds-maroon   { background: linear-gradient(180deg, hsl(350,40%,96%) 0%, hsl(350,30%,98%) 100%); }
.ds-cream    { background: var(--grad-temple); }
.ds-dark     { background: linear-gradient(135deg, var(--maroon) 0%, hsl(20,50%,18%) 100%); color: white; }
.ds-green    { background: linear-gradient(180deg, hsl(142,30%,96%) 0%, hsl(142,20%,98%) 100%); }

/* ── Category Header ── */
.donors-cat-header {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.cat-icon-wrap {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.cat-icon-wrap svg { width: 1.6rem; height: 1.6rem; }
.ci-saffron { background: var(--grad-saffron); color: white; }
.ci-maroon  { background: var(--maroon); color: white; }
.ci-gold    { background: var(--grad-gold); color: var(--maroon); }
.ci-green   { background: hsl(142,60%,40%); color: white; }
.donors-cat-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .35rem; }
.donors-cat-header p  { font-size: .9375rem; color: var(--muted-fg); }
.ds-dark .donors-cat-header p { color: rgba(255,255,255,.7); }

/* ── Donor Cards Grid ── */
.donors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.donors-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.donor-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
}
.donor-card:hover { box-shadow: var(--shadow-elev); transform: translateY(-3px); border-color: var(--gold); }
.dc-highlight { border-color: var(--gold); box-shadow: 0 4px 20px hsla(43,80%,55%,.25); }

.dc-amount {
  display: inline-block;
  background: var(--saffron-dark);
  color: white;
  font-size: 1.0625rem; font-weight: 800;
  padding: .3rem .9rem;
  border-radius: 2rem;
  margin-bottom: .75rem;
}
.dc-amount-lg { font-size: 1.25rem; background: var(--maroon); }
.donor-card h3 { font-size: 1rem; font-weight: 700; color: var(--foreground); margin-bottom: .3rem; }
.donor-card p  { font-size: .875rem; color: var(--muted-fg); }
.dc-badge {
  display: inline-block;
  margin-top: .75rem;
  font-size: .75rem; font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 2rem;
  background: var(--muted);
  color: var(--muted-fg);
}
.badge-gold   { background: hsl(43,80%,92%); color: hsl(43,80%,30%); }
.badge-maroon { background: hsl(350,60%,92%); color: var(--maroon); }
.dc-gold { border-color: var(--gold); }

/* ── In-Kind Grid ── */
.inkind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.inkind-card {
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.inkind-card:hover { box-shadow: var(--shadow-elev); transform: translateX(3px); }
.inkind-donor { font-size: .9375rem; font-weight: 700; color: var(--foreground); margin-bottom: .35rem; }
.inkind-gift  { font-size: .875rem; color: var(--saffron-dark); font-weight: 600; }

/* ── Vigraha Two-Col ── */
.vigraha-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
@media (max-width: 768px) { .vigraha-cols { grid-template-columns: 1fr; } }
.vigraha-group {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.vg-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.125rem; font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.vg-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.vd-saffron { background: var(--saffron); }
.vd-gold    { background: var(--gold); }
.vg-list { display: flex; flex-direction: column; gap: .75rem; }
.vg-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap;
  padding: .6rem .75rem;
  background: rgba(255,255,255,.06);
  border-radius: calc(var(--radius) / 2);
}
.vg-name { font-size: .875rem; color: rgba(255,255,255,.9); flex: 1; }
.vg-deity {
  font-size: .8125rem; font-weight: 700;
  white-space: nowrap;
  padding: .2rem .6rem;
  border-radius: 2rem;
}
.vg-deity.vd-saffron { background: hsla(25,95%,50%,.25); color: hsl(30,90%,75%); }
.vg-deity.vd-gold    { background: hsla(43,80%,55%,.25); color: hsl(45,90%,75%); }

/* ── Anna Danam Grid ── */
.annadana-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
  margin-bottom: 1.5rem;
}
.annadana-card {
  display: flex; align-items: center; gap: .65rem;
  background: white;
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .9375rem;
  color: var(--foreground);
  border: 1px solid hsl(142,40%,88%);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.annadana-card:hover { box-shadow: var(--shadow-elev); }
.annadana-card svg { width: 1rem; height: 1rem; flex-shrink: 0; stroke: hsl(142,55%,40%); }

/* ── Cash Donors Grid ── */
.cash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cash-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cash-card:hover { box-shadow: var(--shadow-elev); transform: translateY(-3px); }
.cc-top  { border-color: var(--gold); background: hsl(43,80%,97%); }
.cc-high { border-color: hsl(25,95%,75%); }
.cc-mid  { border-color: var(--border); }
.cc-amt {
  display: block;
  font-size: 1.375rem; font-weight: 800;
  color: var(--maroon); margin-bottom: .5rem;
}
.cc-top .cc-amt { color: hsl(43,80%,30%); }
.cc-name { font-size: .9rem; font-weight: 700; color: var(--foreground); line-height: 1.35; margin-bottom: .25rem; }
.cc-place { font-size: .8125rem; color: var(--muted-fg); }

/* ── Dark section heading overrides ── */
.ds-dark .section-heading h2 { color: white; }
.ds-dark .section-heading p  { color: rgba(255,255,255,.75); }
.ds-dark .divider { background: var(--gold); opacity: .7; }

/* ── "More in PDF" hint ── */
.more-hint {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  font-size: .9375rem; color: var(--muted-fg);
  background: var(--muted);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.ds-dark .more-hint { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.75); }
.more-hint svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; stroke: var(--saffron); }
.more-hint a {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-left: auto;
  padding: .45rem 1.1rem;
  background: linear-gradient(135deg, hsl(43,90%,50%), hsl(35,95%,55%));
  color: hsl(20,60%,15%);
  font-size: .875rem; font-weight: 800;
  border-radius: 2rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px hsla(43,85%,50%,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.more-hint a::after {
  content: '↓';
  font-size: .85em;
}
.more-hint a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(43,85%,50%,.55);
}
.ds-dark .more-hint a {
  background: linear-gradient(135deg, hsl(43,90%,50%), hsl(35,95%,55%));
  color: hsl(20,60%,15%);
  box-shadow: 0 3px 12px hsla(43,85%,50%,.35);
}

/* ── Website Sponsors ── */
.website-sponsors-section {
  background: linear-gradient(135deg, hsl(20,60%,12%) 0%, var(--maroon) 60%, hsl(350,55%,28%) 100%);
}
.website-sponsors-section .section-heading h2 { color: white; }
.website-sponsors-section .section-heading p  { color: rgba(255,255,255,.75); }
.website-sponsors-section .divider { background: var(--gold); opacity: .7; }

.web-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .web-sponsors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .web-sponsors-grid { grid-template-columns: 1fr 1fr; } }

.web-sponsor-card {
  background: rgba(255,255,255,.07);
  border: 2px solid hsla(43,80%,55%,.35);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.web-sponsor-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, hsla(43,80%,55%,.08), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.web-sponsor-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); border-color: var(--gold); }
.web-sponsor-card:hover::before { opacity: 1; }

.wsc-icon {
  font-size: 2.25rem;
  margin-bottom: .85rem;
  display: block;
  filter: drop-shadow(0 2px 8px hsla(43,80%,55%,.4));
}
.web-sponsor-card h3 {
  font-size: 1rem; font-weight: 700;
  color: white;
  margin-bottom: .35rem;
  line-height: 1.35;
}
.web-sponsor-card p {
  font-size: .8125rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: .03em;
}

/* ── Bottom CTA Grid ── */
.bottom-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) { .bottom-cta-grid { grid-template-columns: 1fr; } }
.bcta-card {
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-elev);
}
.bcta-pdf    { background: linear-gradient(135deg, hsl(20,60%,12%) 0%, var(--maroon) 60%, hsl(350,55%,28%) 100%); color: white; border: 2px solid hsla(43,80%,55%,.25); box-shadow: 0 8px 32px hsla(350,60%,25%,.3); }
.bcta-donate { background: linear-gradient(135deg, hsl(43,80%,55%), hsl(35,80%,48%)); color: var(--maroon); }
.bcta-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.bcta-icon svg { width: 2rem; height: 2rem; }
.bcta-card h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: .75rem; }
.bcta-card p  { font-size: .9375rem; line-height: 1.65; margin-bottom: 1.25rem; opacity: .9; }
.bcta-bank {
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: .9375rem;
  line-height: 1.7;
  text-align: left;
}
.bcta-bank strong { font-weight: 700; }

/* ════════════════════════════════════════════
   KALYANA RATHOTSAVAM SECTION
════════════════════════════════════════════ */

.kalyana-section { background: linear-gradient(180deg, hsl(40,50%,97%) 0%, hsl(35,60%,93%) 100%); }

.kalyana-banner {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 40px hsla(20,40%,15%,.12), 0 0 0 3px var(--gold);
  border: 3px solid var(--gold);
}

/* ── Banner Header ── */
.kalyana-banner-header {
  background: linear-gradient(135deg, hsl(20,90%,38%) 0%, hsl(25,95%,50%) 50%, hsl(43,80%,55%) 100%);
  color: white;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}
.kalyana-banner-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.kalyana-mantra-row {
  font-size: .875rem;
  font-weight: 600;
  color: hsl(45,90%,85%);
  letter-spacing: .08em;
  margin-bottom: 1rem;
  opacity: .9;
}
.kalyana-dept {
  font-size: .9375rem;
  font-weight: 600;
  color: hsl(45,90%,85%);
  margin-bottom: .75rem;
  letter-spacing: .04em;
}
.kalyana-main-title {
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 700;
  color: white;
  line-height: 1.35;
  margin-bottom: .75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.kalyana-subtitle-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2rem;
  padding: .3rem 1.25rem;
  font-size: .9375rem;
  color: hsl(45,90%,90%);
  margin-bottom: 1.25rem;
}
.kalyana-location-line {
  font-size: 1rem;
  color: hsl(45,80%,88%);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-bottom: .5rem;
}
.inline-icon {
  width: 1.1em; height: 1.1em;
  display: inline-block; vertical-align: middle; flex-shrink: 0;
  stroke: currentColor;
}
.kalyana-date-range {
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(45,95%,90%);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-bottom: 1.25rem;
}
.kalyana-live-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: hsl(142,70%,35%);
  color: white;
  font-size: .875rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 0 0 3px hsl(142,70%,55%,.4);
  animation: pulse-badge 2s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 3px hsl(142,70%,55%,.4); }
  50% { box-shadow: 0 0 0 6px hsl(142,70%,55%,.15); }
}

/* ── Highlights ── */
.kalyana-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 3px solid var(--gold);
}
@media (max-width: 600px) { .kalyana-highlights { grid-template-columns: 1fr; } }

.highlight-box {
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
}
.highlight-box + .highlight-box {
  border-left: 2px solid var(--border);
}
@media (max-width: 600px) {
  .highlight-box + .highlight-box { border-left: none; border-top: 2px solid var(--border); }
}
.highlight-kalyanam { background: linear-gradient(135deg, hsl(330,80%,97%) 0%, hsl(330,60%,93%) 100%); }
.highlight-rathotsavam { background: linear-gradient(135deg, hsl(210,80%,97%) 0%, hsl(210,60%,93%) 100%); }

.highlight-icon { font-size: 2.25rem; margin-bottom: .5rem; display: flex; align-items: center; justify-content: center; }
.highlight-kalyanam .highlight-icon { color: hsl(330,55%,35%); }
.highlight-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .5rem;
}
.highlight-kalyanam h3  { color: hsl(330,55%,35%); }
.highlight-rathotsavam h3 { color: hsl(210,55%,35%); }
.highlight-tithi { font-size: .875rem; color: var(--muted-fg); margin-bottom: .25rem; }
.highlight-date {
  display: inline-block;
  background: var(--maroon);
  color: white;
  font-size: 1rem; font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 2rem;
  margin: .4rem 0 .6rem;
}
.highlight-kalyanam  .highlight-date { background: hsl(330,55%,35%); }
.highlight-rathotsavam .highlight-date { background: hsl(210,55%,35%); }
.highlight-time { font-size: .9375rem; font-weight: 600; color: var(--saffron-dark); margin-bottom: .5rem; }
.highlight-desc { font-size: .9375rem; color: var(--foreground); line-height: 1.55; }

/* ── Schedule ── */
.kalyana-schedule {
  padding: 2.25rem 2rem;
  border-top: 2px solid var(--border);
  background: var(--cream);
}
.schedule-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.schedule-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 1.25rem;
  padding-left: .25rem;
}
.schedule-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.schedule-dot {
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 3px solid var(--gold);
  margin-top: .35rem;
  box-shadow: 0 0 0 3px hsla(25,95%,50%,.2);
}
.schedule-content { flex: 1; }
.schedule-date-badge {
  display: inline-block;
  background: var(--saffron-dark);
  color: white;
  font-size: .8125rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 2rem;
  margin-bottom: .4rem;
}
.schedule-content p {
  font-size: .9375rem;
  color: var(--foreground);
  line-height: 1.6;
}
.schedule-content p strong { color: var(--maroon); font-weight: 700; }

/* ── Donation ── */
.kalyana-donation {
  border-top: 2px solid var(--border);
  background: linear-gradient(135deg, hsl(43,80%,97%) 0%, hsl(35,60%,93%) 100%);
  padding: 2rem;
}
.donation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.25rem;
}
@media (max-width: 600px) { .donation-inner { grid-template-columns: 1fr; } }
.donation-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .5rem;
}
.donation-text p { font-size: .9375rem; color: var(--muted-fg); line-height: 1.6; }
.donation-bank {
  background: white;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.bank-label { font-size: .8125rem; font-weight: 700; color: var(--muted-fg); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .05em; }
.bank-name { font-size: 1rem; font-weight: 700; color: var(--maroon); margin-bottom: .35rem; }
.bank-detail { font-size: .9375rem; color: var(--foreground); }
.donation-org {
  text-align: center;
  font-size: .9375rem;
  color: var(--muted-fg);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.donation-org strong { color: var(--maroon); }

.kalyana-download {
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 1.25rem;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--maroon);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: .75rem 1.75rem;
  border-radius: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 16px hsla(350,60%,25%,.25);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-download svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn-download:hover {
  background: var(--maroon-light);
  box-shadow: 0 6px 24px hsla(350,60%,25%,.35);
  transform: translateY(-2px);
}
.download-hint {
  margin-top: .6rem;
  font-size: .8125rem;
  color: var(--muted-fg);
}

/* ── Print styles ── */
@media print {
  .site-header, .nav-mobile, .hero-slider, .cta-section,
  .slider-btn, .slider-dots, .lightbox, .nav-toggle { display: none !important; }
  .hero-banner { height: auto; padding: 2rem 0; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Flash alert ── */
.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  line-height: 1.5;
}
.contact-alert svg { flex-shrink: 0; margin-top: .1rem; }
.contact-alert-error {
  background: hsl(0, 80%, 96%);
  border: 1px solid hsl(0, 70%, 80%);
  color: hsl(0, 55%, 35%);
}

/* ── Two-column grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ── Form card ── */
.contact-card {
  padding: 2rem;
}
@media (max-width: 480px) {
  .contact-card { padding: 1.25rem; }
}
.contact-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}

/* ── Honeypot: visually hidden, but not display:none (accessibility) ── */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* ── Form groups ── */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: .4rem;
  -webkit-user-select: none;
  user-select: none;
}
.required-star {
  color: var(--saffron);
  margin-left: .15rem;
}
.form-optional {
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted-fg);
}

/* ── Inputs & Textarea ── */
.form-input {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-family: 'Noto Serif Telugu', serif;
  font-size: .95rem;
  color: var(--foreground);
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-user-select: text;
  user-select: text;
}
.form-input:hover {
  border-color: var(--saffron-light);
}
.form-input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px hsla(25,95%,50%,.15);
}
.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* Valid / Invalid states */
.form-group.has-success .form-input {
  border-color: hsl(145, 60%, 40%);
  box-shadow: 0 0 0 2px hsla(145,60%,40%,.12);
}
.form-group.has-error .form-input {
  border-color: hsl(0, 70%, 55%);
  box-shadow: 0 0 0 2px hsla(0,70%,55%,.12);
}

/* ── Inline error ── */
.form-error {
  display: block;
  min-height: 1.2em;
  font-size: .8rem;
  color: hsl(0, 60%, 45%);
  margin-top: .3rem;
}

/* ── Hint text ── */
.form-hint {
  display: block;
  font-size: .78rem;
  color: var(--muted-fg);
  margin-top: .25rem;
}

/* ── Row with space-between (counter) ── */
.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}

/* ── Character counter ── */
.form-counter {
  font-size: .78rem;
  color: var(--muted-fg);
  white-space: nowrap;
  margin-top: .3rem;
  flex-shrink: 0;
}
.form-counter.counter-warn  { color: hsl(38, 90%, 42%); }
.form-counter.counter-limit { color: hsl(0, 65%, 50%); font-weight: 600; }

/* ── CAPTCHA group ── */
.captcha-group { margin-top: 1rem; }
.captcha-input {
  max-width: 140px;
  -moz-appearance: textfield;
}
.captcha-input::-webkit-outer-spin-button,
.captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ── Submit button ── */
.contact-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  gap: .6rem;
  justify-content: center;
  font-size: 1rem;
  padding: .8rem 1.5rem;
}
.contact-submit-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.contact-submit-btn.btn-loading-state {
  pointer-events: none;
}

/* ── Info column ── */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-card);
}
.info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px hsla(25,95%,50%,.35);
}
.info-card h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .35rem;
  text-align: left;
}
.info-card p,
.info-card address {
  font-size: .875rem;
  color: var(--muted-fg);
  line-height: 1.65;
  text-align: left;
}
.info-card address small {
  font-size: .78rem;
  color: var(--saffron-dark);
}
.info-phone {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
}
.info-phone:hover { color: var(--saffron-dark); text-decoration: underline; }
.info-phone svg   { flex-shrink: 0; }

/* footer phone link */
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
  font-size: .875rem;
  color: var(--gold-light);
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-phone svg   { flex-shrink: 0; }
.contact-link {
  color: var(--saffron-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.contact-link:hover { color: var(--maroon); }

/* ── Map ── */
.map-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--maroon);
  padding: .85rem 1.25rem .6rem;
  border-bottom: 1px solid var(--border);
}
.map-container {
  width: 100%;
  overflow: hidden;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
@media (min-width: 768px) {
  .map-container iframe { height: 320px; }
}
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--saffron-dark);
  text-decoration: none;
  border-top: 1px solid var(--border);
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.map-directions-link:hover {
  background: var(--muted);
  color: var(--maroon);
}

/* ── Thank You page ── */
.thankyou-wrap {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.thankyou-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(145,60%,40%), hsl(145,55%,30%));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 4px 24px hsla(145,60%,40%,.35);
}
.thankyou-wrap h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1rem;
}
.ty-msg {
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.ty-sub {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.ty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.gold-text { color: var(--saffron-dark); }

/* ═══════════════════════════════════════════════════════════
   HANUMAN ANIMATION  (image-based)
   ═══════════════════════════════════════════════════════════ */

/* Outer wrapper */
.hanuman-float {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;   /* tall enough for full vertical float range */
  pointer-events: none;
  z-index: 9999;
  overflow: visible;
}

/* ── Hanuman image ── */
.hanuman-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 115px;
  height: 150px;
  object-fit: contain;
  transform-origin: center bottom;
  will-change: transform;
  /* ambient glow while walking */
  filter: drop-shadow(0 6px 16px rgba(234,88,12,0.4))
          drop-shadow(0 0 8px rgba(251,191,36,0.3));
  animation: hanuman-glow 2s ease-in-out infinite alternate;
}

@keyframes hanuman-glow {
  from {
    filter: drop-shadow(0 6px 16px rgba(234,88,12,0.35))
            drop-shadow(0 0  8px rgba(251,191,36,0.25));
  }
  to {
    filter: drop-shadow(0 6px 24px rgba(249,115,22,0.7))
            drop-shadow(0 0 20px rgba(253,230,138,0.6));
  }
}

/* ── Brief flash when turning at edge ── */
.hanuman-turn {
  animation: hanuman-flash 0.4s ease-in-out infinite alternate !important;
}
@keyframes hanuman-flash {
  from {
    filter: drop-shadow(0 0 18px rgba(253,230,138,0.9))
            drop-shadow(0 0 36px rgba(249,115,22,0.8));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.9))
            drop-shadow(0 0 50px rgba(253,230,138,1));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hanuman-float { height: 220px; }
  .hanuman-img   { width: 80px; height: 105px; }
}
