:root {
  /* Primary Colors - Enhanced palette with more vibrant tones */
  --color-dark: #1a1a2e;
  --color-dark-secondary: #16213e; 
  --color-dark-tertiary: #0f172a; /* New deeper shade for layering */
  --color-light: #ffffff;
  --color-light-secondary: #f9f7f7;
  --color-light-tertiary: #f0f2f5; /* New subtle shade for layering */
  
  /* Accent Colors - Extended palette with more gradient options */
  --color-accent: #e5446d;
  --color-accent-rgb: 229, 68, 109; /* RGB values for rgba functions */
  --color-accent-light: #ffd9e3;
  --color-accent-light-rgb: 255, 217, 227; /* RGB values for rgba functions */
  --color-accent-medium: #ff6b93; /* New medium accent for better gradients */
  --color-accent-medium-rgb: 255, 107, 147; /* RGB values for rgba functions */
  --color-accent-hover: #c83157;
  --color-accent-hover-rgb: 200, 49, 87; /* RGB values for rgba functions */
  --color-accent-secondary: #a239ca;
  --color-accent-secondary-rgb: 162, 57, 202; /* RGB values for rgba functions */
  --color-accent-secondary-light: #d3a4e3; /* New light purple for subtle accents */
  --color-accent-secondary-light-rgb: 211, 164, 227; /* RGB values for rgba functions */
  --color-accent-secondary-hover: #8a2eb8; /* New deeper purple for hover states */
  --color-accent-secondary-hover-rgb: 138, 46, 184; /* RGB values for rgba functions */
  
  /* Text Colors - Enhanced with more options for hierarchy */
  --color-text: #333333;
  --color-text-rgb: 51, 51, 51; /* RGB values for rgba functions */
  --color-text-light: #444444; /* Darkened for better contrast */
  --color-text-light-rgb: 68, 68, 68; /* RGB values for rgba functions */
  --color-text-subtle: #666666; /* Darkened for better contrast */
  --color-text-subtle-rgb: 102, 102, 102; /* RGB values for rgba functions */
  --color-text-muted: #767676; /* Darkened for better contrast - meets WCAG AA */
  --color-text-muted-rgb: 153, 153, 153; /* RGB values for rgba functions */
  --color-text-inverse: #f9f9f9; /* New high contrast text for dark backgrounds */
  --color-text-inverse-rgb: 249, 249, 249; /* RGB values for rgba functions */
  
  /* Status Colors - Enhanced with hover states */
  --color-success: #34a853;
  --color-success-rgb: 52, 168, 83; /* RGB values for rgba functions */
  --color-success-light: #e8f5e9;
  --color-success-hover: #2d9449; /* New hover state */
  --color-error: #ea4335;
  --color-error-rgb: 234, 67, 53; /* RGB values for rgba functions */
  --color-error-light: #fdedec; /* New light error background */
  --color-error-hover: #d73c30; /* New hover state */
  --color-warning: #fbbc05;
  --color-warning-rgb: 251, 188, 5; /* RGB values for rgba functions */
  --color-warning-light: #fff8e1; /* New light warning background */
  --color-warning-hover: #e5ac04; /* New hover state */
  --color-info: #4285f4; /* New info color */
  --color-info-rgb: 66, 133, 244; /* RGB values for rgba functions */
  --color-info-light: #e8f1fd; /* New light info background */
  
  /* Background Colors - Extended palette */
  --color-bg-subtle: #f5f5f7;
  --color-bg-card: #ffffff;
  --color-bg-dark: #0c0c1d; /* New very dark background */
  --color-bg-gradient-1: linear-gradient(135deg, var(--color-dark), var(--color-dark-secondary)); /* New preset gradients */
  --color-bg-gradient-2: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  --color-bg-gradient-3: linear-gradient(to right, var(--color-dark-tertiary), var(--color-dark-secondary));
  
  /* UI Elements - Enhanced with more options */
  --radius-mini: 4px; /* New mini radius for smaller elements */
  --radius-small: 8px;
  --radius: 16px;
  --radius-large: 24px;
  --radius-xl: 32px; /* New extra large radius */
  --radius-circle: 50%; /* New circle radius */
  --radius-pill: 9999px; /* New pill radius for buttons */
  
  /* Transitions and Animations */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* New faster transition */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* New slower transition */
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* New bouncy transition */
  
  /* Shadows - Enhanced with more depth options */
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.05); /* New very subtle shadow */
  --shadow-small: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 8px 24px rgba(0,0,0,0.1);
  --shadow-large: 0 16px 32px rgba(0,0,0,0.15);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.2); /* New extra large shadow */
  --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.05); /* New inset shadow */
  --shadow-focus: 0 0 0 3px rgba(229, 68, 109, 0.3); /* New focus ring shadow */
  --shadow-success: 0 0 0 3px rgba(52, 168, 83, 0.3); /* New success focus shadow */
  --shadow-error: 0 0 0 3px rgba(234, 67, 53, 0.3); /* New error focus shadow */
  
  /* Borders */
  --border-thin: 1px solid rgba(0,0,0,0.05); /* New preset borders */
  --border-regular: 2px solid rgba(0,0,0,0.08);
  --border-accent: 2px solid var(--color-accent);
  --border-light: 1px solid rgba(255,255,255,0.15);
  
  /* Spacing - Extended scale */
  --space-3xs: 2px; /* New micro spacing */
  --space-2xs: 4px; /* Renamed from xs */
  --space-xs: 8px; /* Renamed from sm */
  --space-sm: 12px; /* New size between xs and md */
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px; /* Renamed from xxl */
  --space-3xl: 64px; /* New larger spacing */
  --space-4xl: 96px; /* New extra large spacing */
  --space-xxl: 48px; /* Legacy name - keep for compatibility */
  
  /* Z-index layers */
  --z-base: 1;
  --z-elevated: 10; 
  --z-sticky: 100;
  --z-dropdown: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
  --z-tooltip: 4000;
  --z-overlay: 5000;
  --z-max: 9999;
  
  /* Typography */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-loose: 1.8;
  --letter-spacing-tight: -0.5px;
  --letter-spacing-normal: 0px;
  --letter-spacing-wide: 0.5px;
  --letter-spacing-widest: 1px;
  
  /* Font Sizes */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-md: 1.125rem;  /* 18px */
  --text-lg: 1.25rem;   /* 20px */
  --text-xl: 1.5rem;    /* 24px */
  --text-2xl: 1.75rem;  /* 28px */
  --text-3xl: 2rem;     /* 32px */
  --text-4xl: 2.5rem;   /* 40px */
  --text-5xl: 3rem;     /* 48px */
  
  /* Dark Mode Variables */
  --dark-bg-primary: #0d0d1b;
  --dark-bg-secondary: #1a1a2e;
  --dark-bg-tertiary: #242444;
  --dark-text-primary: #e6e6fa;
  --dark-text-secondary: #b5b5d8;
  --dark-border: rgba(255,255,255,0.1);
  --dark-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 900px;
  display: flex;
  align-items: center; /* Changed to center alignment from bottom */
  color: var(--color-light);
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: url('../media/images/hero-background.jpg') center/cover no-repeat;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .hero-image {
    width: 60%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Visual overlay applied directly to the background image */
.hero-image-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to top, 
    rgba(15, 10, 30, 0.95) 0%, /* Dark purple-blue at bottom with high opacity */
    rgba(15, 10, 30, 0.8) 10%, 
    rgba(15, 10, 30, 0.5) 20%, 
    rgba(15, 10, 30, 0.1) 25%,
    rgba(15, 10, 30, 0) 30% /* Completely transparent at 30% from bottom */
  );
  pointer-events: none; /* Makes the overlay non-interactive */
  z-index: 1; /* Above background, below content */
  mix-blend-mode: multiply; /* Blends with the background image */
  opacity: 1; /* Full effect */
  
  /* Additional visual effects - no blur */
  filter: saturate(1.2); /* Slightly enhances the colors */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 768px) {
  /* Desktop styles for overlay */
  .hero-image-overlay {
    background: linear-gradient(
      to top, 
      rgba(10, 10, 20, 0.95) 0%, /* Almost black at bottom with high opacity */
      rgba(10, 10, 20, 0.8) 15%, 
      rgba(10, 10, 20, 0.6) 30%, 
      rgba(10, 10, 20, 0.3) 50%,
      rgba(10, 10, 20, 0.1) 70%,
      rgba(10, 10, 20, 0) 85% /* Completely transparent at top */
    ),
    linear-gradient(
      to right, 
      rgba(26, 26, 46, 0.5) 0%, 
      rgba(26, 26, 46, 0.3) 30%, 
      transparent 70%
    );
  }
}

