/* =====================================================================
   SUMIRAN — Core Stylesheet
   Premium spiritual design system: Saffron + Red + White + Cream + Gold
   ===================================================================== */

:root {
  /* Brand colors */
  --saffron: #f57c00;
  --saffron-deep: #e65100;
  --red: #b71c1c;
  --vermilion: #d84315;
  --white: #ffffff;
  --cream: #fff8ed;
  --gold: #d4a017;
  --brown: #3e2723;

  --gradient-divine: linear-gradient(135deg, #f57c00, #b71c1c);
  --gradient-soft: linear-gradient(135deg, #fff8ed, #ffffff);
  --gradient-gold: linear-gradient(135deg, #d4a017, #f57c00);

  --text-main: #3e2723;
  --text-muted: #7a5c4f;
  --bg-body: #fff8ed;
  --bg-card: #ffffff;
  --border-soft: rgba(212, 160, 23, 0.25);

  --shadow-soft: 0 10px 30px rgba(183, 28, 28, 0.08);
  --shadow-card: 0 8px 24px rgba(62, 39, 35, 0.08);
  --shadow-gold: 0 0 24px rgba(212, 160, 23, 0.35);

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-serif: "Playfair Display", "Noto Sans Devanagari", serif;
  --font-sans: "Poppins", "Mukta", sans-serif;
  --font-hindi: "Noto Sans Devanagari", "Mukta", sans-serif;

  --container-w: 1200px;
  --nav-height: 84px;
  --nav-height-scrolled: 68px;
}

/* ---------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

.hi,
[lang="hi"] {
  font-family: var(--font-hindi);
}
.en {
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--brown);
  line-height: 1.25;
}
h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
}
p {
  color: var(--text-main);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.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-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
  position: relative;
}
.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-hindi);
  color: var(--red);
  background: rgba(245, 124, 0, 0.1);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.section-header h2 {
  margin-bottom: 10px;
}
.section-header .sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 18px auto;
  border-radius: 3px;
}

/* Lotus separator */
.lotus-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0;
  color: var(--gold);
}
.lotus-separator::before,
.lotus-separator::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--border-soft);
}

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-divine);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(183, 28, 28, 0.25);
}
.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
.btn-gold {
  background: var(--gradient-gold);
  color: #3e2723;
}
.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}
.btn-donate {
  background: var(--gradient-divine);
  color: #fff;
  padding: 11px 26px;
}
.btn-donate:hover {
  box-shadow: var(--shadow-gold);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   Preloader
   --------------------------------------------------------------- */
#sumiran-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#sumiran-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
  position: relative;
}
.preloader-mandala {
  width: 180px;
  height: 180px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px dashed var(--gold);
  position: relative;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.12), transparent 70%);
}
.preloader-diya {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.diya-flame {
  width: 14px;
  height: 22px;
  background: linear-gradient(180deg, #ffeb3b, var(--saffron) 60%, var(--red));
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  margin: 0 auto;
  filter: blur(0.2px);
}
.diya-base {
  width: 46px;
  height: 14px;
  background: var(--gradient-gold);
  border-radius: 50%;
  margin-top: 2px;
}
.preloader-title {
  margin-top: 20px;
  font-family: var(--font-serif);
}
.preloader-title .hi {
  display: block;
  font-size: 1.8rem;
  color: var(--red);
  font-weight: 700;
}
.preloader-title .en {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--gold);
}
.preloader-bar {
  width: 160px;
  height: 4px;
  background: rgba(212, 160, 23, 0.25);
  margin: 16px auto 0;
  border-radius: 4px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gradient-divine);
  animation: preloader-slide 1.1s ease-in-out infinite;
}

