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

:root {
  --marudhar-maroon: #4A0714;
  --marudhar-maroon-dark: #35050E;
  --marudhar-maroon-rich: #5A0A18;
  --marudhar-maroon-accent: #6E1020;
  --marudhar-maroon-subtle: #FDF5F6;
  
  --marudhar-green: #4A0714;
  --marudhar-green-dark: #35050E;
  --marudhar-green-light: #5A0A18;
  --marudhar-green-subtle: #FDF5F6;
  --marudhar-emerald: #4A0714;
  
  --marudhar-gold: #D4AF37;
  --marudhar-gold-dark: #AA771C;
  --marudhar-gold-light: #F3E5AB;
  --marudhar-gold-gradient: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #AA771C 100%);
  --marudhar-gold-glow: rgba(212, 175, 55, 0.25);
  --marudhar-charcoal: #171717;
  --marudhar-charcoal-light: #262626;
  --marudhar-slate: #64748B;
  --marudhar-white: #FFFFFF;
  --marudhar-cream: #FFFDF8;
  --marudhar-border-gold: rgba(212, 175, 55, 0.35);
  --marudhar-shadow-sm: 0 4px 12px rgba(53, 5, 14, 0.08);
  --marudhar-shadow-md: 0 10px 30px rgba(53, 5, 14, 0.15);
  --marudhar-shadow-lg: 0 20px 45px rgba(53, 5, 14, 0.22);
  
  /* Glassmorphic & Motion Design Tokens (Phase 1 UI) */
  --glass-bg-light: rgba(255, 255, 255, 0.76);
  --glass-bg-card: rgba(255, 253, 248, 0.82);
  --glass-bg-dark: rgba(74, 7, 20, 0.72);
  --glass-bg-emerald: rgba(16, 59, 43, 0.78);
  --glass-border-gold: rgba(212, 175, 55, 0.35);
  --glass-border-subtle: rgba(255, 255, 255, 0.28);
  --glass-blur: blur(14px);
  --glass-blur-heavy: blur(20px);
  --glass-shadow-light: 0 10px 30px -6px rgba(53, 5, 14, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  --glass-shadow-dark: 0 18px 40px -10px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(212, 175, 55, 0.35);
  --glass-glow-gold: 0 0 25px rgba(212, 175, 55, 0.22);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Responsive Typography System (Unified clamp scale) */
  --hero-h1-size: clamp(2.1rem, 3.8vw, 3.6rem);
  --hero-subtitle-size: clamp(1rem, 1.6vw, 1.4rem);
  --section-h2-size: clamp(1.65rem, 2.5vw, 2.4rem);
  --section-sub-size: clamp(0.8rem, 1vw, 0.95rem);
  --card-h3-size: clamp(1.05rem, 1.4vw, 1.25rem);
  --stat-number-size: clamp(1.75rem, 3vw, 2.5rem);
  --body-text-size: clamp(0.875rem, 0.4vw + 0.55rem, 1rem);
  
  /* Responsive Spacing System (Compact Editorial Rhythm) */
  --section-padding-y: clamp(52px, 5vw, 80px);
  --section-padding-y-mobile: 42px;
  --container-max-w: 1320px;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--marudhar-charcoal);
  background-color: var(--marudhar-cream);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
  max-width: 100vw;
}

section.py-5 {
  padding-top: var(--section-padding-y) !important;
  padding-bottom: var(--section-padding-y) !important;
}

@media (max-width: 768px) {
  section.py-5 {
    padding-top: var(--section-padding-y-mobile) !important;
    padding-bottom: var(--section-padding-y-mobile) !important;
  }
}

.section-title-wrap {
  margin-bottom: clamp(24px, 3vw, 36px) !important;
  text-align: center;
}

.section-title-wrap .section-title {
  margin-bottom: 12px !important;
}

.section-title-wrap p {
  margin-bottom: 0 !important;
  line-height: 1.55;
  font-size: var(--body-text-size);
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: var(--font-serif);
  color: var(--marudhar-green-dark);
  letter-spacing: 0.5px;
  font-weight: 700;
}

h1, .h1 {
  font-size: var(--hero-h1-size);
}

h2, .h2, .section-title {
  font-size: var(--section-h2-size) !important;
}

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

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

