/* ═══════════════════════════════════════════════════════════
   Mandir Trust – Main Stylesheet
   Font: Poppins + Tiro Devanagari Sanskrit
═══════════════════════════════════════════════════════════ */
:root {
  /* Dynamic Colors from DB */
  --saffron: var(--secondary-color, #FF6B35);
  --saffron-dark: color-mix(in srgb, var(--secondary-color, #FF6B35), black 20%);
  --saffron-light: color-mix(in srgb, var(--secondary-color, #FF6B35) 10%, white);
  --maroon: var(--primary-color, #7C1D25);
  --maroon-dark: color-mix(in srgb, var(--primary-color, #7C1D25), black 20%);
  --accent: var(--accent-color, #c0392b);

  --gold: #D4A017;
  --gold-light: #FFF8E7;
  --cream: #FEFAF5;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, .12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .18);
  --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
  padding: 0;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--saffron);
  border-radius: 3px;
}

/* ─── Pre-loader ─── */
#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  text-align: center;
}

.om-symbol {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 4rem;
  color: var(--gold);
  animation: pulse 1.4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

@keyframes pulse {

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

  50% {
    transform: scale(1.1);
    opacity: .8;
  }
}

/* ─── Announcement Bar ─── */
.announcement-bar {
  background: linear-gradient(90deg, var(--maroon-dark), var(--maroon));
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  overflow: hidden;
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-label {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerScroll 22s linear infinite;
}

.ticker-content span {
  display: inline-block;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── Navbar ─── */
.site-navbar {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
  padding: 10px 0;
  transition: var(--transition);
  z-index: 1000;
}

.site-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, .12);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 24px;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(124, 29, 37, .3);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 10px;
  color: var(--text-muted);
}

.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--saffron);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 14px;
  right: 14px;
}

.navbar-nav .nav-link:hover {
  color: var(--saffron) !important;
  background: var(--saffron-light);
}

.btn-donate-nav {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)) !important;
  color: var(--white) !important;
  border-radius: 30px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, .3);
}

.btn-donate-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, .4) !important;
}

.btn-donate-nav::after {
  display: none !important;
}

.navbar-toggler {
  border: none;
  background: none;
  color: var(--maroon);
  font-size: 1.3rem;
}

/* ─── Section Helpers ─── */
.section-padding {
  padding: 90px 0;
}

.bg-saffron-light {
  background: var(--saffron-light);
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.section-header:not(.text-center) .section-subtitle {
  margin: 0;
}

/* ─── Buttons ─── */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, .35);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, .45);
}

/* ─── Hero ─── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 620px;
}

.hero-swiper,
.hero-slide {
  height: 100vh;
  min-height: 620px;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  /* Default gradient bg when no image */
  background-color: var(--maroon-dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sanskrit-deco {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 8px;
  text-shadow: 0 2px 20px rgba(212, 160, 23, .5);
}

.hero-title {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
}

.btn-hero {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(212, 160, 23, .4);
  transition: var(--transition);
}

.btn-hero:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, .6);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  transform: translateY(-3px);
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--gold) !important;
  background: rgba(0, 0, 0, .4);
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px !important;
}

.hero-lotus {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-size: 3rem;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ─── Stats ─── */
.stats-section {
  background: var(--maroon);
  padding: 0;
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 20px;
  gap: 10px;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, .2);
}

/* ─── About Cards ─── */
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(124, 29, 37, .08);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}

.about-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--saffron-light), #fce4d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--saffron-dark);
  transition: var(--transition);
}

.about-card:hover .about-card-icon {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
}

.about-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 12px;
}

.about-card-text {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-card-link:hover {
  color: var(--saffron-dark);
  gap: 10px;
}

/* ─── Events ─── */
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, .06);
  position: relative;
}

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

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: var(--white);
  width: 56px;
  border-radius: 12px;
  text-align: center;
  padding: 8px 4px;
  line-height: 1;
  z-index: 1;
}

.event-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.event-month {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.event-year {
  display: block;
  font-size: 10px;
  opacity: .8;
}

.event-body {
  padding: 60px 24px 24px;
}

.event-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

.event-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.event-meta i {
  color: var(--saffron);
}

/* ─── Library / Books ─── */
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.book-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  gap: 10px;
  padding: 20px;
}

.book-cover-placeholder i {
  font-size: 2.5rem;
  opacity: .7;
}

.book-cover-placeholder span {
  font-size: 1.1rem;
  font-weight: 800;
  opacity: .9;
}

.book-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}

.book-card:hover .book-overlay {
  opacity: 1;
}

.btn-read {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
}

.book-info {
  padding: 16px;
}

