/* ============================================
   ROOT VARIABLES — COMPLETE THEME SYSTEM
   Change these to change the entire theme
   ============================================ */
:root {
  /* ---- ACCENT COLORS (Red Theme Default) ---- */
  --accent: #e53935;
  --accent-hover: #c62828;
  --accent-light: rgba(229, 57, 53, 0.15);
  --accent-glow: rgba(229, 57, 53, 0.4);
  --accent-rgb: 229, 57, 53;

  /* ---- DARK MODE (Default) ---- */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-tertiary: #1a1a1d;
  --bg-card: #141416;
  --bg-card-hover: #1c1c1f;
  --bg-elevated: #222226;
  --bg-input: #18181b;
  --bg-overlay: rgba(0, 0, 0, 0.7);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;
  --text-inverse: #0a0a0b;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-focus: var(--accent);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--accent-glow);

  /* ---- GRADIENTS ---- */
  --gradient-hero: linear-gradient(
    135deg,
    #0a0a0b 0%,
    #1a0a0a 50%,
    #0a0a0b 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-hover)
  );
  --gradient-text: linear-gradient(135deg, var(--accent), #ff8a80);

  /* ---- LAYOUT ---- */
  --container-max: 1280px;
  --container-padding: 24px;
  --section-padding: 100px;
  --section-padding-mobile: 60px;
  --navbar-height: 80px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* ---- TYPOGRAPHY ---- */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-size-base: 16px;
  --line-height: 1.6;
  --letter-spacing: -0.01em;

  /* ---- TRANSITIONS ---- */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ---- Z-INDEX LAYERS ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;
  --z-cursor: 700;
  --z-preloader: 800;
}

/* ============================================
   LIGHT MODE THEME OVERRIDES
   ============================================ */
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f2;
  --bg-tertiary: #e8e8eb;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f7;
  --bg-elevated: #eeeef0;
  --bg-input: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);

  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-tertiary: #71717a;
  --text-muted: #a1a1aa;
  --text-inverse: #fafafa;

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  --gradient-hero: linear-gradient(
    135deg,
    #fafafa 0%,
    #fff0f0 50%,
    #fafafa 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.01)
  );
}

/* ============================================
   ACCENT COLOR PRESETS
   (Applied via JS by setting data-accent)
   ============================================ */