@media (max-width: 767px) {
  /* Mobile styles for overlay */
  .hero-image-overlay {
    /* Enhanced gradient for better readability on mobile */
    background: linear-gradient(
      to top, 
      rgba(10, 10, 20, 0.95) 0%, /* Almost black at bottom with high opacity */
      rgba(10, 10, 20, 0.85) 15%, 
      rgba(10, 10, 20, 0.7) 30%, 
      rgba(10, 10, 20, 0.4) 50%,
      rgba(10, 10, 20, 0.2) 70%,
      rgba(10, 10, 20, 0) 85% /* Completely transparent at top */
    );
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto 0 5%; /* Reset margin, using inline transform instead */
  text-align: left;
  padding: 0 20px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

@media (max-width: 767px) {
  .hero-content {
    text-align: center;
    margin: -15% auto 0; /* Move content up by 15% on mobile */
    padding: 0 30px;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
  color: var(--color-light);
  letter-spacing: -0.5px;
  line-height: 1.1;
  position: relative;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

@media (max-width: 767px) {
  .hero h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-tagline {
  margin: calc(var(--space-xl) + 5px) 0 var(--space-xl);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  max-width: 550px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

@media (max-width: 767px) {
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Buttons v2 - Enhanced with micro-interactions */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-light);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1); /* Improved easing */
  font-size: 1rem;
  box-shadow: var(--shadow), 0 0 0 rgba(229, 68, 109, 0.4);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

/* Gradient background shift animation */
.primary-button.gradient-animation {
  background-size: 200% auto;
  background-image: linear-gradient(
    to right, 
    var(--color-accent) 0%, 
    var(--color-accent-secondary) 50%, 
    var(--color-accent) 100%
  );
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.primary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent-secondary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease;
}

/* Hover state */
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large), 0 6px 25px rgba(229, 68, 109, 0.35);
}

.primary-button:hover::before {
  opacity: 1;
}

/* Focus state for accessibility */
.primary-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  box-shadow: var(--shadow), 0 0 0 3px rgba(229, 68, 109, 0.3);
}

/* Active state */
.primary-button:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: var(--shadow);
  transition: all 0.1s ease;
}

/* Secondary button with purple accent */
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 52, 210, 0.2); /* New purple background */
  color: var(--color-light);
  padding: 16px 32px;
  border: 1px solid rgba(174, 108, 210, 0.5); /* Purple border */
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1);
  font-size: 1rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-small), inset 0 1px 1px rgba(255,255,255,0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.secondary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(174, 108, 210, 0.3), 
    rgba(138, 43, 226, 0.4)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.secondary-button:hover {
  background: rgba(163, 52, 210, 0.3); /* Darker purple on hover */
  transform: translateY(-3px);
  border-color: rgba(174, 108, 210, 0.7);
  box-shadow: var(--shadow), 0 10px 25px rgba(138, 43, 226, 0.2);
}

.secondary-button:hover::before {
  opacity: 1;
}

.secondary-button:focus {
  outline: 2px solid var(--color-accent-secondary); /* Purple outline */
  outline-offset: 2px;
  box-shadow: var(--shadow-small), 0 0 0 3px rgba(138, 43, 226, 0.3);
}

.secondary-button:active {
  transform: translateY(-1px) scale(0.98);
  background: rgba(138, 43, 226, 0.4); /* Darker purple on active state */
  transition: all 0.1s ease;
}

.dark-theme .secondary-button {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow-small), 0 0 15px rgba(0,0,0,0.2);
}

