:root {
  --bg-start: #1a0d3e;
  --bg-end: #2e1460;
  --card-bg: #3c1a78;
  --accent-saffron: #f97316;
  --accent-saffron-dark: #cc7a2a;
  --accent-gold: #d4af37;
  --accent-gold-soft: #f2d06d;
  --accent-blue: #33d1ff;
  --text-heading: #fffdf7;
  --text-body: #eae3f7;
  --text-muted: #ccbfe6;
  --surface-dark: rgba(30, 12, 68, 0.92);
  --border: rgba(242, 208, 109, 0.35);
  --shadow: 0 10px 30px rgba(5, 2, 15, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--accent-saffron);
  background: linear-gradient(180deg, var(--bg-start), var(--bg-end));
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  color: var(--accent-blue) !important;
}

h1,
h2 {
  font-family: "Cinzel", serif;
  color: var(--text-heading);
  color: var(--accent-blue) !important;
}

h3,
h4,
h5,
h6 {
  color: var(--text-body);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(17, 7, 42, 0.35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head.left {
  text-align: left;
}

.eyebrow {
  color: var(--accent-gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

main {
  padding-top: 84px;
}

.navbar {
  position: relative;
  z-index: 1001;
  border-top: 2px solid var(--accent-saffron);
  background: rgba(26, 13, 62, 0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 95vw);
  margin: 0 auto;
  padding: 0.7rem 0.8rem;
}

.navbar.scrolled {
  background: rgba(26, 13, 62, 0.95);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 999px;
  background: var(--text-heading);
  padding: 0.2rem;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-hi {
  font-family: "Noto Sans Devanagari", sans-serif;
  color: var(--accent-gold-soft);
  font-size: 0.75rem;
}

.brand-en {
  font-family: "Cinzel", serif;
  color: var(--text-heading);
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-heading);
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
  background: rgba(51, 209, 255, 0.12);
}

.nav-cta {
  background: var(--accent-saffron);
  color: var(--bg-start) !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--accent-saffron-dark) !important;
  color: var(--bg-start) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 0.5rem;
  padding: 0.45rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
}

@media (min-width: 901px) {
  .nav-links {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 3, 20, 0.6);
  z-index: 1000;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 90vw);
  background: var(--surface-dark);
  z-index: 1002;
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.6rem;
  border-left: 1px solid var(--border);
  align-content: start;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text-heading);
  padding: 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(60, 26, 120, 0.35);
  font-weight: 500;
}

.mobile-menu a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(51, 209, 255, 0.08);
}

.mobile-cta {
  border-color: var(--accent-gold) !important;
  background: var(--accent-saffron);
  color: var(--accent-blue) !important;
  font-weight: 700;
}

.mobile-cta:hover {
  background: var(--accent-saffron-dark);
  color: var(--accent-blue) !important;
}

.mobile-close {
  justify-self: end;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--accent-gold);
  background: rgba(60, 26, 120, 0.45);
  color: var(--text-heading);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.mobile-close:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.mobile-menu[hidden],
.mobile-overlay[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20, 8, 52, 0.65), rgba(20, 8, 52, 0.85)),
    url("Pictures/bg.png") center/cover no-repeat;
  opacity: 0.75;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-saffron);
  opacity: 0;
  animation: rise var(--duration) linear infinite;
}

@keyframes rise {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-110vh);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 760px;
  padding-bottom: 6rem;
  z-index: 2;
}

.hero-mantra {
  color: var(--accent-gold-soft);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.hero-subtext {
  color: var(--text-body);
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-bell {
  position: absolute;
  top: clamp(0.8rem, 2.5vw, 1.5rem);
  right: clamp(0.8rem, 3.5vw, 2rem);
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  z-index: 4;
}

.bell-btn {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.7);
  background: radial-gradient(circle at 35% 30%, rgba(249, 115, 22, 0.28), rgba(30, 12, 68, 0.9));
  color: var(--accent-gold-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bell-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--accent-gold-soft);
}

.bell-btn:active {
  transform: scale(0.98);
}

.bell-glow {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.42) 0%, rgba(249, 115, 22, 0.2) 42%, rgba(249, 115, 22, 0) 72%);
  filter: blur(1px);
  animation: bellGlowPulse 2s ease-in-out infinite;
  pointer-events: none;
}

.bell-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.bell-prompt {
  color: var(--accent-saffron);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  animation: bellPromptFade 1.9s ease-in-out infinite;
}

.bell-stream {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.bell-fly {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translate(-50%, 0) scale(1);
  color: var(--accent-gold-soft);
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.45);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  animation: bellTextFly var(--flight-duration, 1.8s) ease-out forwards;
}

