/* ==========================================================================
   SRI KRISHNA YAJUR VEDA PARAYANA TRUST - CHIDAMBARAM
   Official Temple Portal Design System (TTD Style)
   ========================================================================== */

:root {
  --primary-gold: #c59b27;
  --gold-gradient: linear-gradient(135deg, #f7d070 0%, #d4af37 50%, #aa771c 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.45);
  
  --crimson-dark: #4a0711;
  --crimson-main: #7b1122;
  --crimson-light: #9e1930;
  
  --saffron-bright: #ff6f00;
  --saffron-warm: #f57c00;
  --saffron-soft: #fff3e0;
  
  --stone-dark: #1b1614;
  --stone-surface: #261f1c;
  --stone-card: #332a26;
  
  --bg-cream: #fffdf8;
  --bg-ivory: #faf4e8;
  --bg-card: #ffffff;
  
  --text-primary: #211c19;
  --text-secondary: #5e544d;
  --text-gold: #c59b27;
  --text-light: #f7f3ea;
  
  --border-gold: rgba(212, 175, 55, 0.4);
  --border-subtle: rgba(123, 17, 34, 0.12);
  
  --font-heading: 'Cinzel', serif;
  --font-subheading: 'Marcellus', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 8px 25px rgba(197, 155, 39, 0.35);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Base Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Devotional Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(197, 155, 39, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
}

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

a:hover {
  color: var(--primary-gold);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP UTILITY BAR (TTD Style)
   ========================================================================== */
.top-bar {
  background: var(--crimson-dark);
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--primary-gold);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chant-mantra {
  font-family: var(--font-subheading);
  color: #f7d070;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.panchang-today {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e0d0be;
}

.top-utility-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.top-utility-btn:hover {
  background: var(--primary-gold);
  color: var(--crimson-dark);
}

.audio-toggle.playing {
  background: var(--saffron-bright);
  color: #fff;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(255, 111, 0, 0.5); }
  50% { box-shadow: 0 0 15px rgba(255, 111, 0, 0.9); }
}

/* ==========================================================================
   MAIN HEADER & LOGO BRANDING (TTD Grand Style)
   ========================================================================== */
.main-header {
  background: linear-gradient(to bottom, #ffffff, #fffdf8);
  padding: 16px 0;
  border-bottom: 3px double var(--primary-gold);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.main-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.trust-logo-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.3);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.brand-wrapper:hover .trust-logo-img {
  transform: rotate(5deg) scale(1.03);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--crimson-dark);
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.brand-sub-tamil {
  font-size: 0.95rem;
  color: var(--crimson-main);
  font-weight: 600;
  margin-top: 2px;
}

.brand-sub-location {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.header-right-emblem {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: right;
}

.motto-box {
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--crimson-main);
}

.motto-sanskrit {
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--crimson-dark);
}

.motto-translation {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ==========================================================================
   NAVIGATION BAR (TTD Iconic Gold & Crimson Navbar)
   ========================================================================== */
.nav-bar {
  background: linear-gradient(180deg, var(--crimson-main) 0%, var(--crimson-dark) 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 215, 0, 0.4);
  border-bottom: 2px solid var(--primary-gold);
}

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

.main-nav {
  display: flex;
  align-items: center;
}

.nav-link {
  color: #fff3e0;
  font-family: var(--font-subheading);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link:hover, .nav-link.active {
  background: rgba(197, 155, 39, 0.25);
  color: #f7d070;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.nav-btn-donate {
  background: var(--gold-gradient);
  color: var(--crimson-dark) !important;
  font-weight: 700 !important;
  border-radius: var(--radius-sm);
  padding: 9px 18px !important;
  margin: 6px 0;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.6);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
}

/* ==========================================================================
   FLASH NEWS / ANNOUNCEMENT TICKER (TTD Style)
   ========================================================================== */
.flash-news-bar {
  background: #fdf6e6;
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
}

.flash-label {
  background: var(--crimson-main);
  color: #fff;
  font-family: var(--font-subheading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.flash-ticker-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 20px;
}

.flash-ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-size: 0.88rem;
  color: var(--crimson-dark);
}

.flash-ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 45px;
}

.ticker-item i {
  color: var(--saffron-warm);
  margin-right: 8px;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   HERO BANNER & SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--stone-dark);
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 10, 5, 0.4) 0%, rgba(74, 7, 17, 0.55) 70%, rgba(20, 10, 5, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #fff;
  max-width: 850px;
  padding: 60px 0;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.3);
  border: 1px solid var(--primary-gold);
  color: #fce8a6;
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  margin-bottom: 14px;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: #f0e6d6;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--crimson-dark);
  font-family: var(--font-subheading);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  color: var(--crimson-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: var(--font-subheading);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 30px;
  right: 50px;
  z-index: 20;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary-gold);
  border-color: #fff;
  transform: scale(1.2);
}

/* ==========================================================================
   TTD SIGNATURE FLOATING SERVICES GRID
   ========================================================================= */
.floating-services-section {
  position: relative;
  margin-top: -60px;
  z-index: 30;
  padding-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gold);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-ivory);
  border: 2px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--crimson-main);
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--crimson-main);
  color: #f7d070;
  transform: scale(1.1);
}

