/* ==========================================================
   MARARI MVG CVN KALARI — MASTER STYLESHEET v2
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

  /* ---- Variables ---- */
  :root {
    --gold:        #efd277;
    --gold-dark:   #c9993a;
    --gold-glow:   rgba(239, 210, 119, 0.35);
    --gold-dim:    rgba(239, 210, 119, 0.12);
    --dark:        #070602;
    --dark-card:   rgba(18, 15, 8, 0.9);
    --muted:       #bdae85;
    --border:      rgba(239, 210, 119, 0.18);
    --white:       #ffffff;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --nav-h:       88px;
    --topbar-h:    38px;
  }
  
  /* Global 90% Scaling for Desktop */
    /* Global 90% Scaling for Desktop (Chrome/Safari/Edge) */
  @media screen and (min-width: 1024px) {
    html {
        zoom: 0.9;
    }
  }
  /* Firefox specific scaling fallback */
  @-moz-document url-prefix() {
    @media screen and (min-width: 1024px) {
        html {
            transform: scale(0.9);
            transform-origin: top center;
            width: 111.11%;
            height: 111.11%;
        }
    }
  }


/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
/* ---- Watermark & Decorative ---- */
.watermark-bg {
  position: absolute; pointer-events: none;
  opacity: 0.05; z-index: 0;
  filter: sepia(1) saturate(5) hue-rotate(10deg);
}
.logo-watermark {
  width: 400px; height: 400px;
  bottom: -50px; right: -50px;
  transform: rotate(-15deg);
}
.brand-watermark {
  width: 600px; height: auto;
  top: 50%; left: -100px;
  transform: translateY(-50%) rotate(5deg);
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.wysiwyg-content ul, .wysiwyg-content .styled-list { list-style-type: disc !important; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.wysiwyg-content li { list-style-type: disc !important; margin-bottom: 0.5rem; line-height: 1.6; display: list-item; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cinzel', serif; font-weight: 600; line-height: 1.2; }

/* ---- Hide Annoying Plugin Floating Widgets ---- */
button.cookieadmin_re_consent, #siteseo-universal-metabox-icon { display: none !important; pointer-events: none !important; }

/* ---- Utility ---- */
.brand-font  { font-family: 'Cinzel', serif; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.section { padding: 5rem 5%; }
.bg-alt  { background: rgba(239, 210, 119, 0.025); }

.section-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.2rem;
}
.section-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Staggered Delays */
.reveal-1 { transition-delay: 0.1s; }
.reveal-2 { transition-delay: 0.2s; }
.reveal-3 { transition-delay: 0.3s; }
.reveal-4 { transition-delay: 0.4s; }
.reveal-5 { transition-delay: 0.5s; }

/* ---- Card ---- */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.guru-card {
  padding: 0 !important;
}
.guru-img-wrapper {
  width: 100%;
  height: 420px;
  overflow: hidden;
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guru-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.card:hover .guru-img-wrapper img {
  transform: scale(1.1);
}
.guru-card-content {
  padding: 1.5rem 2rem 2rem;
}
.card::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--gold);
  transition: height 0.4s ease;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.7), 0 0 15px var(--gold-glow);
}
.card:hover::before { height: 100%; }
.hidden-hp { display: none !important; visibility: hidden !important; opacity: 0 !important; position: absolute; left: -9999px; }

/* =========================================================
   SUCCESS NOTIFICATIONS (TOASTS)
   ========================================================= */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #070602;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}
.toast-icon {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.toast-msg {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ---- Buttons ---- */
.btn, .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 2rem;
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  background: transparent;
  cursor: pointer;
  height: 54px;
  transition: color 0.5s var(--ease), -webkit-text-fill-color 0.5s var(--ease), box-shadow 0.5s;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-shadow: none !important;
  text-decoration: none !important;
}

/* The gold fill that covers the button normally */
.btn::before, .btn-solid::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gold);
  transition: width 0.5s var(--ease);
  z-index: -1;
}

/* On hover, the gold fill slides away to 0 width */
.btn:hover, .btn-solid:hover {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  box-shadow: 0 0 30px rgba(239, 210, 119, 0.2);
}
.btn:hover::before, .btn-solid:hover::before {
  width: 0%;
}

/* --- Premium Button Loader --- */
.btn.btn-loading, .btn-solid.btn-loading {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    pointer-events: none;
    cursor: default;
}
.btn.btn-loading::after, .btn-solid.btn-loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 50%;
    margin: -11px 0 0 -11px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #000;
    animation: btnSpin 0.7s linear infinite;
    z-index: 10;
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* Icon colors */
.btn img, .btn-solid img { 
  filter: brightness(0) !important; 
  transition: filter 0.5s var(--ease);
}
.btn:hover img, .btn-solid:hover img { 
  filter: invert(0.8) sepia(1) saturate(15) hue-rotate(5deg) !important; 
}