[data-accent="gold"] {
  --accent: #ffb300;
  --accent-hover: #ff8f00;
  --accent-light: rgba(255, 179, 0, 0.15);
  --accent-glow: rgba(255, 179, 0, 0.4);
  --accent-rgb: 255, 179, 0;
}
[data-accent="emerald"] {
  --accent: #00c853;
  --accent-hover: #009624;
  --accent-light: rgba(0, 200, 83, 0.15);
  --accent-glow: rgba(0, 200, 83, 0.4);
  --accent-rgb: 0, 200, 83;
}
[data-accent="cyan"] {
  --accent: #00bcd4;
  --accent-hover: #00838f;
  --accent-light: rgba(0, 188, 212, 0.15);
  --accent-glow: rgba(0, 188, 212, 0.4);
  --accent-rgb: 0, 188, 212;
}
[data-accent="violet"] {
  --accent: #7c4dff;
  --accent-hover: #5e35b1;
  --accent-light: rgba(124, 77, 255, 0.15);
  --accent-glow: rgba(124, 77, 255, 0.4);
  --accent-rgb: 124, 77, 255;
}
[data-accent="pink"] {
  --accent: #ff4081;
  --accent-hover: #c51162;
  --accent-light: rgba(255, 64, 129, 0.15);
  --accent-glow: rgba(255, 64, 129, 0.4);
  --accent-rgb: 255, 64, 129;
}
[data-accent="orange"] {
  --accent: #ff6d00;
  --accent-hover: #e65100;
  --accent-light: rgba(255, 109, 0, 0.15);
  --accent-glow: rgba(255, 109, 0, 0.4);
  --accent-rgb: 255, 109, 0;
}
[data-accent="lime"] {
  --accent: #aeea00;
  --accent-hover: #8bc34a;
  --accent-light: rgba(174, 234, 0, 0.15);
  --accent-glow: rgba(174, 234, 0, 0.4);
  --accent-rgb: 174, 234, 0;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Disable animations if user prefers reduced motion or toggle off */
.no-animations *,
.no-animations *::before,
.no-animations *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: var(--border-radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center {
  text-align: center;
}
.accent-text {
  color: var(--accent);
}
.outline-text {
  -webkit-text-stroke: 1.5px var(--text-primary);
  color: transparent;
}
[data-theme="light"] .outline-text {
  -webkit-text-stroke-color: var(--text-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: var(--z-preloader);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preloader-ring {
  position: absolute;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: preloaderSpin 1.2s linear infinite;
}

.preloader-ring:nth-child(1) {
  width: 60px;
  height: 60px;
}
.preloader-ring:nth-child(2) {
  width: 80px;
  height: 80px;
  border-top-color: var(--accent-light);
  animation-duration: 1.6s;
  animation-direction: reverse;
}
.preloader-ring:nth-child(3) {
  width: 100px;
  height: 100px;
  border-top-color: var(--text-muted);
  animation-duration: 2s;
}

.preloader-text {
  display: flex;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.preloader-text span {
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderLetter 0.4s ease forwards;
}

.preloader-text span:nth-child(1) {
  animation-delay: 0.1s;
}
.preloader-text span:nth-child(2) {
  animation-delay: 0.2s;
}
.preloader-text span:nth-child(3) {
  animation-delay: 0.3s;
}
.preloader-text span:nth-child(4) {
  animation-delay: 0.4s;
}
.preloader-text span:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloaderLetter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#custom-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  #custom-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition:
      width 0.15s,
      height 0.15s,
      background 0.15s;
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition:
      width 0.3s var(--transition-spring),
      height 0.3s var(--transition-spring),
      border-color 0.3s;
    opacity: 0.5;
  }

  #custom-cursor.hover .cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
  }

  #custom-cursor.hover .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: var(--accent);
    opacity: 0.3;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: var(--z-sticky);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    height 0.3s ease;
}

#navbar.scrolled {
  background: var(--bg-primary);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 64px;
}

#navbar.scrolled .nav-container {
  height: 64px;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.3s ease;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 10;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: transform var(--transition-normal);
}

.nav-logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--accent-light);
}

.nav-link.active {
  color: var(--accent);
}

.nav-link i {
  font-size: 0.6rem;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.dropdown-menu li a:hover {
  color: var(--text-primary);
  background: var(--accent-light);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
  position: relative;
}

.nav-icon-btn:hover {
  color: var(--text-primary);
  background: var(--accent-light);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--transition-spring);
}

.cart-count.show {
  transform: scale(1);
}

