/* ============================================================
   HARE KRISHNA MOVEMENT BERLIN — style.css
   Spiritual, responsive design with saffron/gold theme
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Color Palette */
  --saffron:        #E8790A;
  --saffron-dark:   #C4620A;
  --saffron-light:  #F5A54A;
  --gold:           #C9A227;
  --gold-light:     #F0D060;
  --cream:          #FDF6E9;
  --cream-dark:     #F5E8CC;
  --warm-white:     #FFFEF9;
  --brown-deep:     #2C1A0E;
  --brown:          #5C3317;
  --brown-mid:      #7A4F2D;
  --text-dark:      #2C1A0E;
  --text-body:      #4A3020;
  --text-muted:     #836050;
  --divider:        rgba(200, 160, 80, 0.3);
  --overlay:        rgba(44, 26, 14, 0.62);
  --shadow-soft:    0 4px 24px rgba(44, 26, 14, 0.10);
  --shadow-card:    0 2px 16px rgba(44, 26, 14, 0.08);
  --shadow-hover:   0 8px 32px rgba(44, 26, 14, 0.16);

  /* Typography */
  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mantra:    'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-pad:    80px;
  --section-pad-sm: 48px;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--saffron);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--saffron-dark);
}

ul {
  list-style: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-sm {
  padding: var(--section-pad-sm) 0;
}

.section-alt {
  background-color: var(--cream);
}

.section-dark {
  background-color: var(--brown-deep);
  color: var(--cream);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--gold-light);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   5. SECTION HEADERS (reusable title block)
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Decorative lotus divider */
.lotus-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 20px auto;
  color: var(--gold);
  font-size: 1.3rem;
}

.lotus-divider::before,
.lotus-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.lotus-divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 121, 10, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--saffron-dark), #a04800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 121, 10, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--saffron);
  border: 2px solid var(--saffron);
}

.btn-outline:hover {
  background: var(--saffron);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-deep);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #b08a1a, var(--gold));
  color: var(--brown-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-white {
  background: #fff;
  color: var(--saffron-dark);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--saffron-dark);
  transform: translateY(-2px);
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 246, 233, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
  background: rgba(253, 246, 233, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

/* Placeholder logo (shown when image missing) */
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text .brand-main {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.nav-logo-text .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--saffron);
  background: rgba(232, 121, 10, 0.08);
}

.nav-links a.active {
  color: var(--saffron-dark);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brown-deep);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 2px solid var(--divider);
  box-shadow: var(--shadow-soft);
  z-index: 999;
  padding: 16px 24px 24px;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--divider);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--saffron);
  background: rgba(232, 121, 10, 0.06);
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* text block on the left, face visible on the right */
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  /* shift right so Prabhupada's face sits on the right half */
  background-position: right center;
  background-attachment: fixed;
  z-index: 0;
}

/* Fallback gradient when no image */
.hero-bg-gradient {
  background: linear-gradient(160deg, #4a2008 0%, #2C1A0E 40%, #7a3010 100%);
}

/* Gradient darker on the left (over text) and fades out on the right (face visible) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,4,1,.88) 0%,
    rgba(15,6,1,.78) 35%,
    rgba(15,6,1,.45) 60%,
    rgba(10,4,1,.12) 100%
  );
  z-index: 1;
}

/* Decorative bottom border */
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px 40px max(40px, 6vw);
  max-width: 660px;
  /* left-aligned inside the container */
}

/* On mobile, go back to centered layout */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    text-align: center;
  }
  .hero-overlay {
    background: rgba(10,4,1,.72);
  }
  .hero-content {
    padding: 40px 20px;
    max-width: 100%;
  }
  .hero-bg {
    background-position: 70% center;
  }
  .hero-buttons,
  .hero-social {
    justify-content: center;
  }
}

.hero-tagline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid rgba(240, 208, 96, 0.4);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero .hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-bottom: 12px;
  line-height: 1.7;
  max-width: 580px;
  /* left-aligned on desktop, centred on mobile via media query */
  margin-left: 0;
  margin-right: auto;
}

.hero-dedication {
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
}

.hero-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  transform: scale(1.1);
}

/* WhatsApp join link in hero social row */
.hero-wa-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.hero-wa-link:hover {
  background: #1ebe5b !important;
  border-color: #1ebe5b !important;
  transform: scale(1.05) !important;
}

/* WhatsApp Community block on contact page */
.whatsapp-community-block {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, #075e54 0%, #128c7e 60%, #25d366 100%);
  border-radius: 18px;
  padding: 2.5rem 3rem;
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
}
.wa-icon-wrap {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}
.wa-text h2 {
  font-size: 1.6rem;
  margin-bottom: .6rem;
  color: #fff;
}
.wa-text p {
  opacity: .9;
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.wa-join-btn {
  background: #fff !important;
  color: #075e54 !important;
  border: none !important;
  font-weight: 700;
  gap: 8px;
  display: inline-flex;
  align-items: center;
}
.wa-join-btn:hover {
  background: #e8f9f0 !important;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .whatsapp-community-block {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.2rem;
  }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 36px;
  left: auto;
  transform: none;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

/* Hide the "Scroll" text — keep only the arrow icon */
.hero-scroll span {
  display: none;
}

.hero-scroll svg {
  width: 22px;
  height: 22px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Page hero (non-home) */
.page-hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--brown-deep) 0%, var(--brown) 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/pattern-lotus.png');
  background-size: 200px;
  opacity: 0.04;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron));
}

.page-hero h1 {
  color: #fff;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.page-hero .breadcrumb a {
  color: var(--gold-light);
}

