/* ===================================================================
   DIWALI FESTIVAL OF LIGHTS - SP TRANSACTION HUB TECHNOLOGY PVT. LTD.
   =================================================================== */

:root {
  /* Royal Deep Festive Palette (High Visibility & Crisp Contrast) */
  --bg-primary: #12021f;
  --bg-secondary: #1d0533;
  --bg-card: rgba(36, 10, 61, 0.82);
  --bg-card-hover: rgba(56, 17, 92, 0.92);
  --border-gold: rgba(245, 175, 25, 0.55);
  --border-gold-bright: #ffd700;
  
  --text-main: #ffffff;
  --text-muted: #f2e9f8;
  --text-gold: #ffe07a;

  --accent-gold: #f5af19;
  --accent-gold-gradient: linear-gradient(135deg, #fff3a8 0%, #ffd700 40%, #e58c06 100%);
  --accent-magenta: #ff2e79;
  --accent-pink-gradient: linear-gradient(135deg, #ff4b93 0%, #d61c6a 50%, #8c033e 100%);
  --accent-purple: #8338ec;
  --flame-glow: rgba(255, 140, 0, 0.7);

  --shadow-gold: 0 8px 32px rgba(245, 175, 25, 0.3);
  --shadow-deep: 0 16px 48px rgba(0, 0, 0, 0.65);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Rozha One', 'Cinzel Decorative', serif;
  --font-sans: 'Outfit', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

/* Royal Ivory & Gold Theme (Daylight Presentation Theme from PDF) */
body.theme-ivory {
  --bg-primary: #fffbf2;
  --bg-secondary: #fff4e0;
  --bg-card: rgba(255, 255, 255, 0.96);
  --bg-card-hover: #ffffff;
  --border-gold: rgba(184, 107, 0, 0.45);
  --border-gold-bright: #b86b00;

  --text-main: #190226;
  --text-muted: #3a154d;
  --text-gold: #9e5b00;

  --shadow-gold: 0 10px 30px rgba(184, 107, 0, 0.2);
  --shadow-deep: 0 12px 36px rgba(43, 11, 66, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(105, 48, 195, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(232, 23, 93, 0.12) 0%, transparent 45%);
}

/* Background Animated Rangoli Watermark */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: url('assets/mandala.svg') no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  animation: slowSpin 140s linear infinite;
}

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

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
}

.gold-text {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 2px 14px rgba(245, 175, 25, 0.3);
}

.shimmer-text {
  background: linear-gradient(90deg, #ffd700 0%, #ffffff 50%, #ffd700 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Top Auspicious Marigold Toran Border */
.toran-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: url('assets/toran.svg') repeat-x top center;
  background-size: auto 48px;
  z-index: 100;
  pointer-events: none;
  opacity: 0.95;
}

/* ===================================================================
   NAVIGATION BAR (Properly Sized, Elegant & Spacious)
   =================================================================== */

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 72px;
  z-index: 100;
  background: rgba(18, 2, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(245, 175, 25, 0.45);
  padding: 10px 28px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

body.theme-ivory .header-nav {
  background: rgba(255, 251, 242, 0.96);
  border-bottom-color: rgba(184, 107, 0, 0.4);
  box-shadow: 0 4px 20px rgba(43, 11, 66, 0.12);
}

.nav-container {
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.company-logo-badge {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(245, 175, 25, 0.6);
  transition: transform 0.25s ease;
}

.company-logo-badge:hover {
  transform: scale(1.03);
}

.company-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.9px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
}

body.theme-ivory .brand-name {
  color: #190226;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffd700;
}

body.theme-ivory .nav-link:hover, body.theme-ivory .nav-link.active {
  color: #b86b00;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent-gold-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Audio Waveform Indicator */
.audio-toggle-btn {
  background: rgba(245, 175, 25, 0.15);
  border: 1px solid var(--border-gold-bright);
  color: #ffd700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.audio-toggle-btn:hover {
  background: rgba(245, 175, 25, 0.3);
  box-shadow: 0 0 14px rgba(245, 175, 25, 0.5);
  transform: translateY(-1px);
}

.audio-waves {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.audio-waves span {
  display: inline-block;
  width: 3px;
  height: 6px;
  background-color: #ffd700;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-waves.playing span:nth-child(1) { animation: wave 0.8s infinite ease-in-out; }
.audio-waves.playing span:nth-child(2) { animation: wave 0.8s infinite 0.2s ease-in-out; }
.audio-waves.playing span:nth-child(3) { animation: wave 0.8s infinite 0.4s ease-in-out; }
.audio-waves.playing span:nth-child(4) { animation: wave 0.8s infinite 0.1s ease-in-out; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold-bright);
  color: #ffffff;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s ease;
}

body.theme-ivory .theme-toggle-btn {
  color: #190226;
  background: rgba(184, 107, 0, 0.1);
}

.theme-toggle-btn:hover {
  background: rgba(245, 175, 25, 0.25);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
}

body.theme-ivory .mobile-menu-btn {
  color: #190226;
}

/* Medium screen adjustments (Laptops 1024px to 1340px) */
@media (max-width: 1340px) {
  .nav-links { gap: 11px; }
  .nav-link { font-size: 0.86rem; padding: 5px 2px; }
  .brand-tagline { display: none; }
  .audio-toggle-btn, .theme-toggle-btn { padding: 6px 10px; font-size: 0.78rem; }
}

/* ===================================================================
   DIWALI FAIRY STRING LIGHTS (दीवाली लड़ी / FESTIVE LIGHTING GARLANDS)
   =================================================================== */

/* Header Hanging Fairy Lights */
.diwali-fairy-lights {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 36px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  pointer-events: none;
  z-index: 95;
  overflow: visible;
}

/* Festive Wire Cable along Header */
.diwali-fairy-lights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: radial-gradient(ellipse at 50% -20%, transparent 66%, rgba(245, 175, 25, 0.45) 68%, rgba(245, 175, 25, 0.7) 70%, transparent 72%);
  background-size: 50px 12px;
  background-repeat: repeat-x;
}

/* Individual Hanging Bulb Unit */
.fairy-bulb-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: lightSway 3.6s ease-in-out infinite alternate;
}

/* Wire drop to socket */
.fairy-bulb-wire {
  width: 1.5px;
  height: 10px;
  background: rgba(245, 175, 25, 0.65);
  margin-bottom: -1px;
}

/* Dark socket cap */
.fairy-bulb-cap {
  width: 6px;
  height: 5px;
  background: #332005;
  border: 1px solid #d49a15;
  border-radius: 2px 2px 0 0;
  z-index: 2;
}

/* Glowing Teardrop Bulb */
.fairy-bulb-glass {
  width: 12px;
  height: 17px;
  border-radius: 50% 50% 60% 60%;
  position: relative;
  z-index: 1;
  animation: bulbTwinkle 1.8s ease-in-out infinite;
}

/* Color Variants with Vibrant Diwali Glow */
.bulb-gold {
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #ffd700 45%, #ff9900 100%);
  box-shadow: 0 0 10px 3px rgba(255, 215, 0, 0.9), 0 0 22px 6px rgba(255, 153, 0, 0.5);
}

.bulb-pink {
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #ff2e79 45%, #c20054 100%);
  box-shadow: 0 0 10px 3px rgba(255, 46, 121, 0.9), 0 0 22px 6px rgba(232, 23, 93, 0.5);
}

.bulb-green {
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #00f5a0 45%, #00b368 100%);
  box-shadow: 0 0 10px 3px rgba(0, 245, 160, 0.9), 0 0 22px 6px rgba(0, 204, 119, 0.5);
}

.bulb-cyan {
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #00f0ff 45%, #0088cc 100%);
  box-shadow: 0 0 10px 3px rgba(0, 240, 255, 0.9), 0 0 22px 6px rgba(0, 153, 255, 0.5);
}

.bulb-purple {
  background: radial-gradient(circle at 38% 35%, #ffffff 0%, #b34bff 45%, #6900cc 100%);
  box-shadow: 0 0 10px 3px rgba(179, 75, 255, 0.9), 0 0 22px 6px rgba(138, 43, 226, 0.5);
}

/* Animations */
@keyframes lightSway {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

@keyframes bulbTwinkle {
  0%, 100% {
    opacity: 0.85;
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.6);
    transform: scale(1.1);
  }
}

/* Section Light Festoon Swags */
.section-lights-swag {
  width: 100%;
  max-width: 600px;
  height: 32px;
  margin: 12px auto 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  position: relative;
  pointer-events: none;
}

.section-lights-swag .fairy-bulb-unit {
  animation-duration: 2.8s;
}

/* Floating Golden Diwali Light Orbs in Background */
.diwali-floating-lights-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-light-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 120, 0.95) 0%, rgba(245, 175, 25, 0.45) 50%, transparent 75%);
  box-shadow: 0 0 18px 4px rgba(245, 175, 25, 0.55);
  animation: floatOrb 14s infinite ease-in-out;
  pointer-events: none;
}

@keyframes floatOrb {
  0% {
    transform: translateY(105vh) translateX(0) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-8vh) translateX(50px) scale(1.15);
    opacity: 0;
  }
}

/* ===================================================================
   HERO 3D SECTION (Slide 1 Theme)
   =================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
  z-index: 10;
}

/* 3D WebGL Canvas Wrapper */
#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: grab;
}

