/**
 * Divyakshetra Hariharapura - About Us Stylesheet
 * File: static/assets/css/about.css
 */

:root {
  --divine-maroon: #840000;
  --divine-maroon-dark: #5a0000;
  --divine-maroon-light: #9e1b1b;
  --divine-gold: #c28829;
  --divine-gold-rich: #d97706;
  --divine-gold-light: #ffd54f;
  --divine-gold-border: #fae4be;
  --divine-cream-bg: #fdfbf7;
  --divine-sand-bg: #fbf7ee;
  --divine-card-bg: #ffffff;
  --divine-text-dark: #1f2937;
  --divine-text-muted: #4b5563;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--divine-cream-bg) !important;
  color: var(--divine-text-dark);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ----------------------------------------------------
   Hero & Breadcrumb Section
   ---------------------------------------------------- */
.about-hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(90, 0, 0, 0.94) 0%, rgba(132, 0, 0, 0.88) 50%, rgba(50, 0, 0, 0.95) 100%),
              url('/assets/img/hero/slider1.jpg') center/cover no-repeat;
  padding: 90px 0 80px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  border-bottom: 3px solid var(--divine-gold);
}

.about-hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/img/bg/pattern_bg_2.png') repeat center;
  opacity: 0.15;
  pointer-events: none;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 213, 79, 0.15);
  border: 1px solid rgba(255, 213, 79, 0.4);
  color: var(--divine-gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.about-hero-title span {
  color: var(--divine-gold-light);
}

.about-hero-subtitle {
  font-family: var(--font-cinzel);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
  max-width: 780px;
  margin: 0 auto 24px;
  font-weight: 600;
}

.about-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.about-breadcrumb-nav a {
  color: var(--divine-gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumb-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------------------------------------------
   Pillars / Quick Highlights Bar
   ---------------------------------------------------- */
.about-pillars-bar {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  margin-bottom: 45px;
  padding: 0 12px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--divine-gold-border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(132, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(132, 0, 0, 0.14);
  border-color: var(--divine-gold);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf4e3, #fae4be);
  border: 1.5px solid var(--divine-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--divine-maroon);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.pillar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--divine-maroon);
  margin-bottom: 4px;
}

.pillar-card p {
  font-size: 0.82rem;
  color: var(--divine-text-muted);
  margin: 0;
  line-height: 1.35;
}

/* ----------------------------------------------------
   Section Headers
   ---------------------------------------------------- */
.divine-section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.divine-section-tag {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--divine-gold-rich);
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}

.divine-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--divine-maroon);
  line-height: 1.25;
  margin-bottom: 12px;
}

.divine-section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--divine-text-muted);
}

.divine-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 0;
}

.divine-divider-line {
  width: 45px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--divine-gold), transparent);
}

.divine-divider-om {
  color: var(--divine-gold-rich);
  font-size: 1.1rem;
}

/* ----------------------------------------------------
   Gallery Swiper Carousel
   ---------------------------------------------------- */
.sanctum-carousel-wrap {
  position: relative;
  padding: 10px 0 30px;
}

.sanctum-photo-card {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--divine-gold-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition: all 0.35s ease;
  position: relative;
}