.book-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--saffron);
  background: var(--saffron-light);
  padding: 2px 10px;
  border-radius: 20px;
}

.book-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
  margin: 8px 0 4px;
}

.book-author {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Gallery ─── */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, .85);
  padding: 20px;
}

.gallery-placeholder-content i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.gallery-placeholder-content span {
  font-size: 13px;
  font-weight: 600;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  padding: 30px 16px 14px;
  transform: translateY(100%);
  transition: transform .35s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-cat {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-caption h5 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* ─── Wellness ─── */
.wellness-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent, var(--saffron));
  transition: var(--transition);
}

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

.wellness-icon {
  width: 54px;
  height: 54px;
  background: color-mix(in srgb, var(--accent, var(--saffron)) 15%, white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent, var(--saffron));
  margin-bottom: 16px;
}

.wellness-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}

.wellness-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── Testimonials ─── */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin: 10px;
  border-top: 4px solid var(--saffron);
}

.testi-quote {
  font-size: 2.5rem;
  color: var(--saffron);
  opacity: .25;
  margin-bottom: 12px;
}

.testi-message {
  font-size: 15px;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 18px;
}

.testi-rating i {
  color: var(--gold);
  font-size: 14px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--maroon), var(--saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-weight: 700;
  color: var(--maroon);
}

.testi-author span {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ─── Donate ─── */
.donate-card {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  border-radius: 24px;
  padding: 60px 50px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.donate-card::before {
  content: 'ॐ';
  font-family: 'Tiro Devanagari Sanskrit', serif;
  position: absolute;
  top: -40px;
  right: -20px;
  font-size: 18rem;
  color: rgba(255, 255, 255, .04);
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.donate-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.donate-card p {
  opacity: .85;
  margin-bottom: 24px;
}

.donate-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.donate-benefits i {
  color: var(--gold);
}

.donate-form-box {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 32px;
}

.donate-form-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.amount-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-btn {
  flex: 1;
  min-width: 70px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  border-radius: 30px;
  padding: 8px 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--maroon-dark);
}

.donate-form-box .form-control {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 16px;
}

.donate-form-box .form-control::placeholder {
  color: rgba(255, 255, 255, .55);
}

.donate-form-box .form-control:focus {
  background: rgba(255, 255, 255, .18);
  border-color: var(--gold);
  box-shadow: none;
  color: var(--white);
}

.btn-donate-submit {
  background: linear-gradient(135deg, var(--gold), #b8891a);
  border: none;
  color: var(--maroon-dark);
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  transition: var(--transition);
}

.btn-donate-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 160, 23, .4);
}

/* ─── Contact ─── */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ci-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.contact-info-item a {
  color: var(--text-muted);
}

.contact-info-item a:hover {
  color: var(--saffron);
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon);
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--saffron);
  color: var(--white);
  transform: translateY(-3px);
}

.contact-input {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  transition: var(--transition);
}

.contact-input:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .1);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, .75);
}

.footer-top {
  padding: 70px 0 50px;
}

.footer-om {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  opacity: .7;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--saffron);
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--saffron);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--saffron);
  width: 16px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
}

.footer-bottom {
  background: rgba(0, 0, 0, .25);
  padding: 18px 0;
  font-size: 13px;
}

.footer-jai {
  font-family: 'Tiro Devanagari Sanskrit', serif;
  color: var(--gold);
  font-size: 1.1rem;
}

/* ─── Scroll to Top ─── */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 107, 53, .4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
  background: var(--maroon);
  box-shadow: 0 10px 30px rgba(124, 29, 37, .4);
}

/* ─── AOS Overrides ─── */
[data-aos] {
  transition-duration: .7s !important;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .donate-card {
    padding: 40px 24px;
  }

  .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    height: 85vh;
  }

  .hero-swiper,
  .hero-slide {
    height: 85vh;
  }

  .hero-lotus {
    display: none;
  }

  .donate-card::before {
    font-size: 10rem;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand-tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    padding: 20px 10px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .amount-btn {
    min-width: 60px;
    font-size: 12px;
  }
}

/* ─── Product Cards ─── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, .05);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f9fa;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #dee2e6;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--maroon);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.product-content {
  padding: 20px;
  text-align: center;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--saffron);
  margin-bottom: 15px;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
}

.product-card:hover .btn-buy {
  background: var(--saffron);
  color: var(--white);
}

/* ─── Checkout Page Extra ─── */
.checkout-page .form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.15);
}

.bg-success-soft {
  background-color: rgba(40, 167, 69, 0.1);
}

.text-success {
  color: #28a745 !important;
}