/* ==========================================================================
   Shree Swaminarayan Mandir KIRANCHOWK - PREMIUM CSS STYLESHEET
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --color-primary: #E88B00;
  /* Saffron */
  --color-gold: #C8A24C;
  /* Temple Gold */
  --color-bg: #FFFDF8;
  /* White Marble */
  --color-section: #FAF6EF;
  /* Soft Cream */
  --color-dark: #3B2F2F;
  /* Deep Charcoal */
  --color-text-muted: #6B7280;
  --color-success: #4F7942;

  --font-heading: 'Cinzel', serif;
  --font-accent: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px rgba(59, 47, 47, 0.05);
  --shadow-hover: 0 20px 40px rgba(200, 162, 76, 0.15);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Marble Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 162, 76, 0.01) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 139, 0, 0.01) 0%, transparent 40%);
  z-index: -2;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

.text-primary {
  color: var(--color-primary) !important;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-gold), var(--color-primary));
  width: 0%;
  z-index: 1050;
  transition: width 0.1s ease-out;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-logo {
  max-width: 120px;
  animation: pulse-gold 2s infinite alternate;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(200, 162, 76, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-gold);
  animation: spin 1s ease-in-out infinite;
  margin-top: 20px;
}

.preloader-text {
  font-family: var(--font-heading);
  color: var(--color-gold);
  margin-top: 15px;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
}

