﻿:root {
  --navy: #0d3c66;
  --navy-deep: #08243f;
  --gold: #d69a35;
  --gold-soft: #f7e2b6;
  --cream: #f8f3eb;
  --paper: #fffdf8;
  --ink: #193049;
  --muted: #66778a;
  --line: rgba(14, 52, 86, 0.12);
  --shadow: 0 20px 50px rgba(10, 31, 52, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(214, 154, 53, 0.08), transparent 35%),
    linear-gradient(180deg, #fffef9 0%, #f6efe4 100%);
}

.header-fixed {
  position: relative;
  z-index: 40;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.top-strip {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: #fff;
  font-size: 0.92rem;
}

.top-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.top-strip__marquee span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: top-strip-marquee 14s linear infinite;
}

@keyframes top-strip-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.top-strip__right {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  opacity: 0.92;
}

.site-header {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 260px;
  max-width: 260px;
  min-width: 0;
}

.brand__mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fdf4df, #f4cf89);
  box-shadow: inset 0 0 0 1px rgba(214, 154, 53, 0.2);
  font-size: 1.8rem;
}

.brand__mark img,
.footer-brand__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__text strong {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(0.9rem, 1.05vw, 1.12rem);
  line-height: 1.1;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}

.site-nav a {
  padding: 9px 7px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--navy);
  background: rgba(13, 60, 102, 0.08);
}

.site-nav__dropdown {
  position: relative;
  display: inline-flex;
}

.site-nav__dropdown-arrow {
  margin-left: 3px;
  font-size: 0.72em;
}

.site-nav__dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  min-width: 175px;
  padding: 8px;
  border: 1px solid rgba(13, 60, 102, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 35px rgba(16, 39, 65, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: 0.2s ease;
}

.site-nav__dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
}

.site-nav__dropdown:hover .site-nav__dropdown-menu,
.site-nav__dropdown:focus-within .site-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__cta {
  background: linear-gradient(180deg, var(--navy), #0a2f52);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(13, 60, 102, 0.24);
}

.site-nav__icon-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0 !important;
  font-size: 1.12rem !important;
  line-height: 1;
}

.language-menu {
  position: relative;
  display: inline-flex;
}

.language-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(260px, calc(100vw - 24px));
  padding: 12px 10px;
  border: 1px solid rgba(214, 154, 53, 0.5);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: var(--shadow);
  display: none;
}

.language-menu__panel[hidden] {
  display: none !important;
}

.language-menu.is-open .language-menu__panel {
  display: block;
}

.language-menu__title {
  display: block;
  margin: 0 0 9px;
  color: #6d4b16;
  font-size: 0.84rem;
  font-weight: 700;
}

.language-menu__search {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 0 13px;
  border: 1px solid rgba(214, 154, 53, 0.46);
  border-radius: 12px;
  outline: 2px solid rgba(214, 154, 53, 0.12);
  background: #fff;
  color: var(--ink);
}

.language-menu__list {
  max-height: 256px;
  display: grid;
  gap: 7px;
  overflow-y: auto;
  padding-right: 6px;
}

.language-menu__option {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 154, 53, 0.34);
  border-radius: 8px;
  background: #fff;
  color: #8a159a;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.language-menu__option:hover,
.language-menu__option.is-active {
  border-color: var(--gold);
  background: rgba(214, 154, 53, 0.09);
}

.goog-te-gadget,
.goog-te-gadget span,
.goog-te-gadget img,
.goog-te-gadget-simple,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-menu-value,
.goog-te-combo,
iframe.goog-te-banner-frame,
iframe.goog-te-menu-frame,
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

.google-translate-source,
#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: auto;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body {
  top: 0 !important;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 10px;
}

.hero {
  padding: 22px 0 18px;
}

.hero--home {
  padding-top: 0;
}

.hero--home .hero-card {
  min-height: 390px;
  margin-inline: 0;
  padding: 36px clamp(24px, 8vw, 110px);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: url('../images/hero-temple-original.png') center / cover no-repeat;
}

.hero--home > .container {
  width: 100%;
  max-width: none;
}

.hero--home .hero-card::before {
  background: linear-gradient(90deg, rgba(5, 35, 59, 0.08), rgba(5, 35, 59, 0.18));
  opacity: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 18px;
}

.hero-card,
.panel-card,
.info-card,
.mini-card,
.content-card,
.gallery-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card {
  min-height: 620px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(6, 26, 45, 0.72), rgba(6, 26, 45, 0.16)),
    url('../images/hero-temple.png') center / cover no-repeat;
  color: #fff;
  display: grid;
  align-items: end;
  position: relative;
  padding: 34px;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 36%, rgba(255, 180, 78, 0.9) 0 6px, transparent 7px),
    radial-gradient(circle at 20% 48%, rgba(214, 154, 53, 0.45) 0 30px, transparent 31px),
    linear-gradient(180deg, transparent 56%, rgba(9, 34, 58, 0.95) 100%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-card__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero--home .hero-card__content {
  width: min(55%, 650px);
  margin-right: 4%;
}

.hero--home .hero-card h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  line-height: 1.06;
}

.hero--home .hero-card p {
  margin: 14px 0 0;
  font-size: 1rem;
}

.hero-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero-arrow--left { left: 22px; }
.hero-arrow--right { right: 22px; }

.eyebrow {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1dbb0;
  margin-bottom: 10px;
}

.hero-card h1,
.section-title {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  margin: 0;
}

.hero-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.98;
}

.hero-card p {
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  border: 0;
}

.btn--gold {
  background: linear-gradient(180deg, #e3b357, #c88c25);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--navy {
  background: linear-gradient(180deg, var(--navy), #082c4c);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hero-quote {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
}

.info-bar {
  background: #fffdf8;
  border-bottom: 1px solid rgba(214, 154, 53, 0.16);
  box-shadow: 0 8px 22px rgba(16, 39, 65, 0.07);
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.info-bar__item {
  min-height: 78px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.info-bar__item:hover {
  background: #fff8e9;
}

.info-bar__item:last-child {
  border-right: 0;
}

.info-bar__item strong,
.info-bar__item small {
  display: block;
}

.info-bar__item strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.info-bar__item small {
  color: var(--muted);
  margin-top: 4px;
}

.info-symbol {
  color: var(--gold);
  font-size: 1.65rem;
  min-width: 28px;
  text-align: center;
}

.live-dot {
  color: #1d9b5f;
}

.new-badge {
  color: #fff;
  background: #e33a3a;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.68rem;
  margin-left: 5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-side {
  display: grid;
  gap: 18px;
}

.panel-card {
  min-height: 301px;
  border-radius: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(4, 18, 30, 0.12), rgba(4, 18, 30, 0.78)),
    url('../images/temple-interior.png') center / cover no-repeat;
}

.panel-card h2 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: 1.9rem;
  margin: 0 0 8px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.tabs span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.panel-grid {
  display: grid;
  gap: 12px;
}

.mini-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.mini-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f9e5be, #efbe68);
  color: var(--navy);
  font-size: 1.4rem;
  flex: none;
}

.mini-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-strip {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.info-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.info-card strong {
  color: var(--navy);
}

.section {
  padding: 30px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.section-heading .section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--navy);
}

.section-heading p {
  color: var(--muted);
  margin: 8px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 154, 53, 0.16);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16, 39, 65, 0.08);
}

.digital-services {
  background:
    radial-gradient(circle at 6% 50%, rgba(214, 154, 53, 0.08), transparent 18%),
    radial-gradient(circle at 94% 50%, rgba(214, 154, 53, 0.08), transparent 18%);
}

.service-card--photo {
  position: relative;
  padding: 0 12px 16px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__image {
  height: 142px;
  margin: -1px -1px 0;
  background-position: center;
  background-size: cover;
  border-radius: 14px 14px 0 0;
}

.service-card__image--seva { background-image: url('../images/services/seva-diya.png'); }
.service-card__image--niwas { background-image: url('../images/services/bhakti-niwas.png'); }
.service-card__image--donation { background-image: url('../images/services/online-donation.png'); }
.service-card__image--dan { background-image: url('../images/services/e-dan-pethi.png'); }
.service-card__image--shop { background-image: url('../images/services/temple-shop.png'); }
.service-card__image--events { background-image: url('../images/services/events-festivals.png'); }

.service-card__seal {
  width: 48px;
  height: 48px;
  margin: -24px auto 10px;
  position: relative;
  display: grid;
  place-items: center;
  border: 4px solid #fffdf8;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff8e7, #edc37c);
  color: var(--gold);
  font-size: 1.45rem;
}

.service-card--photo h3 {
  min-height: 42px;
  margin-bottom: 8px;
}

.service-card--photo p {
  min-height: 48px;
  line-height: 1.45;
}

.service-card--photo .btn {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border-radius: 9px;
  padding-inline: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
}

.service-card .icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section--soft {
  background: rgba(255, 250, 240, 0.7);
}

.section-kicker {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.about-intro,
.story-grid,
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-intro__image,
.story-image {
  padding: 0;
  min-height: 330px;
}

.about-intro__image img,
.story-image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.about-intro__copy,
.story-card,
.detail-card {
  padding: 28px;
}

.about-intro__copy h2,
.story-card h2,
.detail-card h2 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  color: var(--navy);
  margin: 8px 0 14px;
}

.about-intro__copy p,
.story-card p,
.detail-card p {
  line-height: 1.75;
  color: var(--muted);
}

.heritage-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.heritage-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 154, 53, 0.16);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16, 39, 65, 0.07);
}

.heritage-card__icon,
.detail-icon {
  color: var(--gold);
  font-size: 2rem;
}

.heritage-card h3 {
  color: var(--navy);
  margin: 12px 0 8px;
}

.heritage-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.story-grid--reverse .story-image {
  order: 1;
}

.detail-card__heading {
  display: flex;
  align-items: start;
  gap: 14px;
}

.detail-card__heading h2 {
  margin-top: 0;
}

.detail-card__heading p {
  margin-top: -8px;
}

.about-history {
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 154, 53, 0.12), transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(13, 60, 102, 0.08), transparent 25%),
    rgba(255, 250, 240, 0.45);
}

.about-history .section-heading {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 28px;
}

.about-history__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.about-history__card {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 154, 53, 0.22);
  border-top: 4px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(16, 39, 65, 0.09);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-history__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 39, 65, 0.14);
}

.about-history__card[open] {
  grid-column: 1 / -1;
  background: #fff;
}

.about-history__card summary,
.about-history__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 22px 24px;
  list-style: none;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(255, 251, 242, 0.98), rgba(255, 255, 255, 0.98));
}

.about-history__card summary {
  cursor: pointer;
}

.about-history__card summary::-webkit-details-marker {
  display: none;
}

.about-history__number {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(214, 154, 53, 0.35);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff7df, #edc37c);
  color: var(--navy-deep);
  box-shadow: 0 8px 18px rgba(214, 154, 53, 0.2);
  font-size: 0.92rem;
  font-weight: 800;
}

.about-history__summary-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.about-history__title {
  display: block;
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 700;
  line-height: 1.45;
}

.about-history__preview {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-history__inline {
  display: block;
  color: #46586a;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-history__toggle::after {
  content: 'Read More  →';
  display: inline-block;
  padding: 10px 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 60, 102, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.about-history__card[open] .about-history__toggle::after {
  content: 'Show Less  ↑';
}

.about-history__card[open] .about-history__preview {
  display: none;
}

.about-history__content {
  padding: 4px 26px 26px;
  border-top: 1px solid rgba(214, 154, 53, 0.18);
  color: var(--ink);
}

.about-history__card--compact .about-history__header {
  min-height: 132px;
}

.about-history__content p {
  margin: 12px 0 0;
  color: #46586a;
  font-size: 0.96rem;
  line-height: 1.75;
}

.about-history__content ul,
.about-history__content ol {
  margin: 14px 0 2px;
  padding: 14px 18px 14px 38px;
  border-radius: 14px;
  background: rgba(255, 248, 232, 0.72);
  color: var(--ink);
}

.about-history__card[open] .about-history__content ul {
  columns: 2;
  column-gap: 42px;
}

.about-history__content li {
  margin: 6px 0;
  padding-left: 3px;
  line-height: 1.6;
  break-inside: avoid;
}

.about-history__content li::marker {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 900px) {
  .about-history__grid {
    grid-template-columns: 1fr;
  }

  .about-history__card[open] {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .about-history__grid {
    gap: 16px;
  }

  .about-history__card summary,
  .about-history__header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: auto;
    padding: 18px;
  }

  .about-history__number {
    width: 44px;
    height: 44px;
  }

  .about-history__toggle {
    grid-column: 1 / -1;
  }

  .about-history__toggle::after {
    width: 100%;
    text-align: center;
  }

  .about-history__content {
    padding: 2px 18px 20px;
  }

  .about-history__card[open] .about-history__content ul {
    columns: 1;
  }
}

.parisar-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(214, 154, 53, 0.1), transparent 22%),
    radial-gradient(circle at 92% 88%, rgba(13, 60, 102, 0.08), transparent 24%),
    #fffdf8;
}

