@import url(/font-awesome/css/font-awesome.min.css);

/* Devanagari fallback — loaded from jsDelivr CDN (independent of Google Fonts).
   unicode-range restricts this font to Hindi/Devanagari characters only,
   so Latin menu text is NOT affected. */
@font-face {
  font-family: 'Noto Sans Devanagari';
  src: url('https://cdn.jsdelivr.net/npm/@fontsource/noto-sans-devanagari@5/files/noto-sans-devanagari-devanagari-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-U+097F, U+1CD0-U+1CF9, U+200C-U+200D, U+20A8, U+20B9, U+25CC, U+A830-U+A839, U+A8E0-U+A8FF;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, table, th, td, tr, tbody, thead, thead, tfoot, dl, dt, dd, div, em, strong, b, i, sub, sup, ul, ol, li, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, pre, blockquote, a, abbr, acronym, address, big, small, cite, code, del, dfn, font, ins, kbd, q, s, samp, strike, fieldset, form, label, legend, caption, main, section, header, footer, aside, hgroup {
  margin: 0;
  padding: 0;
  text-decoration: none;
  transition: all 0.3s ease-out 0s;
  font-family: "Google Sans", "Noto Sans Devanagari", "Mangal", sans-serif;
  font-optical-sizing: auto;
  /* color: #333333; */

}

html {
  box-sizing: border-box;
  font-size: 15px;
}

.cls {
  clear: both;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  /* color: #555555!important; */
  background: #0a0a0a; /* prevent hero reel from bleeding below footer */
}

img {
  max-width: 100%;
  vertical-align: bottom;
  border: none;
}

ul, ol, li {
  list-style: none;
}

a:focus,
input:focus,
select:focus {
  outline: 0 !important;
}

textarea {
  resize: none;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

h2{

  text-transform: uppercase;
  font-family: "Google Sans", sans-serif;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.5px;
  height: auto;
}

/* =========================================
   PAGE LOADER — TRISHUL FILL
   ========================================= */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 90% 80% at 50% 38%, #1c0014 0%, #0d0008 52%, #000 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* Soft ambient glow behind trishul */
.ldr-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,0,0.1) 0%, transparent 68%);
  animation: ldrGlowPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ldrGlowPulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.2); opacity: 1; }
}
/* Trishul SVG container */
.ldr-trishul-wrap {
  position: relative;
  width: 68px;
  height: 106px;
  margin-bottom: 1.6rem;
}
.ldr-trishul { width: 100%; height: 100%; overflow: visible; }
/* Animated clip-path rect — grows from bottom to top */
.trishul-clip-group {
  transform-origin: 30px 110px;
  animation: trishulFillUp 2.4s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes trishulFillUp {
  0%    { transform: scaleY(0); }
  60%   { transform: scaleY(1); }
  82%   { transform: scaleY(1); }
  99%   { transform: scaleY(0); }
  100%  { transform: scaleY(0); }
}
/* Brand text */
.ldr-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 1.4rem;
}
.ldr-brand-logo {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(255,200,80,0.45));
  user-select: none;
  -webkit-user-drag: none;
}
.ldr-brand-mantra {
  font-size: 0.82rem;
  color: rgba(255,160,60,0.4);
  letter-spacing: 0.06em;
  font-family: "Google Sans", sans-serif;
}
/* Three bouncing dots */
.ldr-dots { display: flex; gap: 0.5rem; }
.ldr-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,190,60,0.5);
  animation: ldrDotBounce 1.3s ease-in-out infinite;
}
.ldr-dots span:nth-child(2) { animation-delay: 0.22s; }
.ldr-dots span:nth-child(3) { animation-delay: 0.44s; }
@keyframes ldrDotBounce {
  0%, 75%, 100% { transform: translateY(0);    opacity: 0.45; }
  38%            { transform: translateY(-7px); opacity: 1; }
}

/* ═══════════════════════════════════════════
   DAILY BHAKTI WHEEL
   ═══════════════════════════════════════════ */
#bhakti-wheel-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(180,60,0,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 75%, rgba(100,0,180,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 10%, rgba(200,120,0,0.14) 0%, transparent 40%),
    rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  overflow-y: auto;
  padding: 1rem;
}
.bw-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
  padding: 2rem 1.4rem 1.6rem;
  background: rgba(10, 4, 0, 0.42);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255,200,80,0.18);
  border-radius: 28px;
  box-shadow:
    0 8px 48px rgba(0,0,0,0.55),
    0 1px 0 rgba(255,210,100,0.12) inset,
    0 -1px 0 rgba(255,150,0,0.08) inset;
}
.bw-om {
  font-size: 2.4rem;
  color: #FFD700;
  text-shadow: 0 0 24px rgba(255,180,0,0.9);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.bw-title {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFE8A0;
  margin: 0 0 0.2rem;
  font-family: "Google Sans", "Poppins", sans-serif;
}
.bw-subtitle {
  font-size: 0.75rem;
  color: rgba(255,180,60,0.52);
  letter-spacing: 0.07em;
  margin: 0 0 1.4rem;
}
.bw-wheel-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.bw-pointer {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 0 5px rgba(255,200,0,0.95));
}
#bw-canvas {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,200,60,0.32), 0 0 42px rgba(255,130,0,0.18);
  display: block;
  cursor: pointer;
  width: min(360px, 88vw);
  height: min(360px, 88vw);
}
.bw-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff8d0, #FFD700 55%, #b87000);
  border: 2px solid #8a5000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255,180,0,0.5), 0 2px 6px rgba(0,0,0,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 3;
  padding: 0;
}
.bw-center-btn:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 28px rgba(255,180,0,0.8); }
.bw-center-btn span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #4a2200;
  pointer-events: none;
}
.bw-result {
  margin-top: 0;
  padding: 2rem 2rem;
  border: 1px solid rgba(255,200,60,0.28);
  border-radius: 18px;
  background: rgba(255,160,0,0.07);
  width: min(360px, 88vw);
  animation: bwFadeUp 0.45s ease forwards;
}
.bw-result.bw-hidden { display: none; }
.bw-hidden { display: none !important; }
@keyframes bwFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bw-result-icon { font-size: 3.5rem; margin-bottom: 0.6rem; }
.bw-result-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFE080;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.bw-result-sub {
  font-size: 0.88rem;
  color: rgba(255,210,110,0.82);
  line-height: 1.65;
}
.bw-enter-btn {
  margin-top: 1rem;
  padding: 0.62rem 2rem;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  border: none;
  border-radius: 28px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2a1000;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255,140,0,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.bw-enter-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,140,0,0.55); }
