:root {
  --red: #b90000;
  --red-dark: #820000;
  --red-deep: #4d0000;
  --gold: #f5c535;
  --saffron: #d68b1f;
  --cream: #fff5df;
  --paper: #fffaf0;
  --ink: #29170d;
  --muted: #725a49;
  --line: rgba(130, 0, 0, 0.16);
  --shadow: 0 20px 50px rgba(64, 25, 7, 0.12);
  --shadow-strong: 0 28px 70px rgba(64, 25, 7, 0.2);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pattern-lines: repeating-linear-gradient(
    135deg,
    rgba(130, 0, 0, 0.035) 0,
    rgba(130, 0, 0, 0.035) 1px,
    transparent 1px,
    transparent 18px
  );
  --paper-card: rgba(255, 249, 237, 0.9);
  --paper-card-strong: rgba(255, 250, 240, 0.96);
  --parchment-page: url("parchment-bg.png");
  --side-pattern: url("side-pattern.png");
  --side-pattern-width: clamp(135px, 14vw, 205px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6dfbb;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 8px clamp(18px, 4vw, 64px);
  background: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(64, 25, 7, 0.08);
  backdrop-filter: blur(20px);
}

.brand img {
  width: clamp(120px, 16vw, 165px);
  transition: transform 0.35s var(--ease);
}

.brand:hover img {
  transform: translateY(-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--red-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover {
  color: var(--red);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: var(--red-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(62, 0, 0, 0.9), rgba(92, 0, 0, 0.58) 48%, rgba(75, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(41, 23, 13, 0.44), rgba(41, 23, 13, 0.04));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 12s var(--ease) forwards;
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 96px 0;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--saffron);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2,
h3 {
  font-family: "Lora", Georgia, serif;
}

h1 {
  max-width: 100%;
  font-size: clamp(3rem, 6.1vw, 5.8rem);
  overflow-wrap: normal;
  white-space: nowrap;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

h2 {
  max-width: 780px;
  color: var(--red-dark);
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  letter-spacing: 0;
}

h3 {
  color: var(--red-dark);
  font-size: 1.18rem;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  font-weight: 500;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats span {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(130, 0, 0, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--red-dark);
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button.primary {
  color: #3b1700;
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(245, 197, 53, 0.28);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary:hover {
  background: #ffd85a;
  box-shadow: 0 18px 38px rgba(245, 197, 53, 0.34);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

section {
  position: relative;
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 76px);
  overflow: hidden;
}

section > * {
  position: relative;
  z-index: 2;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 34px;
}

.intro {
  background:
    var(--pdf-soft-overlay),
    var(--side-pattern) right center / var(--side-pattern-width) 100% no-repeat,
    var(--parchment-page) center / 100% 100% no-repeat;
}

.intro::after {
  display: none;
}

.intro::before,
.offerings::before,
.gallery::before {
  display: block;
  width: 78px;
  height: 4px;
  margin-bottom: 28px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
}

.intro-grid p {
  margin: 0;
  padding: 22px;
  border-left: 4px solid rgba(185, 0, 0, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 14px 34px rgba(64, 25, 7, 0.08);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: start;
  gap: 18px;
  padding-top: 0;
  background:
    var(--pdf-soft-overlay),
    var(--side-pattern) right center / var(--side-pattern-width) 100% no-repeat,
    var(--parchment-page) center / 100% 100% no-repeat;
}

.values article {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 238, 0.82));
  box-shadow: 0 12px 30px rgba(64, 25, 7, 0.08);
}

.values article::before {
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 3px;
  content: "";
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.values span {
  display: block;
  margin-bottom: 24px;
  color: var(--saffron);
  font-weight: 900;
}

.values p,
.offerings p,
.seva p,
.contact p,
footer p {
  color: var(--muted);
}

.offerings {
  position: relative;
  background:
    var(--pdf-soft-overlay),
    var(--side-pattern) right center / var(--side-pattern-width) 100% no-repeat,
    var(--parchment-page) center / 100% 100% no-repeat;
}

.offerings::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(185, 0, 0, 0.24), transparent);
}

.offerings-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.offerings article {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(130, 0, 0, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: auto;
}

/* Image wrapper at the top */
.offerings-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 3px solid rgba(245, 197, 53, 0.22);
}

.offerings img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.offerings img[src*="page09_07_Im106"] {
  object-position: center top !important;
  transform-origin: center top !important;
}

.offerings article:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.055);
}

/* Card details/text area */
.offerings-info {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.offerings article h3 {
  font-size: 1.36rem;
  color: var(--red-dark);
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.3;
}

.offerings article p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.offerings article::after {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  content: "";
  border-top: 2px solid rgba(245, 197, 53, 0.55);
  border-right: 2px solid rgba(185, 0, 0, 0.3);
  border-radius: 0 4px 0 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease), border-color 0.38s var(--ease);
  z-index: 2;
}

.offerings article:hover::after {
  transform: scale(1.1) translate(2px, -2px);
  border-top-color: var(--gold);
  border-right-color: var(--red);
}

.seva {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 246, 225, 0.78) 0%, rgba(255, 246, 225, 0.9) 46%, rgba(255, 246, 225, 0.96) 100%),
    var(--side-pattern) right center / var(--side-pattern-width) 100% no-repeat,
    var(--parchment-page) center / 100% 100% no-repeat;
}

.seva::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: clamp(18px, 5vw, 76px);
  width: 5px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--red));
  opacity: 0.75;
}