.font-accent {
  font-family: var(--font-accent);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title .subtitle {
  font-family: var(--font-accent);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Background Patterns */
.bg-mandala {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 0 C63.6 18 78 32.4 96 36 C78 39.6 63.6 54 60 72 C56.4 54 42 39.6 24 36 C42 32.4 56.4 18 60 0 Z M60 120 C63.6 102 78 87.6 96 84 C78 80.4 63.6 66 60 48 C56.4 66 42 80.4 24 84 C42 87.6 56.4 102 60 120 Z M0 60 C18 63.6 32.4 78 36 96 C39.6 78 54 63.6 72 60 C54 56.4 39.6 42 36 24 C32.4 42 18 56.4 0 60 Z M120 60 C102 63.6 87.6 78 84 96 C80.4 78 66 63.6 48 60 C66 56.4 80.4 42 84 24 C87.6 42 102 56.4 120 60 Z' fill='%23C8A24C' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

/* Decorative Gold Dividers */
.temple-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 250px;
}

.temple-divider::before,
.temple-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.temple-divider::before {
  background: linear-gradient(to left, var(--color-gold), transparent);
}

.temple-divider::after {
  background: linear-gradient(to right, var(--color-gold), transparent);
}

.temple-divider i {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin: 0 0.8rem;
  animation: glow 3s ease-in-out infinite alternate;
}

/* Custom Buttons */
.btn-temple {
  background: linear-gradient(135deg, var(--color-primary), #FF5E00);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 5px 15px rgba(232, 139, 0, 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-temple:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(232, 139, 0, 0.5);
  color: #fff;
}

.btn-temple-outline {
  background: transparent;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  border: 2px solid var(--color-gold);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-temple-outline:hover {
  background-color: var(--color-gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(200, 162, 76, 0.3);
}

/* Glassmorphism Navbar */
.navbar-temple {
  padding: 15px 0;
  transition: var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-temple.scrolled {
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 0;
  box-shadow: 0 5px 25px rgba(59, 47, 47, 0.05);
  border-bottom: 2px solid var(--color-gold);
}

.navbar-brand img {
  height: 60px;
  transition: var(--transition-smooth);
}

.navbar-temple.scrolled .navbar-brand img {
  height: 50px;
}

.navbar-temple .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  color: #fff;
  margin: 0 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.navbar-temple.scrolled .nav-link {
  color: var(--color-dark);
}

.navbar-temple .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar-temple .nav-link.active,
.navbar-temple .nav-link:hover {
  color: var(--color-primary) !important;
}

.navbar-temple .nav-link.active::after,
.navbar-temple .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 6px;
  border-radius: 4px;
}

.navbar-temple.scrolled .navbar-toggler {
  border-color: var(--color-gold);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* .navbar-temple.scrolled .navbar-toggler-icon {
  filter: none;
} */

/* Hero Section & Swiper */
.hero-slider-section {
  padding-top: 110px;
  /* clear the fixed-top navbar */
  padding-bottom: 2rem;
}

.hero-slider-container {
  height: auto !important;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .hero-slider-container {
    height: auto !important;
  }
}

@media (max-width: 767px) {
  .hero-slider-container {
    height: auto !important;
  }
}

.hero-slider-container .swiper-slide {
  height: auto !important;
}

.hero-slider-container .swiper-slide img {
  width: 100%;
  height: auto !important;
  border-radius: 16px;
  display: block;
}

/* Style Swiper Navigation Buttons for premium look */
.hero-slider-container .swiper-button-prev,
.hero-slider-container .swiper-button-next {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-slider-container .swiper-button-prev:after,
.hero-slider-container .swiper-button-next:after {
  font-size: 1.2rem;
  font-weight: bold;
}

.hero-slider-container .swiper-button-prev:hover,
.hero-slider-container .swiper-button-next:hover {
  background-color: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

/* Style Swiper Pagination Bullets */
.hero-slider-container .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.hero-slider-container .swiper-pagination-bullet-active {
  background: var(--color-gold) !important;
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}



/* Floating Scroll Indicator */
.scroll-down-btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.scroll-down-btn:hover {
  color: var(--color-gold);
}

/* Floating Particles (CSS Background animation) */
.glowing-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(200, 162, 76, 0.3);
  animation: floatUp 8s infinite linear;
}

/* Cards & Hover Effects */
.temple-card {
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.1);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  z-index: 1;
}

.temple-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--color-gold), var(--color-primary));
  opacity: 0;
  transition: var(--transition-smooth);
}

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

.temple-card:hover::before {
  opacity: 1;
}

.temple-card-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.temple-card:hover .temple-card-icon {
  transform: scale(1.1);
  color: var(--color-gold);
}

/* Quick Access Cards Grid */
.quick-access-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius-md);
  background: #fff;
  border: 1px solid rgba(200, 162, 76, 0.12);
  transition: var(--transition-smooth);
  display: block;
  text-decoration: none;
  color: var(--color-dark);
}

.quick-access-card:hover {
  background: linear-gradient(to bottom, #fff, var(--color-section));
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: var(--color-dark);
}

.quick-access-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.quick-access-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quick-access-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(rgba(59, 47, 47, 0.9), rgba(59, 47, 47, 0.95)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 C42 12 50 20 60 20 C50 24 45 32 40 40 C35 32 30 24 20 20 C30 20 38 12 40 0 Z M40 80 C42 68 50 60 60 60 C50 56 45 48 40 40 C35 48 30 56 20 60 C30 60 38 68 40 80 Z' fill='%23C8A24C' fill-opacity='0.08'/%3E%3C/svg%3E");
  color: #fff;
  padding: 5rem 0;
  border-top: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--color-gold);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Daily Darshan Timings */
.darshan-card {
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(200, 162, 76, 0.15);
  background-color: #fff;
  transition: var(--transition-smooth);
  overflow: hidden;
  height: 100%;
}

.darshan-card.active-session {
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 25px rgba(232, 139, 0, 0.15);
}

.darshan-card.active-session .darshan-header {
  background-color: var(--color-primary);
  color: #fff;
}

.darshan-header {
  background-color: var(--color-section);
  padding: 1.2rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(200, 162, 76, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.darshan-body {
  padding: 2rem;
}

.darshan-time {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.darshan-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Upcoming Festivals */
.festival-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.1);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  height: 100%;
}

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

.festival-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.festival-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.festival-card:hover .festival-image {
  transform: scale(1.08);
}

.festival-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-primary);
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.festival-date-badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}

.festival-content {
  padding: 1.5rem;
}

.festival-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.festival-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

/* Temple Gallery & Lightbox Grid */
.gallery-filter-btn {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-gold);
  border-radius: 30px;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 5px;
  transition: var(--transition-smooth);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
  box-shadow: 0 5px 15px rgba(200, 162, 76, 0.2);
}

.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(59, 47, 47, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

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

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

.gallery-overlay h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: var(--color-gold);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Donation Info Portal */
.donation-promo-section {
  background-color: var(--color-section);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  border: 1px solid rgba(200, 162, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.donation-payment-card {
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.15);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

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

.payment-method-divider {
  border-top: 1px dashed rgba(200, 162, 76, 0.25);
  margin: 1.5rem 0;
}

.upi-copy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-section);
  border: 1px solid rgba(200, 162, 76, 0.2);
  border-radius: 30px;
  padding: 6px 14px;
  max-width: 100%;
  margin-top: 10px;
  margin-bottom: 12px;
  gap: 8px;
}

.upi-copy-badge span {
  font-size: 0.85rem;
  word-break: break-all;
}

.upi-copy-badge .copy-btn {
  padding: 0 4px;
  font-size: 0.9rem;
}

.qr-code-container {
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.25);
  border-radius: var(--border-radius-md);
  padding: 20px;
  text-align: center;
  max-width: 250px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.qr-code-image {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.qr-code-image:hover {
  transform: scale(1.05);
}

.bank-details-box {
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.1);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--shadow-soft);
}

