/* Reset and Mobile-First Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #e63946;
  --dark-bg: #1a1a1d;
  --light-bg: #fff8f3;
  --text-dark: #1a1a1d;
  --text-light: #ffffff;
  --text-muted: #6b6b6b;
  --border-color: #e8e8e8;
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: var(--light-bg);
  margin-top: 60px;
}

/* Mobile-first container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  padding: 0.2rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--spacing-md);
  max-width: 100%;
}

.logo {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  line-height: 1.1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-badge {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon-rd {
  width: 100%;
  height: 100%;
  color: var(--text-dark);
}

.orb-ring {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: all 0.6s ease;
  transform-origin: center;
  animation: orb-spin 4s linear infinite;
}

@keyframes orb-spin {
  0% {
    stroke-dashoffset: 120;
    transform: rotate(0deg);
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -120;
    transform: rotate(360deg);
  }
}

.logo:hover .orb-ring {
  stroke-width: 2;
  filter: drop-shadow(0 0 5px var(--primary-color));
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  font-size: 1.5rem;
  line-height: 1;
  position: relative;
  background: linear-gradient(
    90deg,
    #1a1a1a 0%,
    #4a4a4a 20%,
    #fff 40%,
    #fff 60%,
    #4a4a4a 80%,
    #1a1a1a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparky-white 4s linear infinite;
}

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

.logo-tagline {
  color: var(--primary-color);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 4px;
  opacity: 0.9;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 1200; /* Higher than drawer (1100) */
}

.mobile-menu-btn span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation Overlay - Only active on mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Removed backdrop-filter to resolve blur issue */
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (max-width: 767px) {
  .nav-overlay {
    display: block;
  }
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Standard Navigation Menu Menu */
/* Base Navigation Menu Elements */
.nav-menu {
  list-style: none;
  display: flex;
}

/* Elite Drawer Desktop Isolation */
.mobile-drawer {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link.active {
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

/* Mobile-Specific Drawer Layout (Zero Impact on Desktop) */
@media (max-width: 767px) {
  .nav-menu {
    display: none !important; /* Completely hide desktop nav on mobile */
  }

  .mobile-drawer {
    display: flex; /* Show mobile-only drawer */
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100dvh;
    background: linear-gradient(165deg, #121214 0%, #1e1e22 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 2.5rem 1.5rem 2rem;
    z-index: 1100;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    -webkit-font-smoothing: antialiased;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .mobile-drawer.active {
    right: 0;
  }

  /* Branding Header */
  .drawer-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-logo-pulse {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    animation: logoPulse 2.5s infinite ease-in-out;
    position: relative; /* For sparkles */
    overflow: visible;
  }

  /* Logo Sparkle Effects */
  .logo-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 8px #fff, 0 0 12px var(--primary-color);
    animation: sparkleAnim 2s infinite ease-in-out;
  }

  .logo-sparkle.s1 {
    top: 0%;
    left: 20%;
    animation-delay: 0.2s;
    width: 4px;
    height: 4px;
  }
  .logo-sparkle.s2 {
    top: 10%;
    right: 5%;
    animation-delay: 0.8s;
    width: 6px;
    height: 6px;
  }
  .logo-sparkle.s3 {
    bottom: 5%;
    left: 10%;
    animation-delay: 1.4s;
    width: 5px;
    height: 5px;
  }
  .logo-sparkle.s4 {
    bottom: 20%;
    right: 15%;
    animation-delay: 0.5s;
    width: 4px;
    height: 4px;
  }
  .logo-sparkle.s5 {
    top: 50%;
    left: -10%;
    animation-delay: 1.1s;
    width: 3px;
    height: 3px;
  }

  @keyframes sparkleAnim {
    0%,
    100% {
      transform: scale(0) rotate(0deg);
      opacity: 0;
    }
    50% {
      transform: scale(1.2) rotate(180deg);
      opacity: 1;
    }
  }

  .drawer-title {
    display: flex;
    flex-direction: column;
  }

  .drawer-title .main-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .drawer-title .sub-title {
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
  }

  /* Link Grouping */
  .nav-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .group-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
  }

  .nav-spacer {
    height: 1px;
    width: 100%;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
  }

  .mobile-nav-link i {
    width: 20px;
    font-size: 1rem;
    color: var(--primary-color);
    opacity: 0.7;
    transition: all 0.3s ease;
  }

  .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    padding-left: 1.5rem;
    transform: translateX(5px);
  }

  .mobile-nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #fff;
    opacity: 1;
  }

  .mobile-nav-link.active {
    background: rgba(255, 107, 53, 0.12);
    color: var(--primary-color) !important;
    position: relative;
  }

  .mobile-nav-link.active::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 20px;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  }

  /* Advanced Staggered Entry Animations */
  .mobile-drawer > * {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer.active > * {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* Deep Staggering for Links within Groups */
  .nav-group .mobile-nav-link {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-drawer.active .nav-group .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* Specific Stagger Delays for Groups */
  .mobile-drawer.active .drawer-header {
    transition-delay: 0.1s;
  }

  .mobile-drawer.active .nav-group:nth-of-type(1) {
    transition-delay: 0.2s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(1)
    .mobile-nav-link:nth-child(2) {
    transition-delay: 0.25s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(1)
    .mobile-nav-link:nth-child(3) {
    transition-delay: 0.3s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(1)
    .mobile-nav-link:nth-child(4) {
    transition-delay: 0.35s;
  }

  .mobile-drawer.active .nav-group:nth-of-type(2) {
    transition-delay: 0.4s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(2)
    .mobile-nav-link:nth-child(2) {
    transition-delay: 0.45s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(2)
    .mobile-nav-link:nth-child(3) {
    transition-delay: 0.5s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(2)
    .mobile-nav-link:nth-child(4) {
    transition-delay: 0.55s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(2)
    .mobile-nav-link:nth-child(5) {
    transition-delay: 0.6s;
  }

  .mobile-drawer.active .nav-group:nth-of-type(3) {
    transition-delay: 0.65s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(3)
    .mobile-nav-link:nth-child(2) {
    transition-delay: 0.7s;
  }

  .mobile-drawer.active .nav-group:nth-of-type(4) {
    transition-delay: 0.75s;
  }
  .mobile-drawer.active
    .nav-group:nth-of-type(4)
    .mobile-nav-link:nth-child(2) {
    transition-delay: 0.8s;
  }

  .mobile-drawer.active .drawer-socials {
    transition-delay: 0.9s;
  }

  /* Social Dock */
  .drawer-socials {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Official Brand Colors on Hover */
  .social-icon.instagram:hover {
    background: radial-gradient(
      circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%
    );
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.3);
  }

  .social-icon.whatsapp:hover {
    background: #25d366;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  }

  .social-icon.youtube:hover {
    background: #ff0000;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
  }

  .social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    color: #fff !important;
  }

  .social-icon:hover i {
    animation: socialBounce 0.5s ease-in-out;
  }

  @keyframes socialBounce {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
  }

  /* Backdrop Blur */
  .nav-overlay.active {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 1;
    pointer-events: auto;
  }
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  }
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 3rem var(--spacing-md);
  background: #ffffff;
  gap: 2rem;
  text-align: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  transition: transform 0.2s cubic-bezier(0.1, 0, 0.3, 1);
  will-change: transform;
}

.orb-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.15) 0%,
    transparent 70%
  );
  transform: translate(
    calc(var(--mouse-x, 0) * -40px),
    calc(var(--mouse-y, 0) * -40px)
  );
}

.orb-2 {
  bottom: -5%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(247, 147, 30, 0.1) 0%,
    transparent 70%
  );
  transform: translate(
    calc(var(--mouse-x, 0) * 50px),
    calc(var(--mouse-y, 0) * 50px)
  );
}

.hero-content {
  width: 100%;
  order: 2;
  position: relative;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.1, 0, 0.3, 1);
}

.hero-badge {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both;
}

.highlight {
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    #ffbd9b 25%,
    var(--primary-color) 50%,
    #ffbd9b 75%,
    var(--primary-color) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: liquid-flow 4s linear infinite;
  font-weight: 800;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
  font-style: italic;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.05), transparent);
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Center on mobile since hero is centered */
  flex-wrap: wrap; /* Wrap if absolutely necessary on tiny screens */
  gap: 1rem; /* Slightly reduced gap */
  width: 100%;
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
  margin-top: 1rem;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
}

.hero-buttons .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-buttons .btn:active::after {
  width: 300px;
  height: 300px;
}

@keyframes revealUpElite {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes elite-mask-reveal {
  from {
    clip-path: inset(100% 0 0 0);
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes entrance-shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Button Base Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem; /* Slightly reduced horizontal padding for mobile */
  border-radius: 50px;
  text-decoration: none !important; /* Force remove underline */
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.95rem; /* Slightly smaller for mobile scaling */
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  padding-top: 1rem;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
  animation: magnetic-pulse 3s ease-in-out infinite;
}

.btn-full {
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-full::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s;
  z-index: -1;
  transform: skewX(-20deg);
}

.btn-full:hover::before {
  left: 100%;
  transition: left 0.7s;
}

@keyframes magnetic-pulse {
  0%,
  100% {
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
  }
}

.btn-primary:active {
  background: var(--accent-color);
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-secondary:active {
  background: var(--text-dark);
  color: var(--text-light);
}

.hero-image {
  width: 100%;
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: revealUpElite 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
  transition: transform 0.2s cubic-bezier(0.1, 0, 0.3, 1);
  transform: translate(
    calc(var(--mouse-x, 0) * 15px),
    calc(var(--mouse-y, 0) * 15px)
  );
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(255, 107, 53, 0.2));
  animation: float-hq 4s ease-in-out infinite,
    aura-pulse 5s ease-in-out infinite;
}

@keyframes aura-pulse {
  0%,
  100% {
    filter: drop-shadow(0 20px 40px rgba(255, 107, 53, 0.2));
  }
  50% {
    filter: drop-shadow(0 25px 60px rgba(255, 107, 53, 0.4));
  }
}

@keyframes float-hq {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Section Headers */
/* Section Headers */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 var(--spacing-sm);
  gap: 1rem;
  overflow: hidden; /* For clip-mask reveal */
}

.section-badge {
  opacity: 0;
  transform: translateY(20px);
}

.section-header.reveal-active .section-badge {
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.section-title {
  opacity: 0;
  /* Key styling for liquid flow handled in previous step */
}

.section-header.reveal-active .section-title {
  animation: elite-mask-reveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
}

.section-header.reveal-active .section-subtitle {
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--primary-color);
  padding: 0.6rem 1.4rem;
  padding-left: 2.8rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.08);
  position: relative;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 0; /* Let flex gap handle spacing */
}

.section-badge::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-color);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
  border-color: var(--primary-color);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    90deg,
    #1a1a1a 0%,
    #4a4a4a 25%,
    var(--primary-color) 50%,
    #4a4a4a 75%,
    #1a1a1a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-flow 8s linear infinite;
  position: relative;
  display: inline-block;
}

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

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.8rem auto 0;
  border-radius: 2px;
  opacity: 0.7;
}

/* For titles that are left-aligned on desktop */
.hero-content .section-title::after,
.contact-info .section-title::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 3rem 0;
  background: var(--text-light);
  overflow: hidden; /* Prevent slider overflow */
}

