/* ============================================================
   Shravan's Unisex Salon - Complete Luxury Gold Stylesheet
   ============================================================ */

/* 1. Global Custom Variables & Smooth Scroll */
:root {
  --gold-primary: #D4AF37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-strong: rgba(212, 175, 55, 0.65);
}

html {
  scroll-behavior: smooth;
}

/* ============================================================
   2. Hero Section - Direct Zoom-In then Horizontal Slide
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Keeps scaled/translated images contained */
  background-color: #0b0b0b;
}

/* Slide Container Setup */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Base Slide Positioning */
.hero-slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  /* Slide out to the left when losing active state */
  transform: translateX(-100%); 
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), 
              opacity 1.2s ease-in-out, 
              visibility 1.2s ease-in-out;
}

/* Active Slide - Slides into view from right to left */
.hero-slides .slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  /* Triggers the Zoom-In effect continuously while active */
  animation: continuousZoomIn 5s forwards linear;
}

/* Slide waiting to enter (Prepped on the right side) */
.hero-slides .slide.active ~ .slide {
  transform: translateX(100%);
}

/* Keyframe for Pure Zoom In (Starts at 100% and ends at 120%) */
@keyframes continuousZoomIn {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.2) translateX(0); /* Only zooms IN, never zooms back out */
  }
}

/* Dark Gradient Overlay for Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(11,11,11,0.75) 100%);
  z-index: 2;
}

/* Hero Content Positioning */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-content h1 {
  animation: heroTitleGlow 4s infinite ease-in-out;
}

@keyframes heroTitleGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  }
  50% {
    text-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
  }
}

/* 3. Gold Glows & Shadows for Existing Elements */
.card, 
.service-card, 
.service-box, 
.review-card, 
.testimonial-item,
.gallery-item, 
.price-card, 
form, 
.contact-form,
.cta-section,
.btn,
button,
.navbar,
.logo-img,
header {
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

/* Base Subtle Gold Elevation */
.card, 
.service-card, 
.service-box, 
.review-card, 
.testimonial-item,
.gallery-item, 
.price-card, 
form, 
.contact-form {
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 10px var(--gold-glow) !important;
}

/* Hover Card Lifts & Intensified Glow */
.card:hover, 
.service-card:hover, 
.service-box:hover, 
.review-card:hover, 
.testimonial-item:hover,
.gallery-item:hover, 
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 0 18px var(--gold-glow-strong) !important;
  border-color: var(--gold-primary) !important;
}

/* Image Zoom Effect */
.service-card img,
.gallery-item img,
.service-box img {
  transition: transform 0.4s ease;
}

.service-card:hover img,
.gallery-item:hover img,
.service-box:hover img {
  transform: scale(1.04);
}

/* Gold Button Glows */
.btn, 
button,
.btn-primary,
.cta-btn {
  box-shadow: 0 0 10px var(--gold-glow);
}

.btn:hover, 
button:hover,
.btn-primary:hover,
.cta-btn:hover {
  box-shadow: 0 0 20px var(--gold-glow-strong);
}

/* Logo & Header Accent */
.navbar, header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.logo-img, .navbar-brand img {
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* 4. Category Filter Buttons (Services/Gallery Pages) */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(17, 17, 17, 0.8);
  color: #cccccc;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-primary);
  color: #111111;
  font-weight: bold;
  box-shadow: 0 0 15px var(--gold-glow-strong);
  border-color: var(--gold-primary);
}

/* 5. Interactive Star Rating Selector (Booking & Reviews Forms) */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 6px;
  font-size: 24px;
  cursor: pointer;
  margin-top: 5px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  color: #444444;
  transition: color 0.2s ease;
  cursor: pointer;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: var(--gold-primary);
  text-shadow: 0 0 8px var(--gold-glow);
}

/* 6. Floating Bottom-Right Menu Buttons */
.floating-nav-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111111;
  color: var(--gold-primary) !important;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 12px var(--gold-glow);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: floatPulse 3s infinite ease-in-out;
  position: relative;
}

.floating-btn:nth-child(2) {
  animation-delay: 1.5s;
}

.floating-btn:hover {
  transform: scale(1.12);
  background: var(--gold-primary);
  color: #111111 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 22px var(--gold-glow-strong);
}

.floating-btn .btn-tooltip {
  position: absolute;
  right: 62px;
  background: rgba(17, 17, 17, 0.9);
  color: #ffffff;
  border: 1px solid var(--gold-primary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(8px);
  font-family: sans-serif;
}

.floating-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 0 10px var(--gold-glow);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4), 0 0 18px var(--gold-glow-strong);
  }
}

/* 7. Sticky Mobile Bar & Responsiveness */
.mobile-quick-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-quick-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 16px;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
  }

  .mobile-quick-bar span {
    color: var(--gold-primary);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
  }

  .mobile-quick-bar a {
    background: var(--gold-primary);
    color: #111111;
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
  }

  .floating-nav-container {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .floating-btn .btn-tooltip {
    display: none;
  }
}