.bw-enter-btn.bw-hidden { display: none !important; }
.bw-skip-btn {
  margin-top: 0.6rem;
  background: none;
  border: none;
  font-size: 0.82rem;
  color: rgba(255,190,80,0.7);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  padding: 0.3rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bw-skip-btn:hover { color: rgba(255,210,100,1); }
.bw-close-btn {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: none;
  border: 1px solid rgba(255,200,60,0.25);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,200,80,0.65);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 0;
  line-height: 1;
  z-index: 4;
}
.bw-close-btn:hover {
  background: rgba(255,100,0,0.18);
  color: #FFD700;
  border-color: rgba(255,180,0,0.6);
}
.bw-nav-btn {
  background: none;
  border: 1px solid rgba(255,200,60,0.3);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #ffcc66;
  transition: transform 0.25s, background 0.2s, border-color 0.2s;
  vertical-align: middle;
  line-height: 1;
  padding: 0;
}
.bw-nav-btn:hover {
  transform: rotate(30deg) scale(1.15);
  background: rgba(255,200,60,0.12);
  border-color: rgba(255,200,60,0.7);
}
/* Wheel button in navbar header (mobile-only; panchang bar shows it on desktop) */
.bw-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  padding: 0 0.4rem;
  line-height: 1;
  vertical-align: middle;
  transition: transform 0.25s, color 0.2s;
}
.bw-header-btn:hover { transform: rotate(45deg); color: #FFD700; }
@media (max-width: 768px) {
  .bw-header-btn { display: inline-block; }
}
@media (max-width: 380px) {
  .bw-title { font-size: 1.05rem; }
  .bw-center-btn { width: 44px; height: 44px; }
}

/* =========================================
   PANCHANG BAR (top of page)
   ========================================= */
.panchang-bar {
  width: 100%;
  background: linear-gradient(90deg, #0e0006, #1e0016 25%, #260019 50%, #1e0016 75%, #0e0006);
  border-bottom: 2px solid rgba(255,120,0,0.4);
  position: relative;
  z-index: 1100;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(180,0,80,0.18);
}
.panchang-bar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,120,0,0.7) 30%, rgba(255,210,0,0.55) 50%, rgba(255,120,0,0.7) 70%, transparent 95%);
}
.panchang-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1.2rem;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.panchang-om {
  font-size: 1.45rem;
  opacity: 0.9;
  margin-right: 0.5rem;
  filter: drop-shadow(0 0 7px rgba(255,160,0,0.75));
}
.panchang-item {
  font-size: 0.95rem;
  font-family: "Google Sans", sans-serif;
  color: rgba(255,225,170,0.92);
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.pc-day {
  font-weight: 700;
  color: rgba(255,210,110,1);
  font-size: 0.98rem;
}
.panchang-tithi-block {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(255,90,0,0.18);
  border: 1px solid rgba(255,140,0,0.5);
  border-radius: 22px;
  padding: 0.2rem 1rem 0.2rem 0.85rem;
  white-space: nowrap;
  box-shadow: 0 0 12px rgba(255,100,0,0.2);
}
.pc-tithi-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,140,0,0.9);
  letter-spacing: 0.4px;
  font-family: "Google Sans", sans-serif;
}
.pc-tithi-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffd84a;
  letter-spacing: 0.5px;
  font-family: "Google Sans", sans-serif;
  text-shadow: 0 0 12px rgba(255,190,0,0.65);
}
.pc-paksha {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,200,110,0.92);
}
.panchang-divider {
  color: rgba(255,120,0,0.45);
  font-size: 1rem;
  font-weight: 400;
  padding: 0 0.1rem;
}
/* Toggle button */
.pc-toggle-btn {
  background: rgba(255,120,0,0.18);
  border: 1px solid rgba(255,140,0,0.5);
  border-radius: 16px;
  color: rgba(255,200,90,0.98);
  font-size: 0.8rem;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  padding: 0.28rem 1rem;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  margin-left: 0.6rem;
  box-shadow: 0 0 8px rgba(255,120,0,0.18);
}
.pc-toggle-btn:hover { background: rgba(255,130,0,0.32); border-color: rgba(255,170,0,0.75); box-shadow: 0 0 14px rgba(255,130,0,0.35); }
/* Full panchang panel */
.panchang-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  background: linear-gradient(135deg, #0d0008 0%, #100008 50%, #08000d 100%);
  border-top: 1px solid rgba(255,120,0,0.15);
}
.panchang-full.open { max-height: 260px; }
.panchang-full-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 1.4rem;
}
.pcf-title {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,170,0,0.8);
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(255,140,0,0.35);
}
.pcf-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem 1rem;
}
.pcf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,130,0,0.2);
  border-radius: 12px;
  padding: 0.65rem 0.5rem 0.55rem;
  transition: background 0.2s;
}
.pcf-item:hover { background: rgba(255,120,0,0.1); }
.pcf-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,150,0,0.75);
  font-family: "Google Sans", sans-serif;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.pcf-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,235,185,0.97);
  font-family: "Google Sans", sans-serif;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 0 6px rgba(255,180,0,0.2);
}
@media (max-width: 900px) { .pcf-grid { grid-template-columns: repeat(4, 1fr); } .panchang-full.open { max-height: 360px; } }
@media (max-width: 600px) {
  .panchang-inner { gap: 0 0.6rem; padding: 0.55rem 1rem; }
  .panchang-item { font-size: 0.82rem; }
  .pc-tithi-name { font-size: 0.98rem; }
  .pc-day, .pc-paksha { display: none; }
  .pcf-grid { grid-template-columns: repeat(3, 1fr); }
  .panchang-full.open { max-height: 480px; }
}

/* =========================================
   CREATIVE SECTION HEADINGS
   ========================================= */
.sec-head {
  position: relative;
  text-align: center;
  padding: 0.5rem 1rem 0.2rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

/* Ghost watermark text */
.sec-head::before {
  content: attr(data-ghost);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.028);
  text-transform: uppercase;
  letter-spacing: 12px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  font-family: "Google Sans", sans-serif;
}

/* Top ornament row */
.sec-head-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}
.sec-head-rule {
  flex: 0 0 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.7));
}
.sec-head-rule.right {
  background: linear-gradient(90deg, rgba(255,0,0,0.7), transparent);
}
.sec-head-badge {
  font-size: 0.58rem;
  font-family: "Google Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,60,0,0.7);
  background: rgba(255,30,0,0.07);
  border: 1px solid rgba(255,30,0,0.2);
  border-radius: 20px;
  padding: 0.15rem 0.75rem;
  white-space: nowrap;
}

/* Decorative icon above h2 */
.sec-head-accent-icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: rgba(255,140,0,0.55);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 18px rgba(255,120,0,0.45);
  filter: drop-shadow(0 0 8px rgba(255,100,0,0.35));
}
.sec-head-badge .fa {
  font-size: 0.7rem;
  margin-right: 0.35rem;
  opacity: 0.85;
  vertical-align: middle;
}
/* The h2 inside sec-head */
.sec-head h2 {
  position: relative;
  z-index: 1;
  font-family: "Berkshire Swash", serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 20%, rgba(255,200,150,0.85) 60%, rgba(255,80,0,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: none;
}

/* Gradient accent bar below */
.sec-head-bar {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #f00, #273a8f);
  position: relative;
  z-index: 1;
}
.sec-head-bar::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f00;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255,0,0,0.7);
}

/* =========================================
   HERO VIDEO REEL
   ========================================= */
/* hero-wrapper is the 100vh positioning context for the video */
.hero-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
  /* isolation: isolate removed — it created a stacking context that trapped
     position:fixed navbar inside, causing it to be painted below page sections */
  background: #0a0a0a url('/images/bg.jpg') center/cover no-repeat;
}

#hero-video-reel {
  position: absolute;
  inset: 0;
  z-index: 0; /* positive so hero-wrapper needn't be a stacking context */
  overflow: hidden;
}
.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.8s ease-in-out, transform 1.8s ease-in-out;
  will-change: opacity, transform;
}
.hero-vid.active {
  opacity: 1;
  transform: scale(1);
}
/* during overlap both videos blend their frames together */
.hero-vid.merging {
  mix-blend-mode: screen;
}
/* legacy */
#background-video { display: none; }

  #pr-container .slider-wrapper{

    display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: center;
  }

  .header-content {
    position: relative;
    z-index: 2; /* above overlay (z-index:1) and video-reel (z-index:0) */
    /* JS sets --hero-h to (window.innerHeight - element.getBoundingClientRect().top)
       so the hero fills exactly the visible viewport regardless of top bars */
    height: var(--hero-h, 100vh);
    overflow-x: hidden;
  }