/* Spacing fix for mobile (about section) */
.about-video-section .btn { margin-bottom: 2.5rem; }

.hero-btns {
  display: flex; gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ============================================================
   TOP INFO BAR
   ============================================================ */
.top-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: var(--topbar-h);
  background: #000;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 5%;
  z-index: 9000;
  font-size: 0.78rem; color: var(--muted); letter-spacing: 1px;
}
.top-header a { color: var(--muted); transition: color 0.2s; }
.top-header a:hover { color: var(--gold); }
.top-header-info { display: flex; gap: 1.5rem; }
.top-header-social { display: flex; gap: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0; width: 100%;
  height: var(--nav-h);
  z-index: 9100;
  background: transparent;
  display: flex; align-items: center;
  transition: top 0.35s ease, height 0.35s ease;
  overflow: visible;
}
.navbar.scrolled {
  top: 0;
  height: 70px;
}
.navbar::after { display: none; } /* Remove global line */

/* ---- Nav Container ---- */
.nav-container {
  width: 100%; max-width: 1400px;
  margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center;
  justify-content: center;
  height: 100%; overflow: visible;
  gap: 20px;
}

/* ---- Nav Links (Split Sections) ---- */
.nav-links {
  display: flex; align-items: center;
  gap: 2.5rem; flex: 1;
  position: relative;
  height: 54px; /* Slightly shorter than navbar for floating look */
  transition: height 0.35s ease;
  z-index: 10;
}
.nav-links::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(7, 6, 2, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 210, 119, 0.15);
  border-radius: 4px;
  z-index: -1;
}
.nav-links::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
.navbar.scrolled .nav-links { height: 48px; }
.nav-left  { justify-content: flex-end; padding-right: 1.5rem; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.nav-right { justify-content: flex-start; padding-left: 1.5rem; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.nav-links li { position: relative; }

.nav-links a {
  font-family: 'Cinzel', serif; font-size: 0.82rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.25s; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-brand-centered {
  position: relative;
  flex-shrink: 0;
  width: 90px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
  transition: height 0.35s ease, width 0.35s ease;
}
.mobile-logo-left {
  display: none; text-decoration: none;
}

.logo-diamond {
  display: none;
}

.nav-brand-centered a {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}

/* Gurukkal Special PNG Treatment */
.gurukkal-portrait {
  position: relative; width: 100%; max-width: 450px; margin: 0 auto;
}
.gurukkal-aura {
  position: absolute; inset: 10%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1; animation: auraPulse 4s ease-in-out infinite alternate;
}
.gurukkal-portrait img {
  position: relative; z-index: 2;
  width: 100%; 
  border-radius: 20px; 
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
  display: block;
}
.gurukkal-outline {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none;
  border: 1px solid var(--gold-dim); border-radius: 20px;
  animation: outlineRotate 10s linear infinite;
}
@keyframes auraPulse {
  from { opacity: 0.3; transform: scale(0.95); }
  to { opacity: 0.6; transform: scale(1.1); }
}
@keyframes outlineRotate {
  0% { transform: scale(1); border-color: var(--gold-dim); box-shadow: 0 0 0px transparent; }
  50% { transform: scale(1.01); border-color: var(--gold); box-shadow: 0 0 20px var(--gold-glow); }
  100% { transform: scale(1); border-color: var(--gold-dim); box-shadow: 0 0 0px transparent; }
}
.nav-brand-centered img {
  width: 68px; height: 68px;
  object-fit: contain;
}

/* Scrolled: Morph diamond to rectangle badge */
.navbar.scrolled .nav-brand-centered { width: 70px; height: 70px; }
.navbar.scrolled .nav-brand-centered img { width: 48px; height: 48px; }
.navbar.scrolled .mega-menu { top: 70px; }

/* ---- Hamburger ---- */
.mobile-toggle {
  display: none;
  background: none; border: none;
  color: var(--gold); font-size: 1.7rem;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* ---- Mobile Menu ---- */
.mobile-menu-wrapper {
  display: none;
  position: fixed;
  top: 70px; left: 0;
  width: 100%;
  background: rgba(4, 3, 1, 0.99);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 5% 1.5rem;
  z-index: 9050;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-wrapper.open {
  display: block; opacity: 1;
}

/* Mobile logo in menu top */
.mobile-menu-logo {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.mobile-menu-logo img { width: 45px; height: 45px; object-fit: contain; }
.mobile-menu-logo span { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--gold); }

.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links li { border-bottom: 1px solid rgba(239,210,119,0.08); }
.mobile-nav-links a {
  display: block; padding: 0.95rem 0;
  font-family: 'Cinzel', serif; font-size: 0.95rem;
  letter-spacing: 2px; color: rgba(255,255,255,0.8);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  color: var(--gold); padding-left: 8px;
}

/* ---- Mega-Menu (JS-driven, class .open) ---- */
.nav-item-dropdown { position: static; }

.mega-menu {
  position: fixed;
  top: calc(var(--topbar-h) + var(--nav-h));
  left: 50%; transform: translateX(-50%) translateY(12px);
  width: min(800px, 92vw);
  background: rgba(4, 3, 1, 0.99);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 2.5rem 3rem;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  z-index: 9200;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 30px 80px rgba(0,0,0,0.95);
}
.mega-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.navbar.scrolled .mega-menu { top: 70px; }

.mega-menu-right {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 10px;
}
.mega-menu-right::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold); border-radius: 12px;
  opacity: 0; transition: opacity 0.4s ease;
  animation: borderDraw 3s linear infinite;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 2px;
}
.mega-menu-right:hover::before { opacity: 1; }

.mega-menu-right img {
  height: 180px; width: auto; max-width: 100%; border-radius: 12px;
  object-fit: cover; transition: all 0.4s ease;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}
.mega-menu-right img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--gold-glow);
}

@keyframes borderDraw {
  0% { clip-path: inset(0 0 95% 0); }
  25% { clip-path: inset(0 0 0 95%); }
  50% { clip-path: inset(95% 0 0 0); }
  75% { clip-path: inset(0 95% 0 0); }
  100% { clip-path: inset(0 0 95% 0); }
}

/* Lightbox Pop-up */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; opacity: 0; visibility: hidden;
  transition: all 0.4s ease; padding: 2rem;
}