/* Nav CTA */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.nav-cta-btn i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-cta-btn:hover i {
  transform: translateX(3px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 10;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh; /* Fallback for older browsers */
  height: 100dvh; /* Dynamic viewport height for mobile (fixes address bar issues) */
  background: var(--bg-primary);
  z-index: calc(var(--z-overlay) + 10);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden; /* Strictly remove scrolling on the menu container */
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.mobile-menu-logo span {
  color: var(--accent);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.mobile-menu-close:hover {
  background: var(--bg-elevated);
}

.mobile-nav-links {
  flex: 1;
  padding: 10px 0;
  overflow: hidden; /* Remove scroll on the links list */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center links so they fit perfectly */
}

.mobile-nav-link {
  display: block;
  padding: 10px 0; /* Slightly reduced padding to ensure all links fit in 100vh */
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
  padding-left: 10px;
}

.mobile-menu-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-social-links {
  display: flex;
  gap: 16px;
}

.mobile-social-links a {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition:
    color var(--transition-fast),
    background var(--transition-fast);
}

.mobile-social-links a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.mobile-cta-btn {
  display: block;
  text-align: center;
  padding: 14px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: transform var(--transition-fast);
}

.mobile-cta-btn:hover {
  transform: translateY(-2px);
}

/* ============================================
   THEME PANEL
   ============================================ */
.theme-panel {
  position: fixed;
  top: 0;
  right: -360px;
  width: 340px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: calc(var(--z-overlay) + 5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.theme-panel.open {
  right: 0;
}

.theme-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.theme-panel-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.theme-panel-close {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.theme-panel-close:hover {
  background: var(--bg-elevated);
}

.theme-panel-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.theme-section h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

/* Mode Toggle */
.theme-mode-toggle {
  display: flex;
  gap: 8px;
}

.mode-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.mode-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.mode-btn:hover:not(.active) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Accent Colors */
.accent-colors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.accent-btn {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius-sm);
  background: var(--preview);
  border: 3px solid transparent;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
  position: relative;
}

.accent-btn:hover {
  transform: scale(1.1);
}

.accent-btn.active {
  border-color: var(--text-primary);
}

.accent-btn.active::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Custom Color Picker */
.custom-color-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-color-picker input[type="color"] {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  padding: 2px;
  background: var(--bg-elevated);
}

.color-hex {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.apply-custom-color {
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: auto;
  transition: background var(--transition-fast);
}

.apply-custom-color:hover {
  background: var(--accent-hover);
}

/* Font Size Slider */
.font-size-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.font-size-slider span:first-child {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.font-size-slider span:last-child {
  font-size: 1.25rem;
  color: var(--text-tertiary);
}

.font-size-slider input[type="range"],
.price-range-slider input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  outline: none;
}

.font-size-slider input[type="range"]::-webkit-slider-thumb,
.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.font-size-slider input[type="range"]::-webkit-slider-thumb:hover,
.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Toggle Switch */
.toggle-switch-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: calc(var(--z-overlay) + 5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-sidebar-header h3 i {
  color: var(--accent);
}

.cart-close {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.cart-close:hover {
  background: var(--bg-elevated);
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  color: var(--text-tertiary);
}

.cart-empty i {
  font-size: 3rem;
  opacity: 0.3;
}

.cart-shop-link {
  color: var(--accent);
  font-weight: 600;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.cart-qty-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.cart-item-qty span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  align-self: flex-start;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: #f44336;
}

.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-total span:last-child {
  color: var(--accent);
  font-size: 1.3rem;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.cart-checkout-btn:hover {
  background: #128c7e;
  transform: translateY(-1px);
}

/* ============================================
   OVERLAY
   ============================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn i {
  font-size: 0.85em;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--border-radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

/* ============================================
   HERO SECTION old particle section koushik
   ============================================ */
/* .hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-gradient::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-100px) scale(1.5);
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus,
.stat-percent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    top: 6px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
} */

/* ============================================
   HERO SECTION (Slider Version)
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  padding-top: 0; /* Removed padding, handled by inner content */
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-slides-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 2;
}

.hero-slide.active {
  opacity: 1;
  z-index: 3;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 85%) 50%,
    rgba(0, 0, 0, 90%) 100%
  );
  /* background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  ); */
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 40px var(--container-padding) 0;
  /* padding: 100px var(--container-padding) 0; */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #f5f5f7; /* Brighter for image background */
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* .hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
} */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0; /* Removed 50px margin as padding now handles spacing */
}

/* Persistent Stats Overlay */
.hero-stats-overlay {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus,
.stat-percent {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #f5f5f7;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Slider Navigation */
.hero-slider-nav {
  position: absolute;
  bottom: 250px; /* Placed above stats */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 10;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid #f5f5f7;
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-info p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-media {
  position: relative;
}

.about-img-main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 4px solid var(--bg-primary);
  box-shadow: var(--shadow-lg);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 16px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.exp-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.about-preview-content {
  padding: 20px 0;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.about-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.about-highlight i {
  color: var(--accent);
  font-size: 1rem;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.program-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.08);
}

.program-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.program-card:hover .program-overlay {
  opacity: 1;
}

.program-card-body {
  padding: 20px;
}

.program-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--border-radius-full);
  margin-bottom: 10px;
}

.program-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.program-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Programs Full Grid */
.programs-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.program-full-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow-md);
}

.program-full-card-img {
  height: 240px;
  overflow: hidden;
}

.program-full-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-full-card:hover .program-full-card-img img {
  transform: scale(1.05);
}

.program-full-card-body {
  padding: 24px;
}

.program-full-card-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.program-full-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.program-details-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.program-detail-tag {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Program Filters */
.program-filters,
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */
.transformation-sliders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: col-resize;
  user-select: none;
  aspect-ratio: 3/2;
}

.ba-image {
  position: absolute;
  inset: 0;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 50% 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.ba-handle-line {
  width: 2px;
  flex: 1;
  background: #fff;
  opacity: 0.7;
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-full);
  z-index: 2;
}

.ba-label-before {
  left: 16px;
}
.ba-label-after {
  right: 16px;
}

/* Transformation Grid (Full Page) */
.transformation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.transformation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.transformation-card .ba-slider {
  border-radius: 0;
}

.transformation-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transformation-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.transformation-info span {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   REVIEWS / RATINGS SLIDER
   ============================================ */
.reviews-section {
  background: var(--bg-secondary);
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-full);
}

.google-icon {
  width: 22px;
  height: 22px;
}

.rating-score {
  font-size: 1.3rem;
  font-weight: 800;
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #fbbc04;
  font-size: 0.85rem;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.reviews-slider {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Old review code koushik */
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  box-sizing: border-box;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* New review with image code koushik */
/* .review-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.review-img-wrapper {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
}

.review-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.review-card:hover .review-img {
  transform: scale(1.05);
}

.review-avatar {
  position: absolute;
  bottom: -25px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.review-content-wrapper {
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
} */

.review-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #fbbc04;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.review-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.review-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.review-dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
  transition:
    background var(--transition-fast),
    width var(--transition-fast);
}

.review-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 700;
}

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--border-radius-full);
}

.pricing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
}

.pricing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-elevated);
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pricing-toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.pricing-toggle input:checked + .pricing-toggle-slider {
  background: var(--accent);
}