.about-slider-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem;
}

.about-grid {
  display: flex;
  flex-direction: row; /* Always row for slider track */
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.5rem;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.about-grid::-webkit-scrollbar {
  display: none;
}

.about-card {
  flex: 0 0 85%; /* Mobile peek */
  scroll-snap-align: center;
  padding: 2rem var(--spacing-md);
  background: var(--light-bg);
  border-radius: 20px;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

/* Elite Liquid-Active Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem; /* Increased for premium breathing room */
  margin-top: 2.5rem;
  padding: 1rem;
  position: relative;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.12); /* Balanced contrast */
  border: 1.5px solid rgba(0, 0, 0, 0.08); /* More defined edge */
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1); /* Elite easing */
  position: relative;
  overflow: hidden; /* For internal shimmer */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dot:hover {
  transform: scale(1.4);
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
}

.dot.active {
  width: 38px; /* Prominent Morphing Pill */
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 20px;
  border: none;
  box-shadow: 0 4px 25px rgba(255, 107, 53, 0.4); /* Powerful glow */
  transform: scale(1.05);
  animation: dotPulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
    filter: brightness(1.1);
  }
}

/* Internal Dynamic Shimmer for Active Dot */
.dot.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: dotLiquidShimmer 2.5s infinite linear;
}

@keyframes dotLiquidShimmer {
  from {
    left: -100%;
  }
  to {
    left: 100%;
  }
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.about-card:active {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.2);
}

.about-card:active::before {
  left: 100%;
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

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

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  opacity: 1; /* Reset opacity for slider view */
}

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

/* Classes Section */
.classes {
  padding: 3rem 0;
  background: var(--light-bg);
  overflow: hidden; /* Prevent slider overflow */
}

.classes-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.class-card {
  background: var(--text-light);
  padding: 1.5rem;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 107, 53, 0.15); /* Added slight border */
  cursor: pointer;
  min-height: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Ensure shadow */
}

.class-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.class-card:active {
  transform: scale(0.98);
  border-color: var(--primary-color);
}

.class-card.featured {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--text-light);
}

.class-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.class-time {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap; /* Prevent line wrapping */
}

.class-time::before {
  content: "⏰";
  font-size: 1.1rem;
}

.class-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  color: var(--text-dark);
  white-space: nowrap; /* Force one line */
  overflow: hidden;
  text-overflow: ellipsis; /* Add ellipsis if it overflows */
}

.class-card.featured .class-name {
  color: white;
}

.class-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* Limit to 4 lines */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.4em; /* Ensure all cards have at least this height reserved text */
}