.button-icon {
  margin-right: 12px;
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.primary-button:hover .button-icon,
.secondary-button:hover .button-icon {
  transform: scale(1.1);
}

/* Booking Form Styling - Enhanced with elegant design and micro-interactions */
.booking-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
  perspective: 1000px; /* Add perspective for 3D effects */
}

.booking-form {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: var(--space-xl);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-large);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
  transform: translateZ(0); /* Initial state for 3D effect */
  z-index: 2;
}

/* Add subtle decorative elements to the form */
.booking-form::before,
.booking-form::after {
  content: '';
  position: absolute;
  border-radius: var(--radius-circle);
  z-index: -1;
  opacity: 0.5;
  filter: blur(40px);
  transition: var(--transition-slow);
}

.booking-form::before {
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, 
    rgba(var(--color-accent-rgb), 0.2), 
    transparent 70%);
}

.booking-form::after {
  bottom: -40px;
  left: -40px;
  width: 180px;
  height:
  180px;
  background: radial-gradient(circle, 
    rgba(var(--color-accent-secondary-rgb), 0.15), 
    transparent 70%);
}

.booking-form:hover {
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(var(--color-accent-rgb), 0.1);
  transform: translateZ(20px); /* Subtle 3D hover effect */
}

.booking-form:hover::before,
.booking-form:hover::after {
  opacity: 0.8;
}

/* Top accent line */
.booking-form-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  z-index: 2;
}

.form-input-animated {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-input-animated input {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-small);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
  background: var(--color-light);
  box-shadow: var(--shadow-subtle);
}

.form-input-animated input:focus {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
}

.form-input-animated label {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-subtle);
  transition: var(--transition);
  pointer-events: none;
  background: var(--color-light);
  padding: 0 var(--space-xs);
  font-weight: 500;
  border-radius: var(--radius-mini);
}

.form-input-animated input:focus + label,
.form-input-animated input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 0.8rem;
  color: var(--color-accent);
  transform: translateY(-50%);
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: var(--shadow-subtle);
}

.form-input-animated input:focus {
  padding-left: var(--space-lg); /* Add more space when focused */
}

/* Add subtle animation on focus */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.4); }
  70% { box-shadow: 0 0 0 5px rgba(var(--color-accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0); }
}

.form-input-animated input:focus {
  animation: pulse-border 1.5s infinite;
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-label, .select-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-left: var(--space-sm);
  transition: var(--transition);
}

.form-label::before, .select-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 15px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-secondary));
  border-radius: var(--radius-small);
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-selected {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-small);
  background: var(--color-light);
  cursor: pointer;
  position: relative;
  color: var(--color-text-subtle);
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
  font-weight: 500;
}

.select-selected:hover {
  border-color: rgba(var(--color-accent-rgb), 0.3);
}

.select-selected:after {
  content: "";
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-subtle);
  border-bottom: 2px solid var(--color-text-subtle);
  transform: translateY(-70%) rotate(45deg);
  transition: var(--transition);
}

.select-selected.select-arrow-active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
}

.select-selected.select-arrow-active:after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--color-accent);
}

.select-items {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  background: var(--color-light);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-large);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s var(--transition-bounce), opacity 0.3s ease;
  border: 1px solid rgba(var(--color-accent-rgb), 0.1);
  transform: translateY(10px);
  pointer-events: none;
}

.select-items.show {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.select-item {
  padding: var(--space-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.select-item:last-child {
  border-bottom: none;
}

.select-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--color-accent-light-rgb), 0.3), 
    rgba(var(--color-accent-light-rgb), 0));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.select-item:hover {
  background: rgba(var(--color-accent-light-rgb), 0.1);
  padding-left: var(--space-lg); /* Move right on hover */
}

.select-item:hover::before {
  opacity: 1;
}

