/* =========================================================
   GAYA PIND DAAN PUJA - Main Stylesheet
   Theme: Red + Navy Blue + Gold (with red animation accents)
========================================================= */

:root {
  --kbs-red: #d81f26;
  --kbs-red-dark: #a5151b;
  --kbs-navy: #0b1f4d;
  --kbs-navy-2: #142c66;
  --kbs-gold: #f2b705;
  --kbs-gold-dark: #cf9a00;
  --kbs-light: #f7f8fb;
  --kbs-gray: #6c7486;
  --kbs-white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(11, 31, 77, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 31, 77, 0.12);
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

/* html must also clip horizontal overflow (not just body) — otherwise AOS
   elements below the fold, which sit translated off-screen (translateX)
   before their scroll-triggered animation fires, can widen the mobile
   layout viewport itself and push fixed-position elements (call/WhatsApp
   buttons) off-screen to the right. */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #2b3040;
  background-color: var(--kbs-white);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--kbs-navy);
}

a { text-decoration: none; }

.text-light-70 { color: rgba(255,255,255,0.7); }

.section-pad { padding: 80px 0; }
@media (max-width: 767px) {
  .section-pad { padding: 50px 0; }
}

.bg-light-alt { background-color: var(--kbs-light); }
.bg-navy { background-color: var(--kbs-navy); }

/* ---------- Section Heading ---------- */
.section-tag {
  display: inline-block;
  background: rgba(216, 31, 38, 0.1);
  color: var(--kbs-red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.section-title span { color: var(--kbs-red); }
.section-title span.text-gold { color: var(--kbs-gold); }
.section-subtitle {
  color: var(--kbs-gray);
  font-size: 1.05rem;
  max-width: 680px;
}
.mx-auto-text { margin-left: auto; margin-right: auto; }

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--kbs-navy);
  color: #dbe1f0;
  font-size: 0.85rem;
}
.top-bar a { color: #dbe1f0; }
.top-bar a:hover { color: var(--kbs-gold); }
.gstin-badge, .topbar-badge {
  background: rgba(242,183,5,0.15);
  color: var(--kbs-gold);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
}

/* ---------- Navbar ---------- */
.main-navbar {
  background: var(--kbs-white);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  z-index: 1030;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  font-size: 2.1rem;
  color: var(--kbs-navy);
  line-height: 1;
}
.brand-logo-img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--kbs-red);
  letter-spacing: 0.5px;
}
.brand-king { color: var(--kbs-navy); }
.brand-llp { color: var(--kbs-gray); font-size: 0.85em; }
.brand-sub {
  font-size: 0.68rem;
  color: var(--kbs-gray);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.navbar-nav .nav-link {
  color: var(--kbs-navy);
  font-weight: 600;
  padding: 10px 16px !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--kbs-red);
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 10px;
  padding: 8px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
}
.dropdown-item i { color: var(--kbs-red); margin-right: 8px; }
.dropdown-item:hover { background: var(--kbs-light); color: var(--kbs-red); }

.btn-cta {
  background: var(--kbs-red);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
  border: 2px solid var(--kbs-red);
}
.btn-cta:hover {
  background: var(--kbs-navy);
  border-color: var(--kbs-navy);
  color: #fff !important;
}

.btn-gold {
  background: var(--kbs-gold);
  color: var(--kbs-navy) !important;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid var(--kbs-gold);
  transition: var(--transition);
}
.btn-gold:hover {
  background: transparent;
  color: var(--kbs-gold) !important;
}

.btn-outline-navy {
  border: 2px solid var(--kbs-white);
  color: var(--kbs-white) !important;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 30px;
  transition: var(--transition);
}
.btn-outline-navy:hover { background: var(--kbs-white); color: var(--kbs-navy) !important; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--kbs-navy) 0%, var(--kbs-navy-2) 55%, var(--kbs-red-dark) 130%);
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(242,183,5,0.18), transparent 45%),
                     radial-gradient(circle at 10% 90%, rgba(216,31,38,0.25), transparent 40%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242,183,5,0.15);
  border: 1px solid rgba(242,183,5,0.4);
  color: var(--kbs-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--kbs-gold); }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 30px; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat h3 { color: var(--kbs-gold); font-size: 2rem; margin-bottom: 0; }
