@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);
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--marudhar-charcoal);
  background-color: var(--marudhar-cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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;
}

.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 */
.marudhar-navbar {
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--marudhar-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: all 0.35s ease;
}

.marudhar-navbar.scrolled {
  padding: 6px 0;
  box-shadow: 0 8px 25px rgba(15, 56, 44, 0.12);
}

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

.navbar-brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.marudhar-nav-link {
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--marudhar-charcoal);
  padding: 8px 10px !important;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.marudhar-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--marudhar-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.marudhar-nav-link:hover,
.marudhar-nav-link.active {
  color: var(--marudhar-green);
}

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

/* Header Quotation Button */
.btn-nav-quotation {
  background: var(--marudhar-gold-gradient);
  color: var(--marudhar-green-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.80rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--marudhar-gold);
  box-shadow: 0 2px 10px var(--marudhar-gold-glow);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  white-space: nowrap;
}

.btn-nav-quotation:hover {
  background: #AA771C;
  color: #FFFFFF;
  border-color: #AA771C;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(170, 119, 28, 0.4);
}

/* 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: 2.2rem;
  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: 14px 8px;
    min-height: 100px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.68rem;
    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: -32px; /* Clips lower waist/body below viewport boundary */
  filter: drop-shadow(0 -4px 16px rgba(53, 5, 14, 0.22));
  transform-origin: bottom center;
}

.marudhar-assistant-character {
  height: 180px; /* Visible upper body height ~148px after 32px clipping */
  width: auto;
  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(3deg) translateY(-2px);
  }
  40% {
    transform: rotate(-3deg) translateY(-1px);
  }
  60% {
    transform: rotate(2.5deg) translateY(-2px);
  }
  80% {
    transform: rotate(-1.5deg) translateY(-1px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

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

.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: 20px;
    bottom: 0;
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: -28px;
  }
  .marudhar-assistant-character {
    height: 160px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 170px;
    padding: 7px 12px;
  }
}

@media (max-width: 768px) {
  .marudhar-welcome-assistant {
    right: 12px;
    bottom: 55px;
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: -22px;
  }
  .marudhar-assistant-character {
    height: 135px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 150px;
    padding: 6px 10px;
    margin-right: 6px;
  }
  .marudhar-speech-heading {
    font-size: 0.85rem;
  }
  .marudhar-speech-body {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .marudhar-welcome-assistant {
    right: 8px;
    bottom: 55px;
  }
  .marudhar-assistant-character-wrapper {
    margin-bottom: -20px;
  }
  .marudhar-assistant-character {
    height: 120px;
  }
  .marudhar-assistant-speech-bubble {
    max-width: 135px;
    padding: 5px 8px;
    margin-right: 2px;
  }
}

/* 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 DECORATORS — 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 */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  border-top: 2px solid var(--marudhar-gold);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  z-index: 1035;
}

.hero-title {
  letter-spacing: 2px;
}
.hero-welcome-label {
  letter-spacing: 4px;
}

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

@media (max-width: 768px) {
  .navbar-brand-logo {
    height: 40px;
    max-width: 215px;
  }
  .mobile-sticky-cta {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  body {
    padding-bottom: 65px;
  }
  .whatsapp-float-btn {
    bottom: 75px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .navbar-brand-logo {
    height: 36px;
    max-width: 190px;
  }
  .hero-title {
    font-size: 1.45rem !important;
    letter-spacing: 0.5px !important;
  }
  .hero-welcome-label {
    letter-spacing: 2px !important;
  }
  .lead {
    font-size: 1.05rem !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 DECORATORS — 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;
}