/* ── Scroll indicator ── */
.scroll-indicator {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  z-index: 50;
  animation: scrollBounce 2s ease-in-out infinite;
  user-select: none;
  transition: opacity 0.4s ease;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,215,0,0.85);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  box-shadow: 0 0 12px rgba(255,215,0,0.3);
}
.scroll-wheel {
  width: 4px;
  height: 7px;
  background: #FFD700;
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
.scroll-label {
  font-size: 0.65rem;
  color: rgba(255,215,0,0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 576px) {
  .scroll-indicator { bottom: 1rem; }
  .scroll-mouse { width: 20px; height: 32px; }
  .scroll-label { font-size: 0.6rem; }
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(10px); }
  61%  { opacity: 0; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

 .overlay {
    position: absolute;
    height: var(--hero-h, 100vh);
    width: 100%;
    background: url(../images/overlay-pattern.png) 100%;
    opacity: 0.5;
    z-index: 1; /* above video-reel (z-index:0) */
      }

      .overlay img {

width: 100%;
height: 100%;
opacity: .1;

      }

  .header-content .col{
color: #fff;
height: var(--hero-h, 100vh);
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: center;
align-content: center;
  }

  .header-content .col h1{
    color: #fff;
    right: 0px;
    position: relative;
    background: rgba(0,0,0,.5);
    font-size: 1.5rem;
    line-height: 1.55;
    font-weight: 400;
    padding: 0.75rem 2rem;
    text-align: center;
    text-transform: uppercase;
    border-radius: 10px;
    max-width: 100%;
      }

 #video-btn{
height: 40px!important;
width: 40px!important;
right: 0px;
bottom: 10%;
position: absolute;

 } 

 .navbar{
position: absolute!important;
/* top:3rem!important; */
/* height: 50px!important; */


 }

 

 .nav-link{
color: #fff!important;
text-transform: uppercase;
cursor: pointer;
 }
/* 
 .nav-link:hover{
border-bottom: 1px solid #f00!important;
  
   } */

  
 #navbarNav
 { 
justify-content: center!important;
}

/* ── Desktop: center nav links between logo and social icons ── */
@media (min-width: 992px) {
  #navbarNav {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  #navbarNav .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
}

.navbar-brand
{
width: clamp(8rem, 14vw, 13rem);
height: auto;

}


.nav-link{

padding-left: 0.7rem!important;
padding-right: 0.7rem!important;

}

.header-social-icons i{

color: #fff!important;
padding-left: .5rem;
padding-right: .5rem;
}

/* ---- Festival Calendar Button (navbar) ---- */
.festival-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.35rem 1.2rem;
  background: linear-gradient(135deg, rgba(255,140,0,0.15), rgba(255,80,0,0.1));
  border: 1px solid rgba(255,160,0,0.55);
  border-radius: 20px;
  color: #ffcc66;
  font-size: 0.82rem;
  font-family: "Google Sans", sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.22s;
  vertical-align: middle;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.festival-cal-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff8800, #ff4400);
  opacity: 0;
  transition: opacity 0.22s;
}
.festival-cal-btn:hover::before { opacity: 1; }
.festival-cal-btn i, .festival-cal-btn .festival-cal-label {
  position: relative; z-index: 1;
}
.festival-cal-btn i { font-size: 0.82rem; }
.festival-cal-btn:hover { border-color: #ff6600; color: #fff; }
.festival-cal-label { font-size: 0.72rem; }

/* ---- Festival Calendar Popup ---- */
.fest-cal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(18px) brightness(0.45);
  -webkit-backdrop-filter: blur(18px) brightness(0.45);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.fest-cal-overlay.active {
  display: flex;
  animation: vpFadeIn 0.3s ease;
}
.fest-cal-box {
  position: relative;
  background: #09090f;
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: vpSlideUp 0.38s cubic-bezier(.22,.9,.4,1);
  box-shadow:
    0 0 0 1px rgba(255,140,0,0.3),
    0 0 60px rgba(255,100,0,0.18),
    0 40px 100px rgba(0,0,0,0.85);
}

/* Hero banner */
.fest-cal-hero {
  position: relative;
  padding: 0.9rem 1.6rem 0.85rem;
  background:
    linear-gradient(160deg, #1a0a00 0%, #120510 45%, #050514 100%);
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,140,0,0.15);
}
.fest-cal-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255,100,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(255,200,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(39,58,143,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.fest-cal-hero-bg::after {
  content: '🕉️';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  opacity: 0.06;
  pointer-events: none;
}
.fest-cal-hero-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 1rem; }
.fest-cal-diyas { font-size: 0.95rem; letter-spacing: 0.3rem; opacity: 0.75; flex-shrink: 0; }
.diya {
  display: inline-block;
  animation: diyaFloat 2.5s ease-in-out infinite;
}
.diya:nth-child(2) { animation-delay: 0.5s; }
.diya:nth-child(3) { animation-delay: 1s; }
@keyframes diyaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.fest-cal-hero-text { flex: 1; min-width: 0; }
.fest-cal-hero-tag {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,180,80,0.55);
  margin-bottom: 0.15rem;
}
.fest-cal-hero-title {
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.1;
  margin: 0 0 0.15rem;
  background: linear-gradient(90deg, #ffffff, #ffcc88, #ff8800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fest-cal-hero-sub {
  color: rgba(255,255,255,0.3);
  font-size: 0.68rem;
  letter-spacing: 0.2px;
  margin: 0;
  font-style: italic;
}

/* Close button in hero */
.fest-cal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  color: #ccc; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; transition: background 0.22s, color 0.22s, transform 0.28s;
}
.fest-cal-close:hover { background: #f00; border-color: #f00; color: #fff; transform: rotate(90deg) scale(1.1); }

/* Month tabs */
.fest-cal-months {
  display: flex;
  overflow-x: auto;
  gap: 0.35rem;
  padding: 0.8rem 1.2rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
  scrollbar-width: none;
}
.fest-cal-months::-webkit-scrollbar { display: none; }
.fest-month-tab {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.42);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.9rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Google Sans", sans-serif;
  white-space: nowrap;
}
.fest-month-tab:hover { border-color: rgba(255,140,0,0.5); color: #ffaa44; background: rgba(255,120,0,0.08); }
.fest-month-tab.active {
  background: linear-gradient(135deg, #ff8800, #ff4400);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(255,100,0,0.4);
}

/* Festival list body */
.fest-cal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.4rem 1.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,130,0,0.35) transparent;
}
.fest-cal-body::-webkit-scrollbar { width: 4px; }
.fest-cal-body::-webkit-scrollbar-track { background: transparent; }
.fest-cal-body::-webkit-scrollbar-thumb { background: rgba(255,130,0,0.4); border-radius: 2px; }

/* Today banner */
.fest-today-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255,130,0,0.18), rgba(255,80,0,0.1));
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  animation: vpPulse 2s ease-in-out infinite;
}
.fest-today-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffaa44;
  font-family: "Google Sans", sans-serif;
}
.fest-today-name {
  font-size: 0.85rem;
  color: #fff;
  font-family: "Google Sans", sans-serif;
}

/* Month label */
.fest-month-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,180,80,0.35);
  margin-bottom: 0.8rem;
  padding-left: 0.2rem;
}

/* Festival list */
.fest-list { display: flex; flex-direction: column; gap: 0.6rem; }

.fest-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.055);
  border-left: 3px solid rgba(255,130,0,0.4);
  border-radius: 10px;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: default;
}
.fest-item:hover {
  background: rgba(255,100,0,0.06);
  border-color: rgba(255,130,0,0.35);
  border-left-color: rgba(255,130,0,0.9);
  transform: translateX(3px);
}
.fest-item.today {
  background: rgba(255,130,0,0.1);
  border-color: rgba(255,140,0,0.5);
  border-left-color: #ff8800;
  box-shadow: 0 0 18px rgba(255,120,0,0.15);
}

/* Color variants — left border accents */
.fest-color-red    { border-left-color: rgba(220,40,40,0.6); }
.fest-color-blue   { border-left-color: rgba(60,100,220,0.6); }
.fest-color-green  { border-left-color: rgba(40,160,80,0.6); }
.fest-color-gold   { border-left-color: rgba(220,170,0,0.7); }
.fest-color-yellow { border-left-color: rgba(230,200,30,0.6); }
.fest-color-pink   { border-left-color: rgba(220,80,140,0.6); }
.fest-color-purple { border-left-color: rgba(140,60,200,0.6); }
.fest-color-saffron{ border-left-color: rgba(255,100,0,0.7); }
.fest-color-tricolor { border-left-color: rgba(19,136,8,0.6); }

.fest-item:hover.fest-color-red     { background: rgba(220,40,40,0.06); }
.fest-item:hover.fest-color-blue    { background: rgba(60,100,220,0.06); }
.fest-item:hover.fest-color-green   { background: rgba(40,160,80,0.06); }
.fest-item:hover.fest-color-gold    { background: rgba(220,170,0,0.06); }
.fest-item:hover.fest-color-yellow  { background: rgba(230,200,30,0.06); }
.fest-item:hover.fest-color-pink    { background: rgba(220,80,140,0.06); }
.fest-item:hover.fest-color-purple  { background: rgba(140,60,200,0.06); }
.fest-item:hover.fest-color-saffron { background: rgba(255,100,0,0.07); }
.fest-item:hover.fest-color-tricolor{ background: rgba(19,136,8,0.05); }

.fest-date-box {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255,130,0,0.1);
  border: 1px solid rgba(255,130,0,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  line-height: 1.15;
}
.fest-item.today .fest-date-box {
  background: linear-gradient(135deg, #ff8800, #ff4400);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(255,100,0,0.4);
}
.fest-date-day { font-size: 1.15rem; font-weight: 700; color: #ffbb55; font-family: "Google Sans", sans-serif; }
.fest-item.today .fest-date-day { color: #fff; }
.fest-date-month { font-size: 0.56rem; text-transform: uppercase; color: rgba(255,190,80,0.65); letter-spacing: 0.5px; }
.fest-item.today .fest-date-month { color: rgba(255,255,255,0.8); }

.fest-icon-bubble {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.fest-info { flex: 1; min-width: 0; }
.fest-name {
  color: #fff;
  font-size: 0.92rem;
  font-family: "Google Sans", sans-serif;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.fest-today-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-family: "Google Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #ff8800;
  color: #fff;
  border-radius: 8px;
  padding: 0.1rem 0.45rem;
  line-height: 1.5;
}
.fest-desc { color: rgba(255,255,255,0.38); font-size: 0.71rem; margin-top: 0.18rem; line-height: 1.5; }

/* Empty state */
.fest-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 3.5rem 1rem;
  color: rgba(255,255,255,0.22); font-size: 0.85rem; letter-spacing: 0.5px;
}
.fest-empty-icon { font-size: 2.5rem; opacity: 0.4; }

/* Footer */
.fest-cal-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(90deg, #0e0a04, #100c18 50%, #0e0a04);
  border-top: 1px solid rgba(255,140,0,0.1);
  flex-shrink: 0;
}
.fest-cal-footer .vp-footer-logo { height: 18px; width: auto; opacity: 0.6; }
.fest-cal-footer-text {
  font-size: 0.7rem;
  color: rgba(255,180,80,0.5);
  letter-spacing: 1px;
  font-style: italic;
}

@media (max-width: 600px) {
  .festival-cal-label { display: none; }
  .fest-cal-box { max-width: 100%; border-radius: 14px; }
  .fest-cal-hero-title { font-size: 1rem; }
  .fest-cal-diyas { display: none; }
}

/* ---- Language Toggle Button ---- */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.6rem;
  padding: 0.22rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  font-family: "Google Sans", sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  vertical-align: middle;
  line-height: 1.4;
}
.lang-toggle-btn:hover {
  background: #f00;
  border-color: #f00;
  color: #fff;
}

#section-feed{

 background-color: #000; 

display: block;
padding-top: 1rem;
padding-bottom: 3rem;

}


#motivation-section-feed{

  background-color: #000; 

 display: block;
 padding-top: 3rem;
 padding-bottom: 3rem;
 
 }

 #section-bhajan-feed{

background-color: #000; 
 display: block;
 padding-top: 1rem;
 padding-bottom: 3rem;
 
 }

#section-legends-feed {
  background-color: #000;
  display: block;
  padding-top: 1rem;
  padding-bottom: 3rem;
}