.page-hero .breadcrumb a:hover {
  color: #fff;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 16px auto 0;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

/* ============================================================
   9. QUOTE BLOCK
   ============================================================ */
.quote-block {
  position: relative;
  padding: 40px 48px;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: var(--saffron);
  opacity: 0.25;
  font-family: var(--font-heading);
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

.quote-block cite {
  font-size: 0.9rem;
  color: var(--saffron);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-style: normal;
}

/* Full-width quote banner */
.quote-banner {
  background: linear-gradient(135deg, var(--brown-deep), var(--brown));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.quote-banner::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15rem;
  color: rgba(255,255,255,0.04);
  font-family: var(--font-heading);
  line-height: 1;
  pointer-events: none;
}

.quote-banner blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-style: italic;
  max-width: 780px;
  margin: 0 auto 16px;
  color: var(--gold-light);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.quote-banner cite {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em;
  font-style: normal;
}

/* ============================================================
   10. CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--cream-dark), var(--divider));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.card-body {
  padding: 24px;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 8px;
}

.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Feature card with icon */
.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--saffron);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(232,121,10,0.12), rgba(201,162,39,0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--saffron);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   11. MANTRA SECTION
   ============================================================ */
/* ============================================================
   MAHA-MANTRA SECTION — animated & attractive
   ============================================================ */
.mantra-section {
  background: radial-gradient(ellipse at 50% -10%, #7a3500 0%, #3a1600 45%, #0f0600 100%);
  padding: 90px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Large Om — slowly rotates */
.mantra-section::before {
  content: 'ॐ';
  position: absolute;
  font-size: 30rem;
  color: rgba(255,180,40,.045);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  pointer-events: none;
  font-family: serif;
  z-index: 0;
  animation: omSpin 80s linear infinite;
}

@keyframes omSpin {
  from { transform: translate(-50%, -50%) rotate(0deg);   }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Radial glow pulse behind mantra */
.mantra-section::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(232,121,10,.18) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: mantraGlow 5s ease-in-out infinite;
}

@keyframes mantraGlow {
  0%,100% { opacity: .6; transform: translate(-50%,-50%) scale(1);   }
  50%      { opacity: 1;  transform: translate(-50%,-50%) scale(1.12); }
}

/* Floating golden particles (pure CSS — 8 dots) */
.mantra-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.mantra-particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: particleFloat var(--dur, 8s) ease-in-out var(--del, 0s) infinite;
}
.mantra-particles span:nth-child(1)  { left: 10%; bottom: 10%; --dur: 9s;  --del: 0s;   }
.mantra-particles span:nth-child(2)  { left: 22%; bottom:  5%; --dur: 11s; --del: 1.2s; }
.mantra-particles span:nth-child(3)  { left: 38%; bottom: 12%; --dur: 8s;  --del: 2.4s; }
.mantra-particles span:nth-child(4)  { left: 55%; bottom:  8%; --dur: 10s; --del: 0.8s; }
.mantra-particles span:nth-child(5)  { left: 70%; bottom: 15%; --dur: 7s;  --del: 1.8s; }
.mantra-particles span:nth-child(6)  { left: 82%; bottom:  6%; --dur: 12s; --del: 3s;   }
.mantra-particles span:nth-child(7)  { left: 90%; bottom: 20%; --dur: 9s;  --del: 0.5s; }
.mantra-particles span:nth-child(8)  { left: 48%; bottom:  3%; --dur: 10s; --del: 2s;   }

@keyframes particleFloat {
  0%   { opacity: 0;    transform: translateY(0)     scale(.8); }
  20%  { opacity: .7; }
  80%  { opacity: .4; }
  100% { opacity: 0;    transform: translateY(-220px) scale(1.4); }
}

/* Label above the mantra */
.mantra-label {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--saffron-light);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .9s ease .1s, transform .9s ease .1s;
}
.mantra-section.is-visible .mantra-label {
  opacity: 1;
  transform: none;
}

/* The four lines container */
.mantra-text {
  font-family: var(--font-mantra);
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  line-height: 1.95;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

/* Each line — hidden initially, shimmer gradient on text */
.mantra-text span {
  display: block;
  opacity: 0;
  transform: translateY(28px) scale(.97);
  background: linear-gradient(90deg,
    #c97a00 0%, #fcd34d 20%, #fffbe0 40%, #fcd34d 60%, #e08800 80%, #fcd34d 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 18px rgba(255,200,60,.4));
}

/* Staggered entrance when section is visible */
.mantra-section.is-visible .mantra-text span:nth-child(1) {
  animation:
    mantraIn   .9s cubic-bezier(.22,.68,0,1.2) .15s  forwards,
    shimmerRun 5s linear                       1.2s  infinite,
    mantraFloat 7s ease-in-out                 2s    infinite;
}
.mantra-section.is-visible .mantra-text span:nth-child(2) {
  animation:
    mantraIn   .9s cubic-bezier(.22,.68,0,1.2) .45s  forwards,
    shimmerRun 5s linear                       1.5s  infinite,
    mantraFloat 7s ease-in-out                 2.5s  infinite;
}
.mantra-section.is-visible .mantra-text span:nth-child(3) {
  animation:
    mantraIn   .9s cubic-bezier(.22,.68,0,1.2) .75s  forwards,
    shimmerRun 5s linear                       1.8s  infinite,
    mantraFloat 7s ease-in-out                 3s    infinite;
}
.mantra-section.is-visible .mantra-text span:nth-child(4) {
  animation:
    mantraIn   .9s cubic-bezier(.22,.68,0,1.2) 1.05s forwards,
    shimmerRun 5s linear                       2.1s  infinite,
    mantraFloat 7s ease-in-out                 3.5s  infinite;
}

@keyframes mantraIn {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

@keyframes shimmerRun {
  from { background-position: 0%   center; }
  to   { background-position: 220% center; }
}

@keyframes mantraFloat {
  0%,100% { transform: translateY(0);   }
  50%     { transform: translateY(-7px); }
}

/* Decorative divider under mantra */
.mantra-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px auto 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease 1.5s;
}
.mantra-section.is-visible .mantra-divider { opacity: 1; }
.mantra-divider::before,
.mantra-divider::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(252,211,77,.5), transparent);
}
.mantra-divider-lotus {
  font-size: 1.3rem;
  color: var(--gold);
  animation: lotusGlow 3s ease-in-out infinite;
}
@keyframes lotusGlow {
  0%,100% { filter: drop-shadow(0 0 4px rgba(252,211,77,.4)); }
  50%     { filter: drop-shadow(0 0 14px rgba(252,211,77,.9)); }
}

.mantra-translation {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease 1.8s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  padding: 0;
}
.mantra-section.is-visible .mantra-translation { opacity: 1; }

.mantra-quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-style: italic;
  color: rgba(255, 240, 180, .92);
  line-height: 1.5;
  letter-spacing: .01em;
}

