/* ==========================================================================
   THAI KALAIGAL - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. Global Reset & Theme Variables */
:root {
  /* Premium Heritage Colors */
  --color-gold: #D4AF37;
  --color-gold-glow: rgba(212, 175, 55, 0.4);
  --color-gold-dim: rgba(212, 175, 55, 0.15);
  --color-blue-deep: #0B0E14;
  --color-blue-royal: #121722;
  --color-maroon: #6B1020;
  --color-maroon-glow: rgba(107, 16, 32, 0.5);
  --color-maroon-dim: rgba(107, 16, 32, 0.15);
  --color-silver: #C0C0C0;
  --color-ivory: #F5F1E8;
  --color-ivory-dim: rgba(245, 241, 232, 0.6);
  --color-black: #080808;
  --color-black-pure: #000000;

  /* Glassmorphism Variables */
  --glass-bg: rgba(12, 12, 12, 0.75);
  --glass-border: rgba(212, 175, 55, 0.2);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-decor: 'Cinzel Decorative', 'Cinzel', serif;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-mid: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;

  /* Original Git Variables */
  --maroon: #6b1d2f;
  --maroon-dark: #3a0d16;
  --maroon-light: #9c3549;

  --blue: #162238;
  --blue-dark: #0a101c;
  --blue-light: #243555;

  --gold: #d4af37;
  --gold-glow: #ffc107;
  --gold-dark: #8c6d1d;

  --text-light: #f5f5f0;
  --text-muted: #b5b5ad;
  --bg-dark: #0c0b0a;

  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --font-title: 'Cinzel', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;
  --font-logo: 'Cinzel Decorative', serif;
}

/* Font utility classes */
.font-title {
  font-family: var(--font-serif) !important;
}

.font-body {
  font-family: var(--font-sans) !important;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--color-black-pure);
  color: var(--color-ivory);
  font-family: var(--font-sans);
  scroll-snap-type: none;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #080808;
  /* Solid dark so watermark layer shows through */
  position: relative;
}

/* Text Selection */
::selection {
  background: var(--color-gold-dim);
  color: var(--color-gold);
}

/* Focus Outline for Accessibility */
*:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

/* --- Watermark Background --- */
.heritage-watermark-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('assets/1.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.03;
  /* Subtler background texture visibility */
  filter: grayscale(40%);
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 1;
  /* sits above the body background */
  transform: translate3d(0, 0, 0);
  /* Removed will-change: transform — fixed full-viewport layer wastes GPU memory */
}

/* --- Torchlight Glow Effect --- */
.bg-torch-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(900px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(107, 29, 47, 0.04) 0%, transparent 60%);
  z-index: 300;
  mix-blend-mode: screen;
  transition: background 0.3s ease;
}

/* --- Animated Heritage Grid Pattern --- */
.heritage-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 60s linear infinite;
}

@keyframes gridShift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 80px 80px;
  }
}



/* ==========================================================================
   2. Background Depth Layers
   ========================================================================== */

/* Layer 1: Heritage Artwork Watermark — Fixed, covers all sections is declared above */

/* Layer 2: Floating Tamil Letters */
.tamil-letters-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  mix-blend-mode: screen;
  opacity: 0.7;
}

.floating-letter {
  position: absolute;
  font-family: var(--font-decor);
  font-weight: 700;
  user-select: none;
  pointer-events: none;
  filter: blur(1px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.glow-gold {
  color: rgba(212, 175, 55, 0.75);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.glow-maroon {
  color: rgba(200, 46, 68, 0.65);
  text-shadow: 0 0 12px rgba(200, 46, 68, 0.3);
}

.section-tamil-letter {
  mix-blend-mode: soft-light;
}

.glow-dark-red {
  color: #5a1020;
  text-shadow: 0 0 10px rgba(107, 16, 32, 0.4);
}

.glow-dark-gold {
  color: #7a5c10;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ── Section-injected Tamil Letter Drift Animations ── */
@keyframes tamilDrift1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(18px, -20px) rotate(3deg);
  }

  45% {
    transform: translate(-14px, -28px) rotate(-2deg);
  }

  70% {
    transform: translate(20px, -16px) rotate(3deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes tamilDrift2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-18px, 14px) rotate(-3deg);
  }

  55% {
    transform: translate(12px, 22px) rotate(2deg);
  }

  80% {
    transform: translate(-16px, 12px) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes tamilDrift3 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  30% {
    transform: translate(22px, -10px) rotate(4deg) scale(1.03);
  }

  60% {
    transform: translate(-10px, -24px) rotate(-2deg) scale(0.98);
  }

  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes tamilDrift4 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  35% {
    transform: translate(-18px, -14px) rotate(-3deg);
  }

  65% {
    transform: translate(16px, 20px) rotate(2deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes tamilDrift5 {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  40% {
    transform: translate(14px, 20px) rotate(2deg) scale(1.03);
  }

  75% {
    transform: translate(-18px, 10px) rotate(-2deg) scale(0.98);
  }

  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

/* Layer 3: Soft Gold Light Particles */
.particles-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  /* Moved behind sections to not disturb content */
  pointer-events: none;
  overflow: visible;
}

.gold-particle {
  position: absolute;
  background: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 8px var(--color-gold), 0 0 15px var(--color-gold-glow);
  animation: driftUp infinite linear;
}

@keyframes driftUp {
  0% {
    transform: translateY(105vh) translateX(0) scale(0.6) rotate(0deg);
    opacity: 0;
  }

  8% {
    opacity: 0.3;
  }

  25% {
    transform: translateY(75vh) translateX(30px) scale(0.9) rotate(90deg);
  }

  50% {
    transform: translateY(50vh) translateX(-20px) scale(1.1) rotate(180deg);
    opacity: 0.35;
  }

  75% {
    transform: translateY(25vh) translateX(40px) scale(0.8) rotate(270deg);
  }

  92% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-10vh) translateX(-10px) scale(1.2) rotate(360deg);
    opacity: 0;
  }
}

/* Pulsing glow variant for some particles */
.gold-particle.pulse {
  animation: driftUp infinite linear, particlePulse 3s ease-in-out infinite;
}

@keyframes particlePulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--color-gold), 0 0 15px var(--color-gold-glow);
  }

  50% {
    box-shadow: 0 0 16px var(--color-gold), 0 0 30px var(--color-gold-glow), 0 0 45px rgba(212, 175, 55, 0.15);
  }
}

/* Ember particle variant — rises slower with a warm maroon tone */
.gold-particle.ember {
  background: var(--color-maroon);
  box-shadow: 0 0 8px var(--color-maroon), 0 0 15px var(--color-maroon-glow);
  animation: driftUpEmber infinite linear;
}

@keyframes driftUpEmber {
  0% {
    transform: translateY(105vh) translateX(0) scale(0.5);
    opacity: 0;
  }

  10% {
    opacity: 0.2;
  }

  50% {
    transform: translateY(50vh) translateX(-35px) scale(0.9);
    opacity: 0.25;
  }

  90% {
    opacity: 0.1;
  }

  100% {
    transform: translateY(-10vh) translateX(25px) scale(1.0);
    opacity: 0;
  }
}

/* ==========================================================================
   3. Header & Navigation (Glassmorphism on scroll)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  /* above everything */
  padding: 24px 3%;
  /* Reduced padding to gain horizontal/vertical space */
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.site-header.scrolled {
  padding: 12px 3%;
  /* Reduced padding to gain horizontal/vertical space */
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.site-header.hidden-up {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Reduced gap to accommodate links */
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--color-gold);
  display: inline-block;
  position: relative;
  transition: var(--transition-mid);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.logo-text:hover {
  filter: drop-shadow(0 0 12px var(--color-gold-glow)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.35));
}

/* .logo-text::after removed to delete Tamil letter next to logo */

@keyframes shineRun {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.gold-gradient-text {
  background: linear-gradient(90deg, var(--color-gold) 0%, #FFE58F 25%, #FFFFFF 50%, #FFE58F 75%, var(--color-gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineRun 3s linear infinite;
  animation-play-state: paused;
  /* Paused by default, activated when visible */
}

.gold-gradient-text.shine-visible {
  animation-play-state: running;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
  /* Reduced gap on desktop to prevent wrapping */
}

.nav-link {
  font-family: var(--font-sans);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  /* Slightly reduced font size for desktop alignment */
  color: var(--color-ivory-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  /* Prevent menu items wrapping into Y-wavy layouts */
}

.nav-open {
  overflow: hidden;
}

@media (min-width: 1025px) {
  .site-header.hidden-up {
    transform: translateY(0) !important;
  }
}

/* Media query to scale down header links for smaller laptops */
@media (min-width: 1025px) and (max-width: 1366px) {
  .nav-menu ul {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
  text-shadow: 0 0 10px var(--color-gold-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
  transition: var(--transition-mid);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  z-index: 110;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-toggle:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.2px;
  background-color: var(--color-gold);
  margin: 5px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Premium Micro-Animations & Hover Effects
   ========================================================================== */

/* Nav link hover glow sweep */
.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

/* Slide card shimmer border */
.slide-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 30%, rgba(212, 175, 55, 0.4) 50%, transparent 70%);
  background-size: 250% 250%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: shimmerBorder 3s linear infinite;
}

.slide-card:hover::before {
  opacity: 1;
}

@keyframes shimmerBorder {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 200% 200%;
  }
}

/* Showcase card border light sweep on hover */
.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.15) 50%, transparent 60%);
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  animation: borderLightSweep 4s ease-in-out infinite;
}

.showcase-card:hover::after {
  opacity: 1;
}

@keyframes borderLightSweep {

  0%,
  100% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 100%;
  }
}

/* Button hover glow pulse */
.btn-hero-explore,
.breath-btn,
.form-btn.submit,
.microsite-back-btn {
  position: relative;
  overflow: hidden;
}

.btn-hero-explore::after,
.breath-btn::after,
.form-btn.submit::after,
.microsite-back-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn-hero-explore:hover::after,
.breath-btn:hover::after,
.form-btn.submit:hover::after,
.microsite-back-btn:hover::after {
  width: 200%;
  height: 200%;
}

/* Achievement card counter glow on hover */
.achievement-card:hover .achievement-number {
  text-shadow: 0 0 20px var(--color-gold-glow), 0 0 40px rgba(212, 175, 55, 0.2);
  transition: text-shadow 0.3s ease;
}

/* Sound pad ripple effect */
.sound-pad::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sound-pad.playing::after {
  opacity: 1;
  animation: padRipple 0.5s ease-out;
}

@keyframes padRipple {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ==========================================================================
   4. Horizontal Storytelling Container (Desktop Hybrid Layout)
   ========================================================================== */

/* The trigger section provides the vertical scroll height to pin the viewport */
/* The trigger section provides the vertical scroll height to pin the viewport */
.stacked-slides-container {
  display: block;
  width: 100%;
  position: relative;
  background: var(--bg-dark, #060606);
}

.stacked-slide {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.9);
  will-change: transform;
  padding: 30px 40px;
  /* Space between each slide card and the viewport edges */
  box-sizing: border-box;
}

#kungfu {
  z-index: 10;
}

#yoga {
  z-index: 20;
}

#records {
  z-index: 30;
}

#events {
  z-index: 40;
}

.stacked-slide .slide-card {
  width: 100%;
  height: 100%;
  /* Retain the original border-radius (20px) to make the slide look like a card with space around it */
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.05);
  transform-origin: center top;
}

/* Horizontal Quick Nav Arrows */
.slide-nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
}

.slide-nav-btn {
  pointer-events: auto;
  background: rgba(8, 8, 8, 0.75);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25), inset 0 0 15px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: pulse-arrow 2.5s ease-in-out 1s 3;
  /* pulse 3 times on load to draw attention */
}

.slide-btn-label {
  font-size: 0.55rem;
  letter-spacing: 2px;
  font-family: var(--font-sans);
  font-weight: 600;
  opacity: 0.7;
  line-height: 1;
}

@keyframes pulse-arrow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25), inset 0 0 15px rgba(212, 175, 55, 0.05);
  }

  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.15);
  }
}

.slide-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-black-pure);
  box-shadow: 0 0 35px var(--color-gold-glow), 0 0 60px rgba(212, 175, 55, 0.2);
  transform: scale(1.12);
}

.slide-nav-btn:hover .slide-btn-label {
  opacity: 1;
}

.slide-nav-btn.hidden {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* ── Slide Dot Indicators ─────────────────────────── */
.slide-dots-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 100;
  pointer-events: none;
}

.slide-dot {
  pointer-events: auto;
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
}

.slide-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  transition: all 0.35s ease;
}

.slide-dot.active {
  width: 28px;
  border-radius: 5px;
  border-color: var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold-glow);
}

.slide-dot.active::after {
  inset: 2px;
  border-radius: 3px;
  background: var(--color-gold);
}

.slide-dot:hover:not(.active) {
  border-color: var(--color-gold);
  transform: scale(1.3);
}