/* ---- Legend Story Cards Grid ---- */
.legends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.legend-card {
  /* ── Glassmorphism ── */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1.5px 0 rgba(255,255,255,0.06) inset;
}
.legend-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4400, #FFD700, #273a8f);
  opacity: 0;
  transition: opacity 0.25s;
}
.legend-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,100,0,0.2);
  border-color: rgba(255, 100, 0, 0.30);
}
.legend-card:hover::before { opacity: 1; }

.legend-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,0,0,0.2), rgba(39,58,143,0.2));
  border: 1px solid rgba(255,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.legend-card-icon i {
  color: #f00;
  font-size: 1rem;
}

.legend-card-title {
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.legend-card-excerpt {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.legend-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,80,0,0.8);
  background: rgba(255,0,0,0.08);
  border: 1px solid rgba(255,0,0,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.legend-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255,0,0,0.45);
  color: #ff6633;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.42rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.2s;
  margin-top: 0.25rem;
}
.legend-read-more i { font-size: 0.65rem; transition: transform 0.2s; }
.legend-read-more:hover {
  background: #f00;
  border-color: #f00;
  color: #fff;
  transform: translateY(-1px);
}
.legend-read-more:hover i { transform: translateX(3px); }

@media (max-width: 991px) {
  .legends-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .legends-grid { grid-template-columns: 1fr; }
}

/* =========================================
   DID YOU KNOW SECTION
   ========================================= */
#section-did-you-know {
  background-color: #000;
  padding: 3rem 0 4rem;
}
.dyk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}
.dyk-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1.5px 0 rgba(255,255,255,0.06) inset;
}
.dyk-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dyk-card .dyk-lang-tabs {
  margin-bottom: 0;
}
.dyk-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4400, #FFD700, #273a8f);
  opacity: 0;
  transition: opacity 0.25s;
}
.dyk-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,100,0,0.2);
  border-color: rgba(255, 100, 0, 0.30);
}
.dyk-card:hover::before { opacity: 1; }
.dyk-q {
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  line-height: 1.4;
}
.dyk-ans {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0;
  flex: 1;
  text-align: justify;
}
/* ── DYK language tabs ── */
.dyk-lang-tabs {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,160,0,0.28);
  margin-bottom: 1.8rem;
}
.dyk-lang-tab {
  padding: 0.45rem 1.35rem;
  font-family: "Google Sans", "Poppins", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.03);
  color: rgba(255,245,220,0.5);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.dyk-lang-tab + .dyk-lang-tab {
  border-left: 1px solid rgba(255,160,0,0.22);
}
.dyk-lang-tab.active {
  background: rgba(255,120,0,0.18);
  color: #FFD700;
}
.dyk-lang-tab:hover:not(.active) {
  background: rgba(255,120,0,0.08);
  color: rgba(255,245,220,0.8);
}
/* Hindi text in DYK uses Noto Serif Devanagari */
#section-did-you-know .dyk-hi {
  font-family: 'Noto Serif Devanagari', serif;
}
#section-did-you-know .dyk-hi.dyk-q {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 991px) {
  .dyk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .dyk-grid { grid-template-columns: 1fr; }
}

/* =========================================
   DIVINE TEMPLES SECTION
   ========================================= */
#section-temples {
  background: #000;
  padding: 5rem 0;
}

.temples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: left;
}

.temple-card {
  background: linear-gradient(150deg, #0f0b04, #140d06, #0e0a05);
  border: 1px solid rgba(255,160,0,0.1);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.temple-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8c00, #ffd700, #ff4500, #ffd700, #ff8c00);
  background-size: 200% 100%;
  opacity: 0.75;
  transition: opacity 0.28s;
}
.temple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(255,140,0,0.18), 0 4px 16px rgba(0,0,0,0.6);
  border-color: rgba(255,160,0,0.32);
}
.temple-card:hover::before { opacity: 1; }

.temple-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.temple-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,140,0,0.22), rgba(255,50,0,0.1));
  border: 1px solid rgba(255,150,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.temple-deity-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,190,0,0.95);
  background: rgba(255,140,0,0.12);
  border: 1px solid rgba(255,140,0,0.3);
  border-radius: 20px;
  padding: 0.22rem 0.75rem;
  font-weight: 600;
  font-family: "Google Sans", sans-serif;
}
.temple-card-name {
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.35;
  letter-spacing: 0.2px;
}
.temple-card-loc {
  color: rgba(255,160,0,0.58);
  font-size: 0.8rem;
  font-family: "Google Sans", sans-serif;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.temple-card-loc i { font-size: 0.63rem; }
.temple-card-excerpt {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.78;
  margin-bottom: 1rem;
  flex: 1;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.temple-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.temple-card-tags span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,150,0,0.72);
  background: rgba(255,100,0,0.08);
  border: 1px solid rgba(255,100,0,0.2);
  border-radius: 12px;
  padding: 0.15rem 0.6rem;
  font-family: "Google Sans", sans-serif;
}
.temple-read-more,
.temple-read-more:hover,
.temple-read-more:visited,
.temple-read-more:focus,
.temple-read-more:active {
  text-decoration: none;
}
.temple-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 1px solid rgba(255,150,0,0.4);
  color: #ffaa33;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.42rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Google Sans", sans-serif;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.2s;
  margin-top: auto;
  align-self: flex-start;
}
.temple-read-more i { font-size: 0.63rem; transition: transform 0.2s; }
.temple-read-more:hover {
  background: linear-gradient(90deg, #ff8c00, #ffcc00);
  border-color: #ffcc00;
  color: #000;
  transform: translateY(-1px);
}
.temple-read-more:hover i { transform: translateX(3px); }

@media (max-width: 1200px) {
  .temples-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .temples-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .temples-grid { grid-template-columns: 1fr; }
}

/* =========================================
   SITE SEARCH
   ========================================= */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(18px) brightness(0.45);
  -webkit-backdrop-filter: blur(18px) brightness(0.45);
  align-items: flex-start;
  justify-content: center;
  padding-top: 7vh;
  animation: searchFadeIn 0.22s ease;
}
.search-overlay.open { display: flex; }
@keyframes searchFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.search-box {
  width: 100%;
  max-width: 720px;
  margin: 0 1rem;
}
.search-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,140,0,0.35);
  border-radius: 14px;
  padding: 0 1rem;
  transition: border-color 0.2s;
}
.search-input-wrap:focus-within {
  border-color: rgba(255,160,0,0.75);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
}
.search-input-icon {
  color: rgba(255,150,0,0.6);
  font-size: 1rem;
  margin-right: 0.7rem;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.15rem;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  padding: 0.9rem 0;
  caret-color: #ffaa33;
}
.search-input::placeholder { color: rgba(255,255,255,0.28); }
.search-clear {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0.2rem;
  line-height: 1;
  display: none;
}
.search-clear.visible { display: block; }
.search-clear:hover { color: #ff4444; }
.search-close {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.search-close:hover { background: rgba(255,0,0,0.2); color: #fff; }
.search-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-family: "Poppins", sans-serif;
  margin: 0.55rem 0 0.3rem 0.2rem;
  min-height: 1.1em;
}
.search-results {
  max-height: 68vh;
  overflow-y: auto;
  margin-top: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,140,0,0.3) transparent;
}
.search-results::-webkit-scrollbar { width: 5px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,140,0,0.3); border-radius: 10px; }
.search-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255,255,255,0.25);
  font-family: "Poppins", sans-serif;
}
.search-empty i { font-size: 2.2rem; margin-bottom: 1rem; display: block; opacity: 0.3; }
.search-empty p { font-size: 0.88rem; line-height: 1.75; }
.search-no-results {
  text-align: center;
  padding: 2.5rem 1rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
}
/* Category group */
.search-group-label {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,140,0,0.55);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  padding: 1rem 0.6rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 0.2rem;
}
/* Result card */
.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.search-result-item:hover { background: rgba(255,140,0,0.08); }
.search-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(255,100,0,0.2), rgba(39,58,143,0.15));
  border: 1px solid rgba(255,100,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: #ffaa44;
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  margin-bottom: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-title mark {
  background: rgba(255,180,0,0.25);
  color: #ffcc55;
  border-radius: 3px;
  padding: 0 2px;
}
.search-result-excerpt {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-excerpt mark {
  background: rgba(255,180,0,0.18);
  color: rgba(255,210,100,0.85);
  border-radius: 2px;
  padding: 0 1px;
}
.search-result-badge {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,80,0,0.12);
  border: 1px solid rgba(255,80,0,0.22);
  color: rgba(255,130,0,0.75);
  border-radius: 10px;
  padding: 0.1rem 0.5rem;
  margin-top: 0.35rem;
  display: inline-block;
  font-family: "Poppins", sans-serif;
}
@media (max-width: 600px) {
  .search-box { margin: 0 0.6rem; }
  .search-input { font-size: 1rem; }
  .search-results { max-height: 60vh; }
}

/* ===== STORY POPUP ===== */
.story-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(14px) brightness(0.5);
  -webkit-backdrop-filter: blur(14px) brightness(0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.story-popup-overlay.active {
  display: flex;
  animation: vpFadeIn 0.3s ease;
}
.story-popup-box {
  position: relative;
  background: #0c0c14;
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: vpSlideUp 0.35s cubic-bezier(.22,.9,.4,1);
  box-shadow:
    0 0 0 1px rgba(255,0,0,0.3),
    0 0 40px rgba(255,0,0,0.15),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.story-popup-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f00 30%, #ff6600 60%, #273a8f 90%, transparent);
  z-index: 2;
}

/* header */
.story-popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem 1rem;
  background: linear-gradient(90deg, #0e0e1a, #16163a 50%, #0e0e1a);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.story-popup-header-left {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
}
.story-popup-icon {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,0,0,0.22), rgba(39,58,143,0.22));
  border: 1px solid rgba(255,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.story-popup-icon i { color: #f00; font-size: 1.1rem; }
.story-popup-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,100,0,0.75);
  margin-bottom: 0.3rem;
}
.story-popup-title {
  color: #fff;
  font-family: "Google Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin: 0;
}
.story-popup-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #aaa;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.22s, color 0.22s, transform 0.28s;
}
.story-popup-close:hover {
  background: #f00;
  border-color: #f00;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* scrollable body */
.story-popup-body {
  padding: 1.6rem 1.8rem;
  overflow-y: auto;
  flex: 1;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  line-height: 1.85;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,0,0,0.4) transparent;
}
.story-popup-body::-webkit-scrollbar { width: 4px; }
.story-popup-body::-webkit-scrollbar-track { background: transparent; }
.story-popup-body::-webkit-scrollbar-thumb { background: rgba(255,0,0,0.4); border-radius: 2px; }
.story-popup-body p {
  margin-bottom: 1.1rem;
  text-indent: 1.2em;
}
.story-popup-body p:first-child { text-indent: 0; }