@keyframes bellTextFly {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-1 * var(--rise-y, 170px))) scale(0.75);
    opacity: 0;
  }
}

@keyframes bellGlowPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08);
  }
}

@keyframes bellPromptFade {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-saffron);
  color: var(--bg-start);
}

.btn-primary:hover {
  background: var(--accent-saffron-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-body);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--bg-start);
  transform: translateY(-2px);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

#about {
  position: relative;
}

.about-shell {
  position: relative;
}

.about-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.2rem;
  background: linear-gradient(140deg, rgba(51, 209, 255, 0.09), rgba(249, 115, 22, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 0;
}

.about-shell .about-grid {
  position: relative;
  z-index: 1;
}

.about-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.about-tabs .section-head {
  margin-bottom: 0.4rem;
}

.about-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.about-tab-btn {
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  background: rgba(26, 13, 62, 0.72);
  color: var(--text-heading);
  font-weight: 600;
  font-family: "Poppins", "Noto Sans Devanagari", sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.about-tab-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(51, 209, 255, 0.12);
  transform: translateY(-1px);
}

.about-tab-btn[aria-selected="true"] {
  border-color: var(--accent-gold-soft);
  color: var(--bg-start);
  background: linear-gradient(130deg, var(--accent-gold-soft), var(--accent-saffron));
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.28);
}

.about-panels {
  position: relative;
}

.about-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 430px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background:
    linear-gradient(130deg, rgba(60, 26, 120, 0.76), rgba(46, 20, 96, 0.7));
  box-shadow: var(--shadow);
  isolation: isolate;
  animation: aboutPanelEnter 0.45s ease;
}

.about-panel[hidden] {
  display: none;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 20, 96, 0.95) 0%, rgba(60, 26, 120, 0.84) 48%, rgba(60, 26, 120, 0.22) 72%, rgba(60, 26, 120, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-panel-text,
.about-panel-media {
  position: relative;
  z-index: 2;
}

.about-panel-text {
  padding: 2rem 1.9rem;
  display: grid;
  align-content: center;
  gap: 0.9rem;
}

.about-panel-text h3 {
  color: var(--text-heading);
  font-family: "Cinzel", serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.15;
}

.about-panel-text p {
  color: rgba(255, 253, 247, 0.92);
  font-size: 1.03rem;
  line-height: 1.7;
}

.about-panel-media {
  display: grid;
}

.about-media-stage {
  position: relative;
  min-height: 430px;
  border-left: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(26, 13, 62, 0.26);
}

.about-media-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 8, 40, 0.06), rgba(18, 8, 40, 0.32));
  pointer-events: none;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.85s ease, transform 4s ease;
  will-change: opacity, transform;
}

.about-photo.active {
  opacity: 1;
  transform: scale(1.07);
}

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

.about-panel-events .about-panel-text {
  padding: 1.45rem;
  gap: 1rem;
}

.events-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
}

.event-segment {
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 0.9rem;
  background: rgba(20, 8, 52, 0.54);
  padding: 0.78rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.55rem;
}

.event-segment-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.7rem;
}

.event-segment-header h4 {
  margin: 0;
  color: var(--text-heading);
  font-size: 1.06rem;
  font-family: "Cinzel", serif;
}

.event-segment p {
  margin: 0;
  color: rgba(255, 253, 247, 0.9);
  font-size: 0.92rem;
  line-height: 1.55;
}

.event-segment-gallery {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 0.72rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: rgba(26, 13, 62, 0.38);
}

.event-segment-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.75s ease, transform 4s ease;
}

.event-segment-photo.active {
  opacity: 1;
  transform: scale(1.06);
}

.event-segment-ram {
  box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.24);
}

.event-segment-mandir {
  box-shadow: inset 0 0 0 1px rgba(242, 208, 109, 0.24);
}

.event-segment-other {
  box-shadow: inset 0 0 0 1px rgba(51, 209, 255, 0.24);
}

@keyframes aboutPanelEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.katha-hero {
  margin-bottom: 1.5rem;
}

.katha-actions {
  margin-top: 1rem;
}