.seva-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(130, 0, 0, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 22px 52px rgba(64, 25, 7, 0.12);
}

.seva-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.seva-point-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  border-radius: 4px 8px 8px 4px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(185, 0, 0, 0.04);
  border-right: 1px solid rgba(185, 0, 0, 0.04);
  border-bottom: 1px solid rgba(185, 0, 0, 0.04);
  box-shadow: 0 4px 12px rgba(64, 25, 7, 0.03);
  transition:
    transform 0.32s var(--ease),
    background 0.32s var(--ease),
    border-color 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.seva-point-card:hover {
  background: rgba(255, 255, 255, 0.96);
  border-left-color: var(--gold);
  transform: translateY(-2px) translateX(2px);
  box-shadow: 0 8px 22px rgba(64, 25, 7, 0.08);
}

.seva-icon {
  font-size: 0.85rem;
  color: var(--gold);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: transform 0.32s var(--ease);
}

.seva-point-card:hover .seva-icon {
  transform: scale(1.2) rotate(45deg);
  color: var(--red);
}

.seva-text {
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
}

.seva-donate {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(120, 0, 0, 0.14);
}

.seva > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 250, 240, 0.9);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.seva > img:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

/* ── Gallery subtitle ── */
.gallery-subtitle {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  margin: 8px 0 0;
  max-width: 640px;
}

.gallery {
  position: relative;
  padding-right: max(clamp(18px, 5vw, 76px), calc(var(--side-pattern-width) + 38px));
}

.gallery::after {
  display: none;
}

/* ── Shared gallery row ── */
.gallery-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

/* ── Row 1: featured (wide + 2 equal) ── */
.gallery-row-featured {
  align-items: stretch;
}

.gallery-item-wide {
  flex: 1.5;
}

.gallery-row-featured .gallery-item:not(.gallery-item-wide) {
  flex: 1;
}

/* ── Row 2: 4 equal columns ── */
.gallery-row-quad .gallery-item {
  flex: 1;
}

/* ── Row 3: mixed (Puja + Mandir + 2 small) ── */
.gallery-row-mixed {
  align-items: stretch;
}

.gallery-item-puja {
  flex: 1.8;
}

.gallery-item-mandir {
  flex: 0.9;
}

.gallery-col-small {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Row 4: thumbnail strip ── */
.gallery-row-strip .gallery-item-strip {
  flex: 1;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 5px solid rgba(255, 250, 240, 0.88);
  box-shadow: 0 10px 28px rgba(64, 25, 7, 0.12);
  background: #fffaf0;
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease), border-color 0.38s var(--ease);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 22px 52px rgba(64, 25, 7, 0.2);
  border-color: rgba(245, 197, 53, 0.7);
  z-index: 3;
}