/* footer */
.story-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.4rem;
  background: linear-gradient(90deg, #0e0e1a, #16163a 50%, #0e0e1a);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.story-popup-footer .vp-footer-logo {
  height: 18px;
  width: auto;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px rgba(255,0,0,0.2));
}
.story-narrator-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255,0,0,0.35);
  color: rgba(255,100,0,0.85);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.22s;
  font-family: "Google Sans", sans-serif;
  line-height: 1.4;
}
.story-narrator-btn:hover { background: #f00; border-color: #f00; color: #fff; }
.story-narrator-btn.narrating {
  background: rgba(255,0,0,0.1);
  border-color: rgba(255,0,0,0.65);
  color: #ff4422;
  animation: vpPulse 1.5s ease-in-out infinite;
}




/* =========================================
   WALLPAPERS SECTION
   ========================================= */
#section-wallpapers {
  background: #000;
  padding: 3rem 0 4rem;
}
.wallpaper-subtext {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

/* God tabs */
.wallpaper-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.wp-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.38rem 1.1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.22s;
  font-family: "Google Sans", sans-serif;
}
.wp-tab:hover {
  border-color: rgba(255,0,0,0.5);
  color: #ff6633;
}
.wp-tab.active {
  background: #f00;
  border-color: #f00;
  color: #fff;
}

/* Wallpaper Grid */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.wp-card {
  border-radius: 10px;
  overflow: hidden;
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  display: flex;
  flex-direction: column;
}
.wp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(255,0,0,0.15);
  border-color: rgba(255,0,0,0.3);
}
.wp-card-img-wrap {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
}
.wp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.wp-card:hover .wp-card-img {
  transform: scale(1.06);
}
.wp-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}
.wp-card:hover .wp-card-overlay { opacity: 1; }
.wp-card-overlay i {
  color: #fff;
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(255,0,0,0.7));
}
.wp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  background: #111;
}
.wp-card-num {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
}
.wp-dl-icon {
  color: rgba(255,80,0,0.7);
  font-size: 0.85rem;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.wp-dl-icon:hover { color: #f00; transform: translateY(-2px); }

/* Coming soon */
.wp-coming-soon {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4rem 1rem;
  color: rgba(255,255,255,0.25);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wp-coming-soon i { font-size: 2rem; color: rgba(255,0,0,0.25); }

/* Lightbox */
.wp-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wp-lightbox-overlay.active {
  display: flex;
  animation: vpFadeIn 0.25s ease;
}
.wp-lightbox-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  width: 100%;
  animation: vpSlideUp 0.3s cubic-bezier(.22,.9,.4,1);
}
.wp-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30,0,0,0.85);
  border: 1px solid rgba(255,0,0,0.4);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, transform 0.28s;
}
.wp-lightbox-close:hover { background: #f00; border-color: #f00; transform: rotate(90deg); }
.wp-lightbox-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}
.wp-lightbox-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,0,0,0.25), 0 20px 60px rgba(0,0,0,0.8);
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
}
.wp-lightbox-wm {
  bottom: 14px !important;
  top: auto !important;
  right: 14px !important;
  width: 80px !important;
}
/* File info bar */
.wp-lightbox-info {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,160,0,0.2);
  border-radius: 8px;
}
.wp-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.wp-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,210,150,0.8);
  font-family: 'Google Sans', sans-serif;
}
.wp-info-item i { color: #FFA040; font-size: 0.75rem; }
.wp-lightbox-footer {
  margin-top: 1rem;
  text-align: center;
}
.wp-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f00;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.55rem 1.5rem;
  border-radius: 24px;
  text-decoration: none;
  transition: background 0.22s, transform 0.22s;
  font-family: "Google Sans", sans-serif;
  border: none;
  cursor: pointer;
}
.wp-download-btn:hover { background: #cc0000; transform: translateY(-2px); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .wallpaper-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .wallpaper-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-lightbox-box { max-width: 95vw; }
}

.filler{
  height: 2.5rem;
  background-color: #f2f2f2;
  width: 100%;
  clear: both;
  display: block;
}



  .img-round{

border-radius: 10px;

  }









  











  #events .card{

border: transparent!important;
background-color: #fff!important;
  }

    #events .card .card-header{

background: #273a8f;
color: #fff;
text-align: left;
border-bottom: 10px solid #fff;
font-size: 1.5rem;
  }

  #events .card .card-footer{

    border: transparent!important;
    background-color: #fff!important;
      }
  
  

      .slider-wrapper {
        overflow: hidden;
        max-width: 1200px;
        margin: 0 70px 55px;
      }
      .card-list .card-item {
        height: auto;
        color: #fff;
        user-select: none;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* border-radius: 10px;
        backdrop-filter: blur(30px);
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.5); */
      }
    
      .slider-wrapper .swiper-pagination-bullet {
        background: #f00;
        height: 13px;
        width: 13px;
        opacity: 0.5;
      }
      .slider-wrapper .swiper-pagination-bullet-active {
        opacity: 1;
      }
      .slider-wrapper .swiper-slide-button {
        color: #f00;
        margin-top: -55px;
        transition: 0.2s ease;
      }
      .slider-wrapper .swiper-slide-button:hover {
        color: #fff;
      }
      @media (max-width: 768px) {
        .slider-wrapper {
          margin: 0 10px 40px;
        }
        .slider-wrapper .swiper-slide-button {
          display: none;
        }
      }





      .slider-wrapper-header {
        overflow: hidden;
        max-width: 1200px;
        margin: 0 70px 55px;
      }
  
    
      .slider-wrapper-header .swiper-pagination-bullet {
        background: #f00;
        height: 13px;
        width: 13px;
        opacity: 0.5;
      }
      .slider-wrapper-header .swiper-pagination-bullet-active {
        opacity: 1;
      }
      .slider-wrapper-header .swiper-slide-button {
        color: #f00;
        margin-top: -55px;
        transition: 0.2s ease;
      }
      .slider-wrapper-header .swiper-slide-button:hover {
        color: #fff;
      }
      @media (max-width: 768px) {
        .slider-wrapper-header {
          margin: 0 10px 40px;
        }
        .slider-wrapper-header .swiper-slide-button {
          display: none;
        }
      }


      iframe, video{
        /* border-radius: 20px; */
        overflow: hidden;
      }

      /* YouTube responsive embed */
      .yt-embed-wrap {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        background: #000;
      }
      .yt-embed-wrap iframe {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        border: none;
      }

      /* YouTube facade — crisp hqdefault thumbnail, swap to iframe on click */
      .yt-facade {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
        overflow: hidden;
      }
      .yt-facade img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }
      .yt-facade:hover img { transform: scale(1.04); }
      .yt-play-btn {
        position: relative;
        z-index: 1;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 68px; height: 48px;
        filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
        transition: transform 0.2s, filter 0.2s;
      }
      .yt-facade:hover .yt-play-btn {
        transform: scale(1.15);
        filter: drop-shadow(0 4px 20px rgba(0,0,0,0.85));
      }
      .yt-play-btn svg { width: 68px; height: 48px; display: block; }

      .video-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.4rem 0.2rem 0;
        width: 100%;
      }
      .video-actions {
        display: flex;
        gap: 0.6rem;
        padding: 0;
      }
      .video-actions i {
        color: rgba(255,255,255,0.75);
        font-size: 1.05rem;
        cursor: pointer;
        transition: color 0.2s, transform 0.18s;
      }
      .video-actions i:hover {
        color: #ff6a00;
        transform: scale(1.25);
      }
      .video-title {
        color: rgba(255,210,150,0.95);
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
        margin: 0;
        flex: 1;
        letter-spacing: 0.2px;
      }

      .mantra-btn {
        cursor: pointer;
        margin-left: 0.5rem;
      }
      .mantra-stop-icon {
        cursor: pointer;
        margin-left: 0.3rem;
        font-size: 0.75em !important;
      
        color: #fff !important;
        border-radius: 50%;
        padding: 0.18em 0.22em;
        vertical-align: middle;
        line-height: 5px !important;
      }

      /* Portrait 250px videos — constrain meta to video width */
      #section-feed .col {
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      #section-feed .col .video-meta {
        width: 250px;
        max-width: 100%;
      }