.parisar-heading {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.parisar-list {
  display: grid;
  gap: 26px;
}

.parisar-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(214, 154, 53, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(16, 39, 65, 0.1);
}

.parisar-card:nth-child(even) .parisar-card__image {
  order: 2;
}

.parisar-card:nth-child(even) .parisar-card__content {
  order: 1;
}

.parisar-card__image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--navy-deep);
}

.parisar-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 31, 53, 0.28));
  pointer-events: none;
}

.parisar-card__image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.parisar-card:hover .parisar-card__image img {
  transform: scale(1.035);
}

.parisar-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
}

.parisar-card__number {
  align-self: flex-start;
  min-width: 54px;
  margin-bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3cf, #efc77e);
  color: var(--navy-deep);
  font-weight: 800;
  text-align: center;
}

.parisar-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.3;
}

.parisar-card h3 {
  margin: 14px 0 7px;
  color: var(--gold-dark);
  font-size: 1rem;
}

.parisar-card p {
  margin: 6px 0;
  color: #46586a;
  line-height: 1.7;
}

.parisar-card__distance {
  align-self: flex-start;
  margin: 2px 0 9px;
  padding: 9px 13px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 247, 224, 0.9);
  color: var(--ink);
}

.parisar-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.parisar-card li {
  position: relative;
  padding-left: 20px;
  color: #46586a;
  line-height: 1.55;
}

.parisar-card li::before {
  content: '◆';
  position: absolute;
  top: 0.18em;
  left: 0;
  color: var(--gold);
  font-size: 0.68em;
}

.parisar-card__note {
  margin-top: 14px !important;
  font-size: 0.84rem;
  font-style: italic;
}

@media (max-width: 820px) {
  .parisar-card {
    grid-template-columns: 1fr;
  }

  .parisar-card:nth-child(even) .parisar-card__image,
  .parisar-card:nth-child(even) .parisar-card__content {
    order: initial;
  }

  .parisar-card__image,
  .parisar-card__image img {
    min-height: 250px;
    max-height: 320px;
  }
}

@media (max-width: 560px) {
  .parisar-card {
    border-radius: 20px;
  }

  .parisar-card__content {
    padding: 24px 20px 28px;
  }

  .parisar-card ul {
    grid-template-columns: 1fr;
  }
}

.about-zigzag__details summary {
  display: grid;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.about-zigzag__details summary::-webkit-details-marker {
  display: none;
}

.about-zigzag__preview {
  color: #46586a;
  line-height: 1.75;
}

.about-zigzag__toggle {
  justify-self: start;
}

.about-zigzag__toggle::after {
  content: 'Read More  →';
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 60, 102, 0.18);
  font-size: 0.8rem;
  font-weight: 700;
}

.about-zigzag__details[open] .about-zigzag__toggle::after {
  content: 'Show Less  ↑';
}

.about-zigzag__details[open] .about-zigzag__preview {
  display: none;
}

.about-zigzag__details-content {
  margin-top: 18px;
  padding-top: 4px;
  border-top: 1px solid rgba(214, 154, 53, 0.22);
}

.about-zigzag__details-content p,
.about-zigzag__direct p {
  margin: 12px 0 0;
}

.about-zigzag__details-content ul,
.about-zigzag__details-content ol,
.about-zigzag__direct ul,
.about-zigzag__direct ol {
  margin-top: 14px;
}

.about-zigzag__card {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  min-height: 310px;
}

.about-zigzag__card:nth-child(even) {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
}

.about-zigzag__card .parisar-card__image {
  align-self: center;
  height: 260px;
  min-height: 0;
  margin: 24px;
  border-radius: 18px;
}

.about-zigzag__card .parisar-card__image img {
  height: 100%;
  min-height: 0;
}

@media (max-width: 820px) {
  .about-zigzag__card {
    grid-template-columns: 1fr;
  }

  .about-zigzag__card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .about-zigzag__card .parisar-card__image {
    width: calc(100% - 40px);
    height: 230px;
    margin: 20px 20px 0;
  }
}

.timing-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.timing-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.timing-list strong {
  color: var(--navy);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 1fr;
  gap: 16px;
}

.content-card,
.gallery-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 22px;
}

.content-card h3,
.gallery-card h3,
.contact-card h3 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  color: var(--navy);
  margin-top: 0;
}

.about-highlight {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(214, 154, 53, 0.14), transparent 40%),
    linear-gradient(180deg, #fffdf8, #f8ebd0);
}

.about-highlight .big-icon {
  font-size: 3.4rem;
  color: var(--gold);
}

.about-media {
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(4, 16, 28, 0.1), rgba(4, 16, 28, 0.45)),
    linear-gradient(135deg, #1d5a86, #09304b 60%, #c6892a);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}

.play-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: start;
  color: var(--ink);
}

.feature-list li::before {
  content: '✦';
  color: var(--gold);
  margin-top: 2px;
}

.events-layout,
.gallery-layout,
.contact-layout {
  display: grid;
  gap: 16px;
}

.events-layout {
  grid-template-columns: 1fr;
}

.event-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.event-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(16, 39, 65, 0.08);
}

.event-card__thumb {
  min-height: 150px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: url('../images/temple-interior.png') center / cover no-repeat;
}

.event-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card:nth-child(2) .event-card__thumb,
.gallery-item:nth-child(3),
.gallery-item:nth-child(6) {
  background-image: url('../images/temple-interior.png');
}

.event-card:nth-child(3) .event-card__thumb,
.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  background-image: url('../images/hero-temple.png');
}

.event-card__body {
  padding: 16px;
}

.event-card__body h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.event-card__body p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.event-card__body b {
  display: block;
  color: #d23f3f;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.event-card__body a {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
}

.shop-category-row {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 5vw, 64px);
  overflow-x: auto;
  padding: 4px 4px 12px;
}

.shop-category-item {
  flex: 0 0 185px;
  text-align: center;
}

.shop-category-item__image {
  width: 165px;
  height: 165px;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(16, 39, 65, 0.14);
}

.shop-category-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.shop-category-item h4 {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
}

.donate-banner {
  margin: 22px 0;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 36, 63, 0.92), rgba(19, 79, 128, 0.68)),
    url('../images/sunset-shrine.png') center / cover no-repeat;
  color: #fff;
}

.donate-banner__inner {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.donate-banner h3 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 8px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.amenity {
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 18px 12px;
  border: 1px solid rgba(13, 60, 102, 0.08);
}

.amenity .icon {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-item {
  min-height: 120px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.32)),
    url('../images/hero-temple.png') center / cover no-repeat;
  box-shadow: 0 10px 24px rgba(16, 39, 65, 0.1);
}

.gallery-grid:not(.gallery-grid--page) .gallery-item {
  overflow: hidden;
}

.gallery-grid:not(.gallery-grid--page) .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.gallery-grid--page {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-grid--page .gallery-item {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #f5ede1;
}

.gallery-grid--page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.cta-card__visual {
  min-height: 170px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 28, 48, 0.14), rgba(7, 28, 48, 0.55)),
    url('../images/temple-interior.png') center / cover no-repeat;
}

.cta-card:first-child .cta-card__visual {
  background:
    linear-gradient(180deg, rgba(7, 28, 48, 0.08), rgba(7, 28, 48, 0.35)),
    url('../images/bhakt.jpg') center / cover no-repeat;
}

.cta-card:last-child .cta-card__visual {
  background:
    linear-gradient(180deg, rgba(7, 28, 48, 0.12), rgba(7, 28, 48, 0.5)),
    url('../images/temple shop.jpg') center / cover no-repeat;
}

.about-media {
  background: url('../images/temple.jpeg') center / cover no-repeat;
}

.cta-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.reach-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(214, 154, 53, 0.1), transparent 22%),
    radial-gradient(circle at 92% 82%, rgba(13, 60, 102, 0.08), transparent 24%),
    #fffdf8;
}

.reach-seasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reach-season {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(214, 154, 53, 0.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 39, 65, 0.08);
}

.reach-season__icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff3cf, #efc77e);
  color: var(--navy);
  font-size: 1.45rem;
}

.reach-season h3,
.reach-season p {
  margin: 0;
}

.reach-season h3 {
  color: var(--navy);
  font-size: 1rem;
}

.reach-season p {
  margin-top: 5px;
  color: var(--muted);
}

.reach-routes__heading {
  margin-top: 42px;
}

.reach-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reach-route-card {
  padding: 26px;
  border: 1px solid rgba(13, 60, 102, 0.11);
  border-top: 4px solid var(--gold);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(16, 39, 65, 0.09);
}

.reach-route-card--rail {
  grid-column: 1 / -1;
}

.reach-route-card__label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(214, 154, 53, 0.15);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.reach-route-card h2 {
  margin: 13px 0 10px;
  color: var(--navy);
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.reach-route-card__path {
  margin: 0;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.8);
  color: #405468;
  line-height: 1.7;
}

.reach-route-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.reach-route-card__meta > span {
  padding: 8px 11px;
  border: 1px solid rgba(13, 60, 102, 0.09);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.reach-stay-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  box-shadow: 0 16px 36px rgba(13, 60, 102, 0.2);
}

.reach-stay-card__heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reach-stay-card__heading > span {
  font-size: 2rem;
  color: var(--gold-light);
}

.reach-stay-card h2 {
  margin: 3px 0 0;
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
}

.reach-stay-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 22px 0 0;
  padding-left: 22px;
}