/* Tooltip on hover */
.dot-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(8, 8, 8, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.slide-dot:hover .dot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Right-Edge Section Side Nav ─────────────────── */
.section-side-nav {
  display: none !important;
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 0;
}

.side-nav-track {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  pointer-events: none;
}

.side-nav-progress {
  width: 100%;
  background: linear-gradient(to bottom, var(--color-gold), rgba(212, 175, 55, 0.4));
  border-radius: 2px;
  height: 0%;
  transition: height 0.4s ease;
  box-shadow: 0 0 6px var(--color-gold-glow);
}

.side-nav-markers {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  padding-right: 14px;
}

.side-nav-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  direction: rtl;
  /* dot on right, label on left */
}

.marker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  background: transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.marker-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: rgba(212, 175, 55, 0.4);
  font-weight: 500;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.side-nav-marker:hover .marker-label,
.side-nav-marker.active .marker-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--color-gold);
}

.side-nav-marker.active .marker-dot {
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold-glow);
  transform: scale(1.4);
}

.side-nav-marker:hover .marker-dot {
  border-color: var(--color-gold);
  transform: scale(1.2);
}

/* Hide side nav on small screens */



.scroll-slide {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 60px 4% 30px 4%;
  /* Reduced padding to maximize card height */
  overflow: visible;
  /* Allow Tamil letters to be visible */
  background: rgba(8, 8, 8, 0.0);
  perspective: 1200px;
}

/* Soft directional ambient glows behind sections */
.section-overlay-light {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  filter: blur(140px);
}

/* Section 1 & 5 get subtle gold glows, 2 & 4 get maroon glows */
#kungfu .section-overlay-light {
  background: radial-gradient(circle, var(--color-gold-dim) 0%, transparent 70%);
  top: 10%;
  right: 5%;
}

#yoga .section-overlay-light {
  background: radial-gradient(circle, var(--color-maroon-dim) 0%, transparent 70%);
  bottom: 5%;
  left: 5%;
}

#records .section-overlay-light {
  background: radial-gradient(circle, var(--color-gold-dim) 0%, transparent 70%);
  top: -10%;
  left: 20%;
}


#events .section-overlay-light {
  background: radial-gradient(circle, var(--color-gold-dim) 0%, transparent 70%);
  top: 40%;
  left: 5%;
}

/* Flex layout grids inside sections */
.section-container {
  width: 100%;
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
  position: relative;
  z-index: 5;
}

.section-container.reverse {
  flex-direction: row-reverse;
}

/* ==========================================================================
   5. Hero Section (Home - Vertical scroll base)
   ========================================================================== */

.hero-section {
  width: 100vw;
  height: 100vh;
  /* Strict 100vh on desktop to fit single view snapping */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Changed from center to flex-start for safe centering */
  box-sizing: border-box;
  padding: 95px 6% 15px 6%;
  /* Reduced top padding to prevent button overflow */
  overflow: hidden;
  /* Prevent internal scrollbars */
  background: transparent;
  z-index: 1;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.microsite-section {
  min-height: 100vh;
  margin-bottom: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 50px 45px;
  border-radius: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Background Video and Controls (Centered Layout) */
.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  z-index: 15;
  position: relative;
  box-sizing: border-box;
  margin-top: auto;
  /* Push down to center vertically */
  margin-bottom: auto;
  /* Distribute vertical margins */
}

.hero-header-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  /* Reduced vertical space */
}

.hero-header-block .hero-welcome {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 10px var(--color-gold-glow);
}

.hero-header-block .hero-title-top {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 3.8rem;
  /* Reduced slightly to ensure single viewport fit on all laptops */
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.1;
  color: var(--color-ivory);
  text-shadow: 0 0 15px var(--color-gold-glow), 0 0 30px rgba(212, 175, 55, 0.15);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
  text-align: center;
}

.hero-header-block .hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin: 6px 0;
  /* Reduced vertical space */
}

.hero-header-block .hero-title-sub {
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-ivory);
  margin-top: 3px;
  text-align: center;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Featured Video Centerpiece */
.hero-video-centered-container {
  width: 98%;
  max-width: 1200px;
  height: 48vh;
  /* Widescreen immersive height */
  min-height: 200px;
  max-height: 650px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Luxury Museum Video Frame */
.hero-video-frame {
  position: relative;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 0 20px rgba(212, 175, 55, 0.08);
  background: rgba(15, 15, 15, 0.65);
  padding: 0;
  /* Modern borderless design */
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.hero-video-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 175, 55, 0.45),
    0 0 28px rgba(212, 175, 55, 0.18);
}

.hero-featured-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  opacity: 0.95;
  /* Clear visual clarity */
  transition: opacity 0.5s ease;
}

.hero-video-frame-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  /* Soft inner glow gradient to blend edges */
  background: radial-gradient(circle at center, transparent 40%, rgba(10, 10, 10, 0.25) 90%);
  pointer-events: none;
  z-index: 2;
}

/* Glass control bar styled inside the video frame */
.hero-video-frame-controls {
  display: none !important;
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.video-frame-control-btn {
  background: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: rgba(212, 175, 55, 0.6);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.video-frame-control-btn:not(.is-muted) {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.video-frame-control-btn.is-muted {
  background: rgba(15, 15, 15, 0.6);
  border-color: rgba(212, 175, 55, 0.2);
  color: rgba(255, 255, 255, 0.4);
}

.video-frame-control-btn:hover {
  background: var(--color-gold);
  color: #0c0c0c !important;
  border-color: var(--color-gold);
  transform: scale(1.08);
}

.video-frame-control-btn .control-icon {
  font-size: 0.9rem;
  line-height: 1;
}

/* Details and Actions Block */
.hero-details-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-details-block .hero-description {
  font-size: 0.95rem;
  /* Reduced slightly */
  line-height: 1.6;
  color: var(--color-ivory-dim);
  margin-bottom: 10px;
  /* Reduced vertical space */
  max-width: 680px;
  text-align: center;
}

.hero-details-block .hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Mobile responsive media query overrides for centered hero layout */

.hero-welcome {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-gold);
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 0 0 10px var(--color-gold-glow);
}

.hero-title {
  margin-bottom: 16px;
}

.hero-title-top {
  display: block;
  font-family: var(--font-serif);
  font-size: 5.6rem;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.1;
  color: var(--color-ivory);
  text-shadow: 0 0 20px var(--color-gold-glow), 0 0 40px rgba(212, 175, 55, 0.2);
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.8));
}

.gold-char {
  color: var(--color-gold);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 18px 0;
}

.divider-line {
  height: 1px;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
}

.divider-seal {
  font-size: 1.6rem;
  color: var(--color-gold);
  text-shadow: 0 0 10px var(--color-gold-glow);
  line-height: 1;
}

.hero-title-sub {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--color-ivory);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.15), 0 0 25px var(--color-gold-dim);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(245, 241, 232, 0.7);
  max-width: 760px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.btn-hero-explore {
  background: rgba(10, 26, 53, 0.55);
  border: 1px solid var(--color-gold);
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 15px 36px;
  cursor: pointer;
  transition: var(--transition-mid);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: 45px;
}

.btn-hero-explore:hover {
  background: var(--color-gold-dim);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2), 0 0 15px var(--color-gold-glow);
  transform: translateY(-2px);
  color: #FFF;
}

/* ============================================================
   Premium In-Slide Explore Button  (.premium-explore-btn)
   ============================================================ */
.premium-explore-btn {
  /* Reset */
  -webkit-appearance: none;
  appearance: none;

  /* Layout */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px 13px 26px;
  cursor: pointer;

  /* Glassmorphic dark card look */
  background: linear-gradient(135deg,
      rgba(18, 14, 8, 0.82) 0%,
      rgba(30, 22, 6, 0.78) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  /* Gold border with subtle inner glow */
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.08),
    0 4px 18px rgba(0, 0, 0, 0.55),
    0 0 0 0 rgba(212, 175, 55, 0);

  /* Typography */
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.88);

  /* Shimmer sweep via pseudo-element */
  position: relative;
  overflow: hidden;

  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s ease;
}

/* Shimmer sweep layer */
.premium-explore-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(212, 175, 55, 0.18) 50%,
      transparent 70%);
  background-size: 220% 100%;
  background-position: 200% 0;
  transition: background-position 0.6s ease;
  pointer-events: none;
  border-radius: inherit;
}

/* Hover sweep */
.premium-explore-btn:hover::before {
  background-position: -30% 0;
}

/* Hover state */
.premium-explore-btn:hover {
  border-color: rgba(212, 175, 55, 0.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.25),
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(212, 175, 55, 0.22);
}

/* Active press */
.premium-explore-btn:active {
  transform: translateY(0px);
  box-shadow:
    inset 0 0 0 1px rgba(212, 175, 55, 0.15),
    0 3px 10px rgba(0, 0, 0, 0.4);
}

/* Sparkle / icon */
.premium-explore-btn .btn-icon {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--color-gold);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
  display: inline-block;
  flex-shrink: 0;
}

.premium-explore-btn:hover .btn-icon {
  transform: rotate(90deg) scale(1.2);
  color: #ffd966;
}

/* Text span */
.premium-explore-btn .btn-text {
  flex: 1;
  line-height: 1;
}

.scroll-indicator {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 10;
}

.scroll-prompt-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  opacity: 0.85;
  animation: pulseGlow 2s infinite alternate;
}

.mouse-scroll-icon {
  width: 26px;
  height: 44px;
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 10px var(--color-gold-glow);
}

.mouse-wheel {
  display: block;
  width: 4px;
  height: 10px;
  background-color: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 22px;
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.5;
    text-shadow: 0 0 2px var(--color-gold-glow);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 12px var(--color-gold);
  }
}

/* ==========================================================================
   6. Content Layout Structures (Left details, Right widgets)
   ========================================================================== */

.text-content-column {
  flex: 0 0 45%;
  max-width: 45%;
}

.widget-column {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section elements styling */
.section-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  background: rgba(212, 175, 55, 0.05);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1), 0 0 30px var(--color-gold-dim);
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-ivory-dim);
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Glass Panels & Shadows */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  z-index: 2;
  transition: var(--transition-mid);
}

.glass-panel-hover {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

/* Subtle mouse tilt 3D depth */
.glass-panel-hover:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px var(--color-gold-glow);
}

/* Buttons */
.btn-action-gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, #B8860B 100%);
  color: var(--color-black);
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-mid);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  width: 100%;
}

.btn-action-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45), 0 0 15px var(--color-gold);
}

.cta-btn {
  background: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-ivory);
  padding: 14px 32px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 10px;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  box-shadow: 0 0 0 rgba(212, 175, 55, 0);
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-gold), #FFE58F);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.cta-btn:hover {
  color: #000;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4), 0 0 20px var(--color-gold-glow);
  transform: translateY(-3px);
  border-color: transparent;
}

.cta-btn:hover::before {
  transform: translateX(0);
}

.cta-btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
  transition: width 0.6s, height 0.6s, opacity 0.6s;
}

.cta-btn.primary-btn {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border-color: var(--color-gold);
}

.cta-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   Slide Card Layout Structure
   ========================================================================== */

/* Full-height slide card */
.slide-card {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-top: 1px solid rgba(255, 231, 153, 0.6);
  border-left: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(145deg, rgba(15, 15, 15, 0.7) 0%, rgba(8, 8, 8, 0.85) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 80px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  z-index: 5;
  /* 3D Tilt support */
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, border-color 0.5s ease;
}

.slide-card:hover {
  box-shadow:
    0 60px 140px rgba(0, 0, 0, 0.95),
    0 0 80px rgba(212, 175, 55, 0.2),
    inset 0 0 40px rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.6);
}

/* Expand to Fullscreen Button */
.slide-expand-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  /* Pull slightly forward in 3D space */
  transform: translateZ(30px);
}

.slide-expand-btn:hover {
  background: var(--color-gold);
  color: #000;
  transform: translateZ(40px) scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* Colour-theme overlays - highly transparent so watermark is visible */
.bg-maroon-theme {
  background: linear-gradient(135deg, rgba(107, 16, 32, 0.72) 0%, rgba(9, 9, 9, 0.72) 62%, rgba(42, 20, 14, 0.54) 100%);
}

.bg-blue-theme {
  background: linear-gradient(135deg, rgba(18, 52, 48, 0.68) 0%, rgba(9, 9, 9, 0.72) 58%, rgba(78, 33, 40, 0.46) 100%);
}

.bg-yellow-theme {
  background: linear-gradient(135deg, rgba(122, 88, 24, 0.62) 0%, rgba(9, 9, 9, 0.72) 58%, rgba(62, 22, 34, 0.46) 100%);
}

.slide-card-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 36%, rgba(0, 0, 0, 0.2)),
    radial-gradient(ellipse at 24% 28%, rgba(255, 217, 122, 0.08) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 72%, rgba(255, 255, 255, 0.045) 0%, transparent 42%);
  pointer-events: none;
}

/* Two-column grid inside card */
.slide-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 3vw, 42px);
  gap: clamp(22px, 3vw, 44px);
  box-sizing: border-box;
}