.bank-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 162, 76, 0.1);
}

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

.bank-detail-item strong {
  color: var(--color-dark);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--color-gold);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background-color: var(--color-section);
  color: var(--color-primary);
}

.seva-mini-card {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(200, 162, 76, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  transition: all 0.3s ease;
  height: 100%;
}

.seva-mini-card:hover {
  background-color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* Donation Form Options */
.donation-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.donation-option-btn {
  background-color: #fff;
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.donation-option-btn.active,
.donation-option-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
}

/* Volunteer Cards */
.volunteer-dept-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.1);
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

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

.volunteer-dept-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.volunteer-dept-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

/* Testimonials / Devotee Words */
.testimonial-card {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  padding: 3rem 2.5rem;
  border: 1px solid rgba(200, 162, 76, 0.1);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: rgba(200, 162, 76, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.testimonial-devotee {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
}

/* Google Map Wrapper */
.map-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 162, 76, 0.15);
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Custom Contact Forms styling */
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: var(--color-primary);
}

.form-control {
  border: 1px solid rgba(200, 162, 76, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(232, 139, 0, 0.15);
}

/* Timeline Components */
.temple-timeline {
  position: relative;
  padding: 2rem 0;
}

.temple-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-gold);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border: 4px solid var(--color-bg);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px rgba(232, 139, 0, 0.5);
}

.timeline-content {
  width: 45%;
  background-color: #fff;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200, 162, 76, 0.1);
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* Floating Actions & Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.btn-floating {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  text-decoration: none;
  border: none;
}

.btn-floating:hover {
  transform: translateY(-5px);
  color: #fff;
}

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

.btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-backtotop {
  background-color: var(--color-gold);
  opacity: 0;
  visibility: hidden;
}

.btn-backtotop.show {
  opacity: 1;
  visibility: visible;
}

.btn-backtotop:hover {
  background-color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(232, 139, 0, 0.4);
}

/* Page Header (Breadcrumb banner) */
.page-banner {
  background: linear-gradient(rgba(59, 47, 47, 0.75), rgba(59, 47, 47, 0.85)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0 C53 15 65 25 80 25 C65 30 55 42 50 55 C45 42 35 30 20 25 C35 25 47 15 50 0 Z' fill='%23C8A24C' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-color: var(--color-dark);
  padding: 10rem 0 6rem 0;
  text-align: center;
  color: #fff;
  border-bottom: 4px solid var(--color-gold);
}

.page-banner h1 {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-banner-breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.page-banner-breadcrumbs a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.page-banner-breadcrumbs a:hover {
  color: var(--color-primary);
}

.page-banner-breadcrumbs span {
  color: var(--color-gold);
  margin: 0 8px;
}

/* Footer Styles */
.footer-temple {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem 0;
  border-top: 5px solid var(--color-gold);
  position: relative;
}

.footer-logo {
  max-height: 80px;
  margin-bottom: 1.5rem;
}

.footer-temple h3 {
  color: var(--color-gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-temple h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--color-gold);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--color-gold);
  font-size: 1.2rem;
  margin-top: 3px;
}

.footer-contact-item p {
  margin-bottom: 0;
}

.social-icons-row {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-icon-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* General Animations Keyframes */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(200, 162, 76, 0.5);
  }

  100% {
    text-shadow: 0 0 15px rgba(200, 162, 76, 0.9), 0 0 20px rgba(232, 139, 0, 0.6);
  }
}

@keyframes pulse-gold {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

/* Responsiveness adjustments */
@media (max-width: 991.98px) {
  .navbar-temple {
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--color-gold);
    padding: 10px 0;
  }

  .navbar-temple .nav-link {
    color: var(--color-dark) !important;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200, 162, 76, 0.1);
  }

  .navbar-temple .nav-link::after {
    display: none;
  }

  /* .navbar-toggler-icon {
    filter: none;
  } */

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .page-banner {
    padding: 8rem 0 4rem 0;
  }

  .page-banner h1 {
    font-size: 2.25rem;
  }

  .temple-timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
  }

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

@media (max-width: 575.98px) {
  .hero-main-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .donation-options {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* Legal Organization Structure & Hierarchy Styles */
.bg-saffron {
  background: linear-gradient(135deg, #FFF9F2 0%, #FFF3E0 100%);
  border-bottom: 1px solid rgba(232, 139, 0, 0.25) !important;
}

.trust-info-strip {
  position: relative;
  z-index: 10;
}

/* Event Gallery Row-Grid styles */
.events-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.15);
}

.events-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.events-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Darshan Gallery Grid styles */
.darshan-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  background-color: #fff;
  border: 1px solid rgba(200, 162, 76, 0.15);
}

.darshan-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.darshan-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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