/* ── Dharma Ki Raksha & Artistry — one video per row on mobile ── */
@media (max-width: 768px) {
  #motivation-section-feed .row .col,
  #section-feed .row .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }
}
#footer {
  background: linear-gradient(180deg, #0d0d0d 0%, #111 60%, #0a0a0a 100%);
  color: #ccc;
  padding: 3.5rem 0 0;
  font-size: 0.88rem;
  border-top: 4px solid #f00;
  position: relative;
  height: auto;
  max-height: none;
  display: block;
  overflow: hidden;
}

/* glowing red top accent line */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f00 30%, #ff6600 70%, transparent);
  box-shadow: 0 0 18px rgba(255,0,0,0.7);
}

/* faint radial glow in background */
#footer::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(39,58,143,0.18) 0%, transparent 70%);
  pointer-events: none;
}

#footer .footer-brand img {
  width: 170px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(255,0,0,0.3));
}

#footer .footer-tagline {
  color: #999;
  font-size: 0.82rem;
  line-height: 1.7;
  border-left: 2px solid #273a8f;
  padding-left: 0.7rem;
  margin-top: 0.5rem;
}

#footer h5 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  position: relative;
  display: block;
}

#footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #f00, #273a8f);
  border-radius: 2px;
}

#footer li {
  margin-bottom: 0.5rem;
}

#footer li a {
  color: #999;
  text-decoration: none;
  line-height: 26px;
  transition: color 0.2s, padding-left 0.2s;
  font-size: 0.85rem;
}

#footer li a:hover {
  color: #ff4444;
  padding-left: 4px;
}

#footer li a::before {
  content: '›';
  color: #f00;
  margin-right: 0.4rem;
  font-size: 1rem;
}

.footer-trending-badge {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,0,0,0.25), rgba(255,102,0,0.2));
  border: 1px solid rgba(255,80,0,0.6);
  color: #ff8866;
  border-radius: 20px;
  padding: 0.1rem 0.55rem;
  font-size: 0.7rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-social-icons a {
  display: inline-block;
  color: #fff !important;
  margin-right: 0;
  margin-bottom: 0;
  font-size: 1rem;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}

.footer-social-icons a i {
  color: #fff !important;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  transition: color 0.2s;
}

.footer-social-icons a:hover i {
  color: #f00 !important;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0;
}

.footer-bottom {
  background: linear-gradient(90deg, #1a1040, #273a8f, #1a1040);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 0;
  margin-top: 2.5rem;
  font-size: 0.78rem;
  color: #ccc;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,0.4), transparent);
}

.footer-bottom a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #f00;
}

/* Footer quick links 2-col grid */
.footer-quicklinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

/* Full-width disclaimer strip */
.footer-disclaimer-strip {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,100,0,0.18);
  border-radius: 10px;
  padding: 1rem 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-disclaimer-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  filter: drop-shadow(0 0 6px rgba(255,150,0,0.5));
}
.footer-disclaimer-strip p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(180,160,140,0.85);
  line-height: 1.75;
}
.footer-disclaimer-strip p strong {
  color: rgba(255,140,100,0.95);
  font-weight: 700;
  letter-spacing: 0.3px;
}


/* ===== VIDEO POPUP MODAL ===== */
.video-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px) brightness(0.5);
  -webkit-backdrop-filter: blur(14px) brightness(0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.video-popup-overlay.active {
  display: flex;
  animation: vpFadeIn 0.35s ease;
}

/* ---- outer glow ring ---- */
.video-popup-box {
  position: relative;
  background: #0c0c14;
  border-radius: 18px;
  width: 100%;
  max-width: 1080px;
  overflow: hidden;
  animation: vpSlideUp 0.38s cubic-bezier(.22,.9,.4,1);
  box-shadow:
    0 0 0 1px rgba(255,0,0,0.35),
    0 0 40px rgba(255,0,0,0.18),
    0 30px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* top red glow line */
.video-popup-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #f00 30%, #ff6600 60%, #273a8f 90%, transparent 100%);
  z-index: 2;
}

/* ---- HEADER ---- */
.video-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(90deg, #0e0e1a 0%, #16163a 50%, #0e0e1a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 1;
}

.video-popup-header-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

/* brand dot-bar icon */
.vp-brand-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.vp-brand-icon span {
  display: block;
  height: 3px;
  border-radius: 2px;
}
.vp-brand-icon span:nth-child(1) { width: 18px; background: #f00; }
.vp-brand-icon span:nth-child(2) { width: 12px; background: #ff6600; }
.vp-brand-icon span:nth-child(3) { width: 8px;  background: #273a8f; }

.video-popup-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.vp-section-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,0,0,0.2), rgba(39,58,143,0.2));
  border: 1px solid rgba(255,80,0,0.4);
  color: #ff8866;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* close button */
.video-popup-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #aaa;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.28s;
}
.video-popup-close:hover {
  background: #f00;
  border-color: #f00;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 12px rgba(255,0,0,0.5);
}

/* ---- MAIN LAYOUT ---- */
.video-popup-main {
  display: flex;
  align-items: stretch;
  min-height: 0;
}

/* ---- PLAYER SIDE ---- */
.video-popup-body {
  flex: 1;
  min-width: 0;
  background: #000;
  position: relative;
}
.video-popup-body video {
  width: 100%;
  display: block;
  max-height: 65vh;
  background: #000;
}

/* ---- PLAYLIST SIDEBAR ---- */
.video-popup-playlist {
  width: 256px;
  min-width: 220px;
  background: #0a0a12;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  max-height: 65vh;
  overflow: hidden;
}

.vpp-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #888;
  background: linear-gradient(90deg, #0e0e1a, #131326);
  border-bottom: 1px solid rgba(255,0,0,0.15);
  flex-shrink: 0;
}
.vpp-label i { color: #f00; font-size: 0.75rem; }

.vpp-list {
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,0,0,0.5) transparent;
}
.vpp-list::-webkit-scrollbar { width: 3px; }
.vpp-list::-webkit-scrollbar-track { background: transparent; }
.vpp-list::-webkit-scrollbar-thumb { background: rgba(255,0,0,0.45); border-radius: 2px; }

/* single playlist card */
.vpp-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.18s;
  position: relative;
}
.vpp-card:hover {
  background: rgba(255, 255, 255, 0.04);
}
.vpp-card.vpp-active {
  background: linear-gradient(90deg, rgba(255,0,0,0.12) 0%, rgba(39,58,143,0.1) 100%);
  border-left: 3px solid #f00;
}
.vpp-card.vpp-active:hover { background: linear-gradient(90deg, rgba(255,0,0,0.18), rgba(39,58,143,0.14)); }

/* thumbnail */
.vpp-thumb {
  position: relative;
  width: 76px;
  min-width: 76px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a2e;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.vpp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.vpp-card:hover .vpp-thumb img { transform: scale(1.08); }

.vpp-no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #0e1030);
  color: rgba(255,255,255,0.2);
  font-size: 1.5rem;
}

/* play overlay on hover */
.vpp-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 6px;
}
.vpp-card:hover .vpp-play-icon { opacity: 1; }
.vpp-play-icon i {
  color: #fff;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(255,0,0,0.8));
}

/* currently playing badge */
.vpp-playing-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, rgba(255,0,0,0.7), rgba(200,0,50,0.6));
  color: #fff;
  font-size: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 6px;
}
.vpp-playing-badge i { font-size: 0.7rem; animation: vpPulse 1.2s infinite; }