.service-title {
  font-family: var(--font-subheading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--crimson-dark);
  margin-bottom: 6px;
}

.service-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* ==========================================================================
   TODAY AT CHIDAMBARAM & PANCHANGAM BAR
   ========================================================================== */
.panchang-bar-section {
  background: linear-gradient(135deg, #fdf8ed 0%, #faecd4 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 24px 0;
  margin-bottom: 50px;
}

.panchang-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.panchang-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panchang-badge {
  background: var(--crimson-main);
  color: #f7d070;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panchang-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.panchang-item {
  display: flex;
  flex-direction: column;
}

.panchang-item .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--crimson-main);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.panchang-item .value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.panchang-cta {
  background: var(--crimson-main);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.panchang-cta:hover {
  background: var(--crimson-dark);
  color: #f7d070;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-subheading);
  color: var(--saffron-warm);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--crimson-dark);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary-gold);
  margin-top: 8px;
}

.title-ornament::before,
.title-ornament::after {
  content: '';
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
}

.section-desc {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* ==========================================================================
   SPECIALITY OF CHIDAMBARAM TEMPLE (Pancha Bhoota & Rahasyam)
   ========================================================================== */
.speciality-section {
  background: var(--bg-cream);
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.feature-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.feature-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-img-wrap img {
  transform: scale(1.08);
}

.feature-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--crimson-main);
  color: #f7d070;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--crimson-dark);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.feature-list {
  margin-bottom: 20px;
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li i {
  color: var(--primary-gold);
  font-size: 0.8rem;
}

.feature-link {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-link:hover {
  color: var(--primary-gold);
  transform: translateX(4px);
}

/* ==========================================================================
   KRISHNA YAJUR VEDA PARAYANA TRUST FOCUS SECTION
   ========================================================================== */
.veda-trust-section {
  background: linear-gradient(rgba(27, 22, 20, 0.94), rgba(43, 27, 23, 0.96)), url('../images/veda_parayana.jpg') center/cover fixed;
  color: #fff;
  padding: 80px 0;
  position: relative;
}

.veda-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.veda-trust-content h3 {
  font-family: var(--font-subheading);
  color: #f7d070;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.veda-trust-content h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.veda-trust-content p {
  color: #e5ded6;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.veda-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.veda-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  backdrop-filter: blur(4px);
}

.veda-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #f7d070;
  font-weight: 700;
}

.veda-stat-label {
  font-size: 0.78rem;
  color: #d1c7bc;
  text-transform: uppercase;
}

.veda-highlight-box {
  background: rgba(197, 155, 39, 0.15);
  border-left: 4px solid var(--primary-gold);
  padding: 24px;
  border-radius: var(--radius-sm);
}

.veda-quote {
  font-family: var(--font-subheading);
  font-size: 1.15rem;
  color: #f7d070;
  font-style: italic;
  margin-bottom: 12px;
}

/* ==========================================================================
   CHIDAMBARAM FESTIVALS & FUNCTION DAYS CALENDAR
   ========================================================================== */
.festivals-section {
  background: var(--bg-ivory);
}

.festival-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.festival-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--crimson-dark);
  font-family: var(--font-subheading);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.festival-tab-btn.active, .festival-tab-btn:hover {
  background: var(--crimson-main);
  color: #f7d070;
  border-color: var(--crimson-main);
  box-shadow: 0 4px 12px rgba(123, 17, 34, 0.25);
}