/* Left info column */
.slide-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
  overflow-y: auto;
  /* Prevent cutoff of details on small laptop heights */
  scrollbar-width: none;
  /* Hide scrollbar for pristine layout */
}

.slide-info::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

.slide-number {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--color-gold);
  opacity: 1;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.slide-number::after {
  content: "";
  width: 60px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.slide-number::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold-glow);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-ivory);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
  margin-bottom: 12px;
}

.slide-title .highlight {
  background: linear-gradient(90deg, #D4AF37 0%, #FFE58F 50%, #D4AF37 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  font-weight: 900;
  animation: textShine 4s linear infinite;
}

@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.slide-description {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(245, 241, 232, 0.85);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.slide-media-box {
  position: relative;
  width: 100%;
  height: clamp(180px, 22vh, 260px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent),
    rgba(12, 11, 10, 0.7);
  margin: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.slide-media-box:hover {
  border-color: var(--color-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
  transform: translateY(-4px);
}

.slide-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 55, 0.4);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.02) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.slide-media-box:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
}

/* Dynamic Slide Highlights List */
.slide-highlights-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.slide-highlights-list li {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.slide-highlights-list li::before {
  content: "✦";
  color: var(--color-gold);
  font-size: 0.85rem;
  text-shadow: 0 0 10px var(--color-gold-glow);
}

.slide-highlights-list li:hover {
  color: #FFF;
  transform: translateX(6px);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 2x2 Grid for Meta Items */
.slide-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding-top: 14px;
}

.meta-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
}

.meta-label {
  color: var(--color-gold);
  font-weight: 600;
  min-width: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

.meta-value {
  color: rgba(245, 241, 232, 0.75);
}

/* Right interactive column */
.slide-interactive {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

/* Glassmorphism Interactive Box */

.interactive-box {
  width: 100%;
  max-height: min(72vh, 660px);
  background: linear-gradient(145deg, rgba(15, 15, 15, 0.6), rgba(8, 8, 8, 0.75));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(212, 175, 55, 0.08),
    inset 0 0 25px rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  overflow-y: auto;
  transition: all 0.5s ease;
}

.interactive-box:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(212, 175, 55, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.6);
}

#kungfu .slide-grid {
  grid-template-columns: minmax(640px, 1.35fr) minmax(340px, 0.65fr);
  align-items: stretch;
}

#kungfu .slide-interactive {
  align-items: stretch;
}

#kungfu .slide-info {
  justify-content: center;
}

#kungfu .interactive-box {
  height: auto;
  max-height: none;
  padding: 16px;
  overflow: visible;
}

#kungfu .interactive-box>.widget-title,
#kungfu .interactive-box>.widget-intro {
  flex: 0 0 auto;
}

#kungfu-preview-box {
  display: none;
}

#records .slide-grid {
  grid-template-columns: minmax(520px, 1.18fr) minmax(360px, 0.82fr);
}

#records .slide-title {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}

#records .slide-info {
  min-height: 0;
}

#kungfu .slide-interactive,
#records .slide-interactive,
#events .slide-interactive {
  order: 1;
}

#kungfu .slide-info,
#records .slide-info,
#events .slide-info {
  order: 2;
}

#records .slide-grid {
  grid-template-columns: minmax(520px, 1.18fr) minmax(360px, 0.82fr);
  align-items: stretch;
}

#yoga .slide-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  align-items: stretch;
}

#yoga .slide-interactive,
#records .slide-interactive {
  align-items: stretch;
}

#yoga .interactive-box,
#records .interactive-box {
  height: auto;
  max-height: none;
  overflow: visible;
}

.records-copy-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}

.records-copy-panel .widget-title {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
  margin: 0;
}

.records-copy-panel .catchy-heading {
  color: var(--text-light);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  margin: 0;
}

.records-copy-panel .catchy-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.records-copy-panel .catchy-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.records-copy-panel .catchy-stat {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.14);
}

.records-copy-panel .stat-number {
  font-size: 1.55rem;
  font-weight: 800;
}

.records-copy-panel .stat-label {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Custom premium gold scrollbar for interactive boxes */
.interactive-box::-webkit-scrollbar {
  width: 6px;
}

.interactive-box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.interactive-box::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 4px;
}

.interactive-box::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.55);
}

.stone-engraving::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(212, 175, 55, 0.05);
  pointer-events: none;
}

.widget-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.widget-intro {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-weight: 300;
}

/* --- WIDGET 1: Kungfu Stance visualizer --- */
.stance-visualizer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stance-canvas-container {
  width: 100%;
  height: 190px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.stance-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.stance-details-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 15px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

.stance-details-overlay h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 3px;
}

.stance-details-overlay p {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.stance-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stance-tab {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-muted);
  padding: 10px;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all 0.3s;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.stance-tab:hover {
  border-color: var(--gold);
  color: var(--text-light);
  background: rgba(212, 175, 55, 0.05);
}

.stance-tab.active {
  border-color: var(--gold);
  color: #000;
  background-color: var(--gold);
  font-weight: bold;
}

/* --- WIDGET 2: Siddhar Breathing Guide --- */
.breath-visualizer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

.breath-circle-outer {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.breath-circle-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 93, 133, 0.4) 0%, rgba(15, 32, 48, 0.8) 100%);
  border: 1px solid var(--blue-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out, box-shadow 1s ease-in-out, background 1s;
  box-shadow: 0 0 20px rgba(45, 93, 133, 0.3);
}

.breath-circle-inner.inhale {
  transform: scale(1.5);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5) 0%, rgba(30, 93, 133, 0.8) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.5);
}

.breath-circle-inner.hold {
  background: radial-gradient(circle, rgba(156, 53, 73, 0.4) 0%, rgba(30, 93, 133, 0.8) 100%);
  border-color: var(--maroon-light);
  box-shadow: 0 0 30px rgba(156, 53, 73, 0.4);
}

.breath-circle-inner.exhale {
  transform: scale(1);
  background: radial-gradient(circle, rgba(30, 93, 133, 0.3) 0%, rgba(15, 32, 48, 0.9) 100%);
  border-color: var(--blue-light);
  box-shadow: 0 0 15px rgba(30, 93, 133, 0.2);
}

.breath-timer-label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
}

.breath-timer-secs {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
}

.breath-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.breath-btn {
  background: var(--blue-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 10px 30px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.breath-btn:hover {
  background-color: var(--blue);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(45, 93, 133, 0.4);
}

.breath-btn.active {
  background-color: var(--maroon);
  border-color: var(--gold);
}

.breath-stats {
  display: flex;
  gap: 30px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.breath-stats strong {
  color: var(--gold);
}

/* --- WIDGET 3: Hall of Records --- */
.record-widget-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.records-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  margin-bottom: 15px;
  min-height: 0;
}

.records-carousel.image-only-carousel {
  position: relative;
  width: 100%;
  padding: 0 4px;
  margin-top: 10px !important;
}

.record-card-container {
  flex-grow: 1;
  height: 100%;
  position: relative;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 58%),
    rgba(5, 5, 5, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.record-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(10px, 1.4vw, 18px);
  box-sizing: border-box;
}

.record-item.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.record-item-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.record-item-image.full-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 0;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 8px;
  box-shadow: none;
}

.record-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.record-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.record-item-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 8px;
}

.record-item-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.record-item-meta {
  font-size: 0.65rem;
  color: var(--gold-dark);
}

.record-nav-btn {
  flex: 0 0 auto;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.36);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#records .record-dots {
  margin-bottom: 10px !important;
}

.records-slideshow-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.records-slideshow-widget .records-carousel {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 !important;
}

.records-slideshow-widget .record-card-container {
  min-height: 420px;
}

.record-nav-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.record-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
  max-height: 40px;
  overflow: hidden;
}

.record-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.record-dot.active {
  background-color: var(--gold);
  width: 14px;
  border-radius: 3px;
}

/* Records submission form overlay */
.record-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 11, 10, 0.98);
  border-radius: 4px;
  padding: 20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.form-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 5px;
}

.record-form-overlay form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.record-form-overlay input,
.record-form-overlay textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-light);
  padding: 8px 12px;
  font-size: 0.75rem;
  border-radius: 3px;
  font-family: var(--font-body);
}

.record-form-overlay textarea {
  resize: none;
  height: 45px;
}

.record-form-overlay input:focus,
.record-form-overlay textarea:focus {
  border-color: var(--gold);
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 5px;
}

.form-btn {
  padding: 8px 20px;
  font-size: 0.7rem;
  font-family: var(--font-title);
  border-radius: 3px;
  transition: all 0.3s;
  cursor: pointer;
}

.form-btn.cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.form-btn.cancel:hover {
  border-color: var(--text-light);
  color: var(--text-light);
}

.form-btn.submit {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #000;
  font-weight: bold;
}

.form-btn.submit:hover {
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: growIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-success h5 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 5px;
}

.form-success p {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 80%;
  margin-bottom: 15px;
}

/* --- WIDGET 4: Siddhar Acoustic Soundboard --- */
.soundboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.sound-pad {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 6px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.sound-pad:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.04);
  transform: translateY(-2px);
}

.sound-pad:active,
.sound-pad.playing {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3), inset 0 0 8px rgba(255, 193, 7, 0.2);
  transform: scale(0.98);
}

.pad-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.pad-name {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pad-sub {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.soundboard-visualizer {
  width: 100%;
  height: 45px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 5px;
  box-sizing: border-box;
}

.bar-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 100%;
  height: 100%;
}

.vis-bar {
  flex-grow: 1;
  background: var(--gold-dark);
  height: 1px;
  border-radius: 1px 1px 0 0;
  transition: height 0.1s ease, background 0.3s;
}

/* --- WIDGET 5: Corporate Synergy Configurator --- */
.calculator-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  height: 100%;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.input-group label span {
  color: var(--gold);
  font-weight: bold;
}

.input-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  transition: transform 0.1s;
}

.input-group input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.3);
}

.focus-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.focus-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-muted);
  padding: 6px 3px;
  font-size: 0.6rem;
  border-radius: 4px;
  font-family: var(--font-title);
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.focus-chip:hover {
  border-color: var(--gold);
  color: var(--text-light);
}

.focus-chip.active {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #000;
  font-weight: bold;
}

.calc-result {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 4px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 5px;
}

.result-header h4 {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--gold);
}

.intensity-badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  background-color: var(--maroon);
  border: 1px solid var(--maroon-light);
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.result-activities {
  list-style: none;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-activities li::before {
  content: "✦ ";
  color: var(--gold);
}

.result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  margin-top: 3px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  padding-top: 3px;
}

.price-label {
  color: var(--text-muted);
}

.price-value {
  color: var(--gold);
  font-weight: bold;
}

.booking-dialog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 11, 10, 0.98);
  border-radius: 4px;
  z-index: 10;
}

.booking-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 15px;
}

.booking-success span {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.booking-success h5 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 5px;
}

.booking-success p {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 80%;
  margin-bottom: 15px;
}

/* --- Footer --- */
.site-footer {
  background: rgba(8, 8, 8, 0.5);
  /* transparent so watermark shows through */
  padding: 40px 5% 30px 5%;
  /* Reduced top padding */
  margin-top: -2px;
  /* Pull it flush against the sticky viewport */
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  box-sizing: border-box;
  width: 100%;
  scroll-snap-align: start;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 50px auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-title);
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.contact-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-brand {
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Full Screen Modal
   ========================================================================== */

.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.fullscreen-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fullscreen-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.fullscreen-modal-content {
  position: relative;
  z-index: 2;
  width: 95vw;
  height: 90vh;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(5, 5, 5, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.1);
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.fullscreen-modal.hidden .fullscreen-modal-content {
  transform: scale(0.95) translateY(20px);
}

.close-modal-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  padding-bottom: 4px;
  /* visually center the × */
}

.close-modal-btn:hover {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
  transform: rotate(90deg);
}

.content-popup-shell {
  max-width: 1180px;
}

.content-popup-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-popup-head {
  padding: 34px 38px 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), transparent);
}

.content-popup-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

#content-popup-title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 2vw, 2.8rem);
  color: var(--color-ivory);
}

#content-popup-summary {
  margin: 0;
  max-width: 820px;
  color: rgba(245, 241, 232, 0.78);
  line-height: 1.7;
}

.content-popup-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 28px 38px 36px;
}

.popup-rich-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.popup-copy-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.popup-copy-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.popup-copy-card p {
  margin: 0 0 18px;
  color: rgba(245, 241, 232, 0.8);
  line-height: 1.75;
}

.popup-bullet-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(245, 241, 232, 0.86);
  line-height: 1.8;
}

.popup-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
}