#hero-3d-canvas:active {
  cursor: grabbing;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  pointer-events: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hero-content-box {
  max-width: 680px;
  pointer-events: auto;
  background: rgba(18, 2, 31, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 175, 25, 0.15);
  animation: fadeInUp 1s ease-out;
}

body.theme-ivory .hero-content-box {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-deep);
}

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

.festive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 175, 25, 0.18);
  border: 1px solid var(--border-gold-bright);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(245, 175, 25, 0.4);
}

body.theme-ivory .hero-title {
  color: #35094f;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.hero-corporate-greeting {
  font-size: 1.15rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

body.theme-ivory .hero-corporate-greeting {
  color: #2b0b42;
  text-shadow: none;
}

/* Diya Live Interactive Counter Badge */
.diya-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 23, 93, 0.15);
  border: 1px solid rgba(232, 23, 93, 0.4);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.diya-counter-val {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffd700;
}

/* Button Styles */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--accent-gold-gradient);
  color: #2b0b42;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(245, 175, 25, 0.35);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 175, 25, 0.55);
}

.btn-secondary {
  background: rgba(232, 23, 93, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--accent-magenta);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

body.theme-ivory .btn-secondary {
  color: #2b0b42;
}

.btn-secondary:hover {
  background: var(--accent-magenta);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 23, 93, 0.4);
}