.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.festival-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.festival-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.festival-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--saffron-soft);
  color: var(--saffron-warm);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.festival-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--crimson-dark);
  margin-bottom: 8px;
}

.festival-tamil {
  font-size: 0.9rem;
  color: var(--crimson-light);
  font-weight: 600;
  margin-bottom: 12px;
}

.festival-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.festival-footer {
  border-top: 1px dashed rgba(123, 17, 34, 0.15);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.festival-tag-small {
  font-size: 0.76rem;
  color: var(--primary-gold);
  font-weight: 600;
}

/* ==========================================================================
   DAILY POOJA TIMINGS (Aru Kaala Pooja at Chidambaram)
   ========================================================================== */
.pooja-timings-table-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
}

.pooja-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pooja-table th {
  background: var(--crimson-main);
  color: #f7d070;
  font-family: var(--font-subheading);
  padding: 16px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.pooja-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.pooja-table tr:nth-child(even) {
  background: var(--bg-ivory);
}

.pooja-table tr:hover {
  background: rgba(197, 155, 39, 0.08);
}

/* ==========================================================================
   ONLINE SEVA BOOKING & E-HUNDI SECTION (Interactive Demo)
   ========================================================================== */
.donation-interactive-section {
  background: var(--bg-cream);
  padding: 70px 0;
}

.donation-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.donation-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
}

.form-header {
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-ivory);
}

.form-header h3 {
  font-family: var(--font-heading);
  color: var(--crimson-dark);
  font-size: 1.4rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crimson-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #dcd1c4;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

.seva-category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  background: rgba(184, 134, 11, 0.08);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.seva-category-tab {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--crimson-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.seva-category-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--crimson-main);
}

.seva-category-tab.active {
  background: linear-gradient(135deg, var(--crimson-main), var(--crimson-dark));
  color: #fff !important;
  border-color: var(--primary-gold);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.25);
}

.seva-category-tab.active i {
  color: #ffd700 !important;
}

@media (max-width: 600px) {
  .seva-category-tabs {
    flex-direction: column;
    gap: 6px;
  }
}

.seva-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.seva-option-btn {
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seva-option-btn:hover {
  background: #fff8eb;
  border-color: var(--saffron-warm);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 91, 53, 0.15);
}

.seva-option-btn.selected {
  background: linear-gradient(135deg, var(--crimson-main), var(--crimson-dark));
  color: #fff !important;
  border-color: var(--primary-gold);
  box-shadow: 0 4px 14px rgba(128, 0, 32, 0.3);
}

.seva-option-btn.selected .seva-option-name {
  color: #ffd700;
}

.seva-option-btn.selected .seva-option-price {
  color: #fff;
  opacity: 0.95;
}

.seva-option-name {
  font-weight: 700;
  font-size: 0.92rem;
  display: block;
  color: var(--crimson-dark);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.seva-option-price {
  font-size: 0.82rem;
  color: var(--saffron-warm);
  font-weight: 600;
}

/* Hover Tooltip (Elaborated Details on Desktop Hover) */
.seva-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #2b0b14;
  color: #f7eedb;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--primary-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  font-size: 0.8rem;
  line-height: 1.55;
  pointer-events: none;
  text-align: left;
}

.seva-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #2b0b14 transparent transparent transparent;
}

.seva-tooltip-title {
  color: #ffd700;
  font-weight: bold;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.3);
  padding-bottom: 4px;
}

.seva-option-btn:hover .seva-tooltip {
  display: block;
  animation: fadeInTooltip 0.25s ease-out;
}

@keyframes fadeInTooltip {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Elaborated Details Box (Visible for Both Mobile & Desktop) */
.seva-live-desc {
  background: #fffdf7;
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--primary-gold);
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #3b281c;
  line-height: 1.6;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
}

