/* ========================================
   RISHI ELECTRONICS - DESIGN SYSTEM
   ======================================== */

/* ========================================
   PREMIUM LUXURY DESIGN SYSTEM
   ======================================== */

/* Import Premium Google Fonts - Optimized with font-display swap */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Custom Properties - Premium Design Tokens */
:root {
  /* === LUXURY COLOR PALETTE === */
  /* Primary - Deep Royal Purple */
  --primary-color: #6B46C1;
  --primary-dark: #553C9A;
  --primary-light: #9F7AEA;
  --primary-ultra-light: #E9D8FD;

  /* Secondary - Rich Navy Blue */
  --secondary-color: #1E40AF;
  --secondary-dark: #1E3A8A;
  --secondary-light: #3B82F6;

  /* Accent - Elegant Gold */
  --accent-color: #F59E0B;
  --accent-dark: #D97706;
  --accent-light: #FCD34D;

  /* Tertiary - Vibrant Cyan */
  --tertiary-color: #06B6D4;
  --tertiary-dark: #0891B2;
  --tertiary-light: #22D3EE;

  /* === PREMIUM GRADIENTS === */
  /* Multi-stop luxury gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --gradient-secondary: linear-gradient(135deg, #6B46C1 0%, #553C9A 50%, #9F7AEA 100%);
  --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #FCD34D 100%);
  --gradient-ocean: linear-gradient(135deg, #1E40AF 0%, #06B6D4 50%, #22D3EE 100%);
  --gradient-sunset: linear-gradient(135deg, #F59E0B 0%, #EF4444 50%, #EC4899 100%);
  --gradient-royal: linear-gradient(135deg, #6B46C1 0%, #1E40AF 50%, #06B6D4 100%);

  /* Overlay gradients for glassmorphism */
  --gradient-overlay: linear-gradient(135deg, rgba(107, 70, 193, 0.85) 0%, rgba(30, 64, 175, 0.85) 100%);
  --gradient-overlay-light: linear-gradient(135deg, rgba(159, 122, 234, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);

  /* === GLASSMORPHISM DESIGN SYSTEM === */
  /* Backdrop blur values */
  --glass-blur-light: blur(10px);
  --glass-blur-medium: blur(20px);
  --glass-blur-heavy: blur(40px);

  /* Glass backgrounds */
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --glass-bg-medium: rgba(255, 255, 255, 0.15);
  --glass-bg-heavy: rgba(255, 255, 255, 0.25);
  --glass-bg-dark: rgba(0, 0, 0, 0.2);

  /* Glass borders */
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-strong: rgba(255, 255, 255, 0.3);

  /* === NEUTRAL COLORS === */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* === PREMIUM TYPOGRAPHY === */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-accent: 'Poppins', sans-serif;

  /* === SPACING SCALE === */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 1.5rem;
  /* 24px */
  --spacing-lg: 2rem;
  /* 32px */
  --spacing-xl: 3rem;
  /* 48px */
  --spacing-2xl: 4rem;
  /* 64px */
  --spacing-3xl: 6rem;
  /* 96px */
  --spacing-4xl: 8rem;
  /* 128px */

  /* === BORDER RADIUS === */
  --radius-sm: 0.5rem;
  /* 8px */
  --radius-md: 1rem;
  /* 16px */
  --radius-lg: 1.5rem;
  /* 24px */
  --radius-xl: 2rem;
  /* 32px */
  --radius-2xl: 2.5rem;
  /* 40px */
  --radius-full: 9999px;
  /* Pill shape */

  /* === PREMIUM SHADOW SYSTEM === */
  /* Subtle shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);

  /* Elevated shadows */
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Colored glow shadows for premium effects */
  --shadow-glow-purple: 0 0 30px rgba(107, 70, 193, 0.4);
  --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.4);
  --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.4);
  --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);

  /* Inner shadows for depth */
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-inner-lg: inset 0 4px 8px 0 rgba(0, 0, 0, 0.1);

  /* === PREMIUM TRANSITIONS === */
  /* Timing functions */
  --ease-in-out-cubic: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.35, 0, 0.25, 1);

  /* Duration */
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 500ms;
  --transition-slower: 700ms;

  /* Combined transitions */
  --transition-smooth: 300ms cubic-bezier(0.35, 0, 0.25, 1);
  --transition-spring: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elegant: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* === LAYOUT === */
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* === Z-INDEX SCALE === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  background-image: url('images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  background: var(--gradient-royal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl);
}