.select-item.selected {
  background: rgba(var(--color-accent-light-rgb), 0.2);
  color: var(--color-accent);
  font-weight: 600;
}

.select-item.selected::after {
  content: '✓';
  position: absolute;
  right: var(--space-md);
  color: var(--color-accent);
  font-weight: bold;
}

.service-icon-mini {
  margin-right: var(--space-md);
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
  transition: var(--transition-bounce);
}

.select-item:hover .service-icon-mini {
  transform: scale(1.2);
}

/* Time slots v3 - Elegant time slots with enhanced visual feedback */
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.time-slot {
  padding: var(--space-md) var(--space-md);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: all 0.3s var(--transition-bounce);
  background: var(--color-light);
  text-align: center;
  min-width: 75px;
  position: relative;
  font-weight: 500;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.time-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(var(--color-accent-light-rgb), 0.5), 
    rgba(var(--color-accent-secondary-light-rgb), 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.time-slot::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  top: 7px;
  right: 7px;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  box-shadow: var(--shadow-small);
}

.time-slot span {
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

/* Hover state */
.time-slot:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-small), 0 5px 15px rgba(var(--color-accent-rgb), 0.15);
}

.time-slot:hover span {
  font-weight: 600;
  transform: scale(1.05);
}

.time-slot:hover::before {
  opacity: 0.25;
}

/* Selected state */
.time-slot.selected {
  background: var(--color-light);
  color: var(--color-accent);
  border-color: var(--color-accent);
  font-weight: 700;
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow), 0 8px 20px rgba(var(--color-accent-rgb), 0.25);
}

.time-slot.selected::before {
  opacity: 0.15;
}

.time-slot.selected::after {
  transform: scale(1);
}

.time-slot.selected span {
  transform: scale(1.05);
}

/* Add checkmark to selected slot */
.time-slot.selected::after {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: bold;
}

/* Focus state for accessibility */
.time-slot:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  box-shadow: var(--shadow-focus);
}

/* Time slot status indicators */
.time-slot.booked {
  opacity: 0.5;
  background: var(--color-bg-subtle);
  border-color: rgba(0,0,0,0.05);
  color: var(--color-text-subtle);
  cursor: not-allowed;
  box-shadow: none;
  text-decoration: line-through;
}

.time-slot.booked:hover {
  transform: none;
  box-shadow: none;
}

.time-slot.few-spots {
  position: relative;
  overflow: visible;
}

.time-slot.few-spots::before {
  opacity: 0.1;
  background: linear-gradient(135deg, 
    rgba(var(--color-warning-rgb), 0.2), 
    rgba(var(--color-warning-rgb), 0.1));
}

/* Add "Few spots" tooltip */
.time-slot.few-spots::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--color-warning), var(--color-warning-hover));
  border-radius: 3px;
}

.time-slot.few-spots:hover::before {
  opacity: 0.15;
}

/* Booking guarantee badge - Enhanced with animation */
.booking-guarantee {
  display: flex;
  align-items: center;
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(to right, 
    rgba(var(--color-success-rgb), 0.1), 
    rgba(var(--color-success-rgb), 0.05));
  border-radius: var(--radius);
  color: var(--color-text);
  border: 1px solid rgba(var(--color-success-rgb), 0.2);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.booking-guarantee:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

/* Add subtle shine animation */
.booking-guarantee::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

.guarantee-icon {
  color: var(--color-success);
  font-size: 1.4rem;
  margin-right: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-success-rgb), 0.15);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  flex-shrink: 0;
}

/* Animated success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
  animation: fadeScale 0.5s var(--transition-bounce);
}

@keyframes fadeScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, 
    rgba(var(--color-success-rgb), 0.1), 
    rgba(var(--color-success-rgb), 0.2));
  color: var(--color-success);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(var(--color-success-rgb), 0.2);
  animation: successPulse 2s infinite;
}

@keyframes successPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--color-success-rgb), 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(var(--color-success-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--color-success-rgb), 0); }
}

/* Add confetti animation */
.success-icon::before,
.success-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-circle);
  z-index: -1;
}

.success-icon::before {
  background: radial-gradient(circle, 
    rgba(var(--color-success-rgb), 0.2), 
    transparent 70%);
  animation: rotate 4s linear infinite;
}

.success-icon::after {
  background: radial-gradient(circle, 
    rgba(var(--color-success-rgb), 0.1), 
    transparent 60%);
  animation: rotate 4s linear infinite reverse;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced primary button for form */
.booking-form .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  color: var(--color-light);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  font-size: 1.1rem;
  box-shadow: var(--shadow), 0 6px 20px rgba(var(--color-accent-rgb), 0.3);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  width: 100%;
}

.booking-form .primary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent-secondary-hover));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.booking-form .primary-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large), 0 12px 30px rgba(var(--color-accent-rgb), 0.4);
}

.booking-form .primary-button:hover::before {
  opacity: 1;
}

.booking-form .primary-button:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 6px 20px rgba(var(--color-accent-rgb), 0.3);
}

/* FAQ Section Styling */
.faq-section {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f4ff, #f5f0ff);
  z-index: 1;
}

.faq-decoration {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(var(--color-accent-secondary-rgb), 0.1), 
    rgba(var(--color-accent-secondary-rgb), 0.05));
  z-index: 0;
  filter: blur(50px);
  pointer-events: none; /* Ensure it doesn't interfere with clicks */
  will-change: transform; /* Optimize rendering performance */
}