.mantra-quote-cite {
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--saffron-light);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .mantra-section { padding: 60px 20px 70px; }
  .mantra-section::before { font-size: 16rem; }
  .mantra-section::after  { width: 360px; height: 300px; }
}

/* ============================================================
   12. SCHEDULE / PROGRAMS
   ============================================================ */
.schedule-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.schedule-card:hover {
  box-shadow: var(--shadow-hover);
}

.schedule-header {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  padding: 24px 28px;
}

.schedule-header h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.schedule-header .schedule-day {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-body {
  padding: 0;
}

.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--divider);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--saffron);
  min-width: 70px;
  padding-top: 2px;
  letter-spacing: 0.04em;
}

.schedule-detail h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.schedule-detail p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   13. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-caption {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 12px;
  font-style: italic;
}

/* Gallery filter tabs */
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--divider);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: var(--font-body);
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}

/* ============================================================
   14. CONTACT FORM
   ============================================================ */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--warm-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(232, 121, 10, 0.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* ============================================================
   15. INFO CARDS (contact page)
   ============================================================ */
.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-hover);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(232,121,10,0.12), rgba(201,162,39,0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--saffron);
  flex-shrink: 0;
}

.info-card-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.info-card-content p,
.info-card-content a {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.info-card-content a:hover {
  color: var(--saffron);
}

/* Map embed */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   16. PRABHUPADA PAGE SPECIFICS
   ============================================================ */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), var(--gold));
}

.timeline-item {
  position: relative;
  padding-left: 64px;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  background: var(--saffron);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--saffron);
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Book grid */
.book-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.book-cover {
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.book-cover-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
  padding: 16px;
  margin: 0 auto 16px;
  width: 130px;
  line-height: 1.3;
}

.book-card h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.book-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   17. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 60%, #9e3800 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: 'ॐ';
  position: absolute;
  font-size: 18rem;
  color: rgba(255,255,255,0.05);
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: serif;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background: var(--brown-deep);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .footer-logo img {
  height: 50px;
  width: auto;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--gold-light);
  line-height: 1.3;
}

.footer-brand-name small {
  display: block;
  font-size: 0.7rem;
  color: var(--saffron-light);
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.footer-social a[aria-label="WhatsApp Community"]:hover {
  background: #25D366;
  border-color: #25D366;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--saffron-light);
  padding-left: 6px;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer-mantra {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
}

/* ============================================================
   19. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   20. MISC COMPONENTS
   ============================================================ */
/* Saffron tag badge */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-saffron {
  background: rgba(232,121,10,0.12);
  color: var(--saffron);
}

.badge-gold {
  background: rgba(201,162,39,0.12);
  color: var(--gold);
}

/* Two-column image+text layout */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-img:hover img {
  transform: scale(1.03);
}

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--cream-dark) 0%, rgba(232,121,10,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  gap: 8px;
  flex-direction: column;
}

.img-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* Numbered list */
.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  counter-increment: item;
  padding: 14px 0 14px 52px;
  position: relative;
  border-bottom: 1px solid var(--divider);
  font-size: 1rem;
  color: var(--text-body);
}

.numbered-list li:last-child {
  border-bottom: none;
}

.numbered-list li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--saffron);
  opacity: 0.7;
}

/* Benefit list with checkmarks */
.benefit-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  font-size: 1rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--divider);
}

.benefit-list li:last-child {
  border-bottom: none;
}

.benefit-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--saffron);
  font-size: 0.85rem;
  top: 12px;
}

/* Notice/callout box */
.callout {
  background: linear-gradient(135deg, rgba(232,121,10,0.07), rgba(201,162,39,0.07));
  border: 1px solid rgba(232,121,10,0.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}

.callout-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.callout h4 {
  color: var(--saffron-dark);
  margin-bottom: 8px;
}

.callout p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   21. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

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

/* ============================================================
   22. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --section-pad-sm: 36px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-bg {
    background-attachment: scroll;
  }

  /* Grids collapse to 1 column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Quote block */
  .quote-block {
    padding: 28px 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
  }

  /* Buttons */
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Schedule */
  .schedule-item {
    flex-direction: column;
    gap: 6px;
  }
}

/* ============================================================
   23. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .mantra-text {
    font-size: 1.3rem;
  }
}

/* ============================================================
   24. WELCOME INTRO OVERLAY
   ============================================================ */