/* ========================================
   PREMIUM GLASSMORPHISM NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: var(--z-fixed);
  transition: all var(--transition-elegant);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-royal);
  opacity: 0.6;
  transition: opacity var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 25, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.navbar.scrolled::before {
  opacity: 1;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem var(--container-padding);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo-img {
  height: 85px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
  filter: brightness(1.1);
  margin-left: 20px;
  margin-right: 20px;
}

.header-logo-img:hover {
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(159, 122, 234, 0.5));
  transform: scale(1.05);
}



.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
}

/* Premium gradient underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-spring);
  box-shadow: var(--shadow-glow-gold);
}

.nav-links a:hover {
  color: var(--accent-light);
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1f3a 0%, #2d1b4e 50%, #1a2038 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 110px;

  /* Animated gradient mesh effect */
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hero Background Slider */
.hero-background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 0.5;
}

/* Premium gradient overlay with glassmorphism */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(107, 70, 193, 0.1) 0%,
      rgba(30, 64, 175, 0.15) 50%,
      rgba(6, 182, 212, 0.1) 100%);
  z-index: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Remove old pattern overlay */
.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 50%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(159, 122, 234, 0.3);
  animation: fadeInUp 0.8s var(--ease-spring), titleGlow 3s ease-in-out infinite;
  letter-spacing: -0.03em;
  position: relative;
}

@keyframes titleGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px rgba(159, 122, 234, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(159, 122, 234, 0.6));
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn {
  padding: 1rem 2.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition-elegant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;

  /* Premium 3D effect */
  transform-style: preserve-3d;
  will-change: transform;
}

/* Primary Button - Premium Luxury Style */
.btn-primary {
  background: var(--gradient-royal);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  position: relative;
}

/* Shimmer effect overlay */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 100%);
  z-index: 1;
  transition: left 0.6s ease;
}

/* Glow effect on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-gold);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-glow-purple), var(--shadow-glow-gold);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover::after {
  opacity: 0.2;
}

.btn-primary:active {
  transform: translateY(-2px) scale(1);
}

/* Secondary Button - Premium Glassmorphism */
.btn-secondary {
  background: var(--glass-bg-medium);
  color: var(--white);
  border: 2px solid var(--glass-border-strong);
  backdrop-filter: var(--glass-blur-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  box-shadow: var(--shadow-md);
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--gradient-royal);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--glass-bg-heavy);
  border-color: transparent;
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow-cyan);
  color: var(--accent-light);
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:active {
  transform: translateY(-2px) scale(1);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ========================================
   PREMIUM SERVICE CARDS WITH GLASSMORPHISM
   ======================================== */

.services {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #fef3f2 100%);
  position: relative;
  overflow: hidden;
}

/* Animated background gradient */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(107, 70, 193, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  perspective: 1000px;
}

.service-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--glass-border);
  transition: all var(--transition-elegant);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;

  /* Premium white background with subtle tint */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(250, 250, 255, 0.85) 100%);
}

/* Gradient border on top */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-royal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-spring);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Shimmer effect overlay */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.3) 50%,
      transparent 70%);
  transform: translateX(-100%) translateY(-100%);
  transition: transform 0.8s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  transform: translateX(100%) translateY(100%);
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03) rotateX(2deg);
  box-shadow: var(--shadow-2xl),
    0 0 0 1px var(--glass-border-strong),
    0 0 40px rgba(6, 182, 212, 0.4),
    0 0 80px rgba(6, 182, 212, 0.2);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(240, 253, 255, 0.9) 100%);
}