.pulse-gold {
  animation: pulseGold 0.8s ease-out;
}

@keyframes pulseGold {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 175, 25, 0.8); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 20px rgba(245, 175, 25, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 175, 25, 0); }
}

/* 3D Canvas Hint */
.canvas-hint {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 5;
  background: rgba(18, 2, 31, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--accent-gold);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ===================================================================
   SHARED SECTION STYLES & ORNAMENTS
   =================================================================== */

.section-block {
  position: relative;
  padding: 100px 24px;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 10;
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-subtag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-intro-text {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

body.theme-ivory .section-intro-text {
  color: #350c4f;
  text-shadow: none;
}

.decorative-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.divider-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--border-gold-bright), transparent);
}

.divider-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}

/* ===================================================================
   SECTION 2: FESTIVAL OF LIGHTS (Slides 2 & 5)
   =================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}

.story-card-glass::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 175, 25, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.story-card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.story-card-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 18px;
  line-height: 1.7;
}

body.theme-ivory .story-card-lead {
  color: #a65800;
}

.story-card-body {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.8;
}

body.theme-ivory .story-card-body {
  color: #2b0b42;
}

/* Feature Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s ease;
}

body.theme-ivory .pillar-item {
  background: rgba(255, 255, 255, 0.65);
}

.pillar-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(245, 175, 25, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.6;
}

body.theme-ivory .pillar-desc {
  color: #2b0b42;
}

/* Decorative Illustration Frame */
.illustration-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-mandala-bg {
  position: absolute;
  width: 100%;
  max-width: 440px;
  opacity: 0.18;
  animation: slowSpin 90s linear infinite;
}