.katha-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.katha-grand {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

.katha-main,
.katha-side {
  background: rgba(60, 26, 120, 0.52);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.katha-story {
  margin-bottom: 0.9rem;
  color: var(--text-body);
  font-family: "Cormorant Garamond", "Noto Sans Devanagari", serif;
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
  line-height: 1.75;
}

.katha-tagline {
  margin-bottom: 1rem;
  color: var(--accent-gold-soft);
  font-weight: 600;
  font-family: "Cormorant Garamond", "Noto Sans Devanagari", serif;
  font-size: clamp(1.3rem, 1.9vw, 1.8rem);
}

.katha-story-image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.text-emphasis {
  color: var(--accent-gold-soft);
  font-weight: 700;
}

.katha-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.katha-meta-card {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(30, 12, 68, 0.62);
  padding: 0.8rem;
  font-size: 1.03rem;
}

.meta-label {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.katha-meta-card a {
  color: var(--accent-gold-soft);
  text-decoration: none;
}

.katha-meta-card a:hover {
  color: var(--accent-blue);
}

.guruji-card,
.bhajan-card {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(30, 12, 68, 0.62);
}

.bhajan-card {
  border-color: var(--accent-saffron);
  background: linear-gradient(160deg, rgba(249, 115, 22, 0.22), rgba(204, 122, 42, 0.16));
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.2), var(--shadow);
}

.bhajan-card h4 {
  color: var(--accent-gold-soft);
}

.guruji-card {
  margin-bottom: 0.8rem;
}

.guruji-image {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0.8rem;
  border: 1px solid var(--border);
  margin-bottom: 0.7rem;
}

.guruji-card h3,
.bhajan-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.guruji-card p,
.bhajan-card p {
  font-size: 1.06rem;
}

.katha-links {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.katha-links a {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  color: var(--text-heading);
  text-decoration: none;
  background: rgba(60, 26, 120, 0.35);
  font-size: 1.02rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.katha-links a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(51, 209, 255, 0.08);
}

.bhajan-card .katha-links a {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.16);
}

.bhajan-card .katha-links a:hover {
  border-color: var(--accent-gold-soft);
  color: var(--accent-gold-soft);
  background: rgba(249, 115, 22, 0.28);
}

.katha-gallery {
  margin-top: 1.1rem;
}

.katha-gallery h3 {
  margin-bottom: 0.8rem;
  color: var(--accent-gold-soft);
}

.katha-gallery .slider-frame {
  min-height: 420px;
}

.katha-carousel h3 {
  margin-bottom: 0.8rem;
  color: var(--accent-gold-soft);
}

.about-slider h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.about-card {
  background: rgba(60, 26, 120, 0.52);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.about-slider {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.3rem;
}

.slider-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
  background: var(--card-bg);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--accent-gold);
  color: var(--text-heading);
  background: rgba(26, 13, 62, 0.75);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--accent-saffron);
  color: var(--bg-start);
}

.slider-btn.prev {
  left: 0.8rem;
}

.slider-btn.next {
  right: 0.8rem;
}

.about-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.about-copy p {
  color: var(--text-body);
  font-size: 1.04rem;
}

.about-static-image {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 20%, rgba(51, 209, 255, 0.14), rgba(60, 26, 120, 0.45));
  padding: 1rem;
  box-shadow: 0 10px 35px rgba(9, 3, 26, 0.45);
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  position: relative;
  background: rgba(60, 26, 120, 0.45);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem 0.55rem 2.1rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.95rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--accent-gold-soft), var(--accent-saffron));
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(60, 26, 120, 0.6);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.card h3,
.card h4 {
  color: var(--accent-gold-soft);
  margin-top: 0.3rem;
  margin-bottom: 0.45rem;
}

.donation-panel {
  max-width: 760px;
  margin: 0 auto;
}

.donation-fieldset {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.9rem;
}

.donation-fieldset legend {
  color: var(--accent-gold-soft);
  padding: 0 0.35rem;
}

.donation-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.donation-tabs input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donation-tab {
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--accent-gold);
  padding: 0.72rem 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(26, 13, 62, 0.65);
  color: var(--text-heading);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.donation-tab:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.donation-tabs input[type="radio"]:checked + .donation-tab {
  background: rgba(51, 209, 255, 0.16);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.donation-tabs input[type="radio"]:focus-visible + .donation-tab {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.donate-submit {
  justify-self: start;
}

#donationMessage {
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  resize: none;
  overflow-y: auto;
}

.meta {
  margin-top: 0.7rem;
  color: var(--accent-blue);
  font-size: 0.9rem;
}

.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-box {
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(60, 26, 120, 0.45);
}

.stat-number {
  color: var(--accent-blue);
  font-size: 2rem;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid var(--accent-gold);
  background: rgba(26, 13, 62, 0.85);
  color: var(--text-heading);
  padding: 0.65rem 0.75rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--accent-blue);
}

.form-status.error {
  color: var(--accent-saffron);
}

.sign-in-card {
  display: grid;
  gap: 1rem;
}