.service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-royal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--white);
  transition: all var(--transition-elegant);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Inner glow for icon */
.service-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  border-radius: inherit;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon::before {
  opacity: 0.3;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  background: var(--gradient-royal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-smooth);
}

.service-description {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-size: 0.95rem;
}

.service-book-btn {
  display: inline-block;
  background: var(--gradient-royal);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-elegant);
  box-shadow: var(--shadow-md), var(--shadow-glow-purple);
  margin-top: auto;
  align-self: center;
  width: 100%;
  max-width: 250px;
  position: relative;
  overflow: hidden;
}

/* Button shimmer effect */
.service-book-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.5s ease;
}

.service-book-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-xl), var(--shadow-glow-purple), var(--shadow-glow-gold);
  background: var(--gradient-gold);
}

.service-book-btn:hover::before {
  left: 100%;
}

.service-book-btn:active {
  transform: translateY(-1px) scale(1.02);
}

/* ========================================
   REVIEWS SECTION
   ======================================== */

.reviews {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.google-rating-summary {
  text-align: center;
  margin: var(--spacing-2xl) auto;
  max-width: 550px;
}

.rating-badge {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.rating-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.rating-stars {
  font-size: 2.2rem;
  margin: 15px 0;
}

.rating-stars .star {
  display: inline-block;
  color: #fbbf24;
  margin: 0 2px;
}

.reviews-slider-container {
  width: 100%;
  overflow: hidden;
  margin-top: var(--spacing-2xl);
  padding: 1rem 0;
  position: relative;
}

.reviews-slider-container::before,
.reviews-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #f9fafb, transparent);
}

.reviews-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #f9fafb, transparent);
}

.reviews-track {
  display: flex;
  gap: var(--spacing-xl);
  width: max-content;
  animation: scroll 40s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  flex: 0 0 350px;
  max-width: 350px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.review-stars {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  color: #fbbf24;
}

.review-text {
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.review-author {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

/* ========================================
   BOOKING SECTION
   ======================================== */

.booking {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.booking-container {
  max-width: 800px;
  margin: 0 auto;
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50px;
  /* Modern Pill Shape */
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  margin-top: var(--spacing-md);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.form-submit:active {
  transform: translateY(0);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.contact-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(250, 250, 255, 0.9) 100%);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  border: 2px solid var(--glass-border);
  transition: all var(--transition-elegant);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s var(--ease-smooth) backwards;
  box-shadow: var(--shadow-lg);
}

.contact-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-royal);
  transform: scaleX(0);
  transition: transform var(--transition-spring);
}

.contact-card:hover::after {
  transform: scaleX(1);
}

.contact-card:hover {
  border-color: transparent;
  transform: translateY(-12px) scale(1.03) rotateX(3deg);
  box-shadow: var(--shadow-2xl), var(--shadow-glow-purple);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(249, 245, 255, 0.95) 100%);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--white);
  transition: all var(--transition-elegant);
  position: relative;
  box-shadow: var(--shadow-md), var(--shadow-glow-purple);
}

.contact-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-gold);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-smooth);
}

.contact-card:hover .contact-icon {
  transform: rotate(360deg) scale(1.15);
  background: var(--gradient-gold);
  box-shadow: var(--shadow-xl), var(--shadow-glow-gold);
}

.contact-card:hover .contact-icon::before {
  opacity: 0.3;
}

.contact-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-900);
  transition: color 0.3s ease;
}

.contact-card:hover .contact-title {
  color: var(--primary-color);
}

