/* ==========================================================================
   All American Spa Repair Services - Main Stylesheet
   Premium spa and pool repair services website
   Mobile-first, conversion-optimized design
   ========================================================================== */

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Brand Color Palette - All American Spa Repair Logo Colors */
  --color-primary: #1A2A4C;           /* REFINED Navy - Trust & Reliability */
  --color-primary-dark: #1E3A8A;      /* Darker Navy for hover states */
  --color-primary-light: #3B82F6;     /* Lighter Blue for backgrounds */
  --color-secondary: #FFFFFF;         /* Clean White */
  --color-accent: #9A2A2A;            /* REFINED Crimson - Emergency CTAs */
  --color-accent-dark: #B91C1C;       /* Darker Red for hover */
  --color-aqua: #60A5FA;              /* Aqua Blue - Water/Wave accent (from logo) */
  --color-aqua-light: #7DD3FC;        /* Light Aqua for backgrounds */
  --color-aqua-dark: #3B82F6;         /* Darker Aqua for text */

  /* Neutral Colors */
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Semantic Colors */
  --color-success: #059669;
  --color-warning: #D97706;
  --color-info: #0284C7;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Spacing Scale */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */

  /* Border Radius */
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;   /* Full circle */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-modal: 1000;
  --z-tooltip: 2000;
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-800);
  background-color: var(--color-gray-50);
  overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: clamp(2.25rem, 5vw, var(--text-5xl)); /* Responsive fluid sizing */
  font-weight: 900; /* Extra bold for maximum impact */
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.875rem, 4vw, var(--text-4xl));
  font-weight: var(--font-extrabold);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.5rem, 3vw, var(--text-3xl));
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  line-height: 1.4;
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  line-height: 1.5;
}

h6 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-700);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

strong, b {
  font-weight: var(--font-semibold);
}

em, i {
  font-style: italic;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-sm {
  max-width: var(--container-sm);
}

.container-md {
  max-width: var(--container-md);
}

.container-lg {
  max-width: var(--container-lg);
}

.container-full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Section Spacing */
.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section-sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section-lg {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Display */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

/* Flexbox Utilities */
.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Text Alignment */
.text-left {
  text-align: left;
}

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

.text-right {
  text-align: right;
}

/* Text Colors */
.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.text-aqua {
  color: var(--color-aqua);
}

.text-gray-600 {
  color: var(--color-gray-600);
}

.text-gray-700 {
  color: var(--color-gray-700);
}

.text-white {
  color: var(--color-secondary);
}

/* Background Colors */
.bg-primary {
  background-color: var(--color-primary);
}

.bg-primary-dark {
  background-color: var(--color-primary-dark);
}

.bg-primary-light {
  background-color: var(--color-primary-light);
}

.bg-accent {
  background-color: var(--color-accent);
}

.bg-aqua {
  background-color: var(--color-aqua);
}

.bg-aqua-light {
  background-color: var(--color-aqua-light);
}

.bg-gray-50 {
  background-color: var(--color-gray-50);
}

.bg-gray-100 {
  background-color: var(--color-gray-100);
}

.bg-white {
  background-color: var(--color-secondary);
}

/* Margins */
.mt-4 {
  margin-top: var(--space-4);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

/* Padding */
.p-4 {
  padding: var(--space-4);
}

.p-6 {
  padding: var(--space-6);
}

.p-8 {
  padding: var(--space-8);
}

/* Width */
.w-full {
  width: 100%;
}

/* Max Width */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Border Radius */
.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: var(--radius-full);
}

/* Shadows */
.shadow {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

/* Skip to main content link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: var(--space-4);
  text-decoration: none;
  z-index: var(--z-tooltip);
}

.skip-to-content:focus {
  top: 0;
}

/* Screen reader only */
.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;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Images & Media
   ========================================================================== */

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Lists
   ========================================================================== */

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-4);
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

/* Remove list styles when needed */
.list-none {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==========================================================================
   Forms Base Styles
   ========================================================================== */

input,
textarea,
select {
  font-family: inherit;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

/* ==========================================================================
   Premium Enhancement Utilities
   ========================================================================== */

/* Gradient Overlays */
.bg-gradient-dark {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(30, 64, 175, 0.85) 100%);
}

.bg-gradient-hero {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 58, 138, 0.5) 100%);
}

.bg-gradient-aqua {
  background: linear-gradient(135deg, var(--color-aqua-light) 0%, var(--color-aqua) 100%);
}

/* Enhanced Shadows with Brand Colors */
.shadow-navy {
  box-shadow: 0 10px 30px -5px rgba(30, 64, 175, 0.2);
}

.shadow-aqua {
  box-shadow: 0 10px 30px -5px rgba(96, 165, 250, 0.3);
}

.shadow-2xl-navy {
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.35);
}