.popup-media-card {
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.popup-media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.popup-media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* On mobile, adjust the modal size */

/* Scroll To Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: rgba(12, 11, 10, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover {
  border-color: var(--gold);
  background-color: var(--gold);
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

/* ==========================================================================
   10. Responsiveness & Mobile Adaptability
   ========================================================================== */

/* Fix horizontal scroll container height for smooth 1:1 scrolling */
.horizontal-scroll-trigger {
  height: 100vh;
  position: relative;
  width: 100%;
}


/* Utility */
.hidden {
  display: none !important;
}

/* ==========================================================================
   11. Animations Classes & Revealers
   ========================================================================== */

.fade-up-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-up-reveal-delayed {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.92);
  animation: revealScale 1.4s cubic-bezier(0.25, 1, 0.5, 1) 0.6s forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 1s cubic-bezier(0.25, 1, 0.5, 1) 1s forwards;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered reveal classes — activated by IntersectionObserver */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Animation accessibility respect */
@media (prefers-reduced-motion: reduce) {

  .floating-letter,
  .gold-particle,
  .mouse-wheel,
  .scroll-prompt-text,
  .btn-drone.active .drone-pulse-light,
  .hero-heritage-seal {
    animation: none !important;
  }

  .fade-up-reveal,
  .fade-up-reveal-delayed,
  .fade-in-scale,
  .fade-in-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .storytelling-container {
    transition: none !important;
  }
}

/* ==========================================================================
   11. New Immersive Fullscreen Card View (Desktop Zoom)
   ========================================================================== */

/* Fullscreen mode active */
.horizontal-scroll-trigger.fullscreen-active {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999 !important;
  /* covers everything */
  scroll-snap-type: none !important;
  /* disable snap while active */
}

.horizontal-scroll-trigger.fullscreen-active .sticky-viewport {
  position: relative !important;
  height: 100vh !important;
  width: 100vw !important;
  background: #040404 !important;
}

.horizontal-scroll-trigger.fullscreen-active .scroll-slide {
  padding: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  scroll-snap-align: center !important;
}

.horizontal-scroll-trigger.fullscreen-active .slide-card {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.horizontal-scroll-trigger.fullscreen-active .slide-grid {
  grid-template-columns: 48% 52% !important;
  /* expand columns */
  padding: 100px 8% 60px 8% !important;
  gap: 40px !important;
}

.horizontal-scroll-trigger.fullscreen-active .interactive-box {
  max-height: 520px !important;
}

/* Slide action buttons layout */
.slide-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}

/* Close button inside fullscreen */
.fullscreen-close-btn {
  display: none;
  position: fixed;
  top: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(12, 11, 10, 0.8);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 2.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10005;
  transition: all 0.3s;
  padding-bottom: 5px;
  backdrop-filter: blur(8px);
}

.horizontal-scroll-trigger.fullscreen-active .fullscreen-close-btn {
  display: flex;
}

.fullscreen-close-btn:hover {
  background: var(--color-gold);
  color: #000;
  transform: rotate(90deg);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Adapt standard nav arrows in fullscreen mode */
.horizontal-scroll-trigger.fullscreen-active .slide-nav-btn {
  width: 45px;
  height: 45px;
  font-size: 30px;
  background: rgba(8, 8, 8, 0.85);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  z-index: 10002;
}

.horizontal-scroll-trigger.fullscreen-active .slide-nav-btn:hover {
  background: var(--color-gold);
  color: #000;
}

/* Hide expanded cards' see more button inside fullscreen */
.horizontal-scroll-trigger.fullscreen-active .card-explore-btn {
  display: none !important;
}

/* Slide media box height adjustment when in fullscreen */
.horizontal-scroll-trigger.fullscreen-active .slide-media-box {
  height: 180px !important;
}

body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.horizontal-scroll-trigger.fullscreen-active #kungfu .slide-grid,
.horizontal-scroll-trigger.fullscreen-active #records .slide-grid {
  grid-template-columns: minmax(560px, 1.18fr) minmax(360px, 0.82fr) !important;
  align-items: stretch !important;
}

.horizontal-scroll-trigger.fullscreen-active #yoga .slide-grid {
  grid-template-columns: minmax(360px, 0.82fr) minmax(560px, 1.18fr) !important;
  align-items: stretch !important;
}

.horizontal-scroll-trigger.fullscreen-active #kungfu .slide-grid {
  grid-template-columns: minmax(680px, 1.35fr) minmax(340px, 0.65fr) !important;
}

.horizontal-scroll-trigger.fullscreen-active #kungfu .slide-interactive,
.horizontal-scroll-trigger.fullscreen-active #records .slide-interactive {
  order: 1 !important;
  align-items: stretch !important;
}

.horizontal-scroll-trigger.fullscreen-active #kungfu .slide-info,
.horizontal-scroll-trigger.fullscreen-active #records .slide-info,
.horizontal-scroll-trigger.fullscreen-active #events .slide-info {
  order: 2 !important;
}

.horizontal-scroll-trigger.fullscreen-active #kungfu .interactive-box,
.horizontal-scroll-trigger.fullscreen-active #yoga .interactive-box,
.horizontal-scroll-trigger.fullscreen-active #records .interactive-box {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.horizontal-scroll-trigger.fullscreen-active .kungfu-slideshow-container,
.horizontal-scroll-trigger.fullscreen-active .yoga-slideshow-container,
.horizontal-scroll-trigger.fullscreen-active .records-slideshow-widget .record-card-container {
  min-height: 0 !important;
  height: 100% !important;
}

/* ==========================================================================
   Heritage and Storytelling Upgrades (NEW Sections)
   ========================================================================== */

.vertical-snap-section {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 100px 6% 60px 6%;
  background: transparent;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: visible;
  z-index: 1;
  content-visibility: auto;
  /* Skip rendering of off-screen sections */
  contain-intrinsic-size: auto 100vh;
  /* Estimated height for layout stability */
}

.vertical-snap-section .section-container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
}

/* Dynastic silhouettes */
.dynasty-silhouettes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.dynasty-silhouette {
  position: absolute;
  color: var(--color-gold);
  opacity: 0.06;
  filter: drop-shadow(0 0 10px var(--color-gold-glow));
  transition: opacity 0.5s ease;
}

.chola-tiger {
  top: 15%;
  left: 8%;
  width: 260px;
  height: 260px;
  animation: floatTiger 24s infinite ease-in-out;
}

.chera-archer {
  bottom: 15%;
  right: 10%;
  width: 220px;
  height: 220px;
  animation: floatArcher 28s infinite ease-in-out;
}

.pandya-fish {
  top: 25%;
  right: 12%;
  width: 240px;
  height: 240px;
  animation: floatFish 26s infinite ease-in-out;
}

@keyframes floatTiger {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes floatArcher {

  0%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  50% {
    transform: translateY(25px) scale(0.95) rotate(-6deg);
  }
}

@keyframes floatFish {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-20px, -20px) rotate(8deg);
  }
}

/* Quote Section */
.quote-section {
  background: transparent;
  min-height: auto;
  padding-top: 60px;
  padding-bottom: 30px;
}

/* ==========================================================================
   Custom Mouse Cursor — Premium Magnetic Cursor with Trail
   ========================================================================== */



.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #fff3c4 0%, #e0b94f 45%, rgba(212, 175, 55, 0.92) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    transform 0.15s ease;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.34), 0 0 18px rgba(212, 175, 55, 0.14);
}

/* Expanded dot when hovering interactive elements */
.custom-cursor-dot.cursor-hover {
  width: 11px;
  height: 11px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.42), 0 0 22px rgba(212, 175, 55, 0.18);
}

/* Click ripple state */
.custom-cursor-dot.cursor-click {
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) scale(0.92);
}

/* Hide custom cursor on mobile or touch */

.quote-text {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  /* Reduced from 24px */
  letter-spacing: 2px;
  text-align: center;
}

.quote-accent-divider {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin: 10px auto;
  /* Reduced from 20px auto to optimize gaps above and below the line */
  box-shadow: 0 0 10px var(--color-gold-glow);
}

.quote-author {
  color: var(--color-silver);
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* Journey / Bodhidharma Map */
.journey-section {
  background: transparent;
  padding-top: 40px;
}

.journey-map-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0 auto;
}

.map-connection-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  /* Removed conflicting border-top — the SVG path inside handles the line */
}

.journey-timeline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
  gap: 15px;
  margin-top: 30px;
}

.journey-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.journey-node:nth-child(odd) {
  transform: translateY(-15px);
}

.journey-node:nth-child(even) {
  transform: translateY(25px);
}

.node-marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-black-pure);
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  transition: var(--transition-mid);
  position: relative;
  z-index: 5;
}

.journey-node:hover .node-marker {
  background: var(--color-gold);
  color: var(--color-black-pure);
  box-shadow: 0 0 25px var(--color-gold-glow);
  transform: scale(1.15);
}

.node-content {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid var(--glass-border);
  padding: 14px 10px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-mid);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

.journey-node:hover .node-content {
  border-color: var(--color-gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.18);
  transform: translateY(-5px);
}

.node-title {
  color: var(--color-gold);
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.node-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-ivory-dim);
}

/* Martial Arts Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.showcase-card {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 35px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.showcase-card:hover {
  transform: perspective(1000px) rotateX(8deg) rotateY(-4deg) translateY(-10px) translateZ(15px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.showcase-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateZ(20px);
}

.showcase-card:hover .showcase-icon {
  transform: scale(1.15) translateZ(30px);
}

.showcase-card-title {
  color: var(--color-gold);
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  transform: translateZ(10px);
}

.showcase-card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-ivory-dim);
  transform: translateZ(5px);
}

/* Founder / Legacy Biography Section */
.legacy-grid {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0 auto;
  align-items: start;
}

.legacy-bio {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid var(--glass-border);
  padding: 30px 40px;
  /* Optimized padding */
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
}

.founder-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--color-black-pure);
  background: var(--color-gold);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 12px;
  /* Reduced from 20px */
}

.founder-name {
  font-size: 2.2rem;
  color: var(--color-ivory);
  margin-bottom: 8px;
  /* Reduced from 15px */
  letter-spacing: 1px;
}

.founder-image-box {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 1.46;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  margin: 20px auto;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: var(--transition-mid);
}

.founder-image-box:hover {
  border-color: var(--color-gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-quote {
  font-style: italic;
  color: var(--color-gold);
  border-left: 2px solid var(--color-gold);
  padding-left: 15px;
  margin-bottom: 16px;
  /* Reduced from 24px */
  line-height: 1.4;
  font-size: 1.05rem;
}

.founder-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ivory-dim);
  margin-bottom: 10px;
  /* Reduced from 16px */
}

.legacy-timeline-container {
  position: relative;
  padding: 20px 0;
}

.vertical-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(212, 175, 55, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 10px 30px;
  /* Reduced from 15px 30px */
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  /* Adjusted to fit new padding */
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-black-pure);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold-glow);
  z-index: 5;
}

.timeline-item.left .timeline-dot {
  right: -7px;
}

.timeline-item.right .timeline-dot {
  left: -7px;
}

.timeline-date {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 4px;
  /* Reduced from 8px */
}

.timeline-title {
  font-size: 1.15rem;
  color: var(--color-ivory);
  margin-bottom: 4px;
  /* Reduced from 8px */
}

.timeline-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-ivory-dim);
}

.timeline-item .timeline-content {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--glass-border);
  padding: 14px 18px;
  /* Reduced from 20px */
  border-radius: 8px;
  transition: var(--transition-mid);
  backdrop-filter: blur(5px);
}

.timeline-item:hover .timeline-content {
  border-color: var(--color-gold);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.18);
  transform: translateY(-3px);
}

/* Gallery Masonry Layout */
.gallery-filters {
  margin-bottom: 35px;
}

.filter-chip {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--color-ivory-dim);
  padding: 8px 18px;
  margin: 5px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-mid);
  backdrop-filter: blur(5px);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--color-gold);
  color: var(--color-black-pure);
  border-color: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

.gallery-masonry {
  column-count: 2;
  column-gap: 25px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  break-inside: avoid;
  position: relative;
  cursor: pointer;
  transition: var(--transition-mid);
}

.gallery-item img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.gallery-item:hover .gallery-item-hover {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.item-title {
  color: var(--color-ivory);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.item-tag {
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Lightbox Overlay */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 4, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--color-ivory);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-gold);
}

.lightbox-content {
  max-width: 80%;
  max-height: 75%;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

#lightbox-caption {
  margin-top: 20px;
  color: var(--color-gold);
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
}

/* Achievements Section */
.achievements-dashboard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.achievement-card {
  background: rgba(12, 12, 12, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 35px 15px;
  text-align: center;
  transition: var(--transition-mid);
  backdrop-filter: blur(10px);
}

.achievement-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.12);
}

.achievement-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
  letter-spacing: -1px;
}

.achievement-label {
  font-size: 0.95rem;
  color: var(--color-ivory);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 1px;
}

.achievement-desc {
  font-size: 0.75rem;
  color: var(--color-ivory-dim);
  line-height: 1.3;
}

/* Grid Layouts for Slide Components */
.training-modules-grid,
.yoga-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 20px 0;
  width: 100%;
}

.module-card,
.yoga-module-card {
  background: rgba(12, 12, 12, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
  transition: var(--transition-fast);
}

.module-card:hover,
.yoga-module-card:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.06);
}

.module-icon,
.yoga-icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
  display: inline-block;
}