.faq-decoration-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  animation: float-slow 15s infinite alternate ease-in-out;
}

.faq-decoration-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
  opacity: 0.5;
  animation: float-slow 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(30px) rotate(5deg); }
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.faq-item {
  margin-bottom: var(--space-md);
  border: 1px solid rgba(138, 43, 226, 0.15);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-small);
  overflow: hidden;
  transition: var(--transition);
  transform: translateZ(0); /* Force hardware acceleration */
  will-change: transform, box-shadow; /* Optimize rendering performance */
}

.faq-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.faq-question {
  padding: var(--space-lg);
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  font-family: 'Playfair Display', serif; /* Consistent font with headings */
  user-select: none; /* Prevent text selection */
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-accent);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--color-accent-secondary);
  color: var(--color-accent-secondary);
  transition: transform 0.3s ease;
}

.faq-question.active {
  border-bottom: 1px solid rgba(138, 43, 226, 0.15);
  color: var(--color-accent-secondary);
  background-color: rgba(138, 43, 226, 0.05);
}

.faq-question.active::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-question.active + .faq-answer {
  padding: var(--space-lg);
  max-height: 500px;
}

.dark-theme .faq-section {
  background: var(--dark-bg-primary);
}

.dark-theme .faq-item {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}

.dark-theme .faq-question {
  color: var(--dark-text-primary);
}

.dark-theme .faq-question.active {
  border-color: var(--dark-border);
  background-color: rgba(138, 43, 226, 0.1);
}

.dark-theme .faq-answer {
  color: var(--dark-text-secondary);
}

/* Dark theme support */
.dark-theme .booking-form {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}

.dark-theme .form-input-animated input {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
  color: var(--dark-text-primary);
}

.dark-theme .form-input-animated label {
  background: var(--dark-bg-tertiary);
  color: var(--dark-text-secondary);
}

.dark-theme .form-input-animated input:focus + label,
.dark-theme .form-input-animated input:not(:placeholder-shown) + label {
  background: var(--dark-bg-tertiary);
}

.dark-theme .select-selected {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
  color: var(--dark-text-secondary);
}

.dark-theme .select-items {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
}

.dark-theme .select-item {
  border-color: rgba(255,255,255,0.05);
  color: var(--dark-text-secondary);
}

.dark-theme .select-item:hover {
  background: rgba(255,255,255,0.05);
}

.dark-theme .time-slot {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
  color: var(--dark-text-secondary);
}

.dark-theme .time-slot.selected {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.dark-theme .time-slot:hover {
  border-color: rgba(var(--color-accent-light-rgb), 0.5);
  color: var(--color-accent-light);
}

.dark-theme .booking-guarantee {
  background: linear-gradient(to right, 
    rgba(var(--color-success-rgb), 0.15), 
    rgba(var(--color-success-rgb), 0.05));
  border-color: rgba(var(--color-success-rgb), 0.2);
  color: var(--dark-text-primary);
}

.dark-theme .form-label, 
.dark-theme .select-label {
  color: var(--dark-text-primary);
}

/* Procedure Cards */
.process-section {
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-secondary));
  color: var(--color-light);
  overflow: hidden;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 2;
}

.process-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: none;
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
  background: rgba(255,255,255,0.08);
}

.card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  border-radius: 0 0 0 var(--radius);
}

.card-number {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 1;
}

.card-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-lg);
}

.card-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  border-radius: 50%;
  opacity: 0.2;
}

.card-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.process-card h3 {
  color: var(--color-light);
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.process-card p {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-features {
  margin-bottom: var(--space-lg);
}

.card-feature {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.feature-icon-small {
  color: var(--color-accent);
  margin-right: var(--space-sm);
  font-weight: bold;
}

.feature-text {
  color: rgba(255,255,255,1);
  font-size: 0.9rem;
  font-weight: 500;
}

.card-time {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.15);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-small);
  display: inline-flex;
}

.process-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(229, 68, 109, 0.15), rgba(162, 57, 202, 0.15));
  border-radius: var(--radius);
  padding: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: none;
}

.cta-headline {
  color: var(--color-light);
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  font-weight: 400;
  line-height: 1.5;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  color: var(--color-light);
  padding: var(--space-md) var(--space-xl);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
  box-shadow: var(--shadow), 0 4px 20px rgba(229, 68, 109, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large), 0 8px 30px rgba(229, 68, 109, 0.4);
}

/* FAQ Section */
.faq-section {
  background: var(--color-bg-subtle);
  position: relative;
  overflow: hidden;
}

.faq-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-light), rgba(162, 57, 202, 0.1));
  filter: blur(80px);
  opacity: 0.5;
  z-index: 1;
}

.faq-decoration-1 {
  top: -150px;
  left: -150px;
}

.faq-decoration-2 {
  bottom: -150px;
  right: -150px;
}