.pricing-toggle input:checked + .pricing-toggle-slider::before {
  transform: translateX(24px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-xl);
  padding: 36px;
  position: relative;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: scale(1.04);
}

.pricing-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-full);
}

.pricing-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-card-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.pricing-card-price .period {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-tertiary);
}

.pricing-card-desc {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-feature i {
  color: var(--accent);
  font-size: 0.8rem;
  width: 18px;
  text-align: center;
}

.pricing-feature.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-feature.disabled i {
  color: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

/* Pricing Comparison Table */
.pricing-comparison {
  margin-top: 60px;
}

.pricing-comparison h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .check {
  color: var(--accent);
}

.comparison-table .cross {
  color: var(--text-muted);
}

/* ============================================
   TRAINERS SECTION
   ============================================ */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.trainer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.3);
  box-shadow: var(--shadow-md);
}

.trainer-img {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.trainer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(30%);
}

.trainer-card:hover .trainer-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.trainer-social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--transition-normal),
    transform var(--transition-normal);
}

.trainer-card:hover .trainer-social-overlay {
  opacity: 1;
  transform: translateY(0);
}

.trainer-social-overlay a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: background var(--transition-fast);
}

.trainer-social-overlay a:hover {
  background: var(--accent);
}

.trainer-info {
  padding: 20px;
  text-align: center;
}

.trainer-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.trainer-specialty {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.trainer-exp {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Trainers Full Grid */
.trainers-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 60px 0;
}

.cta-banner-inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 500px;
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  animation: ctaPulse 3s ease-in-out infinite;
}

.cta-circle-2 {
  width: 140px;
  height: 140px;
  opacity: 0.15;
  animation-delay: 1s;
}