.module-title,
.yoga-title {
  font-size: 0.72rem;
  font-weight: bold;
  color: var(--color-gold);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.module-text,
.yoga-text {
  font-size: 0.62rem;
  color: var(--color-ivory-dim);
  line-height: 1.25;
}

.interactive-tabs-container {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.interactive-tab-btn {
  position: relative;
  padding: 8px 2px;
}

.interactive-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.interactive-tab-btn.active::after {
  transform: scaleX(1);
}

#tab-yoga-poses {
  display: none;
  height: min(68vh, 620px);
  overflow: hidden;
}

.yoga-poses-widget {
  height: 100%;
  padding: 18px;
  overflow: hidden;
  min-height: 0;
}

.poses-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}

.pose-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 247, 223, 0.64);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pose-section-title {
  margin: 0;
  color: var(--color-gold);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
}

.pose-select {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  font-family: var(--font-sans);
  outline: none;
}

.pose-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.pose-category-summary {
  margin-bottom: 14px;
  color: rgba(255, 247, 223, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.poses-list-container {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 8px 8px 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.45) rgba(0, 0, 0, 0.18);
}

.poses-list-container::-webkit-scrollbar {
  width: 6px;
}

.poses-list-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.poses-list-container::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.45);
  border-radius: 999px;
}

.poses-group-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 247, 223, 0.78);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.poses-group-heading strong {
  color: var(--color-gold);
  white-space: nowrap;
}

.pose-card {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.18));
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pose-card:hover {
  border-color: rgba(212, 175, 55, 0.58);
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.pose-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.pose-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pose-card:hover .pose-card-image {
  transform: scale(1.04);
}

.pose-card-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(8, 8, 8, 0.76);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--color-gold);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pose-card-body {
  padding: 12px;
}

.pose-card-title {
  margin: 0 0 6px;
  color: var(--color-gold);
  font-size: 0.92rem;
  line-height: 1.25;
}

.pose-card-meta,
.pose-card-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.45;
}

.pose-card-meta {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.55);
}

.pose-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.loading-poses,
.empty-poses {
  grid-column: 1 / -1;
  color: white;
  text-align: center;
  padding: 20px;
}

.wellness-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding: 12px 0;
  border-top: 1px dashed rgba(212, 175, 55, 0.15);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.15);
  width: 100%;
}

.wellness-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.wellness-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.25);
  font-size: 10px;
}

.step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--color-gold);
  font-family: var(--font-serif);
}

.step-title {
  font-size: 0.65rem;
  color: var(--color-ivory);
  margin-top: 2px;
}

.slide-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Custom styles for Hero buttons & elements */
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 24px;
  justify-content: center;
  z-index: 10;
}

.hero-actions .btn-hero-explore {
  padding: 12px 32px;
  border-radius: 30px;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-actions .primary-btn {
  background: linear-gradient(135deg, #e6c665 0%, #b8860b 100%);
  border: 1.5px solid #ffe58f;
  color: var(--color-black-pure);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.hero-actions .primary-btn:hover {
  background: linear-gradient(135deg, #ffe58f 0%, #e6c665 100%);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.hero-actions .secondary-btn {
  background: rgba(12, 12, 12, 0.6);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  color: var(--color-gold);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-actions .secondary-btn:hover {
  background: linear-gradient(135deg, #e6c665 0%, #b8860b 100%);
  border-color: transparent;
  color: var(--color-black-pure);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
  transform: translateY(-3px) scale(1.02);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* CSS for scrolling optimization & snapping */
.site-footer {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Media Queries for New Sections */

/* Dynamic 3D tilt styles */
.showcase-card,
.achievement-card,
.timeline-content,
.node-content,
.slide-card,
.founder-image-box {
  transform-style: preserve-3d;
  perspective: 1000px;
  /* Removed will-change: transform — too many elements with this hint causes memory bloat */
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}




/* ==========================================================================
   12. Full-Screen Microsite Overlays (Immersive Mode)
   ========================================================================== */

.microsite-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: #000000;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
}

.microsite-overlay::-webkit-scrollbar {
  display: none;
}

/* Removed content-visibility from sections */

@media (hover: none),
(pointer: coarse),
(prefers-reduced-motion: reduce) {

  .slide-card,
  .showcase-card,
  .achievement-card,
  .timeline-content,
  .node-content,
  .founder-image-box,
  .featured-slide-img,
  .slide-media-box,
  .gallery-item img {
    transition: none !important;
    transform: none !important;
  }

  .interactive-box,
  .microsite-overlay,
  .main-header,
  .glass-card {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .floating-letter,
  .gold-particle {
    display: none !important;
  }
}

/* ============================================================
   PERFORMANCE MODE – Toggle Button
   ============================================================ */
.performance-toggle-btn {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-gold-dim, #9a8540);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.performance-toggle-btn:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-gold);
}
.performance-toggle-btn.active {
  background: rgba(212, 175, 55, 0.22);
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* ============================================================
   PERFORMANCE MODE – Visual Effect Killswitch
   Disables: backdrop-filter, box-shadow, text-shadow,
   CSS animations, complex transitions, will-change, filters
   ============================================================ */

/* 1. Kill gold gradient text animation */
body.performance-mode .gold-gradient-text {
  animation: none !important;
}

/* 2. Hide all decorative overlay layers */
body.performance-mode .heritage-grid-overlay,
body.performance-mode .heritage-watermark-bg,
body.performance-mode .particles-layer,
body.performance-mode .tamil-letters-layer,
body.performance-mode .dynasty-silhouettes {
  display: none !important;
}

body.performance-mode .bg-torch-glow {
  display: block !important;
}

/* 3. Kill ALL backdrop-filter everywhere */
body.performance-mode .site-header,
body.performance-mode .site-header.scrolled,
body.performance-mode .nav-menu,
body.performance-mode .slide-nav-btn,
body.performance-mode .interactive-box,
body.performance-mode .hero-video-frame,
body.performance-mode .slide-card,
body.performance-mode .glass-card,
body.performance-mode .microsite-overlay,
body.performance-mode .microsite-back-btn,
body.performance-mode .floating-insta-btn,
body.performance-mode .floating-youtube-btn,
body.performance-mode .floating-whatsapp-btn,
body.performance-mode .floating-call-btn,
body.performance-mode .floating-email-btn,
body.performance-mode .mobile-nav-toggle,
body.performance-mode .scroll-to-top-btn,
body.performance-mode .slide-dot,
body.performance-mode .catchy-stat,
body.performance-mode .showcase-card,
body.performance-mode .achievement-card,
body.performance-mode .pose-card,
body.performance-mode .timeline-content,
body.performance-mode .node-content,
body.performance-mode .fan-card,
body.performance-mode .form-field,
body.performance-mode .form-btn,
body.performance-mode .footer-glass,
body.performance-mode .gallery-item,
body.performance-mode .record-showcase-card,
body.performance-mode .record-detail-hero,
body.performance-mode .awards-featured-card,
body.performance-mode .pricing-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 4. Kill pseudo-element decorations that trigger compositing */
body.performance-mode .slide-card::before,
body.performance-mode .slide-card::after,
body.performance-mode .showcase-card::after,
body.performance-mode .nav-link::before,
body.performance-mode .btn-hero-explore::after,
body.performance-mode .breath-btn::after,
body.performance-mode .form-btn.submit::after,
body.performance-mode .microsite-back-btn::after,
body.performance-mode .cta-btn::after,
body.performance-mode .primary-btn::after {
  display: none !important;
}

/* 5. Simplify box-shadows to single, cheap shadows */
body.performance-mode .slide-nav-btn,
body.performance-mode .hero-video-frame,
body.performance-mode .slide-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* 6. Kill hover transforms and transitions on cards/images */
body.performance-mode .slide-card,
body.performance-mode .showcase-card,
body.performance-mode .achievement-card,
body.performance-mode .timeline-content,
body.performance-mode .node-content,
body.performance-mode .founder-image-box,
body.performance-mode .featured-slide-img,
body.performance-mode .slide-media-box,
body.performance-mode .gallery-item img,
body.performance-mode .fan-card,
body.performance-mode .pose-card,
body.performance-mode .awards-featured-card,
body.performance-mode .pricing-card {
  transition: none !important;
}

/* 7. Kill will-change everywhere (prevents GPU memory bloat) */
body.performance-mode * {
  will-change: auto !important;
}

/* 8. Kill text-shadow on decorative text */
body.performance-mode .ms-section-title,
body.performance-mode .section-title,
body.performance-mode .hero-title,
body.performance-mode .slide-card-title {
  text-shadow: none !important;
}

/* 9. Kill CSS filter effects on images */
body.performance-mode .gallery-item img,
body.performance-mode .fan-card img,
body.performance-mode .pose-card img {
  filter: none !important;
}

/* 10. Kill all CSS keyframe animations on decorative elements */
body.performance-mode .gold-particle,
body.performance-mode .section-tamil-letter,
body.performance-mode .dynasty-silhouette,
body.performance-mode .heritage-grid-overlay,
body.performance-mode .cursor-ripple,
body.performance-mode .divider-line-svg {
  animation: none !important;
}

/* 11. Simplify glass-card backgrounds to opaque */
body.performance-mode .glass-card {
  background: rgba(12, 12, 12, 0.92) !important;
}

/* 12. Disable hover scale transforms */
body.performance-mode .gallery-item:hover img,
body.performance-mode .fan-card:hover,
body.performance-mode .pose-card:hover,
body.performance-mode .showcase-card:hover,
body.performance-mode .slide-card:hover {
  transform: none !important;
}

.microsite-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.microsite-back-btn {
  position: fixed;
  top: 25px;
  right: 40px;
  z-index: 10100;
  background: rgba(12, 12, 12, 0.85);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 25px var(--color-gold-glow);
  transform: translateY(-2px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.microsite-back-btn:hover {
  background: var(--color-gold);
  color: var(--color-black-pure);
  box-shadow: 0 0 25px var(--color-gold-glow);
  transform: translateY(-2px);
}

/* Content always full-width; sidebar is an overlay drawer */
.microsite-layout {
  display: block;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ── Sidebar: hover-reveal drawer ──────────────────────────────── */
.microsite-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10090;
  width: 280px;
  height: 100vh;
  background: rgba(8, 8, 8, 0.97);
  border-right: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  gap: 45px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;

  /* Collapsed: only a 4px gold sliver is visible */
  transform: translateX(calc(-100% + 4px));
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.35s ease;
  box-shadow: none;
}

/* Reveal on hover of the sidebar itself */
.microsite-sidebar:hover {
  transform: translateX(0);
  box-shadow: 6px 0 40px rgba(0, 0, 0, 0.7), 2px 0 0 var(--color-gold);
}

/* Gold edge accent visible when collapsed */
.microsite-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--color-gold) 30%,
      rgba(212, 175, 55, 0.4) 70%,
      transparent 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.microsite-sidebar:hover::before {
  opacity: 0;
}

.microsite-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-brand {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  color: var(--color-ivory-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  padding: 8px 0;
  border-left: 2px solid transparent;
  padding-left: 14px;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  text-shadow: 0 0 8px var(--color-gold-glow);
  padding-left: 18px;
}

.microsite-content {
  /* Full width now that sidebar is an overlay */
  width: 100%;
  padding: 0 8%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100dvh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.microsite-content::-webkit-scrollbar {
  display: none;
}

.microsite-section {
  min-height: auto;
  margin-bottom: 24px;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(28px, 4vh, 44px) clamp(24px, 3.5vw, 45px);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.75);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s ease;
}

.microsite-section:not(.hero-banner) .ms-section-container {
  width: 100%;
}

.microsite-section.hero-banner {
  position: relative;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(56px, 7vh, 82px) clamp(32px, 5vw, 72px);
  overflow: hidden;
  border-radius: 0;
  background: #080808;
  border: 0;
  box-shadow: none;
}

.microsite-section.hero-banner:hover {
  transform: none;
  border-color: transparent;
}

.microsite-section.hero-banner .ms-section-container {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  padding-top: 24px;
}

.microsite-section:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
}

.ms-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: rgba(212, 175, 55, 0.05);
  text-transform: uppercase;
}

.ms-title {
  font-size: 3.2rem;
  margin-bottom: 24px;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.hero-banner .ms-title {
  max-width: 980px;
  margin-bottom: clamp(16px, 2.6vh, 24px);
  font-size: clamp(3.4rem, 6.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 1px;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.85);
}

.hero-banner .founder-quote {
  width: min(100%, 880px);
  margin-bottom: clamp(16px, 2.5vh, 24px);
  padding: 8px 0 8px 22px;
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.45;
  color: #f1c93a;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

.hero-banner .ms-desc {
  width: min(100%, 890px);
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: rgba(255, 250, 230, 0.88);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
}

.ms-banner-image-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-banner .ms-banner-image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
}

.ms-banner-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.9) 0%, transparent 100%);
  pointer-events: none;
}

.hero-banner .ms-banner-image-container::after {
  inset: 0;
  height: auto;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0.66) 42%, rgba(3, 3, 3, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 3, 3, 0.42) 0%, rgba(3, 3, 3, 0.14) 46%, rgba(3, 3, 3, 0.52) 100%);
}

.ms-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: bannerZoomIn 15s ease-out forwards;
}

.hero-banner .ms-banner-img {
  object-position: center center;
}

@media (min-width: 1025px) and (max-height: 840px) {
  .microsite-back-btn {
    top: 12px;
    right: 22px;
    padding: 9px 18px;
    font-size: 0.78rem;
  }

  .microsite-section.hero-banner {
    min-height: 100svh;
    padding: 48px 42px 34px;
  }

  .microsite-section.hero-banner .ms-section-container {
    width: min(100%, 940px);
    padding-top: 10px;
  }

  .hero-banner .ms-badge {
    margin-bottom: 12px;
    padding: 4px 11px;
    font-size: 0.66rem;
  }

  .hero-banner .ms-title {
    margin-bottom: 12px;
    font-size: clamp(3rem, 5.7vw, 5rem);
  }

  .hero-banner .founder-quote {
    margin-bottom: 12px;
    font-size: clamp(0.98rem, 1.45vw, 1.16rem);
    line-height: 1.42;
  }

  .hero-banner .ms-desc {
    max-width: 820px;
    font-size: clamp(0.94rem, 1.35vw, 1.08rem);
    line-height: 1.58;
  }
}

@keyframes bannerZoomIn {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.ms-section-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--color-gold);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
  padding-bottom: 12px;
  letter-spacing: 1px;
}

.ms-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-ivory-dim);
  margin-bottom: 24px;
  font-weight: 300;
}

/* Microsite Inner Content Density */
.awards-felicitations .ms-desc,
.talent-celebrations .ms-desc,
.thai-showcase .ms-desc {
  max-width: 980px;
  margin-bottom: 18px !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.awards-felicitations .awards-featured-card {
  display: grid !important;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  align-items: center !important;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 2.5vw, 28px) !important;
  margin-bottom: 22px !important;
  text-align: left !important;
}

.awards-felicitations .award-image-container {
  max-width: 360px !important;
  margin: 0 !important;
  align-self: center;
}

.awards-felicitations .award-image-container img {
  width: 100% !important;
  max-height: min(46vh, 360px);
  object-fit: contain !important;
}

.awards-felicitations .award-text-container {
  min-width: 0;
}

.awards-felicitations .award-text-container .ms-badge {
  margin-bottom: 10px !important;
}

.awards-felicitations .award-text-container h3,
.awards-felicitations .award-text-container h4,
.awards-felicitations .award-text-container p {
  max-width: 760px;
}

.awards-felicitations .award-text-container h3 {
  margin-bottom: 10px !important;
  line-height: 1.25 !important;
}

.awards-felicitations .award-text-container h3 strong {
  font-size: clamp(1.25rem, 2.1vw, 1.75rem) !important;
}

.awards-felicitations .award-text-container p {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

.gallery-masonry {
  margin-top: 18px !important;
}

.microsite-section .gallery-item {
  margin-bottom: 16px !important;
}

.microsite-section .gallery-item img {
  max-height: 420px;
  object-fit: cover;
}

.talent-celebrations .gallery-masonry,
.thai-showcase .gallery-masonry {
  column-count: 3 !important;
  column-gap: 16px !important;
}

.ceremony-gallery .gallery-masonry,
.live-stats .gallery-masonry,
.event-snippets .gallery-masonry {
  column-count: 2 !important;
  column-gap: 16px !important;
}

.ms-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 25px;
  border-left: 2px dashed rgba(212, 175, 55, 0.25);
  padding-left: 30px;
  position: relative;
}

.ms-timeline-item {
  position: relative;
}

.ms-timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-black-pure);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold-glow);
}