.contact-detail {
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-detail a {
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  text-decoration: none;
  display: inline;
}

.contact-detail a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.contact-detail a:hover::after {
  width: 100%;
}

.contact-detail a:hover {
  color: var(--primary-dark);
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 450px;
  border: 3px solid var(--gray-200);
  transition: all 0.4s ease;
  animation: fadeIn 0.8s ease-out 0.4s backwards;
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.map-container:hover {
  border-color: var(--primary-color);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
  transform: translateY(-5px);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.footer-section p,
.footer-section li {
  color: var(--gray-300);
  margin-bottom: var(--spacing-xs);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.95rem;
}

/* ========================================
   PREMIUM GLASSMORPHISM MODAL
   ======================================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: var(--glass-blur-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  animation: fadeIn 0.3s var(--ease-smooth);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(250, 248, 255, 0.9) 100%);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  max-width: 500px;
  width: 100%;
  text-align: center;
  animation: modalSlideUp 0.5s var(--ease-spring);
  position: relative;
  box-shadow: var(--shadow-2xl), 0 0 0 1px var(--glass-border-strong);
  border: 1px solid var(--glass-border);
}

/* Premium gradient border */
.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-royal);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

@keyframes modalSlideUp {
  from {
    transform: translateY(100px) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto var(--spacing-md);
  background: var(--gradient-royal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: var(--white);
  box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-lg), var(--shadow-glow-purple);
  }

  50% {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), var(--shadow-glow-gold);
  }
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-900);
}