.hero-stat span { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px;
}
.hero-card img { border-radius: 10px; }
.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 11 / 9;
  border-radius: 10px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

/* ---------- Why Pind Daan Banner ---------- */
.why-pinddaan-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.why-pinddaan-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.why-pinddaan-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(11,31,77,0.55) 0%, rgba(11,31,77,0.82) 60%, rgba(165,21,27,0.85) 100%);
}
.text-white-70 { color: rgba(255,255,255,0.85); }

/* Small page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--kbs-navy) 0%, var(--kbs-navy-2) 60%, var(--kbs-red-dark) 140%);
  padding: 70px 0 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(242,183,5,0.2), transparent 40%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-weight: 800; margin-bottom: 10px; }
.page-hero .breadcrumb { background: transparent; margin-bottom: 0; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb-item.active { color: var(--kbs-gold); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---------- Marquee / Partner Strip ---------- */
.partner-strip { background: var(--kbs-light); padding: 30px 0; overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
  align-items: center;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-logo-item {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 30px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.partner-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--kbs-light);
  padding: 3px;
}
.partner-name {
  font-weight: 700;
  color: var(--kbs-navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.partner-icon-i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--kbs-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eef0f5;
  position: relative;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--kbs-red), var(--kbs-red-dark));
}
.service-card:nth-child(3n+2) .service-icon { background: linear-gradient(135deg, var(--kbs-navy-2), var(--kbs-navy)); }
.service-card:nth-child(3n+3) .service-icon { background: linear-gradient(135deg, var(--kbs-gold), var(--kbs-gold-dark)); }
.service-card h5 { margin-bottom: 10px; }
.service-card p { color: var(--kbs-gray); font-size: 0.93rem; margin-bottom: 14px; }
.service-card .service-link { font-weight: 600; color: var(--kbs-red); font-size: 0.9rem; }
.service-card .service-link i { transition: var(--transition); }
.service-card:hover .service-link i { transform: translateX(5px); }