.ms-time-year {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ms-time-title {
  font-size: 1.25rem;
  color: var(--color-ivory);
  margin: 6px 0 10px 0;
  letter-spacing: 0.5px;
}

.ms-time-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ivory-dim);
  font-weight: 300;
}

.ms-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.ms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.style-box {
  padding: 30px 25px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-mid);
}

.style-box:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  background: rgba(212, 175, 55, 0.04);
}

.style-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: block;
}

.style-box h4 {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.style-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-ivory-dim);
  font-weight: 300;
}

.method-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}

.method-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ivory-dim);
  padding-left: 20px;
  position: relative;
}

.method-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8rem;
  top: 2px;
}

.master-card {
  padding: 30px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.12);
  transition: var(--transition-mid);
}

.master-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.master-card h4 {
  font-size: 1.3rem;
  color: var(--color-ivory);
  margin-bottom: 4px;
}

.master-role {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: bold;
  display: block;
  margin-bottom: 14px;
}

.master-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-ivory-dim);
  font-weight: 300;
}

.ach-widget {
  padding: 25px 15px;
  border-radius: 8px;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.ach-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-gold);
  display: block;
  margin-bottom: 6px;
}

.ach-lbl {
  font-size: 0.8rem;
  color: var(--color-ivory);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.phil-box {
  padding: 24px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(18, 18, 18, 0.5);
  transition: var(--transition-mid);
}

.phil-box:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.phil-box h4 {
  color: var(--color-gold);
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.phil-box p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-ivory-dim);
}

.benefit-card {
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.benefit-card h4 {
  font-size: 1.15rem;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.benefit-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-ivory-dim);
}

.testimonial-card {
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(18, 18, 18, 0.6);
  position: relative;
}

.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-ivory);
  margin-bottom: 12px;
}

.testimonial-card cite {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: bold;
  letter-spacing: 1px;
}

/* Responsive Microsite layouts */

/* Media query for small viewport heights to prevent overlapping and overflow */


/* Logo Image Styling */
.header-logo-img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.header-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.footer-logo-img {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

html,
body,
.sticky-viewport,
.horizontal-scroll-trigger {
  max-width: 100%;
  overflow-x: hidden !important;
}

.storytelling-container {
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.storytelling-container::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Floating Social Media & Contact Buttons */
.floating-insta-btn,
.floating-youtube-btn,
.floating-whatsapp-btn,
.floating-call-btn,
.floating-email-btn {
  position: fixed;
  left: 25px;
  width: 46px;
  height: 46px;
  background: rgba(12, 11, 10, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.floating-insta-btn {
  bottom: 25px;
}

.floating-youtube-btn {
  bottom: 82px;
  /* Stacks cleanly above Instagram button */
}

.floating-whatsapp-btn {
  bottom: 139px;
  /* Stacks cleanly above YouTube button */
}

.floating-call-btn {
  bottom: 196px;
  /* Stacks cleanly above WhatsApp button */
}

.floating-email-btn {
  bottom: 253px;
  /* Stacks cleanly above Call button */
}

.floating-insta-btn:hover,
.floating-youtube-btn:hover,
.floating-whatsapp-btn:hover,
.floating-call-btn:hover,
.floating-email-btn:hover {
  border-color: var(--gold);
  background-color: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-5px) scale(1.08);
}

/* Additional Targeted Mobile Optimizations */




.kungfu-slideshow-container {
  position: relative;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  min-height: clamp(460px, 62vh, 680px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 56%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(4, 4, 4, 0.9);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.kungfu-slide-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-slide-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  transition: opacity 0.35s ease-in-out, filter 0.35s ease;
}

.kungfu-slide-viewport:hover .featured-slide-img {
  filter: saturate(1.08) contrast(1.04);
}

.kungfu-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(12, 12, 12, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  font-size: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.25s ease;
  line-height: 1;
}

.kungfu-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-black-pure);
  box-shadow: 0 0 15px var(--color-gold-glow);
  transform: translateY(-50%) scale(1.1);
}

.kungfu-nav-btn.prev {
  left: 12px;
}

.kungfu-nav-btn.next {
  right: 12px;
}

.kungfu-featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: linear-gradient(to top, rgba(9, 8, 8, 0.96) 0%, rgba(9, 8, 8, 0.7) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.kungfu-slide-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.kungfu-slide-kicker,
.kungfu-slide-count,
.kungfu-thumb-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 247, 223, 0.72);
}

.kungfu-slide-count {
  color: var(--color-gold);
  font-weight: 700;
}

.kungfu-featured-title {
  margin: 0 0 4px;
  font-size: 1.45rem;
  line-height: 1.05;
  color: var(--color-ivory);
}

.kungfu-featured-desc {
  margin: 0;
  max-width: 76%;
  color: rgba(255, 247, 223, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.kungfu-thumb-rail {
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
  padding: 12px 12px 10px;
}

.kungfu-thumb-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.kungfu-thumb-jump {
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.08);
  color: var(--color-gold);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kungfu-thumb-jump:hover {
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
}

.kungfu-thumbnail-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.kungfu-thumbnail-gallery::-webkit-scrollbar {
  height: 5px;
}

.kungfu-thumbnail-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.kungfu-thumbnail-gallery::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 3px;
}

.kungfu-thumb {
  position: relative;
  width: 76px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0.52;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  scroll-snap-align: center;
}

.kungfu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kungfu-thumb:hover,
.kungfu-thumb.active {
  border-color: var(--color-gold);
  opacity: 1;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.22);
}

.kungfu-thumb::after {
  content: "";
  position: absolute;
  inset: auto 10px 6px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.25s ease;
}

.kungfu-thumb.active::after {
  background: var(--color-gold);
}

/* ==========================================================================
   Yoga Slideshow Widget
   ========================================================================== */
.yoga-slideshow-widget {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yoga-slideshow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.yoga-slideshow-head .widget-title {
  margin: 0;
}

.yoga-slide-count {
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.yoga-slideshow-container {
  position: relative;
  flex: 1 1 auto;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 58%),
    rgba(4, 4, 4, 0.9);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.yoga-slide-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yoga-featured-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.yoga-slide-viewport:hover .yoga-featured-img {
  filter: saturate(1.08) contrast(1.04);
}

.yoga-slide-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 8, 8, 0.86), rgba(8, 8, 8, 0.54));
  border: 1px solid rgba(212, 175, 55, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.yoga-slide-caption span {
  color: rgba(255, 247, 223, 0.68);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.yoga-slide-caption strong {
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 1rem;
}

.yoga-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(12, 12, 12, 0.72);
  color: var(--color-gold);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.yoga-nav-btn:hover {
  background: var(--color-gold);
  color: var(--color-black-pure);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

.yoga-nav-btn.prev {
  left: 12px;
}

.yoga-nav-btn.next {
  right: 12px;
}

.yoga-thumbnail-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.yoga-thumbnail-gallery::-webkit-scrollbar {
  height: 5px;
}

.yoga-thumbnail-gallery::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 3px;
}

.yoga-thumb {
  flex: 0 0 auto;
  width: 78px;
  height: 58px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.55;
  cursor: pointer;
  transition: all 0.25s ease;
}

.yoga-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yoga-thumb:hover,
.yoga-thumb.active {
  opacity: 1;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.18);
}

/* Synced Preview Box & Caption overlay on left side */
#kungfu-preview-box {
  height: 185px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: rgba(4, 4, 4, 0.86);
}

#kungfu-preview-box .slide-media-image {
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.34);
}

.preview-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.95) 0%, rgba(12, 12, 12, 0.6) 70%, transparent 100%);
  padding: 12px;
  z-index: 5;
  pointer-events: none;
  box-sizing: border-box;
}

.preview-caption-overlay .preview-title {
  color: var(--color-gold);
  font-size: 0.88rem;
  margin-bottom: 4px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.preview-caption-overlay .preview-desc {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Heritage & History Rich Content Styling
   ========================================================================== */
.heritage-rich-text {
  line-height: 1.8;
  color: var(--color-ivory-dim);
  font-size: 0.95rem;
}

.heritage-sub-title {
  color: var(--color-gold);
  font-size: 1.5rem;
  margin: 35px 0 15px 0;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
}

.heritage-sub-title:first-of-type {
  margin-top: 10px;
}

.heritage-blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 20px;
  margin: 25px 0;
  font-style: italic;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.02);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 8px 8px 0;
}

.heritage-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
  margin: 40px 0;
}

.heritage-modules-detail {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
}

.heritage-modules-detail ul,
.weapons-heritage-box ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

.heritage-modules-detail li,
.weapons-heritage-box li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.heritage-modules-detail li::before,
.weapons-heritage-box li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.8rem;
}

.weapons-heritage-box {
  background: rgba(107, 16, 32, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  padding: 22px;
  margin-top: 30px;
}

.weapons-heritage-box h4 {
  color: var(--color-gold);
  margin-bottom: 12px;
}

.lineage-intro-block {
  line-height: 1.8;
  color: var(--color-ivory-dim);
}

.school-aims-box {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}

.school-aims-box h4 {
  color: var(--color-gold);
  margin-bottom: 15px;
}

.aims-list {
  padding-left: 20px;
  margin: 0;
}

.aims-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Kungfu History Content Widget */
.kungfu-history-content {
  background: rgba(18, 18, 18, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
  margin-top: 20px;
  color: #f5f5f5;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.kungfu-history-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  border-radius: 4px 0 0 4px;
}

.history-title {
  color: var(--color-gold);
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.history-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ddd;
}

.history-text p {
  margin-bottom: 15px;
}

.history-text p:last-child {
  margin-bottom: 0;
}

/* Heritage Inline Images */
.heritage-inline-img {
  max-width: 350px;
  border-radius: 8px;
  border: 1px solid var(--color-gold-dim);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 1.5rem;
  transition: var(--transition-smooth);
}

.heritage-inline-img:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.heritage-inline-img.right {
  float: right;
  margin-right: 0;
  margin-top: 5px;
}

.heritage-inline-img.left {
  float: left;
  margin-left: 0;
  margin-top: 5px;
}

/* Banner Slideshow */
.ms-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ms-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.05);
  /* Slight zoom for premium feel */
}