.faq-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item {
  background: var(--color-bg-card);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.dark-theme .faq-container {
  background: var(--color-dark-secondary);
}

.dark-theme .faq-item {
  background: var(--color-dark-secondary);
  border-color: rgba(255,255,255,0.05);
}

.faq-question {
  padding: var(--space-lg);
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  font-size: 1.1rem;
  letter-spacing: -0.2px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-family: 'Playfair Display', serif; /* Changed font to match headings */
}

.dark-theme .faq-question {
  color: var(--color-text-light);
  border-bottom-color: rgba(255,255,255,0.05);
}

.faq-question:hover {
  background-color: rgba(0,0,0,0.02);
}

.dark-theme .faq-question:hover {
  background-color: rgba(255,255,255,0.03);
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: var(--transition);
}

.faq-question.active {
  color: var(--color-accent);
  background-color: rgba(229, 68, 109, 0.05);
  font-weight: 700;
  border-bottom: 1px solid rgba(229, 68, 109, 0.15);
}

.dark-theme .faq-question.active {
  background-color: rgba(255, 82, 119, 0.1);
  border-color: rgba(255, 82, 119, 0.2);
}

.faq-question.active::after {
  content: "−"; /* Using proper minus sign */
  transform: rotate(0);
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.44, 0.05, 0.17, 0.97), 
              padding 0.4s cubic-bezier(0.44, 0.05, 0.17, 0.97),
              opacity 0.4s ease;
  padding: 0 var(--space-lg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.9);
}

.dark-theme .faq-answer {
  color: var(--color-text-light);
  background-color: rgba(25, 25, 40, 0.95);
}

.faq-answer p {
  margin-bottom: var(--space-md);
}

.faq-question.active + .faq-answer {
  max-height: 500px; /* Increased for longer content */
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  opacity: 1;
}

/* Mobile Navigation - main.css overrides are removed as they conflict with mobile.css */
@media (min-width: 991px) {
  .mobile-nav {
    display: none !important; /* Hide on desktop */
  }
}

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

/* Sections Styling */
section {
  padding: var(--space-xxl) 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s ease;
  z-index: 1;
}

section:nth-child(even) {
  background-color: var(--color-bg-subtle);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
  color: var(--color-dark);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(229, 68, 109, 0.2);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: -30px auto var(--space-xl);
  color: var(--color-text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer - Modern Elegant Style - With enhanced accessibility */
footer {
  background: linear-gradient(135deg, #14182c, #0d0d1a);
  color: rgba(255,255,255,0.95); /* Increased opacity for better contrast */
  text-align: center;
  padding: 60px 20px 120px;
  position: relative;
  overflow: hidden;
}

/* Add subtle texture to footer */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  z-index: 2;
}

/* Add subtle glow effect */
footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 64, 117, 0.15), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-logo {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 700;
  /* More vibrant gradient */
  background: linear-gradient(135deg, #fff 20%, #ffd5df 40%, #ff8aa9 70%, #ff4075 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Enhanced text shadow for depth */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)) drop-shadow(0 0 30px rgba(255, 64, 117, 0.3));
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 30px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 10px 25px rgba(255, 64, 117, 0.3);
}

.footer-social a:hover svg {
  transform: scale(1.15);
}

.footer-social a:hover::before {
  opacity: 1;
}

/* Custom styles for each social media platform */
.footer-social a[aria-label="Наш Instagram"]::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social a[aria-label="Наш Facebook"]::before {
  background: linear-gradient(45deg, #3b5998 0%, #2f55a4 100%);
}

.footer-social a[aria-label="Наш TikTok"]::before {
  background: linear-gradient(45deg, #010101 0%, #69C9D0 50%, #EE1D52 100%);
}

footer a {
  color: #ff8aa9;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: white;
  transition: width 0.3s ease;
}

footer a:hover {
  color: white;
}

footer a:hover::after {
  width: 100%;
}

footer p {
  margin-bottom: var(--space-lg);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.95); /* Increased opacity for better contrast */
}

/* Custom H3 styling throughout the page */
h3 {
  font-size: 1.6rem;
  color: #b347d1; /* Changed to purple secondary accent */
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-bottom: 5px;
}

/* Add subtle line under certain h3 elements */
.service h3, .process-card h3, section > h3:not(.video-title) {
  position: relative;
}

.service h3::after, .process-card h3::after, section > h3:not(.video-title)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  border-radius: 1px;
  opacity: 0.7;
}

/* Special styling for video titles and section headings */
.video-title, 
h2.section-title,
.cta-headline {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ff4075, #b347d1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff4075; /* Fallback */
  display: inline-block;
  margin-bottom: 0.8rem;
  text-shadow: none;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
  text-align: center;
  width: 100%;
}

/* Dark mode adjustments */
.dark-theme h3 {
  color: #d389f5; /* Lighter purple for dark mode */
  text-shadow: 0 0 10px rgba(211, 137, 245, 0.2);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 130px; /* Moved up 10% from original 72px */
  right: 20px;
  background: var(--color-accent);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-5px);
}

/* Service Cards - Enhanced with micro-interactions */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--color-accent-rgb), 0.05), 
    rgba(var(--color-accent-secondary-rgb), 0.05));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: rgba(var(--color-accent-rgb), 0.1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-secondary));
  border-radius: 2px;
  transition: var(--transition);
}

.service-card:hover::before {
  width: 6px;
  box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.4);
}

.service-card h3 {
  margin: var(--space-lg) 0 var(--space-md);
  font-size: 1.4rem;
  position: relative;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.service-card:hover h3 {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  transform: translateX(var(--space-xs));
}

.service-card p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
  flex-grow: 1;
  transition: var(--transition);
  line-height: var(--line-height-normal);
}