/* ── Images ── */
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.38s var(--ease), transform 0.5s var(--ease);
}

/* Featured row images */
.gallery-row-featured .gallery-item img {
  height: 280px;
}

/* Quad row */
.gallery-row-quad .gallery-item img {
  height: 180px;
}

/* Puja & Mandir items */
.gallery-item-puja img,
.gallery-item-mandir img {
  height: 100%;
}

/* Small items — use aspect-ratio based on landscape images (548×341 ≈ 3:2) */
.gallery-item-small {
  flex: 1;
}

.gallery-item-small img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* Strip */
.gallery-item-strip img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.gallery-item:hover img {
  filter: saturate(1.15) contrast(1.04);
  transform: scale(1.06);
}

/* ── Caption overlay ── */
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(41, 23, 13, 0.88) 0%, rgba(41, 23, 13, 0.5) 55%, transparent 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.36s var(--ease);
}

/* Strip captions are always visible, smaller */
.gallery-item-strip figcaption {
  transform: none;
  padding: 14px 10px 8px;
  font-size: 0.74rem;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

/* ── Category tag badge ── */
.gallery-tag {
  display: inline-block;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245, 197, 53, 0.9);
  color: #3b1700;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

/* ── CTA below gallery ── */
.gallery-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 28px;
}


/* ===========================
   CONTACT SECTION — Redesigned
   =========================== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: clamp(52px, 7vw, 88px) clamp(18px, 5vw, 76px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% 40%, rgba(160, 10, 0, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 55% 70% at 88% 65%, rgba(214, 139, 31, 0.1) 0%, transparent 60%),
    linear-gradient(155deg, #2e0000 0%, #520000 38%, #780000 70%, #3a0000 100%);
  color: #fff;
  position: relative;
}

/* Subtle top border glow */
.contact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,197,53,0.5), rgba(245,197,53,0.8), rgba(245,197,53,0.5), transparent);
}

/* Bottom glow line */
.contact::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--saffron), var(--gold), transparent);
  opacity: 0.6;
}


/* ── Ornamental header divider ── */
.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
}

.contact-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,197,53,0.55));
  display: block;
}

.contact-divider-line:last-child {
  background: linear-gradient(90deg, rgba(245,197,53,0.55), transparent);
}

.contact-divider-diamond {
  color: rgba(245,197,53,0.6);
  font-size: 0.55rem;
  line-height: 1;
}

.contact-divider-om {
  font-family: serif;
  font-size: 1.55rem;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(245,197,53,0.7);
  animation: omGlow 3.5s ease-in-out infinite;
  padding: 0 4px;
}

@keyframes omGlow {
  0%, 100% { text-shadow: 0 0 14px rgba(245,197,53,0.5); }
  50%       { text-shadow: 0 0 36px rgba(245,197,53,1), 0 0 55px rgba(245,197,53,0.4); }
}

/* ── Contact header block ── */
.contact-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  width: 100%;
}

.contact-header .eyebrow {
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-header h2 {
  color: #fff;
  font-size: clamp(2.1rem, 3.6vw, 3.8rem);
  margin-bottom: 16px;
  line-height: 1.08;
}

.contact-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

/* ── Four way-cards ── */
.contact-ways {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1020px;
  margin: 40px 0 0;
}

.contact-way-card {
  position: relative;
  padding: 28px 20px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(10px);
  transition: transform 0.32s var(--ease), background 0.32s var(--ease),
              border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
  overflow: hidden;
  text-align: center;
}

/* Gold top bar on hover */
.contact-way-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron));
  opacity: 0;
  transition: opacity 0.32s var(--ease);
  border-radius: 14px 14px 0 0;
}