.cta-icon {
  font-size: 3rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.35;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
}

.faq-question {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.7rem;
  flex-shrink: 0;
  transition:
    transform var(--transition-normal),
    background var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-card-category {
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--border-radius-full);
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-body h3 {
  color: var(--accent);
}

.blog-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.blog-card-link:hover {
  gap: 10px;
}

/* Blog Full Grid */
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
}

/* Blog Post Layout */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.blog-post-main {
  min-width: 0;
}

.blog-post-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  margin-bottom: 30px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-post-meta span {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-post-meta span i {
  color: var(--accent);
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-post-content-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-post-content-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 30px 0 14px;
}

.blog-post-content-text p {
  margin-bottom: 16px;
}

.blog-post-content-text ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.blog-post-content-text ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* Blog Sidebar */
.blog-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
}

.blog-sidebar-widget h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.blog-search {
  display: flex;
  gap: 8px;
}

.blog-search input {
  flex: 1;
  padding: 8px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.blog-search input:focus {
  border-color: var(--accent);
}

.blog-search button {
  padding: 8px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
}

.blog-cat-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.blog-cat-list li:last-child {
  border-bottom: none;
}

.blog-cat-list li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  transition: color var(--transition-fast);
}

.blog-cat-list li a:hover {
  color: var(--accent);
}

.blog-cat-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.recent-post-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.recent-post-info h5 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.recent-post-item:hover .recent-post-info h5 {
  color: var(--accent);
}

.recent-post-info span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.masonry-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 5;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 5;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  /* align-items: flex-start; */
  align-items: center;
  transition: border-color var(--transition-fast);
}

.contact-info-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.contact-info-card > i {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-info-card a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-info-card a:hover {
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.contact-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-light);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-xl);
  padding: 36px;
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-map {
  margin-top: 40px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
}

/* ============================================
   FORM STYLES (Shared)
   ============================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #f44336;
  margin-top: 4px;
  min-height: 16px;
}

/* Radio Buttons */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.85rem;
}

.radio-btn input {
  display: none;
}