/* card text */
.vpp-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.vpp-num {
  font-size: 0.6rem;
  color: rgba(255,80,0,0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.vpp-title {
  font-size: 0.74rem;
  color: #bbb;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
}
.vpp-card:hover .vpp-title { color: #fff; }
.vpp-card.vpp-active .vpp-title { color: #fff; font-weight: 600; }

/* ---- FOOTER BAR ---- */
.video-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(90deg, #0e0e1a 0%, #16163a 50%, #0e0e1a 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.video-popup-footer .vp-footer-brand {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.video-popup-footer .vp-footer-logo {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(255,0,0,0.3));
}
.video-popup-footer .vp-footer-count {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
}

/* ---- ANIMATIONS ---- */
@keyframes vpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes vpSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes vpPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .video-popup-main { flex-direction: column; }
  .video-popup-playlist {
    width: 100%;
    min-width: 0;
    max-height: 130px;
    border-left: none;
    border-top: 1px solid rgba(255,0,0,0.15);
    overflow: hidden;
  }
  .vpp-list {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .vpp-list::-webkit-scrollbar { display: none; }
  .vpp-card {
    flex-direction: column;
    min-width: 96px;
    align-items: flex-start;
    padding: 0.45rem 0.5rem;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.04);
  }
  .vpp-thumb { width: 86px; min-width: 86px; height: 52px; }
  .video-popup-title { max-width: 180px; font-size: 0.82rem; }
}

.newsletter{
border-radius: 50px!important;
margin-top: 1rem;
max-width: 300px!important;
padding: .8rem!important;

}

.news-btn{

  background-color: #36489c !important;
  width: 40px;
  height: 40px;
  border-radius: 100px !important;
  position: absolute;
  right: 94px;
  top: 2px;
  color: #fff!important;

}



/* .card-list .card-item {
  height: auto;
  color: #fff;
  user-select: none;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
   backdrop-filter: blur(0px); 
  background: rgba(255, 255, 255, 0);
 border: 1px solid rgba(255, 255, 255, 0);
} */

/* ─────────────────────────────────────────────────────
   HERO MANTRA SLIDER — text alignment fix
   .card-item is a flex column with align-items:center,
   which shrinks h1 to content-width and breaks wrapping.
   Force h1 to fill the full slide width.
   ───────────────────────────────────────────────────── */
.slider-wrapper-header .swiper-slide h1,
.slider-wrapper-header .card-item h1 {
  width: 100%;
  text-align: center;
}

/* ─── LOGO WATERMARK (videos & wallpapers) ─── */
.wm-wrap {
  position: relative;
  display: block;
}
.wm-wrap video {
  display: block;
  width: 100%;
  height: 100vh;
}
/* Short / portrait videos — keep natural aspect ratio, don't stretch to 100vh */
#section-feed .wm-wrap video,
.short-reel .wm-wrap video {
  height: auto !important;
  width: 100% !important;
}
.wm-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 64px;
  height: auto;
  object-fit: contain;
  opacity: 0.70;
  pointer-events: none;
  z-index: 10;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.75));
}
.wp-card-img-wrap .wm-logo {
  top: 8px;
  right: 8px;
  width: 70px;
  height: auto;
}

/* ══════════════════════════════════════════════════
   CUSTOM SECTIONS (admin-created)
   ══════════════════════════════════════════════════ */

/* ── Cards layout ── */
.custom-section { padding: 4rem 0; }

.custom-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  text-align: left;
}

.custom-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.3rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.custom-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,160,0,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.custom-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.custom-card:hover::before { opacity: 1; }

.custom-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}
.custom-card-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.custom-card-body {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.custom-card-tags {
  display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem;
}
.custom-card-tags span {
  background: rgba(255,153,0,0.12);
  color: #FFA040;
  border-radius: 20px;
  padding: 0.18rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
}

/* ── Text blocks ── */
.custom-text-content {
  display: flex; flex-direction: column; gap: 1.4rem;
  margin-top: 2rem; text-align: left;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.custom-text-block {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid rgba(255,160,0,0.5);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.4rem;
}
.custom-text-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.custom-text-block-title {
  color: #FFD700;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.custom-text-block-body {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── Quotes ── */
.custom-quote-block {
  display: flex; flex-direction: column; gap: 1.6rem;
  margin-top: 2rem;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.custom-quote {
  position: relative;
  padding: 1.4rem 1.6rem 1.2rem 2.4rem;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 12px;
  text-align: left;
}
.custom-quote::before {
  content: '❝';
  position: absolute;
  top: 0.6rem; left: 0.8rem;
  font-size: 2rem;
  color: rgba(255,215,0,0.25);
  line-height: 1;
}
.custom-quote-text {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
}
.custom-quote-source {
  display: block;
  margin-top: 0.7rem;
  color: #FFA040;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
}

/* ════════════════════════════════════════════════════
   AUDIO BAR
   ════════════════════════════════════════════════════ */
.audio-bar {
  width: 100%;
  background: linear-gradient(90deg, #0e0006, #1a000e 25%, #220013 50%, #1a000e 75%, #0e0006);
  border-bottom: 2px solid rgba(255,120,0,0.35);
  position: relative;
  z-index: 1090;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(180,0,80,0.14);
}
.audio-bar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,140,0,0.6) 30%, rgba(255,220,60,0.5) 50%, rgba(255,140,0,0.6) 70%, transparent 95%);
}
.audio-bar-inner {
  display: flex;
  align-items: center;
  gap: 0 1rem;
  padding: 0.55rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}
/* Brand */
.ab-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.ab-om {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(255,160,0,0.75));
}
.ab-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,210,90,0.9);
  letter-spacing: 0.8px;
  font-family: "Google Sans", sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Track name + progress */
.ab-track-wrap {
  flex: 1 1 140px;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ab-track-name {
  font-size: 0.82rem;
  color: rgba(255,225,170,0.88);
  font-family: "Google Sans", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.ab-progress {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  max-width: 220px;
}
.ab-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff8800, #ffd700);
  border-radius: 3px;
  transition: width 0.25s linear;
}
/* Controls */
.ab-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.ab-btn {
  background: rgba(255,120,0,0.15);
  border: 1px solid rgba(255,140,0,0.4);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,200,90,0.95);
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.ab-btn:hover {
  background: rgba(255,140,0,0.35);
  border-color: rgba(255,180,0,0.8);
  box-shadow: 0 0 10px rgba(255,130,0,0.35);
}
.ab-play-btn {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
  background: rgba(255,100,0,0.25);
  border-color: rgba(255,150,0,0.65);
}
.ab-repeat-btn.ab-repeat-on {
  background: rgba(255,200,0,0.25);
  border-color: #ffd700;
  color: #ffd700;
  box-shadow: 0 0 8px rgba(255,200,0,0.4);
}
/* Playlist pills */
.ab-playlist {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 2 1 200px;
}
.ab-pill {
  background: rgba(255,100,0,0.12);
  border: 1px solid rgba(255,130,0,0.35);
  border-radius: 18px;
  color: rgba(255,200,120,0.88);
  font-size: 0.72rem;
  font-family: "Google Sans", sans-serif;
  padding: 0.18rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ab-pill:hover {
  background: rgba(255,120,0,0.28);
  border-color: rgba(255,160,0,0.7);
  color: #ffd84a;
}
.ab-pill-active {
  background: rgba(255,140,0,0.32);
  border-color: #ffd700;
  color: #ffd84a;
  box-shadow: 0 0 8px rgba(255,180,0,0.3);
}
/* Volume */
.ab-volume {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.ab-vol-icon {
  color: rgba(255,200,90,0.85);
  font-size: 0.9rem;
}
.ab-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 70px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  outline: none;
  cursor: pointer;
}
.ab-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff8800;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(255,130,0,0.5);
}
.ab-vol-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff8800;
  border: none;
  cursor: pointer;
}
/* Responsive */
@media (max-width: 768px) {
  .ab-track-name { max-width: 120px; }
  .ab-progress   { max-width: 120px; }
  .ab-vol-slider { width: 50px; }
  .ab-playlist   { display: none; }
}
@media (max-width: 480px) {
  .audio-bar-inner { padding: 0.45rem 0.75rem; gap: 0.5rem; }
  .ab-volume       { display: none; }
}

/* ════════════════════════════════════════════════════
   LANG BAR  (standalone language-toggle bar above hero)
   ════════════════════════════════════════════════════ */
.lang-bar {
  width: 100%;
  background: linear-gradient(90deg, #08000a, #120010 50%, #08000a);
  border-bottom: 1px solid rgba(255,90,0,0.18);
  position: relative;
  z-index: 1095;
}
.lang-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.3rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0.6rem;
}
.lb-label {
  font-size: 0.72rem;
  color: rgba(255,200,120,0.7);
  font-family: "Google Sans", sans-serif;
  letter-spacing: 0.4px;
}
.lb-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,120,0,0.14);
  border: 1px solid rgba(255,140,0,0.45);
  border-radius: 20px;
  color: rgba(255,210,90,0.95);
  font-size: 0.75rem;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  padding: 0.22rem 0.85rem;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.4px;
}
.lb-toggle-btn:hover {
  background: rgba(255,140,0,0.3);
  border-color: rgba(255,175,0,0.75);
  box-shadow: 0 0 10px rgba(255,130,0,0.3);
}
.lb-toggle-btn .lb-active {
  background: rgba(255,200,0,0.25);
  border-radius: 10px;
  padding: 0.05rem 0.4rem;
  color: #ffd84a;
}

/* ── Skip to main content (accessibility + SEO) ── */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: #ff8800;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  z-index: 99999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
}