/* Full-screen overlay shown on first page load */
.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: linear-gradient(160deg, #1a0a04 0%, #2C1A0E 50%, #0e0a03 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* Decorative animated OM symbol background */
.welcome-overlay::before {
  content: 'ॐ';
  position: absolute;
  font-size: 50vw;
  color: rgba(255,255,255,0.025);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: serif;
  pointer-events: none;
  animation: omRotate 40s linear infinite;
}

@keyframes omRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Golden radial glow behind the portrait */
.welcome-overlay::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

/* Fade-out class added by JS when closing */
.welcome-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

/* Srila Prabhupada portrait — circular */
.welcome-prabhupada {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 0 6px rgba(201,162,39,0.15),
    0 0 40px rgba(201,162,39,0.3),
    0 8px 32px rgba(0,0,0,0.5);
  margin: 0 auto 20px;
  display: block;
  animation: welcomePortrait 1.2s ease both;
}

@keyframes welcomePortrait {
  from { transform: scale(0.8) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.welcome-prabhupada-name {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  animation: welcomeFade 1.4s ease both 0.2s;
}

.welcome-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 10px;
  animation: welcomeFade 1.4s ease both 0.4s;
}

.welcome-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 28px;
  animation: welcomeFade 1.4s ease both 0.5s;
}

/* Animated mantra text in the overlay */
.welcome-mantra-lines {
  margin: 0 auto 32px;
  animation: welcomeFade 1.4s ease both 0.6s;
}

.welcome-mantra-line {
  font-family: var(--font-mantra);
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--gold-light);
  line-height: 2;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.welcome-mantra-line.active {
  color: #fff;
  text-shadow: 0 0 20px rgba(240,208,96,0.8);
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
}

/* Buttons */
.welcome-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  animation: welcomeFade 1.4s ease both 0.8s;
}

.welcome-enter-btn {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  border: none;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(232,121,10,0.5);
  transition: var(--transition);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.welcome-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,121,10,0.6);
}

.welcome-skip-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  text-decoration: underline;
  padding: 4px;
}

.welcome-skip-btn:hover {
  color: rgba(255,255,255,0.75);
}

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

/* ============================================================
   25. FLOATING AUDIO PLAYER (chanting bar)
   ============================================================ */

.chanting-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8000;
  background: linear-gradient(135deg, rgba(44,26,14,0.97), rgba(60,30,10,0.97));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid rgba(201,162,39,0.4);
  padding: 12px 24px;
  display: none; /* shown by JS after overlay closes */
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.5);
}

.chanting-player.visible {
  display: flex;
  transform: translateY(0);
}

.chanting-player-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Circular portrait thumbnail */
.chanting-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(201,162,39,0.4);
}

.chanting-info {
  flex: 1;
  min-width: 0;
}

.chanting-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Scrolling subtitle — animated mantra lines */
.chanting-subtitle {
  font-family: var(--font-mantra);
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  animation: subtitleFade 0.5s ease;
}

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

/* Audio controls */
.chanting-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.chanting-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: none;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.chanting-btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}

/* Play button — slightly larger */
.chanting-btn-play {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 16px rgba(232,121,10,0.4);
}

.chanting-btn-play:hover {
  box-shadow: 0 0 24px rgba(232,121,10,0.6);
  transform: scale(1.05);
}

/* Progress bar */
.chanting-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.chanting-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.chanting-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  width: 0%;
  transition: width 1s linear;
  border-radius: 3px;
}

.chanting-time {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  min-width: 36px;
}

/* Responsive — hide progress on small screens */
@media (max-width: 600px) {
  .chanting-progress-wrap { display: none; }
  .chanting-player { padding: 10px 16px; }
  .chanting-subtitle { font-size: 0.9rem; }
}

/* ============================================================
   26. SATURDAY PROGRAM BAR (homepage quick-access)
   ============================================================ */
.prog-bar {
  background: #fff;
  border-bottom: 3px solid var(--saffron);
}

.prog-bar-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.prog-bar-label {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  padding: 20px 28px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prog-bar-label p:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.85;
}

.prog-bar-label p:last-child {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.prog-bar-steps {
  display: flex;
  align-items: stretch;
  flex: 1;
  flex-wrap: wrap;
}

.prog-bar-step {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  border-right: 1px solid var(--divider);
  gap: 12px;
}

.prog-bar-step.highlight {
  background: linear-gradient(135deg, rgba(232,121,10,0.06), rgba(201,162,39,0.06));
}

.prog-bar-step-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.prog-bar-step-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.92rem;
  margin: 0 0 2px;
}

.prog-bar-step-time {
  color: var(--saffron);
  font-weight: 700;
  font-size: 0.82rem;
  margin: 0;
}

.prog-bar-step.highlight .prog-bar-step-name { color: var(--saffron-dark); }
.prog-bar-step.highlight .prog-bar-step-time { color: var(--gold); }