.seva-live-desc-title {
  font-weight: 700;
  color: var(--crimson-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* Gopuram 4 Options Selection Card (for Moksha Deepam) */
.gopuram-selection-container {
  background: linear-gradient(135deg, #fffcf4 0%, #fff7e6 100%);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  animation: fadeInTooltip 0.3s ease-out;
}

.gopuram-selection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  padding-bottom: 8px;
}

.gopuram-selection-header h4 {
  font-size: 0.95rem;
  color: var(--crimson-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gopuram-selection-header .gopuram-rate-tag {
  background: var(--crimson-main);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.gopuram-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-gold);
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.gopuram-item:hover {
  border-color: var(--saffron-warm);
  background: #fffcf7;
}

.gopuram-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--crimson-main);
  margin-right: 10px;
  cursor: pointer;
}

.gopuram-label-info {
  display: flex;
  flex-direction: column;
}

.gopuram-label-info strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.gopuram-label-info span {
  font-size: 0.76rem;
  color: var(--saffron-warm);
  font-weight: 600;
}

.gopuram-total-bar {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(197, 155, 39, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--crimson-dark);
}

.gopuram-total-bar strong {
  font-size: 1.05rem;
  color: var(--crimson-main);
}

/* Parayanam Details Action Link */
.parayanam-details-action {
  margin: 10px 0 16px;
}

.parayanam-details-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #fdf8ed, #faecd5);
  border: 1px dashed var(--primary-gold);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--crimson-dark);
  font-size: 0.86rem;
  transition: all 0.2s ease;
}

.parayanam-details-link:hover {
  background: #f8e5c0;
  border-style: solid;
  transform: translateY(-1px);
  color: var(--crimson-main);
}

.parayanam-details-link i {
  color: var(--saffron-warm);
  font-size: 1rem;
}

.parayanam-details-link strong {
  color: var(--crimson-dark);
}

/* Amount Input Warning & Information */
.amount-notice-text {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #7a4b11;
  line-height: 1.4;
  font-weight: 500;
}

.amount-notice-text i {
  color: var(--saffron-warm);
}

.amount-min-badge {
  display: inline-block;
  background: rgba(184, 91, 53, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--crimson-dark);
}

/* Payment Gateway Styles (for payment.html & modal) */
.payment-page-hero {
  background: linear-gradient(135deg, var(--crimson-dark), #3b0512);
  color: #fff;
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 3px solid var(--primary-gold);
}

.payment-page-hero h1 {
  font-family: var(--font-heading);
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 8px;
}

.payment-gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  margin: 40px auto;
  max-width: 1050px;
}

.payment-summary-card, .payment-actions-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 28px;
}

.payment-summary-header {
  border-bottom: 2px solid var(--bg-ivory);
  padding-bottom: 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-summary-header h3 {
  font-family: var(--font-heading);
  color: var(--crimson-dark);
  font-size: 1.25rem;
  margin: 0;
}

.payment-amount-display {
  background: linear-gradient(135deg, #fffcf2, #faecd5);
  border: 1px solid var(--primary-gold);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.payment-amount-display .amount-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--crimson-main);
  font-family: var(--font-heading);
}

.upi-qr-card {
  text-align: center;
  background: #fff;
  border: 2px dashed var(--primary-gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.upi-qr-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: block;
}

.upi-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-ivory);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crimson-dark);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--saffron-warm);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: bold;
}

.utr-verify-card {
  background: #fdfaf2;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.receipt-locked-box {
  background: #fdf4f4;
  border: 1px dashed var(--crimson-main);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  margin-top: 20px;
  color: var(--crimson-dark);
}

.receipt-unlocked-box {
  background: #f2f9f3;
  border: 2px solid #2e7d32;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  animation: fadeInTooltip 0.4s ease;
}

@media (max-width: 820px) {
  .payment-gateway-grid {
    grid-template-columns: 1fr;
  }
  .gopuram-grid {
    grid-template-columns: 1fr;
  }
}


/* Receipt Preview Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.receipt-modal-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  padding: 30px;
  border: 3px double var(--primary-gold);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

.receipt-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--crimson-dark);
  cursor: pointer;
}

.receipt-header {
  text-align: center;
  padding-bottom: 18px;
  border-bottom: 2px dashed var(--primary-gold);
  margin-bottom: 18px;
}

.receipt-body-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0eae1;
  font-size: 0.9rem;
}

.receipt-body-row.total {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--crimson-main);
  border-bottom: 2px solid var(--crimson-main);
  padding-top: 12px;
}

/* ==========================================================================
   PHOTO & VIDEO GALLERY (High-Res Devotional Visuals)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gold);
  height: 240px;
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(74, 7, 17, 0.9));
  color: #fff;
  transform: translateY(10px);
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-subheading);
  font-size: 1rem;
  color: #f7d070;
}

/* ==========================================================================
   FOOTER (Grand TTD Style Comprehensive Footer)
   ========================================================================== */