/* Skip to content */
.skip-to-content{position:absolute;top:-100px;left:0;background:#ff8800;color:#000;font-weight:700;font-size:.9rem;padding:.6rem 1.2rem;z-index:99999;border-radius:0 0 8px 0;text-decoration:none;transition:top .2s;} .skip-to-content:focus{top:0;outline:3px solid #fff;}

/* =====================================================
   HERO SECTION — COMPREHENSIVE MOBILE RESPONSIVE
   ===================================================== */

/* ── Tablet / small desktop ≤ 991px ── */
@media (max-width: 991px) {
  /* Override col-sm-11 to stretch full width on tablets */
  .col-sm-11.header-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .row.header-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
  }

  /* Navbar — glass overlay pinned to top for ALL sub-lg viewports */
  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1200 !important;
    padding: 0.6rem 1rem !important;
    background: rgba(5, 0, 12, 0.72) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    border-bottom: 1px solid rgba(255, 120, 0, 0.18) !important;
  }

  /* Navbar brand */
  .navbar-brand { width: 14rem !important; }

  /* White hamburger toggler — visible on ALL sub-lg viewports */
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4) !important;
    padding: 0.28rem 0.5rem !important;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.25em !important;
    height: 1.25em !important;
  }

  /* Header social icons visible on tablets too */
  .header-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    flex-shrink: 0 !important;
  }
  .header-social-icons i { font-size: 1rem !important; }

  /* Language toggle button */
  .lang-toggle-btn {
    font-size: 0.76rem !important;
    padding: 0.22rem 0.7rem !important;
  }

  /* Tighter nav links */
  .nav-link {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  /* Mantra h1 */
  .header-content .col h1 {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    padding: 0.75rem 1.5rem !important;
  }

  /* Slider wrapper side margins */
  .slider-wrapper-header {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

/* ── Mobile landscape / large phone ≤ 768px ── */
@media (max-width: 768px) {
  /* Hide panchang bar on mobile — saves space, navbar must sit above it */
  .panchang-bar { display: none !important; }

  /* Strip all col-sm-11 / row constraints */
  .col-sm-11.row.header-content,
  .col-sm-11.header-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .row.header-content {
    --bs-gutter-x: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Hero height: JS sets --hero-h on :root; wrapper is the height container */
  .header-content {
    height: var(--hero-h, 100dvh) !important;
  }
  .header-content .col {
    height: 100% !important;
    /* Push content down so it clears the fixed navbar */
    padding-top: 72px !important;
    align-content: center;
  }

  /* Navbar — additional overrides for mobile (768px already inherits 991px rules) */
  .navbar {
    padding: 0.6rem 1rem !important;
  }

  /* Logo */
  .navbar-brand { width: 12rem !important; }
  .navbar-brand img { height: auto !important; width: 100% !important; }

  /* Collapsed nav menu */
  #navbarNav {
    background: rgba(4, 0, 14, 0.93) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    border-radius: 0 0 14px 14px !important;
    padding: 0.4rem 0 0.65rem !important;
    margin-top: 0.4rem !important;
    border-top: 1px solid rgba(255, 110, 0, 0.22) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55) !important;
  }
  #navbarNav .nav-link {
    padding: 0.65rem 1.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 0.88rem !important;
    letter-spacing: 0.7px !important;
  }
  #navbarNav .nav-item:last-child .nav-link {
    border-bottom: none !important;
  }
  /* Remove Bootstrap's default dropdown-menu border/background inside collapsed nav */
  #navbarNav .dropdown-menu {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Mantra h1 box */
  .header-content .col h1 {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    padding: 0.9rem 1.2rem !important;
    border-radius: 10px !important;
    width: calc(100% - 2rem) !important;
    max-width: 100% !important;
    margin: 0 1rem !important;
  }

  /* Slider wrapper */
  .slider-wrapper-header {
    margin: 0 0 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Hide swiper arrow buttons on mobile */
  .swiper-slide-button { display: none !important; }
  .swiper-pagination { bottom: -16px !important; }
}

/* ── Standard phones ≤ 576px ── */
@media (max-width: 576px) {
  /* Navbar */
  .navbar { padding: 0.5rem 0.8rem !important; }
  .navbar-brand { width: 10rem !important; }
  .navbar-brand img { height: auto !important; width: 100% !important; }

  /* Mantra text */
  .header-content .col {
    padding-top: 65px !important;
  }
  .header-content .col h1 {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    padding: 0.75rem 1rem !important;
    width: calc(100% - 1.5rem) !important;
    margin: 0 0.75rem !important;
  }
  .header-content .col h1 .fa {
    font-size: 1rem;
    margin-left: 0.3rem;
  }

  /* Panchang bar compact */
  .panchang-inner {
    padding: 0.45rem 0.75rem;
    gap: 0 0.5rem;
  }
  .panchang-item    { font-size: 0.76rem; }
  .pc-tithi-name    { font-size: 0.9rem; }
  .panchang-divider { display: none; }
  .pc-toggle-btn    { font-size: 0.7rem; padding: 0.2rem 0.6rem; }
}

/* ── Small phones ≤ 480px ── */
@media (max-width: 480px) {
  .navbar-brand { width: 9rem !important; }
  .navbar-brand img { height: auto !important; width: 100% !important; }

  .header-content .col {
    padding-top: 60px !important;
  }
  .header-content .col h1 {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    padding: 0.65rem 0.85rem !important;
    width: calc(100% - 1.2rem) !important;
    margin: 0 0.6rem !important;
  }

  /* Hide search icon — save space for lang toggle */
  /* .header-social-icons #searchOpenBtn { display: none !important; } — lang toggle removed, search icon now visible */
  .scroll-indicator { bottom: 0.6rem; }
}

/* ── Very small phones ≤ 360px ── */
@media (max-width: 360px) {
  .navbar-brand { width: 8rem !important; }
  .navbar-brand img { height: auto !important; width: 100% !important; }

  .header-content .col h1 {
    font-size: 0.8rem !important;
    padding: 0.55rem 0.7rem !important;
    width: calc(100% - 1rem) !important;
    margin: 0 0.5rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   Mobile fullscreen nav overlay  (≤ 991px)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   Chalisa dropdown — desktop hover (≥ 992px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
  /* Activate dropdown on hover instead of click */
  .chalisa-dropdown:hover > .chalisa-menu,
  .chalisa-dropdown:focus-within > .chalisa-menu {
    display: block;
  }

  .chalisa-menu {
    min-width: 13rem;
    padding: 0.4rem 0;
    margin-top: 0 !important;
    background: rgba(4, 0, 14, 0.97) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 110, 0, 0.22) !important;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  }

  .chalisa-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.18s, background 0.18s;
  }
  .chalisa-menu .dropdown-item:last-child { border-bottom: none; }
  .chalisa-menu .dropdown-item:hover,
  .chalisa-menu .dropdown-item:focus {
    color: #f0a030 !important;
    background: rgba(255, 160, 0, 0.08) !important;
  }

  /* Arrow caret color */
  .chalisa-dropdown .dropdown-toggle::after,
  .others-dropdown .dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.7);
  }

  /* Others dropdown — reuses chalisa-menu styles */
  .others-dropdown:hover > .chalisa-menu,
  .others-dropdown:focus-within > .chalisa-menu {
    display: block;
  }
}

/* Hidden on desktop — only displayed by the mobile media query below */
.mobile-nav-overlay { display: none; }

@media (max-width: 991px) {
  /* Overlay backdrop — fills entire viewport, hidden by default */
  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1800;
    background: rgba(2, 0, 8, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* allow scroll when content overflows */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Close (×) button — top-left */
  .mobile-nav-close {
    position: absolute;
    top: 1.1rem;
    left: 1.4rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-close:hover,
  .mobile-nav-close:active { color: #fff; }

  /* Nav links container */
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 4.5rem 2rem 3rem; /* top clears the close button, bottom adds breathing room */
    min-height: min-content;
  }

  /* Individual link */
  .mnav-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.2s, letter-spacing 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .mnav-link:last-child { border-bottom: none; }
  .mnav-link:hover,
  .mnav-link:active {
    color: #f0a030;
    letter-spacing: 0.28em;
    text-decoration: none;
  }

  /* Chalisa sub-links — slightly smaller + indented */
  .mnav-sub {
    font-size: clamp(1rem, 4vw, 1.35rem);
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.45rem 1rem 0.45rem 2.5rem;
    border-bottom: none !important;
  }
  .mnav-sub:hover,
  .mnav-sub:active {
    color: #f0a030;
    letter-spacing: 0.22em;
  }

  /* Chalisa / Others parent row — accordion toggle button */
  .mnav-parent {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    outline: none;
    padding-bottom: 0.7rem;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    -webkit-tap-highlight-color: transparent;
  }

  /* Arrow icon */
  .mnav-arrow {
    display: inline-block;
    font-size: 0.6em;
    transition: transform 0.25s ease;
    vertical-align: middle;
    opacity: 0.7;
  }
  .mnav-parent.open .mnav-arrow { transform: rotate(180deg); }
  .mnav-parent.open { color: #f0a030; }

  /* Sub-group container — hidden by default, shown when open */
  .mnav-sub-group {
    display: none;
    width: 100%;
  }
  .mnav-sub-group.open { display: block; }

  /* Slide-in animation for each link when overlay opens */
  .mobile-nav-overlay.open .mnav-link {
    animation: mnavSlide 0.4s ease both;
  }
  .mobile-nav-overlay.open .mnav-link:nth-child(1) { animation-delay: 0.05s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(2) { animation-delay: 0.10s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(3) { animation-delay: 0.15s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(4) { animation-delay: 0.20s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(5) { animation-delay: 0.25s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(6) { animation-delay: 0.30s; }
  .mobile-nav-overlay.open .mnav-link:nth-child(7) { animation-delay: 0.35s; }

  @keyframes mnavSlide {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0);    }
  }
}