/* Corner accent */
.contact-way-card::after {
  content: "";
  position: absolute;
  bottom: 12px; right: 14px;
  width: 28px; height: 28px;
  border-bottom: 1px solid rgba(245,197,53,0.3);
  border-right: 1px solid rgba(245,197,53,0.3);
  border-radius: 0 0 5px 0;
}

.contact-way-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(245,197,53,0.38);
  box-shadow: 0 18px 46px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,197,53,0.12);
}

.contact-way-card:hover::before {
  opacity: 1;
}

.contact-way-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}

.contact-way-card h3 {
  color: var(--gold);
  font-size: 1.08rem;
  font-family: "Lora", Georgia, serif;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-way-card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.58;
  margin: 0;
}

/* ── CTA button area ── */
.contact-cta {
  position: relative;
  z-index: 2;
  margin: 38px 0 48px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 36px rgba(245,197,53,0.32), 0 4px 12px rgba(0,0,0,0.22);
}

.contact-btn:hover {
  box-shadow: 0 18px 46px rgba(245,197,53,0.42), 0 6px 18px rgba(0,0,0,0.28);
}

/* ── Sanskrit verse strip ── */
.contact-verse {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  padding: 16px clamp(18px, 5vw, 76px) 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
  font-family: serif;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  color: rgba(245,197,53,0.58);
  letter-spacing: 0.04em;
}

.contact-verse-dot {
  color: rgba(245,197,53,0.3);
  font-size: 0.5rem;
  line-height: 1;
}

/* Global overrides */
.contact > * {
  position: relative;
  z-index: 2;
}

.contact h2 { color: #fff; }
.contact p  { color: rgba(255,255,255,0.78); max-width: none; opacity: 1; }


/* Brochure page system */
.intro,
.values,
.offerings,
.seva,
.gallery {
  min-height: 640px;
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(72px, 8vw, 118px);
  border-top: 1px solid rgba(130, 0, 0, 0.12);
  border-bottom: 1px solid rgba(130, 0, 0, 0.08);
  background-color: #f6dfbb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.intro {
  background-image:
    linear-gradient(90deg, rgba(255, 246, 225, 0.18), rgba(255, 246, 225, 0.08)),
    var(--side-pattern),
    var(--parchment-page);
  background-position: center, right center, center;
  background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
}

.values {
  background-image:
    linear-gradient(90deg, rgba(255, 246, 225, 0.16), rgba(255, 246, 225, 0.08)),
    var(--side-pattern),
    var(--parchment-page);
  background-position: center, right center, center;
  background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
}

.offerings {
  background-image:
    linear-gradient(90deg, rgba(255, 246, 225, 0.18), rgba(255, 246, 225, 0.1)),
    var(--side-pattern),
    var(--parchment-page);
  background-position: center, right center, center;
  background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
}

.seva {
  background-image:
    linear-gradient(90deg, rgba(255, 246, 225, 0.18), rgba(255, 246, 225, 0.08)),
    var(--side-pattern),
    var(--parchment-page);
  background-position: center, right center, center;
  background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
}

.gallery {
  background-image:
    linear-gradient(90deg, rgba(255, 246, 225, 0.16), rgba(255, 246, 225, 0.08)),
    var(--side-pattern),
    var(--parchment-page);
  background-position: center, right center, center;
  background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
}

.intro::before,
.offerings::before,
.gallery::before {
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.42);
}

.intro-grid,
.offerings-grid {
  max-width: 980px;
}

.intro-grid p,
.values article,
.offerings article,
.seva-content {
  border: 1px solid rgba(130, 0, 0, 0.14);
  background: var(--paper-card);
  box-shadow: 0 18px 44px rgba(64, 25, 7, 0.12);
}

.intro-grid p {
  border-left: 4px solid rgba(185, 0, 0, 0.42);
}

.values article {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 243, 220, 0.88));
}

.about-section {
  min-height: auto;
  padding-right: max(clamp(18px, 5vw, 76px), calc(var(--side-pattern-width) + 38px));
  overflow: visible;
}

