/*
 * SBS Vidyapeeta — Main Stylesheet
 * Version: 1.0.0
 * Developed by: SLV Infosystem Centre, Bengaluru
 * ─────────────────────────────────────────────
 * Table of Contents:
 *   1.  CSS Variables (Brand Tokens)
 *   2.  Reset & Base
 *   3.  Utility: Dot Pattern
 *   4.  Section Headers
 *   5.  Navbar
 *   6.  Hero Carousel
 *   7.  Membership Strip
 *   8.  About Section
 *   9.  How It Works
 *  10.  Services
 *  11.  Gallery & Lightbox
 *  12.  FAQ Accordion
 *  13.  Contact & Map
 *  14.  Footer
 *  15.  Floating Action Buttons
 *  16.  Responsive Breakpoints
 */

/* ─────────────────────────────────────────────
   1. CSS VARIABLES (Brand Tokens)
───────────────────────────────────────────── */
:root {
  --primary:   #E85C0D;
  --accent:    #C9920A;
  --dark:      #7B1C00;
  --bg:        #FFF8EC;
  --bg-alt:    #FFF3E0;
  --text:      #1C1C1C;
  --white:     #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(123, 28, 0, 0.08);
  --shadow-md: 0 6px 30px rgba(123, 28, 0, 0.12);
  --shadow-lg: 0 12px 50px rgba(123, 28, 0, 0.18);
}

/* ─────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Cinzel', serif; }
a { text-decoration: none; }
section { scroll-margin-top: 70px; }
img { max-width: 100%; height: auto; }

/* ─────────────────────────────────────────────
   3. UTILITY: DOT PATTERN BACKGROUND
───────────────────────────────────────────── */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(232, 92, 13, 0.07) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ─────────────────────────────────────────────
   4. SECTION HEADERS
───────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.8rem;
}
.section-title.light { color: var(--accent); }

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  margin: 0 auto 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-subtitle.light { color: rgba(255, 255, 255, 0.6); }

/* ─────────────────────────────────────────────
   5. NAVBAR
───────────────────────────────────────────── */
#mainNav {
  background: var(--dark) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  transition: padding 0.3s;
}
#mainNav.scrolled { padding: 0.4rem 0; }

.navbar-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: 0.04em;
}
.navbar-brand-name span { color: rgba(255, 255, 255, 0.9); font-weight: 400; }

.navbar-brand-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.nav-link {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--accent);
  transition: left 0.2s, right 0.2s;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active-link::after { left: 0.85rem; right: 0.85rem; }
.nav-link:hover,
.nav-link.active-link { color: var(--accent) !important; }

.btn-nav-join {
  background: linear-gradient(135deg, var(--primary), #C04800);
  color: #fff !important;
  border-radius: 25px;
  padding: 0.45rem 1.2rem !important;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(232, 92, 13, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-nav-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 92, 13, 0.5);
  color: #fff !important;
}
.btn-nav-join::after { display: none; }

.navbar-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 146, 10, 0.25);
  flex-shrink: 0;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.6rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ─────────────────────────────────────────────
   6. HERO CAROUSEL
   Pure dark overlay — no saffron gradient
───────────────────────────────────────────── */
#heroCarousel { margin-top: 62px; }