.reach-stay-card li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .reach-seasons,
  .reach-routes {
    grid-template-columns: 1fr;
  }

  .reach-route-card--rail {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .reach-stay-card ul {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 34px;
  background: linear-gradient(180deg, #0d3c66, #09253e);
  color: #fff;
  padding: 36px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand__logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
}

.footer-brand h3 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  margin: 14px 0 10px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.subscribe-form {
  display: flex;
  gap: 10px;
}

.subscribe-form input,
.subscribe-form button,
.contact-form input,
.contact-form textarea {
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

.subscribe-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
}

.subscribe-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.subscribe-form button,
.contact-form button {
  background: linear-gradient(180deg, #e0ad4e, #c5881f);
  color: #fff;
  font-weight: 700;
  padding-inline: 18px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-hero {
  padding: 22px 0 8px;
}

.page-hero__banner {
  min-height: 220px;
  border-radius: 28px;
  color: #fff;
  padding: 28px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(9, 34, 58, 0.85), rgba(9, 34, 58, 0.25)),
    linear-gradient(135deg, #8d561d, #0f4166 72%, #091f34);
  box-shadow: var(--shadow);
}

.page-hero__banner h1 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.page-hero__banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.policy-page .page-hero__banner {
  min-height: 170px;
  align-items: center;
}

.policy-section {
  padding-top: 18px;
}

.policy-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px;
}

.policy-card h2 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(214, 154, 53, 0.24);
}

.policy-card ol {
  list-style: none;
  counter-reset: policy-counter;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.policy-card li {
  counter-increment: policy-counter;
  position: relative;
  padding: 18px 18px 18px 64px;
  border: 1px solid rgba(13, 60, 102, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 240, 0.82));
  color: var(--ink);
  line-height: 1.65;
  box-shadow: 0 10px 26px rgba(16, 39, 65, 0.06);
}

.policy-card li::before {
  content: counter(policy-counter);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.policy-card li strong {
  color: var(--navy);
}

.page-hero--contact {
  padding-bottom: 0;
}

.page-hero--contact .page-hero__banner {
  min-height: 92px;
  border-radius: 0;
  padding: 18px 24px;
}

.page-hero--contact .page-hero__banner h1 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.page-hero--contact .page-hero__banner p {
  font-size: 0.82rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.contact-card--full {
  width: 100%;
  grid-column: 1 / -1;
}

.temple-trust-card {
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(13, 60, 102, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 181, 67, 0.14), rgba(255, 255, 255, 0.96));
}

.temple-trust-card h2 {
  margin: 0 0 4px;
  color: var(--navy);
}

.temple-trust-card h3 {
  margin-bottom: 14px;
}

.temple-trust-card ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.contact-details h2 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  color: var(--navy);
  margin: 0 0 2px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-details .breadcrumb {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 0 20px;
}

.contact-details p:not(.breadcrumb) {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  color: var(--ink);
}

.contact-icon {
  width: 20px;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.contact-location h3 {
  margin: 0 0 10px;
}

.contact-form {
  margin-top: 24px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-card .contact-form input,
.contact-card .contact-form textarea {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(13, 60, 102, 0.12);
}

.contact-card .contact-form input::placeholder,
.contact-card .contact-form textarea::placeholder {
  color: #9aa5b1;
}

.contact-card .contact-form button {
  min-height: 42px;
  border: 0;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-box {
  min-height: 100%;
  border-radius: 18px;
  min-height: 330px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16)),
    linear-gradient(135deg, #d3a050, #234f72 58%, #0c2235);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 700;
}

.bhakt-hero {
  background: linear-gradient(110deg, #063766 0%, #0c4c7b 42%, #ead3ac 42%, #f8f1e4 100%);
  color: #fff;
  overflow: hidden;
}

.bhakt-hero__inner {
  min-height: 330px;
  display: block;
}

.bhakt-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 20px 42px 0;
  position: relative;
  z-index: 1;
}

.bhakt-hero__copy h1 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  margin: 18px 0;
  color: #fff;
}

.bhakt-hero__copy p {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-style: italic;
  font-size: 1rem;
  margin: 0;
}

.bhakt-hero__image {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bhakt-narrow {
  max-width: 760px;
  text-align: center;
}

.bhakt-welcome p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 auto;
}

.bhakt-trident {
  display: block;
  color: var(--gold);
  font-size: 1.4rem;
  margin-top: -8px;
}

.bhakt-accommodation-grid,
.bhakt-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.bhakt-room-card {
  overflow: hidden;
  padding: 0;
}

.bhakt-room-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: right center;
}

.bhakt-room-card__body {
  padding: 22px;
}

.bhakt-room-card h2,
.bhakt-info-card h2 {
  color: var(--navy);
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.bhakt-room-card p,
.bhakt-info-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.bhakt-amenities {
  background: #edf8ff;
}

.bhakt-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bhakt-amenity {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--navy);
}

.bhakt-amenity > span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0d5b8c;
  background: #c9eafa;
  font-size: 1.7rem;
}

.bhakt-amenity__text {
  min-width: 0;
}

.bhakt-amenity__text strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

.bhakt-amenity__text small {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.bhakt-info-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: #fff8e8;
}

.bhakt-info-card__icon {
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #c92222;
  border: 4px solid #d62d2d;
  border-radius: 50%;
  font-size: 1.5rem;
}

.bhakt-info-card p {
  margin-bottom: 0;
}

.bhakt-cta {
  background: linear-gradient(120deg, #063968, #0b5685);
  color: #fff;
  padding: 30px 0;
}

.bhakt-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bhakt-cta h2 {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  margin: 0 0 8px;
}

.bhakt-cta p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 1100px) {
  .hero__grid,
  .about-grid,
  .about-intro,
  .story-grid,
  .details-grid,
  .contact-grid,
  .footer-grid,
  .cta-card,
  .two-col {
    grid-template-columns: 1fr;
  }

  .contact-top,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .amenities-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .heritage-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-strip,
  .event-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .about-intro__image,
  .story-image,
  .about-intro__image img,
  .story-image img {
    min-height: 240px;
  }

  .about-intro__copy,
  .story-card,
  .detail-card {
    padding: 22px;
  }

  .top-strip__inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-strip {
    font-size: 0.78rem;
  }

  .top-strip__right {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-shell {
    flex-wrap: wrap;
    min-height: 70px;
    padding-block: 10px;
  }

  .brand {
    gap: 9px;
    max-width: calc(100% - 60px);
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 1.35rem;
    border-radius: 12px;
  }

  .brand__text small {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    display: none;
    padding: 10px 0 14px;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav__dropdown {
    width: 100%;
    display: block;
  }

  .site-nav__dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 3px 0 3px 14px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid rgba(214, 154, 53, 0.35);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__dropdown-menu a {
    padding-block: 8px;
    font-size: 0.84rem;
  }

  .hero-card,
  .panel-card {
    border-radius: 22px;
  }

  .hero-card {
    min-height: 520px;
    padding: 24px;
  }

  .hero--home .hero-card {
    min-height: 430px;
    margin-inline: 0;
    border-radius: 0;
    padding: 34px 24px;
    justify-content: center;
    align-items: end;
  }

  .hero--home .hero-card__content {
    width: min(100%, 620px);
    margin-right: 0;
  }

  .info-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-bar__item:nth-child(2n) {
    border-right: 0;
  }

  .info-bar__item:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .digital-services .service-card__image {
    height: auto;
    aspect-ratio: 1.55 / 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #f5ede1;
  }

  .digital-services .service-card {
    min-height: 0;
  }

  .gallery-grid .gallery-item {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #f5ede1;
  }

  .info-strip,
  .info-bar__grid,
  .heritage-cards,
  .service-grid,
  .amenities-grid,
  .gallery-grid,
  .event-row {
    grid-template-columns: 1fr;
  }

  .info-bar__item {
    border-right: 0;
  }

  .gallery-grid--page {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .subscribe-form {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .bhakt-hero__inner,
  .bhakt-accommodation-grid,
  .bhakt-info-grid,
  .bhakt-amenities-grid {
    grid-template-columns: 1fr;
  }

  .bhakt-hero__copy {
    padding: 42px 20px;
  }

  .bhakt-hero__image {
    height: 240px;
  }

  .bhakt-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Bhakt Niwas page follows the compact brochure-style layout. */
.bhakt-page {
  background: #fff;
}

.bhakt-page .section {
  padding: 12px 0;
}

.bhakt-hero {
  background: #f8f1e4;
}

.bhakt-hero__inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.bhakt-hero__image {
  height: auto;
  object-fit: contain;
}

.bhakt-welcome {
  padding: 8px 0 12px !important;
}

.bhakt-page .section-heading {
  margin-bottom: 8px;
}

.bhakt-page .section-heading .section-title {
  font-family: 'Cinzel', 'Noto Serif Devanagari', serif;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 700;
}

.bhakt-page .section-heading p,
.bhakt-welcome p {
  font-size: 0.76rem;
  line-height: 1.45;
}

.bhakt-trident {
  font-size: 1.1rem;
  margin-top: -4px;
}

.bhakt-accommodation-grid {
  gap: 14px;
}

.bhakt-room-card {
  border-radius: 8px;
}

.bhakt-room-card > img {
  height: 220px;
  object-fit: cover;
  object-position: right center;
}

.bhakt-room-card__body {
  padding: 16px 18px 18px;
}

.bhakt-room-card h2 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.bhakt-room-card p {
  font-size: 0.78rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.bhakt-room-card .btn {
  font-size: 0.76rem;
  padding: 9px 13px;
}

.bhakt-room-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bhakt-room-card__capacity {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
}

.bhakt-room-card__capacity span {
  font-size: 0.62rem;
  font-weight: 700;
}

.bhakt-amenities {
  padding: 10px 0 14px !important;
}

.bhakt-amenities-grid {
  gap: 10px;
}

.bhakt-amenity {
  gap: 10px;
  font-size: 0.72rem;
  padding: 2px 18px;
  border-right: 1px solid rgba(13, 60, 102, 0.12);
}

.bhakt-amenity:last-child {
  border-right: 0;
}

.bhakt-amenity > span {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', sans-serif;
}

.bhakt-amenity__text small {
  font-size: 0.58rem;
}

.bhakt-info-grid {
  gap: 12px;
}

.bhakt-info-card {
  gap: 10px;
  padding: 12px;
}

.bhakt-info-card__icon {
  min-width: 42px;
  height: 42px;
  font-size: 1.1rem;
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', sans-serif;
}

.bhakt-info-card h2 {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.bhakt-info-card p {
  font-size: 0.65rem;
  line-height: 1.35;
}

.bhakt-cta {
  padding: 16px 0;
}

.bhakt-cta h2 {
  font-size: 1rem;
}

.bhakt-cta p {
  font-size: 0.68rem;
}

.bhakt-cta .btn {
  font-size: 0.7rem;
  padding: 8px 12px;
}

@media (max-width: 780px) {
  .bhakt-hero__image {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .bhakt-room-card > img {
    height: 190px;
    object-fit: cover;
    object-position: right center;
  }
}

/* Trustees page */
.trust-header { text-align: center; margin-bottom: 28px; }
.trust-header__sub { color: var(--muted); margin: 0 0 8px; }
.trust-header h2 { color: var(--navy); margin: 0 0 10px; }
.trust-header__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; color: var(--ink); margin: 0; }
.trust-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.trust-table { width: 100%; border-collapse: collapse; }
.trust-table th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; }
.trust-table td { padding: 14px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.trust-table tbody tr:nth-child(even) { background: var(--cream); }
.trust-table a, .trust-office a { color: var(--navy); font-weight: 600; text-decoration: none; }
.trust-office { text-align: center; margin: 24px 0; font-size: 1.1rem; font-weight: 600; }
.trust-board { max-width: 420px; margin: 0 auto; }
.trust-board img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }

/* Temple notice (About page) */
.temple-notice__head { text-align: center; margin-bottom: 28px; }
.temple-notice__head p { color: var(--muted); margin: 0 0 6px; }
.temple-notice__head h2 { color: var(--navy); font-size: 2rem; margin: 0; }
.temple-notice__head span { color: var(--gold); font-weight: 600; }
.temple-notice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.temple-notice__card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.temple-notice__card h3 { color: var(--navy); margin: 0 0 10px; }
.temple-notice__card p { margin: 0; line-height: 1.8; color: var(--ink); }
.temple-notice__card.is-highlight { background: var(--gold-soft); border-color: var(--gold); }
.temple-notice__sign { text-align: right; margin: 22px 0 0; color: var(--muted); font-weight: 600; }

/* Shraddha roster (Seva page) */
.shraddha-head { text-align: center; margin-bottom: 24px; }
.shraddha-head p { color: var(--muted); margin: 0 0 6px; }
.shraddha-head h2 { color: var(--navy); margin: 0; }
.trust-table td .phones { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.shraddha-foot { text-align: center; margin: 22px 0 0; }
.shraddha-foot strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }

/* Donation page */
.donate-head { text-align: center; margin-bottom: 24px; }
.donate-head h2 { color: var(--navy); margin: 0 0 6px; }
.donate-head p { color: var(--muted); margin: 0; }
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.donate-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.donate-card h3 { color: var(--navy); margin: 0 0 14px; }
.donate-methods, .donate-steps { margin: 0; padding-left: 22px; line-height: 1.9; color: var(--ink); }
.donate-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 20px 0 14px; }
.donate-qr #upi-qr { padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.donate-qr small { color: var(--muted); text-align: center; }
.donate-pay { display: flex; justify-content: center; }
.donate-notice { margin: 18px 0 0; padding: 14px; background: var(--gold-soft); border-radius: 10px; line-height: 1.7; }

.donate-proof { margin-top: 24px; }
.donate-proof__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.donate-proof__form input[type="text"], .donate-proof__form input[type="tel"], .donate-proof__form input[type="number"] { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.donate-proof__file { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-weight: 600; }
.donate-proof__form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; border: 0; }
.donate-alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0 0; }
.donate-alert--ok { background: #e6f4ea; color: #1e6b34; }
.donate-alert--err { background: #fdecea; color: #a12a20; }

/* Directory / festival lists */
.directory-title { color: var(--navy); margin: 32px 0 12px; }
.directory-title:first-child { margin-top: 0; }
.directory-note { color: var(--muted); margin: 0 0 12px; }
.directory-table { margin-bottom: 8px; }
.directory-table .trust-table td { vertical-align: top; }
.directory-table .trust-table small { color: var(--muted); }
.directory-table__phone { white-space: nowrap; text-align: right; }
.festival-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.festival-list li { display: flex; flex-direction: column; gap: 2px; line-height: 1.7; color: var(--ink); }
.festival-list strong { color: var(--navy); }

.footer-credits { padding: 10px 0 0; font-size: 0.78rem; opacity: 0.75; line-height: 1.6; }
.footer-credits a { color: inherit; text-decoration: underline; }

/* Shop banner (real temple photo + text) */
.shop-hero { background-size: cover; background-position: center; }
.shop-hero__overlay { background: linear-gradient(90deg, rgba(8, 36, 63, 0.88) 0%, rgba(8, 36, 63, 0.62) 45%, rgba(8, 36, 63, 0.08) 100%); }
.shop-hero__content { min-height: clamp(340px, 34vw, 520px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; color: #fff; }
.shop-hero__content h1 { font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.15; margin: 0 0 14px; color: #fff; }
.shop-hero__content h1 span { color: var(--gold); }
.shop-hero__content p { font-size: clamp(1rem, 1.6vw, 1.35rem); margin: 0 0 24px; max-width: 560px; }
.shop-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.shop-hero__points li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.shop-hero__points li span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold); color: var(--navy-deep); font-size: 0.85rem; }

/* Bhakt Niwas banner (real building photo + text) */
.bhakt-hero--split { display: grid; grid-template-columns: 1fr 1fr; background: none; min-height: 440px; }
.bhakt-hero__panel { background: linear-gradient(135deg, #063766 0%, #0c4c7b 100%); display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 5vw, 80px); color: #fff; }
.bhakt-hero__brand { font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: 0.95rem; line-height: 1.6; margin: 0 0 18px; opacity: 0.9; }
.bhakt-hero__panel h1 { font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; margin: 0 0 18px; color: #fff; }
.bhakt-hero__panel h1 span { color: var(--gold-soft); }
.bhakt-hero__tag { font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.2rem, 2.2vw, 1.9rem); line-height: 1.35; margin: 0 0 22px; }
.bhakt-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: 1rem; }
.bhakt-hero__points li + li::before { content: "\2022"; margin-right: 22px; color: var(--gold); }
.bhakt-hero__photo { background-size: cover; background-position: center; min-height: 300px; }
@media (max-width: 760px) { .bhakt-hero--split { grid-template-columns: 1fr; } .bhakt-hero__photo { min-height: 260px; } }

.info-bar__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  padding: 8px 16px 12px;
  margin: 0;
}
.contact-timing-note {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 2px;
}

.hindu-cal-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-soft);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.language-menu__toggle {
  width: auto !important;
  padding: 0 10px !important;
  gap: 6px;
}
.site-nav__icon-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.reach-route-card__note {
  margin: 12px 0 0;
  padding: 11px 14px;
  background: rgba(214, 154, 53, 0.1);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  color: #405468;
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Upcoming Festivals countdown (home page) */
.countdown-section { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.countdown-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.countdown-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.countdown-card__icon { font-size: 2.1rem; margin-bottom: 6px; }
.countdown-card h3 { margin: 0 0 4px; color: var(--navy); font-family: 'Cinzel', 'Noto Serif Devanagari', serif; }
.countdown-card__tithi { margin: 0 0 16px; color: var(--muted); font-size: 0.85rem; }
.countdown-card__timer { display: flex; justify-content: center; gap: 14px; margin-bottom: 10px; }
.countdown-card__timer div { display: flex; flex-direction: column; align-items: center; min-width: 56px; background: var(--navy); color: #fff; border-radius: 10px; padding: 10px 6px; }
.countdown-card__timer b { font-size: 1.5rem; line-height: 1; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; color: var(--gold-soft); }
.countdown-card__timer span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; opacity: 0.85; }
.countdown-card__date { margin: 0; color: var(--navy); font-weight: 600; font-size: 0.9rem; }
.countdown-card__tbd { margin: 0; color: var(--muted); font-style: italic; font-size: 0.9rem; }
.countdown-card.is-today { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,154,53,.25); }

/* History & Timeline page */
.history-block { max-width: 880px; margin: 0 auto 28px; }
.history-block h2 { color: var(--navy); font-family: 'Cinzel', 'Noto Serif Devanagari', serif; margin: 0 0 10px; font-size: 1.4rem; }
.history-block p { line-height: 1.85; color: var(--ink); margin: 0 0 12px; }
.history-block ul { margin: 0 0 12px; padding-left: 22px; line-height: 1.85; }
.history-block--note { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 14px; padding: 22px 26px; }
.history-timeline { max-width: 880px; margin: 24px auto 0; border-left: 3px solid var(--line); padding-left: 26px; }
.history-timeline__item { position: relative; margin-bottom: 26px; }
.history-timeline__item::before { content: ''; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--paper); }
.history-timeline__item--documented::before { background: #1d8a4a; }
.history-timeline__item--secondary::before { background: var(--gold); }
.history-timeline__era { font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.history-timeline__body p { margin: 0 0 8px; color: var(--ink); line-height: 1.7; }
.history-timeline__badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.history-timeline__badge--documented { background: #e3f4e8; color: #1d6b35; }
.history-timeline__badge--tradition { background: #eef1f5; color: var(--muted); }
.history-timeline__badge--secondary { background: var(--gold-soft); color: #8a5b00; }

/* Product, cart and checkout pages (scoped to these three routes) */
.product-page,.cart-page,.checkout-page{padding:clamp(34px,5vw,68px) 0 clamp(52px,7vw,88px)}
.product-breadcrumb{display:flex;align-items:center;gap:10px;margin:0 0 20px;color:var(--muted);font-size:.88rem}.product-breadcrumb a{color:var(--navy);font-weight:700}.product-detail{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:clamp(28px,5vw,68px);align-items:center;padding:clamp(18px,3vw,38px);border:1px solid rgba(14,52,86,.1);border-radius:28px;background:rgba(255,253,248,.94);box-shadow:0 24px 70px rgba(10,31,52,.1)}
.product-gallery{min-width:0}.product-image-frame{min-height:clamp(330px,48vw,570px);display:grid;place-items:center;padding:clamp(18px,4vw,48px);overflow:hidden;border:1px solid rgba(214,154,53,.2);border-radius:22px;background:radial-gradient(circle at 50% 42%,#fff 0,#fffdf8 54%,#f2e8d7 100%)}.product-image-frame img{width:100%;height:clamp(290px,42vw,500px);object-fit:contain;filter:drop-shadow(0 16px 22px rgba(24,40,56,.12));transition:transform .35s ease}.product-image-frame:hover img{transform:scale(1.035)}.product-gallery-note{text-align:center;margin:14px 0 0;color:var(--muted);font-size:.82rem;letter-spacing:.04em}
.product-copy{padding:clamp(4px,1vw,14px) 0}.product-eyebrow{margin:0 0 12px;color:#a7721f;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.product-copy h1{margin:0;color:var(--navy-deep);font-family:'Cinzel',serif;font-size:clamp(2rem,4vw,3.15rem);line-height:1.13}.product-price-row{display:flex;align-items:center;gap:12px;margin:22px 0 16px}.product-price{color:var(--navy);font-size:clamp(1.8rem,3vw,2.35rem);font-weight:800;letter-spacing:-.04em}.product-mrp{color:#8993a0;font-size:1.1rem}.product-description{max-width:54ch;margin:0;color:#526578;font-size:1.02rem;line-height:1.8}.product-stock{display:inline-flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:24px 0;padding:10px 14px;border-radius:999px;font-size:.88rem}.product-stock.is-available{background:#eaf5ec;color:#28663b}.product-stock.is-unavailable{background:#f8eeee;color:#9a3c36}.product-stock>span:last-child{opacity:.78}.product-stock-dot{width:9px;height:9px;border-radius:50%;background:currentColor}.product-buy{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.product-buy label{font-size:.88rem;font-weight:700;color:var(--navy)}.product-buy input[type=number]{width:76px;height:48px;padding:0 10px;border:1px solid #d8dfe5;border-radius:12px;background:#fff;color:var(--ink);font:inherit;text-align:center}.product-buy .btn{min-height:48px;border-radius:12px}.product-trust{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:26px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.83rem;font-weight:600}
.cart-heading{position:relative;margin-bottom:28px!important;padding-right:200px}.cart-heading .section-title{color:var(--navy-deep);font-size:clamp(2rem,4vw,3rem)}.cart-heading p{color:var(--muted)}.cart-continue{position:absolute;right:0;bottom:7px;color:var(--navy);font-size:.9rem;font-weight:700}.cart-empty,.checkout-empty{max-width:720px;margin:0 auto;padding:clamp(32px,6vw,70px);border:1px solid rgba(14,52,86,.1);border-radius:24px;background:#fffdf9;text-align:center;box-shadow:0 20px 55px rgba(10,31,52,.08)}.cart-empty-icon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto 16px;border-radius:50%;background:#f8edda;color:#97661b;font-size:1.8rem}.cart-empty h2,.checkout-empty h2{margin:0;color:var(--navy-deep);font-family:'Cinzel',serif}.cart-empty p,.checkout-empty p{margin:10px 0 22px;color:var(--muted);line-height:1.6}
.cart-form{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px}.cart-table-wrap{overflow:auto;border:1px solid rgba(14,52,86,.1);border-radius:20px;background:#fff;box-shadow:0 16px 42px rgba(10,31,52,.06)}.cart-table{width:100%;border-collapse:collapse;text-align:left}.cart-table th{padding:16px 18px;background:#f7f3ec;color:#68798a;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase}.cart-table td{padding:20px 18px;border-top:1px solid #edf0f1;color:var(--ink);vertical-align:middle}.cart-table td:nth-child(2),.cart-table td:nth-child(4){white-space:nowrap}.cart-product{display:flex;align-items:center;gap:14px;min-width:210px}.cart-product b{color:var(--navy-deep);line-height:1.45}.cart-thumb{width:70px;height:70px;flex:0 0 70px;object-fit:cover;border-radius:12px;background:#f6efe4}.cart-qty{width:72px;height:42px;border:1px solid #d8dfe5;border-radius:10px;text-align:center;font:inherit}.cart-remove{border:0;background:none;color:#ad5147;font:inherit;font-size:.86rem;font-weight:700;cursor:pointer}.cart-remove:hover{text-decoration:underline}.cart-summary{position:sticky;top:20px;padding:24px;border:1px solid rgba(214,154,53,.26);border-radius:20px;background:linear-gradient(150deg,#fffdf8,#f8f0e3);box-shadow:0 16px 40px rgba(10,31,52,.07)}.cart-summary-total{display:flex;align-items:center;justify-content:space-between;color:var(--navy-deep);font-weight:700}.cart-summary-total strong{font-size:1.55rem}.cart-summary p{margin:10px 0 20px;color:var(--muted);font-size:.85rem;line-height:1.55}.cart-summary-actions{display:grid;gap:10px}.cart-summary-actions .btn{width:100%;border-radius:12px}.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}
.checkout-heading{margin-bottom:28px!important}.checkout-heading .section-title{color:var(--navy-deep);font-size:clamp(2rem,4vw,3rem)}.checkout-heading p{color:var(--muted)}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:22px}.checkout-main{display:grid;gap:18px}.checkout-panel{position:relative;padding:26px clamp(18px,3vw,32px);border:1px solid rgba(14,52,86,.1);border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(10,31,52,.055)}.checkout-step{position:absolute;top:24px;right:26px;color:#c9a365;font-family:'Cinzel',serif;font-size:1.2rem;font-weight:700}.checkout-panel-heading{margin-bottom:20px}.checkout-panel-heading h2{margin:0 0 5px;color:var(--navy-deep);font-family:'Cinzel',serif;font-size:1.3rem}.checkout-panel-heading p{margin:0;color:var(--muted);font-size:.88rem}.checkout-panel .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.checkout-panel .field{display:flex;flex-direction:column;gap:7px}.checkout-panel .field label{color:#3c5268;font-size:.85rem;font-weight:700}.checkout-panel .field input{width:100%;min-height:46px;padding:10px 13px;border:1px solid #dce2e7;border-radius:11px;background:#fdfdfc;color:var(--ink);font:inherit;outline:none;transition:border-color .2s,box-shadow .2s}.checkout-panel .field input:focus{border-color:#bd8b3c;box-shadow:0 0 0 3px rgba(214,154,53,.15)}.checkout-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.checkout-option{display:flex;align-items:flex-start;gap:11px;min-height:72px;padding:14px;border:1px solid #e0e5e8;border-radius:13px;background:#fff;cursor:pointer;transition:border-color .2s,background .2s}.checkout-option:has(input:checked){border-color:#d6a449;background:#fffaf0;box-shadow:0 0 0 2px rgba(214,154,53,.1)}.checkout-option input{margin:3px 0 0;accent-color:var(--navy)}.checkout-option span{display:grid;gap:4px}.checkout-option strong{color:var(--navy-deep);font-size:.87rem}.checkout-option small{color:var(--muted);font-size:.77rem;line-height:1.4}.checkout-summary{position:sticky;top:20px;padding:26px;border:1px solid rgba(214,154,53,.28);border-radius:20px;background:linear-gradient(150deg,#fffdf8,#f7efdf);box-shadow:0 18px 44px rgba(10,31,52,.08)}.checkout-summary-label{margin:0 0 20px;color:var(--navy-deep);font-family:'Cinzel',serif;font-size:1.25rem;font-weight:700}.checkout-summary-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(14,52,86,.1);color:#526578}.checkout-summary-total{align-items:center;color:var(--navy-deep);font-weight:700}.checkout-summary-total strong{font-size:1.55rem}.checkout-summary-note{margin:14px 0 20px;color:var(--muted);font-size:.82rem;line-height:1.55}.checkout-summary .btn{width:100%;border-radius:12px}.checkout-back{display:block;margin:15px 0;text-align:center;color:var(--navy);font-size:.87rem;font-weight:700}.checkout-secure{padding-top:14px;border-top:1px solid rgba(14,52,86,.1);color:var(--muted);font-size:.8rem;text-align:center}.checkout-error{max-width:940px;margin:0 auto 18px;padding:13px 16px;border:1px solid #efd0cd;border-radius:12px;background:#fff3f1;color:#963f37}
@media(max-width:900px){.cart-form,.checkout-layout{grid-template-columns:1fr}.cart-summary,.checkout-summary{position:static}.checkout-summary{order:-1}}
@media(max-width:640px){.product-detail{grid-template-columns:1fr;padding:14px;border-radius:20px}.product-image-frame{min-height:300px}.product-image-frame img{height:280px}.product-copy h1{font-size:2rem}.product-buy{display:grid;grid-template-columns:75px 1fr}.product-buy label{grid-column:1/-1}.product-buy .btn{width:100%}.cart-heading{padding-right:0;padding-bottom:26px}.cart-continue{left:0;right:auto;bottom:0}.cart-form{gap:14px}.cart-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.cart-table,.cart-table tbody{display:grid;gap:12px}.cart-table thead{display:none}.cart-table tr{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding:12px;border:1px solid rgba(14,52,86,.1);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(10,31,52,.05)}.cart-table td{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 4px;border:0;font-size:.88rem}.cart-table td:first-child{grid-column:1/-1;justify-content:flex-start;padding-bottom:13px;border-bottom:1px solid #edf0f1}.cart-table td::before{content:attr(data-label);color:var(--muted);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.cart-table td:first-child::before,.cart-table .cart-action::before{display:none}.cart-table .cart-action{justify-content:flex-end;grid-column:1/-1;padding-top:0}.cart-product{min-width:0}.cart-thumb{width:58px;height:58px;flex-basis:58px}.cart-summary{padding:20px}.checkout-panel{padding:21px 17px}.checkout-step{top:21px;right:18px}.checkout-panel .form-grid,.checkout-options{grid-template-columns:1fr}.checkout-panel .field.wide{grid-column:auto}.checkout-option{min-height:62px}.checkout-summary{padding:21px}}

/* Language toggle (Marathi / English) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.lang-switch .site-nav__icon-label { display: inline; font-weight: 600; }

/* Marathi labels are longer: tighten the nav so everything fits on one row */
.site-nav a.lang-switch { width: auto; min-width: 34px; padding: 0 8px !important; border-radius: 999px; background: rgba(13, 60, 102, 0.08); }
.site-nav a.lang-switch .site-nav__icon-label { margin-left: 4px; }
@media (min-width: 981px) and (max-width: 1700px) {
  .brand { flex: 0 1 220px; max-width: 220px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 5px; font-size: 0.8rem; }
  .site-nav a.lang-switch { padding: 0 6px !important; }
  .site-nav__icon-link { width: 30px; }
}

/* Show card photos in full (no cropping) */
.event-card__thumb { aspect-ratio: auto; min-height: 0; background: #f4efe6; }
.event-card__thumb img { height: auto !important; object-fit: contain !important; }
/* ===== Lively touches: motion + hover polish (colours and layout unchanged) ===== */
:root { --ease: cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Scroll reveal (only active when JS adds .js-reveal) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Hero: slow cinematic zoom + soft entrance for the text */
@keyframes hero-zoom { from { background-position: center 25%; } to { background-position: center 75%; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero--home .hero-card { animation: hero-zoom 26s ease-in-out infinite alternate; }
.hero--home .hero-card__content > * { animation: rise-in 0.9s var(--ease) both; }
.hero--home .hero-card__content > :nth-child(2) { animation-delay: 0.12s; }
.hero--home .hero-card__content > :nth-child(3) { animation-delay: 0.24s; }
.hero--home .hero-card__content > :nth-child(4) { animation-delay: 0.36s; }
.hero--home .hero-card__content > :nth-child(5) { animation-delay: 0.48s; }

/* Section titles get a gold ornament */
.section-title::after { content: ''; display: block; width: 70px; height: 4px; margin: 12px auto 0; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-heading[style*="left"] .section-title::after, .page-hero .section-title::after { margin-left: 0; }

/* Cards: lift, glow and image zoom */
.service-card, .event-card, .countdown-card, .amenity, .content-card, .parisar-card, .temple-notice__card, .bhakt-room-card, .donate-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover, .event-card:hover, .countdown-card:hover, .amenity:hover, .parisar-card:hover, .temple-notice__card:hover, .bhakt-room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(16, 39, 65, 0.16);
  border-color: rgba(214, 154, 53, 0.45);
}
.service-card__image, .event-card__thumb img, .gallery-item img, .parisar-card__image img { transition: transform 0.6s var(--ease); }
.service-card:hover .service-card__image { transform: scale(1.07); }
.event-card:hover .event-card__thumb img, .gallery-item:hover img, .parisar-card:hover .parisar-card__image img { transform: scale(1.06); }
.gallery-item, .service-card__image, .parisar-card__image { overflow: hidden; }
.service-card--photo .service-card__seal { transition: transform 0.4s var(--ease); }
.service-card:hover .service-card__seal { transform: translateY(-4px) rotate(8deg) scale(1.08); }

/* Buttons: lift + a light sweep */
.btn { position: relative; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s; }
.btn::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); transition: left 0.6s var(--ease); pointer-events: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(16, 39, 65, 0.22); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0); }

/* Menu links: gold underline grows in */
.site-nav > a, .site-nav__dropdown > a { position: relative; }
.site-nav > a:not(.site-nav__cta):not(.site-nav__icon-link)::after, .site-nav__dropdown > a::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.site-nav > a:hover::after, .site-nav > a.is-active::after, .site-nav__dropdown:hover > a::after { transform: scaleX(1); }

/* "Live" dot + new badge pulse, countdown numbers glow, info icons float */
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(1.5); } }
@keyframes badge-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.live-dot { display: inline-block; animation: pulse-dot 1.4s ease-in-out infinite; }
.new-badge { display: inline-block; animation: badge-pop 1.8s ease-in-out infinite; }
.info-symbol { display: inline-block; animation: float-y 3.2s ease-in-out infinite; }
.info-bar__item { transition: background 0.3s, transform 0.3s var(--ease); }
a.info-bar__item:hover { transform: translateY(-3px); background: rgba(214, 154, 53, 0.1); }
.countdown-card__timer b { transition: transform 0.3s var(--ease); }
.countdown-card:hover .countdown-card__timer b { transform: scale(1.1); }

/* Donate banner: gentle moving glow */
@keyframes banner-glow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.donate-banner { background-size: 200% 200%; animation: banner-glow 10s ease-in-out infinite alternate; }

/* Back-to-top button */
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 46px; height: 46px; border: 0; border-radius: 50%; background: linear-gradient(180deg, var(--gold), #b9791a); color: #fff; font-size: 1.3rem; cursor: pointer; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); opacity: 0; visibility: hidden; transform: translateY(12px); transition: 0.3s var(--ease); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
/* ===== WOW layer: hero slideshow, sparkles, glass info bar, 3D tilt, gradient titles ===== */
/* Hero slideshow */
.hero--home .hero-card { animation: none; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero--home .hero-card::before { z-index: 1; }
.hero--home .hero-card .hero-card__content { z-index: 3; }
.hero--home .hero-arrow { z-index: 4; transition: transform 0.25s, background 0.25s; }
.hero--home .hero-arrow:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.12); }
.hero-dots { position: absolute; left: 28px; bottom: 18px; z-index: 4; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: 0.3s; }
.hero-dots button.is-active { width: 30px; background: var(--gold); }

/* Golden sparkles drifting up */
.hero-sparks { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hero-spark { position: absolute; bottom: -20px; border-radius: 50%; background: radial-gradient(circle, #fff6d6 0%, rgba(255, 196, 92, 0.85) 45%, transparent 70%); opacity: 0; animation: spark-rise linear infinite; }
@keyframes spark-rise { 0% { transform: translate(0, 0) scale(0.6); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translate(var(--drift, 30px), -420px) scale(1.1); opacity: 0; } }

/* Glass info bar */
.info-bar { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.96)); backdrop-filter: blur(8px); }
.info-bar__item { border-radius: 14px; }

/* Gradient section titles with a shimmering ornament */
.section .section-title { background: linear-gradient(90deg, var(--navy) 10%, #2a6aa6 50%, var(--gold) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.section .section-title::after { -webkit-text-fill-color: initial; background: linear-gradient(90deg, transparent, var(--gold), #fff3cf, var(--gold), transparent); background-size: 200% 100%; animation: shimmer 3.5s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* 3D tilt (set by JS) */
.tilt-card { will-change: transform; transform-style: preserve-3d; }

/* Inner-page banners: moving light sweep */
.page-hero__banner { position: relative; overflow: hidden; }
.page-hero__banner::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent); transform: skewX(-20deg); animation: banner-sweep 7s ease-in-out infinite; pointer-events: none; }
@keyframes banner-sweep { 0% { left: -40%; } 55%, 100% { left: 130%; } }
.page-hero__banner h1 { animation: rise-in 0.9s var(--ease) both; }
.page-hero__banner p { animation: rise-in 0.9s var(--ease) 0.15s both; }

/* Parallax donate banner + glow on key buttons */
.donate-banner { background-attachment: fixed; }
.btn--gold { box-shadow: 0 8px 22px rgba(214, 154, 53, 0.4); }
.btn--gold:hover { box-shadow: 0 14px 30px rgba(214, 154, 53, 0.55); }

/* Footer links slide */
.footer-links a { display: inline-block; transition: transform 0.25s, color 0.25s; }
.footer-links a:hover { transform: translateX(5px); color: var(--gold-soft); }

@media (max-width: 760px) { .hero-dots { bottom: 8px; } .donate-banner { background-attachment: scroll; } }
/* ===== MORE WOW: welcome loader, progress bar, petals, ripple, lightbox ===== */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 9000; height: 4px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), #fff0c2, var(--gold)); box-shadow: 0 0 10px rgba(214, 154, 53, 0.8); }

/* Shimmering hero title */
.hero--home .hero-card h1 { background: linear-gradient(100deg, #fff 30%, #ffe3a1 45%, #fff 60%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: rise-in 0.9s var(--ease) both, title-shine 6s linear 1.2s infinite; }
@keyframes title-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* Falling marigold petals */
.hero-petal { position: absolute; top: -30px; width: 14px; height: 20px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #ffb347, #f08a1c); opacity: 0; animation: petal-fall linear infinite; }
@keyframes petal-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: 0.85; } 100% { transform: translate(var(--sway, 60px), 560px) rotate(540deg); opacity: 0; } }

/* Button click ripple */
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: ripple 0.65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* Gallery lightbox */
.gallery-item img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 9500; display: none; place-items: center; background: rgba(5, 18, 32, 0.92); backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; animation: lb-in 0.3s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); animation: lb-zoom 0.35s var(--ease); }
@keyframes lb-zoom { from { transform: scale(0.92); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.7rem; cursor: pointer; transition: background 0.25s, transform 0.25s; }
.lightbox button:hover { background: var(--gold); transform: scale(1.1); }
.lightbox__close { top: 20px; right: 22px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -24px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #f7e2b6; font-size: 0.95rem; }

body { animation: page-in 0.8s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ===== ELEGANT layer: refined fonts, banners, headings, cards, tables, footer (navy + gold) ===== */

:root { --diamond: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 0l7 7-7 7-7-7z' fill='%23d69a35'/%3E%3C/svg%3E"); }

/* Inner-page banners: deep navy with a gold edge */
.page-hero__banner {
  min-height: 250px; align-items: center; padding: 34px clamp(24px, 4vw, 56px);
  background:
    radial-gradient(circle at 88% 15%, rgba(214, 154, 53, 0.30), transparent 42%),
    linear-gradient(135deg, #0f4672 0%, #0a2f52 55%, #071d33 100%);
  border: 1px solid rgba(214, 154, 53, 0.55);
  box-shadow: 0 22px 50px rgba(8, 36, 63, 0.28), inset 0 0 0 6px rgba(255, 255, 255, 0.03);
}
.page-hero__banner h1 { letter-spacing: 0.02em; text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35); }
.page-hero__banner h1::after { content: ''; display: block; width: 92px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), rgba(214, 154, 53, 0)); }
.page-hero__banner p { font-size: 1.08rem; max-width: 60ch; margin-top: 4px; }

/* Section headings: gold line, diamond, gold line */
.section .section-title::after, .section-title::after {
  content: ''; display: block; width: 190px; height: 16px; margin: 14px auto 0; border-radius: 0; animation: none;
  background:
    linear-gradient(90deg, transparent, var(--gold)) left center / 78px 2px no-repeat,
    linear-gradient(270deg, transparent, var(--gold)) right center / 78px 2px no-repeat,
    var(--diamond) center / 14px no-repeat;
}
.section-heading p { max-width: 62ch; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* Content cards get a gold top accent */
.temple-notice__card, .donate-card, .history-block:not(.history-block--note) {
  position: relative; background: #fff; border: 1px solid rgba(214, 154, 53, 0.25); border-radius: 18px;
  box-shadow: 0 14px 36px rgba(16, 39, 65, 0.08); overflow: hidden;
}
.history-block:not(.history-block--note) { padding: 26px 30px; }
.temple-notice__card::before, .donate-card::before, .history-block:not(.history-block--note)::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #f3d28d, var(--gold));
}
.temple-notice__card h3, .donate-card h3 { color: var(--navy); }
.temple-notice__card:hover, .donate-card:hover { box-shadow: 0 22px 48px rgba(16, 39, 65, 0.15); }
.history-block--note { border-radius: 18px; box-shadow: 0 10px 28px rgba(214, 154, 53, 0.2); }
.history-timeline { border-left: 3px solid rgba(214, 154, 53, 0.45); }
.history-timeline__item::before { width: 16px; height: 16px; left: -36px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); }

/* Place / story cards */
.parisar-card { border: 1px solid rgba(214, 154, 53, 0.32); box-shadow: 0 18px 44px rgba(16, 39, 65, 0.11); }
.parisar-card h2 { color: var(--navy); }
.parisar-card__distance { border-left: 4px solid var(--gold); background: linear-gradient(90deg, var(--gold-soft), rgba(247, 226, 182, 0.25)); border-radius: 0 12px 12px 0; }

/* Tables */
.trust-table-wrap { border-radius: 18px; overflow: hidden; border: 1px solid rgba(214, 154, 53, 0.35); box-shadow: 0 14px 36px rgba(16, 39, 65, 0.09); background: #fff; }
.trust-table th { background: linear-gradient(135deg, #0f4672, #08243f); color: #fff; border-bottom: 3px solid var(--gold); font-family: 'Cinzel', 'Noto Serif Devanagari', serif; letter-spacing: 0.03em; }
.trust-table tbody tr { transition: background 0.25s; }
.trust-table tbody tr:hover { background: var(--gold-soft); }
.trust-table td { vertical-align: middle; }

/* Buttons */
.btn--gold { background: linear-gradient(180deg, #efbd62, #c8841f); color: #3a2305; border: 0; }
.btn--navy { background: linear-gradient(180deg, #14598f, #0a2f52); color: #fff; border: 0; }


/* Footer */
.site-footer { border-top: 4px solid var(--gold); background: radial-gradient(circle at 92% 0%, rgba(214, 154, 53, 0.20), transparent 45%), linear-gradient(180deg, #0d3c66, #08203a); }
.site-footer h4 { color: var(--gold-soft); letter-spacing: 0.04em; }
.site-footer h4::after { content: ''; display: block; width: 36px; height: 3px; margin-top: 8px; border-radius: 3px; background: var(--gold); }
/* ===== POLISH layer: icons, ribbons, chips, banner, gallery, scrollbar ===== */
::selection { background: var(--gold); color: #fff; }
html { scrollbar-color: var(--gold) #f3ead8; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #f3ead8; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), #b9791a); border-radius: 10px; border: 2px solid #f3ead8; }
:focus-visible { outline: 3px solid rgba(214, 154, 53, 0.65); outline-offset: 3px; border-radius: 6px; }

/* Top strip + header: fine gold line */
.top-strip { border-bottom: 2px solid var(--gold); }
.brand__text strong { background: linear-gradient(90deg, var(--navy), #1d6aa8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand__mark img { border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(214, 154, 53, 0.7), 0 8px 18px rgba(16, 39, 65, 0.2); transition: transform 0.5s var(--ease); }
.brand:hover .brand__mark img { transform: rotate(-6deg) scale(1.06); }

/* Hero: gold ornamental base line */
.hero--home { position: relative; }
.hero--home::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, transparent, var(--gold), #f6dca0, var(--gold), transparent); }

/* Info bar icons: gold medallions */
.info-symbol { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #fff3d4, #efc474); color: #8a5a10; box-shadow: 0 6px 14px rgba(214, 154, 53, 0.35), inset 0 0 0 2px #fff; }

/* Countdown cards: gold ribbon on top, medallion icon */
.countdown-card { position: relative; overflow: hidden; border: 1px solid rgba(214, 154, 53, 0.3); }
.countdown-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--gold), #f6dca0, var(--gold)); }
.countdown-card__icon { width: 58px; height: 58px; margin: 6px auto 8px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #f7e2b6); box-shadow: 0 8px 18px rgba(214, 154, 53, 0.3), inset 0 0 0 2px rgba(214, 154, 53, 0.45); font-size: 1.6rem; }
.countdown-card__timer > div { box-shadow: 0 8px 16px rgba(13, 60, 102, 0.25); }
.countdown-card.is-today { box-shadow: 0 0 0 3px var(--gold), 0 18px 40px rgba(214, 154, 53, 0.35); }

/* Service cards: gold hairline + seal ring */
.service-card--photo { border: 1px solid rgba(214, 154, 53, 0.32); }
.service-card__seal { box-shadow: 0 6px 14px rgba(214, 154, 53, 0.4); }

/* Event cards: timing chip + animated link */
.event-card__body h4 { color: var(--navy); font-size: 1.12rem; margin: 0 0 8px; }
.event-card__body > b { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--gold-soft); color: #7a4d0c; font-size: 0.82rem; font-weight: 700; }
.event-card__body > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--navy); font-weight: 700; transition: gap 0.3s var(--ease), color 0.3s; }
.event-card__body > a:hover { gap: 12px; color: #b9791a; }

/* Donate banner: deeper, ornamental */
.donate-banner { position: relative; overflow: hidden; background: radial-gradient(circle at 88% 20%, rgba(214, 154, 53, 0.35), transparent 40%), linear-gradient(135deg, #0f4672, #08243f); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.donate-banner h3 { text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3); }

/* Facilities icons: gold-ring medallions */
.amenity .icon { width: 62px; height: 62px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #f7e2b6); box-shadow: 0 8px 18px rgba(214, 154, 53, 0.3), inset 0 0 0 2px rgba(214, 154, 53, 0.45); color: var(--navy); transition: transform 0.4s var(--ease); }
.amenity:hover .icon { transform: rotate(10deg) scale(1.1); }

/* Gallery: gold frame + zoom hint on hover */
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 10px 26px rgba(16, 39, 65, 0.14); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16, 39, 65, 0.24), 0 0 0 2px var(--gold); }
.gallery-item::after { content: '\1F50D'; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(8, 36, 63, 0.7); color: #fff; font-size: 1rem; opacity: 0; transform: scale(0.7); transition: 0.3s var(--ease); pointer-events: none; }
.gallery-item:hover::after { opacity: 1; transform: none; }

/* About-the-temple block on the home page */
.about-copy h3, .about-highlight h3 { color: var(--navy); }
.about-highlight { background: linear-gradient(145deg, #0f4672, #08243f); color: #fff; }
.about-highlight h3 { color: #fff; }
.about-highlight .big-icon { color: var(--gold); text-shadow: 0 0 24px rgba(214, 154, 53, 0.7); }

/* Footer social-style links + bottom bar */
.footer-bottom { border-top: 1px solid rgba(214, 154, 53, 0.35); }
/* ===== CLEAN layer: calmer backgrounds, spacing, depth and type (gold elements untouched) ===== */
:root { --sky: #eef4fa; --mist: #f7fafd; --ink-soft: #3a4d63; --navy-glow: rgba(13, 60, 102, 0.22); }

body { line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* Rhythm: roomier sections with alternating soft bands */
.section { padding-top: 76px; padding-bottom: 76px; }
main > .section:nth-of-type(even):not(.countdown-section) { background: linear-gradient(180deg, var(--mist), var(--sky)); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.25; letter-spacing: 0.01em; }
.section-heading { margin-bottom: 40px; }
.section-heading p { color: var(--ink-soft); font-size: 1.05rem; }

/* Header: crisp white glass */
.site-header { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); box-shadow: 0 8px 28px rgba(13, 60, 102, 0.08); }

/* Cards: rounder with layered soft shadows */
.service-card, .event-card, .countdown-card, .content-card, .parisar-card, .temple-notice__card, .donate-card, .bhakt-room-card, .bhakt-info-card, .amenity {
  border-radius: 22px;
  box-shadow: 0 2px 4px rgba(13, 60, 102, 0.04), 0 14px 34px rgba(13, 60, 102, 0.08);
}
.service-card:hover, .event-card:hover, .countdown-card:hover, .parisar-card:hover, .temple-notice__card:hover, .bhakt-room-card:hover, .amenity:hover {
  box-shadow: 0 4px 8px rgba(13, 60, 102, 0.06), 0 26px 52px var(--navy-glow);
}
.event-card__body { padding: 20px 22px 24px; }
.event-card__body p { color: var(--ink-soft); line-height: 1.75; }

/* Buttons: soft glow, firmer weight */
.btn--navy { box-shadow: 0 10px 22px var(--navy-glow); }
.btn--navy:hover { box-shadow: 0 16px 30px rgba(13, 60, 102, 0.34); }
.btn { font-weight: 700; letter-spacing: 0.01em; }

/* Tables and imagery */
.trust-table td { padding-top: 16px; padding-bottom: 16px; }
.parisar-card__image img, .gallery-item img, .event-card__thumb img, .bhakt-room-card img { filter: saturate(1.04) contrast(1.02); }
.page-hero { padding-top: 28px; padding-bottom: 20px; }

/* Hero depth */
.hero--home .hero-card { box-shadow: 0 30px 70px rgba(7, 29, 51, 0.28); }
.hero--home .hero-card h1 { text-shadow: 0 6px 26px rgba(0, 0, 0, 0.35); }
.hero--home .hero-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 1; background: linear-gradient(180deg, transparent, rgba(7, 29, 51, 0.35)); pointer-events: none; }

/* Info bar */
.info-bar { background: #fff; box-shadow: 0 10px 30px rgba(13, 60, 102, 0.08); }
.footer-links a { color: rgba(255, 255, 255, 0.82); }
.footer-links a:hover { color: #fff; }

@media (max-width: 760px) { .section { padding-top: 52px; padding-bottom: 52px; } .section-heading { margin-bottom: 28px; } }
/* ===== Daily schedule timeline (blue/navy) ===== */
.daily-section { background: linear-gradient(180deg, #ffffff, #eef4fa); }
.daily-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.daily-timeline::before, .daily-timeline::after { content: ''; position: absolute; top: 34px; left: 12.5%; height: 4px; border-radius: 4px; }
.daily-timeline::before { right: 12.5%; background: #d7e4f1; }
.daily-timeline::after { width: calc(75% * var(--progress-ratio, 0)); background: linear-gradient(90deg, #14598f, #5aa2dc); transition: width 1.4s var(--ease); }
.daily-step { position: relative; text-align: center; padding: 0 10px; }
.daily-step__dot { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #14598f; font-size: 1.7rem; border: 3px solid #d7e4f1; box-shadow: 0 10px 24px rgba(13, 60, 102, 0.12); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.daily-step:hover .daily-step__dot { transform: translateY(-5px) scale(1.06); }
.daily-step h3 { margin: 0 0 6px; color: var(--navy); font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: 1.15rem; }
.daily-step__time { margin: 0; color: var(--ink-soft); font-weight: 600; }
.daily-step__badge { display: none; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: #14598f; color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.daily-step.is-done .daily-step__dot { background: #14598f; color: #fff; border-color: #14598f; }
.daily-step.is-now .daily-step__dot, .daily-step.is-next .daily-step__dot { background: linear-gradient(145deg, #1a6db3, #0a2f52); color: #fff; border-color: #5aa2dc; animation: daily-pulse 2s ease-in-out infinite; }
.daily-step.is-now .daily-step__badge, .daily-step.is-next .daily-step__badge { display: inline-block; }
.daily-step.is-now .daily-step__badge { background: #1d8a4a; }
@keyframes daily-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(90, 162, 220, 0.55), 0 10px 24px rgba(13, 60, 102, 0.2); } 50% { box-shadow: 0 0 0 16px rgba(90, 162, 220, 0), 0 10px 24px rgba(13, 60, 102, 0.2); } }
.daily-note { margin: 34px 0 0; text-align: center; color: var(--ink-soft); font-style: italic; font-size: 0.92rem; }
@media (max-width: 760px) {
  .daily-timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 6px; }
  .daily-timeline::before, .daily-timeline::after { top: 34px; bottom: 34px; left: 39px; right: auto; width: 4px; height: auto; }
  .daily-timeline::after { height: calc(100% * var(--progress-ratio, 0) - 68px); }
  .daily-step { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; text-align: left; align-items: center; padding: 0; }
  .daily-step__dot { grid-row: 1 / span 3; margin: 0; }
  .daily-step__badge { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .daily-step.is-now .daily-step__dot, .daily-step.is-next .daily-step__dot { animation: none; } }
/* Softer paragraph colour on light content only */
.section-heading p, .event-card__body p, .daily-note, .content-card p, .parisar-card p, .history-block p { color: var(--ink-soft); }
.donate-banner p { color: rgba(255, 255, 255, 0.9); }

/* ===== HOME (temple-site format): welcome collage, feature cards, photo band, cards, shop, mosaic ===== */
/* Welcome */
.welcome-section { padding: 84px 0 70px; }
.welcome-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.welcome-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.welcome-collage > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; box-shadow: 0 14px 34px rgba(13, 60, 102, 0.16); transition: transform 0.5s var(--ease); }
.welcome-collage > img:hover { transform: scale(1.03); }
.welcome-collage__badge { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.7), 0 16px 36px rgba(13, 60, 102, 0.28); }
.welcome-collage__badge img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; animation: loader-pulse 3s ease-in-out infinite; }
@keyframes loader-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.welcome-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.welcome-kicker span { width: 90px; height: 3px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.welcome-text h2 { margin: 0 0 18px; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.25; color: var(--navy); }
.welcome-text > p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.85; margin: 0 0 14px; }
.welcome-verse { margin: 22px 0 28px; padding-left: 18px; border-left: 4px solid var(--gold); }
.welcome-verse p { margin: 0 0 6px; color: var(--navy); font-weight: 700; font-size: 1.12rem; }

/* Feature cards: round photo overlapping the card, arrow button, highlighted card */
.feature-section { padding: 96px 0 56px; background: linear-gradient(180deg, #fff, #eef4fa); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature-card { position: relative; min-height: 340px; padding: 118px 32px 34px; border-radius: 20px; background: #fff; box-shadow: 0 2px 4px rgba(13, 60, 102, 0.04), 0 16px 44px rgba(13, 60, 102, 0.09); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); isolation: isolate; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(13, 60, 102, 0.2); }
.feature-card__img { position: absolute; top: -68px; left: 38px; width: 172px; height: 172px; padding: 12px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px rgba(13, 60, 102, 0.16); z-index: 2; }
.feature-card__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feature-card:hover .feature-card__img img { transform: scale(1.1) rotate(4deg); }
.feature-card h3 { margin: 0 0 12px; font-size: 1.55rem; color: var(--navy); font-weight: 800; }
.feature-card h3::after { content: ''; display: block; width: 46px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--gold); transition: width 0.4s var(--ease); }
.feature-card:hover h3::after { width: 90px; }
.feature-card p { margin: 0 0 64px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.feature-card__go { position: absolute; left: 32px; bottom: 28px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 2rem; line-height: 1; box-shadow: 0 8px 24px rgba(13, 60, 102, 0.18); transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.feature-card__go:hover { background: var(--navy); color: #fff; transform: scale(1.12); }
.feature-card--photo { background-color: #0a2f52; background-size: cover; background-position: center; background-repeat: no-repeat; }
.feature-card--photo h3, .feature-card--photo p { color: #fff; }

/* Photo band with two image + text blocks */
.band-section { padding: 90px 0; background-color: #0a2f52; background-size: cover; background-position: center; background-attachment: fixed; background-repeat: no-repeat; color: #fff; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band-item { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.band-item > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); border: 3px solid rgba(255, 255, 255, 0.85); }
.band-item h2 { margin: 0 0 12px; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; }
.band-item p { margin: 0 0 22px; color: rgba(255, 255, 255, 0.92); line-height: 1.75; font-weight: 500; }

/* Temple cards with a title between two lines */
.title-lines { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 40px; text-align: center; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--navy); }
.title-lines::before, .title-lines::after { content: ''; width: clamp(40px, 9vw, 110px); height: 8px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.devasthan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.devasthan-card { display: block; padding: 18px 18px 22px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 2px 4px rgba(13, 60, 102, 0.04), 0 14px 34px rgba(13, 60, 102, 0.09); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.devasthan-card:hover { transform: translateY(-8px); box-shadow: 0 26px 52px rgba(13, 60, 102, 0.2); }
.devasthan-card img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: 12px; transition: transform 0.6s var(--ease); }
.devasthan-card:hover img { transform: scale(1.03); }
.devasthan-card h3 { margin: 18px 0 0; color: var(--navy); font-size: 1.5rem; font-weight: 800; }

/* Shop products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card { padding: 18px 18px 26px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 2px 4px rgba(13, 60, 102, 0.04), 0 14px 34px rgba(13, 60, 102, 0.09); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 52px rgba(13, 60, 102, 0.2); }
.product-card__img { display: block; overflow: hidden; border-radius: 12px; }
.product-card__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card h3 { margin: 16px 0 4px; color: var(--navy); font-size: 1.25rem; }
.product-card__price { margin: 0 0 14px; color: var(--ink-soft); font-weight: 700; font-size: 1.1rem; }

/* Full-width photo mosaic */
.gallery-mosaic-section { padding: 70px 0 0; }
.gallery-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 0; }
.gallery-mosaic .gallery-item { border: 0; border-radius: 0; box-shadow: none; height: 100%; }
.gallery-mosaic .gallery-item:nth-child(5n + 2) { grid-row: span 2; }
.gallery-mosaic .gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.gallery-mosaic .gallery-item:hover { transform: none; box-shadow: none; }
.gallery-more { margin: 0; padding: 36px 0 12px; text-align: center; }

@media (max-width: 980px) {
  .welcome-grid, .band-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 96px; }
  .devasthan-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .band-section { background-attachment: scroll; }
}
@media (max-width: 620px) {
  .band-item { grid-template-columns: 1fr; text-align: center; }
  .band-item > img { max-width: 220px; margin: 0 auto; }
  .devasthan-grid, .product-grid { grid-template-columns: 1fr; }
  .welcome-collage__badge { width: 96px; height: 96px; }
  .welcome-collage__badge img { width: 80px; height: 80px; }
}
/* ===== Home photo slideshow (full-width, photos shown whole) ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-slider { position: relative; overflow: hidden; background: #0a1f33; }
.home-slider__track { position: relative; height: clamp(300px, 56.25vw, 760px); max-height: 82vh; }
.home-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; overflow: hidden; }
.home-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.home-slide__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(26px) brightness(0.7); }
.home-slide > img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); }
.home-slide.is-active > img { animation: slide-zoom 9s ease-out forwards; }
.home-slide.is-portrait > img { object-fit: contain; }
@keyframes slide-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.home-slide.is-portrait.is-active > img { animation: none; }
.home-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 70px clamp(20px, 6vw, 90px) 34px; background: linear-gradient(180deg, transparent, rgba(5, 22, 38, 0.78)); }
.home-slide figcaption span { display: inline-block; color: #fff; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.3rem, 3vw, 2.4rem); text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); animation: rise-in 0.9s var(--ease) both; }
.home-slider__arrow { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.88); color: var(--navy); font-size: 1.5rem; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease); }
.home-slider__arrow:hover { background: var(--navy); color: #fff; transform: scale(1.1); }
.home-slider__arrow--prev { left: clamp(10px, 2.5vw, 34px); }
.home-slider__arrow--next { right: clamp(10px, 2.5vw, 34px); }
.home-slider__dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: flex; gap: 9px; transform: translateX(-50%); }
.home-slider__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 11px; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: width 0.3s, background 0.3s; }
.home-slider__dots button.is-active { width: 34px; background: var(--gold); }
@media (max-width: 620px) { .home-slider__arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 1.15rem; } .home-slide figcaption { padding-bottom: 38px; } }
@media (prefers-reduced-motion: reduce) { .home-slide.is-active > img { animation: none; } }
/* ===== Poster-style first slide: photo in a splash shape + big verse (navy) ===== */
.home-slide.is-poster { background: radial-gradient(circle at 78% 30%, #ffffff, #eef3f9 60%, #e4ecf5); }
.home-slide.is-poster::after { content: 'हरिहरेश्वर'; position: absolute; right: -2%; bottom: -8%; font-family: 'Noto Serif Devanagari', serif; font-weight: 700; font-size: clamp(8rem, 24vw, 22rem); line-height: 1; color: rgba(13, 60, 102, 0.045); white-space: nowrap; pointer-events: none; }
.poster { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: 46% 54%; align-items: center; }
.poster__art { position: relative; height: 100%; display: grid; place-items: center; }
.poster__splash, .poster__photo { position: absolute; -webkit-mask: url('../images/slider/splash.svg') center / 100% 100% no-repeat; mask: url('../images/slider/splash.svg') center / 100% 100% no-repeat; }
.poster__splash { width: min(92%, 86vh); aspect-ratio: 1 / 1; background: linear-gradient(145deg, #1a6db3, #0a2f52); transform: rotate(-3deg); filter: drop-shadow(0 18px 30px rgba(13, 60, 102, 0.35)); }
.poster__photo { width: min(80%, 76vh); aspect-ratio: 1 / 1; background-size: cover; background-position: center 35%; transform: rotate(2deg); }
.poster__name { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 2; padding: 6px 22px; color: #fff; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 2rem); text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55); white-space: nowrap; }
.poster__text { padding: 0 clamp(20px, 4vw, 70px) 0 clamp(8px, 2vw, 30px); text-align: center; }
.poster__text p { margin: 0 0 clamp(8px, 1.6vw, 20px); font-family: 'Noto Serif Devanagari', 'Cinzel', serif; font-weight: 600; font-size: clamp(1.1rem, 2.7vw, 2.35rem); line-height: 1.5; color: var(--navy); opacity: 0; transform: translateY(18px); }
.home-slide.is-active .poster__text p { animation: rise-in 0.9s var(--ease) forwards; }
.home-slide.is-active .poster__text p:nth-child(2) { animation-delay: 0.25s; }
.home-slide.is-active .poster__text p:nth-child(3) { animation-delay: 0.5s; }
.home-slide.is-active .poster__text p:nth-child(4) { animation-delay: 0.75s; }
.home-slide.is-poster .home-slide__bg { display: none; }
@media (max-width: 760px) {
  .home-slider__track { height: auto; max-height: none; }
  .home-slide { position: relative; display: none; opacity: 1; visibility: visible; }
  .home-slide.is-active { display: block; }
  .home-slide:not(.is-poster) { height: 62vw; min-height: 280px; }
  .poster { grid-template-columns: 1fr; padding: 26px 0 50px; gap: 6px; }
  .poster__art { height: 72vw; max-height: 380px; }
  .poster__splash { width: 82vw; max-width: 380px; } .poster__photo { width: 70vw; max-width: 330px; }
  .poster__text { padding: 8px 18px 0; }
  .poster__text p { font-size: 1.12rem; }
  .home-slider__arrow { top: 36%; }
}
/* Poster slide, refined: clean rounded photo frame instead of the splash shape */
.poster__splash { display: none; }
.poster__art::before { content: ''; position: absolute; width: min(88%, 82vh); aspect-ratio: 1 / 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(214, 228, 243, 0.85) 55%, rgba(214, 228, 243, 0) 72%); }
.poster__photo { -webkit-mask: none; mask: none; position: relative; width: auto; height: 84%; aspect-ratio: 3 / 4; max-width: 86%; border-radius: 26px; border: 9px solid #fff; background-size: cover; background-position: center; transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(13, 60, 102, 0.3), 0 4px 10px rgba(13, 60, 102, 0.12); transition: transform 0.6s var(--ease); }
.home-slide.is-active .poster__photo { animation: poster-photo-in 1s var(--ease) both; }
@keyframes poster-photo-in { from { opacity: 0; transform: rotate(-6deg) translateY(30px) scale(0.94); } to { opacity: 1; transform: rotate(-2deg); } }
.poster__name { bottom: 11%; }
.poster__text p { font-size: clamp(1.05rem, 2.2vw, 2rem); }
@media (max-width: 760px) { .poster__photo { height: 100%; max-height: 360px; } }
/* Poster slide: larger photo */
.poster { grid-template-columns: 52% 48%; }
.poster__photo { height: 95%; max-width: 94%; border-width: 10px; }
.poster__art::before { width: min(96%, 92vh); }
.poster__name { bottom: 8%; font-size: clamp(1.2rem, 2.8vw, 2.2rem); }
.poster__text { padding-left: 0; }
.poster__text p { font-size: clamp(1.05rem, 2.05vw, 1.85rem); }
@media (max-width: 760px) { .poster { grid-template-columns: 1fr; } .poster__art { height: 92vw; max-height: 480px; } .poster__photo { height: 100%; max-height: 460px; max-width: 88%; } }
/* Poster slide: photo fills the left half of the screen, edge to edge */
.poster { grid-template-columns: 50% 50%; }
.poster__art { height: 100%; display: block; }
.poster__art::before { display: none; }
.poster__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; transform: none; box-shadow: 18px 0 40px rgba(13, 60, 102, 0.22); background-size: cover; background-position: center 8%; }
.home-slide.is-active .poster__photo { animation: poster-photo-zoom 9s ease-out forwards; }
@keyframes poster-photo-zoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.poster__art { overflow: hidden; }
.poster__art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1; background: linear-gradient(180deg, transparent, rgba(5, 22, 38, 0.7)); pointer-events: none; }
.poster__name { z-index: 2; left: clamp(20px, 3vw, 48px); bottom: 38px; transform: none; padding: 0; font-size: clamp(1.3rem, 2.8vw, 2.4rem); }
.poster__text { padding: 0 clamp(24px, 4vw, 72px); }
@media (max-width: 760px) {
  .poster { grid-template-columns: 1fr; padding: 0 0 54px; gap: 0; }
  .poster__art { height: 64vw; min-height: 260px; }
  .poster__photo { box-shadow: none; }
  .poster__name { bottom: 18px; }
  .poster__text { padding: 20px 18px 0; }
}
/* ===== Slider motion ===== */
/* Slide change: soft zoom-in while fading */
.home-slide { transform: scale(1.035); transition: opacity 1.1s ease, visibility 1.1s, transform 1.6s var(--ease); }
.home-slide.is-active { transform: scale(1); }

/* Poster photo: wipes in from the left, then slowly drifts */
.home-slide.is-poster.is-active .poster__photo { animation: photo-wipe 1.2s var(--ease) both, poster-photo-zoom 10s ease-out 1.2s forwards; }
@keyframes photo-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Verse lines: slide in from the right, blur to sharp */
.poster__text p { filter: blur(6px); }
.home-slide.is-active .poster__text p { animation: verse-in 1s var(--ease) forwards; }
@keyframes verse-in { from { opacity: 0; transform: translateX(46px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.home-slide.is-active .poster__text p:nth-child(1) { animation-delay: 0.5s; }
.home-slide.is-active .poster__text p:nth-child(2) { animation-delay: 0.85s; }
.home-slide.is-active .poster__text p:nth-child(3) { animation-delay: 1.2s; }
.home-slide.is-active .poster__text p:nth-child(4) { animation-delay: 1.55s; }

/* Title on the photo slides up with a light shimmer */
.home-slide.is-active .poster__name { animation: rise-in 1s var(--ease) 0.9s both; }

/* Watermark word drifts slowly */
.home-slide.is-poster::after { animation: watermark-drift 18s ease-in-out infinite alternate; }
@keyframes watermark-drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

/* Floating sparkles over the verse */
.poster__sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.poster__spark { position: absolute; bottom: -16px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(90, 162, 220, 0.55) 55%, transparent 72%); opacity: 0; animation: poster-spark linear infinite; }
@keyframes poster-spark { 0% { transform: translate(0, 0) scale(0.5); opacity: 0; } 20% { opacity: 0.9; } 100% { transform: translate(var(--drift, 20px), -560px) scale(1.15); opacity: 0; } }
.poster__text { position: relative; }
.poster__text p { position: relative; z-index: 1; }

/* Mouse parallax (set by JS) */
.poster__photo, .poster__text { will-change: transform; }

/* Arrows nudge to hint they are clickable; active dot fills like a timer */
@keyframes nudge-left { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes nudge-right { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.home-slider__arrow--prev { animation: nudge-left 2.4s ease-in-out infinite; }
.home-slider__arrow--next { animation: nudge-right 2.4s ease-in-out infinite; }
.home-slider__arrow:hover { animation: none; }
.home-slider__dots button { position: relative; overflow: hidden; }
.home-slider__dots button.is-active { background: rgba(255, 255, 255, 0.5); }
.home-slider__dots button.is-active::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: dot-fill var(--slide-ms, 5.5s) linear forwards; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.home-slider:hover .home-slider__dots button.is-active::after { animation-play-state: paused; }

@media (max-width: 760px) { .poster__spark { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .poster__text p { filter: none; opacity: 1; transform: none; animation: none !important; }
  .home-slide.is-poster::after, .home-slider__arrow--prev, .home-slider__arrow--next, .poster__spark { animation: none !important; }
}
/* ===== History page: big heading, part cards with dashed path, logo-marker timeline ===== */
.history-hero { padding: 54px 0 6px; text-align: center; }
.history-hero h1 { margin: 0 0 10px; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.25; background: linear-gradient(90deg, var(--navy), #2a6aa6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.history-hero p { margin: 0 auto; max-width: 62ch; color: var(--ink-soft); font-size: 1.08rem; }
.history-page { position: relative; padding-top: 44px; }
.history-page::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 640px); background: url('../images/temple.jpeg') center / cover no-repeat; opacity: 0.09; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); pointer-events: none; }
.history-page > .container { position: relative; }

.history-stages { max-width: 1040px; margin: 0 auto; }
.history-stage { position: relative; display: grid; grid-template-columns: 230px 1fr; gap: 34px; padding-bottom: 64px; }
.history-stage:last-child { padding-bottom: 28px; }
.history-stage__label { position: relative; align-self: start; padding: 22px 16px; text-align: center; background: #fff; border: 1px solid rgba(13, 60, 102, 0.16); border-radius: 16px; box-shadow: 0 14px 34px rgba(13, 60, 102, 0.08); }
.history-stage__no { display: block; margin-bottom: 6px; color: var(--navy); font-size: 1.7rem; font-weight: 800; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; }
.history-stage__label h2 { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; font-weight: 600; font-family: inherit; }
.history-stage:not(:last-child) .history-stage__label::after { content: ''; position: absolute; left: 50%; top: 100%; height: 64px; border-left: 3px dashed var(--navy); transform: translateX(-1.5px); }
.history-stage:not(:last-child) .history-stage__label::before { content: ''; position: absolute; left: 50%; top: calc(100% + 64px); width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--navy); }
.history-stage__body { padding: 28px 34px; background: #fff; border: 1px solid rgba(13, 60, 102, 0.16); border-radius: 18px; box-shadow: 0 14px 34px rgba(13, 60, 102, 0.07); }
.history-stage__body h3 { margin: 0 0 8px; color: var(--navy); }
.history-stage__body p, .history-stage__body li { color: var(--ink-soft); line-height: 1.9; font-size: 1.04rem; }
.history-stage__body p { margin: 0 0 12px; }
.history-stage__body ul { margin: 0 0 12px; padding-left: 22px; }
.history-stage--note .history-stage__body { background: linear-gradient(135deg, #fff, var(--gold-soft)); border-color: rgba(214, 154, 53, 0.5); }

.history-chain-title { margin: 56px 0 6px; text-align: center; font-family: 'Cinzel', 'Noto Serif Devanagari', serif; font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: var(--navy); }
.history-chain-sub { margin: 0 auto 38px; max-width: 62ch; text-align: center; color: var(--ink-soft); }
.history-chain { position: relative; list-style: none; max-width: 1040px; margin: 0 auto; padding: 0; }
.history-chain::before { content: ''; position: absolute; left: 84px; top: 40px; bottom: 40px; width: 2px; background: rgba(13, 60, 102, 0.55); }
.history-chain__item { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 0; align-items: start; margin-bottom: 30px; }
.history-chain__marker { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 170px; }
.history-chain__dot { width: 80px; height: 80px; padding: 5px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 8px 20px rgba(13, 60, 102, 0.2); transition: transform 0.4s var(--ease); }
.history-chain__item:hover .history-chain__dot { transform: scale(1.08) rotate(-4deg); }
.history-chain__dot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.history-chain__era { margin-top: 8px; padding: 3px 8px; background: #fbfcfe; color: var(--navy); font-weight: 800; font-size: 0.92rem; line-height: 1.4; text-align: center; }
.history-chain__card { position: relative; margin-top: 4px; padding: 24px 30px 20px; background: #fff; border: 1px solid rgba(13, 60, 102, 0.55); border-radius: 14px; box-shadow: 0 12px 30px rgba(13, 60, 102, 0.07); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.history-chain__item:hover .history-chain__card { transform: translateX(6px); box-shadow: 0 18px 40px rgba(13, 60, 102, 0.14); }
.history-chain__card::before { content: ''; position: absolute; left: -86px; top: 36px; width: 86px; border-top: 2px solid rgba(13, 60, 102, 0.55); }
.history-chain__card p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.85; font-size: 1.04rem; }
.history-chain__item--documented .history-chain__card { border-left: 6px solid #1d8a4a; }
.history-chain__item--secondary .history-chain__card { border-left: 6px solid var(--gold); }
.history-chain__item--tradition .history-chain__card { border-left: 6px solid #2a6aa6; }

@media (max-width: 860px) {
  .history-page::before { width: 100%; opacity: 0.05; }
  .history-stage { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .history-stage:not(:last-child) .history-stage__label::after, .history-stage:not(:last-child) .history-stage__label::before { display: none; }
  .history-stage__body { padding: 22px 20px; }
  .history-chain::before { left: 40px; }
  .history-chain__item { grid-template-columns: 1fr; }
  .history-chain__marker { flex-direction: row; width: auto; gap: 12px; margin-bottom: 10px; }
  .history-chain__dot { width: 56px; height: 56px; }
  .history-chain__era { margin-top: 0; text-align: left; background: transparent; }
  .history-chain__card { margin-left: 22px; padding: 20px 18px 16px; }
  .history-chain__card::before { display: none; }
}

/* ===== Top strip: scrolling stotra + social icons ===== */
.top-strip { font-size: 1.05rem; font-weight: 700; }
.top-strip__inner { flex-direction: row !important; align-items: center !important; flex-wrap: nowrap; min-height: 52px; gap: 20px; }
.top-strip__marquee { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.top-strip__track { display: inline-flex; width: max-content; animation: stotra-scroll 48s linear infinite; }
.top-strip__track span { display: inline-block; padding-right: 90px; }
.top-strip__marquee:hover .top-strip__track { animation-play-state: paused; }
@keyframes stotra-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.top-strip__social { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.top-strip__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background 0.25s, transform 0.25s var(--ease); }
.top-strip__social a:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }
.top-strip__social svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 760px) { .top-strip { font-size: 0.9rem; } .top-strip__inner { min-height: 44px; gap: 8px; } .top-strip__social a { width: 30px; height: 30px; } .top-strip__social svg { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .top-strip__track { animation: none; } }
/* Top strip: fixed mantra on the left, long stotra scrolling beside it (always visible) */
.top-strip__left { flex: 0 0 auto; white-space: nowrap; font-weight: 700; }
.top-strip__track { animation-duration: 38s; }
.top-strip__track span { padding-right: 70px; }
@media (max-width: 900px) { .top-strip__left { display: none; } }
/* Cancel the old marquee rule on the new scrolling track */
.top-strip__marquee .top-strip__track span { min-width: 0; padding-left: 0; animation: none; }

/* Gallery on the home page: masonry columns, photos keep their natural shape, no gaps */
.gallery-mosaic-section { padding-bottom: 20px; }
.gallery-mosaic { display: block; column-count: 4; column-gap: 14px; padding: 0 14px; max-width: 1680px; margin: 0 auto; grid-auto-rows: unset; }
.gallery-mosaic .gallery-item { display: block; height: auto; margin: 0 0 14px; break-inside: avoid; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(13, 60, 102, 0.14); grid-row: auto; }
.gallery-mosaic .gallery-item:nth-child(5n + 2) { grid-row: auto; }
.gallery-mosaic .gallery-item img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 0; transition: transform 0.6s var(--ease); }
.gallery-mosaic .gallery-item:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(13, 60, 102, 0.26); }
.gallery-mosaic .gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 1100px) { .gallery-mosaic { column-count: 3; } }
@media (max-width: 760px) { .gallery-mosaic { column-count: 2; column-gap: 10px; padding: 0 10px; } .gallery-mosaic .gallery-item { margin-bottom: 10px; border-radius: 12px; } }
@media (max-width: 420px) { .gallery-mosaic { column-count: 1; } }
/* Poster slide: photo ~58% with a soft fade into the page, larger tightly-set verse (like the reference) */
.poster { grid-template-columns: 58% 42%; }
.poster__photo { box-shadow: none; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%); }
.poster__art::after { right: 18%; }
.poster__text { padding: 0 clamp(14px, 3vw, 56px) 0 0; display: flex; flex-direction: column; justify-content: center; }
.poster__text p { margin: 0 0 clamp(3px, 0.7vw, 10px); font-size: clamp(1.15rem, 2.75vw, 2.55rem); line-height: 1.5; font-weight: 600; }
.poster__text p:nth-child(odd) { margin-top: 0; }
@media (max-width: 760px) {
  .poster { grid-template-columns: 1fr; }
  .poster__photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 86%, transparent 100%); }
  .poster__art::after { right: 0; }
  .poster__text { padding: 8px 18px 0; }
  .poster__text p { font-size: 1.2rem; }
}
/* Countdown: days only */
.countdown-card__timer { justify-content: center; } .countdown-card__timer > div { min-width: 96px; padding: 12px 18px; } .countdown-card__timer b { font-size: 2.4rem; }

/* Event / seva cards: equal picture frames so every card lines up */
.event-row { align-items: stretch; }
.event-card { display: flex; flex-direction: column; }
.event-card__thumb { aspect-ratio: 4 / 3 !important; min-height: 0; background: #0a1f33 !important; display: flex; align-items: center; justify-content: center; }
.event-card__thumb img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
.event-card__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.event-card__body .hindu-cal-badge { align-self: flex-start; }
.event-card__body > h4:first-child { margin-top: 33px; }

/* Peshwa-era historical references */
.peshwa-ref__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.peshwa-ref__card { padding: 24px 26px; background: #fff; border: 1px solid rgba(13, 60, 102, 0.16); border-radius: 16px; box-shadow: 0 14px 34px rgba(13, 60, 102, 0.07); }
.peshwa-ref__card--note { background: var(--gold-soft); border-color: var(--gold); }
.peshwa-ref__card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.peshwa-ref__card p { margin: 0; color: var(--ink-soft, #44546a); line-height: 1.85; }
.peshwa-ref__source { max-width: 1100px; margin: 28px auto 0; padding: 20px 26px; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 10px; }
.peshwa-ref__source h3 { margin: 0 0 8px; color: var(--navy); }
.peshwa-ref__source p { margin: 0 0 8px; color: var(--ink-soft, #44546a); line-height: 1.8; }