.ms-slideshow .slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 4s linear;
}

/* Gallery Extensions */
.hidden-gallery-item {
  display: none !important;
}

#kf-gallery-see-more {
  transition: var(--transition-smooth);
}

/* Sidebar Hover Dropdown for Yoga Poses */
.sidebar-dropdown-wrapper {
  position: relative;
  display: block;
}

.sidebar-dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: max-height 0.4s ease, margin-top 0.4s ease, margin-bottom 0.4s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.sidebar-dropdown-wrapper:hover .sidebar-dropdown-content {
  max-height: 350px;
  margin-top: 6px;
  margin-bottom: 8px;
}

.sidebar-sub-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.25s, padding-left 0.25s;
  padding: 4px 8px;
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  display: block;
}

.sidebar-sub-link:hover {
  color: var(--color-gold);
  padding-left: 12px;
  border-left-color: var(--color-gold);
}

/* Final polish layer: improves spacing, touch behavior, and mobile readability. */
.site-header {
  min-height: 72px;
}

.site-header.scrolled {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.hero-section,
.sticky-viewport,
.storytelling-container {
  min-height: 100svh;
}

.hero-video-frame,
.slide-card,
.interactive-box,
.slide-media-box {
  outline: 1px solid rgba(255, 236, 170, 0.04);
}

.hero-video-frame::after,
.slide-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -30px 70px rgba(0, 0, 0, 0.22);
}

.slide-card::after {
  z-index: 2;
}

.slide-grid,
.slide-expand-btn,
.slide-info,
.slide-interactive {
  position: relative;
  z-index: 3;
}

.cta-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slide-actions {
  flex-wrap: wrap;
}

.slide-description,
.widget-intro,
.meta-value {
  text-wrap: pretty;
}

.slide-media-box img,
.featured-slide-img,
.yoga-featured-img,
.record-item-image {
  background: rgba(6, 6, 6, 0.72);
}

.slide-dot {
  touch-action: manipulation;
}


/* Premium WhatsApp Modal Styles */
.whatsapp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  perspective: 1000px;
}

.whatsapp-modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.whatsapp-modal-content {
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.95), rgba(15, 15, 18, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 40px;
  width: 92%;
  max-width: 550px;
  border-radius: 16px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(212, 175, 55, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(30px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-modal-overlay:not(.hidden) .whatsapp-modal-content {
  transform: translateY(0) scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #D4AF37;
  color: #D4AF37;
  transform: rotate(90deg);
}

.whatsapp-modal-content h3 {
  font-size: 2rem;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.wa-form .form-row {
  display: flex;
  gap: 20px;
}

.wa-form .form-group {
  margin-bottom: 20px;
  flex: 1;
}

.wa-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: #a0a0a0;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wa-form input[type="text"],
.wa-form input[type="number"],
.wa-form input[type="tel"],
.wa-form textarea,
.wa-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.wa-form select option {
  background: #141418;
  color: #fff;
}

.wa-form input:focus,
.wa-form textarea:focus,
.wa-form select:focus {
  outline: none;
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* Custom Checkbox Chips */
.wa-form .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Enquire On Hover Reveal */
.wa-form .enquire-on-group .checkbox-group {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  padding-top: 0;
}

.wa-form .enquire-on-group:hover .checkbox-group {
  max-height: 250px;
  opacity: 1;
  padding-top: 10px;
}

.enquire-indicator {
  display: inline-block;
  font-size: 0.75rem;
  opacity: 0.5;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.wa-form .enquire-on-group:hover .enquire-indicator {
  transform: rotate(180deg);
}

.wa-form input[type="checkbox"] {
  display: none;
  /* Hide actual checkboxes */
}

.wa-form .checkbox-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #ddd;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
  position: relative;
  overflow: hidden;
}

.wa-form .checkbox-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.wa-form .checkbox-label:has(input:checked) {
  border-color: transparent;
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #000;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.wa-form .cta-btn.primary-btn {
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #000;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  border: none;
  border-radius: 8px;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  margin-top: 15px;
}

.wa-form .cta-btn.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #FFF099, #D4AF37);
}

/* Custom Scrollbar for Modal */
.whatsapp-modal-content::-webkit-scrollbar {
  width: 6px;
}

.whatsapp-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.whatsapp-modal-content::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.5);
  border-radius: 10px;
}


/* Success Message Animations */
#wa-success-msg {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 10px;
}

#wa-success-msg.hidden {
  display: none !important;
}

#wa-success-msg .success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pulseSuccess 2s infinite alternate;
}

@keyframes pulseSuccess {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4));
  }

  100% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.8));
  }
}

#wa-success-msg h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#wa-success-msg p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 300px;
}

/* Contact Form Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

.contact-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.contact-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.contact-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(20, 5, 5, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-modal.hidden .contact-modal-content {
  transform: translateY(40px) scale(0.95);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal-btn:hover {
  color: var(--color-gold);
  transform: scale(1.1) rotate(90deg);
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.contact-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
}

.wa-form .checkbox-label:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.wa-form .checkbox-label:has(input:checked) {
  border-color: #D4AF37;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.wa-form .cta-btn.primary-btn {
  background: linear-gradient(135deg, #FFD700, #B8860B);
  color: #000;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  border: none;
  border-radius: 8px;
  padding: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  margin-top: 15px;
}

.wa-form .cta-btn.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.6);
  background: linear-gradient(135deg, #FFF099, #D4AF37);
}

/* Custom Scrollbar for Modal */
.whatsapp-modal-content::-webkit-scrollbar {
  width: 6px;
}

.whatsapp-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.whatsapp-modal-content::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.5);
  border-radius: 10px;
}


/* Success Message Animations */
#wa-success-msg {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 10px;
}

#wa-success-msg.hidden {
  display: none !important;
}

#wa-success-msg .success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pulseSuccess 2s infinite alternate;
}

@keyframes pulseSuccess {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.4));
  }

  100% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(37, 211, 102, 0.8));
  }
}

#wa-success-msg h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#wa-success-msg p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 300px;
}

/* Contact Form Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: visible;
}

.contact-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.contact-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.contact-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(20, 5, 5, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-modal.hidden .contact-modal-content {
  transform: translateY(40px) scale(0.95);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal-btn:hover {
  color: var(--color-gold);
  transform: scale(1.1) rotate(90deg);
}

.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.contact-modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: var(--color-gold);
}

/* =========================================
   GSAP Card Fan Carousel Styles
   ========================================= */
.fan-layout {
  perspective: 1200px;
}

.fan-card {
  position: absolute;
  width: 240px;
  height: 380px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: pointer;
  will-change: transform, opacity;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-origin: center bottom;
}

@media (max-width: 768px) {
  .fan-card {
    width: 180px;
    height: 280px;
  }
}

.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fan-arrow-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 30;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.fan-arrow-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.8);
}

.fan-arrow-btn:active {
  opacity: 0.7;
}

.fan-arrow-btn::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.fan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.fan-dot.active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

/* ============================================================
   NEW UI PATTERNS (Bouncy Accordion & Fading Scroll Area)
   ============================================================ */

/* Bouncy Accordion */
.bouncy-accordion {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  outline: none;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-icon {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.accordion-chevron {
  padding: 0.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  /* GSAP will animate rotation */
}

.accordion-content-wrap {
  height: 0;
  opacity: 0;
  overflow: hidden;
  /* GSAP will animate height and opacity */
}

.accordion-content {
  padding: 0 1.25rem 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Fading Scroll Area */
.fading-scroll-wrapper {
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.fading-scroll-area {
  height: 24rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.25rem;
  /* Custom Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.fading-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.fading-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.fading-scroll-area::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.fading-scroll-item {
  display: flex;
  height: 2.5rem;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 0.25rem;
  cursor: default;
}

.fading-scroll-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.fading-scroll-line {
  height: 1px;
  width: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  transition: width 0.3s ease;
}

.fading-scroll-item:hover .fading-scroll-line {
  width: 2rem;
}

/* Main Slide Spacing Cleanup */
#kungfu .slide-grid,
#yoga .slide-grid,
#records .slide-grid,
#events .slide-grid {
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(22px, 2.6vw, 38px);
}

#kungfu .slide-info,
#yoga .slide-info,
#records .slide-info,
#events .slide-info {
  max-height: calc(100vh - 160px);
  min-height: 0;
  justify-content: center;
  gap: clamp(8px, 1.2vh, 12px);
  overflow-y: auto;
  padding-right: 2px;
}

#kungfu .slide-interactive,
#yoga .slide-interactive,
#records .slide-interactive {
  align-items: center;
}

#kungfu .interactive-box,
#yoga .interactive-box,
#records .interactive-box {
  height: auto;
  max-height: calc(100vh - 170px);
  overflow: hidden;
  padding: clamp(16px, 2vw, 24px);
}

#events .interactive-box {
  max-height: calc(100vh - 170px);
  overflow-y: auto;
}

#events .slide-grid {
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
}

#yoga .slide-title,
#events .slide-title {
  font-size: clamp(2rem, 3.25vw, 3.35rem);
}

#kungfu .gallery-fan-wrapper,
#yoga .gallery-fan-wrapper,
#records .gallery-fan-wrapper {
  padding: 0.45rem 0 0 !important;
}

#kungfu .fan-layout,
#yoga .fan-layout,
#records .fan-layout {
  height: auto;
}

#kungfu .fan-pagination-controls,
#yoga .fan-pagination-controls,
#records .fan-pagination-controls {
  margin-top: 0.85rem !important;
}

#kungfu .widget-intro,
#yoga .widget-intro,
#records .widget-intro,
#events .widget-intro {
  margin-bottom: 8px;
}

#yoga-preview-box,
#records-preview-box,
#events .slide-media-box {
  display: block;
  height: clamp(100px, 14vh, 150px) !important;
  min-height: 100px;
  aspect-ratio: auto;
}

#records .records-copy-panel {
  gap: 8px;
}

#records .fading-scroll-wrapper {
  margin: 0.55rem 0 !important;
}

#records .fading-scroll-area {
  height: clamp(6.5rem, 14vh, 8.5rem);
}

#records .records-copy-panel .catchy-stat {
  padding: 10px;
}

#records .records-copy-panel .catchy-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

#records-preview-box {
  height: clamp(90px, 12vh, 125px) !important;
  min-height: 90px;
}

#events .slide-description {
  font-size: 0.94rem;
  line-height: 1.5;
}

#events .bouncy-accordion,
#yoga .bouncy-accordion,
#kungfu .bouncy-accordion {
  gap: 0.65rem;
}

#events .accordion-header,
#yoga .accordion-header,
#kungfu .accordion-header {
  padding: 0.68rem 0.85rem;
}

#events .accordion-icon,
#yoga .accordion-icon,
#kungfu .accordion-icon {
  padding: 0.38rem;
}

#events .accordion-title,
#yoga .accordion-title,
#kungfu .accordion-title {
  font-size: 0.95rem;
}

#events .slide-meta,
#yoga .slide-meta {
  gap: 8px 12px;
  padding-top: 10px;
}

#events .slide-meta {
  font-size: 0.74rem;
}

#events .slide-actions,
#yoga .slide-actions,
#records .slide-actions,
#kungfu .slide-actions {
  margin-top: 8px;
}