/* Booking Form Container Enhancements */
.booking-section {
  padding: 40px 20px;
  max-width: 650px;
  margin: 0 auto;
}

.booking-card {
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
}

.booking-header {
  text-align: center;
  margin-bottom: 25px;
}

.booking-header h2 {
  color: var(--gold-primary);
  font-size: 28px;
  margin-bottom: 8px;
}

.booking-header p {
  color: #cccccc;
  font-size: 14px;
}

.booking-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.booking-form label {
  color: #dddddd;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.booking-form label i {
  color: var(--gold-primary);
  margin-right: 6px;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 12px 15px;
  background: #0b0b0b;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-glow-strong);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

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

.btn-block {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* ============================================================
   Interactive Service Filter Tabs
   ============================================================ */
.service-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a1a1a;
  color: #cccccc;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab i {
  color: var(--gold-primary, #D4AF37);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--gold-primary, #D4AF37);
  color: #0b0b0b;
  border-color: var(--gold-primary, #D4AF37);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

.filter-tab:hover i,
.filter-tab.active i {
  color: #0b0b0b;
}

/* Service Group Animations */
.service-group {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-group.hidden-group {
  display: none !important;
}


/* Gallery Item Hover & Overlay */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--gold-primary, #D4AF37);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

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

/* Lightbox Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.gallery-modal.show {
  display: flex;
}

.modal-content {
  max-width: 85%;
  max-height: 80vh;
  border-radius: 8px;
  border: 2px solid var(--gold-primary, #D4AF37);
}

#modalCaption {
  color: #ffffff;
  margin-top: 15px;
  font-size: 1.1rem;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


/* Rating Breakdown Card */
.rating-overview-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #111111;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 30px;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rating-score-box {
  text-align: center;
}

.rating-number {
  font-size: 3.5rem;
  color: var(--gold-primary, #D4AF37);
  font-weight: 700;
  margin: 0;
}

.rating-breakdown {
  flex: 1;
  min-width: 260px;
  max-width: 450px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
}

.bar-container {
  flex: 1;
  height: 8px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gold-primary, #D4AF37);
  border-radius: 4px;
}

/* Modal Inner Card */
.modal-card {
  background: #161616;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--gold-primary, #D4AF37);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

.close-review-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ============================================================
   FIX: Floating Quick-Action Buttons (Right Aligned)
   ============================================================ */

/* Reset any stray left-aligned styles */
.floating-actions,
.floating-btn-container {
  position: fixed !important;
  bottom: 25px !important;
  right: 20px !important;
  left: auto !important; /* Forces right positioning */
  top: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  z-index: 999999 !important; /* Keeps buttons on top of white sections */
}

/* Individual Floating Button Styling */
.float-btn,
.floating-btn,
.whatsapp-float {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Hover Animation */
.float-btn:hover,
.floating-btn:hover {
  transform: translateY(-3px) scale(1.05) !important;
}

/* Button Colors */
.float-whatsapp,
.whatsapp-btn,
.whatsapp-float {
  background-color: #25D366 !important;
}

.float-call,
.call-btn {
  background-color: #111111 !important;
  color: var(--gold-primary, #D4AF37) !important;
  border: 1px solid var(--gold-primary, #D4AF37) !important;
}

.float-scroll-top,
.top-btn {
  background-color: #d9534f !important; /* Matching the maroon/pink shade in screenshot */
}

/* Hide Scroll to Top when at top of page */
#scrollTopBtn,
#backToTop {
  opacity: 1;
  visibility: visible;
}

/* Hero Container Setup */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Base Slide State */
.hero-slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out; /* Smooth fade & zoom */
  z-index: 1;
}

/* Active Slide State (Fades in and slowly zooms in) */
.hero-slides .slide.active {
  opacity: 1;
  transform: scale(1.1); /* Zoom Effect */
  z-index: 2;
}

/* ============================================================
   BEFORE & AFTER SLIDER STYLES
   ============================================================ */

.ba-slider-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3); /* Optional Gold Accent */
  user-select: none;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* Initial 50/50 split */
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

/* Ensure the top image stays full-width inside its clipped parent container */
.ba-before-wrapper .ba-before {
  width: 100%;
  height: 100%;
  max-width: none;
}

/* Range Input Overlay */
.ba-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 4;
  cursor: ew-resize;
  margin: 0;
}

/* Vertical Divider & Circular Handle */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #D4AF37; /* Gold Line */
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #111111;
  border: 2px solid #D4AF37;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Handle Arrows */
.ba-arrow-left, .ba-arrow-right {
  position: absolute;
  top: 50%;
  width: 0; 
  height: 0; 
  transform: translateY(-50%);
  z-index: 4;
}

.ba-arrow-left {
  left: -12px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #D4AF37;
}

.ba-arrow-right {
  right: -12px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #D4AF37;
}

/* Badges */
.ba-badge {
  position: absolute;
  bottom: 15px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  z-index: 3;
  pointer-events: none;
}

.ba-badge-before { left: 15px; }
.ba-badge-after { right: 15px; }

/* ============================================================
   COUNTER & SPECIAL OFFER CTA STYLES
   ============================================================ */

.counter-cta-section {
  position: relative;
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
  text-align: center;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary, #D4AF37);
}

.stat-icon {
  font-size: 2rem;
  color: var(--gold-primary, #D4AF37);
  margin-bottom: 15px;
}

.stat-number, .stat-number-decimal {
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.stat-plus, .stat-star {
  font-size: 1.8rem;
  color: var(--gold-primary, #D4AF37);
  font-weight: 700;
  margin-left: 2px;
}

.stat-label {
  color: #cccccc;
  font-size: 0.95rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Offer Box */
.offer-box {
  background: radial-gradient(circle, rgba(30, 30, 30, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
  border: 2px solid var(--gold-primary, #D4AF37);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.offer-tag {
  display: inline-block;
  background: var(--gold-primary, #D4AF37);
  color: #000000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.offer-title {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.offer-desc {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.timer-unit {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 12px 18px;
  border-radius: 8px;
  min-width: 70px;
}

.timer-unit span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary, #D4AF37);
}

.timer-unit label {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: uppercase;
}

.timer-colon {
  font-size: 1.8rem;
  color: var(--gold-primary, #D4AF37);
  font-weight: 700;
}

.offer-btn {
  padding: 14px 35px;
  font-size: 1.05rem;
  border-radius: 30px;
}

@media (max-width: 600px) {
  .countdown-timer {
    gap: 8px;
  }
  .timer-unit {
    padding: 8px 10px;
    min-width: 55px;
  }
  .timer-unit span {
    font-size: 1.3rem;
  }
  .offer-title {
    font-size: 1.4rem;
  }
}


/* ============================================================
   ANIMATED LEVITATING ENTRANCE POPUP FIX
   ============================================================ */

.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.show-modal {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Modal Box Styling */
.modal-card {
  position: relative !important;
  background: radial-gradient(circle, #222222 0%, #111111 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.6) !important;
  border-radius: 16px !important;
  width: 100% !important;
  max-width: 420px !important;
  padding: 35px 25px 25px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.25) !important;
  transform: scale(0.85) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show-modal .modal-card {
  transform: scale(1) translateY(0);
}

/* Levitating Animation */
@keyframes levitate {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.modal-card.is-levitating {
  animation: levitate 3.2s ease-in-out infinite !important;
}

/* Close/Cross Button */
.modal-close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  z-index: 10 !important;
}

.modal-close-btn:hover {
  background: #D4AF37 !important;
  color: #000000 !important;
  transform: rotate(90deg) !important;
}

/* 6-Second Timer Progress Bar */
.progress-bar-container {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 5px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
  overflow: hidden !important;
}

.progress-bar-fill {
  width: 100%;
  height: 100%;
  background: #D4AF37;
  transform-origin: left;
}

@keyframes timerCountdown {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.progress-bar-fill.start-timer {
  animation: timerCountdown 6s linear forwards !important;
}

/* Modal Content Details */
.modal-body { text-align: center !important; }

.modal-logo-wrapper { margin-bottom: 12px !important; }

.modal-logo {
  max-width: 120px !important;
  height: auto !important;
}

.modal-badge {
  display: inline-block !important;
  background: rgba(212, 175, 55, 0.15) !important;
  color: #D4AF37 !important;
  border: 1px solid #D4AF37 !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-bottom: 10px !important;
  text-transform: uppercase !important;
}

.modal-title {
  color: #ffffff !important;
  font-size: 1.35rem !important;
  margin-bottom: 6px !important;
}

.modal-subtext {
  color: #cccccc !important;
  font-size: 0.88rem !important;
  margin-bottom: 18px !important;
}

/* Form Styles */
.modal-form .form-group {
  position: relative !important;
  margin-bottom: 12px !important;
}

.modal-form .input-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #D4AF37 !important;
  font-size: 0.9rem !important;
}

.modal-form input {
  width: 100% !important;
  padding: 12px 14px 12px 40px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.modal-form input:focus {
  border-color: #D4AF37 !important;
}

.modal-submit-btn {
  width: 100% !important;
  padding: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  margin-top: 5px !important;
  cursor: pointer !important;
}

/* ============================================================
   CUSTOM MOUSE & TOUCH TRACKER STYLES
   ============================================================ */

/* Hide default cursor on desktop devices for a clean look */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, select, textarea, .btn, .modal-close-btn {
    cursor: none !important;
  }
}

/* Center Pointer Dot */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  background-color: #D4AF37; /* Salon Gold */
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.1s ease;
  box-shadow: 0 0 10px #D4AF37;
}

/* Following Glow Ring */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Hover effect on interactive elements */
body.cursor-hover .cursor-ring {
  width: 50px;
  height: 50px;
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
}

body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
}

/* Active touch effect on Mobile */
.cursor-dot.active-touch,
.cursor-ring.active-touch {
  opacity: 1 !important;
}

.cursor-dot.hide-tracker,
.cursor-ring.hide-tracker {
  opacity: 0 !important;
}