/* ---------- Scheme-style Colorful Service Cards (Home Page) ---------- */
.scheme-card {
  --accent: var(--kbs-red);
  --accent-dark: var(--kbs-red-dark);
  --accent-light: #fdeceb;
  --accent-soft: #fdf3f2;
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 40px 26px 28px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--accent);
  transition: var(--transition);
}
.scheme-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.scheme-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 18px;
  border-radius: 30px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  white-space: nowrap;
}
.scheme-badge i { color: var(--kbs-gold); font-size: 0.65rem; margin-right: 3px; }
.scheme-icon-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 10px auto 16px;
}
.scheme-title { font-size: 1.25rem; margin-bottom: 4px; }
.scheme-subtitle { color: var(--kbs-gray); font-size: 0.85rem; margin-bottom: 18px; }
.scheme-highlight {
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 12px 10px;
  margin-bottom: 18px;
}
.scheme-highlight span {
  display: block;
  font-size: 0.72rem;
  color: var(--kbs-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.scheme-highlight strong { display: block; font-size: 1.05rem; color: var(--accent-dark); }
.scheme-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}
.scheme-checklist li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.87rem;
  color: #3a4055;
  padding: 6px 4px;
}
.scheme-checklist li i { color: var(--accent); font-size: 0.9rem; }
.scheme-cta-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.scheme-cta-btn {
  display: block;
  flex: 1 1 auto;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
}
.scheme-cta-btn:hover { background: var(--accent-dark); }
.scheme-call-btn {
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 2px solid var(--accent-light);
  transition: var(--transition);
}
.scheme-call-btn:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.scheme-red    { --accent: #d81f26; --accent-dark: #a5151b; --accent-light: #fdeaea; --accent-soft: #fdf2f1; }
.scheme-green  { --accent: #16a34a; --accent-dark: #0f7a37; --accent-light: #e6f7ec; --accent-soft: #edfbf1; }
.scheme-blue   { --accent: #2563eb; --accent-dark: #1d4fbf; --accent-light: #e8effe; --accent-soft: #eef3ff; }
.scheme-orange { --accent: #f2941f; --accent-dark: #c6740b; --accent-light: #fff2e0; --accent-soft: #fff8ec; }
.scheme-teal   { --accent: #0d9488; --accent-dark: #0a7469; --accent-light: #e2f7f5; --accent-soft: #eafaf8; }
.scheme-purple { --accent: #7c3aed; --accent-dark: #5f26bf; --accent-light: #f1e9fe; --accent-soft: #f6f1ff; }

.scheme-cta-card {
  background: linear-gradient(150deg, var(--kbs-navy) 0%, var(--kbs-navy-2) 100%);
  border-radius: 18px;
  padding: 40px 28px;
  height: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.scheme-cta-card .wa-icon { font-size: 2.4rem; color: #25d366; margin-bottom: 14px; }
.scheme-cta-card h4 { color: #fff; margin-bottom: 10px; }
.scheme-cta-card p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-bottom: 22px; }
.scheme-cta-card .btn-outline-navy { border-color: rgba(255,255,255,0.4); }

/* Small item cards used for lists (loan types, csc services, etc.) */
.item-card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 22px 18px;
  height: 100%;
  transition: var(--transition);
  text-align: center;
}
.item-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--kbs-gold);
}
.item-card .item-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(216,31,38,0.08);
  color: var(--kbs-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.item-card h6 { margin-bottom: 6px; font-size: 0.98rem; }
.item-card p { font-size: 0.82rem; color: var(--kbs-gray); margin-bottom: 0; }

/* List row style (used in CSC page for compact display) */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e8f0;
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--kbs-red); margin-top: 3px; }

/* ---------- Home Page: Complete Service Tabs ---------- */
.service-tab-nav { border-bottom: none; }
.service-tab-nav .nav-link {
  color: var(--kbs-navy);
  font-weight: 600;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid #e5e8f0;
  border-radius: 30px;
  padding: 10px 22px;
  transition: var(--transition);
}
.service-tab-nav .nav-link i { margin-right: 6px; color: var(--kbs-red); }
.service-tab-nav .nav-link:hover { border-color: var(--kbs-gold); color: var(--kbs-red); }
.service-tab-nav .nav-link.active {
  background: var(--kbs-red);
  border-color: var(--kbs-red);
  color: #fff;
}
.service-tab-nav .nav-link.active i { color: var(--kbs-gold); }
.service-tab-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.tab-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 6px;
  font-size: 0.94rem;
  color: #3a4055;
  border-bottom: 1px dashed #eef0f5;
}
.tab-list-item i { color: var(--kbs-red); margin-top: 3px; flex-shrink: 0; }

/* ---------- Why Choose Us ---------- */
.why-item { display: flex; gap: 18px; margin-bottom: 26px; }
.why-icon {
  min-width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--kbs-navy);
  color: var(--kbs-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.why-item h6 { margin-bottom: 6px; }
.why-item p { color: var(--kbs-gray); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--kbs-red) 0%, var(--kbs-red-dark) 100%);
  color: #fff;
  padding: 55px 0;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-band h3 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ---------- Stats ---------- */
.stat-box { text-align: center; padding: 20px; }
.stat-box h2 { color: var(--kbs-red); font-size: 2.6rem; font-weight: 800; margin-bottom: 4px; }
.stat-box span { color: var(--kbs-gray); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-card .stars { color: var(--kbs-gold); margin-bottom: 14px; }
.testimonial-card p.quote { color: #4a5064; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--kbs-navy); color: var(--kbs-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-author h6 { margin-bottom: 0; }
.testimonial-author span { font-size: 0.8rem; color: var(--kbs-gray); }

/* ---------- Process Steps ---------- */
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--kbs-navy);
  color: var(--kbs-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 18px;
  border: 4px solid var(--kbs-gold);
}
.process-step h6 { margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--kbs-gray); }

/* ---------- Bank Partner Logos Box ---------- */
.partner-box {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  font-weight: 700;
  color: var(--kbs-navy);
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 0.95rem;
}
.partner-box:hover { box-shadow: var(--shadow-sm); border-color: var(--kbs-gold); }

/* ---------- About Page ---------- */
.id-badge {
  background: var(--kbs-light);
  border-left: 4px solid var(--kbs-red);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.id-badge strong { color: var(--kbs-navy); display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.id-badge span { color: var(--kbs-gray); font-size: 0.95rem; }

/* ---------- Puja Cost / Price Badge ---------- */
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, var(--kbs-navy), var(--kbs-navy-2));
  border: 1px solid rgba(242,183,5,0.5);
  border-radius: 12px;
  padding: 14px 22px;
  margin: 6px 0 22px;
}
.price-badge .price-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(242,183,5,0.15);
  color: var(--kbs-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.price-badge strong {
  display: block;
  color: var(--kbs-gold);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}
.price-badge span {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,31,77,0.85), transparent 60%);
  display: flex; align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h6 { color: #fff; margin-bottom: 0; }

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  height: 100%;
  border: 1px solid #eef0f5;
}
.contact-info-card .item-icon { margin: 0 0 14px 0; }
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  border: 1px solid #eef0f5;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.form-control, .form-select {
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid #dfe3ee;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--kbs-gold);
  box-shadow: 0 0 0 0.2rem rgba(242,183,5,0.2);
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

/* ---------- FAQ ---------- */
.accordion-button {
  font-weight: 600;
  color: var(--kbs-navy);
  border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(216,31,38,0.06);
  color: var(--kbs-red);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.08); }
.accordion-item { border: 1px solid #eef0f5; border-radius: 10px !important; margin-bottom: 12px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--kbs-navy); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 30px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-icon { color: var(--kbs-gold); font-size: 2rem; }
.brand-logo-img-footer { height: 46px; width: auto; opacity: 0.95; }
.brand-text-footer { font-family: 'Baloo Bhai 2', sans-serif; font-size: 1.25rem; font-weight: 700; color: #fff; }
.brand-text-footer .brand-king { color: var(--kbs-gold); }
.brand-text-footer small { display: block; font-size: 0.6rem; color: rgba(255,255,255,0.6); letter-spacing: 2px; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 18px; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--kbs-gold); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact li i { color: var(--kbs-gold); margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: var(--kbs-gold); }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  margin-right: 8px;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--kbs-gold); color: var(--kbs-navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  font-size: 0.82rem;
}
.legal-ids { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* ---------- WhatsApp + Call Float Buttons ---------- */
/* Defined with high specificity + !important + safe-area padding so they always
   stay visible above other content and above the iOS/Android bottom gesture bar. */
.whatsapp-float,
.call-float {
  position: fixed !important;
  right: 20px;
  right: calc(20px + env(safe-area-inset-right, 0px));
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex !important;
  align-items: center; justify-content: center;
  color: #fff !important;
  text-decoration: none;
  z-index: 1055;
  visibility: visible !important;
  opacity: 1 !important;
}
.whatsapp-float {
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: #25d366;
  font-size: 1.65rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  animation: pulse-wa 2.2s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.call-float {
  bottom: 86px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  background: var(--kbs-red);
  font-size: 1.45rem;
  box-shadow: 0 6px 20px rgba(216,31,38,0.5);
  animation: pulse-call 2.2s infinite;
}
.call-float:hover { background: var(--kbs-red-dark); color: #fff !important; }
@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(216,31,38,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(216,31,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(216,31,38,0); }
}
@media (max-width: 575px) {
  .whatsapp-float, .call-float { width: 50px; height: 50px; }
  .whatsapp-float { font-size: 1.4rem; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px; }
  .call-float { font-size: 1.25rem; bottom: 74px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  width: 46px; height: 46px;
  background: var(--kbs-navy);
  color: var(--kbs-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--kbs-red); color: #fff; }

/* ---------- Utilities ---------- */
.rounded-xl { border-radius: var(--radius); }
.shadow-soft { box-shadow: var(--shadow-sm); }
.text-gold { color: var(--kbs-gold); }
.text-red { color: var(--kbs-red); }
.text-navy { color: var(--kbs-navy); }
.bg-soft-red { background: rgba(216,31,38,0.08); }
.divider-gold {
  width: 60px; height: 4px;
  background: var(--kbs-gold);
  border-radius: 4px;
  margin-bottom: 20px;
}

/* =========================================================
   RED ANIMATION EFFECTS
   Same Red + Navy + Gold theme, with red-toned motion added
   throughout the site: glowing auras, pulse rings, shimmer
   underlines and gentle flame-flicker on ritual icons.
========================================================= */

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Section tag: soft red glow pulse */
.section-tag {
  animation: tagGlow 3s ease-in-out infinite;
}
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,31,38,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(216,31,38,0); }
}

/* Section title: animated red shimmer underline */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title.mx-auto-text { display: block; }
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--kbs-red), var(--kbs-gold), var(--kbs-red));
  background-size: 200% 100%;
  animation: shimmerLine 2.6s linear infinite;
}
.section-title.mx-auto-text::after { margin-left: auto; margin-right: auto; }
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
@keyframes shimmerLine {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Hero badge: pulsing red-gold aura */
.hero-badge {
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,31,38,0.35); }
  50% { box-shadow: 0 0 0 10px rgba(216,31,38,0); }
}

/* Hero background: slow-drifting red glow orbs */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(216,31,38,0.35), transparent 60%);
  width: 420px; height: 420px;
  border-radius: 50%;
  top: -120px; right: 8%;
  animation: driftGlow 7s ease-in-out infinite;
  z-index: 1;
}
@keyframes driftGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-30px, 40px) scale(1.15); opacity: 0.85; }
}