.prog-bar-cta {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Mobile — stack the program bar */
@media (max-width: 900px) {
  .prog-bar-steps { border-top: 1px solid var(--divider); }
  .prog-bar-step  { flex: 1; min-width: 120px; border-right: none; border-bottom: 1px solid var(--divider); padding: 14px 16px; }
  .prog-bar-cta   { width: 100%; justify-content: center; padding: 16px; border-top: 1px solid var(--divider); }
}

/* ============================================================
   27. COMPREHENSIVE MOBILE FIXES
   ============================================================ */

/* --- Navigation --- */
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-logo img { height: 38px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-tagline { font-size: 0.68rem; letter-spacing: 0.12em; padding: 5px 14px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.6rem); margin-bottom: 14px; }
  .hero .hero-sub { font-size: 0.97rem; margin-left: auto; margin-right: auto; }
  .hero-dedication { font-size: 0.88rem; }
  .hero-buttons { gap: 12px; }
  .hero-buttons .btn { padding: 12px 24px; font-size: 0.88rem; width: 100%; justify-content: center; max-width: 280px; }

  /* Quote banner */
  .quote-banner { padding: 40px 20px; }
  .quote-banner blockquote { font-size: 1.1rem; }

  /* Sections */
  .section  { padding: 44px 0; }
  .section-sm { padding: 28px 0; }
  .container { padding: 0 16px; }

  /* Cards */
  .card-img, .card-img-placeholder { height: 180px; }
  .card-body { padding: 18px; }

  /* Schedule cards */
  .schedule-header { padding: 18px 20px; }
  .schedule-item { padding: 14px 20px; }
  .schedule-time { min-width: 60px; font-size: 0.8rem; }

  /* Section headers */
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.6rem; }

  /* Feature cards */
  .feature-card { padding: 24px 20px; }
  .feature-icon { width: 52px; height: 52px; font-size: 1.5rem; margin-bottom: 14px; }

  /* Quote block */
  .quote-block { padding: 24px 20px; }
  .quote-block blockquote { font-size: 1.05rem; }

  /* CTA banner */
  .cta-banner { padding: 48px 20px; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p  { font-size: 0.97rem; }
  .cta-banner .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Mantra section — handled inside mantra block above */

  /* Gallery */
  .gallery-tabs { gap: 6px; }
  .gallery-tab  { padding: 7px 14px; font-size: 0.8rem; }

  /* Contact form */
  .contact-form .grid-2 { grid-template-columns: 1fr; gap: 0; }

  /* Info cards */
  .info-card { padding: 20px 18px; }

  /* Footer */
  .footer { padding: 44px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { font-size: 0.88rem; }
  .footer-col h4  { margin-bottom: 14px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-bottom { padding: 18px 16px; flex-direction: column; text-align: center; gap: 8px; }

  /* Welcome overlay — smaller on mobile */
  .welcome-prabhupada { width: 120px; height: 120px; }
  .welcome-content h2 { font-size: 2rem; }
  .welcome-mantra-line { font-size: 1rem; line-height: 1.9; }
  .welcome-enter-btn   { padding: 14px 28px; font-size: 0.95rem; }

  /* Chanting player — compact on mobile */
  .chanting-player { padding: 10px 14px; }
  .chanting-title  { font-size: 0.72rem; }
  .chanting-subtitle { font-size: 0.88rem; }
  .chanting-avatar { width: 36px; height: 36px; }
  .chanting-btn-play { width: 38px; height: 38px; font-size: 1rem; }
  .chanting-btn { width: 32px; height: 32px; font-size: 0.85rem; }

  /* Timeline */
  .timeline::before { left: 16px; }
  .timeline-item    { padding-left: 48px; }
  .timeline-dot     { left: 6px; }

  /* Book cards */
  .book-card { padding: 18px; }
  .book-cover-placeholder { width: 100px; height: 160px; font-size: 0.9rem; }

  /* Stats */
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }

  /* Map */
  .map-container { height: 280px; }
}

/* --- Very small phones (< 400px) --- */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.6rem; }
  .hero .hero-sub { font-size: 0.9rem; }
  .hero-buttons .btn { font-size: 0.82rem; padding: 11px 18px; }
  .prog-bar-step { min-width: 100px; }
}

/* ============================================================
   28. PRINT
   ============================================================ */