/* Transform Utilities */
.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.hover-scale {
  transition: transform var(--transition-fast);
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* Border Accent Utilities */
.border-top-primary {
  border-top: 4px solid var(--color-primary);
}

.border-top-accent {
  border-top: 4px solid var(--color-accent);
}

.border-top-aqua {
  border-top: 4px solid var(--color-aqua);
}

/* Overlay Utilities */
.overlay-dark {
  position: relative;
}

.overlay-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1;
}

.overlay-dark > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   PREMIUM ENHANCEMENTS - $10K DESIGN SYSTEM
   ========================================================================== */

/* Glass Morphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(30, 64, 175, 0.1);
}

.glass-dark {
  background: rgba(30, 58, 138, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Premium Gradient Backgrounds */
.bg-gradient-premium {
  background: linear-gradient(
    135deg,
    #1E40AF 0%,
    #3B82F6 50%,
    #60A5FA 100%
  );
  position: relative;
}

.bg-gradient-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.5;
  z-index: 0;
}

.bg-gradient-premium > * {
  position: relative;
  z-index: 1;
}

/* Mesh Gradient Background */
.bg-mesh-gradient {
  background:
    radial-gradient(at 0% 0%, rgba(30, 64, 175, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(96, 165, 250, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(30, 64, 175, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(96, 165, 250, 0.15) 0px, transparent 50%);
}

/* Neumorphism Effect */
.neumorphic {
  background: #F9FAFB;
  border-radius: 16px;
  box-shadow:
    12px 12px 24px rgba(0, 0, 0, 0.08),
    -12px -12px 24px rgba(255, 255, 255, 0.9);
}

.neumorphic-inset {
  background: #F9FAFB;
  border-radius: 16px;
  box-shadow:
    inset 8px 8px 16px rgba(0, 0, 0, 0.08),
    inset -8px -8px 16px rgba(255, 255, 255, 0.9);
}

/* Premium Card Styles */
.premium-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 40px rgba(30, 64, 175, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E40AF, #3B82F6, #60A5FA);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover::before {
  transform: scaleX(1);
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 20px 60px rgba(30, 64, 175, 0.15);
  border-color: rgba(30, 64, 175, 0.2);
}

/* Animated Gradient Border */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    #1E40AF,
    #3B82F6,
    #60A5FA,
    #3B82F6,
    #1E40AF
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradient-rotate 3s linear infinite;
  background-size: 200% 200%;
}

@keyframes gradient-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(30, 64, 175, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
  }
}

.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Glow Effects */
.glow-primary {
  box-shadow:
    0 0 20px rgba(30, 64, 175, 0.3),
    0 0 40px rgba(30, 64, 175, 0.2),
    0 0 60px rgba(30, 64, 175, 0.1);
}

.glow-aqua {
  box-shadow:
    0 0 20px rgba(96, 165, 250, 0.4),
    0 0 40px rgba(96, 165, 250, 0.3),
    0 0 60px rgba(96, 165, 250, 0.2);
}

.glow-accent {
  box-shadow:
    0 0 20px rgba(220, 38, 38, 0.4),
    0 0 40px rgba(220, 38, 38, 0.3);
}

/* Scroll Reveal Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease-out forwards;
}

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Advanced Hover Effects */
.hover-grow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-grow:hover {
  transform: scale(1.05);
}

.hover-shrink {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-shrink:hover {
  transform: scale(0.95);
}

.hover-rotate {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-tilt {
  transition: transform 0.3s ease;
}

.hover-tilt:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
}

/* Magnetic Button Effect */
.magnetic-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.magnetic-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Parallax Effect */
.parallax {
  transform: translateZ(0);
  will-change: transform;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #1E40AF, #3B82F6, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-accent {
  background: linear-gradient(135deg, #DC2626, #F87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium Divider */
.premium-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(30, 64, 175, 0.2) 20%,
    rgba(30, 64, 175, 0.5) 50%,
    rgba(30, 64, 175, 0.2) 80%,
    transparent 100%
  );
  margin: 3rem 0;
}

/* Animated Underline */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1E40AF, #60A5FA);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-underline:hover::after {
  transform: scaleX(1);
}

/* Loading Skeleton */
@keyframes skeleton-loading {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    #F3F4F6 0%,
    #E5E7EB 20%,
    #F3F4F6 40%,
    #F3F4F6 100%
  );
  background-size: 200px 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Ribbon Effect */
.ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  padding: 8px 50px;
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Badge Pulse */
@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.badge-pulse {
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #1E40AF, #3B82F6, #60A5FA);
  transform-origin: left;
  z-index: var(--z-sticky);
}

/* Tooltip Premium */
.tooltip-premium {
  position: relative;
}

.tooltip-premium::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  padding: 8px 16px;
  background: rgba(30, 58, 138, 0.95);
  color: white;
  font-size: 0.875rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.tooltip-premium::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(30, 58, 138, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tooltip-premium:hover::before,
.tooltip-premium:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Performance Optimizations */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* ==========================================================================
   Service Area Section with Interactive Map
   ========================================================================== */

.service-area-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* Areas We Serve Box (Blue Background) */
.areas-list-box {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  padding: 3rem;
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
}

.areas-box-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.areas-box-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.areas-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.areas-column li {
  padding: 0.5rem 0;
  font-size: 1.05rem;
  color: white;
  position: relative;
  padding-left: 1.5rem;
}

.areas-column li:before {
  content: "●";
  position: absolute;
  left: 0;
  color: #60D5FA;
  font-size: 0.8rem;
  top: 0.6rem;
}

/* Areas Content (Right Side) */
.areas-content {
  padding: 1rem 0;
}

.section-subtitle-large {
  font-size: 1.5rem;
  color: #3B82F6;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4B5563;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #F0F9FF 0%, #DBEAFE 100%);
  border-left: 4px solid #3B82F6;
  border-radius: 8px;
}

.phone-link {
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: #1E40AF;
  text-decoration: underline;
}

/* Interactive Map */
.service-area-map {
  width: 100%;
  margin-top: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.service-area-map iframe {
  display: block;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-area-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .areas-list-box {
    padding: 2rem 1.5rem;
  }

  .areas-box-title {
    font-size: 1.75rem;
  }

  .section-subtitle-large {
    font-size: 1.25rem;
  }

  .lead-text {
    font-size: 1rem;
  }

  .service-area-map iframe {
    height: 350px !important;
  }
}

/* ==========================================================================
   Trust Badges / Certifications Row
   ========================================================================== */

.certifications-section {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.certifications-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.certification-badge:hover {
  transform: translateY(-5px);
}

.cert-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.certification-badge:hover .cert-icon {
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cert-icon .icon {
  font-size: 1.75rem;
  color: #1E40AF;
  transition: color 0.3s ease;
}

.certification-badge:hover .cert-icon .icon {
  color: white;
}

.cert-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1F2937;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .certifications-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .certifications-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .certification-badge {
    flex-direction: row;
    justify-content: center;
  }

  .cert-icon {
    width: 50px;
    height: 50px;
  }

  .cert-icon .icon {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   3-Step Process Section
   ========================================================================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
}

.process-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.process-step:hover .process-number {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.process-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 1rem;
}

.process-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .process-number {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

/* ==========================================================================
   Why Choose Us - Premium Split Layout with Feature Cards
   ========================================================================== */

.why-choose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-choose-content {
  padding-right: 2rem;
}

.why-choose-title {
  font-size: 2rem;
  color: #1E40AF;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Feature Cards Grid (2x2) */
.feature-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  padding: 2rem;
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(5, 150, 105, 0.3);
}

.feature-card-primary {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
}

.feature-card-primary:hover {
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.3);
}

.feature-card-success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.feature-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card-icon .icon {
  font-size: 1.5rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
  line-height: 1.3;
}

.feature-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .why-choose-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-choose-content {
    padding-right: 0;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-choose-title {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-card-title {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 2cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ========================================================================== */
/* Full-Width Hero Section with Background Image/Video Support */
/* ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary); /* Fallback color */
}

/* Optional: Video Background Support */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 42, 76, 0.85) 0%, rgba(26, 42, 76, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Container and Layout */
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hero Content (Centered) */
.hero-content {
  color: white;
  animation: fadeInUp 0.8s ease-out;
  max-width: 800px; /* Control the max width of the text for readability */
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem); /* Larger and more impactful */
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); /* Slightly larger */
  color: #DBEAFE;
  margin-bottom: 2.5rem; /* More space before the button */
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem; /* Larger padding */
  background: var(--color-accent); /* Use the refined crimson */
  color: white;
  font-size: 1.25rem; /* Larger font size */
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(154, 42, 42, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-hero:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(154, 42, 42, 0.5);
}

/* Form Section below Hero */
.form-section {
  padding: var(--space-16) 0;
  background-color: var(--color-gray-50);
}

.form-section .hero-form-wrapper {
  max-width: 550px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(30, 64, 175, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: formEntrance 0.6s ease-out 0.5s both;
}

@keyframes formEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section .hero-form-header {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-gray-200);
}

.btn-form-submit {
  padding: 1.25rem;
  background: var(--color-primary);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(26, 42, 76, 0.3);
  margin-top: 0.5rem;
}

.btn-form-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(26, 42, 76, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .hero-trust-badges {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-badge {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .star-rating {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .stars {
    font-size: 1rem;
  }
}

/* ========================================================================== */
/* Testimonial Carousel */
/* ========================================================================== */

.testimonial-carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 4rem;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-card-carousel {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.25rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.25rem;
}

.testimonial-location {
  font-size: 0.9375rem;
  color: #6B7280;
}

/* Carousel Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #E5E7EB;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #1E40AF;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.carousel-nav:hover {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: white;
  border-color: #1E40AF;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Carousel Indicators (Dots) */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D1D5DB;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background: #9CA3AF;
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  width: 32px;
  border-radius: 6px;
}

/* Carousel Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonial-carousel-wrapper {
    padding: 2rem 3rem;
  }

  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .testimonial-carousel-wrapper {
    padding: 1rem 2.5rem;
  }

  .testimonial-card-carousel {
    padding: 2rem 1.5rem;
    min-height: 400px;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-prev {
    left: -5px;
  }

  .carousel-next {
    right: -5px;
  }

  .testimonial-stars {
    font-size: 1.5rem;
  }

  .carousel-indicators {
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }

  .carousel-indicator.active {
    width: 24px;
  }
}

/* ==========================================================================
   Pulsing Service Area Map
   ========================================================================== */

/* Service Area Grid */
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.area-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.area-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.area-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.area-card p {
  color: #6B7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Map city labels container */
.map-city-label {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.map-city-label:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* City name labels */
.city-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E40AF;
  text-align: center;
  background: white;
  padding: 0.375rem 0.75rem;
  border-radius: 12px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 2px rgba(30, 64, 175, 0.1);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.map-city-label:hover .city-name {
  background: #1E40AF;
  color: white;
  box-shadow:
    0 8px 20px rgba(30, 64, 175, 0.3),
    0 0 0 2px rgba(30, 64, 175, 0.3);
}

.pulsing-dot {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pulsing-dot::before {
  content: '';
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-aqua) 0%, #4ade80 100%);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.8),
    0 0 40px rgba(6, 182, 212, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.5);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pulsing-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, transparent 70%);
  animation: pulse-animation 2s ease-out infinite;
}

.dot-label {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.dot-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(15, 23, 42, 0.95);
}

.pulsing-dot:hover .dot-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pulse-animation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}