/* ---------------------------------------------------------------
   Navbar
   --------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  background: transparent;
}
.navbar.scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(255, 248, 237, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(62, 39, 35, 0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-hi {
  font-family: var(--font-hindi);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--red);
}
.brand-en {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--gold);
}
.navbar:not(.scrolled) .brand-hi {
  color: #fff;
}
.navbar:not(.scrolled) .brand-en {
  color: #ffe0b2;
}

.navbar-nav ul {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}
.navbar-nav a {
  display: block;
  padding: 9px 12px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: var(--brown);
}
.navbar:not(.scrolled) .navbar-nav a {
  color: #fff;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(245, 124, 0, 0.12);
  color: var(--red);
}
.navbar:not(.scrolled) .navbar-nav a:hover,
.navbar:not(.scrolled) .navbar-nav a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Segmented EN | हिं language toggle — replaces the old single "switch" link.
   Both options are always visible with the active one highlighted, so the
   control communicates state at a glance instead of only naming the other
   language. Reused (with a mobile-specific variant) inside the slide-in
   panel for small screens. */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold);
  background: rgba(212, 160, 23, 0.08);
}
.navbar:not(.scrolled) .lang-toggle {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}
.lang-toggle .lang-option {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--gold);
  transition: all 0.25s ease;
  line-height: 1.2;
}
.navbar:not(.scrolled) .lang-toggle .lang-option {
  color: #fff;
}
.lang-toggle .lang-option:hover {
  background: rgba(212, 160, 23, 0.18);
}
.navbar:not(.scrolled) .lang-toggle .lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lang-toggle .lang-option.active {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.35);
}
.navbar:not(.scrolled) .lang-toggle .lang-option.active {
  background: #fff;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile-only nav-panel chrome: header row (label + close), the lang toggle
   duplicated for the slide-in panel, and the panel's own donate button.
   Hidden by default (desktop) and switched on inside the mobile breakpoint
   in responsive.css so they never affect desktop layout. */
.navbar-nav-head,
.lang-toggle-mobile,
.navbar-nav-donate {
  display: none;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  z-index: 1200;
  transition: background 0.25s ease;
}
.navbar-toggle:hover,
.navbar-toggle:focus-visible {
  background: rgba(245, 124, 0, 0.12);
}
.navbar:not(.scrolled) .navbar-toggle:hover,
.navbar:not(.scrolled) .navbar-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}
.navbar-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: 0.3s;
}
.navbar:not(.scrolled) .navbar-toggle span {
  background: #fff;
}
.navbar-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.navbar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(62, 39, 35, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.navbar-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(230, 81, 0, 0.85), rgba(183, 28, 28, 0.9)),
    url("../images/hero-temple.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 215, 140, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 215, 140, 0.2),
      transparent 40%
    );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 820px;
  padding-top: var(--nav-height);
}
.hero-content .hi-heading {
  font-family: var(--font-hindi);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.hero-content .en-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  color: #ffe0b2;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-content p {
  color: #fff3e0;
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
}
.hero-scroll .arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 8px auto 0;
}

.hero-rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  bottom: -10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd54f, transparent 70%);
}

/* ---------------------------------------------------------------
   Divine Quote carousel
   --------------------------------------------------------------- */
.quote-section {
  background: var(--gradient-soft);
  text-align: center;
  position: relative;
}
.quote-carousel {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-height: 180px;
}
.quote-slide {
  display: none;
  animation: fadeIn 0.8s ease;
}
.quote-slide.active {
  display: block;
}
.quote-slide .mark {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-serif);
}
.quote-slide .quote-hi {
  font-family: var(--font-hindi);
  font-size: 1.6rem;
  color: var(--red);
  font-weight: 600;
  margin: 10px 0;
}
.quote-slide .quote-en {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
}
.quote-slide .source {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}
.quote-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}
.quote-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-soft);
  border: none;
}
.quote-dots button.active {
  background: var(--gradient-divine);
  width: 26px;
  border-radius: 6px;
  transition: 0.3s;
}

/* ---------------------------------------------------------------
   Cards (generic)
   --------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border: 1px solid var(--border-soft);
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(183, 28, 28, 0.15);
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-img img {
  transform: scale(1.08);
}
.card-body {
  padding: 24px;
}
.card-body h3 {
  margin-bottom: 8px;
}
.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0;
  font-size: 0.85rem;
  color: var(--vermilion);
  font-weight: 600;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-footer {
  padding: 0 24px 24px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-upcoming {
  background: rgba(245, 124, 0, 0.15);
  color: var(--saffron-deep);
}
.badge-past {
  background: rgba(62, 39, 35, 0.1);
  color: var(--brown);
}

/* ---------------------------------------------------------------
   About / timeline
   --------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-divine);
  box-shadow: 0 0 0 6px rgba(245, 124, 0, 0.15);
}
.timeline-item h3 {
  margin-bottom: 6px;
  color: var(--red);
}
.timeline-item p {
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.value-card .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-card);
}
.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold);
}

/* ---------------------------------------------------------------
   Deity pages (Khatu Shyam / Krishna)
   --------------------------------------------------------------- */
.deity-hero {
  padding: 160px 0 90px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(216, 67, 21, 0.92), rgba(183, 28, 28, 0.92)),
    url("../images/deity-hero.jpg") center/cover;
}
.deity-hero h1.hi {
  font-family: var(--font-hindi);
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.deity-hero p {
  color: #fff3e0;
  max-width: 680px;
  margin: 14px auto 0;
}

/* Slim hero variant - used to give a colored band to a bare breadcrumb
   (e.g. blog-details.php) instead of it floating on a plain background. */
.deity-hero.hero-sm {
  padding: 150px 0 50px;
}
.deity-hero .breadcrumbs {
  padding: 0;
}
.deity-hero .breadcrumbs a {
  color: #ffe0b2;
}
.deity-hero .breadcrumbs li {
  color: #fff3e0;
}
.deity-hero .breadcrumbs li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.5);
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.feature-row.reverse {
  flex-direction: row-reverse;
}
.feature-row .feature-text {
  flex: 1;
}
.feature-row .feature-media {
  flex: 1;
}
.feature-row .feature-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.mahima-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mahima-card {
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
}
.mahima-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-divine);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.peacock-accent {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

.disclaimer-note {
  background: rgba(212, 160, 23, 0.1);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 20px 0;
}

/* ---------------------------------------------------------------
   Seva page
   --------------------------------------------------------------- */
.seva-cta {
  text-align: center;
  padding: 70px 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--gradient-divine);
  position: relative;
  overflow: hidden;
}
.seva-cta h2 {
  color: #fff;
}
.seva-cta p {
  color: #ffe0b2;
  max-width: 600px;
  margin: 14px auto 26px;
}