.service-card:hover p {
  color: var(--color-text);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-circle);
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-small);
  transition: var(--transition-bounce);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow), 0 10px 20px rgba(var(--color-accent-rgb), 0.3);
}

/* Animated background for service icon */
.service-icon::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, 
    rgba(var(--color-accent-rgb), 0.2), 
    transparent 70%);
  border-radius: var(--radius-circle);
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon::before {
  opacity: 1;
  animation: pulse-glow 2s infinite;
}

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

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-subtle);
  color: var(--color-text);
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  transition: var(--transition);
  margin-top: var(--space-md);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.service-cta:hover {
  color: var(--color-light);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-small), 0 5px 15px rgba(var(--color-accent-rgb), 0.25);
}

.service-cta:hover::before {
  opacity: 1;
}

.dark-theme .service-card {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}

.dark-theme .service-card::after {
  background: linear-gradient(135deg, 
    rgba(var(--color-accent-rgb), 0.1), 
    rgba(var(--color-accent-secondary-rgb), 0.05));
}

.dark-theme .service-card h3 {
  background: linear-gradient(135deg, var(--dark-text-primary), var(--dark-text-primary));
  background-clip: text;
  -webkit-background-clip: text;
}

.dark-theme .service-card:hover h3 {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-secondary-light));
  background-clip: text;
  -webkit-background-clip: text;
}

.dark-theme .service-card p {
  color: var(--dark-text-secondary);
}

.dark-theme .service-card:hover p {
  color: var(--dark-text-primary);
}

.dark-theme .service-cta {
  background: rgba(255,255,255,0.05);
  color: var(--dark-text-primary);
  border-color: var(--dark-border);
}

/* Responsive */
@media (min-width: 768px) {
  .testimonial {
    padding: var(--space-xl);
  }
  
  .service {
    padding: var(--space-xl);
  }
  
  .back-to-top {
    bottom: 30px;
  }
}

/* Desktop Navigation */
.desktop-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.desktop-nav .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #fff, #ffd5df);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 80%;
}

/* Desktop navigation visibility */
@media (min-width: 991px) {
  .desktop-nav {
    display: flex; /* Show desktop nav on larger screens */
  }
}

@media (max-width: 990px) {
  .desktop-nav {
    display: none !important; /* Hide desktop nav on smaller screens */
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-light);
  font-weight: bold;
  text-decoration: none;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  border-radius: 0 0 var(--radius-small) 0;
  box-shadow: var(--shadow);
  opacity: 0.95;
  font-size: 1rem;
  line-height: 1.5;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  opacity: 1;
}

/* Focus styles for better keyboard navigation */
button:focus-visible,
a:focus-visible,
input:focus-visible,
.time-slot:focus-visible,
.nav-item:focus-visible,
.form-checkbox:focus-visible,
.form-radio:focus-visible,
.select-item:focus-visible,
.select-selected:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.3);
  border-radius: var(--radius-small);
  position: relative;
  z-index: 2;
}

/* Add space for sr-only content used for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Testimonials and Google Reviews - Enhanced with elegant design and animations */
.testimonial-content {
  margin-top: var(--space-md);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: var(--line-height-loose);
  font-style: italic;
  position: relative;
  padding: var(--space-md) var(--space-lg);
  background-color: rgba(var(--color-accent-light-rgb), 0.1);
  border-radius: var(--radius-small);
  transition: var(--transition);
}

/* Add quotation marks */
.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  position: absolute;
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  color: rgba(var(--color-accent-rgb), 0.15);
  font-style: normal;
}

.testimonial-content::before {
  top: var(--space-xs);
  left: var(--space-xs);
}

.testimonial-content::after {
  bottom: -15px;
  right: var(--space-xs);
  transform: rotate(180deg);
}

.testimonial-card:hover .testimonial-content {
  background-color: rgba(var(--color-accent-light-rgb), 0.2);
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-2xs);
  color: var(--color-dark);
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.testimonial-author::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-secondary));
  transition: var(--transition);
  border-radius: 2px;
}

.testimonial-card:hover .testimonial-author::after {
  width: 100%;
}

.testimonial-info {
  color: var(--color-text-subtle);
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.testimonial-date-icon {
  color: var(--color-accent);
  font-size: 0.9em;
}

.testimonial-rating {
  color: var(--color-warning);
  font-size: var(--text-base);
  letter-spacing: 1px;
  margin-top: var(--space-xs);
  filter: drop-shadow(0 1px 2px rgba(var(--color-warning-rgb), 0.2));
}

.google-reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px; /* Ensures container doesn't get too wide */
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  z-index: 1;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 70%, rgba(var(--color-accent-rgb), 0.1));
  border-radius: 0 0 0 100%;
  transition: var(--transition);
  z-index: -1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.testimonial-card:hover::before {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, transparent 60%, rgba(var(--color-accent-rgb), 0.15));
}

.google-review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.reviewer-info {
  flex: 1;
}

.review-stats {
  background: var(--color-light);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.review-stats:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
}

.review-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-warning), var(--color-warning-hover));
}

.review-rating {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-2xs);
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, var(--color-warning), var(--color-warning-hover));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(var(--color-warning-rgb), 0.2));
}

.review-stars {
  color: var(--color-warning);
  letter-spacing: 3px;
  font-size: 1.2rem;
  margin-top: var(--space-2xs);
  transition: var(--transition);
}