/* Navbar brand logo: soft red aura ring behind the emblem */
.navbar-brand { position: relative; }
.brand-logo-img {
  border-radius: 50%;
  animation: logoAura 2.8s ease-in-out infinite;
}
@keyframes logoAura {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,31,38,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(216,31,38,0); }
}

/* Primary CTA buttons: light sweep + red glow on hover */
.btn-cta, .btn-gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-cta::before, .btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: ctaSweep 3.2s ease-in-out infinite;
  z-index: -1;
}
@keyframes ctaSweep {
  0% { left: -60%; }
  35%, 100% { left: 130%; }
}
.btn-cta:hover, .btn-gold:hover {
  box-shadow: 0 0 22px rgba(216,31,38,0.45);
}

/* Scheme cards: animated glowing top border sweep */
.scheme-card { position: relative; }
.scheme-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--kbs-gold), var(--accent));
  background-size: 200% 100%;
  animation: shimmerLine 3s linear infinite;
}
.scheme-icon-circle {
  animation: iconPulse 2.6s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-light); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

/* Ritual / flame icons: gentle flicker, used on scheme badges & process numbers */
.scheme-badge i,
.process-num,
.item-icon i,
.why-icon i {
  animation: flicker 2.8s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(216,31,38,0)); }
  50% { filter: drop-shadow(0 0 6px rgba(216,31,38,0.55)); }
}