/* ---------------------------------------------------------------
   Counters
   --------------------------------------------------------------- */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.counter-item .num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
}
.counter-item .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   Forms
   --------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group.full {
  grid-column: 1/-1;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brown);
}
.form-group .req {
  color: var(--red);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: 0.3s;
  color: var(--text-main);
}
.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.12);
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
}
.field-error {
  color: var(--red);
  font-size: 0.82rem;
  margin-top: 6px;
  display: none;
}
.form-group.has-error .form-control {
  border-color: var(--red);
}
.form-group.has-error .field-error {
  display: block;
}
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.form-feedback {
  font-size: 0.88rem;
  margin-top: 10px;
}
.form-feedback.success {
  color: #2e7d32;
}
.form-feedback.error {
  color: var(--red);
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-weight: 500;
}
.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}
.alert-error {
  background: #ffebee;
  color: var(--red);
  border: 1px solid #ef9a9a;
}

/* ---------------------------------------------------------------
   Donation page
   --------------------------------------------------------------- */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 10px;
}
.amount-option {
  display: block;
  text-align: center;
  padding: 18px 10px;
  border: 2px solid var(--border-soft);
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  background: #fff;
}
.amount-option:hover {
  border-color: var(--saffron);
}
.amount-option.selected {
  border-color: var(--red);
  background: var(--gradient-divine);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.amount-option input {
  display: none;
}

.donation-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.trust-badge {
  flex: 1;
  min-width: 160px;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------------------------------------------------------
   Gallery / masonry
   --------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.gallery-filters button {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  background: #fff;
  font-weight: 600;
  font-size: 0.88rem;
}
.gallery-filters button.active {
  background: var(--gradient-divine);
  color: #fff;
  border-color: transparent;
}
.masonry {
  columns: 4 220px;
  column-gap: 18px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.masonry-item img {
  width: 100%;
  transition: transform 0.5s ease;
}
.masonry-item:hover img {
  transform: scale(1.06);
}
.masonry-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  color: #fff;
  font-size: 0.85rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
  opacity: 0;
  transition: 0.3s;
}
.masonry-item:hover .cap {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 8, 0.92);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: none;
}

/* ---------------------------------------------------------------
   Media page
   --------------------------------------------------------------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.media-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.media-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.media-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------------------------------------------------------
   Blog
   --------------------------------------------------------------- */
.blog-content {
  font-size: 1.05rem;
  line-height: 1.9;
}
.blog-content p {
  margin-bottom: 1.2em;
}
.blog-content h2,
.blog-content h3 {
  margin: 1.4em 0 0.6em;
}
.blog-meta {
  display: flex;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.related-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.share-buttons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--red);
  font-weight: 700;
}

/* ---------------------------------------------------------------
   Testimonials
   --------------------------------------------------------------- */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
}
.testimonial-card .quote-icon {
  color: var(--gold);
  font-size: 2rem;
  font-family: var(--font-serif);
}
.testimonial-card .city {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------------- */
.breadcrumbs {
  padding: 130px 0 20px;
}
.breadcrumbs ol {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--vermilion);
  font-weight: 600;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--border-soft);
}

/* ---------------------------------------------------------------
   Pagination
   --------------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.pagination a:hover {
  border-color: var(--saffron);
  color: var(--saffron-deep);
}
.pagination .current {
  background: var(--gradient-divine);
  color: #fff;
  border-color: transparent;
}

/* ---------------------------------------------------------------
   Newsletter input
   --------------------------------------------------------------- */
.newsletter-input-group {
  display: flex;
  gap: 0;
}
.newsletter-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border-soft);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: #fff;
  color: var(--text-main);
}
.newsletter-input-group button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--brown);
  color: #efdfcb;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 124, 0, 0.25), transparent 70%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}
.site-footer .brand-hi {
  color: #ffcc80;
}
.site-footer .brand-en {
  color: var(--gold);
}
.footer-tagline {
  font-family: var(--font-hindi);
  color: var(--gold);
  margin: 10px 0 6px;
  font-weight: 600;
}
.footer-about {
  font-size: 0.9rem;
  color: #d7c4b0;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.social-icon:hover {
  background: var(--gradient-divine);
}
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 10px;
}
.footer-links a,
.footer-legal a,
.footer-contact a {
  color: #d7c4b0;
  font-size: 0.92rem;
}
.footer-links a:hover,
.footer-legal a:hover {
  color: var(--gold);
}
.footer-contact ul li {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #d7c4b0;
}
.footer-newsletter {
  margin-top: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #b79e8a;
}

/* ---------------------------------------------------------------
   Back to top
   --------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-divine);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.35s;
  z-index: 900;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: var(--shadow-gold);
}

/* ---------------------------------------------------------------
   404 / empty states
   --------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 14px;
}