.class-card.featured .class-description {
  color: rgba(255, 255, 255, 0.95);
}

.click-indicator {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: dropBounce 2s infinite ease-in-out;
  text-align: center;
  transition: opacity 0.3s ease;
}

@keyframes dropBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.class-card:hover .click-indicator {
  opacity: 0.7;
}

/* Mobile-first detail panel - full screen overlay */
.detail-cards-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: white;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  overflow-y: auto;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.detail-cards-panel.active {
  right: 0;
}

.detail-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid #f0f0f0;
}

.detail-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-dark);
}

/* Larger close button for easier tapping */
.close-panel {
  background: none;
  color: var(--text-dark);
  border: none;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  font-size: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-panel:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.close-panel:active {
  background: var(--accent-color);
  transform: rotate(90deg) scale(0.9);
}

/* Detail Panel Content Styling */
.detail-cards-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 4rem; /* Space for scrolling */
}

.detail-card {
  background: #fdfdfd;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  border-left: 4px solid var(--primary-color);
}

.detail-card.show {
  opacity: 1;
  transform: translateY(0);
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.detail-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.detail-card h4::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.detail-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.detail-card ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.detail-card ul li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text-dark);
  font-size: 1rem;
}

.detail-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 900;
  font-size: 0.9rem;
}

/* Skill Levels Section */
.skill-levels {
  padding: 4rem 0;
  background: var(--dark-bg); /* Dark background for white sparky text */
  position: relative;
}

.levels-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.level-card {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05); /* Glassmorphism style */
  backdrop-filter: blur(10px);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.level-card.highlighted {
  border: 2px solid var(--primary-color);
}

.level-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 107, 53, 0.1);
  margin-bottom: 1rem;
  line-height: 1;
}

.level-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--text-light); /* Kept light for dark theme */
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.level-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  background: linear-gradient(
    90deg,
    #ffffff,
    #fff8f3,
    var(--secondary-color),
    #fff8f3,
    #ffffff
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

@keyframes shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.level-description {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.level-features {
  list-style: none;
  position: relative;
  z-index: 1;
  text-align: left;
}

.level-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}

.level-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}
.detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.detail-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Mobile-first skill levels section */
.skill-levels {
  padding: 4rem 0;
  background: var(--dark-bg);
  position: relative;
  color: var(--text-light);
}

.skill-levels .section-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.skill-levels .section-title {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #fff2e6 25%,
    var(--secondary-color) 50%,
    #fff2e6 75%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: title-flow 8s linear infinite;
}

.skill-levels .section-title::after {
  background: var(--secondary-color);
}

.skill-levels .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Classes Schedule Section */
.classes-slider-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem;
}

.classes-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.5rem;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.classes-grid::-webkit-scrollbar {
  display: none;
}

.class-card {
  flex: 0 0 85%; /* Mobile: Peek */
  scroll-snap-align: center;
  padding: 2.5rem 2rem;
  background: var(--light-bg);
  border-radius: 25px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

.class-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.class-time {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--secondary-color);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.class-card:hover .class-time {
  background: var(--primary-color);
}

.levels-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.level-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.level-card:active {
  transform: scale(0.98);
  border-color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
}

.level-card.active {
  border-color: var(--secondary-color);
  background: rgba(247, 147, 30, 0.15);
  box-shadow: 0 0 30px rgba(247, 147, 30, 0.5);
}

.levels-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
}

.levels-progress-track {
  position: absolute;
  left: 50px; /* Aligns with card content padding usually */
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.levels-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* JS will animate this */
  background: var(--secondary-color);
  box-shadow: 0 0 15px var(--secondary-color);
  border-radius: 4px;
  transition: height 0.1s linear;
}

.level-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.level-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.level-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.level-features {
  list-style: none;
}

.level-features li {
  padding: 0.7rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
}

.level-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
}

.dance-styles {
  padding: 4rem 0;
  overflow: hidden; /* Prevent slider overflow */
}

.styles-slider-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem;
}

.styles-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.5rem;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.styles-grid::-webkit-scrollbar {
  display: none;
}

.style-card {
  flex: 0 0 85%; /* Mobile: Peek */
  scroll-snap-align: center;
  background: var(--light-bg);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}

.style-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
  border-color: var(--primary-color);
  animation: style-border-pulse 2s infinite;
}

@keyframes style-border-pulse {
  0% {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
  }
  50% {
    border-color: var(--secondary-color);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.3);
  }
  100% {
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
  }
}

.style-image {
  width: 100%;
  height: 250px;
  overflow: hidden; /* For image zoom effect */
  position: relative;
}

.style-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.style-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.style-card:hover .style-image img {
  transform: scale(1.15);
}

.style-content {
  padding: 2rem;
  background: white;
  flex-grow: 1;
}

.style-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.style-card:hover .style-content h3 {
  background: linear-gradient(
    90deg,
    var(--text-dark) 0%,
    #555 20%,
    var(--primary-color) 40%,
    var(--primary-color) 60%,
    #555 80%,
    var(--text-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparky-white 3s linear infinite;
  transform: scale(1.05);
}

.style-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* Mobile-first programs section */
.programs {
  padding: 6rem 0;
  background: radial-gradient(
      circle at 50% -20%,
      rgba(255, 107, 53, 0.05),
      transparent 70%
    ),
    linear-gradient(135deg, #ffffff 0%, #fffbf8 100%);
  position: relative;
  overflow: hidden;
}

.programs-slider-container {
  max-width: 100%;
  position: relative;
  padding: 2rem 0 4rem;
  perspective: 2000px;
}

.programs-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2rem 5%; /* Side padding for peek */
  position: relative;
  z-index: 5;
  touch-action: pan-x pan-y;
  cursor: grab;
}

.programs-grid::-webkit-scrollbar {
  display: none;
}

.program-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem 2rem;
  border-radius: 40px; /* More rounded premium feel */
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transform-style: preserve-3d;
}

.program-card.reveal-active {
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.program-card::before {
  content: "";
  position: absolute;
  top: var(--program-y, 50%);
  left: var(--program-x, 50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.12) 0%,
    transparent 60%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.program-card:hover {
  transform: translateY(-15px) scale(1.02) rotateY(2deg);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 40px 100px rgba(255, 107, 53, 0.15);
  background: rgba(255, 255, 255, 0.8);
}

.program-icon {
  margin-bottom: 2rem;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.program-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-25deg);
  z-index: 2;
}

.program-card:hover .program-icon::after {
  animation: costume-shine 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes costume-shine {
  from {
    left: -150%;
  }
  to {
    left: 150%;
  }
}

.program-icon img {
  width: 100%;
  height: 280px; /* Taller images for premium feel */
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-icon img {
  transform: scale(1.1) rotate(-1deg);
}

.program-card h3 {
  font-size: 2.22rem; /* Larger font */
  margin-bottom: 2rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.program-card p,
.program-features {
  position: relative;
  z-index: 1;
}

.program-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.program-feature {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.program-feature:hover {
  transform: translateY(-5px) scale(1.02);
  background: white;
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.program-feature strong {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--primary-color);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.program-feature strong::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
}

.program-feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0; /* Override default p margin */
}

/* Special Programs Section */
.special-programs {
  padding: 6rem 0;
  background: linear-gradient(135deg, #fef5f1 0%, #fff9f6 100%);
  position: relative;
  overflow: hidden;
}

.special-programs::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.special-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .special-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.special-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem 2.8rem; /* Slightly more spacious */
  border-radius: 35px; /* More rounded */
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  perspective: 1000px; /* For 3D tilt effects */
}

.special-card:active {
  transform: scale(0.97) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
  transition: all 0.1s ease;
}

.special-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: none;
  animation: shimmer-glide 6s infinite linear;
  pointer-events: none;
  z-index: 1;
}

@keyframes shimmer-glide {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  30% {
    transform: translateX(200%) skewX(-15deg);
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
  }
}

.special-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Social Icons Brand Colors */
.social-icons a:nth-child(1) {
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.3);
} /* Facebook */
.social-icons a:nth-child(1):hover {
  background: #1877f2;
  color: white;
  box-shadow: 0 0 15px #1877f2;
}

.social-icons a:nth-child(2) {
  color: #e4405f;
  border-color: rgba(228, 64, 95, 0.3);
} /* Instagram */
.social-icons a:nth-child(2):hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: white;
  box-shadow: 0 0 15px #e4405f;
  border-color: transparent;
}

.social-icons a:nth-child(3) {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.3);
} /* YouTube */
.social-icons a:nth-child(3):hover {
  background: #ff0000;
  color: white;
  box-shadow: 0 0 15px #ff0000;
}

.social-icons a:nth-child(4) {
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.3);
} /* Twitter */
.social-icons a:nth-child(4):hover {
  background: #1da1f2;
  color: white;
  box-shadow: 0 0 15px #1da1f2;
}