@media print {
  .navbar, .hero-scroll, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-bg, .hero-overlay { display: none; }
  .hero h1, .hero .hero-sub { color: #000; text-shadow: none; }
}


/* ============================================================
   MANTRA TICKER
   ============================================================ */
.mantra-ticker {
  background: linear-gradient(90deg, #1a0800 0%, #3d1600 30%, #1a0800 100%);
  overflow: hidden;
  padding: .9rem 0;
  white-space: nowrap;
  border-top: 2px solid rgba(232,121,10,.35);
  border-bottom: 2px solid rgba(232,121,10,.35);
  position: relative;
}
/* fade edges */
.mantra-ticker::before,
.mantra-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.mantra-ticker::before { left: 0;  background: linear-gradient(90deg, #1a0800, transparent); }
.mantra-ticker::after  { right: 0; background: linear-gradient(270deg, #1a0800, transparent); }

.mantra-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  animation: tickerScroll 38s linear infinite;
}
.mantra-ticker:hover .mantra-ticker-track { animation-play-state: paused; }

/* Full mantra line 1 — golden */
.mantra-ticker-track .tk-line1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .1em;
  background: linear-gradient(90deg, #fcd34d 0%, #fff8dc 40%, #f59e0b 80%, #fcd34d 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tickerShimmer 4s linear infinite;
  flex-shrink: 0;
  text-shadow: none;
}
/* Full mantra line 2 — saffron */
.mantra-ticker-track .tk-line2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #ffb347;
  flex-shrink: 0;
}
/* ◆ separator between pairs */
.mantra-ticker-track .tk-dot {
  color: var(--gold);
  font-size: .7rem;
  opacity: .7;
  flex-shrink: 0;
}
/* ❀ spacer between full mantras */
.mantra-ticker-track .tk-sep {
  color: var(--saffron);
  font-size: 1.1rem;
  opacity: .8;
  flex-shrink: 0;
  padding: 0 .6rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes tickerShimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

/* ============================================================
   SRILA PRABHUPADA TITLE CARD (homepage SP section)
   ============================================================ */
.sp-title-card {
  background: linear-gradient(135deg, rgba(60,20,0,.06) 0%, rgba(201,162,39,.08) 100%);
  border: 1.5px solid rgba(201,162,39,.35);
  border-left: 4px solid var(--saffron);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: inline-block;
  min-width: 0;
  width: 100%;
}
.sp-title-grace {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 4px;
}
.sp-title-name {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--brown-deep);
  line-height: 1.35;
  margin-bottom: 8px;
}
.sp-title-name strong {
  color: var(--saffron-dark);
  display: block;
  font-size: 1.05em;
}
.sp-title-role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 2px;
}
.sp-title-org {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-style: italic;
}
.sp-title-world {
  font-size: .82rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: .04em;
}


/* ============================================================
   CHANT AND BE HAPPY SLIDER
   ============================================================ */
.chant-happy {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 520px;
  background: var(--brown-deep);
}
.chant-happy-inner { position: relative; width: 100%; height: 100%; }

/* Individual slides */
.ch-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .65s ease, transform .65s ease;
  pointer-events: none;
}
.ch-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
.ch-slide.exit {
  opacity: 0;
  transform: translateX(-60px);
  z-index: 1;
}

/* Slide backgrounds */
.ch-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
}
.ch-bg-1 { background: radial-gradient(ellipse at 60% 40%, #ff9800 0%, #bf360c 100%); opacity: 1; }
.ch-bg-2 { background: radial-gradient(ellipse at 30% 60%, #e65100 0%, #1a237e 100%); opacity: 1; }
.ch-bg-3 { background: radial-gradient(ellipse at 70% 30%, #c0392b 0%, #6d4c41 100%); opacity: 1; }
.ch-bg-4 { background: radial-gradient(ellipse at 50% 50%, #2e7d32 0%, #1b5e20 100%); opacity: 1; }
.ch-bg-5 { background: radial-gradient(ellipse at 40% 60%, #4a148c 0%, #1a237e 100%); opacity: 1; }

/* Quote slide backgrounds — deep, contemplative */
.ch-bg-quote  { background: radial-gradient(ellipse at 50% 30%, #2a0e00 0%, #0d0400 60%, #1a0800 100%); opacity: 1; }
.ch-bg-quote2 { background: radial-gradient(ellipse at 30% 70%, #1a0600 0%, #0a0300 50%, #230e00 100%); opacity: 1; }

/* Overlay on all slides */
.ch-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 6, 2, .58);
  z-index: 0;
}

/* Slide content */
.ch-slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem 2.5rem;
  max-width: 780px;
  width: 90%;
  animation: chSlideIn .7s ease both;
}
.ch-slide.active .ch-slide-content { animation: chSlideIn .7s ease both; }
@keyframes chSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ch-label {
  display: inline-block;
  background: rgba(232, 121, 10, .85);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .25rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.1rem;
}

.ch-mantra-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: #fff;
  line-height: 1.6;
  margin: 0 0 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  letter-spacing: .04em;
}

.ch-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.25;
  margin: 0 0 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.ch-headline em { color: var(--gold-light); font-style: italic; }

.ch-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  color: #fff;
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 .8rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* Larger quote for Prabhupada slides */
.ch-quote-lg {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: rgba(255, 248, 210, .96);
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
  letter-spacing: .01em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Big decorative open/close quotation marks (Font Awesome icons) */
.ch-quote-marks {
  display: block;
  font-size: 2.2rem;
  color: var(--saffron);
  opacity: .6;
  margin-bottom: .3rem;
  line-height: 1;
}
.ch-quote-marks i { display: inline-block; }
.ch-quote-close {
  margin-top: .4rem;
  margin-bottom: .5rem;
  opacity: .45;
}

/* "Srila Prabhupada" label badge on quote slides */
.ch-label-quote {
  background: linear-gradient(90deg, var(--saffron-dark), var(--gold));
  letter-spacing: .18em;
  font-size: .68rem;
  padding: .28rem 1.1rem;
  box-shadow: 0 2px 12px rgba(232,121,10,.4);
}

.ch-cite {
  color: var(--gold-light);
  font-size: .9rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .06em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.ch-desc {
  color: rgba(255,255,255,.85);
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 1.4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ch-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(232, 121, 10, .4);
}
.ch-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(232, 121, 10, .55); }

/* Navigation dots */
.ch-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.ch-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: background .25s, transform .25s;
  padding: 0;
}
.ch-dot.active {
  background: var(--saffron);
  transform: scale(1.3);
}

/* Prev / Next arrows */
.ch-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s;
}
.ch-arrow:hover { background: rgba(232, 121, 10, .6); }
.ch-prev { left: 18px; }
.ch-next { right: 18px; }

/* Progress bar at bottom of slider */
.ch-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: var(--saffron);
  z-index: 10;
  transition: width .1s linear;
}

@media (max-width: 600px) {
  .chant-happy { height: 440px; }
  .ch-slide-content { padding: 1.5rem 1.2rem; }
  .ch-arrow { width: 36px; height: 36px; }
  .ch-prev { left: 10px; }
  .ch-next { right: 10px; }
}


/* ============================================================
   LANGUAGE SWITCHER  (EN | DE in the navbar)
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-right: .6rem;
  order: -1;          /* sits left of the hamburger toggle */
}
.lang-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 4px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .22rem .52rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  line-height: 1.4;
}
.lang-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}
.lang-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
/* on scrolled/white navbar */
.navbar.scrolled .lang-btn {
  border-color: rgba(0,0,0,.22);
  color: var(--text-dark);
}
.navbar.scrolled .lang-btn:hover {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.45);
}
.navbar.scrolled .lang-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
}
.lang-sep {
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  pointer-events: none;
  user-select: none;
}
.navbar.scrolled .lang-sep {
  color: rgba(0,0,0,.3);
}
@media (max-width: 768px) {
  .lang-switcher {
    margin-right: .4rem;
  }
  .lang-btn {
    font-size: .68rem;
    padding: .18rem .42rem;
  }
}


/* ============================================================
   HERO KIRTAN BADGE — "Srila Prabhupada's Transcendental Kirtan"
   ============================================================ */
.kirtan-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.4rem;
  background: rgba(10, 4, 1, .65);
  border: 1.5px solid rgba(252, 211, 77, .5);
  border-radius: 60px;
  padding: .65rem 1.3rem .65rem .75rem;
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(8px);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
  text-align: left;
  max-width: 100%;
}
.kirtan-hero-badge:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(20, 8, 1, .82);
  box-shadow: 0 6px 28px rgba(232,121,10,.45);
}

/* Pulsing ring behind play icon */
.khb-pulse {
  position: absolute;
  left: .75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(232,121,10,.25);
  animation: khbRing 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes khbRing {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.9);  opacity: 0; }
  100% { transform: scale(1.9);  opacity: 0; }
}

/* Play circle icon */
.khb-play-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  color: #fff;
  box-shadow: 0 2px 10px rgba(232,121,10,.5);
  position: relative;
  z-index: 1;
  transition: transform .2s;
}
.kirtan-hero-badge:hover .khb-play-icon {
  transform: scale(1.1);
}