.sanctum-photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sanctum-photo-card:hover {
  border-color: var(--divine-gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(132, 0, 0, 0.16);
}

.sanctum-photo-card:hover img {
  transform: scale(1.05);
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--divine-maroon);
  color: var(--divine-gold-light);
  border: 2px solid var(--divine-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(132, 0, 0, 0.3);
  cursor: pointer;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.25s ease;
}

.carousel-nav-btn:hover {
  background: #5a0000;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev { left: -16px; }
.carousel-nav-next { right: -16px; }

@media (max-width: 768px) {
  .carousel-nav-prev { left: 4px; }
  .carousel-nav-next { right: 4px; }
}

/* ----------------------------------------------------
   Kshetra Mahima (4 Sacred Bhoomis) Section
   ---------------------------------------------------- */
.kshetra-mahima-section {
  background-color: #a04242;
  background-image: linear-gradient(135deg, rgba(116, 0, 0, 0.90) 0%, rgba(132, 0, 0, 0.85) 50%, rgba(70, 0, 0, 0.92) 100%),
                    url('/assets/img/guru_bg.png') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: scroll !important;
  position: relative;
  padding: 85px 0 95px;
  color: #ffffff;
  overflow: hidden;
}

.kshetra-mahima-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/img/bg/pattern_bg_2.png') repeat center;
  opacity: 0.18;
  pointer-events: none;
}

.bhoomi-card {
  background: transparent;
  border: 1.5px solid rgba(255, 213, 79, 0.35);
  border-radius: 22px;
  padding: 38px 34px;
  margin-bottom: 40px;
  box-shadow: none;
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bhoomi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 79, 0.8), transparent);
  pointer-events: none;
}

.bhoomi-card:hover {
  background: transparent;
  border-color: rgba(255, 213, 79, 0.75);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.bhoomi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 213, 79, 0.18);
  border: 1px solid rgba(255, 213, 79, 0.4);
  color: var(--divine-gold-light);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.bhoomi-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--divine-gold-light);
  margin-bottom: 16px;
}

.bhoomi-text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.75;
  margin-bottom: 14px;
}

.bhoomi-highlight {
  background: rgba(255, 213, 79, 0.12);
  border-left: 3px solid var(--divine-gold-light);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  color: #fff6d6;
  font-style: italic;
  margin-top: 14px;
}

.bhoomi-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 213, 79, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
  height: auto;
  min-height: 0;
  position: relative;
  line-height: 0;
  background: #2a0000;
}

.bhoomi-img-wrap img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  vertical-align: top;
  transition: transform 0.5s ease;
}

.bhoomi-img-wrap:hover img {
  transform: scale(1.04);
}

/* ----------------------------------------------------
   Guru Parampara Section
   ---------------------------------------------------- */
.guru-parampara-section {
  padding: 85px 0 90px;
  background: var(--divine-sand-bg);
  position: relative;
}

.shloka-banner-card {
  background: linear-gradient(135deg, #5a0000 0%, #840000 100%);
  border: 2px solid var(--divine-gold);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(132, 0, 0, 0.18);
  margin-bottom: 40px;
}

.shloka-banner-card h3 {
  font-family: 'Noto Serif Devanagari', var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--divine-gold-light);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.shloka-banner-card p {
  font-family: var(--font-cinzel);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: 1px;
}

.lineage-tree-img-card {
  border-radius: 20px;
  overflow: hidden;
  border: 2.5px solid var(--divine-gold);
  box-shadow: 0 12px 36px rgba(132, 0, 0, 0.14);
  margin-bottom: 50px;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.lineage-tree-img-card:hover {
  transform: translateY(-4px);
}

.lineage-tree-img-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ----------------------------------------------------
   Guru Parampara Cards (New Grand Royal Shrine Design)
   ---------------------------------------------------- */
.guru-shrine-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdfbf7 50%, #fbf6ec 100%);
  border: 1.5px solid var(--divine-gold-border);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 10px 32px rgba(132, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.guru-shrine-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #d4af37, #840000, #d4af37);
  border-radius: 24px 24px 0 0;
}

.guru-shrine-card:hover {
  border-color: #d4af37;
  box-shadow: 0 18px 45px rgba(132, 0, 0, 0.14), 0 0 20px rgba(212, 175, 55, 0.18);
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #fdf9f0 50%, #f9eed8 100%);
}

.guru-shrine-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1e4d0;
}

@media (max-width: 575px) {
  .guru-shrine-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

.guru-arch-frame {
  width: 110px;
  height: 125px;
  border-radius: 55px 55px 16px 16px;
  overflow: hidden;
  border: 2.5px solid var(--divine-gold);
  box-shadow: 0 8px 20px rgba(132, 0, 0, 0.2), 0 0 0 4px rgba(250, 228, 190, 0.5);
  background: #ffffff;
  flex-shrink: 0;
  position: relative;
  transition: all 0.35s ease;
}

.guru-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.guru-shrine-card:hover .guru-arch-frame {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(132, 0, 0, 0.28), 0 0 0 4px #ffd54f;
}

.guru-shrine-card:hover .guru-arch-frame img {
  transform: scale(1.08);
}

.guru-meta-info {
  flex: 1;
}

.guru-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #840000;
  background: #fdf2d6;
  border: 1px solid #fae4be;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.guru-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--divine-maroon);
  margin: 0;
  line-height: 1.3;
}

.guru-shloka-box {
  background: #ffffff;
  border: 1px solid #e7d7bc;
  border-left: 3.5px solid #c28829;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.guru-shloka-devanagari {
  font-family: 'Noto Serif Devanagari', var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #5a0000;
  margin-bottom: 6px;
  line-height: 1.65;
  text-align: center;
}

.guru-shloka-roman {
  font-size: 0.82rem;
  color: #78350f;
  font-style: italic;
  margin: 0;
  line-height: 1.45;
  text-align: center;
}

.guru-meaning {
  font-size: 0.93rem;
  color: var(--divine-text-dark);
  line-height: 1.65;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed #e8dcce;
  border-radius: 12px;
  padding: 14px 16px;
}

.guru-meaning i {
  color: #374151;
}

/* ----------------------------------------------------
   Present Jagadguru Section
   ---------------------------------------------------- */
.jagadguru-spotlight-section {
  padding: 85px 0 90px;
  background: #ffffff;
  position: relative;
}

.jagadguru-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdfbf7 100%);
  border: 2px solid var(--divine-gold-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 14px 40px rgba(132, 0, 0, 0.09);
  position: relative;
  overflow: hidden;
}