a {
  color: var(--marudhar-green);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Utility Colors & Text */
.text-gold {
  color: var(--marudhar-gold) !important;
}

.text-gold-light {
  color: var(--marudhar-gold-light) !important;
}

.text-gold-dark {
  color: var(--marudhar-gold-dark) !important;
}

.text-green-dark {
  color: var(--marudhar-green-dark) !important;
}

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

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

.bg-green-dark {
  background-color: var(--marudhar-green-dark) !important;
}

.bg-green {
  background-color: var(--marudhar-green) !important;
}

.bg-cream {
  background-color: var(--marudhar-cream) !important;
}

.bg-gold {
  background-color: var(--marudhar-gold) !important;
}

.bg-gold-gradient {
  background: var(--marudhar-gold-gradient) !important;
}

/* Buttons */
.btn-marudhar-gold {
  background: var(--marudhar-gold-gradient);
  color: var(--marudhar-green-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid var(--marudhar-gold);
  box-shadow: 0 4px 15px var(--marudhar-gold-glow);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-marudhar-gold:hover {
  background: #AA771C;
  color: #FFFFFF;
  border-color: #AA771C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 119, 28, 0.4);
}

.btn-marudhar-green {
  background: var(--marudhar-green);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 1px solid var(--marudhar-gold);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-marudhar-green:hover {
  background: var(--marudhar-green-dark);
  color: var(--marudhar-gold-light);
  border-color: var(--marudhar-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--marudhar-shadow-md);
}

.btn-marudhar-outline {
  background: transparent;
  color: var(--marudhar-gold-light);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: 4px;
  border: 1.5px solid var(--marudhar-gold);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-marudhar-outline:hover {
  background: var(--marudhar-gold);
  color: var(--marudhar-green-dark);
  transform: translateY(-2px);
}

/* Top Information Header Bar */
.marudhar-topbar {
  background-color: var(--marudhar-green-dark);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 8px 0;
  font-weight: 500;
}

.marudhar-topbar a {
  color: #E2E8F0;
  white-space: nowrap;
}

.marudhar-topbar a:hover {
  color: var(--marudhar-gold);
}

.topbar-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--marudhar-gold);
  color: var(--marudhar-gold-light);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Main Luxury Navigation Bar — Frosted Ivory Glass Floating Surface */
.marudhar-navbar {
  background: rgba(255, 248, 235, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 24px -2px rgba(53, 5, 14, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  padding: 11px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.marudhar-navbar.scrolled {
  background: rgba(255, 248, 235, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 10px 32px -4px rgba(53, 5, 14, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: 7px 0;
}

.navbar-brand {
  padding: 0;
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(53, 5, 14, 0.06));
  transition: transform 0.25s ease;
}

.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.02);
}

.marudhar-nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--marudhar-maroon-dark);
  padding: 8px 12px !important;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
}

.marudhar-nav-link:hover {
  color: var(--marudhar-maroon);
  background: rgba(212, 175, 55, 0.09);
}

.marudhar-nav-link.active {
  color: var(--marudhar-maroon-dark);
  font-weight: 800;
}

.marudhar-nav-link::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 12px;
  right: 12px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #AA771C 0%, #D4AF37 50%, #AA771C 100%);
  box-shadow: 0 1px 6px rgba(212, 175, 55, 0.55);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.marudhar-nav-link:hover::after,
.marudhar-nav-link.active::after {
  transform: scaleX(1);
}

/* Frosted Ivory Glass Dropdown Menu */
.marudhar-navbar .dropdown-menu {
  background: rgba(255, 248, 235, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 16px 40px -8px rgba(53, 5, 14, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 8px;
}

.marudhar-navbar .dropdown-item {
  font-family: var(--font-sans);
  color: var(--marudhar-maroon-dark);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.marudhar-navbar .dropdown-item:hover {
  background: rgba(212, 175, 55, 0.14);
  color: var(--marudhar-maroon);
  padding-left: 22px;
}

/* Header Quotation Button — Deep Burgundy Luxury Button */
.btn-nav-quotation {
  background: var(--marudhar-maroon, #4A0714) !important;
  color: var(--marudhar-gold-light, #F3E5AB) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--marudhar-gold, #D4AF37) !important;
  box-shadow: 0 4px 15px rgba(74, 7, 20, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav-quotation:hover {
  background: var(--marudhar-maroon-dark, #35050E) !important;
  color: #FFFFFF !important;
  border-color: var(--marudhar-gold-light, #F3E5AB) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 7, 20, 0.5);
}

/* Mobile Frosted Glass Navigation Collapse */
@media (max-width: 991.98px) {
  .marudhar-navbar {
    padding: 8px 0;
  }

  .marudhar-navbar .navbar-toggler {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(255, 248, 235, 0.7);
    color: var(--marudhar-maroon-dark);
    transition: background 0.2s ease;
  }

  .marudhar-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  }

  .marudhar-navbar .navbar-collapse {
    background: rgba(255, 248, 235, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    margin-top: 10px;
    padding: 16px 18px;
    box-shadow: 0 18px 40px -8px rgba(53, 5, 14, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  }

  .marudhar-navbar .marudhar-nav-link {
    padding: 10px 14px !important;
    width: 100%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  }

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

  .marudhar-navbar .marudhar-nav-link.active {
    background: rgba(212, 175, 55, 0.15);
    border-left: 3px solid var(--marudhar-gold);
    padding-left: 14px !important;
  }

  .marudhar-navbar .btn-nav-quotation {
    margin-top: 12px;
    width: 100%;
  }
}

/* Unified Hero CTA Button System */
.hero-cta-btn {
  height: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.hero-cta-btn.gold {
  background: var(--marudhar-gold-gradient);
  color: var(--marudhar-green-dark);
  border: 1px solid var(--marudhar-gold);
  box-shadow: 0 4px 15px var(--marudhar-gold-glow);
}

.hero-cta-btn.gold:hover {
  background: #AA771C;
  color: #FFFFFF;
  border-color: #AA771C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 119, 28, 0.4);
}

.hero-cta-btn.outline {
  background: transparent;
  color: var(--marudhar-gold-light);
  border: 1.5px solid var(--marudhar-gold);
}

.hero-cta-btn.outline:hover {
  background: var(--marudhar-gold);
  color: var(--marudhar-green-dark);
  transform: translateY(-2px);
}

.hero-cta-btn.call {
  background: rgba(74, 7, 20, 0.85);
  color: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
}

.hero-cta-btn.call:hover {
  background: var(--marudhar-maroon-dark);
  border-color: var(--marudhar-gold);
  color: var(--marudhar-gold-light);
  transform: translateY(-2px);
}

.hero-cta-btn.whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: 1.5px solid #20BA5A;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.hero-cta-btn.whatsapp:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* Luxury Card System */
.marudhar-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  box-shadow: var(--marudhar-shadow-sm);
  transition: all 0.35s ease;
  overflow: hidden;
  position: relative;
}

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

.marudhar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--marudhar-gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Section Header Decorators */
.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--marudhar-gold-dark);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--marudhar-border-gold);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--marudhar-green-dark);
  margin-bottom: 12px;
}

.section-divider-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px auto 0;
  width: 160px;
}

.section-divider-gold::before,
.section-divider-gold::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--marudhar-gold-gradient);
}

.section-divider-gold .diamond {
  width: 10px;
  height: 10px;
  background: var(--marudhar-gold);
  transform: rotate(45deg);
}

/* Stats Counter Box */
.stat-box {
  background: #FFFFFF;
  border: 1px solid var(--marudhar-border-gold);
  border-radius: 8px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--marudhar-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-box:hover {
  background: var(--marudhar-green-dark);
  border-color: var(--marudhar-gold);
  transform: translateY(-4px);
}

.stat-box:hover .stat-number,
.stat-box:hover .stat-label {
  color: var(--marudhar-gold-light) !important;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: var(--stat-number-size);
  font-weight: 800;
  color: var(--marudhar-green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--marudhar-slate);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 576px) {
  .stat-box {
    padding: 12px 6px;
    min-height: 90px;
  }
  .stat-number {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
  }
  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.3px;
  }
}

/* Corporate Footer */
.marudhar-footer {
  background-color: var(--marudhar-green-dark);
  color: #CBD5E1;
  border-top: 3px solid var(--marudhar-gold);
  padding: 70px 0 25px;
  position: relative;
}

.footer-title {
  color: var(--marudhar-gold-light);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

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

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

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

.footer-links a {
  color: #CBD5E1;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--marudhar-gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 50px;
  padding-top: 25px;
  padding-bottom: 15px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.developer-credit {
  color: #CBD5E1;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.developer-link {
  color: var(--marudhar-gold, #D4AF37);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}

.developer-link:hover {
  color: #FFF2B2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.developer-link:focus-visible {
  outline: 2px solid var(--marudhar-gold, #D4AF37);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Smart Welcome Assistant / Professional Corporate Greeting Widget */
.marudhar-welcome-assistant {
  position: fixed;
  bottom: 0;
  right: 28px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
  user-select: none;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.marudhar-welcome-assistant.marudhar-assistant-hidden {
  transform: translateY(140px);
  opacity: 0;
  pointer-events: none;
}

.marudhar-assistant-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

.marudhar-assistant-link:focus-visible .marudhar-assistant-character {
  outline: 3px solid var(--marudhar-gold, #D4AF37);
  border-radius: 12px;
}

/* Speech Bubble (English Only) */
.marudhar-assistant-speech-bubble {
  background: #FFFFFF;
  border: 1.5px solid var(--marudhar-gold, #D4AF37);
  border-radius: 16px;
  padding: 8px 14px;
  box-shadow: 0 8px 25px rgba(53, 5, 14, 0.18);
  position: relative;
  max-width: 190px;
  margin-bottom: 6px;
  margin-right: 14px;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  transform: scale(0.7) translateY(8px);
}

.marudhar-assistant-speech-bubble.bubble-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Speech Bubble Tail pointing DOWN towards character's head */
.marudhar-assistant-speech-bubble::after {
  content: '';
  position: absolute;
  right: 32px;
  bottom: -9px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 9px solid #FFFFFF;
}

.marudhar-assistant-speech-bubble::before {
  content: '';
  position: absolute;
  right: 31px;
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 11px solid var(--marudhar-gold, #D4AF37);
}

.marudhar-speech-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.marudhar-speech-heading {
  color: var(--marudhar-maroon, #4A0714);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

.marudhar-speech-body {
  color: #2D3748;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Character Graphic Container & Bottom Viewport Clipping */
.marudhar-assistant-character-wrapper {
  position: relative;
  display: block;
  margin-bottom: -15px; /* Natural body clip at desktop bottom boundary */
  filter: drop-shadow(0 -4px 16px rgba(53, 5, 14, 0.22));
  transform-origin: bottom center;
}

.marudhar-assistant-character {
  height: 160px;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
  transform-origin: bottom center;
}

/* Subtle Hello Greeting Wave Animation */
.character-waving {
  animation: marudharHelloWave 1.2s ease-in-out 1;
}

@keyframes marudharHelloWave {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(2deg) translateY(-1px);
  }
  40% {
    transform: rotate(-2deg) translateY(0);
  }
  60% {
    transform: rotate(1.5deg) translateY(-1px);
  }
  80% {
    transform: rotate(-1deg) translateY(0);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

.marudhar-assistant-link:hover .marudhar-assistant-character {
  transform: translateY(-3px) scale(1.015);
}

.marudhar-assistant-link:hover .marudhar-assistant-speech-bubble {
  border-color: #B8860B;
  box-shadow: 0 10px 30px rgba(74, 7, 20, 0.25);
}

/* Backwards compatibility for float btn if referenced */
.whatsapp-float-btn {
  display: none !important;
}

/* Responsive Positioning & Scaling */
@media (max-width: 991px) {
  .marudhar-welcome-assistant {
    right: 14px;
    bottom: 0;
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: -12px;
  }
  .marudhar-assistant-character {
    height: 140px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 155px;
    padding: 6px 10px;
    margin-right: 15px;
    margin-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .marudhar-welcome-assistant {
    right: 10px;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: 0;
    filter: drop-shadow(0 2px 8px rgba(53, 5, 14, 0.22));
  }
  .marudhar-assistant-character {
    height: 95px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 130px;
    padding: 4px 8px;
    margin-right: 8px;
    margin-bottom: 4px;
  }
  .marudhar-speech-heading {
    font-size: 0.78rem;
  }
  .marudhar-speech-body {
    font-size: 0.66rem;
  }
}

@media (max-width: 480px) {
  .marudhar-welcome-assistant {
    right: 6px;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: 0;
  }
  .marudhar-assistant-character {
    height: 88px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 118px;
    padding: 3px 6px;
    margin-right: 6px;
    margin-bottom: 3px;
    border-radius: 12px;
  }
  .marudhar-speech-heading {
    font-size: 0.72rem;
  }
  .marudhar-speech-body {
    font-size: 0.62rem;
  }
}

@media (max-width: 340px) {
  .marudhar-welcome-assistant {
    right: 4px;
    bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  }
  .marudhar-assistant-character {
    height: 78px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 105px;
    padding: 2px 5px;
    margin-right: 4px;
    margin-bottom: 2px;
  }
  .marudhar-speech-heading {
    font-size: 0.66rem;
  }
  .marudhar-speech-body {
    font-size: 0.58rem;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .marudhar-welcome-assistant {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
  .marudhar-assistant-character {
    transition: none !important;
    animation: none !important;
  }
  .marudhar-assistant-speech-bubble {
    transition: opacity 0.3s ease !important;
    transform: none !important;
  }
}

/* ==========================================================================
   MARUDHAR ELECTRIC & POWER — PREMIUM AI CHATBOT PANEL (PHASE 2)
   ========================================================================== */

.marudhar-assistant-chat-active {
  opacity: 0.25 !important;
  transform: translateY(60px) scale(0.85) !important;
  pointer-events: none !important;
}

.marudhar-chatbot-panel {
  position: fixed;
  bottom: 24px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 570px;
  max-height: calc(100vh - 48px);
  z-index: 1045;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(53, 5, 14, 0.32), 0 0 0 1px rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
}

.marudhar-chatbot-panel.chat-closed {
  transform: translateY(40px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.marudhar-chatbot-panel.chat-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Chat Header */
.marudhar-chat-header {
  background: linear-gradient(135deg, #4A0714 0%, #2D040C 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--marudhar-gold, #D4AF37);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.chat-header-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-badge {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--marudhar-gold, #D4AF37);
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border: 1.5px solid #4A0714;
  border-radius: 50%;
}

.chat-header-titles {
  display: flex;
  flex-direction: column;
}

.chat-header-brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.chat-header-subtitle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.chat-badge-ai {
  background: rgba(212, 175, 55, 0.2);
  color: #FFF2B2;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.chat-status-text {
  color: #E2E8F0;
  font-size: 0.70rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.small-dot {
  font-size: 0.45rem;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.chat-header-btn:hover {
  background: rgba(212, 175, 55, 0.3);
  color: #FFF2B2;
  border-color: var(--marudhar-gold, #D4AF37);
}

/* Chat Body */
.marudhar-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #FFFDF8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.marudhar-chat-body::-webkit-scrollbar {
  width: 5px;
}

.marudhar-chat-body::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 10px;
}

/* Chat Messages */
.chat-msg {
  display: flex;
  flex-direction: column;
  animation: fadeInMsg 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg-user {
  align-self: flex-end;
  max-width: 82%;
  align-items: flex-end;
}

.chat-bubble-user {
  background: linear-gradient(135deg, #4A0714 0%, #5D091A 100%);
  color: #FFFFFF;
  border-radius: 16px 16px 2px 16px;
  padding: 9px 13px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(74, 7, 20, 0.18);
  word-break: break-word;
}

.chat-msg-bot {
  align-self: flex-start;
  max-width: 90%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-start;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--marudhar-gold, #D4AF37);
  overflow: hidden;
  background: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-msg-content {
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 36px);
}

.chat-bubble-bot {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px 16px 16px 2px;
  padding: 9px 13px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  word-break: break-word;
}

.chat-msg-time {
  font-size: 0.65rem;
  color: #94A3B8;
  margin-top: 3px;
  padding: 0 4px;
}

/* Quick Suggestion Pills */
.chat-quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px 36px;
}

.chat-pill-btn {
  background: #FFF8E7;
  border: 1px solid var(--marudhar-gold, #D4AF37);
  color: #4A0714;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: left;
}

.chat-pill-btn:hover {
  background: var(--marudhar-gold, #D4AF37);
  color: #4A0714;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.3);
}

/* Typing Indicator */
.chat-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--marudhar-maroon, #4A0714);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-typing-label {
  font-size: 0.68rem;
  color: #64748B;
  font-style: italic;
  margin-top: 2px;
}

/* Human Handoff Strip */
.marudhar-chat-handoff {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-handoff-text {
  font-size: 0.70rem;
  color: #64748B;
  font-weight: 600;
}

.chat-handoff-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-chat-handoff {
  font-size: 0.70rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.2s ease;
}

.btn-chat-wa {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.btn-chat-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
}

.btn-chat-call {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.btn-chat-call:hover {
  background: #D97706;
  color: #FFFFFF;
}

/* Chat Input Footer */
.marudhar-chat-footer {
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input-field {
  flex: 1;
  border: 1.5px solid #CBD5E1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #1E293B;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #FFFDF8;
}

.chat-input-field:focus {
  border-color: var(--marudhar-gold, #D4AF37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.chat-send-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #4A0714;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
  transform: scale(1.06);
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Chatbot Rules */
@media (max-width: 768px) {
  .marudhar-chatbot-panel {
    right: 12px;
    left: 12px;
    bottom: 60px;
    width: auto;
    max-width: none;
    height: calc(100vh - 125px);
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .marudhar-chatbot-panel {
    right: 8px;
    left: 8px;
    bottom: 58px;
    height: calc(100vh - 118px);
  }
  .marudhar-chat-header {
    padding: 10px 12px;
  }
  .chat-header-brand {
    font-size: 0.88rem;
  }
  .chat-quick-suggestions {
    margin-left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marudhar-chatbot-panel {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  .chat-msg {
    animation: none !important;
  }
  .typing-dot {
    animation: none !important;
  }
}

/* Mobile Sticky Bottom CTA Bar — Reference Design */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-top: 1.5px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 -4px 20px rgba(53, 5, 14, 0.15);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1045;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    gap: 8px;
    align-items: stretch;
    min-height: calc(62px + env(safe-area-inset-bottom, 0px));
  }
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.sticky-cta-btn:active {
  transform: scale(0.98);
}

.sticky-cta-btn.call {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #111827;
}

.sticky-cta-btn.call i {
  color: var(--marudhar-gold-dark, #AA771C);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sticky-cta-btn.whatsapp {
  background: #1EBE5D;
  border: 1px solid #1BB056;
  color: #FFFFFF;
}

.sticky-cta-btn.whatsapp i {
  color: #FFFFFF;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.sticky-cta-btn.quotation {
  background: #650B1B;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
}

.sticky-cta-btn.quotation i {
  color: #FFFFFF;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sticky-cta-label {
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .mobile-sticky-cta {
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 4px !important;
  }
  .sticky-cta-btn {
    padding: 6px 3px !important;
    gap: 3px !important;
    justify-content: center;
  }
  .sticky-cta-btn.call i,
  .sticky-cta-btn.quotation i {
    font-size: 0.95rem !important;
  }
  .sticky-cta-btn.whatsapp i {
    font-size: 1.05rem !important;
  }
  .sticky-cta-label {
    font-size: 0.58rem !important;
    letter-spacing: -0.1px;
  }
}

@media (max-width: 360px) {
  .sticky-cta-btn {
    padding: 5px 3px !important;
    gap: 3px !important;
  }
  .sticky-cta-label {
    font-size: 0.58rem !important;
    letter-spacing: 0;
  }
}

.sticky-cta-btn.call .sticky-cta-label {
  color: #111827;
}

.sticky-cta-btn.whatsapp .sticky-cta-label {
  color: #FFFFFF;
}

.sticky-cta-btn.quotation .sticky-cta-label {
  color: #FFFFFF;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.sticky-cta-text .main-text {
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-cta-text .sub-text {
  font-size: 0.62rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.9;
}

.sticky-cta-btn.call .main-text,
.sticky-cta-btn.call .sub-text {
  color: #111827;
}

.sticky-cta-btn.whatsapp .main-text,
.sticky-cta-btn.whatsapp .sub-text {
  color: #FFFFFF;
}

.sticky-cta-btn.quotation .main-text {
  color: #FFFFFF;
}

.sticky-cta-btn.quotation .sub-text {
  color: var(--marudhar-gold-light, #F3E5AB);
}

.hero-title {
  font-size: var(--hero-h1-size) !important;
  letter-spacing: clamp(1px, 0.3vw, 2px);
  line-height: 1.15;
}

.hero-welcome-label {
  letter-spacing: clamp(3px, 0.6vw, 6px);
  font-size: clamp(0.72rem, 1.1vw, 0.95rem) !important;
}

@media (max-width: 991px) {
  .navbar-brand-logo {
    height: 44px;
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .navbar-brand-logo {
    height: 40px;
    max-width: 215px;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .hero-section {
    min-height: auto !important;
    padding-top: 2.5rem !important;
    padding-bottom: 3.5rem !important;
  }
  .hero-cta-btn {
    min-height: 48px;
    padding: 10px 18px;
    font-size: 0.84rem;
  }
  .section-title {
    font-size: var(--section-h2-size) !important;
  }
}

@media (max-width: 576px) {
  .hero-cta-btn {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    white-space: normal;
    text-align: center;
  }
  .hero-section .glass-surface-dark {
    padding: 1.25rem 0.85rem !important;
  }
  /* Stat cards compact grid */
  .stagger-item .glass-surface-emerald {
    padding: 0.75rem 0.5rem !important;
  }
  .stagger-item .glass-surface-emerald i {
    font-size: 1.65rem !important;
    margin-bottom: 0.25rem !important;
  }
  .stagger-item .glass-surface-emerald p {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
  }
  .stagger-item .glass-surface-emerald span {
    font-size: 0.65rem !important;
  }
  /* Business Focus & Services cards */
  .section-title-wrap {
    margin-bottom: 1.5rem !important;
  }
  .section-subtitle-badge {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
    margin-bottom: 0.5rem !important;
  }
  .card.glass-surface-light,
  .marudhar-card {
    padding: 1.25rem 1rem !important;
  }
}

@media (max-width: 480px) {
  .navbar-brand-logo {
    height: 36px;
    max-width: 190px;
  }
  .lead {
    font-size: var(--hero-subtitle-size) !important;
  }
}

@media (max-width: 360px) {
  .navbar-brand-logo {
    height: 32px;
    max-width: 165px;
  }
}

/* ==========================================================================
   BRANDED ERROR / ERROR FALLBACK SYSTEM
   ========================================================================== */

.branded-error-section {
  background: linear-gradient(135deg, #35050E 0%, #4A0714 45%, #5A0A18 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--marudhar-gold);
}

.error-bg-pattern {
  background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.royal-error-card {
  background: rgba(53, 5, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--marudhar-gold);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 25px rgba(212, 175, 55, 0.22);
  padding: 42px 32px;
  position: relative;
  overflow: hidden;
}

.error-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.error-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--marudhar-gold);
  border-radius: 50px;
  padding: 4px 22px;
}

.error-code-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--marudhar-gold);
  letter-spacing: 2px;
  line-height: 1.1;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.5);
}

.error-company-info-box {
  border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.error-brand-title {
  font-size: clamp(1.05rem, 3.8vw, 1.45rem);
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.error-brand-sub {
  font-size: clamp(0.68rem, 2.4vw, 0.82rem);
  letter-spacing: 1px;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .royal-error-card {
    padding: 24px 14px;
    border-radius: 12px;
  }
  .error-brand-title {
    font-size: 1.05rem !important;
    letter-spacing: 0.25px !important;
    white-space: normal;
  }
  .error-brand-sub {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
  }
  .error-brand-logo {
    height: 36px;
    max-width: 160px;
  }
  .error-code-num {
    font-size: 1.85rem;
  }
  .royal-error-card .hero-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}

/* ==========================================================================
   MARUDHAR ELECTRIC & POWER — FESTIVE LED / FAIRY LIGHT FESTOON SYSTEM
   ========================================================================== */

.festoon-light-ribbon {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  height: 22px;
  z-index: 20;
  box-sizing: border-box;
}

.festoon-light-ribbon.festoon-header {
  position: relative;
  margin-top: -1px;
  background: transparent;
}

.festoon-light-ribbon.festoon-footer {
  position: relative;
  margin-bottom: 12px;
}

.festoon-light-ribbon.festoon-hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.festoon-light-ribbon.festoon-hero-bottom {
  position: relative;
  margin-top: 20px;
  margin-bottom: -10px;
  z-index: 10;
}

.festoon-track {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
  overflow: hidden;
}

.festoon-drop {
  flex: 1 1 0px;
  min-width: 0;
  max-width: 44px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Connecting Catenary Drape Wire */
.festoon-wire-sag {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 8px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.42);
  border-radius: 0 0 50% 50%;
  pointer-events: none;
}

/* Bulb Socket Cap */
.festoon-socket {
  position: relative;
  top: 6px;
  width: 4px;
  height: 3px;
  background: linear-gradient(180deg, #4A3B18 0%, #2A210D 100%);
  border-radius: 1px 1px 0 0;
  z-index: 2;
}

/* Round Bulb Core */
.festoon-bulb {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 3;
  will-change: opacity, box-shadow, transform;
}

/* Color Variations Base & Glow States */
.bulb-gold {
  background: radial-gradient(circle at 35% 35%, #FFFDF0 0%, #FFD700 50%, #C59B27 100%);
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.4);
}

.bulb-warm-white {
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFF8E7 50%, #E8D7A5 100%);
  box-shadow: 0 0 4px rgba(255, 248, 231, 0.4);
}

.bulb-amber {
  background: radial-gradient(circle at 35% 35%, #FFF3E0 0%, #FFB300 50%, #D35400 100%);
  box-shadow: 0 0 4px rgba(255, 179, 0, 0.4);
}

.bulb-champagne {
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FCE38A 50%, #D4AF37 100%);
  box-shadow: 0 0 4px rgba(252, 227, 138, 0.4);
}

.bulb-emerald {
  background: radial-gradient(circle at 35% 35%, #E8F8F5 0%, #2ECC71 50%, #1E8449 100%);
  box-shadow: 0 0 4px rgba(46, 204, 113, 0.4);
}

/* Realistic Keyframe Sequences: OFF -> Warm Glow -> Peak Bright Glow -> Fade -> OFF */
@keyframes led-glow-gold {
  0%, 100% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(212, 175, 55, 0.2);
    transform: translateX(-50%) scale(0.95);
  }
  20% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #FFE082, 0 0 9px 2px rgba(255, 215, 0, 0.45);
    transform: translateX(-50%) scale(1.0);
  }
  45% {
    opacity: 1.0;
    box-shadow: 0 0 7px 2px #FFFFFF, 0 0 14px 4px rgba(255, 215, 0, 0.9), 0 0 22px 6px rgba(212, 175, 55, 0.5);
    transform: translateX(-50%) scale(1.08);
  }
  75% {
    opacity: 0.7;
    box-shadow: 0 0 6px 1px #FFE082, 0 0 10px 2px rgba(255, 215, 0, 0.4);
    transform: translateX(-50%) scale(1.0);
  }
}

@keyframes led-glow-white {
  0%, 100% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(255, 248, 231, 0.2);
    transform: translateX(-50%) scale(0.95);
  }
  25% {
    opacity: 0.7;
    box-shadow: 0 0 5px 1px #FFFFFF, 0 0 9px 2px rgba(255, 250, 240, 0.5);
    transform: translateX(-50%) scale(1.0);
  }
  50% {
    opacity: 1.0;
    box-shadow: 0 0 7px 2px #FFFFFF, 0 0 15px 4px rgba(255, 250, 240, 0.9), 0 0 22px 6px rgba(243, 229, 171, 0.45);
    transform: translateX(-50%) scale(1.08);
  }
  80% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #FFF8E7, 0 0 9px 2px rgba(255, 248, 231, 0.4);
    transform: translateX(-50%) scale(1.0);
  }
}

@keyframes led-glow-amber {
  0%, 100% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(255, 179, 0, 0.2);
    transform: translateX(-50%) scale(0.95);
  }
  22% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #FFD54F, 0 0 9px 2px rgba(255, 179, 0, 0.45);
    transform: translateX(-50%) scale(1.0);
  }
  48% {
    opacity: 1.0;
    box-shadow: 0 0 7px 2px #FFF8E1, 0 0 14px 4px rgba(255, 160, 0, 0.9), 0 0 22px 6px rgba(230, 81, 0, 0.45);
    transform: translateX(-50%) scale(1.08);
  }
  78% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #FFCA28, 0 0 9px 2px rgba(255, 179, 0, 0.4);
    transform: translateX(-50%) scale(1.0);
  }
}

@keyframes led-glow-champagne {
  0%, 100% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(252, 227, 138, 0.2);
    transform: translateX(-50%) scale(0.95);
  }
  20% {
    opacity: 0.7;
    box-shadow: 0 0 5px 1px #FFF9C4, 0 0 9px 2px rgba(252, 227, 138, 0.45);
    transform: translateX(-50%) scale(1.0);
  }
  52% {
    opacity: 1.0;
    box-shadow: 0 0 7px 2px #FFFFFF, 0 0 14px 4px rgba(252, 227, 138, 0.85), 0 0 20px 6px rgba(224, 180, 76, 0.4);
    transform: translateX(-50%) scale(1.08);
  }
  82% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #FFF59D, 0 0 9px 2px rgba(252, 227, 138, 0.4);
    transform: translateX(-50%) scale(1.0);
  }
}

@keyframes led-glow-emerald {
  0%, 100% {
    opacity: 0.35;
    box-shadow: 0 0 2px rgba(46, 204, 113, 0.2);
    transform: translateX(-50%) scale(0.95);
  }
  25% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #A3E4D7, 0 0 9px 2px rgba(46, 204, 113, 0.45);
    transform: translateX(-50%) scale(1.0);
  }
  50% {
    opacity: 1.0;
    box-shadow: 0 0 7px 2px #E8F8F5, 0 0 14px 4px rgba(46, 204, 113, 0.85), 0 0 20px 6px rgba(25, 111, 61, 0.35);
    transform: translateX(-50%) scale(1.08);
  }
  75% {
    opacity: 0.65;
    box-shadow: 0 0 5px 1px #A3E4D7, 0 0 9px 2px rgba(46, 204, 113, 0.4);
    transform: translateX(-50%) scale(1.0);
  }
}

/* Staggered Chasing & Timing Phases */
.anim-phase-1 { animation: led-glow-gold 1.8s ease-in-out infinite; animation-delay: 0.0s; }
.anim-phase-2 { animation: led-glow-white 2.1s ease-in-out infinite; animation-delay: 0.45s; }
.anim-phase-3 { animation: led-glow-amber 1.6s ease-in-out infinite; animation-delay: 0.9s; }
.anim-phase-4 { animation: led-glow-champagne 2.3s ease-in-out infinite; animation-delay: 1.35s; }
.anim-phase-5 { animation: led-glow-gold 1.7s ease-in-out infinite; animation-delay: 0.6s; }
.anim-phase-6 { animation: led-glow-emerald 2.0s ease-in-out infinite; animation-delay: 1.1s; }

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .festoon-bulb {
    animation: none !important;
    opacity: 0.85 !important;
    box-shadow: 0 0 6px 1.5px rgba(255, 215, 0, 0.6) !important;
  }
}

/* Responsive Mobile Scaling for Header Festoon */
@media (max-width: 576px) {
  .festoon-light-ribbon {
    height: 16px;
  }
  .festoon-drop {
    min-width: 14px;
    max-width: 26px;
    height: 14px;
  }
  .festoon-wire-sag {
    height: 6px;
    border-bottom-width: 1px;
  }
  .festoon-socket {
    top: 4px;
    width: 3px;
    height: 2px;
  }
  .festoon-bulb {
    width: 5.5px;
    height: 5.5px;
    top: 2px;
  }
}

/* ==========================================================================
   2. MIDDLE SECTION: STAR LED TORAN & TWO DECORATIVE STANDS
   ========================================================================== */

.stat-pillars-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 42px 0 42px;
  box-sizing: border-box;
}

/* Two Decorative Vertical Event Stands */
.event-light-stand {
  position: absolute;
  top: -8px;
  bottom: 0;
  width: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 15;
  pointer-events: none;
}

.event-light-stand.stand-left {
  left: 6px;
}

.event-light-stand.stand-right {
  right: 6px;
}

/* Stand Finial Head Ornament */
.stand-finial-ornament {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2px;
}

.stand-finial-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF8E7 0%, #D4AF37 55%, #8A6B29 100%);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
  border: 1px solid #F3E5AB;
}

.stand-finial-light {
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px 2px #FFE082, 0 0 14px 4px rgba(255, 215, 0, 0.85);
  animation: finial-glow-pulse 2s ease-in-out infinite;
}

@keyframes finial-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Stand Vertical Pole / Shaft */
.stand-vertical-shaft {
  position: relative;
  flex-grow: 1;
  width: 3px;
  background: linear-gradient(180deg, #D4AF37 0%, #F3E5AB 25%, #AA771C 50%, #D4AF37 75%, #8A6B29 100%);
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.4);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

/* Stand Anchor Bracket Arms */
.stand-bracket-arm {
  position: absolute;
  top: 2px;
  width: 14px;
  height: 8px;
  border-top: 2px solid #D4AF37;
  border-radius: 4px 4px 0 0;
}

.stand-left .stand-bracket-arm {
  right: -6px;
  border-right: 2px solid #D4AF37;
}

.stand-right .stand-bracket-arm {
  left: -6px;
  border-left: 2px solid #D4AF37;
}

.stand-filigree-ring {
  width: 7px;
  height: 3px;
  background: #F3E5AB;
  border: 1px solid #AA771C;
  border-radius: 2px;
  box-shadow: 0 0 3px rgba(212, 175, 55, 0.5);
}

/* Stand Base Pedestal */
.stand-ornate-base {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  margin-top: 1px;
}

.base-plate {
  width: 22px;
  height: 4px;
  background: linear-gradient(90deg, #8A6B29 0%, #D4AF37 50%, #8A6B29 100%);
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.base-flair {
  position: absolute;
  bottom: 4px;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid #D4AF37;
}

.base-flair.left {
  left: 2px;
  border-left: 2px solid #D4AF37;
  transform: rotate(-15deg);
}

.base-flair.right {
  right: 2px;
  border-right: 2px solid #D4AF37;
  transform: rotate(15deg);
}

/* Star Toran Canopy Suspended Above the 4 Boxes */
.star-toran-canopy {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding-top: 4px;
  z-index: 12;
  pointer-events: none;
}

/* Main Catenary Swag Wire Connecting Left & Right Stands */
.star-catenary-wire {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 0 0 50% 50%;
  box-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

.star-drops-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

.star-drop-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.star-pendant-wire {
  width: 1px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.7) 0%, rgba(243, 229, 171, 0.45) 100%);
}

.star-drop-unit.len-1 .star-pendant-wire { height: 8px; }
.star-drop-unit.len-2 .star-pendant-wire { height: 16px; }
.star-drop-unit.len-3 .star-pendant-wire { height: 12px; }
.star-drop-unit.len-4 .star-pendant-wire { height: 20px; }

.star-cap-bead {
  width: 3px;
  height: 2px;
  background: #8A6B29;
  border-radius: 1px;
  margin-bottom: 1px;
}

/* 5-Point Star LED */
.star-glowing-body {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
}

.star-svg-shape {
  width: 100%;
  height: 100%;
  fill: #FFE082;
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.5));
  transition: all 0.3s ease;
}

/* Left-to-Right Sequential Golden Chasing Wave */
@keyframes star-chase-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.85);
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
  }
  20% {
    opacity: 0.65;
    transform: scale(1.0);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  }
  45% {
    opacity: 1.0;
    transform: scale(1.22);
    filter: drop-shadow(0 0 8px #FFFFFF) drop-shadow(0 0 16px rgba(255, 215, 0, 0.95)) drop-shadow(0 0 24px rgba(212, 175, 55, 0.6));
  }
  70% {
    opacity: 0.6;
    transform: scale(1.0);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
  }
}

.star-anim-1 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 0.0s; }
.star-anim-2 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 0.25s; }
.star-anim-3 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 0.50s; }
.star-anim-4 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 0.75s; }
.star-anim-5 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 1.00s; }
.star-anim-6 { animation: star-chase-glow 1.8s ease-in-out infinite; animation-delay: 1.25s; }


/* ==========================================================================
   3. FOOTER AREA: MULTI-TONE JEWEL CHASER / RUNNING LED SERIES
   ========================================================================== */

.footer-chaser-ribbon {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  pointer-events: none;
  height: 20px;
  margin-bottom: 12px;
  box-sizing: border-box;
  background: rgba(53, 5, 14, 0.65);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
}

.footer-chaser-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 6px;
  box-sizing: border-box;
}

.chaser-bulb-node {
  flex: 1 1 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 16px;
}

.chaser-bulb-pixel {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  will-change: transform, opacity, box-shadow;
  transition: all 0.15s ease;
  animation: chaser-running-sweep 2.4s linear infinite;
}

/* Jewel Color Identities */
.cp-white { background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFF8E7 50%, #E8D7A5 100%); }
.cp-gold { background: radial-gradient(circle at 35% 35%, #FFFDF0 0%, #FFD700 50%, #C59B27 100%); }
.cp-amber { background: radial-gradient(circle at 35% 35%, #FFF3E0 0%, #FF9800 50%, #D35400 100%); }
.cp-ruby { background: radial-gradient(circle at 35% 35%, #FFEBEE 0%, #E74C3C 50%, #922B21 100%); }
.cp-emerald { background: radial-gradient(circle at 35% 35%, #E8F8F5 0%, #2ECC71 50%, #196F3D 100%); }
.cp-sapphire { background: radial-gradient(circle at 35% 35%, #EBF5FB 0%, #3498DB 50%, #1B4F72 100%); }

/* Continuous Running Sweep Wave Keyframe */
@keyframes chaser-running-sweep {
  0% {
    opacity: 0.28;
    transform: scale(0.88);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
  }
  15% {
    opacity: 0.65;
    transform: scale(1.0);
    box-shadow: 0 0 5px 1px rgba(255, 215, 0, 0.5);
  }
  30% {
    opacity: 1.0;
    transform: scale(1.25);
    box-shadow: 0 0 7px 2px #FFFFFF, 0 0 14px 4px currentColor, 0 0 20px 6px rgba(255, 215, 0, 0.5);
  }
  45% {
    opacity: 0.55;
    transform: scale(0.95);
    box-shadow: 0 0 4px 1px rgba(255, 215, 0, 0.3);
  }
  60%, 100% {
    opacity: 0.28;
    transform: scale(0.88);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
  }
}

/* ==========================================================================
   4. ACCESSIBILITY & RESPONSIVE DESIGN
   ========================================================================== */

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .festoon-bulb,
  .star-glowing-body,
  .chaser-bulb-pixel,
  .stand-finial-light {
    animation: none !important;
    opacity: 0.85 !important;
    transform: none !important;
  }
}

/* Responsive Tablet & Mobile Media Queries */
@media (max-width: 991px) {
  .stat-pillars-stage {
    padding: 10px 32px 0 32px;
  }
  .event-light-stand {
    width: 22px;
  }
  .stand-vertical-shaft {
    width: 2.5px;
  }
  .stand-finial-orb {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 768px) {
  .festoon-drop:nth-child(n+19) {
    display: none !important;
  }
  .stat-pillars-stage {
    padding: 8px 24px 0 24px;
  }
  .event-light-stand {
    width: 18px;
  }
  .stand-vertical-shaft {
    width: 2px;
  }
  .stand-finial-orb {
    width: 7px;
    height: 7px;
  }
  .star-glowing-body {
    width: 13px;
    height: 13px;
  }
  .star-drop-unit.len-1 .star-pendant-wire { height: 5px; }
  .star-drop-unit.len-2 .star-pendant-wire { height: 11px; }
  .star-drop-unit.len-3 .star-pendant-wire { height: 8px; }
  .star-drop-unit.len-4 .star-pendant-wire { height: 14px; }
  .star-toran-canopy {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .festoon-drop:nth-child(n+13) {
    display: none !important;
  }
  .stat-pillars-stage {
    padding: 6px 14px 0 14px;
  }
  .event-light-stand {
    width: 12px;
  }
  .stand-left { left: 1px; }
  .stand-right { right: 1px; }
  .stand-finial-orb {
    width: 6px;
    height: 6px;
  }
  .base-plate {
    width: 14px;
  }
  .star-glowing-body {
    width: 11px;
    height: 11px;
  }
  .footer-chaser-ribbon {
    height: 16px;
  }
  .chaser-bulb-pixel {
    width: 5px;
    height: 5px;
  }
}

/* ==========================================================================
   5. MAGICAL CLICK LIGHT EFFECT (SPARKLES & STARS)
   ========================================================================== */

#marudhar-magical-sparkle-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
  overflow: hidden;
}

.magical-particle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: magical-sparkle-fly var(--dur, 700ms) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes magical-sparkle-fly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0px, 0px) scale(0.2) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(calc(var(--dx) * 0.35), calc(var(--dy) * 0.35)) scale(var(--scale, 1)) rotate(calc(var(--rot, 0deg) * 0.35));
  }
  65% {
    opacity: 0.85;
    transform: translate(-50%, -50%) translate(calc(var(--dx) * 0.8), calc(var(--dy) * 0.8)) scale(calc(var(--scale, 1) * 0.85)) rotate(calc(var(--rot, 0deg) * 0.8));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.1) rotate(var(--rot, 0deg));
  }
}

/* Shape Definitions */
.sparkle-star-4 svg,
.sparkle-star-5 svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sparkle-dot,
.sparkle-dust {
  border-radius: 50%;
}

.sparkle-diamond {
  transform: rotate(45deg);
}

/* Theme Colors */
.theme-gold {
  fill: #FFD700;
  background: radial-gradient(circle at 35% 35%, #FFFDF0 0%, #FFD700 60%, #C59B27 100%);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
  box-shadow: 0 0 5px 1px #FFE082, 0 0 10px 2px rgba(255, 215, 0, 0.6);
}

.theme-champagne {
  fill: #FCE38A;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FCE38A 60%, #D4AF37 100%);
  filter: drop-shadow(0 0 4px rgba(252, 227, 138, 0.9)) drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
  box-shadow: 0 0 5px 1px #FFF9C4, 0 0 9px 2px rgba(252, 227, 138, 0.5);
}

.theme-white {
  fill: #FFFFFF;
  background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFF8E7 60%, #E8D7A5 100%);
  filter: drop-shadow(0 0 5px #FFFFFF) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  box-shadow: 0 0 6px 1px #FFFFFF, 0 0 11px 2px rgba(255, 248, 231, 0.6);
}

.theme-emerald {
  fill: #2ECC71;
  background: radial-gradient(circle at 35% 35%, #E8F8F5 0%, #2ECC71 60%, #196F3D 100%);
  filter: drop-shadow(0 0 4px #2ECC71) drop-shadow(0 0 8px rgba(46, 204, 113, 0.7));
  box-shadow: 0 0 5px 1px #A3E4D7, 0 0 10px 2px rgba(46, 204, 113, 0.6);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  #marudhar-magical-sparkle-layer {
    display: none !important;
  }
}

/* ==========================================================================
   6. PUBLIC CONTENT INTEGRITY & NON-EDITABLE SAFEGUARDS
   ========================================================================== */
body:not(.admin-body) h1,
body:not(.admin-body) h2,
body:not(.admin-body) h3,
body:not(.admin-body) h4,
body:not(.admin-body) h5,
body:not(.admin-body) h6,
body:not(.admin-body) p,
body:not(.admin-body) span,
body:not(.admin-body) div:not(.modal-body form *),
body:not(.admin-body) section,
body:not(.admin-body) article,
body:not(.admin-body) .card,
body:not(.admin-body) .badge {
  -webkit-user-modify: read-only;
}

/* Ensure no unintended caret appears on non-form elements */
body:not(.admin-body) *:not(input):not(textarea):not(select):not([contenteditable="true"]) {
  caret-color: transparent;
}

/* Preserve standard caret inside valid inputs and textareas */
body:not(.admin-body) input,
body:not(.admin-body) textarea,
body:not(.admin-body) select {
  caret-color: auto;
}

/* ==========================================================================
   7. AI CHATBOT LEAD DRAWER & EMBEDDED CUSTOMER CAPTURE (PHASE 2.5)
   ========================================================================== */
.marudhar-lead-drawer {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border-bottom-left-radius: var(--chat-panel-radius, 16px);
  border-bottom-right-radius: var(--chat-panel-radius, 16px);
}

.lead-drawer-closed {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}

.lead-drawer-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.lead-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.lead-drawer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
}

.lead-drawer-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.lead-drawer-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lead-drawer-form {
  padding: 12px 14px;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lead-drawer-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 2px;
  line-height: 1.35;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0;
}

.lead-form-input,
.lead-form-textarea {
  width: 100%;
  padding: 6px 9px;
  font-size: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lead-form-input:focus,
.lead-form-textarea:focus {
  border-color: var(--marudhar-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.lead-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 8px;
  background: #f1f5f9;
  border-radius: 6px;
  border-left: 3px solid #10b981;
  font-size: 0.68rem;
  color: #475569;
  line-height: 1.3;
}

.lead-form-alert {
  padding: 6px 9px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #b91c1c;
  font-size: 0.72rem;
  line-height: 1.3;
}

.lead-drawer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
}

.btn-lead-cancel {
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-lead-cancel:hover {
  background: #e2e8f0;
  color: #334155;
}

.btn-lead-submit {
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  border: 1px solid #D4AF37;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.35);
  transition: all 0.2s ease;
}

.btn-lead-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.45);
}

.btn-chat-inline-lead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  margin-top: 6px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.btn-chat-inline-lead:hover {
  background: #0f172a;
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-1px);
}

/* ==========================================================================
   PHASE 1 UI ENHANCEMENT: GLASSMORPHISM, CURVED SECTIONS, STAGGER & ARC GALLERY
   ========================================================================== */

/* 1. GLASSMORPHIC SURFACE UTILITIES */
.glass-surface-light {
  background: var(--glass-bg-light) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold) !important;
  box-shadow: var(--glass-shadow-light) !important;
  position: relative;
  overflow: hidden;
}

.glass-surface-dark {
  background: var(--glass-bg-dark) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold) !important;
  box-shadow: var(--glass-shadow-dark) !important;
  position: relative;
  overflow: hidden;
}

.glass-surface-emerald {
  background: var(--glass-bg-emerald) !important;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-gold) !important;
  box-shadow: var(--glass-shadow-dark) !important;
  position: relative;
  overflow: hidden;
}

.glass-pill {
  background: rgba(212, 175, 55, 0.14) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--marudhar-gold) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* Glass Card Enhanced Hovers */
.glass-card-hover {
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.glass-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -10px rgba(53, 5, 14, 0.18), 0 0 20px rgba(212, 175, 55, 0.25) !important;
  border-color: var(--marudhar-gold) !important;
}

/* Gold Edge Light Sweep Effect */
.gold-light-sweep {
  position: relative;
  overflow: hidden;
}

.gold-light-sweep::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 170, 0.22), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s ease;
  z-index: 2;
}

.gold-light-sweep:hover::before {
  left: 140%;
}

/* 2. CURVED SECTION TRANSITIONS & HERO BOUNDARIES */
.curve-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}

.curve-divider-top {
  top: -1px;
}

.curve-divider-bottom {
  bottom: -1px;
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 48px;
}

@media (min-width: 768px) {
  .curve-divider svg {
    height: 64px;
  }
}

@media (min-width: 1200px) {
  .curve-divider svg {
    height: 80px;
  }
}

.curve-fill-cream {
  fill: var(--marudhar-cream, #FFFDF8);
}

.curve-fill-white {
  fill: #FFFFFF;
}

.curve-fill-maroon {
  fill: #35050E;
}

.curve-fill-maroon-rich {
  fill: #4A0714;
}

.curve-fill-emerald {
  fill: #092017;
}

.hero-curved-boundary {
  position: relative;
  padding-bottom: 70px;
}

/* Refined Royal Maroon & Gold Journey Transition */
.timeline-transition-wrap {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-transition-line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.45) 30%, rgba(243, 229, 171, 0.7) 50%, rgba(212, 175, 55, 0.45) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-transition-gem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #4A0714 0%, #35050E 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
  font-size: 0.75rem;
}

/* 3. STEP-WISE / STAGGERED MOTION & SCROLL REVEAL ENGINE */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s var(--transition-smooth), transform 0.65s var(--transition-smooth);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-group .stagger-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
  will-change: opacity, transform;
}

.stagger-group.is-revealed .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.is-revealed .stagger-item:nth-child(1) { transition-delay: 0.04s; }
.stagger-group.is-revealed .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger-group.is-revealed .stagger-item:nth-child(3) { transition-delay: 0.20s; }
.stagger-group.is-revealed .stagger-item:nth-child(4) { transition-delay: 0.28s; }
.stagger-group.is-revealed .stagger-item:nth-child(5) { transition-delay: 0.36s; }
.stagger-group.is-revealed .stagger-item:nth-child(6) { transition-delay: 0.44s; }
.stagger-group.is-revealed .stagger-item:nth-child(7) { transition-delay: 0.52s; }
.stagger-group.is-revealed .stagger-item:nth-child(8) { transition-delay: 0.60s; }
.stagger-group.is-revealed .stagger-item:nth-child(9) { transition-delay: 0.68s; }
.stagger-group.is-revealed .stagger-item:nth-child(10) { transition-delay: 0.76s; }
.stagger-group.is-revealed .stagger-item:nth-child(11) { transition-delay: 0.84s; }
.stagger-group.is-revealed .stagger-item:nth-child(12) { transition-delay: 0.92s; }

/* 4. PREMIUM CURVED ROLLING GALLERY / ARC CAROUSEL */
.arc-gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px 10px 20px;
  perspective: 1200px;
  touch-action: pan-y;
}

.arc-gallery-stage {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  margin: 0 auto;
}

.arc-gallery-slide {
  position: absolute;
  width: 480px;
  max-width: 84vw;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.65s var(--transition-smooth), opacity 0.65s var(--transition-smooth), box-shadow 0.65s var(--transition-smooth), border-color 0.65s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  background: #180306;
}

.arc-gallery-slide.is-active {
  transform: translateX(0) scale(1) translateZ(0);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 24px 50px -10px rgba(53, 5, 14, 0.45), 0 0 28px rgba(212, 175, 55, 0.38);
  border: 2px solid var(--marudhar-gold);
}

.arc-gallery-slide.is-prev-1 {
  transform: translateX(-62%) scale(0.82) rotateY(16deg) translateZ(-75px);
  opacity: 0.65;
  z-index: 6;
  pointer-events: auto;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.arc-gallery-slide.is-next-1 {
  transform: translateX(62%) scale(0.82) rotateY(-16deg) translateZ(-75px);
  opacity: 0.65;
  z-index: 6;
  pointer-events: auto;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.arc-gallery-slide.is-prev-2 {
  transform: translateX(-110%) scale(0.66) rotateY(26deg) translateZ(-150px);
  opacity: 0.28;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.arc-gallery-slide.is-next-2 {
  transform: translateX(110%) scale(0.66) rotateY(-26deg) translateZ(-150px);
  opacity: 0.28;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.arc-gallery-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.35) translateZ(-350px);
  z-index: 0;
}

.arc-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.arc-gallery-slide.is-active:hover .arc-slide-img {
  transform: scale(1.04);
}

.arc-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 16px;
  background: linear-gradient(to top, rgba(15, 2, 4, 0.95) 0%, rgba(15, 2, 4, 0.6) 60%, transparent 100%);
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.arc-slide-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  background: rgba(20, 2, 5, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #F3E5AB;
}

.arc-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(53, 5, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--marudhar-gold);
  color: #F3E5AB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.arc-nav-btn:hover {
  background: var(--marudhar-gold);
  color: var(--marudhar-maroon-dark);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.arc-nav-btn.prev-btn {
  left: 12px;
}

.arc-nav-btn.next-btn {
  right: 12px;
}

.arc-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.arc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(74, 7, 20, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.arc-dot.is-active {
  width: 30px;
  border-radius: 12px;
  background: var(--marudhar-gold-gradient);
  border-color: var(--marudhar-gold);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45);
}

/* Mobile & Tablet Responsive Arc Gallery */
@media (max-width: 991px) {
  .arc-gallery-stage {
    height: 340px;
  }
  .arc-gallery-slide {
    width: 380px;
    height: 290px;
  }
  .arc-gallery-slide.is-prev-1 {
    transform: translateX(-52%) scale(0.84) rotateY(12deg) translateZ(-50px);
    opacity: 0.55;
  }
  .arc-gallery-slide.is-next-1 {
    transform: translateX(52%) scale(0.84) rotateY(-12deg) translateZ(-50px);
    opacity: 0.55;
  }
}

@media (max-width: 576px) {
  .arc-gallery-wrapper {
    padding: 20px 4px 15px;
  }
  .arc-gallery-stage {
    height: 280px;
  }
  .arc-gallery-slide {
    width: 290px;
    height: 230px;
    border-radius: 12px;
  }
  .arc-gallery-slide.is-prev-1 {
    transform: translateX(-40%) scale(0.85) rotateY(8deg) translateZ(-30px);
    opacity: 0.4;
  }
  .arc-gallery-slide.is-next-1 {
    transform: translateX(40%) scale(0.85) rotateY(-8deg) translateZ(-30px);
    opacity: 0.4;
  }
  .arc-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .arc-nav-btn.prev-btn { left: 4px; }
  .arc-nav-btn.next-btn { right: 4px; }
}

/* 5. BACKDROP-FILTER FALLBACKS & ACCESSIBILITY */
@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .glass-surface-light {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  .glass-surface-dark {
    background: rgba(53, 5, 14, 0.95) !important;
  }
  .glass-surface-emerald {
    background: rgba(16, 59, 43, 0.95) !important;
  }
  .glass-pill {
    background: #35050E !important;
  }
  .marudhar-navbar {
    background-color: #FFF8EB !important;
  }
  .marudhar-navbar.scrolled {
    background-color: #FFF5E4 !important;
  }
  .marudhar-navbar .dropdown-menu,
  .marudhar-navbar .navbar-collapse {
    background-color: #FFF8EB !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .stagger-group .stagger-item,
  .arc-gallery-slide {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg-slide-item {
    transition: opacity 1.8s ease-in-out !important;
    transform: none !important;
  }
  .hero-bg-slide-item.active,
  .hero-bg-slide-item.previous {
    transform: none !important;
  }
}

/* ========================================================
   6. HERO BACKGROUND AUTO-SLIDER & CINEMATIC OVERLAY
   ======================================================== */
.hero-bg-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease-in-out, transform 7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
  pointer-events: none;
  display: block;
}

.hero-bg-slide-item.active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 1;
}

.hero-bg-slide-item.previous {
  opacity: 0;
  transform: scale(1.05);
  z-index: 0;
}

.hero-bg-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Deep Burgundy / Royal Maroon Gradient Cinematic Overlay */
.hero-bg-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(32, 3, 8, 0.45) 0%,
    rgba(45, 4, 11, 0.55) 42%,
    rgba(32, 3, 8, 0.65) 75%,
    rgba(22, 2, 5, 0.85) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-bg-slider-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(15, 1, 3, 0.55) 100%);
  pointer-events: none;
}

/* Responsive adjustment for Mobile */
@media (max-width: 767.98px) {
  .hero-bg-slide-img {
    object-position: center 35%;
  }
  .hero-bg-slider-overlay {
    background: linear-gradient(
      180deg,
      rgba(32, 3, 8, 0.55) 0%,
      rgba(45, 4, 11, 0.65) 45%,
      rgba(22, 2, 5, 0.88) 100%
    );
  }
}

/* ========================================================
   7. HOMEPAGE UI/UX DENSITY & COMPACT RESPONSIVE DESIGN
   ======================================================== */
.hero-glass-panel {
  background: rgba(35, 4, 10, 0.50) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc-text {
  max-width: 700px;
  font-size: var(--hero-subtitle-size);
  line-height: 1.5;
}

/* Hero Crown Badge */
.hero-crown-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: 30px;
  background: rgba(45, 6, 13, 0.65);
  border: 1.5px solid var(--marudhar-gold, #D4AF37);
  color: var(--marudhar-gold-light, #F3E5AB);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Main Title */
.hero-brand-title {
  font-family: var(--font-serif);
  font-size: var(--hero-h1-size) !important;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  margin-bottom: 8px;
}

.hero-brand-title .text-gold-gradient {
  background: linear-gradient(135deg, #FFFDF8 0%, #F3E5AB 35%, #D4AF37 75%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Diamond Divider */
.hero-diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px auto 14px;
  max-width: 220px;
}

.hero-diamond-divider::before,
.hero-diamond-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--marudhar-gold) 50%, transparent 100%);
}

.hero-diamond-divider .diamond {
  width: 9px;
  height: 9px;
  background: var(--marudhar-gold);
  transform: rotate(45deg);
}

/* Hero Tagline */
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--hero-subtitle-size);
  color: var(--marudhar-gold-light, #F3E5AB);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Hero Description */
.hero-description {
  font-size: var(--body-text-size);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 24px;
}

/* Hero Primary & Secondary CTA Buttons */
.btn-hero-primary {
  background: linear-gradient(135deg, #E5C06E 0%, #D4AF37 50%, #C59B27 100%);
  color: var(--marudhar-maroon-dark, #35050E) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1px solid var(--marudhar-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #F3E5AB 0%, #E5C06E 50%, #D4AF37 100%);
  color: #1A0206 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55);
}

.btn-hero-secondary {
  background: rgba(45, 6, 13, 0.65);
  color: var(--marudhar-gold-light, #F3E5AB) !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  border: 1.5px solid var(--marudhar-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: var(--marudhar-gold);
  color: var(--marudhar-maroon-dark, #35050E) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   HERO 3-CARD GLASSMORPHISM SYSTEM (STRICT NO-DUPLICATION ARCHITECTURE)
   ========================================================================== */

/* Translucent Burgundy Glassmorphic Card Spec:
   - Background: rgba(70, 10, 20, 0.20) (translucent burgundy tint)
   - Blur: 8px - 10px (subtle blur, background photo clearly visible)
   - Border: 1px solid rgba(212, 175, 55, 0.55) (gold accent)
   - Shadow: 0 10px 35px rgba(0, 0, 0, 0.15)
*/
.hero-glass-card {
  background: rgba(70, 10, 20, 0.20) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-glass-card:hover {
  border-color: rgba(212, 175, 55, 0.8) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Card 1: Welcome & Heritage */
.hero-card-1 {
  padding: 24px 28px;
  text-align: center;
  margin-bottom: 20px;
}

.hero-card-1 .hero-crown-badge {
  margin-bottom: 12px;
}

.hero-card-1 .hero-welcome-label {
  display: block;
  font-size: clamp(0.75rem, 1.1vw, 0.92rem);
  letter-spacing: clamp(4px, 0.8vw, 7px);
  color: var(--marudhar-gold-light, #F3E5AB);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card-1 .hero-brand-title {
  margin-bottom: 6px;
}

.hero-card-1 .hero-est-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--marudhar-gold, #D4AF37);
  background: rgba(45, 6, 13, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 4px;
}

/* Card 2: Brand Promise & Business Description */
.hero-card-2 {
  padding: 24px 28px;
  text-align: center;
  margin-bottom: 20px;
}

.hero-card-2 .hero-tagline {
  margin-bottom: 14px;
}

.hero-card-2 .hero-description {
  margin-bottom: 20px;
}

/* Hero CTAs */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn-hero-call {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-call:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: var(--marudhar-gold);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-hero-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1.5px solid #1EBE5D;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-whatsapp:hover {
  background: #1EBE5D;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Card 3: Statistics Only */
.hero-card-3 {
  padding: 20px 24px;
  margin-bottom: 20px;
}

.hero-card-3 .hero-stat-cell {
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease;
}

.hero-card-3 .hero-stat-cell:hover {
  transform: translateY(-3px);
}

.hero-card-3 .stat-icon {
  font-size: 1.6rem;
  color: var(--marudhar-gold, #D4AF37);
  margin-bottom: 6px;
}

.hero-card-3 .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 3px;
}

.hero-card-3 .stat-number span.unit {
  font-size: 0.65em;
  display: inline-block;
  margin-left: 2px;
}

.hero-card-3 .stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--marudhar-gold-light, #F3E5AB);
  line-height: 1.25;
  margin-bottom: 3px;
}

.hero-card-3 .stat-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  line-height: 1.2;
}

/* Micro-indicators Trust Tags */
.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
}

.hero-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--marudhar-gold-light, #F3E5AB);
  background: rgba(45, 6, 13, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 12px;
  border-radius: 16px;
}

.hero-trust-tag i {
  color: var(--marudhar-gold, #D4AF37);
  font-size: 0.8rem;
}

/* Hero Stat Cards (Backward-compatible fallback) */
.hero-stat-card {
  background: rgba(70, 10, 20, 0.20) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.55) !important;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--marudhar-gold) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.25);
}

.hero-stat-card .stat-icon {
  font-size: 1.6rem;
  color: var(--marudhar-gold, #D4AF37);
  margin-bottom: 6px;
}

.hero-stat-card .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-card .stat-number span.unit {
  font-size: 0.65em;
  display: block;
}

.hero-stat-card .stat-label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--marudhar-gold-light, #F3E5AB);
  line-height: 1.25;
  margin-bottom: 4px;
}

.hero-stat-card .stat-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .hero-glass-card {
    background: rgba(70, 10, 20, 0.24) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 14px;
  }
  .hero-card-1 {
    padding: 18px 14px;
    margin-bottom: 14px;
  }
  .hero-card-2 {
    padding: 18px 14px;
    margin-bottom: 14px;
  }
  .hero-card-3 {
    padding: 14px 10px;
    margin-bottom: 14px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-call,
  .btn-hero-whatsapp {
    width: 100%;
    max-width: 320px;
    padding: 11px 18px;
    font-size: 0.84rem;
  }
}

@media (max-width: 576px) {
  .hero-card-3 .hero-stat-cell {
    padding: 10px 4px;
  }
  .hero-card-3 .stat-icon {
    font-size: 1.3rem;
    margin-bottom: 3px;
  }
  .hero-card-3 .stat-number {
    font-size: 1.35rem;
  }
  .hero-card-3 .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }
  .hero-card-3 .stat-sub {
    font-size: 0.60rem;
  }
}

/* Stat Highlight Cards */
.stat-highlight-card {
  padding: 16px 12px;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--marudhar-gold) !important;
  box-shadow: 0 8px 24px rgba(53, 5, 14, 0.12);
}

.stat-number-val {
  font-family: var(--font-serif);
  font-size: var(--stat-number-size);
  font-weight: 800;
  line-height: 1.1;
  color: var(--marudhar-maroon-dark);
}

@media (max-width: 576px) {
  .stat-highlight-card {
    padding: 12px 8px;
    min-height: 85px;
    border-radius: 10px;
  }
  .stat-number-val {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
  }
}

/* Business Focus Cards */
.business-focus-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.business-focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(53, 5, 14, 0.12);
}

.business-focus-title {
  font-size: var(--card-h3-size);
}

.business-focus-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
}

@media (max-width: 576px) {
  .business-focus-icon {
    width: 38px !important;
    height: 38px !important;
    padding: 6px !important;
  }
  .business-focus-icon i {
    font-size: 1rem !important;
  }
  .business-focus-title {
    font-size: 0.92rem;
  }
  .business-focus-desc {
    font-size: 0.76rem !important;
    -webkit-line-clamp: 2;
  }
}

/* Service Card Description */
.service-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
}

@media (max-width: 576px) {
  .service-card-desc {
    font-size: 0.76rem !important;
    -webkit-line-clamp: 2;
  }
}

/* Why Choose Us Cards */
.why-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(53, 5, 14, 0.12);
}

.why-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.45;
}

@media (max-width: 576px) {
  .why-card i {
    font-size: 1.4rem !important;
  }
  .why-desc {
    font-size: 0.76rem !important;
    -webkit-line-clamp: 2;
  }
}

/* Mobile 2-column gutter tightening */
@media (max-width: 576px) {
  .g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
}