.main-footer {
  background: linear-gradient(180deg, #2b1b17 0%, #150d0b 100%);
  color: #d8cec4;
  border-top: 4px solid var(--primary-gold);
  padding: 60px 0 20px;
  position: relative;
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  color: #f7d070;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #c4b9ad;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #f7d070;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--primary-gold);
  margin-top: 4px;
}

.footer-trustee-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.footer-trustee-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.82rem;
}

.visitor-counter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 4px;
  font-family: monospace;
  color: #f7d070;
  font-size: 0.95rem;
}

/* ==========================================================================
   AUDIO PLAYER FLOATING BAR
   ========================================================================== */
.devotional-audio-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1500;
  background: var(--crimson-dark);
  border: 2px solid var(--primary-gold);
  border-radius: 50px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  transition: var(--transition);
}

.devotional-audio-bar:hover {
  transform: scale(1.03);
}

.audio-icon-pulse {
  color: #f7d070;
  font-size: 1.2rem;
  animation: pulseGlow 2s infinite;
}

.audio-track-info {
  font-size: 0.8rem;
  font-family: var(--font-subheading);
}

.audio-track-info .title {
  color: #f7d070;
  font-weight: 700;
}

/* ==========================================================================
   BREADCRUMBS & INNER PAGE HEADERS
   ========================================================================== */
.page-banner {
  background: linear-gradient(rgba(43, 27, 23, 0.88), rgba(74, 7, 17, 0.92)), url('../images/golden_roof.jpg') center/cover;
  color: #fff;
  padding: 60px 0;
  text-align: center;
  border-bottom: 3px solid var(--primary-gold);
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #e0d0be;
}

.breadcrumbs a {
  color: #f7d070;
}

.breadcrumbs i {
  font-size: 0.7rem;
}

/* ==========================================================================
   DEVOTIONAL COPYRIGHT & CREDITS STYLES
   ========================================================================== */
.footer-copyright-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #c4b9ad;
  line-height: 1.6;
}

.footer-copyright-text strong {
  color: #f7d070;
}

.credit-sep {
  color: var(--primary-gold);
  opacity: 0.7;
}

.devotional-credit {
  color: #fce8a6;
  font-family: var(--font-subheading);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.devotional-credit strong {
  color: #ffffff;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.footer-visitor-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   10-SECOND SACRED VIDEO LOADING SCREEN
   Temple Sanctum Sanctorum Cinematic Entrance Video
   ========================================================================== */
body.loading-active {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
}

.temple-video-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #090103;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.temple-video-loader.loader-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.04);
  filter: blur(6px);
}

/* Fullscreen Background Video Wrapper */
.loader-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.loader-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.06) contrast(1.03);
}

/* Cinematic Dark Warm Vignette */
.loader-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 1, 3, 0.15) 30%,
    rgba(12, 2, 4, 0.55) 75%,
    rgba(6, 1, 2, 0.92) 100%
  );
  pointer-events: none;
}

/* Atmospheric Top and Bottom Subtle Shadow Drapes */
.loader-ambient-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 2, 4, 0.85) 0%,
    transparent 22%,
    transparent 75%,
    rgba(8, 1, 2, 0.9) 100%
  );
  pointer-events: none;
}

/* Top Sacred Branding & Action Bar */
.loader-top-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  gap: 16px;
}

.loader-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.loader-om-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35) 0%, rgba(123, 17, 34, 0.85) 100%);
  border: 1.5px solid var(--primary-gold);
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  animation: pulseOmBadge 2.4s ease-in-out infinite alternate;
}

@keyframes pulseOmBadge {
  0% { transform: scale(0.96); box-shadow: 0 0 12px rgba(212, 175, 55, 0.4); }
  100% { transform: scale(1.06); box-shadow: 0 0 24px rgba(212, 175, 55, 0.8); }
}

.loader-trust-names {
  display: flex;
  flex-direction: column;
}

.loader-mantra {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #f7d070;
  text-shadow: 0 0 8px rgba(247, 208, 112, 0.6);
}

.loader-trust-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  background: linear-gradient(135deg, #fff2b8 0%, #ffd700 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.loader-temple-tag {
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  color: #e6c88b;
  opacity: 0.9;
}