.social-icons a:nth-child(5) {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
} /* TikTok */
.social-icons a:nth-child(5):hover {
  background: #000000;
  color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border-color: white;
}

/* Dark mode adjustment if needed */
.footer .social-icons a:nth-child(5) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.special-card:hover {
  transform: translateY(-12px) rotateX(2deg); /* Subtle 3D tilt */
  border-color: var(--primary-color);
  box-shadow: 0 30px 60px rgba(255, 107, 53, 0.2);
  background: white;
}

.special-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

.special-header i {
  font-size: 2.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(255, 107, 53, 0.3));
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.special-card:hover .special-header i {
  transform: rotate(15deg) scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(255, 107, 53, 0.5));
}

.special-card h3 {
  font-size: 2.2rem;
  margin: 0;
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.special-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  margin-bottom: 1rem;
}

.special-item:last-child {
  margin-bottom: 0;
}

.special-item:hover {
  transform: translateX(10px) scale(1.02);
  background: white;
  border-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.item-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 15px rgba(255, 107, 53, 0.2);
  transition: all 0.5s ease;
}

.special-item:hover .item-icon {
  background: var(--secondary-color);
  transform: rotateY(180deg);
  box-shadow: 0 8px 15px rgba(247, 147, 30, 0.3);
}

.item-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 800;
}

.item-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.special-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.private-features li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}