/* Premium Image Hover Effect */
.hover-outline-container {
  display: block; position: relative; overflow: hidden;
  border-radius: 8px; transition: transform 0.4s var(--ease);
}
.hover-outline-container img { transition: transform 0.6s var(--ease), filter 0.6s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.hover-outline-container::after {
  content: ''; position: absolute; inset: 0;
  border: 4px solid var(--gold); border-radius: 8px;
  opacity: 0; transform: scale(1.05);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none; z-index: 5;
}
.hover-outline-container:hover { transform: scale(1.02); }
.hover-outline-container:hover img { transform: scale(1.1); filter: brightness(1.1); }
.hover-outline-container:hover::after { opacity: 1; transform: scale(1); }

.lightbox-content {
  max-width: 90%; max-height: 90%; border-radius: 8px;
  box-shadow: 0 0 50px rgba(0,0,0,1);
  transform: scale(0.9); transition: transform 0.4s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox.open .lightbox-content { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; background: var(--gold); color: #000;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.8rem; cursor: pointer;
  z-index: 2010; transition: transform 0.3s;
}
.lightbox-close:hover { transform: scale(1.1); background: #fff; }

.mega-menu-left {
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.mega-menu-left h3 { color: var(--gold); margin-bottom: 0.8rem; font-size: 1.2rem; }
.mega-menu-left p  { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.8; font-size: 0.95rem; }
/* Ensure Learn More button is visible and correctly styled */
.mega-menu-left .btn {
  color: var(--gold) !important;
  -webkit-text-fill-color: var(--gold) !important;
  background: transparent !important;
  background-image: none !important;
  border: 1.5px solid var(--gold) !important;
  align-self: flex-start;
  padding: 0.8rem 2rem;
  transition: all 0.2s ease !important;
  z-index: 5 !important;
}
.mega-menu-left .btn::before { display: none !important; }
.mega-menu-left .btn:hover {
  background: var(--gold) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  /* Safely push content to bottom without top-overflow */
  display: flex; flex-direction: column;
  text-align: center; overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--nav-h) + 3.5rem);
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(7,6,2,0.92) 100%
  );
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 900px; width: 100%;
  margin: auto auto 0 auto; /* Pushes content down, safely */
  /* 4.5rem bottom padding ensures ~48px gap above the dots at bottom:2.5rem */
  padding: 0 5% 4.5rem;
}
/* Decorative progress line for slider */
.hero-progress-container {
  width: 120px;
  height: 2px;
  background: rgba(239, 210, 119, 0.15);
  margin: 1.8rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.hero-progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}
.hero-progress-bar.animate {
  animation: progressFill 5.5s linear forwards;
}
@keyframes progressFill {
  from { width: 0; }
  to   { width: 100%; }
}
/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column;
  align-items: center; gap: 6px; cursor: pointer;
  opacity: 0.7; transition: opacity 0.2s;
  display: none; /* hidden by default, shown via JS after 2s */
}
.hero-scroll-indicator span {
  font-size: 0.65rem; letter-spacing: 3px; color: var(--muted);
  text-transform: uppercase; font-family: 'Cinzel', serif;
}
.hero-scroll-indicator i {
  color: var(--gold); font-size: 1.2rem;
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
/* Hero stats ribbon */
.hero-stats-bar {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 2rem; flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item .num {
  font-family: 'Cinzel', serif; font-size: 1.4rem;
  color: var(--gold); font-weight: 600; display: block;
}
.hero-stat-item .lbl {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
}
/* Slider dots — in flow, below stats bar, centred */
.hero-dots {
  position: relative;
  display: flex; gap: 10px; z-index: 10;
  justify-content: center;
  margin-top: 1.8rem;
  padding-bottom: 1.2rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(239,210,119,0.55);
  cursor: pointer; transition: all 0.4s ease;
}
.hero-dot.active { width: 28px; background: var(--gold); border-color: var(--gold); border-radius: 4px; }
.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  font-family: 'Cinzel', serif; font-size: 0.75rem;
  letter-spacing: 4px; color: #000;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.hero-badge::after {
  content: '';
  position: absolute;
  top: -50%; left: -150%;
  width: 100%; height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 210, 119, 0.4),
    transparent
  );
  transform: rotate(35deg);
  animation: badgeShine 4s infinite linear;
}