.sign-in-note {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.signed-in-state {
  border: 1px solid rgba(51, 209, 255, 0.36);
  border-radius: 0.8rem;
  background: rgba(51, 209, 255, 0.08);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.signed-in-state h3 {
  color: var(--accent-blue);
}

.signed-in-state p {
  color: var(--text-heading);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.newsletter {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.viewer-banner {
  background: linear-gradient(180deg, rgba(17, 7, 42, 0.54), rgba(26, 13, 62, 0.74));
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.viewer-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 18% 25%, rgba(249, 115, 22, 0.14), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(51, 209, 255, 0.14), transparent 44%);
}

.viewer-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
}

.viewer-item {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(60, 26, 120, 0.44);
  box-shadow: var(--shadow);
  padding: 1.1rem 1rem;
}

.viewer-number {
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.viewer-label {
  color: var(--text-body);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  margin-top: 0.45rem;
  letter-spacing: 0.02em;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.5rem;
  background: rgba(26, 13, 62, 0.9);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copy {
  display: grid;
  gap: 0.15rem;
}

.footer-contact {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.footer-contact p {
  color: var(--text-heading);
}

.footer-contact a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--accent-gold-soft);
}

.social-links {
  margin-top: 0.45rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-social {
  position: absolute;
  left: 50%;
  bottom: clamp(0.7rem, 2.6vw, 1.4rem);
  transform: translateX(-50%);
  z-index: 3;
  width: min(920px, 92vw);
  margin-top: 0;
}

.social-btn {
  min-height: 56px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.social-btn span {
  color: var(--text-heading);
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-whatsapp {
  background: rgba(36, 211, 102, 0.14);
  border-color: rgba(146, 255, 176, 0.7);
  box-shadow: 0 0 16px rgba(36, 211, 102, 0.32);
}

.social-whatsapp:hover {
  box-shadow: 0 0 24px rgba(80, 255, 137, 0.6);
}

.social-youtube {
  background: rgba(255, 0, 0, 0.16);
  border-color: rgba(255, 138, 138, 0.72);
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.3);
}

.social-youtube:hover {
  box-shadow: 0 0 24px rgba(255, 74, 74, 0.58);
}

.social-instagram {
  background: rgba(255, 0, 191, 0.14);
  border-color: rgba(255, 141, 234, 0.72);
  box-shadow: 0 0 16px rgba(255, 0, 191, 0.3);
}

.social-instagram:hover {
  box-shadow: 0 0 24px rgba(255, 80, 219, 0.58);
}

#loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  background: radial-gradient(circle at center, #2f1670, #12092e);
  z-index: 1200;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 72px;
  height: 72px;
  border: 3px solid transparent;
  border-top-color: var(--accent-blue);
  border-right-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

.loader-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 999px;
  background: var(--text-heading);
  padding: 0.2rem;
}

.loader-text {
  color: var(--accent-gold-soft);
  font-family: "Cinzel", serif;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.6s ease;
}

.reveal {
  transform: translateY(18px);
}

.reveal-left {
  transform: translateX(-18px);
}

.reveal-right {
  transform: translateX(18px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: grid;
  }

  .mobile-overlay {
    display: block;
  }

  .about-grid,
  .katha-grid,
  .katha-grand,
  .katha-meta-grid,
  .contact-grid,
  .card-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .katha-main,
  .katha-side {
    padding: 1rem;
  }

  .katha-story {
    font-size: 1.16rem;
  }

  .katha-tagline {
    font-size: 1.32rem;
  }

  .katha-gallery .slider-frame {
    min-height: 300px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding-bottom: 6.6rem;
  }

  .hero-bell {
    top: 0.8rem;
    right: 0.8rem;
  }

  .bell-btn {
    width: 62px;
    height: 62px;
  }

  .bell-fly {
    font-size: 0.9rem;
  }

  .about-shell::before {
    inset: 0;
  }

  .about-tabs-nav {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .about-tab-btn {
    flex: 0 0 auto;
    min-width: 148px;
  }

  .about-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-panel::before {
    background: linear-gradient(180deg, rgba(46, 20, 96, 0.95) 0%, rgba(60, 26, 120, 0.84) 50%, rgba(60, 26, 120, 0.18) 75%, rgba(60, 26, 120, 0) 100%);
  }

  .about-panel-text {
    padding: 1.2rem 1.05rem 0.95rem;
  }

  .events-segments {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .about-panel-media {
    min-height: 300px;
  }

  .about-media-stage {
    min-height: 300px;
    border-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.24);
  }

  .about-card {
    padding: 1rem;
  }

  .about-slider {
    justify-items: center;
    text-align: center;
  }

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

  .footer-wrap {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .footer-contact {
    text-align: left;
  }

  .social-links {
    justify-content: center;
    gap: 0.55rem;
  }

  .hero-social {
    bottom: 0.9rem;
  }

  .social-btn {
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 1rem;
  }

  .social-btn span {
    display: none;
  }

  .social-btn img {
    width: 30px;
    height: 30px;
  }

  .viewer-banner {
    padding: 2.3rem 0.8rem;
  }
}