.private-features li:hover {
  transform: translateX(10px);
  background: white;
  border-color: rgba(255, 107, 53, 0.2);
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.private-features li i {
  color: var(--primary-color);
  font-size: 1.3rem;
  width: 30px;
  text-align: center;
  transition: transform 0.4s ease;
}

.private-features li:hover i {
  transform: scale(1.3) rotate(10deg);
}

@media (max-width: 768px) {
  .special-programs {
    padding: 3.5rem 0;
  }

  .special-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .special-card {
    padding: 2.2rem 1.8rem;
    border-radius: 25px;
  }

  .special-header {
    margin-bottom: 1.8rem;
    gap: 1rem;
  }

  .special-header i {
    font-size: 2rem;
  }

  .special-card h3 {
    font-size: 1.6rem;
  }

  .special-item {
    padding: 1.2rem;
    gap: 1rem;
    margin-bottom: 0.8rem;
  }

  .item-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .item-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
  }

  .item-text p {
    font-size: 0.9rem;
  }

  .special-intro {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }

  .private-features {
    gap: 0.8rem;
  }

  .private-features li {
    padding: 0.6rem 1rem;
    gap: 1rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .private-features li i {
    font-size: 1.1rem;
    width: 24px;
  }
}

.special-card.reveal-active {
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Mobile-first studio rent section */
.studio-rent {
  padding: 4rem 0;
  background: linear-gradient(135deg, #fef5f1 0%, #fff9f6 100%);
}

.studio-rent .section-header {
  margin-bottom: 2rem; /* Reduced from 3rem */
}

.rent-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Contact Info Refinements */
.contact-info .section-title {
  opacity: 0;
}

.contact-info.reveal-active .section-title {
  animation: elite-mask-reveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.contact-subtitle {
  opacity: 0;
  transform: translateY(20px);
}

.contact-info.reveal-active .contact-subtitle {
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

.rent-feature {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  cursor: pointer;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rent-feature:active {
  transform: scale(0.96) translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
  background: rgba(255, 107, 53, 0.02);
  border-color: var(--primary-color);
  transition: all 0.1s ease; /* Fast response for touch */
}

@media (max-width: 768px) {
  .rent-slider-container {
    position: relative;
    padding: 0.5rem 0 2rem; /* Reduced top and bottom padding */
  }

  .rent-features {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 12%; /* Side peek */
    margin-bottom: 2rem;
  }

  .rent-features::-webkit-scrollbar {
    display: none;
  }

  .rent-feature {
    flex: 0 0 50%; /* 2 items visible slightly */
    scroll-snap-align: center;
    min-height: 100px;
    padding: 1rem;
  }
}

.rent-feature {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.rent-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 12px;
  padding: 10px;
  transition: all 0.3s ease;
}

.rent-feature:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(-5deg) scale(1.1);
}

.rent-feature p {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
  font-family: "Courier New", monospace; /* Technical look */
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Technical 'Blueprint' Styling */
.rent-feature {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white; /* Clean paper look */
}

.rent-feature:hover {
  border-color: var(--primary-color);
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 5px 5px 0px rgba(255, 107, 53, 0.2); /* Cad-like shadow offset */
}

.btn-for-featuredOne {
  background-color: white;
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 2rem; /* Match other buttons */
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  margin-top: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-for-featuredOne:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Pricing section */
/* Booking CTA Alignment */
.booking-cta {
  text-align: center;
  margin-top: 5rem;
  padding: 4rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  border-radius: 30px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); /* Deep shadow */
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: float 6s ease-in-out infinite; /* Floating animation */
}

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

.booking-cta-text {
  font-size: 1.8rem;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--text-dark), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Gradient text */
}

.booking-cta .btn-primary {
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
  border-radius: 50px;
  background: linear-gradient(45deg, var(--primary-color), #ff4e50);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.booking-cta .btn-primary:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.6);
}

.booking-cta .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s;
}

.booking-cta .btn-primary:hover::after {
  left: 100%;
}

/* Pricing Grid Responsive Layout */
/* Pricing Grid Responsive Layout */
.pricing-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem; /* Space between cards */
  transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.5rem; /* Internal padding for cards/shadows */
}
.pricing-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

@media (min-width: 992px) {
  .pricing-grid {
    display: grid; /* Grid on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* Restore gap to prevent overlap */
    align-items: center;
    overflow-x: visible; /* No scroll on desktop */
    padding: 0; /* Reset mobile padding */
  }

  .pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
  }
}

/* Pricing Card Styling */
.pricing-card {
  flex: 0 0 85%; /* Mobile: Peek at the next card */
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: center;
}

/* Remove margin on last child or desktop if using grid gap */
@media (min-width: 992px) {
  .pricing-card {
    margin-bottom: 0;
    flex: none; /* Reset mobile flex-shrink/grow */
    width: 100%; /* Take full width of grid cell */
    min-width: auto; /* Reset width on desktop */
  }
  /* Hide the dots on desktop */
  #pricingDots {
    display: none !important;
  }
}

.pricing-card .btn {
  width: 100%; /* Full width buttons */
  margin-top: auto;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.pricing-card.featured {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  color: white;
  border: none;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.pricing-card.featured:hover {
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-duration {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.pricing-card.featured .pricing-duration {
  color: white;
  opacity: 1;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card.featured .pricing-desc {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card .btn {
  width: 100%;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a5c 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #ff8a5c 0%, var(--primary-color) 100%);
}

.pricing-card.featured .btn {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured .btn:hover {
  background: #fff8f5;
  color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  /* Reduced blur slightly for premium 'mystery' feel */
  filter: blur(6px);
  user-select: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  cursor: help;
  position: relative;
}

.pricing-amount:hover::after {
  content: "Contact for Price";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  width: 100%;
  color: var(--text-dark);
  font-weight: 700;
  text-shadow: none;
}

.pricing-card.featured .pricing-amount {
  color: white;
}

/* Mobile-first gallery section */
.gallery {
  padding: 3rem 0;
  background: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Square items for compact grid */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .gallery-item {
    height: 300px;
    aspect-ratio: auto;
  }
}

.gallery-item.hide {
  display: none;
}

.gallery-item.show {
  display: inline-block; /* Essential for column layout */
  width: 100%;
  margin-bottom: 1rem;
  animation: fadeIn 0.5s ease forwards;
}

/* Gallery Hover Focus Effect */
.gallery-grid:hover .gallery-item {
  opacity: 0.4;
  filter: grayscale(100%);
  transform: scale(0.98);
}

.gallery-grid .gallery-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
    filter 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

/* Filter Controls */
.filter-controls {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  padding: 0.8rem 1rem; /* Increased padding for shadow breathing */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  position: relative;
}

.filter-controls::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

@media (min-width: 768px) {
  .filter-controls {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.filter-btn {
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(255, 107, 53, 0.15); /* Thinner, premium border */
  background: rgba(255, 107, 53, 0.03); /* Glassmorphism-lite */
  color: var(--text-dark);
  border-radius: 12px; /* Matching card style */
  font-weight: 800;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .filter-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

.gallery-load-more {
  text-align: center;
  margin-top: 3rem;
}

#loadMoreBtn {
  min-width: 180px;
  display: none; /* Controlled by JS */
}

.filter-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 107, 53, 0.08);
  opacity: 1;
  border-color: rgba(255, 107, 53, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8a5c 100%);
  color: white;
  opacity: 1;
  border: none;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
  transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s ease;
  z-index: 3001;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--primary-color);
}

.lightbox-caption {
  color: white;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-align: center;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-caption {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  letter-spacing: 0.5px;
}

/* Hover effects */
.gallery-item:hover img,
.gallery-item:active img {
  transform: scale(1.1);
  filter: blur(2px) brightness(0.8);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:active .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-caption,
.gallery-item:active .gallery-caption {
  transform: translateY(0);
}

/* Mobile-first contact section */
.contact {
  padding: 3rem 0;
  background: linear-gradient(135deg, #fef5f1 0%, #fff9f6 100%);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Typography Enhancements */
.section-title,
.pricing-title,
.contact-info h2 {
  font-family: var(--font-heading);
  font-weight: 900; /* Extra Bold */
  text-transform: uppercase;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  animation: revealUpElite 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.section-subtitle,
.contact-subtitle {
  font-weight: 500;
  letter-spacing: 0.5px;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeIn 1.5s ease-out both;
  position: relative;
}

@media (max-width: 768px) {
  .section-subtitle,
  .contact-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* Elite Premium styling for Studio Rent Tagline */
.studio-rent-quote-premium {
  font-size: 1.3rem; /* Slightly larger for presence */
  font-style: italic;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  max-width: 900px;
  margin: 0.5rem auto; /* Tightened for premium rhythm */
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.8rem 0; /* Reduced from 1.5rem */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: eliteReveal 2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.studio-rent-quote-premium::before,
.studio-rent-quote-premium::after {
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 4px;
}

@keyframes eliteReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(1.05);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .studio-rent-quote-premium {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
    margin: 0.5rem auto; /* Tightened mobile margin */
    padding: 0.5rem 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pricing-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0;
  line-height: 1.2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  background: linear-gradient(
    90deg,
    #1a1a1a 0%,
    #4a4a4a 25%,
    var(--primary-color) 50%,
    #4a4a4a 75%,
    #1a1a1a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.pricing-section.reveal-active .pricing-title {
  animation: title-flow 8s linear infinite,
    elite-mask-reveal 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.pricing-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  opacity: 0;
}

.pricing-section.reveal-active .pricing-title::after {
  animation: widthGrow 1.5s ease-out 0.8s both;
}

@keyframes widthGrow {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .contact-details {
    gap: 1rem;
    margin-bottom: 1rem;
  }
}

/* Larger touch targets for contact items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  min-height: 90px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .contact-item {
    padding: 1rem;
    min-height: auto;
    border-radius: 12px;
  }
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.2);
}

.contact-icon {
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 16px;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .contact-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    border-radius: 10px;
  }
}

/* Holographic Shine Effect */
.contact-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  transform: rotate(45deg);
  animation: hologram-shine 3s infinite;
}

@keyframes hologram-shine {
  0% {
    transform: translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateY(100%) rotate(45deg);
  }
}

.contact-item h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  word-break: break-all;
}

.contact-item p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Mobile-optimized form with larger inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden; /* For containing the liquid fill */
  border-radius: 15px; /* Match input radius */
  z-index: 1;
}

/* Liquid Fill Effect */
.form-group::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    to top,
    rgba(255, 107, 53, 0.25),
    rgba(255, 107, 53, 0.05)
  );
  transition: height 0.5s cubic-bezier(0.77, 0, 0.175, 1); /* Smoother "fill" easing */
  z-index: -1;
  pointer-events: none;
}

.form-group:focus-within::after {
  height: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  font-size: 1.1rem;
  font-family: var(--font-body);
  transition: all 0.3s ease, background-color 0.2s ease;
  background: rgba(255, 255, 255, 0.8); /* Start solid */
  min-height: 60px;
  width: 100%;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
  max-width: 100%;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 107, 53, 0.2);
  cursor: pointer;
}

.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
  background-position: right 1.5rem center;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.2),
    inset 0 0 10px rgba(255, 107, 53, 0.05);
  animation: borderPulse 2s infinite ease-in-out;
}

@keyframes borderPulse {
  0% {
    border-color: rgba(255, 107, 53, 0.3);
  }
  50% {
    border-color: rgba(255, 107, 53, 0.8);
  }
  100% {
    border-color: rgba(255, 107, 53, 0.3);
  }
}

/* Placeholder Styling for Dropdown */
.form-group select:invalid {
  color: #999;
}

.form-group select option {
  color: var(--text-dark);
  background-color: #fff;
  padding: 10px;
}

.form-group select option[disabled] {
  color: #ccc;
  font-style: italic;
}

.form-group label {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  background: transparent;
  padding: 0 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group select:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  outline: none;
  border-color: var(--primary-color);
  background: transparent; /* Crucial: Reveals the liquid behind */
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.2);
}

/* Floating label active state */
.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 5px; /* Moved inside to avoid overflow clipping */
  left: 1.2rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  background: transparent; /* No background needed if inside */
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
  border: none;
  padding: 1.3rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 56px;
  width: 100%;
}

.submit-btn:active {
  transform: scale(0.98);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Dance Styles Section */
.dance-styles {
  background: var(--text-light); /* Reverted to light background */
  color: var(--text-dark); /* Dark text for contrast */
  padding: 6rem 0; /* Original padding */
  margin-top: 4rem; /* Requested margin */
  position: relative;
  overflow: hidden;
}

/* Enhanced mobile-first footer with better styling */
.footer {
  background: linear-gradient(135deg, #0f0f12 0%, #1a1a1d 50%, #2a2a2e 100%);
  color: var(--text-light);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--accent-color) 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reduced for mobile vertical scaling */
  margin-bottom: 1.5rem;
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .logo {
  justify-content: center;
}

.footer-brand .logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: var(--font-heading);
}

.footer-brand .studio-text {
  background: linear-gradient(135deg, var(--primary-color), white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Completing footer styles and adding remaining sections */
.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  padding: 0 1rem;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  transform: rotate(45deg);
  animation: hologram-shine 3s infinite;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
  border-color: transparent;
}

.social-icons a:active {
  transform: scale(0.95) rotate(5deg);
}

.social-icons a:hover {
  transform: translateY(-3px);
}

.social-icons a[href*="facebook"]:active {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
}

.social-icons a[href*="instagram"]:active {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  border-color: #dc2743;
  box-shadow: 0 5px 20px rgba(220, 39, 67, 0.4);
}

.social-icons a[href*="youtube"]:active {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.social-icons a[href*="twitter"]:active {
  background: #1da1f2;
  border-color: #1da1f2;
  box-shadow: 0 5px 20px rgba(29, 161, 242, 0.4);
}

.social-icons a[href*="tiktok"]:active {
  background: #000000;
  border-color: #69c9d0;
  box-shadow: 0 5px 20px rgba(105, 201, 208, 0.4);
}

.footer-links {
  text-align: center;
}

.footer-links h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: row; /* Horizontal on mobile */
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links ul li a {
  display: inline-block;
  padding: 0.8rem 0;
  text-decoration: none;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links ul li a:active,
.footer-links ul li a:hover {
  color: var(--primary-color);
  transform: translateX(10px); /* Magnetic slide effect */
}

/* Add staggered delay for entrance */
.footer-content > div {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-content > div.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.footer-content > div:nth-child(1) {
  transition-delay: 0.1s;
}
.footer-content > div:nth-child(2) {
  transition-delay: 0.2s;
}
.footer-content > div:nth-child(3) {
  transition-delay: 0.3s;
}

.footer-contact {
  text-align: center;
}

.footer-contact h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  color: var(--secondary-color);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:active {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-top: 2rem;
}

/* Desktop enhancements (min-width: 768px) */
@media (min-width: 768px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    min-height: auto;
    width: auto;
    color: var(--text-dark);
  }

  .nav-link:hover {
    color: var(--primary-color);
  }

  .hero {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 8rem 0 4rem;
  }

  .hero-content {
    order: 1;
    width: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  }

  .hero-image {
    order: 2;
    width: 50%;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: flex-start; /* Reset to left-aligned for desktop */
    width: auto;
    gap: 1.5rem; /* Original gap */
  }

  .btn {
    width: auto;
    padding: 1rem 2.5rem; /* Larger desktop padding */
    font-size: 1rem;
  }

  .about-slider-container {
    padding: 0;
    overflow: visible;
  }

  .about-grid {
    flex-direction: row;
    gap: 2rem;
    transform: none !important;
  }

  .about-card {
    flex: 1;
  }

  .slider-dots {
    display: none;
  }

  .classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .levels-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .styles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .programs-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .special-grid {
    flex-direction: row;
    gap: 2rem;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    gap: 4rem; /* Generous gap */
    align-items: center;
  }

  .contact-info {
    padding-right: 2rem;
  }

  .contact-info h2 {
    text-align: left;
    font-size: 3.5rem;
  }

  .contact-subtitle {
    text-align: left;
    font-size: 1.2rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }

  .footer-brand {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand .logo {
    justify-content: flex-start;
  }

  .footer-brand p {
    padding: 0;
    text-align: left;
    margin-left: 0;
  }

  .social-icons {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .footer-links {
    flex: 1;
    text-align: left;
  }

  .footer-links ul {
    flex-direction: column; /* Back to column on desktop */
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-links ul li a {
    justify-content: flex-start;
  }

  .footer-contact {
    flex: 1;
    text-align: left;
  }

  .footer-contact-link,
  .map-link {
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    gap: 1rem;
  }

  .detail-cards-panel {
    width: 60%;
  }

  .classes-slider-container {
    padding: 0;
    overflow: visible;
  }

  .classes-grid {
    transform: none !important;
  }

  #classesDots,
  #levelsDots,
  #stylesDots {
    display: none;
  }

  .styles-slider-container {
    padding: 0;
    overflow: visible;
  }

  .styles-grid {
    flex-wrap: wrap;
    transform: none !important;
    gap: 2rem;
  }

  .style-card {
    flex: 0 0 calc(50% - 1rem); /* 2 per row on tablet */
  }

  .levels-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .level-card {
    padding: 2.5rem var(--spacing-md);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 3.5rem; /* Larger for desktop but still soothing */
    letter-spacing: 0.2em;
  }

  .classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .class-card {
    flex: 1;
  }

  .class-card {
    flex: 1;
  }

  /* Desktop Landscape Progress Line */
  .levels-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .levels-progress-track {
    left: 0;
    right: 0;
    top: 50%; /* Middle of the cards */
    bottom: auto;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
  }

  .levels-progress-bar {
    width: 0%; /* JS will animate width on desktop */
    height: 100%;
    transition: width 0.1s linear;
  }

  .level-card {
    flex: 1;
  }

  .styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .style-card {
    flex: 1;
  }

  .gallery-grid {
    display: block; /* Disable grid to allow columns */
    column-count: 3;
    column-gap: 2rem;
  }

  .programs-grid {
    gap: 3rem;
  }

  .programs-slider-container {
    padding: 0;
    overflow: visible;
  }

  /* New Desktop Slider Feel */
  .programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    transform: none !important;
    padding: 0;
    overflow: visible;
  }

  .program-card {
    flex: none;
    width: 100%;
    margin: 0;
  }

  #programsDots {
    display: none;
  }
}

/* Mobile Layout Optimizations (Max-Width 767px) */
@media (max-width: 767px) {
  /* Compact Programs Section */
  .programs {
    padding: 2.5rem 0;
  }

  .programs-slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 2rem;
  }

  .programs-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 0;
    transition: transform 0.5s ease;
  }

  .program-card {
    flex: 0 0 100%;
    width: 100%;
    /* Reset gap-based spacing */
    margin: 0;
    /* Add slight internal spacing maybe? No, slider logic handles it */
    padding: 1.25rem;
    box-sizing: border-box;
  }

  .program-icon img {
    height: 160px;
  }

  .program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .program-features {
    gap: 1rem;
  }

  /* Compact Dance Styles Section */
  .style-card {
    border-radius: 20px;
  }

  .style-image {
    height: 180px;
  }

  .style-content {
    padding: 1.25rem;
  }

  .style-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .style-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  /* Unique Depth-Stack Slider for Special Programs */
  .special-slider-container {
    perspective: 1500px;
    padding: 1.5rem 0 3rem;
  }

  .special-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 12% 2rem; /* Deeper peek */
  }

  .special-grid::-webkit-scrollbar {
    display: none;
  }

  .special-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    transform-origin: center center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.85); /* More solid on mobile */
    padding: 2.5rem 1.8rem;
    border-radius: 30px;
  }

  /* Different "Elevation" effect for Special Cards on mobile */
  .special-card.active-slide {
    transform: scale(1.05) translate3d(0, -10px, 50px);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
  }

  .special-card:not(.active-slide) {
    transform: scale(0.9) translate3d(0, 0, -100px);
    opacity: 0.7;
    filter: blur(1px);
  }
}

/* 3D Cube Hero Component */
.cube-container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
  width: 100%;
  height: 500px; /* Increased height to accommodate larger spinning cube */
}

.cube-box {
  width: 272px;
  height: 272px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  animation: rotate3d 12s infinite linear;
  will-change: transform;
}

.cube-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    #fff 0%,
    var(--primary-color) 40%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  filter: blur(5px);
  box-shadow: 0 0 50px var(--primary-color), 0 0 100px var(--secondary-color);
  animation: corePulse 2s infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes corePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 30px var(--primary-color);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    box-shadow: 0 0 80px var(--secondary-color);
  }
}

/* Face Voltage Effect Styles */
.face-voltage-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.voltage-path {
  stroke: #ffffff;
  stroke-width: 3;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  filter: drop-shadow(0 0 8px var(--primary-color));
}

@media (min-width: 1024px) {
  .voltage-path {
    filter: url("#glow");
  }
}

/* Active State for Face (on click) */
.cube-face.face-active {
  border-color: #ffffff !important;
  box-shadow: 0 0 40px var(--primary-color) !important;
}

.cube-face.face-active .face-voltage-svg {
  opacity: 1;
}

.cube-face.face-active .voltage-path {
  animation: faceSpark 1.5s linear infinite;
}

@keyframes faceSpark {
  0% {
    stroke-dashoffset: 600;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Updated face transforms for Click-based Pop */
.cube-face.front.face-active {
  transform: translateZ(166px) scale(1.05);
}
.cube-face.back.face-active {
  transform: translateZ(-166px) rotateY(180deg) scale(1.05);
}
.cube-face.right.face-active {
  transform: translateX(166px) rotateY(90deg) scale(1.05);
}
.cube-face.left.face-active {
  transform: translateX(-166px) rotateY(-90deg) scale(1.05);
}
.cube-face.top.face-active {
  transform: translateY(-166px) rotateX(90deg) scale(1.05);
}
.cube-face.bottom.face-active {
  transform: translateY(166px) rotateX(-90deg) scale(1.05);
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.2rem;
  padding: 1rem;
  font-weight: bold;
  backface-visibility: visible;
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(42, 42, 42, 0.95),
    rgba(56, 56, 56, 0.95)
  );
  border: 2px solid var(--primary-color);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.cube-face::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  top: -100%;
  left: -100%;
  transition: all 0.5s ease;
  transform: translateZ(20px);
}

.cube-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cube-face:hover::before {
  top: 100%;
  left: 100%;
}

.cube-face:hover::after {
  opacity: 1;
}

/* Face specific transforms with Pop effect */
.cube-face.front {
  transform: translateZ(136px);
  border-color: var(--primary-color);
}
.cube-face.front:hover {
  transform: translateZ(166px) scale(1.05); /* Slide out 30px */
  border-color: #ffffff;
  box-shadow: 0 0 30px var(--primary-color);
}

.cube-face.back {
  transform: translateZ(-136px) rotateY(180deg);
  border-color: #00bcd4;
}
.cube-face.back:hover {
  transform: translateZ(-166px) rotateY(180deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px #00bcd4;
}

.cube-face.right {
  transform: translateX(136px) rotateY(90deg);
  border-color: #4caf50;
}
.cube-face.right:hover {
  transform: translateX(166px) rotateY(90deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px #4caf50;
}

.cube-face.left {
  transform: translateX(-136px) rotateY(-90deg);
  border-color: #ff4081;
}
.cube-face.left:hover {
  transform: translateX(-166px) rotateY(-90deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px #ff4081;
}

.cube-face.top {
  transform: translateY(-136px) rotateX(90deg);
  border-color: #ffc107;
}
.cube-face.top:hover {
  transform: translateY(-166px) rotateX(90deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px #ffc107;
}

.cube-face.bottom {
  transform: translateY(136px) rotateX(-90deg);
  border-color: #9c27b0;
}
.cube-face.bottom:hover {
  transform: translateY(166px) rotateX(-90deg) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px #9c27b0;
}

@keyframes rotate3d {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }
  25% {
    transform: translate3d(0, 0, 0) rotateX(90deg) rotateY(90deg);
  }
  50% {
    transform: translate3d(0, 0, 0) rotateX(180deg) rotateY(180deg);
  }
  75% {
    transform: translate3d(0, 0, 0) rotateX(270deg) rotateY(270deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotateX(360deg) rotateY(360deg);
  }
}

@media (max-width: 768px) {
  .cube-container {
    height: 380px;
    perspective: 1200px; /* Deeper perspective for less distortion */
  }

  .cube-box {
    width: 190px;
    height: 190px;
    animation-duration: 15s; /* Slower, smoother rotation on mobile */
  }

  .cube-face.front {
    transform: translate3d(0, 0, 95px);
  }
  .cube-face.back {
    transform: translate3d(0, 0, -95px) rotateY(180deg);
  }
  .cube-face.right {
    transform: translate3d(95px, 0, 0) rotateY(90deg);
  }
  .cube-face.left {
    transform: translate3d(-95px, 0, 0) rotateY(-90deg);
  }
  .cube-face.top {
    transform: translate3d(0, -95px, 0) rotateX(90deg);
  }
  .cube-face.bottom {
    transform: translate3d(0, 95px, 0) rotateX(-90deg);
  }

  /* Smooth Pop Transitions on Mobile */
  .cube-face.front.face-active {
    transform: translate3d(0, 0, 115px) scale(1.03);
  }
  .cube-face.back.face-active {
    transform: translate3d(0, 0, -115px) rotateY(180deg) scale(1.03);
  }
  .cube-face.right.face-active {
    transform: translate3d(115px, 0, 0) rotateY(90deg) scale(1.03);
  }
  .cube-face.left.face-active {
    transform: translate3d(-115px, 0, 0) rotateY(-90deg) scale(1.03);
  }
  .cube-face.top.face-active {
    transform: translate3d(0, -115px, 0) rotateX(90deg) scale(1.03);
  }
  .cube-face.bottom.face-active {
    transform: translate3d(0, 115px, 0) rotateX(-90deg) scale(1.03);
  }

  .cube-core {
    width: 70px;
    height: 70px;
    filter: blur(3px); /* Lighter blur */
  }
}
/* Voltage Badge Component */
.voltage-button {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.voltage-button button {
  color: var(--primary-color); /* Changed from white for better contrast */
  background: rgba(255, 107, 53, 0.1); /* Primary color low opacity */
  padding: 0.8rem 2rem;
  border-radius: 5rem;
  border: 2px solid var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: all 0.3s; /* Animate color change too */
  cursor: default; /* It's a badge, usually static, but we'll enable hover for effect */
  font-family: var(--font-heading);
}

.voltage-button button:hover {
  cursor: pointer;
  background: var(--primary-color);
  color: white; /* Contrast against solid orange */
}

/* Animation always active */
.voltage-button button:hover + svg,
.voltage-button button:hover + svg + .dots,
.voltage-button button:active + svg,
.voltage-button button:active + svg + .dots {
  opacity: 1;
}

/* Footer Headers */
.footer h4 {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-contact {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05); /* Slight box */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: glowPulse 3s infinite alternate;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  font-size: 0.95rem; /* Smaller for mobile */
  position: relative;
  overflow: hidden;
  padding: 0.8rem 1rem; /* Compact padding */
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.map-link i {
  color: var(--primary-color);
  font-size: 1.3rem;
  min-width: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
  animation: bounceMap 2s infinite;
}

.map-link:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--primary-color);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.map-link:hover i {
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.6));
}

.map-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.map-link:hover::before {
  left: 100%;
}

.map-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.4s ease;
}

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

.contact-item:hover {
  color: white;
  padding-left: 0.5rem;
}

.contact-item:hover i {
  transform: rotate(15deg) scale(1.2);
}

.contact-item::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.contact-item:hover::after {
  width: 100%;
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 107, 53, 0.1);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-color);
  }
}

@media (max-width: 768px) {
  .voltage-button svg,
  .voltage-button .dots {
    opacity: 1 !important;
  }

  .voltage-button button {
    background: var(
      --primary-color
    ); /* Also solid background on mobile for better visibility */
    color: white; /* Ensure readability */
  }
}

.voltage-button svg {
  display: block;
  position: absolute;
  top: -0.75em;
  left: -0.25em;
  width: calc(100% + 0.5em);
  height: calc(100% + 1.5em);
  pointer-events: none;
  opacity: 1; /* Always visible */
  transition: opacity 0.4s;
  transition-delay: 0.1s;
}

.voltage-button svg path {
  stroke-dasharray: 100;
  filter: url("#glow");
}

.voltage-button svg path.line-1 {
  stroke: #ff9f1c; /* Secondary Orange */
  stroke-dashoffset: 0;
  animation: spark-1 3s linear infinite;
}

.voltage-button svg path.line-2 {
  stroke: #ffffff; /* White spark */
  stroke-dashoffset: 500;
  animation: spark-2 3s linear infinite;
}

.voltage-button .dots {
  opacity: 1; /* Always visible */
  transition: opacity 0.3s;
  transition-delay: 0.4s;
}

.voltage-button .dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary-color);
  border-radius: 100%;
  position: absolute;
  opacity: 0;
}