/* Process step numbers: rotating red glow ring */
.process-num {
  position: relative;
}
.process-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(216,31,38,0.45);
  animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Testimonial stars: soft golden-red twinkle */
.stars i {
  animation: twinkle 1.8s ease-in-out infinite;
}
.stars i:nth-child(2) { animation-delay: 0.15s; }
.stars i:nth-child(3) { animation-delay: 0.3s; }
.stars i:nth-child(4) { animation-delay: 0.45s; }
.stars i:nth-child(5) { animation-delay: 0.6s; }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}

/* Marquee / sacred-places strip: subtle red glow sweep across the track */
.partner-strip { position: relative; }
.partner-strip::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(216,31,38,0.12), transparent);
  width: 30%;
  animation: marqueeGlow 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes marqueeGlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* CTA band: breathing red-gold border glow */
.cta-band {
  animation: ctaBandGlow 4s ease-in-out infinite;
}
@keyframes ctaBandGlow {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(216,31,38,0); }
  50% { box-shadow: var(--shadow-md), 0 0 32px 0 rgba(216,31,38,0.25); }
}

/* Item cards / process steps: red glow on hover */
.item-card, .service-card, .process-step, .testimonial-card, .gallery-item, .partner-box {
  transition: var(--transition), box-shadow 0.35s ease;
}
.item-card:hover, .service-card:hover, .process-step:hover, .testimonial-card:hover, .partner-box:hover {
  box-shadow: 0 10px 26px rgba(216,31,38,0.22);
}

/* Sidebar / id-badge / puja-cost highlight: gentle glow */
.id-badge, .price-badge {
  animation: idBadgeGlow 3.4s ease-in-out infinite;
}
@keyframes idBadgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,31,38,0.12); }
  50% { box-shadow: 0 0 0 5px rgba(216,31,38,0); }
}

/* Floating action buttons already pulse red/green via pulse-call / pulse-wa above;
   add a slow rotating dashed aura ring for extra festive motion on the call button. */
.call-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(216,31,38,0.55);
  animation: spinSlow 10s linear infinite;
  pointer-events: none;
}