.carousel-item {
  height: 92vh;
  min-height: 520px;
  max-height: 900px;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.40) 50%,
    rgba(0, 0, 0, 0.60) 100%
  );
}
.carousel-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  z-index: 2;
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 88%;
  max-width: 900px;
}
.carousel-item.active .hero-caption {
  animation: heroFadeIn 0.8s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hero-om {
  font-size: 3rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 20px rgba(201, 146, 10, 0.5);
}
.hero-caption h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.65);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-caption p {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  max-width: 640px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.btn-hero {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 32px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-hero-solid {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 5px 22px rgba(232, 92, 13, 0.45);
}
.btn-hero-solid:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-hero-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}
.carousel-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 4px;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.carousel-indicators button.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ─────────────────────────────────────────────
   7. MEMBERSHIP STRIP
───────────────────────────────────────────── */
.membership-strip {
  background: linear-gradient(135deg, #4A0900 0%, var(--dark) 50%, #3A0600 100%);
  padding: 1.4rem 0;
  position: relative;
  overflow: hidden;
}
.membership-strip::before {
  content: 'ॐ';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}
.strip-badge {
  background: var(--accent);
  color: var(--dark);
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  padding: 0.25rem 1.1rem;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 3px 15px rgba(201, 146, 10, 0.4);
}
.strip-text { color: rgba(255, 255, 255, 0.9); }
.strip-text strong { display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.strip-text small  { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.btn-strip {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.55rem 1.6rem;
  border-radius: 25px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(232, 92, 13, 0.4);
}
.btn-strip:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   8. ABOUT SECTION
───────────────────────────────────────────── */
#about { padding: 90px 0; background: var(--bg); }

.about-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-img-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.about-main-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary);
}
.about-main-card p { font-size: 0.96rem; line-height: 1.85; color: #444; margin-bottom: 1rem; }
.about-main-card p:last-child { margin-bottom: 0; }

.about-values { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.value-chip {
  background: var(--bg-alt);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(123, 28, 0, 0.15);
}

/* Stats — 3 visible columns (4th hidden, re-enable by removing display:none) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-box {
  background: var(--white);
  border-radius: 14px;
  padding: 1.3rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--primary);
}
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-top: 0.3rem;
}

/* Team — 3 cols × 2 rows */
.about-team-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 700;
  margin: 1.6rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(123,28,0,0.1);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.team-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  box-shadow: 0 4px 15px rgba(123, 28, 0, 0.25);
}
.team-name { font-family: 'Cinzel', serif; font-size: 0.88rem; color: var(--dark); margin-bottom: 0.2rem; }
.team-role { font-size: 0.78rem; color: #999; }

/* ─────────────────────────────────────────────
   9. HOW IT WORKS
───────────────────────────────────────────── */
#how-it-works { padding: 90px 0; background: var(--bg-alt); }

.steps-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.step-item { flex: 0 1 180px; text-align: center; padding: 1.5rem 1rem; }
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 20px rgba(232, 92, 13, 0.35);
  transition: transform 0.2s;
}
.step-item:hover .step-circle { transform: scale(1.1); }
.step-item h5 { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--dark); margin-bottom: 0.5rem; }
.step-item p  { font-size: 0.85rem; color: #666; line-height: 1.6; margin: 0; }

.cta-join-box {
  background: linear-gradient(135deg, var(--dark), #A0290A);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 3rem;
}
.cta-join-box h3 { font-family: 'Cinzel', serif; color: var(--accent); font-size: 1.5rem; margin-bottom: 0.8rem; }
.cta-join-box p  { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn-cta-join {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 2.5rem;
  border-radius: 32px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  box-shadow: 0 5px 20px rgba(232, 92, 13, 0.4);
}
.btn-cta-join:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }

/* ─────────────────────────────────────────────
   10. SERVICES
───────────────────────────────────────────── */
#services { padding: 90px 0; background: var(--bg); }

.service-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s, box-shadow 0.28s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.sc-icon-bar {
  background: linear-gradient(135deg, var(--dark) 0%, #A0290A 100%);
  padding: 1.8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sc-icon-bar::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: -30px; right: -30px;
}
.sc-icon-bar::after {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  bottom: -10px; left: -10px;
}
.sc-icon-bar i { font-size: 2.4rem; color: var(--accent); position: relative; z-index: 1; }

.sc-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sc-body h5 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--dark); font-weight: 700; margin-bottom: 0.6rem; }
.sc-body p  { font-size: 0.875rem; color: #666; line-height: 1.7; flex: 1; margin-bottom: 1.2rem; }

.sc-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.2s, color 0.2s;
}
.sc-link:hover { gap: 0.6rem; color: var(--dark); }

.sc-coming {
  background: linear-gradient(135deg, #4A0900, var(--dark));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sc-coming-inner { padding: 2.5rem 1.5rem; }
.sc-coming-inner i { font-size: 2.4rem; color: var(--accent); margin-bottom: 1rem; display: block; }
.sc-coming-inner h5 { font-family: 'Cinzel', serif; color: #fff; margin-bottom: 0.5rem; }
.sc-coming-inner p  { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   11. GALLERY & LIGHTBOX
───────────────────────────────────────────── */
#gallery { padding: 90px 0; background: var(--dark); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}
.g-item { overflow: hidden; border-radius: 10px; position: relative; cursor: pointer; }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6) { grid-column: span 2; }

.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.3s;
}
.g-item:hover img { transform: scale(1.08); filter: brightness(0.72) saturate(1.1); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 28, 0, 0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { color: rgba(255, 255, 255, 0.9); font-family: 'Cinzel', serif; font-size: 0.8rem; letter-spacing: 0.08em; }
.g-overlay i { color: var(--accent); margin-right: 0.4rem; }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.active { display: flex; animation: lbIn 0.22s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

#lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}
#lightbox-img.lb-zoom { animation: lbZoom 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes lbZoom {
  from { transform: scale(0.82); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

#lightbox-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
}
#lightbox-close {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
#lightbox-close:hover { background: var(--primary); transform: scale(1.1); }

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
#lightbox-prev { left: 1.3rem; }
#lightbox-next { right: 1.3rem; }
#lightbox-prev:hover,
#lightbox-next:hover { background: var(--primary); }

/* ─────────────────────────────────────────────
   12. FAQ ACCORDION
───────────────────────────────────────────── */
#faq { padding: 90px 0; background: var(--bg-alt); }

.accordion-item { border: none; background: transparent; margin-bottom: 0.8rem; }
.accordion-button {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--dark) !important;
  background: var(--white) !important;
  border-radius: 12px !important;
  padding: 1.15rem 1.5rem;
  box-shadow: var(--shadow-sm) !important;
  border: none;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--dark), #A0290A) !important;
  color: #fff !important;
  border-radius: 12px 12px 0 0 !important;
}
.accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.accordion-body {
  background: var(--white);
  border-radius: 0 0 12px 12px;
  padding: 1.2rem 1.5rem 1.5rem;
  font-size: 0.94rem;
  color: #555;
  line-height: 1.8;
}
.accordion-body a { color: var(--primary); font-weight: 700; }
.accordion-body a:hover { color: var(--dark); }

/* ─────────────────────────────────────────────
   13. CONTACT & GOOGLE MAP
───────────────────────────────────────────── */
#contact { padding: 90px 0; background: var(--bg); }

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.2rem;
  height: 340px;
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-label {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--dark), #A0290A);
  border-radius: 18px;
  padding: 2.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: 'ॐ';
  position: absolute;
  bottom: -20px; right: 10px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.contact-info-card h4 { font-family: 'Cinzel', serif; color: var(--accent); font-size: 1.3rem; margin-bottom: 1.8rem; }

.ci-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.ci-icon { color: var(--accent); font-size: 1.15rem; margin-top: 0.1rem; min-width: 22px; }
.ci-text strong { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 0.2rem; }
.ci-text p  { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.ci-text a  { color: rgba(255, 255, 255, 0.85); }
.ci-text a:hover { color: var(--accent); }

.social-row { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social-btn:hover { background: var(--primary); color: #fff; transform: scale(1.1); }

.contact-form-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.contact-form-card h4 { font-family: 'Cinzel', serif; color: var(--dark); font-size: 1.3rem; margin-bottom: 0.4rem; }
.contact-form-card .form-note { font-size: 0.85rem; color: #999; margin-bottom: 1.5rem; }

.form-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-control,
.form-select {
  border: 1.5px solid #e0cfc0;
  border-radius: 9px;
  padding: 0.72rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.93rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 92, 13, 0.14);
  background: var(--white);
  outline: none;
}
.btn-whatsapp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp-submit:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp-submit i { font-size: 1.25rem; }

/* ─────────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────────── */
footer { background: #0A0200; padding: 70px 0 24px; }

.footer-brand-name { font-family: 'Cinzel', serif; font-size: 1.35rem; color: var(--accent); }
.footer-tagline    { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); margin-top: 2px; }
.footer-desc       { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); line-height: 1.7; margin: 1rem 0; max-width: 280px; }
.footer-dev        { font-size: 0.75rem; color: rgba(255, 255, 255, 0.25); }
.footer-dev a      { color: var(--accent); }

footer h6 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li   { margin-bottom: 0.6rem; }
.footer-links a    { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; transition: color 0.2s, padding-left 0.2s; display: inline-block; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact-item { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.9rem; }
.footer-contact-item i    { color: var(--accent); font-size: 0.9rem; margin-top: 3px; min-width: 16px; }
.footer-contact-item span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); line-height: 1.5; }
.footer-contact-item a    { color: rgba(255, 255, 255, 0.5); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-hr { border-color: rgba(255, 255, 255, 0.06); margin: 2.5rem 0 1.5rem; }
.footer-bottom-text { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }
.footer-bottom-text a { color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.footer-bottom-text a:hover { color: var(--accent); }
.footer-bottom-text .footer-dev { font-size: 0.75rem; color: rgba(255, 255, 255, 0.25); }
.footer-bottom-text .footer-dev a { color: var(--accent); }

/* Fix WhatsApp icon vertical alignment in contact rows */
.footer-contact-item i.fa-whatsapp,
.ci-icon.fa-whatsapp { line-height: 1.4; }

/* ─────────────────────────────────────────────
   15. FLOATING ACTION BUTTONS
───────────────────────────────────────────── */
.fab-cluster {
  position: fixed;
  bottom: 28px; right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9999;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
}
.fab:hover { transform: scale(1.12); box-shadow: 0 7px 24px rgba(0, 0, 0, 0.38); }
.fab-wa  { background: #25D366; color: #fff; }
.fab-top {
  background: var(--primary);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.22s, box-shadow 0.22s;
}
.fab-top.show { opacity: 1; pointer-events: auto; }

/* ─────────────────────────────────────────────
   16. RESPONSIVE BREAKPOINTS
───────────────────────────────────────────── */
@media (max-width: 991px) {
  .stat-grid        { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid     { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .g-item:nth-child(1) { grid-column: span 2; }
  .g-item:nth-child(6) { grid-column: span 1; }
  .map-wrap         { height: 280px; }
}
@media (max-width: 767px) {
  .carousel-item    { height: 75vh; }
  .hero-om          { font-size: 2rem; }
  .stat-grid        { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid     { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .strip-grid       { flex-direction: column; gap: 1rem; }
  .map-wrap         { height: 240px; }
}
@media (max-width: 480px) {
  .stat-grid             { grid-template-columns: repeat(2, 1fr); }
  .team-grid             { grid-template-columns: repeat(2, 1fr); }
  .about-main-card       { padding: 1.5rem; }
  .contact-info-card,
  .contact-form-card     { padding: 1.5rem; }
  #lightbox-prev         { left: 0.4rem; }
  #lightbox-next         { right: 0.4rem; }
}