.radio-btn:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* Checkbox */
.checkbox-btn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-btn input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.checkbox-btn a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shop-filter-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-checkbox input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.price-range-slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-range-slider input[type="range"] {
  width: 100%;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.shop-select {
  width: 100%;
  padding: 8px 14px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

.shop-select:focus {
  border-color: var(--accent);
}

/* Shop Products */
.shop-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.shop-products-header span {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.shop-view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.view-btn:hover {
  color: var(--text-primary);
}

.view-btn.active {
  background: var(--accent-light);
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.products-grid.list-view {
  grid-template-columns: 1fr;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.2);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--border-radius-full);
}

.product-quick-view-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.product-card:hover .product-quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure the modal's quick view image doesn't collapse */
.pqv-img {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
  min-height: 300px;
  background: var(--bg-secondary);
}

.product-card-body {
  padding: 16px;
}

.product-category {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.product-price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.product-price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.product-rating-stars {
  color: #fbbc04;
}

.product-rating-count {
  color: var(--text-tertiary);
}

.product-add-cart {
  width: 100%;
  padding: 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.product-add-cart:hover {
  background: var(--accent);
  color: #fff;
}

/* Product Quick View Modal */
.product-quick-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pqv-img {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pqv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pqv-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.pqv-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.pqv-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pqv-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.pqv-qty label {
  font-weight: 600;
  font-size: 0.9rem;
}

.pqv-qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.pqv-qty-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.pqv-qty-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.pqv-qty-value {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px 0;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* .page-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: url("https://lifefitindia.com/wp-content/uploads/editor/gym-equipment-hero.webp");
  opacity: 0.3;
  background-repeat: no-repeat;
  object-fit: cover;
} */

.page-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.policy-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.policy-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.policy-content ul li {
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
}

.policy-updated {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 30px;
  font-style: italic;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-detail-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-detail-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  transition:
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.value-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.value-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.about-detail-media {
  position: relative;
}

.about-detail-media > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

.about-media-float-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--gradient-accent);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.about-media-float-card i {
  font-size: 1.5rem;
}

.about-media-float-card strong {
  display: block;
  font-size: 0.9rem;
}

.about-media-float-card span {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 20px;
}

.timeline-year {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-full);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Newsletter */
.footer-newsletter {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 12px 18px;
  width: 280px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   FLOATING ACTION BUTTONS
   ============================================ */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: var(--z-dropdown);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.floating-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  animation: floatPulse 2s ease-in-out infinite;
}

.floating-whatsapp {
  background: #25d366;
  color: #fff;
}

.floating-whatsapp::before {
  border: 2px solid #25d366;
}

.floating-appointment {
  background: var(--accent);
  color: #fff;
}

.floating-appointment::before {
  border: 2px solid var(--accent);
}

@keyframes floatPulse {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* ============================================
   APPOINTMENT MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition-normal),
    visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-container.modal-lg {
  max-width: 800px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
  z-index: 5;
}

.modal-close:hover {
  background: var(--bg-elevated);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h2 i {
  color: var(--accent);
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.appointment-form .btn-full {
  margin-top: 8px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 400px;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  animation: toastTimer 3s linear forwards;
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastTimer {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-icon.success {
  color: #00c853;
}
.toast-icon.error {
  color: #f44336;
}
.toast-icon.info {
  color: #2196f3;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 500;
  flex: 1;
}

.toast-close {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px;
}

.toast.removing {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: var(--z-sticky);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-content i {
  font-size: 1.5rem;
  color: var(--accent);
}

.cookie-content p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-width: 200px;
}

.cookie-content a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 8px;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-down"] {
  transform: translateY(-30px);
}

[data-animate="fade-down"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-left"].animated {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.9);
}

[data-animate="zoom-in"].animated {
  opacity: 1;
  transform: scale(1);
}

.no-animations [data-animate] {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="100"] {
  transition-delay: 0.1s;
}
[data-delay="200"] {
  transition-delay: 0.2s;
}
[data-delay="300"] {
  transition-delay: 0.3s;
}
[data-delay="400"] {
  transition-delay: 0.4s;
}
[data-delay="500"] {
  transition-delay: 0.5s;
}
[data-delay="600"] {
  transition-delay: 0.6s;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
    --container-padding: 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta-btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-main img {
    height: 400px;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transformation-sliders {
    grid-template-columns: 1fr;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-width: calc(50% - 12px);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .pricing-grid-full {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trainers-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    columns: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
  }

  .cta-banner-inner {
    padding: 40px;
    flex-direction: column;
    text-align: center;
  }

  .cta-btns {
    justify-content: center;
  }

  .about-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-values {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-quick-view {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
    --navbar-height: 64px;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .programs-full-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-width: 100%;
  }

  .pricing-grid-full {
    grid-template-columns: 1fr;
  }

  .trainers-grid {
    grid-template-columns: 1fr;
  }

  .trainers-full-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-full-grid {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    columns: 1;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

  .about-img-float {
    right: 10px;
    bottom: -15px;
    width: 120px;
    height: 120px;
  }

  .about-exp-badge {
    left: 10px;
    top: 10px;
  }

  .modal-container {
    padding: 24px;
    border-radius: var(--border-radius-lg);
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-btns {
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    width: 100%;
  }

  .radio-group {
    flex-direction: column;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  .blog-post-title {
    font-size: 1.6rem;
  }

  .blog-post-hero-img {
    height: 250px;
  }

  .scroll-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }

  .toast-container {
    right: 16px;
    left: 16px;
    bottom: 90px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }

  .google-rating-badge {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-toggle-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 30px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  #navbar,
  .floating-actions,
  .scroll-top,
  .cookie-banner,
  #custom-cursor,
  .theme-panel,
  .cart-sidebar,
  .modal-overlay,
  .toast-container,
  #preloader {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .page {
    display: block !important;
  }
}