/* Text block */
.khb-text {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  position: relative;
  z-index: 1;
}
.khb-title {
  font-family: var(--font-heading);
  font-size: clamp(.85rem, 1.8vw, 1rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.25;
}
.khb-sub {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* When kirtan is actively playing — badge glows */
.kirtan-hero-badge.is-playing {
  border-color: var(--saffron);
  background: rgba(100, 35, 0, .6);
  box-shadow: 0 0 20px rgba(232,121,10,.5);
}
.kirtan-hero-badge.is-playing .khb-play-icon {
  background: linear-gradient(135deg, var(--saffron-dark), #a05000);
}

@media (max-width: 480px) {
  .kirtan-hero-badge { padding: .55rem 1rem .55rem .6rem; gap: .7rem; }
  .khb-title { font-size: .82rem; }
  .khb-sub   { font-size: .65rem; }
  .khb-pulse, .khb-play-icon { width: 36px; height: 36px; }
  .khb-pulse { left: .6rem; }
}


/* ============================================================
   FLOATING KIRTAN AUDIO BUTTON (FAB)
   Simple play / pause — no popup, audio only
   ============================================================ */
.kirtan-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .65rem 1.2rem .65rem 1rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232,121,10,.45);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.kirtan-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(232,121,10,.6);
}
.kirtan-fab.is-playing {
  background: linear-gradient(135deg, var(--saffron-dark) 0%, #a05000 100%);
  animation: kirtanPulse 2s ease-in-out infinite;
}
@keyframes kirtanPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(232,121,10,.5); }
  50%      { box-shadow: 0 4px 28px rgba(232,121,10,.85); }
}
.kirtan-fab-icon { font-size: 1rem; line-height: 1; }
.kirtan-fab-label { font-size: .85rem; }

@media (max-width: 480px) {
  .kirtan-fab { bottom: 16px; right: 16px; padding: .75rem; border-radius: 50%; }
  .kirtan-fab-label { display: none; }
  .kirtan-fab-icon { font-size: 1.15rem; }
}

/* ============================================================
   MOBILE OVERRIDES — extra fixes for small screens
   ============================================================ */

/* Temples grid: force single column on small phones */
@media (max-width: 520px) {
  .temples-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .temple-featured {
    grid-template-columns: 1fr !important;
  }
  .temple-featured .temple-feat-img {
    min-height: 120px;
    padding: 1.2rem;
  }
  .temple-featured .temple-feat-img i { font-size: 2.8rem; }
  .temple-featured .temple-feat-body { padding: 1.2rem; }
  .temple-featured h3 { font-size: 1.2rem; }
}

/* Prog-bar steps: prevent horizontal overflow on small phones */
@media (max-width: 480px) {
  .prog-bar-inner {
    flex-direction: column;
    gap: .8rem;
    padding: 1rem;
  }
  .prog-bar-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    width: 100%;
  }
  .prog-bar-step {
    min-width: unset !important;
    flex: unset !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25rem;
    padding: .5rem .4rem;
  }
  .prog-bar-label { text-align: center; }
  .prog-bar-cta { width: 100%; }
  .prog-bar-cta .btn { width: 100%; justify-content: center; }
}

/* Chant slider arrows: smaller on very small phones */
@media (max-width: 360px) {
  .ch-arrow { width: 30px; height: 30px; }
  .ch-prev { left: 6px; }
  .ch-next { right: 6px; }
  .ch-slide-content { padding: 1rem .9rem; }
}

/* ============================================================
   MOBILE CLEAN-UP — reduce hero clutter on phones
   ============================================================ */
@media (max-width: 768px) {
  /* Hide the hero kirtan badge — FAB button at bottom-right is enough on mobile */
  .kirtan-hero-badge { display: none; }

  /* Convert WhatsApp pill to plain icon circle on mobile */
  .hero-wa-link {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: rgba(37,211,102,.25) !important;
    border: 1px solid rgba(37,211,102,.5) !important;
    justify-content: center !important;
  }
  .hero-wa-link i { margin: 0 !important; }
  /* Hide the text label — icon only */
  .hero-wa-link .wa-label { display: none !important; }

  /* Reduce vertical spacing in hero on mobile */
  .hero-content { padding: 30px 20px 24px; }
  .hero-buttons { margin-bottom: 24px; gap: 10px; }
  .hero-social   { gap: 12px; }
  .hero-dedication { margin-bottom: 24px; }

  /* Schedule line — smaller on mobile */
  .hero-content .hero-sub + .hero-sub { font-size: .88rem !important; }

  /* Prog-bar address text: shrink on mobile */
  .prog-bar-label p { font-size: .82rem; }
}

@media (max-width: 480px) {
  /* Stack hero buttons vertically and keep them compact */
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { max-width: 260px; }
}