@keyframes badgeShine {
  0% { left: -150%; }
  30% { left: 150%; }
  100% { left: 150%; }
}
.hero-title {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: 1.1; margin-bottom: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  /* Bottom-to-top entrance */
  animation: heroTitleIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto; line-height: 1.85;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--topbar-h) + var(--nav-h) + 3rem) 5% 4rem;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(7,6,2,0.98));
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .hero-title { font-size: clamp(2rem, 6vw, 4rem); }
.page-hero .section-subtitle { margin-bottom: 0; }

/* ============================================================
   VERTICAL MARQUEE (About Page)
   ============================================================ */
.vertical-marquee-container {
  height: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  /* Mask gradient so images fade beautifully at top and bottom */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.vertical-marquee-track {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  /* total height translation loop */
  animation: scrollVertical 22s linear infinite;
}
.vertical-marquee-track:hover {
  animation-play-state: paused;
}
.vertical-marquee-track img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 0.6rem)); } /* -50% total height minus half the gap */
}

/* ============================================================
   PATH GRID
   ============================================================ */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; 
  margin-top: 3rem;
}
@media (max-width: 800px) {
  .path-grid {
    grid-template-columns: 1fr;
  }
}
.path-box {
  position: relative; height: 420px;
  overflow: hidden; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
}
.path-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; display: block; }
.path-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.97) 40%);
  transform: translateY(60%); transition: transform 0.5s ease;
}
.path-box:hover .path-img { transform: scale(1.08); }
.path-box:hover .path-overlay { transform: translateY(0); }
.path-box:hover .path-desc { opacity: 1; transition-delay: 0.15s; }
.path-title { font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 0.8rem; }
.path-desc { color: rgba(255,255,255,0.85); font-size: 0.93rem; line-height: 1.7; opacity: 0; transition: opacity 0.4s ease; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.about-video-section video {
  border-radius: 10px; border: 1px solid var(--border);
  box-shadow: 15px 15px 0 var(--gold-dim);
}

/* ============================================================
   COUNTER STATS
   ============================================================ */
.stat-box {
  text-align: center; padding: 1.2rem 1.5rem;
  border: 1px solid var(--border); border-radius: 4px;
  background: rgba(239,210,119,0.04);
  transition: border-color 0.3s;
}
.stat-box:hover { border-color: var(--gold); }
.stat-number {
  font-family: 'Cinzel', serif; font-size: 2rem;
  color: var(--gold); display: block; margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 1px; }

/* ============================================================
   HISTORY TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 2rem; margin-top: 2.5rem; }
.timeline::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item {
  position: relative; margin-bottom: 2.5rem;
  padding-left: 2rem;
}
.timeline-item::before {
  content: ''; position: absolute;
  left: -2.4rem; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item h4 {
  font-family: 'Cinzel', serif; font-size: 0.95rem;
  color: var(--gold); letter-spacing: 1px; margin-bottom: 0.5rem;
}
.timeline-item p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }

/* ============================================================
   GALLERY CAROUSEL
   ============================================================ */
.carousel-container { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform 0.6s var(--ease); will-change: transform; }
.carousel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  height: 360px; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--border); position: relative;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carousel-slide:hover img { transform: scale(1.06); }
.gallery-item { height: 100%; position: relative; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.carousel-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--gold); background: transparent;
  color: var(--gold); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.carousel-btn:hover { background: var(--gold); color: #000; }

/* ============================================================
   TESTIMONIAL CARDS — ADVANCED STYLING
   ============================================================ */
.testimonial-card {
  padding: 2.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: rgba(18, 15, 8, 0.7) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 210, 119, 0.1) !important;
}
.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.testi-img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  padding: 2px;
  box-shadow: 0 0 10px var(--gold-glow);
  flex-shrink: 0;
}
.testi-name-wrap {
  display: flex;
  flex-direction: column;
}
.testi-name {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 1px;
}
.testi-tag {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.testi-rating {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
}
.testi-content {
  position: relative;
  flex: 1;
}
.testi-content p {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}
.quote-bg {
  position: absolute;
  top: -15px;
  left: -10px;
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.08;
  z-index: 1;
}

.testi-gallery {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  padding-bottom: 5px;
}
.testi-gallery img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}
.testi-gallery img:hover {
  transform: scale(1.05);
  border-color: var(--gold);
}
.testi-gallery::-webkit-scrollbar { height: 4px; }
.testi-gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { 
  background: #000; padding: 5rem 5% 2rem; position: relative; 
  overflow: hidden;
}
.footer .logo-watermark {
  position: absolute; 
  bottom: -120px; 
  right: -120px;
  width: 550px; 
  height: 550px; 
  opacity: 0.1;
  pointer-events: none; 
  transform: rotate(-12deg);
  filter: grayscale(1) opacity(0.8);
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 2fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { height: 55px; margin-bottom: 1.2rem; }
.footer-title {
  font-family: 'Cinzel', serif; color: var(--gold);
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.5rem; display: block;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
}
.footer-links li { margin-bottom: 0.8rem; }
.footer-links li { color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.footer-links li a { 
  color: var(--muted); 
  text-decoration: none; 
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.footer-links li a:hover { color: var(--gold); transform: translateX(8px); }
.footer-links li a.text-muted { color: var(--muted) !important; }
.footer-links li a.text-muted:hover { color: var(--gold) !important; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.copyright {
  text-align: center; border-top: 1px solid var(--border);
  padding-top: 2rem; color: var(--muted); font-size: 0.85rem; line-height: 2;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--dark-card); border-radius: 50%;
  border: 1px solid var(--border); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
.scroll-top svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.scroll-top i { position: relative; z-index: 2; font-size: 0.9rem; line-height: 0; }
.scroll-top.active { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold); color: #000; transform: translateY(-5px); }
.progress-circle { position: absolute; inset: 0; transform: rotate(-90deg); }
.progress-circle circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; }

/* ============================================================
   BRANCH GRID (About page)
   ============================================================ */
.branch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2rem;
}
.branch-item {
  background: rgba(239,210,119,0.04); border: 1px solid var(--border);
  padding: 1rem 1.2rem; border-radius: 4px;
  font-size: 0.88rem; color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.branch-item:hover { border-color: var(--gold); color: #fff; }
.branch-item strong { color: var(--gold); display: block; margin-bottom: 0.2rem; font-size: 0.82rem; }
.branch-item.highlight { border-color: var(--gold); background: rgba(239,210,119,0.08); }

@media (max-width: 1100px) {
  .nav-links      { display: none; }
  .mobile-toggle  { display: flex; align-items: center; margin-left: auto; }
  .mobile-logo-left { 
    display: flex; align-items: center; gap: 0.8rem;
    padding-left: 5%; flex: 1;
  }
  .mobile-logo-left img { width: 38px; height: 38px; object-fit: contain; }
  .mobile-logo-left span { 
    font-family: 'Cinzel', serif; font-size: 0.85rem; 
    color: var(--gold); font-weight: 500; letter-spacing: 1px;
    white-space: nowrap;
  }
  .navbar         { top: 0; height: 70px; background: rgba(7, 6, 2, 0.98); border-bottom: 1.5px solid var(--gold); backdrop-filter: blur(15px); }
  .navbar.scrolled{ top: 0; height: 70px; }
  .top-header     { display: none; }
  .mega-menu      { top: 70px; }
  /* Compact logo — must fit INSIDE 70px navbar (top:0 on mobile) to avoid top-tip clipping */
  .nav-brand-centered { display: none !important; }

  .hero-content   { padding-top: 100px; }
  .page-hero      { padding-top: 100px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px) — Unique section designs
   ============================================================ */
@media (max-width: 768px) {

  /* Typography */
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .section { padding: 3.5rem 4%; }

  /* Grids → single column */
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }

  /* Hero section mobile */
  .hero-content {
    padding-top: 100px;
    padding-bottom: 0.5rem;
    margin: auto auto 0 auto;
  }
  .hero-stats-bar { gap: 0.8rem; margin-top: 0.8rem; justify-content: space-around; width: 100%; }
  .hero-stat-item .num { font-size: 0.95rem; }
  .hero-stat-item .lbl { font-size: 0.5rem; letter-spacing: 0.5px; }
  .hero-dots { margin-top: 1rem; padding-bottom: 0.6rem; }
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 0.3rem; }
  .hero-subtitle { font-size: 0.8rem; margin-bottom: 0.8rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden; }
  .hero-badge { font-size: 0.55rem; letter-spacing: 1.5px; margin-bottom: 0.6rem; padding: 0.3rem 1rem; }
  .hero-btns { gap: 0.5rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Path grid — horizontal scroll on mobile */
  .path-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .path-box { height: 280px; }
  /* Always show overlay text on mobile (no hover) */
  .path-overlay { transform: translateY(0); background: linear-gradient(transparent, rgba(0,0,0,0.95) 30%); }
  .path-desc { opacity: 1; font-size: 0.82rem; }
  .path-title { font-size: 1.2rem; }

  /* Video section — stack neatly */
  .about-video-section .grid-2 { gap: 2rem; }
  .about-video-section video { box-shadow: none; }

  /* Stats — 3 in a row on mobile */
  .stats-row { gap: 0.8rem; }
  .stat-box { padding: 1rem; }
  .stat-number { font-size: 1.5rem; }

  /* Gallery carousel — 1 slide at a time */
  .carousel-slide { flex: 0 0 100%; height: 260px; }
  .carousel-controls { margin-top: 1.5rem; }

  /* Gallery page grid — 2 columns */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.7rem; }
  .gallery-grid .gallery-item { height: 200px !important; }

  /* Timeline */
  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.5rem; }

  /* Branch grid */
  .branch-grid { grid-template-columns: 1fr; gap: 0.7rem; }

  /* Cards mobile */
  .card { padding: 1.5rem; }
  .guru-img-wrapper { height: 280px; }

  /* Mobile CTA section */
  .cta-section-title { font-size: 1.6rem !important; }

  /* Footer mobile */
  .footer { padding: 3rem 5% 2rem; }
  .footer-grid { gap: 1.5rem; }

  /* Page hero */
  .page-hero { padding-top: 90px; padding-bottom: 3rem; }

  /* Mega menu hidden on mobile */
  .mega-menu { display: none !important; }

  /* Testimonials — stack */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Insights / Blog grid */
  .grid-3.blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .stat-number { font-size: 1.3rem; }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .branch-grid { grid-template-columns: 1fr; }
}
/* ---- Side Widget ---- */
.side-widget {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.side-widget-item {
  width: 48px;
  height: 48px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.side-widget-item:hover {
  background: var(--gold);
  color: #000;
  transform: translateX(-5px);
  box-shadow: 0 0 20px var(--gold-glow);
}
.side-widget-item.whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.side-widget-item.whatsapp:hover { box-shadow: 0 0 20px rgba(37,211,102,0.4); }

@media (max-width: 768px) {
  .side-widget { right: 10px; }
  .side-widget-item { width: 42px; height: 42px; font-size: 1.1rem; }
}

/* ---- Page Loader ---- */
.loader-wrapper {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-wrapper.fade-out { opacity: 0; visibility: hidden; }
.kalari-loader {
  width: 80px; height: 80px;
  border: 2px solid rgba(239,210,119,0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
.kalari-loader::after {
  content: '';
  width: 40px; height: 40px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.8); opacity: 0.5; } }

/* ---- Enquiry Popup ---- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
}
.popup-overlay.active { opacity: 1; visibility: visible; cursor: pointer; }
.popup-content {
  background: #0a0803;
  border: 1px solid var(--gold-dim);
  padding: 4rem 3.5rem;
  width: 92%; max-width: 650px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 40px rgba(239,210,119,0.05);
  transform: translateY(40px) scale(0.98);
  transition: all 0.5s var(--ease);
  cursor: default;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.popup-overlay.active .popup-content { transform: translateY(0) scale(1); }
.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}
#enquiryPopup .section-title {
  margin-left: 0;
  text-align: left;
}
#enquiryPopup .section-label {
  margin-left: 0;
  text-align: left;
}
.popup-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.4rem; color: var(--gold);
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
  border: 1px solid rgba(239,210,119,0.2);
  border-radius: 50%;
}
.popup-close:hover { transform: rotate(90deg); border-color: var(--gold); }

/* ---- Sword Progress Bar ---- */
.sword-container {
  width: 250px;
  height: 40px;
  margin: 1.5rem auto;
  position: relative;
  display: flex; align-items: center;
}
.sword-svg {
  width: 100%; height: 100%;
}
#swordFill { transition: none; }

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 600px) {
  .form-group-row {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
    width: 100% !important;
  }
  .popup-content {
    padding: 3.5rem 1.5rem;
    width: 95%;
  }
}

/* ---- Fixed Bottom Mobile Bar ---- */
@media (max-width: 768px) {
  .side-widget {
    top: auto; bottom: 0; right: 0;
    width: 100%; height: 60px;
    flex-direction: row;
    background: var(--dark-card);
    border-top: 1px solid var(--border);
    transform: none;
    padding: 0 10px;
    justify-content: space-around;
    align-items: center;
    border-radius: 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
  }
  .side-widget-item {
    width: 100%; height: 100%;
    background: transparent; border: none; border-radius: 0;
    box-shadow: none;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
  .side-widget-item:hover { transform: none; background: rgba(239,210,119,0.05); }
  .side-widget-item::after {
    content: attr(data-label);
    font-size: 0.62rem; display: block;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
  }
  .side-widget-item i { margin: 0; }
}

/* ---- Sticky Header Fix ---- */
.navbar.sticky .nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 100% !important;
  padding: 0 4rem !important;
}

.navbar.sticky .nav-brand-centered {
  position: relative !important;
  transform: none !important;
  order: -1 !important;
  margin: 0 !important;
  display: flex !important;
}

.navbar.sticky .logo-diamond {
  display: none !important;
}

.navbar.sticky .nav-brand-centered a {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.navbar.sticky .nav-brand-centered img {
  height: 40px !important;
  width: auto !important;
}

.navbar.sticky .nav-links {
  flex: none !important;
  gap: 2rem !important;
}

@media (max-width: 992px) {
  .navbar.sticky .nav-container { padding: 0 1.5rem !important; }
}

/* Ensure navbar transitions are smooth */
.navbar { transition: all 0.4s var(--ease); }
.navbar.sticky { background: rgba(10,8,3,0.95); backdrop-filter: blur(15px); height: 70px; }

/* ---- Liquid Sword Animation ---- */
@keyframes liquidFill {
  0% { transform: translateY(100%) scaleY(1); }
  50% { transform: translateY(0%) scaleY(1.1); }
  100% { transform: translateY(0) scaleY(1); }
}
.sword-liquid-fill {
  animation: liquidFill 5.5s infinite ease-in-out;
  transform-origin: bottom;
}
.sword-shimmer {
  animation: swordShimmer 2s infinite linear;
}
@keyframes swordShimmer {
  0% { stop-opacity: 0.3; stop-color: #efd277; }
  50% { stop-opacity: 1; stop-color: #fff; }
  100% { stop-opacity: 0.3; stop-color: #efd277; }
}

/* ---- Loader-to-Hero Transition ---- */
.loader-sword-container {
  position: relative;
  width: 300px;
  height: 80px;
  transition: all 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}
.loader-wrapper.fade-out .loader-sword-container {
  transform: translateY(200px) scale(0.8);
  opacity: 0;
}

/* ---- Gold Badge ---- */
.hero-badge {
  color: #000 !important;
  border-color: var(--gold) !important;
  background: var(--gold) !important;
}

/* ---- Shine Animation for Titles ---- */
@keyframes textShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.section-title, .hero-title, .path-title, .card-title {
  background: linear-gradient(90deg, #fff 0%, #efd277 25%, #fff 50%, #efd277 75%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 8s linear infinite;
}

/* ---- Slide-In (Left to Right) Animation Extensions ---- */
.reveal {
  opacity: 0;
  transform: translateX(-40px); /* Changed from translateY to translateX */
  transition: all 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered left-to-right for subtitles */
.section-subtitle.reveal { transition-delay: 0.2s; }
.reveal-1 { transition-delay: 0.15s; }
.reveal-2 { transition-delay: 0.3s; }
.reveal-3 { transition-delay: 0.45s; }


/* Fix popup form input styling */
.popup-content .contact-input {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(239,210,119,0.15) !important;
  color: #fff !important;
  padding: 0 1.2rem !important;
  height: 52px !important;
  line-height: 52px !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  transition: all 0.3s var(--ease) !important;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}
/* Native selects are completely hidden as we use custom dropdowns */
.popup-content select.contact-input {
  display: none !important;
}
.popup-content .contact-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 20px rgba(239,210,119,0.1);
  outline: none;
}
.popup-content textarea.contact-input {
  padding: 1.1rem 1.2rem !important;
  height: auto !important;
  min-height: 120px !important;
  line-height: 1.6 !important;
  resize: vertical;
}
.popup-content .form-group-row {
  width: 100% !important;
}
.popup-content form > * {
  width: 100% !important;
}

/* Mobile Menu Button Alignment */
.mobile-nav-links .btn {
  width: 100%;
  margin-top: 1.5rem;
  border-radius: 4px;
  justify-content: center;
}

/* ---- Page Loader Fill ---- */
@keyframes loaderSwordFill {
  0% { width: 0; }
  100% { width: 400px; }
}
.loader-sword-fill {
  animation: loaderSwordFill 2s ease-in-out forwards;
}

/* ---- Footer Newsletter ---- */
.footer-newsletter {
  margin-top: 1.5rem;
}
.newsletter-form {
  display: flex;
  margin-top: 1rem;
}
.newsletter-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  color: #fff;
  border-radius: 4px 0 0 4px;
  width: 100%;
  font-size: 0.85rem;
}
.newsletter-btn {
  background: var(--gold);
  border: none;
  padding: 0 1.2rem;
  color: #000;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s;
}
.newsletter-btn:hover { background: #fff; }

/* ---- Hero Viewport Optimization ---- */
@media (min-height: 800px) {
  .hero-content { padding-bottom: 6rem; }
}
@media (max-height: 750px) {
  .hero-content { padding-top: 100px; padding-bottom: 2rem; }
  .hero-title { font-size: 2.8rem; margin-bottom: 1rem; }
  .hero-stats-bar { margin-top: 1rem; gap: 1.5rem; }
  .sword-container { margin: 1rem auto; scale: 0.8; }
}

/* ---- Popup Overflow Fix ---- */
.popup-content::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ---- Footer Alignment & Credits ---- */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom span { opacity: 0.8; }

/* ---- Professional Credit Styling ---- */
.footer-bottom {
  border-top: 1px solid rgba(239,210,119,0.1);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}
.footer-bottom a {
  color: #efd277;
  text-decoration: none;
  font-weight: 500;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .popup-content {
    padding: 3rem 1.8rem;
    width: 95%;
  }
  .popup-content form {
    gap: 1rem;
  }
}

/* ========================================================
   HERO STAGGERED BOTTOM-TO-TOP ENTRANCE
   ======================================================== */
.hero-subtitle {
  animation: heroTitleIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}
.hero-btns {
  animation: heroTitleIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both;
}
.hero-badge {
  animation: heroTitleIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0s both;
}

/* ========================================================
   CASCADING DROPDOWNS (Enquiry Forms)
   ======================================================== */
.sub-enquiry-wrapper {
  animation: slideDown 0.3s ease-out;
}
.sub-enquiry-wrapper.show-wrapper {
  display: block !important;
}

/* Hide ALL native selects globally */
select.contact-input {
  display: none !important;
}

/* Container for custom dropdown */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

/* Specific to cascaded popup logic */
.sub-enquiry-wrapper .custom-select-wrapper {
  display: none !important;
}
.sub-enquiry-wrapper select.contact-input.show-dropdown + .custom-select-wrapper {
  display: block !important;
}

/* Custom Trigger Button */
.custom-select-trigger {
  position: relative;
  cursor: pointer;
}
.popup-content .custom-select-trigger.contact-input,
.contact-form .custom-select-trigger.contact-input,
.custom-select-trigger.contact-input {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.7) !important;
}
.custom-select-trigger::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20fill='%23efd277'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M7.247%2011.14%202.451%205.658C1.885%205.013%202.345%204%203.204%204h9.592a1%201%200%200%201%20.753%201.659l-4.796%205.48a1%201%200%200%201-1.506%200z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.custom-select-trigger.open::after {
  transform: rotate(180deg);
}

/* Custom Dropdown Content */
.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--dark-card);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  max-height: 250px;
  overflow-y: auto;
}
.custom-select-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-select-option {
  padding: 0.8rem 1.2rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.custom-select-option:hover {
  background: rgba(239,210,119,0.1);
  color: var(--gold);
}
.custom-select-option.disabled {
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.2);
  cursor: default;
}
.custom-select-option.selected {
  color: var(--gold);
  background: rgba(239,210,119,0.05);
}
.custom-select-options::-webkit-scrollbar { width: 4px; }
.custom-select-options::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sub-enquiry-wrapper .contact-input {
  margin-top: 0.2rem;
}

/* ---- Contact Page Specific Rules ---- */
.contact-input {
  width: 100%; padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: border-color 0.25s; outline: none;
}
.contact-input:focus { border-color: var(--gold); }
.contact-input::placeholder { color: var(--muted); }

.sub-enquiry-wrapper {
  animation: slideDown 0.3s ease-out;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* Equal-height columns */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: stretch;
}
@media(max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  display: flex; flex-direction: column;
  background: var(--dark-card);
  border: 1px solid var(--border); border-radius: 4px;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ''; position: absolute; left: 0; top: 0;
  width: 2px; height: 100%; background: var(--gold);
}

.contact-info-body { padding: 2rem; flex: 1; }
.contact-form-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.contact-form-body form { flex: 1; display: flex; flex-direction: column; gap: 1.2rem; }

.contact-info-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item i { color: var(--gold); font-size: 1.3rem; padding-top: 2px; min-width: 24px; }
.contact-info-item strong { display: block; color: #fff; margin-bottom: 0.3rem; }
.contact-info-item span { color: var(--muted); font-size: 0.93rem; }

/* Full-width map section */
.map-section { width: 100%; height: 420px; overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Gallery Page Specific Rules ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid .gallery-item {
  height: 300px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
}
.gallery-grid .gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.07); }
.gallery-grid .gallery-item .gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-grid .gallery-item:hover .gallery-overlay { opacity: 1; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