.voltage-button .dot-1 {
  top: 0;
  left: 20%;
  animation: fly-up 3s linear infinite;
}

.voltage-button .dot-2 {
  top: 0;
  left: 55%;
  animation: fly-up 3s linear infinite;
  animation-delay: 0.5s;
}

.voltage-button .dot-3 {
  top: 0;
  left: 80%;
  animation: fly-up 3s linear infinite;
  animation-delay: 1s;
}

.voltage-button .dot-4 {
  bottom: 0;
  left: 30%;
  animation: fly-down 3s linear infinite;
  animation-delay: 2.5s;
}

.voltage-button .dot-5 {
  bottom: 0;
  left: 65%;
  animation: fly-down 3s linear infinite;
  animation-delay: 1.5s;
}

@keyframes spark-1 {
  to {
    stroke-dashoffset: -1000;
  }
}

@keyframes spark-2 {
  to {
    stroke-dashoffset: -500;
  }
}

@keyframes fly-up {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }
  5% {
    opacity: 1;
    transform: translateY(-1.5rem) scale(0.4);
  }
  10%,
  100% {
    opacity: 0;
    transform: translateY(-3rem) scale(0.2);
  }
}

@keyframes fly-down {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.2);
  }
  5% {
    opacity: 1;
    transform: translateY(1.5rem) scale(0.4);
  }
  10%,
  100% {
    opacity: 0;
    transform: translateY(3rem) scale(0.2);
  }
}

/* Footer Contact Links Animation */
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  font-size: 0.95rem; /* Smaller for mobile */
  position: relative;
  overflow: hidden;
  padding: 0.8rem 1rem; /* Compact padding */
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-contact-link i {
  color: var(--primary-color);
  font-size: 1.3rem;
  min-width: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.3));
}

.footer-contact-link:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--primary-color);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.footer-contact-link:hover i {
  transform: rotate(15deg) scale(1.2);
  filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.6));
}

.footer-contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.footer-contact-link:hover::before {
  left: 100%;
}

.footer-contact-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.4s ease;
}

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