.jagadguru-card::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.swamiji-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--divine-gold);
  box-shadow: 0 12px 32px rgba(132, 0, 0, 0.2);
  position: relative;
}

.swamiji-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.swamiji-photo-frame:hover img {
  transform: scale(1.03);
}

.swamiji-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf2d6;
  border: 1px solid var(--divine-gold);
  color: #840000;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.swamiji-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--divine-maroon);
  margin-bottom: 14px;
  line-height: 1.3;
}

.swamiji-intro-quote {
  font-family: 'Noto Serif Devanagari', var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--divine-maroon);
  background: #faf4e8;
  border-left: 4px solid var(--divine-gold-rich);
  padding: 12px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 20px;
}

.swamiji-text {
  font-size: 1.02rem;
  color: var(--divine-text-dark);
  line-height: 1.75;
  margin-bottom: 16px;
}

.feature-pillar-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-pillar-bullet i {
  color: var(--divine-gold-rich);
  font-size: 1.1rem;
  margin-top: 4px;
}

/* ----------------------------------------------------
   Guru Birudavali (Grand Sanctum Pavilion New Design)
   ---------------------------------------------------- */
.birudavali-section {
  padding: 100px 0 110px;
  background: linear-gradient(135deg, #420000 0%, #680000 50%, #2f0000 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-top: 3px solid var(--divine-gold);
  border-bottom: 3px solid var(--divine-gold);
}

.birudavali-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/assets/img/bg/pattern_bg_2.png') repeat center;
  opacity: 0.16;
  pointer-events: none;
}