/* Decorative large Om in background */
.about-om-deco {
  position: absolute;
  top: 50%;
  right: calc(var(--side-pattern-width) + 42px);
  transform: translateY(-50%);
  font-size: clamp(200px, 22vw, 320px);
  color: rgba(185, 0, 0, 0.045);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: 0;
}

.about-heading {
  max-width: 860px;
  margin-bottom: 42px;
  position: relative;
  z-index: 2;
}

.about-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.about-title-line::before {
  content: "";
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  display: block;
}

.about-title-line::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 53, 0.28);
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.about-panel {
  position: relative;
  min-height: 240px;
  padding: clamp(28px, 3.5vw, 42px) clamp(24px, 3vw, 36px);
  border: 1px solid rgba(130, 0, 0, 0.15);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 252, 244, 0.98) 0%, rgba(255, 244, 222, 0.92) 100%);
  box-shadow: 0 22px 52px rgba(64, 25, 7, 0.13), 0 4px 12px rgba(64, 25, 7, 0.06);
  overflow: hidden;
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease);
}

.about-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 68px rgba(64, 25, 7, 0.18), 0 6px 18px rgba(64, 25, 7, 0.08);
}

/* Top gradient bar */
.about-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--red), var(--saffron), var(--gold));
}

/* Icon badge */
.about-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 197, 53, 0.22), rgba(185, 0, 0, 0.1));
  border: 1px solid rgba(185, 0, 0, 0.15);
  font-size: 1.6rem;
  box-shadow: 0 6px 16px rgba(64, 25, 7, 0.1);
}

/* Tag label */
.about-panel-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 0, 0, 0.1), rgba(245, 197, 53, 0.14));
  border: 1px solid rgba(185, 0, 0, 0.2);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Panel inner heading */
.about-panel-title {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 1.22rem;
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  font-weight: 500;
  line-height: 1.72;
}

/* Corner decorative accent inside panel */
.about-panel-deco {
  position: absolute;
  bottom: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-bottom: 2px solid rgba(245, 197, 53, 0.4);
  border-right: 2px solid rgba(185, 0, 0, 0.25);
  border-radius: 0 0 8px 0;
  pointer-events: none;
}

.primary-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 246, 228, 0.94) 100%);
  border-color: rgba(185, 0, 0, 0.18);
}

/* Quote banner */
.about-quote-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  max-width: 980px;
  padding: 22px 32px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(185, 0, 0, 0.07), rgba(245, 197, 53, 0.1), rgba(185, 0, 0, 0.05));
  border: 1px solid rgba(185, 0, 0, 0.14);
  border-left: 4px solid var(--saffron);
  position: relative;
  z-index: 2;
}

.about-quote-banner p {
  margin: 0;
  flex: 1;
  color: var(--red-dark);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  line-height: 1.6;
}

.about-quote-mark {
  color: var(--saffron);
  font-size: 2.8rem;
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
  flex-shrink: 0;
}

.values-path {
  min-height: auto;
  padding-top: clamp(34px, 5vw, 64px);
  padding-right: max(clamp(18px, 5vw, 76px), calc(var(--side-pattern-width) + 38px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.values-path article {
  min-height: 280px;
  padding: 34px 30px;
  border-color: rgba(130, 0, 0, 0.16);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.97), rgba(255, 242, 218, 0.9));
  position: relative;
  overflow: hidden;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 197, 53, 0.18), rgba(185, 0, 0, 0.08));
  border: 2px solid rgba(185, 0, 0, 0.18);
  box-shadow: 0 0 0 6px rgba(245, 197, 53, 0.1), 0 8px 20px rgba(64, 25, 7, 0.1);
}

.values-path .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--red-dark);
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: none;
}