/* Controls: Sound & Skip */
.loader-top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loader-ctrl-btn {
  background: rgba(22, 4, 8, 0.8);
  border: 1px solid var(--primary-gold);
  color: #fff2b8;
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.loader-ctrl-btn:hover {
  background: var(--gold-gradient);
  color: #4a0711;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
  transform: translateY(-2px);
}

.loader-ctrl-btn.sound-active {
  background: var(--gold-gradient);
  color: #4a0711;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6);
}

.loader-time-pill {
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid rgba(255, 215, 0, 0.5);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #ffd700;
}

/* Subtle Center Aura Ring */
.loader-center-element {
  position: relative;
  z-index: 2;
  pointer-events: none;
  align-self: center;
}

.center-aura-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.25);
  animation: rotateCenterAura 24s linear infinite;
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.08);
}

@keyframes rotateCenterAura {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Bottom Status & 10-Second Golden Progress Timeline */
.loader-bottom-bar {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 24px 36px 28px;
  gap: 14px;
}

.loader-bottom-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.loader-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 5, 10, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 8px 20px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.status-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f7d070;
  box-shadow: 0 0 8px #f7d070;
  animation: pulseDot 1.2s infinite ease-in-out;
}

.status-msg {
  font-family: var(--font-subheading);
  color: #fff2b8;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.loader-timer-badge {
  font-family: var(--font-subheading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffd700;
  background: rgba(22, 4, 8, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* 10-Second Progress Bar */
.loader-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #b8860b 0%, #ffd700 50%, #fff7cc 100%);
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.9);
  transition: width 0.08s linear;
  position: relative;
}

.loader-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 100%;
  background: #ffffff;
  opacity: 0.75;
  filter: blur(3px);
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Mobile & Tablet Responsiveness for Video Loader */
@media (max-width: 768px) {
  .loader-top-bar {
    padding: 16px 18px;
    flex-wrap: wrap;
  }
  .loader-trust-title {
    font-size: 0.92rem;
  }
  .loader-temple-tag {
    font-size: 0.68rem;
  }
  .loader-om-badge {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .loader-ctrl-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .loader-bottom-bar {
    padding: 14px 18px 20px;
  }
  .loader-status-pill {
    padding: 6px 12px;
  }
  .status-msg {
    font-size: 0.75rem;
  }
  .loader-timer-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE ENGINE & GLITCH FIXES
   Optimized for All Phone Screens (iPhone, Android, Foldables & Tablets)
   ========================================================================== */

/* Universal Responsive Base Rules */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

/* Auto-collapse inline 2-column grids on mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  .responsive-grid-2col {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .veda-trust-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .donation-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .brand-text h1 {
    font-size: 1.35rem;
  }
}

/* Tablets & Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 45px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Top Bar Mobile Optimization */
  .top-bar {
    padding: 8px 0;
  }
  
  .top-bar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  
  .top-bar-left, .top-bar-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .chant-mantra {
    font-size: 0.82rem;
  }
  
  .panchang-today {
    font-size: 0.78rem;
  }
  
  .top-utility-btn {
    padding: 4px 10px;
    font-size: 0.75rem;
  }
  
  /* Main Header Branding Mobile Optimization */
  .main-header {
    padding: 12px 0;
  }
  
  .main-header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand-wrapper {
    gap: 12px;
    flex: 1;
  }
  
  .trust-logo-img {
    width: 60px;
    height: 60px;
    border-width: 2px;
    flex-shrink: 0;
  }
  
  .brand-text h1 {
    font-size: 1.12rem;
    line-height: 1.2;
    letter-spacing: 0.2px;
  }
  
  .brand-sub-tamil {
    font-size: 0.82rem;
  }
  
  .brand-sub-location {
    font-size: 0.72rem;
    line-height: 1.3;
  }
  
  .header-right-emblem {
    display: none; /* Prevents crowding on mobile phones */
  }
  
  /* Navigation Bar & Mobile Menu */
  .nav-bar {
    padding: 4px 0;
  }
  
  .nav-container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    color: #f7d070;
    border-radius: var(--radius-sm);
  }
  
  .nav-btn-donate {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    margin: 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, var(--crimson-dark) 0%, #200407 100%);
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 3px solid var(--primary-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1005;
  }
  
  .main-nav.show {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  /* Hero Slider & Actions */
  .hero-slider-section {
    min-height: 460px;
  }
  
  .hero-content {
    padding: 45px 0 60px;
    text-align: center;
  }
  
  .hero-tagline {
    font-size: 0.8rem;
    padding: 5px 14px;
    margin-bottom: 14px;
  }
  
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 22px;
  }
  
  .hero-actions {
    justify-content: center;
    gap: 12px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 290px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.92rem;
  }
  
  .slider-dots {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }
  
  /* Floating Services Grid Fix (Fixes overlap glitch!) */
  .floating-services-section {
    margin-top: 15px; /* Removed negative margin glitch on mobile */
    padding-bottom: 25px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .service-card {
    padding: 16px 10px;
  }
  
  .service-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .service-title {
    font-size: 0.88rem;
  }
  
  .service-subtitle {
    font-size: 0.72rem;
  }
  
  /* Panchangam Bar Mobile */
  .panchang-bar-section {
    padding: 18px 0;
    margin-bottom: 35px;
  }
  
  .panchang-box {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  
  .panchang-title-wrap {
    justify-content: center;
  }
  
  .panchang-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .panchang-cta {
    text-align: center;
    width: 100%;
    padding: 9px;
  }
  
  /* Speciality & Festivals Grid */
  .speciality-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .festivals-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .festival-tabs {
    gap: 8px;
  }
  
  .festival-tab-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  
  /* Veda Parayana Section */
  .veda-trust-section {
    padding: 50px 0;
  }
  
  .veda-trust-content h2 {
    font-size: 1.7rem;
  }
  
  .veda-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .veda-stat-card {
    padding: 10px 6px;
  }
  
  .veda-stat-number {
    font-size: 1.35rem;
  }
  
  .veda-stat-label {
    font-size: 0.68rem;
  }
  
  /* Forms & Donation on Mobile */
  .donation-form-card {
    padding: 20px 16px;
  }
  
  .form-header h3 {
    font-size: 1.2rem;
  }
  
  .form-control {
    font-size: 16px; /* Prevents auto-zoom glitch in iOS Safari */
    padding: 10px 12px;
  }
  
  .donation-form-card [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  
  .seva-options-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  /* Floating Devotional Audio Player */
  .devotional-audio-bar {
    bottom: 12px;
    left: 12px;
    right: auto;
    padding: 7px 14px;
    font-size: 0.8rem;
    max-width: calc(100vw - 24px);
    border-width: 1.5px;
  }
  
  .devotional-audio-bar .audio-track-info {
    display: none; /* Keep compact on mobile */
  }
  
  /* Receipt Modal Mobile */
  .receipt-modal-content {
    padding: 20px 14px;
    margin: 10px;
  }
  
  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  
  .footer-copyright-text {
    justify-content: center;
    text-align: center;
  }
  
  .footer-visitor-wrap {
    justify-content: center;
  }
  
  /* Temple Door Loader Mobile Adaptations */
  .temple-portal-stage {
    width: 95%;
    height: 84vh;
  }
  
  .temple-archway {
    padding: 16px 14px 10px;
    border-radius: 80px 80px 0 0;
  }
  
  .arch-kirtimukha {
    width: 34px;
    height: 34px;
    margin: -6px auto 4px;
  }
  
  .arch-temple-name {
    font-size: 0.88rem;
  }
  
  .arch-sanskrit {
    font-size: 0.82rem;
  }
  
  .arch-tamil {
    font-size: 0.72rem;
  }
  
  .temple-hanging-bell {
    top: 10px;
  }
  .bell-left { left: 14px; }
  .bell-right { right: 14px; }
  .bell-body { font-size: 1.1rem; }
  
  .temple-doors-container {
    height: 48vh;
    min-height: 240px;
  }
  
  .temple-lamp {
    display: none; /* Hide side lamps on narrow mobile to keep doors large */
  }
  
  .loader-status-text {
    padding: 6px 14px;
    margin-top: 14px;
  }
  
  .status-msg {
    font-size: 0.78rem;
  }
  
  .loader-skip-btn {
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}

/* Small Smart Phones (<= 480px) */
@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 1rem;
  }
  
  .brand-sub-location {
    display: none; /* Clean look on extra small screens */
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .service-card {
    padding: 14px 6px;
  }
  
  .service-title {
    font-size: 0.82rem;
  }
  
  .veda-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .panchang-items {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   TAMIL TRANSLATION & TRUSTEE CONTACT STYLES
   ========================================================================== */
.lang-toggle-btn {
  background: rgba(255, 215, 0, 0.22) !important;
  border: 1px solid var(--primary-gold) !important;
  color: #ffd700 !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.lang-toggle-btn:hover {
  background: var(--gold-gradient) !important;
  color: #4a0711 !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
  transform: translateY(-1px);
}

.lang-toggle-btn.lang-active {
  background: var(--gold-gradient) !important;
  color: #4a0711 !important;
  border-color: #ffd700 !important;
}

/* WhatsApp Utility Button in Top Bar */
.top-utility-btn.whatsapp-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: none !important;
}

.top-utility-btn.whatsapp-btn:hover {
  background: #1eb954 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
}

/* Dedicated Trustee Office Card */
.trustee-office-card {
  background: linear-gradient(135deg, rgba(74, 7, 17, 0.95) 0%, rgba(42, 7, 14, 0.98) 100%);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 30px 0;
  box-shadow: var(--shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.trustee-office-card::after {
  content: 'ॐ';
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.06;
  color: var(--primary-gold);
  pointer-events: none;
}

.trustee-name-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffd700;
  margin-bottom: 4px;
  letter-spacing: 0.8px;
}

.trustee-parentage {
  color: #f7d070;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.trustee-designation {
  display: inline-block;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid var(--primary-gold);
  color: #fff2b8;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.trustee-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  padding-top: 16px;
  margin-top: 8px;
}

.trustee-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trustee-info-item i {
  color: var(--primary-gold);
  font-size: 1.15rem;
  margin-top: 3px;
}

.trustee-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-pill-btn.pill-whatsapp {
  background: #25D366;
  color: #fff;
}

.contact-pill-btn.pill-gpay {
  background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
  color: #fff;
  border: 1px solid #70a7f9;
}

.contact-pill-btn.pill-phone {
  background: rgba(255, 255, 255, 0.15);
  color: #ffd700;
  border: 1px solid var(--primary-gold);
}

.contact-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ==========================================================================
   Trustee Promotion & Authentic Leadership Styles
   ========================================================================== */
.trustee-office-card-flex {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}

@media (max-width: 768px) {
  .trustee-office-card-flex {
    flex-direction: column;
    text-align: center;
  }
}

.trustee-portrait-gold-frame {
  position: relative;
  flex-shrink: 0;
  width: 170px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.3);
  background: #1a0507;
}

.trustee-portrait-gold-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.trustee-portrait-gold-frame:hover img {
  transform: scale(1.04);
}

.trustee-portrait-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(42, 7, 14, 0.92) 40%, rgba(42, 7, 14, 1) 100%);
  padding: 10px 6px 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Home Page Trustee Spotlight Banner */
.trustee-spotlight-section {
  background: linear-gradient(135deg, #fffdf8 0%, #fbf5e6 50%, #fdf8ee 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.trustee-spotlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--crimson-main), var(--primary-gold));
}

.trustee-spotlight-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 820px) {
  .trustee-spotlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trustee-spotlight-section {
    padding: 26px 20px;
  }
  .trustee-portrait-spotlight {
    margin: 0 auto;
  }
}

.trustee-portrait-spotlight {
  width: 200px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 8px 24px rgba(74, 7, 17, 0.18), 0 0 12px rgba(212, 175, 55, 0.35);
  position: relative;
  background: #2a070e;
}

.trustee-portrait-spotlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.trustee-quote-badge {
  background: #ffffff;
  border-left: 3px solid var(--primary-gold);
  padding: 12px 18px;
  border-radius: 6px;
  font-style: italic;
  color: var(--crimson-dark);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 14px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Authentic Reassurance Strip for Booking & Payment */
.trustee-assurance-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff9ee 0%, #fff2db 100%);
  border: 1px solid var(--primary-gold);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trustee-avatar-sm {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Receipt Signatory Block */
.receipt-sign-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-gold);
}

.receipt-sign-left {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.receipt-sign-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-gold);
  object-fit: cover;
  object-position: top center;
}

/* Hide Google Translate top banner & tooltip to keep design clean */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}