.review-stats:hover .review-stars {
  letter-spacing: 5px;
}

.reviewer-avatar {
  position: relative;
}

.reviewer-avatar img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  object-fit: cover;
  border: 3px solid var(--color-accent-light);
  transition: var(--transition);
  box-shadow: var(--shadow-small);
}

.testimonial-card:hover .reviewer-avatar img {
  border-color: var(--color-accent);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.3);
}

/* Verified badge for reviewers */
.verified-reviewer {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: var(--color-success);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid white;
  box-shadow: var(--shadow-small);
}

.dark-theme .testimonial-card {
  background: var(--dark-bg-secondary);
  border-color: var(--dark-border);
}

.dark-theme .testimonial-author {
  color: var(--dark-text-primary);
}

.dark-theme .testimonial-content {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--dark-text-secondary);
}

.dark-theme .testimonial-card:hover .testimonial-content {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--dark-text-primary);
}

.dark-theme .testimonial-content::before,
.dark-theme .testimonial-content::after {
  color: rgba(255, 255, 255, 0.1);
}

.dark-theme .review-stats {
  background: var(--dark-bg-tertiary);
  border-color: var(--dark-border);
}

.dark-theme .review-rating {
  background: linear-gradient(135deg, var(--color-warning), var(--color-warning-hover));
  background-clip: text;
  -webkit-background-clip: text;
}

/* Video containers */
.hero-video, .services-video {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: var(--space-xl) auto;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-large);
  z-index: 5;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(0,0,0,0.02); /* Subtle background for video container */
  will-change: transform; /* Optimize for hardware acceleration */
  -webkit-transform: translateZ(0); /* Force hardware acceleration on Safari */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden; /* Fix flickering issues on Safari */
  backface-visibility: hidden;
}

.hero-video video, .services-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-large);
  object-fit: cover; /* Ensure video fills container while maintaining aspect ratio */
  border: none; /* Remove any browser-default borders */
  outline: none; /* Remove any browser-default outlines */
  will-change: transform; /* Optimize for hardware acceleration */
  -webkit-transform: translateZ(0); /* Force hardware acceleration on Safari */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden; /* Fix flickering issues on Safari */
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent; /* Remove blue highlight on mobile */
}

.video-container,
.video-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, var(--color-bg-subtle), var(--color-light));
  position: relative;
  z-index: 5;
}

/* Video Play Button Styles - only shown when autoplay fails */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 80px;
  height: 80px;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none; /* Hidden by default, JavaScript will show if needed */
}

.video-play-button:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.video-play-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* Invisible touch overlay for iOS */
.video-touch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

/* Hide all media controls */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}

/* Hide all webkit media controls when needed */
video.no-controls::-webkit-media-controls,
video.no-controls::-webkit-media-controls-play-button,
video.no-controls::-webkit-media-controls-start-playback-button,
video.no-controls::-webkit-media-controls-panel {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.video-title {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--color-dark);
  font-weight: 600;
}

.video-description,
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Testimonials/Google Reviews */
.google-reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px; /* Ensures container doesn't get too wide */
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.testimonial-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent-light);
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-dark);
}

.testimonial-info {
  color: var(--color-text-subtle);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.testimonial-rating {
  color: var(--color-warning);
  font-size: 0.9rem;
}

.testimonial-content {
  margin-top: var(--space-md);
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.google-review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.reviewer-info {
  flex: 1;
}

.google-reviews-header {
  display: flex;
  justify-content: center; /* Changed to center from space-between */
  align-items: center;
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  text-align: center; /* Added to ensure content is centered */
}

.google-reviews-header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%; /* Ensure it takes full width */
}

.google-logo {
  display: flex;
  align-items: center;
  justify-content: center; /* Added to center the logo */
  font-weight: 500;
  gap: var(--space-xs);
}

.google-logo-icon {
  display: flex;
}

.letter {
  font-size: 1.8rem;
  font-weight: 500;
}

.letter.g { color: #4285F4; }
.letter.o1, .letter.o2 { color: #EA4335; }
.letter.g2 { color: #FBBC05; }
.letter.l { color: #34A853; }
.letter.e { color: #4285F4; }

.review-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-md); /* Added space between logo and stats */
  padding: var(--space-sm) var(--space-md);
  background: var(--color-light);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-small);
  width: fit-content; /* Make it fit the content */
  margin-left: auto;
  margin-right: auto; /* Center it horizontally */
}

.review-rating {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center; /* Ensure text is centered */
}

.review-stars {
  color: var(--color-warning);
  text-align: center; /* Ensure text is centered */
}

.read-more-reviews {
  margin-top: var(--space-xl);
  text-align: center;
  display: flex;
  justify-content: center;
}

.view-google-reviews {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--color-light);
  color: var(--color-text);
  padding: var(--space-sm) var(--space-lg);
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-small);
  border: 1px solid rgba(0,0,0,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin: 0 auto; /* Center horizontally */
}

.view-google-reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #4285F4, #0F9D58);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.view-google-reviews:hover {
  color: var(--color-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.view-google-reviews:hover::before {
  opacity: 1;
}

.view-google-reviews:hover .google-icon {
  color: var(--color-light);
}

.google-icon {
  font-size: 1.2rem;
  color: #4285F4;
  font-weight: 700;
  transition: var(--transition);
} 