.values-path .step-label {
  margin: 0 0 8px;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.values-path h3 {
  margin-bottom: 14px;
  font-size: 1.42rem;
}

.values-path article > p:last-of-type {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

/* Corner accent for step cards */
.step-corner-accent {
  position: absolute;
  bottom: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid rgba(245, 197, 53, 0.45);
  border-right: 2px solid rgba(185, 0, 0, 0.22);
  border-radius: 0 0 6px 0;
  pointer-events: none;
}

.offerings article {
  background: var(--paper-card-strong);
}

.seva::before {
  display: none;
}

.seva-content {
  max-width: 680px;
  background: var(--paper-card-strong);
}

.seva > img {
  border: 10px solid rgba(255, 250, 240, 0.92);
  background: #fffaf0;
}

.gallery-grid img {
  background: #fffaf0;
  border: 8px solid rgba(255, 250, 240, 0.92);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 76px);
  background: #250000;
}

footer img {
  width: min(250px, 52vw);
}

footer p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  text-align: right;
}

.lift-card {
  transition:
    transform 0.34s var(--ease),
    box-shadow 0.34s var(--ease),
    border-color 0.34s var(--ease);
}

.lift-card:hover {
  border-color: rgba(185, 0, 0, 0.28);
  box-shadow: var(--shadow-strong);
  transform: translateY(-8px);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.01);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    width: auto;
    max-width: none;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.98);
    box-shadow: 0 18px 40px rgba(64, 25, 7, 0.16);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 0.32s var(--ease),
      padding 0.32s var(--ease),
      opacity 0.24s var(--ease),
      transform 0.32s var(--ease),
      border-color 0.32s var(--ease);
  }

  .nav.is-open {
    max-height: 330px;
    padding: 10px;
    border-color: var(--line);
    opacity: 1;
    transform: translateY(0);
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 6px;
  }

  .nav a:hover {
    background: rgba(245, 197, 53, 0.16);
  }

  .nav a::after {
    display: none;
  }

  .intro-grid,
  .about-grid,
  .values,
  .offerings-grid,
  .seva {
    grid-template-columns: 1fr;
  }

  .about-section,
  .values-path,
  .gallery {
    padding-right: clamp(18px, 5vw, 76px);
  }

  .about-panel {
    min-height: auto;
  }

  .about-om-deco {
    display: none;
  }

  .about-quote-banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 18px 22px;
  }

  .about-quote-mark {
    font-size: 2.2rem;
  }

  .intro,
  .offerings,
  .gallery {
    background-image:
      linear-gradient(90deg, rgba(255, 246, 225, 0.2), rgba(255, 246, 225, 0.08)),
      var(--side-pattern),
      var(--parchment-page);
    background-position: center, right center, center;
    background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
  }

  .seva {
    background-image:
      linear-gradient(90deg, rgba(255, 246, 225, 0.2), rgba(255, 246, 225, 0.08)),
      var(--side-pattern),
      var(--parchment-page);
    background-position: center, right center, center;
    background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
  }

  .intro::after,
  .gallery::after {
    display: none;
  }

  .values {
    background-image:
      linear-gradient(90deg, rgba(255, 246, 225, 0.2), rgba(255, 246, 225, 0.08)),
      var(--side-pattern),
      var(--parchment-page);
    background-position: center, right center, center;
    background-size: auto, var(--side-pattern-width) 100%, 100% 100%;
  }

  .seva::before {
    top: 42px;
    bottom: auto;
    left: 18px;
    width: 78px;
    height: 4px;
  }

  .seva-content {
    padding: 24px;
  }



  .gallery-row-featured,
  .gallery-row-mixed {
    flex-wrap: wrap;
  }

  .gallery-item-wide,
  .gallery-row-featured .gallery-item:not(.gallery-item-wide) {
    flex: 1 1 calc(50% - 6px);
  }

  .gallery-row-quad {
    flex-wrap: wrap;
  }

  .gallery-row-quad .gallery-item {
    flex: 1 1 calc(50% - 6px);
  }

  .gallery-item-puja,
  .gallery-item-mandir {
    flex: 1 1 calc(50% - 6px);
  }

  .gallery-item-puja img,
  .gallery-item-mandir img {
    height: 280px;
    object-fit: cover;
  }

  .gallery-col-small {
    flex: 1 1 100%;
    flex-direction: row;
  }

  .gallery-row-strip {
    flex-wrap: wrap;
  }

  .gallery-item-strip {
    flex: 1 1 calc(33% - 8px);
  }

  .contact-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root {
    --side-pattern-width: 86px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  h1 {
    max-width: 100%;
    font-size: 2.16rem;
  }

  .brand img {
    width: 136px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 14px;
  }

  .about-panel,
  .values-path article {
    padding: 22px;
  }

  .values-path h3 {
    font-size: 1.25rem;
  }



  .seva-points {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    flex-direction: column;
  }

  .gallery-item-wide,
  .gallery-row-featured .gallery-item:not(.gallery-item-wide),
  .gallery-item-puja,
  .gallery-item-mandir {
    flex: none;
  }

  .gallery-row-quad,
  .gallery-row-strip {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gallery-row-quad .gallery-item,
  .gallery-item-strip {
    flex: 1 1 calc(50% - 6px);
  }

  .gallery-col-small {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gallery-item-small {
    flex: 1 1 calc(50% - 6px);
  }

  .gallery-item-puja img {
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .gallery-item-mandir img {
    height: auto !important;
    aspect-ratio: 2 / 3;
  }

  .contact-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-verse {
    font-size: 0.72rem;
    gap: 6px 10px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Home admissions preview */
.admissions-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  padding: clamp(70px, 9vw, 116px) max(clamp(20px, 5vw, 76px), calc(var(--side-pattern-width) + 28px)) clamp(70px, 9vw, 116px) clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(120, 0, 0, .12);
  background:
    linear-gradient(90deg, rgba(255,246,225,.12), rgba(255,246,225,.04)),
    var(--side-pattern) right center / var(--side-pattern-width) 100% no-repeat,
    var(--parchment-page) center / 100% 100% no-repeat;
}

.admissions-preview-content { max-width: 760px; }
.admissions-preview-content h2 { margin-bottom: 22px; }
.admissions-preview-content > p { max-width: 720px; color: var(--muted); font-size: 1.04rem; }
.admissions-preview-hindi { color: var(--red-dark) !important; font-weight: 600; }
.admissions-preview-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button.outline { border-color: rgba(120,0,0,.28); color: var(--red-dark); background: rgba(255,250,240,.72); }

.admissions-preview-panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(120,0,0,.16);
  border-radius: 8px;
  background: rgba(255,250,240,.94);
  box-shadow: 0 22px 52px rgba(63,9,7,.14);
}

.admissions-preview-panel > span {
  display: block;
  margin-bottom: 16px;
  color: var(--saffron);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admissions-preview-panel > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(120,0,0,.12);
}

.admissions-preview-panel strong { color: var(--red-dark); font-family: "Lora", Georgia, serif; font-size: 2rem; }
.admissions-preview-panel p { margin: 0; color: var(--muted); font-weight: 700; }
.admissions-preview-panel small { display: block; margin-top: 20px; color: var(--green, #234a3d); font-weight: 700; }

@media (max-width: 980px) {
  .admissions-preview { grid-template-columns: 1fr; padding-right: clamp(20px, 5vw, 76px); }
}

@media (max-width: 620px) {
  .admissions-preview { padding: 58px 20px; background-image: var(--parchment-page); background-size: 100% 100%; }
  .admissions-preview-actions { display: grid; }
  .admissions-preview-actions .button { width: 100%; }
}

/* Homepage admission notice */
.home-admissions-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(30px, 4vw, 46px) clamp(22px, 6vw, 88px);
  border-top: 3px solid var(--gold);
  background: #430805;
  color: #fff;
}

.home-admissions-copy {
  max-width: 820px;
}

.home-admissions-copy .eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
}

.home-admissions-copy h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.home-admissions-copy > p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.home-admissions-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 440px;
}

.home-admissions-banner .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
}

@media (max-width: 980px) {
  .home-admissions-banner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-admissions-actions {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .home-admissions-banner {
    padding: 28px 20px 32px;
  }

  .home-admissions-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

}