.elephant-duo-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elephant-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s ease;
}

.elephant-img:hover {
  transform: scale(1.03);
}

/* ===================================================================
   SECTION 3: 5 AUSPICIOUS DAYS OF DIWALI (Slide 3 & 7)
   =================================================================== */

.days-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.day-festive-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.day-festive-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 16px 36px rgba(245, 175, 25, 0.25);
}

.day-number-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gold-gradient);
  color: #2b0b42;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.day-icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(245, 175, 25, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.day-card-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--accent-gold);
}

.day-card-tag {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-magenta);
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.day-card-desc {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.65;
}

body.theme-ivory .day-card-desc {
  color: #2b0b42;
}

/* ===================================================================
   SECTION 4: THE SACRED LEGENDS & TRADITIONS (Slide 4 & 8)
   =================================================================== */

.legends-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.legend-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  box-shadow: var(--shadow-deep);
}

.legend-box:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 20px 48px rgba(245, 175, 25, 0.35);
}

.legend-card-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-bottom: 2px solid var(--border-gold);
  background: #190226;
}

.legend-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.legend-box:hover .legend-card-img {
  transform: scale(1.06);
}

.legend-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(18, 2, 31, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-bright);
  color: #ffd700;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.legend-content {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.legend-content h3 {
  font-size: 1.45rem;
  font-family: var(--font-serif);
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.35;
}

body.theme-ivory .legend-content h3 {
  color: #2b0b42;
}

.legend-content p {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.75;
}

body.theme-ivory .legend-content p {
  color: #2b0b42;
}

/* ===================================================================
   SECTION 5: 3D CELEBRATION PLAYGROUND & FIREWORKS (Slide 9)
   =================================================================== */

.playground-card {
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dedicated Live Cracker Arena */
.cracker-arena-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 380px;
  margin: 28px auto 20px;
  background: radial-gradient(circle at 50% 60%, rgba(42, 6, 64, 0.95) 0%, rgba(13, 1, 23, 0.98) 100%);
  border: 2px solid var(--border-gold-bright);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 50px rgba(245, 175, 25, 0.15), 0 12px 35px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  cursor: crosshair;
}

body.theme-ivory .cracker-arena-box {
  background: radial-gradient(circle at 50% 60%, #2f074d 0%, #150224 100%);
  box-shadow: inset 0 0 40px rgba(245, 175, 25, 0.25), 0 12px 35px rgba(94, 59, 120, 0.3);
}

.cracker-arena-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.arena-status-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 2, 31, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-bright);
  padding: 6px 18px;
  border-radius: 999px;
  color: #ffd700;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  z-index: 10;
  transition: all 0.3s ease;
}

.arena-sound-pill {
  background: rgba(245, 175, 25, 0.2);
  border: 1px solid var(--border-gold-bright);
  color: #ffd700;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.arena-sound-pill:hover {
  background: var(--accent-gold);
  color: #2b0b42;
  box-shadow: 0 0 12px rgba(245, 175, 25, 0.6);
}

.status-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00f5d4;
  box-shadow: 0 0 8px #00f5d4;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.arena-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: var(--accent-gold);
  background: rgba(18, 2, 31, 0.65);
  padding: 4px 14px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
}

/* Cracker Controls Row */
.crackers-controls-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.cracker-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

body.theme-ivory .cracker-btn {
  background: #ffffff;
}

.cracker-btn:hover {
  background: rgba(245, 175, 25, 0.18);
  border-color: var(--border-gold-bright);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(245, 175, 25, 0.3);
}