/* Hero schedule paragraph baseline style */
.hero-schedule {
  font-size: 1rem;
  margin-top: .5rem;
  opacity: .9;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .hero-schedule { font-size: .88rem; line-height: 1.7; }
}

/* ============================================================
   PHOTO SLIDER SECTION
   ============================================================ */
.photo-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  /* height is auto — driven by img inside */
}

.photo-slider {
  position: relative;
  width: 100%;
}

.photo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Make first slide (and active) take up space for height */
.photo-slide.active {
  opacity: 1;
  z-index: 2;
  position: relative;
}

/* White background for the seal/logo slide */
.photo-slide.ps-white { background: #fff; }
/* Dark/photo slides get a neutral dark bg */
.photo-slide.ps-dark  { background: #1a1a1a; }

/* Photo slides — cover fills the frame, no black bars */
.photo-slide img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center center;
}

/* Logo/seal slide — contain so text is not cut off */
.photo-slide.ps-white img {
  height: 520px;
  object-fit: contain;
  padding: 20px;
}

.photo-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
/* Caption on white slide needs dark text */
.ps-white .photo-slide-caption {
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
}
.photo-slide-caption span {
  color: var(--saffron);
  margin: 0 6px;
}

/* Arrow buttons */
.ps-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.38);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.ps-arrow:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-50%) scale(1.1); }
.ps-prev { left: 16px; }
.ps-next { right: 16px; }

/* Dot navigation */
.ps-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.ps-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ps-dot.active {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .photo-slide-caption { font-size: 0.8rem; padding: 14px 16px 16px; }
  .ps-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* ============================================================
   LORD JAGANNATH PHOTO SECTION
   ============================================================ */
.jagannath-photo-section {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}
.jagannath-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.jagannath-photo-section:hover .jagannath-photo-bg {
  transform: scale(1.07);
}
.jagannath-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}
.jagannath-photo-caption span {
  color: var(--saffron);
  margin: 0 8px;
}

@media (max-width: 768px) {
  .jagannath-photo-section { height: 320px; }
}
@media (max-width: 480px) {
  .jagannath-photo-section { height: 240px; }
  .jagannath-photo-caption { font-size: 0.85rem; }
}

/* ============================================================
   COMPREHENSIVE MOBILE OVERHAUL — crystal clear on phone
   ============================================================ */

/* ── Program bar: clean 2×2 on mobile ── */
@media (max-width: 768px) {
  .prog-bar-inner {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .prog-bar-label {
    padding: 12px 16px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  .prog-bar-label p:first-child { margin-bottom: 0; font-size: .65rem; }
  .prog-bar-label p:last-child  { font-size: 1rem; }
  .prog-bar-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
  }
  .prog-bar-step {
    min-width: unset !important;
    flex: unset !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 12px 8px;
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
  }
  .prog-bar-step:nth-child(2n) { border-right: none; }
  .prog-bar-step:nth-last-child(-n+2) { border-bottom: none; }
  .prog-bar-step-icon  { font-size: 1.2rem; }
  .prog-bar-step-name  { font-size: .8rem; }
  .prog-bar-step-time  { font-size: .78rem; }
  .prog-bar-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    border-top: 1px solid var(--divider);
  }
  .prog-bar-cta .btn { width: 100%; justify-content: center; max-width: 280px; }
}

/* ── 4 Pillars: 2×2 grid on mobile ── */
@media (max-width: 768px) {
  #highlights .grid-4 {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px;
  }
}
@media (max-width: 420px) {
  #highlights .grid-4 {
    grid-template-columns: 1fr !important;
  }
}

/* ── Srila Prabhupada section: stack on mobile ── */
@media (max-width: 768px) {
  .split-section { gap: 28px; }
  .split-section img { max-height: 300px; object-fit: cover; object-position: center 20%; border-radius: 12px; }
}

/* ── Footer: single column on mobile ── */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .footer-col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  .footer-col ul li { margin-bottom: 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; padding: 16px; }
  .footer-bottom-mantra { font-size: .7rem; }
}

/* ── Photo slider: mobile heights ── */
@media (max-width: 768px) {
  .photo-slide img       { height: 320px; }
  .photo-slide.ps-white img { height: 320px; padding: 16px; }
}
@media (max-width: 480px) {
  .photo-slide img       { height: 260px; }
  .photo-slide.ps-white img { height: 260px; padding: 12px; }
  .photo-slide-caption   { font-size: .8rem; padding: 12px 16px 14px; }
}

/* ============================================================
   HKM LOGO — show fully in slider and SP section
   ============================================================ */

/* HKM Seal slide — contain so full circle + all text is visible */
.photo-slide.ps-contain {
  background-size: 85% auto !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* SP section — Srila Prabhupada photo */
.sp-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ============================================================
   MOBILE HERO — shorter so CTA button is above the fold
   ============================================================ */
@media (max-width: 768px) {
  /* Hide long schedule paragraph on mobile — program bar shows it */
  .hero-schedule { display: none; }

  /* Tighter hero padding */
  .hero-content {
    padding: 70px 20px 28px !important;
  }

  /* Tagline: single line, smaller */
  .hero-tagline {
    font-size: .6rem !important;
    letter-spacing: .1em !important;
    padding: 4px 12px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* H1 smaller so it fits 2 lines max */
  .hero h1 {
    font-size: clamp(1.6rem, 7.5vw, 2.4rem) !important;
    margin-bottom: 10px !important;
  }

  /* Sub text tighter */
  .hero .hero-sub {
    font-size: .9rem !important;
    margin-bottom: 18px !important;
  }

  /* Buttons stacked, full width */
  .hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    align-items: stretch !important;
  }
  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: .9rem !important;
  }

  /* Social row compact */
  .hero-social { gap: 10px !important; }
}