@media (max-height: 820px) and (min-width: 1025px) {

  #kungfu .slide-grid,
  #yoga .slide-grid,
  #records .slide-grid,
  #events .slide-grid {
    gap: clamp(14px, 1.7vw, 24px);
    padding: clamp(16px, 2vw, 28px);
  }

  #kungfu .slide-info,
  #yoga .slide-info,
  #records .slide-info,
  #events .slide-info {
    max-height: calc(100svh - 96px);
    gap: 7px;
  }

  #kungfu .slide-interactive,
  #yoga .slide-interactive,
  #records .slide-interactive {
    align-items: flex-start;
    padding-top: clamp(72px, 13vh, 98px);
  }

  #kungfu .slide-title,
  #yoga .slide-title,
  #records .slide-title,
  #events .slide-title {
    font-size: clamp(1.9rem, 3vw, 3rem);
    margin-bottom: 4px;
  }

  #kungfu .slide-description,
  #yoga .slide-description,
  #records .slide-description,
  #events .slide-description {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  #kungfu .interactive-box,
  #yoga .interactive-box,
  #records .interactive-box,
  #events .interactive-box {
    height: auto;
    max-height: calc(100svh - 104px);
    padding: clamp(12px, 1.55vw, 18px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  #yoga-preview-box,
  #records-preview-box,
  #events .slide-media-box {
    height: clamp(82px, 12vh, 110px) !important;
    min-height: 82px;
  }

  #kungfu .fan-layout,
  #yoga .fan-layout,
  #records .fan-layout {
    height: auto;
  }

  #kungfu .gallery-fan-wrapper,
  #yoga .gallery-fan-wrapper,
  #records .gallery-fan-wrapper {
    padding-top: 0 !important;
  }

  #kungfu .fan-pagination-controls,
  #yoga .fan-pagination-controls,
  #records .fan-pagination-controls {
    margin-top: 0.45rem !important;
  }

  #events .accordion-header,
  #yoga .accordion-header,
  #kungfu .accordion-header {
    padding: 0.56rem 0.72rem;
  }

  #events .accordion-title,
  #yoga .accordion-title,
  #kungfu .accordion-title {
    font-size: 0.88rem;
  }

  #events .slide-meta,
  #yoga .slide-meta,
  #kungfu .slide-meta,
  #records .slide-meta {
    gap: 6px 10px;
    padding-top: 8px;
  }

  #events .slide-actions,
  #yoga .slide-actions,
  #records .slide-actions,
  #kungfu .slide-actions {
    margin-top: 4px;
  }

  #events .slide-actions .cta-btn,
  #yoga .slide-actions .cta-btn,
  #records .slide-actions .cta-btn,
  #kungfu .slide-actions .cta-btn {
    padding: 10px 18px;
    font-size: 0.78rem;
  }

  #records .records-copy-panel {
    gap: 6px;
  }

  #records .records-copy-panel .widget-title {
    font-size: 0.78rem;
  }

  #records .records-copy-panel .catchy-heading {
    font-size: 0.98rem;
  }

  #records .records-copy-panel .catchy-text {
    font-size: 0.88rem;
    line-height: 1.42;
  }

  #records .records-copy-panel .catchy-stats-grid {
    gap: 8px;
    margin-top: 2px;
  }

  #records .records-copy-panel .catchy-stat {
    padding: 9px 12px;
  }

  #records .records-copy-panel .stat-number {
    font-size: 1.32rem;
  }

  #records .records-copy-panel .stat-label {
    margin-top: 2px;
    font-size: 0.64rem;
  }

  .contact-cta-section {
    padding-top: 58px;
    padding-bottom: 36px;
  }

  .contact-form-card {
    padding: 20px 24px;
  }
}

@media (max-height: 700px) and (min-width: 1025px) {

  #kungfu .slide-grid,
  #yoga .slide-grid,
  #records .slide-grid,
  #events .slide-grid {
    gap: clamp(10px, 1.3vw, 18px);
    padding: 12px 22px;
  }

  #kungfu .slide-card,
  #yoga .slide-card,
  #records .slide-card,
  #events .slide-card {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  #kungfu .slide-info,
  #yoga .slide-info,
  #records .slide-info,
  #events .slide-info {
    max-height: calc(100svh - 72px);
    gap: 4px;
  }

  #kungfu .slide-number,
  #yoga .slide-number,
  #records .slide-number,
  #events .slide-number {
    padding: 0;
    font-size: 0.68rem;
    letter-spacing: 4px;
  }

  #kungfu .slide-title,
  #yoga .slide-title,
  #records .slide-title,
  #events .slide-title {
    font-size: clamp(1.65rem, 2.65vw, 2.45rem);
    line-height: 0.98;
    margin-bottom: 2px;
  }

  #kungfu .slide-description,
  #yoga .slide-description,
  #records .slide-description,
  #events .slide-description {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  #kungfu .interactive-box,
  #yoga .interactive-box,
  #records .interactive-box,
  #events .interactive-box {
    max-height: calc(100svh - 84px);
    padding: 10px 14px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #kungfu .slide-interactive,
  #yoga .slide-interactive,
  #records .slide-interactive {
    padding-top: clamp(50px, 10vh, 70px);
  }

  #kungfu .fan-layout,
  #yoga .fan-layout,
  #records .fan-layout {
    height: auto;
  }

  #kungfu .widget-intro,
  #yoga .widget-intro,
  #records .widget-intro,
  #events .widget-intro {
    font-size: 0.76rem;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  #yoga-preview-box,
  #records-preview-box,
  #events .slide-media-box {
    height: clamp(62px, 11vh, 82px) !important;
    min-height: 62px;
  }

  #events .bouncy-accordion,
  #yoga .bouncy-accordion,
  #kungfu .bouncy-accordion {
    gap: 0.35rem;
  }

  #events .accordion-header,
  #yoga .accordion-header,
  #kungfu .accordion-header {
    padding: 0.42rem 0.6rem;
  }

  #events .accordion-icon,
  #yoga .accordion-icon,
  #kungfu .accordion-icon {
    padding: 0.28rem;
  }

  #events .accordion-title,
  #yoga .accordion-title,
  #kungfu .accordion-title {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  #events .slide-meta,
  #yoga .slide-meta,
  #kungfu .slide-meta,
  #records .slide-meta {
    gap: 4px 8px;
    padding-top: 5px;
    font-size: 0.68rem;
  }

  #events .slide-actions,
  #yoga .slide-actions,
  #records .slide-actions,
  #kungfu .slide-actions {
    margin-top: 3px;
  }

  #events .slide-actions .cta-btn,
  #yoga .slide-actions .cta-btn,
  #records .slide-actions .cta-btn,
  #kungfu .slide-actions .cta-btn {
    min-height: 38px;
    padding: 8px 16px;
    font-size: 0.72rem;
  }

  #records .records-copy-panel {
    gap: 4px;
  }

  #records .records-copy-panel .widget-title {
    font-size: 0.68rem;
  }

  #records .records-copy-panel .catchy-heading {
    font-size: 0.86rem;
  }

  #records .records-copy-panel .catchy-text {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  #records .fading-scroll-wrapper {
    margin: 0.35rem 0 !important;
  }

  #records .fading-scroll-area {
    height: 4.6rem;
  }

  #records .records-copy-panel .catchy-stats-grid {
    gap: 6px;
  }

  #records .records-copy-panel .catchy-stat {
    padding: 6px 9px;
  }

  #records .records-copy-panel .stat-number {
    font-size: 1.05rem;
  }

  #records .records-copy-panel .stat-label {
    margin-top: 1px;
    font-size: 0.58rem;
  }
}

@media (max-width: 1024px) {

  #kungfu .slide-info,
  #yoga .slide-info,
  #records .slide-info,
  #events .slide-info,
  #kungfu .interactive-box,
  #yoga .interactive-box,
  #records .interactive-box,
  #events .interactive-box {
    max-height: none;
    overflow: visible;
  }

  #yoga-preview-box,
  #records-preview-box,
  #events .slide-media-box {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Contact CTA Form */
.contact-cta-section {
  min-height: 100svh;
  padding: clamp(84px, 10vh, 112px) 20px clamp(48px, 7vh, 76px);
  display: flex;
  align-items: center;
}

.contact-cta-inner {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-cta-section .section-title {
  margin-bottom: 16px;
}

.contact-cta-copy {
  max-width: 760px;
  margin: 0 auto clamp(22px, 3vh, 34px);
  color: rgba(245, 241, 232, 0.88);
  line-height: 1.55;
}

.contact-form-card {
  width: min(100%, 960px);
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 12px;
  text-align: left;
  overflow: visible;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#wa-contact-form .form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(110px, 0.55fr) minmax(160px, 0.85fr);
  gap: 18px;
}

#wa-contact-form .form-group {
  margin-bottom: 18px;
}

#wa-contact-form label {
  margin-bottom: 8px;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.78rem;
}

#wa-contact-form input,
#wa-contact-form select,
#wa-contact-form textarea {
  min-height: 50px;
  background: rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.14);
}

#wa-contact-form textarea {
  min-height: 92px;
  resize: vertical;
}

#wa-contact-form .checkbox-group {
  gap: 10px;
}

#wa-contact-form .checkbox-label {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-submit-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
  margin-top: 16px;
}

.contact-submit-row .cta-btn {
  width: 100%;
  margin-top: 0;
  padding: 14px 18px;
}

.contact-submit-row #submit-email {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid #D4AF37;
  color: #D4AF37;
  box-shadow: none;
}



/* Scroll Performance Optimization */
body.is-scrolling {
  pointer-events: none !important;
}

body.is-scrolling .glass-card,
body.is-scrolling .microsite-section,
body.is-scrolling .site-header,
body.is-scrolling .interactive-box {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}




/* Global Scrollbar Hiding */
::-webkit-scrollbar {
  display: none !important;
}

* {
  scrollbar-width: none !important;
}

.wa-form .checkbox-label:active,
.cta-btn:active {
  transform: scale(0.94);
}

.wa-form .cta-btn.primary-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}


span.element-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 600ms linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================================
   PREMIUM MICROSITE REGISTRATION FORM STYLES
   Applies to Kungfu, Yoga & Records popup forms
   ============================================================ */

/* Card wrapper */
.microsite-form-card {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 14, 10, 0.96), rgba(22, 18, 10, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 36px 40px 40px;
  margin-top: 32px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.65),
    0 4px 20px rgba(212, 175, 55, 0.06);
  overflow: hidden;
}

/* Gold accent bar at top */
.microsite-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D4AF37, #FFD700, #D4AF37, transparent);
}

/* Decorative corner gems */
.microsite-form-card::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #FFD700;
  filter: blur(6px);
  border-radius: 50%;
}

/* Form title */
.microsite-form-card .form-headline {
  text-align: center;
  font-family: var(--font-title, 'Cinzel', serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #D4AF37;
  letter-spacing: 2px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle description */
.microsite-form-card .form-subtext {
  text-align: center;
  color: rgba(220, 215, 200, 0.65);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Gold divider under title */
.microsite-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.microsite-form-divider::before,
.microsite-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3));
}
.microsite-form-divider::after {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), transparent);
}
.microsite-form-divider span {
  color: #D4AF37;
  font-size: 1rem;
}

/* Label styling */
.microsite-form-card .wa-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-family: var(--font-title, 'Cinzel', serif);
  color: rgba(212, 175, 55, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
}

/* Input / textarea / select base */
.microsite-form-card .wa-form input[type="text"],
.microsite-form-card .wa-form input[type="number"],
.microsite-form-card .wa-form input[type="tel"],
.microsite-form-card .wa-form input[type="email"],
.microsite-form-card .wa-form textarea,
.microsite-form-card .wa-form select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
  color: rgba(245, 241, 232, 0.92);
  font-family: var(--font-sans, 'Outfit', sans-serif);
  font-size: 0.97rem;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.25);
  outline: none;
}

.microsite-form-card .wa-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.microsite-form-card .wa-form select option {
  background: #0e0c08;
  color: #f0ead6;
}

/* Placeholder */
.microsite-form-card .wa-form input::placeholder,
.microsite-form-card .wa-form textarea::placeholder {
  color: rgba(200, 190, 165, 0.35);
  font-style: italic;
}

/* Focus state — gold glow */
.microsite-form-card .wa-form input:focus,
.microsite-form-card .wa-form textarea:focus,
.microsite-form-card .wa-form select:focus {
  border-color: rgba(212, 175, 55, 0.7);
  background: rgba(212, 175, 55, 0.04);
  box-shadow:
    0 0 0 3px rgba(212, 175, 55, 0.1),
    inset 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: none;
  color: #f5f1e8;
}

/* Textarea height */
.microsite-form-card .wa-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

/* Form row grid */
.microsite-form-card .wa-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Form group spacing */
.microsite-form-card .wa-form .form-group {
  margin-bottom: 18px;
  flex: 1;
}

/* Submit buttons row */
.microsite-form-card .form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

/* WhatsApp button */
.microsite-form-card .form-btn.submit.whatsapp-btn {
  background: linear-gradient(135deg, #D4AF37, #FFD700, #B8860B);
  border: none;
  color: #0a0800;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.microsite-form-card .form-btn.submit.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5);
  filter: brightness(1.08);
}

.microsite-form-card .form-btn.submit.whatsapp-btn:active {
  transform: translateY(0);
}

/* Email button */
.microsite-form-card .form-btn.submit.email-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.3) !important;
  color: rgba(212, 175, 55, 0.85);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.microsite-form-card .form-btn.submit.email-btn:hover {
  border-color: rgba(212, 175, 55, 0.7) !important;
  background: rgba(212, 175, 55, 0.08) !important;
  color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.15);
}

/* Button icon sizing */
.microsite-form-card .btn-icon {
  font-size: 1.05rem;
}

/* Mobile responsive */
@media (max-width: 680px) {
  .microsite-form-card {
    padding: 24px 18px 28px;
    border-radius: 12px;
  }
  .microsite-form-card .wa-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .microsite-form-card .form-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================
   Global Click & Touch Ripple Effect
   ========================================= */
.global-click-ripple {
  position: fixed;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  animation: global-ripple-anim 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  z-index: 999999;
}

@keyframes global-ripple-anim {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}