.modal-message {
  color: var(--gray-700);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.modal-close {
  padding: 0.875rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-close:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE DESIGN - COMPREHENSIVE MOBILE OPTIMIZATION
   ======================================== */

/* Tablet and Mobile Devices (768px and below) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
    --spacing-3xl: 4rem;
    --spacing-2xl: 3rem;
  }

  /* Base Typography Scaling */
  html {
    font-size: 16px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  /* Navigation - Enhanced Mobile Menu */
  .navbar {
    padding: 0;
    background: rgba(15, 15, 30, 0.95);
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .header-logo-img {
    height: 55px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 25, 0.98);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    gap: 0;
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 1rem 0;
    font-size: 1.15rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    display: block;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    padding: 0.75rem;
  }

  .nav-toggle span {
    width: 28px;
    height: 3px;
  }

  /* Hero Section - Better Mobile Scaling */
  .hero {
    padding-top: 90px;
    padding-bottom: 4rem;
    min-height: 85vh;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.4;
  }

  .hero-description {
    font-size: 1.05rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .hero-cta {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    min-height: 52px;
    min-width: 160px;
  }

  /* Section Titles - Better Sizing */
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  /* Services Grid - Improved Layout */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .service-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }

  .service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
  }

  .service-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .service-book-btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  /* Contact Section - Better Spacing */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }

  .contact-icon {
    margin-bottom: 1rem;
  }

  .contact-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-detail {
    font-size: 1.05rem;
  }

  /* Map Container */
  .map-container {
    height: 350px;
    margin-top: 2rem;
  }

  /* Reviews Section - Enhanced Mobile */
  .google-rating-summary {
    padding: 2rem 1rem;
    margin-bottom: 2.5rem;
  }

  .rating-badge {
    padding: 2rem 1.5rem;
  }

  .rating-badge img {
    height: 28px;
  }

  .rating-stars {
    font-size: 2rem;
    gap: 0.25rem;
  }

  .reviews-slider-container {
    padding: 0 1rem;
  }

  .reviews-slider-container::before,
  .reviews-slider-container::after {
    width: 40px;
  }

  .review-card {
    flex: 0 0 320px;
    max-width: 320px;
    padding: 2rem 1.5rem;
    margin: 0 0.75rem;
  }

  .review-stars {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .review-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  .review-author {
    font-size: 0.95rem;
  }

  /* Booking Modal - Mobile Optimized */
  .booking-modal-content {
    width: 95%;
    max-width: 500px;
    max-height: 92vh;
  }

  .booking-form {
    padding: 2rem 1.5rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    min-height: 52px;
  }

  .form-submit {
    padding: 1.25rem;
    font-size: 1.05rem;
    min-height: 56px;
  }

  /* Footer - Better Mobile Layout */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .footer-section p,
  .footer-section li {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Small Mobile Phones (480px and below) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --spacing-3xl: 3rem;
    --spacing-2xl: 2rem;
  }

  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Navigation */
  .nav-container {
    padding: 0.6rem 1rem;
  }

  .header-logo-img {
    height: 48px;
  }

  .nav-links {
    padding: 1.5rem 1rem;
  }

  .nav-links a {
    padding: 0.875rem 0;
    font-size: 1.1rem;
  }

  /* Hero - Compact for Small Screens */
  .hero {
    min-height: 80vh;
    padding-top: 80px;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0;
    margin-bottom: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 1.1rem 2rem;
    font-size: 0.9rem;
    min-height: 50px;
  }

  /* Sections */
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    padding: 0;
  }

  /* Services */
  .services-grid {
    gap: 1.75rem;
    padding: 0;
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .service-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-book-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Contact */
  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-title {
    font-size: 1.2rem;
  }

  .contact-detail {
    font-size: 1rem;
  }

  .map-container {
    height: 300px;
  }

  /* Reviews */
  .google-rating-summary {
    padding: 1.5rem 0.75rem;
  }

  .rating-badge {
    padding: 1.75rem 1.25rem;
  }

  .rating-badge img {
    height: 26px;
  }

  .rating-stars {
    font-size: 1.75rem;
  }

  .review-card {
    flex: 0 0 280px;
    max-width: 280px;
    padding: 1.75rem 1.25rem;
  }

  .review-stars {
    font-size: 1.15rem;
  }

  .review-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .review-author {
    font-size: 0.9rem;
  }

  /* Booking Modal */
  .booking-modal-content {
    width: 96%;
    max-height: 94vh;
  }

  .booking-modal-content h2.section-title {
    font-size: 1.4rem;
    padding: 0.875rem 1rem 0;
  }

  .booking-form {
    padding: 1.5rem 1.25rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .form-submit {
    padding: 1.1rem;
    font-size: 1rem;
  }

  .close-appointment-modal {
    width: 32px;
    height: 32px;
    right: 20px;
    top: 18px;
    font-size: 1.75rem;
  }

  /* Footer */
  .footer-content {
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1.15rem;
  }

  .footer-section p,
  .footer-section li {
    font-size: 0.95rem;
  }
}

/* ========================================
   PREMIUM BOOKING MODAL
   ======================================== */

.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
}

.booking-modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.booking-modal-content {
  background: #ffffff;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
}



.booking-modal-content .modal-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.booking-modal-content h2.section-title {
  color: var(--primary-color);
  padding: 1rem;
  margin: 0;
  font-size: 1.35rem;
  text-align: center;
  font-weight: 700;
}

.booking-form {
  padding: 1.25rem;
}

.close-appointment-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  z-index: 20;
  transition: color 0.2s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
}

.close-appointment-modal:hover {
  color: #ef4444;
  background: #fee2e2;
}

.booking-form .form-group {
  margin-bottom: 1rem;
}

.booking-form .form-label {
  color: #374151;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  display: block;
}

/* Simplified form inputs */
.booking-form .form-input,
.booking-form .form-select,
.booking-form .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.2s ease;
  background: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
}

.booking-form .form-input:focus,
.booking-form .form-select:focus,
.booking-form .form-textarea:focus {
  border-color: #06b6d4;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
  outline: none;
}

.booking-form .form-submit {
  width: 100%;
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #1E40AF 0%, #06B6D4 100%);
  padding: 0.875rem;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  transition: all 0.2s ease;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.booking-form .form-submit:hover {
  background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.booking-form .form-submit:active {
  transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2147483647 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

@media screen and (max-width: 768px) {
  .whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 2147483647 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    will-change: unset !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* Call Floating Button */
.call-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2147483647 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.call-float:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  background-color: #2563eb;
}

.call-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .call-float {
    position: fixed !important;
    bottom: 84px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 2147483647 !important;
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    will-change: unset !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin: 0 !important;
    padding: 0 !important;
  }
}