.cracker-btn.active-bursting {
  background: linear-gradient(135deg, rgba(232, 23, 93, 0.35) 0%, rgba(245, 175, 25, 0.35) 100%) !important;
  border-color: #ffd700 !important;
  box-shadow: 0 0 25px rgba(255, 153, 0, 0.7), 0 0 50px rgba(232, 23, 93, 0.4) !important;
  transform: translateY(-6px) scale(1.05) !important;
  animation: buttonCracklePulse 0.4s infinite alternate;
}

@keyframes buttonCracklePulse {
  from { filter: brightness(1.0); }
  to { filter: brightness(1.25); }
}

.cracker-emoji {
  font-size: 2.4rem;
}

.cracker-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-gold);
}

.cracker-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================================================================
   SECTION 6: PERSONALIZED GREETING CARD MAKER (Slide 10)
   =================================================================== */

.card-maker-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.card-inputs-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.25s ease;
}

body.theme-ivory .form-control {
  background: #ffffff;
  color: #2b0b42;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(245, 175, 25, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* LIVE CARD PREVIEW CONTAINER */
.card-preview-container {
  position: relative;
  perspective: 1000px;
}

.festive-greeting-card {
  background: radial-gradient(circle at 50% 20%, #2f074d 0%, #150224 100%);
  border: 2px solid var(--border-gold-bright);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 175, 25, 0.25);
  position: relative;
  overflow: hidden;
  text-align: center;
}

body.theme-ivory .festive-greeting-card {
  background: radial-gradient(circle at 50% 20%, #fffbf0 0%, #fff1d6 100%);
  border-color: #d48f00;
  box-shadow: 0 20px 50px rgba(94, 59, 120, 0.2);
}

/* Card Decorative Corners */
.card-corner-motif {
  position: absolute;
  width: 90px;
  height: 90px;
  opacity: 0.25;
  pointer-events: none;
}

.corner-top-left { top: -15px; left: -15px; }
.corner-top-right { top: -15px; right: -15px; transform: scaleX(-1); }
.corner-bot-left { bottom: -15px; left: -15px; transform: scaleY(-1); }
.corner-bot-right { bottom: -15px; right: -15px; transform: scale(-1); }

.card-company-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-logo-badge {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 175, 25, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.card-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.card-diya-center {
  width: 100px;
  height: 80px;
  margin: 0 auto 16px;
  animation: floatDiya 3s ease-in-out infinite;
}

@keyframes floatDiya {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.card-recipient-display {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

body.theme-ivory .card-recipient-display {
  color: #9e5b00;
  text-shadow: none;
}

.card-heading-display {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 2px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(245, 175, 25, 0.4);
}

body.theme-ivory .card-heading-display {
  color: #2b0b42;
  text-shadow: none;
}

.card-message-display {
  font-size: 1.18rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 28px;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

body.theme-ivory .card-message-display {
  color: #190226;
  font-weight: 600;
  text-shadow: none;
}

.card-signature-display {
  border-top: 1px dashed var(--border-gold);
  padding-top: 18px;
  margin-top: 20px;
}

.card-sender-display {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 4px;
}

body.theme-ivory .card-sender-display {
  color: #190226;
}

.card-corporate-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

body.theme-ivory .card-corporate-title {
  color: #b86b00;
}

/* Card Action Toolbar */
.card-actions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.btn-card-action {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-card-action:hover {
  background: var(--accent-gold);
  color: #2b0b42;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 175, 25, 0.35);
}

/* ===================================================================
   SECTION 7: CORPORATE LEADERSHIP MESSAGE & ABOUT SP TRANSACTION HUB
   =================================================================== */

.corporate-banner-card {
  background: linear-gradient(135deg, rgba(42, 8, 69, 0.85) 0%, rgba(20, 2, 36, 0.92) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

body.theme-ivory .corporate-banner-card {
  background: linear-gradient(135deg, #fff7ea 0%, #ffeed1 100%);
}

.corporate-intro-badge {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.88rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.corporate-banner-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.corporate-banner-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.corporate-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.corp-badge-pill {
  background: rgba(245, 175, 25, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.corporate-logo-feature-box {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--border-gold-bright);
}

.corp-big-logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.corp-motto {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #2b0b42;
  font-weight: 700;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
  position: relative;
  background: #0d0117;
  border-top: 1px solid var(--border-gold);
  padding: 60px 24px 30px;
  z-index: 10;
}

body.theme-ivory .site-footer {
  background: #2b0b42;
  color: #fcf8f2;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-col-title {
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
}

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

.footer-nav-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--accent-gold);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Interactive Floating Quick-Action Dock */
.floating-action-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 2, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-bright);
  border-radius: 999px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 80;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 175, 25, 0.2);
}

body.theme-ivory .floating-action-dock {
  background: rgba(255, 255, 255, 0.92);
}

.dock-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  background: var(--accent-gold-gradient);
  color: #2b0b42;
}

/* Toast Message */
.sp-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #2b0b42;
  color: #ffd700;
  border: 1px solid var(--border-gold-bright);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.sp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */

/* ===================================================================
   ROYAL COMMEMORATIVE PRINT DESIGN (Best Quality Print & PDF Export)
   =================================================================== */
@page {
  size: A4 portrait;
  margin: 10mm;
}

@media print {
  /* Hide all website navigation, background elements, buttons, and docks */
  body, html {
    background: #ffffff !important;
    color: #190226 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  body::before,
  .header-nav,
  .toran-header,
  .hero-section,
  #festival-of-lights,
  #auspicious-days,
  #legends,
  #traditions,
  #fireworks-fun,
  #corporate-message,
  .site-footer,
  .floating-action-dock,
  .card-inputs-panel,
  .card-actions-toolbar,
  .section-header-centered,
  .sp-toast {
    display: none !important;
    visibility: hidden !important;
  }

  /* Make only the greeting card visible and centered as an official certificate */
  .card-maker-wrapper {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .card-preview-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .festive-greeting-card {
    visibility: visible !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 720px !important;
    margin: 20px auto !important;
    padding: 48px 40px !important;
    background: #fffdf8 !important;
    color: #190226 !important;
    border: 8px double #b86b00 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    page-break-inside: avoid !important;
  }

  .festive-greeting-card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid #ffd700;
    pointer-events: none;
  }

  .festive-greeting-card * {
    visibility: visible !important;
  }

  .card-corner-motif {
    opacity: 0.55 !important;
    width: 100px !important;
    height: 100px !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .card-company-header {
    margin-bottom: 20px !important;
  }

  .card-logo-badge {
    background: #ffffff !important;
    border: 2px solid #b86b00 !important;
    padding: 8px 18px !important;
    box-shadow: none !important;
  }

  .card-logo-img {
    height: 52px !important;
  }

  .card-diya-center {
    width: 110px !important;
    height: 85px !important;
    margin: 10px auto 16px !important;
    animation: none !important;
  }

  .card-recipient-display {
    color: #9e5b00 !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
  }

  .card-heading-display {
    color: #350c4f !important;
    font-size: 3.2rem !important;
    margin-bottom: 18px !important;
  }

  .card-message-display {
    color: #190226 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.9 !important;
    max-width: 600px !important;
    margin: 0 auto 26px !important;
  }

  .card-signature-display {
    border-top: 2px solid #b86b00 !important;
    padding-top: 18px !important;
    margin-top: 24px !important;
  }

  .card-sender-display {
    color: #190226 !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
  }

  .card-corporate-title {
    color: #9e5b00 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 2px solid var(--border-gold-bright);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    display: none;
    gap: 16px;
  }
  .nav-links.nav-open { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero-overlay { justify-content: center; }
  .hero-title { font-size: 3.2rem; }
  .story-grid, .corporate-banner-card { grid-template-columns: 1fr; gap: 36px; }
  .card-maker-wrapper { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
  .legends-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-gold);
    display: none;
  }
  .nav-links.nav-open { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .hero-content-box { padding: 28px 20px; }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.3rem; }
  .section-title { font-size: 2.2rem; }
  .legends-split { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .floating-action-dock { width: 90%; justify-content: space-around; padding: 6px 12px; }
  .floating-action-dock .dock-btn span { display: none; }
  .footer-top-grid { grid-template-columns: 1fr; }
}