.birudavali-section .divine-section-title {
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.birudavali-section .divine-section-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Tab Switcher Pills */
.birudavali-nav-tabs {
  border: none;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.birudavali-nav-tabs .nav-link {
  font-family: var(--font-cinzel);
  font-size: 1rem;
  font-weight: 700;
  color: #ffd54f;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 213, 79, 0.4);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 12px 30px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.birudavali-nav-tabs .nav-link:hover {
  background: rgba(255, 213, 79, 0.2);
  border-color: #ffd54f;
  color: #ffffff;
  transform: translateY(-2px);
}

.birudavali-nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #ffd54f 0%, #d4af37 50%, #c28829 100%);
  color: #420000;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 213, 79, 0.5);
  transform: translateY(-2px);
  font-weight: 800;
}

/* Left Shrine Side: Swamiji Card + Interactive Audio */
.shrine-swamiji-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(255, 213, 79, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 24px;
}

.shrine-swamiji-arch {
  width: 100%;
  max-width: 260px;
  height: 290px;
  margin: 0 auto 20px;
  border-radius: 130px 130px 20px 20px;
  overflow: hidden;
  border: 3px solid #d4af37;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 213, 79, 0.25);
  position: relative;
}

.shrine-swamiji-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.shrine-swamiji-card:hover .shrine-swamiji-arch img {
  transform: scale(1.05);
}

.shrine-swamiji-badge {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffd54f;
  background: rgba(255, 213, 79, 0.15);
  border: 1px solid rgba(255, 213, 79, 0.35);
  padding: 4px 16px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.shrine-swamiji-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 4px;
}

.shrine-swamiji-subtitle {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Divine Audio Equalizer Shrine */
.shrine-audio-box {
  background: linear-gradient(145deg, #2a0000 0%, #4a0000 100%);
  border: 1.5px solid #d4af37;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

.shrine-audio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shrine-audio-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shrine-audio-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd54f, #c28829);
  color: #420000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.shrine-audio-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffd54f;
  margin: 0;
}

.shrine-audio-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Animated Sound Wave Equalizer */
.audio-equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.equalizer-bar {
  width: 3.5px;
  background: linear-gradient(180deg, #ffd54f, #c28829);
  border-radius: 3px;
  animation: equalize 1.4s ease-in-out infinite alternate;
}

.equalizer-bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.equalizer-bar:nth-child(2) { height: 90%; animation-delay: 0.3s; }
.equalizer-bar:nth-child(3) { height: 40%; animation-delay: 0.5s; }
.equalizer-bar:nth-child(4) { height: 100%; animation-delay: 0.2s; }
.equalizer-bar:nth-child(5) { height: 75%; animation-delay: 0.4s; }
.equalizer-bar:nth-child(6) { height: 50%; animation-delay: 0.6s; }

@keyframes equalize {
  0% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.4); }
}

.shrine-audio-box audio {
  width: 100%;
  height: 40px;
  border-radius: 30px;
  outline: none;
  margin-top: 4px;
}

/* ----------------------------------------------------
   Guru Birudavali Single Scripture Cards (Reference Design)
   ---------------------------------------------------- */
.birudavali-single-card {
  background: #ffffff;
  border: 1.5px solid var(--divine-gold-border);
  border-radius: 24px;
  padding: 42px 32px 38px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25), 0 0 25px rgba(255, 213, 79, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.birudavali-single-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 213, 79, 0.25);
  border-color: #ffd54f;
}

.birudavali-single-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  max-width: 90%;
  max-height: 90%;
  background-image: url('/assets/img/shape/bg-pattern2.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

.birudavali-card-title {
  color: #840000;
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
  line-height: 1.25;
}

.devanagari-font {
  font-family: 'Noto Serif Devanagari', 'Playfair Display', Georgia, serif;
}

.kannada-font {
  font-family: 'Noto Serif Kannada', 'Playfair Display', Georgia, serif;
}

.birudavali-card-lines {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.birudavali-card-lines p {
  color: #840000;
  font-size: clamp(0.9rem, 1.08vw, 1.05rem);
  font-weight: 600;
  line-height: 1.85;
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 0.1px;
}

@media (max-width: 991px) {
  .birudavali-single-card {
    padding: 30px 20px;
  }
}

/* ----------------------------------------------------
   Historical Records Section
   ---------------------------------------------------- */
.history-section {
  padding: 85px 0 90px;
  background: #ffffff;
}

@media (max-width: 575.98px) {
  .history-section .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

.history-card {
  background: #fdfbf7;
  border: 1px solid var(--divine-gold-border);
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--divine-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.history-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
