/* CSS Variables for Smooth Animations */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.4s ease;
  --shadow-light: 0 4px 12px rgba(37, 99, 235, 0.15);
  --shadow-medium: 0 8px 20px rgba(37, 99, 235, 0.3);
  --shadow-heavy: 0 12px 32px rgba(37, 99, 235, 0.4);
}

/* Base & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f1f5f9;
  overflow-x: hidden;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 4px;
  transition: top 0.3s ease;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* Navigation - Mobile First */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  font-weight: 700;
  color: #2563eb;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  padding: 0.4rem 0.8rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary-color);
  outline: none;
  transform: translate3d(0, -1px, 0);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 80%;
}

/* Active page indicator */
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  width: 80%;
}

/* Call button styling */
.nav-call-btn {
  background: var(--primary-color);
  color: white !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 20px;
  border: none;
  font-weight: 500;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-call-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-hover);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-call-btn:hover,
.nav-call-btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white !important;
}

.nav-call-btn:hover::before,
.nav-call-btn:focus::before {
  left: 0;
}

.nav-call-btn::after {
  display: none;
}

.mobile-menu-button {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  gap: 2px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
  transform-origin: center;
}

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

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

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  z-index: 1000;
  padding: 5rem 2rem 2rem;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: flex-start;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 1rem;
  transition: var(--transition);
  position: relative;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--primary-color);
  outline: none;
  transform: translateX(10px);
}

.mobile-nav a:hover::before,
.mobile-nav a:focus::before {
  width: 50px;
}

.mobile-nav a.active {
  color: var(--primary-color);
}

.mobile-nav a.active::before {
  width: 50px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 6rem 1.25rem 3.75rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
    linear-gradient(135deg, transparent 30%, rgba(37, 99, 235, 0.02) 50%, transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeInUp 1.5s ease-out;
}

.subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: #2563eb;
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.125rem);
  font-weight: 200;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.875rem;
  line-height: 1.1;
  position: relative;
}

.hero h1 .blue {
  color: #2563eb;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.hero h1 .blue::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 1;
  }
}

.location-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #2563eb;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.875rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3.75rem;
  font-weight: 300;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 6.25rem;
}

.btn {
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
  min-width: 220px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  will-change: transform;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 0;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-light);
}

.btn-primary::before {
  background: var(--primary-hover);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: var(--shadow-heavy);
  outline: none;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  background: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
  outline: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
}

.scroll-indicator:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  padding: 5rem 1.25rem;
  position: relative;
  z-index: 10;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3.75rem;
  text-align: center;
}

.stat-item {
  padding: 2.5rem 1.25rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  contain: paint;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
  transition: left 0.4s ease;
}

.stat-item:hover {
  will-change: transform;
}

.stat-item:hover::before,
.stat-item:focus-visible::before {
  left: 0;
}

.stat-item:hover,
.stat-item:focus-visible {
  transform: translate3d(0, -10px, 0);
  box-shadow: var(--shadow-heavy);
  outline: none;
}

.stat-item:active {
  transform: translate3d(0, -5px, 0) scale(0.99);
  transition: transform 0.1s ease;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 200;
  color: var(--primary-color);
  margin-bottom: 0.9375rem;
  display: block;
  transition: transform var(--transition-medium);
}

.stat-item:hover .stat-number,
.stat-item:focus-visible .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #666;
  font-weight: 500;
}

/* Services Section */
.services-preview {
  padding: 7.5rem 1.25rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
}

.services-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 70% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: clamp(2.625rem, 6vw, 3.625rem);
  margin-bottom: 1.875rem;
  color: #1a1a1a;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.blue-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}

.section-description {
  font-size: 1.25rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 5rem;
}

.service-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 400px;
  contain: paint;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), transparent);
  transition: left 0.4s ease;
}

.service-card:hover {
  will-change: transform;
}

.service-card:hover::before,
.service-card:focus-visible::before {
  left: 0;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translate3d(0, -8px, 0);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-color);
  outline: none;
}

.service-card:active {
  transform: translate3d(0, -4px, 0) scale(0.99);
  transition: transform 0.1s ease;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.5rem auto 1.875rem;
  position: relative;
  transition: transform var(--transition-medium), background var(--transition-medium);
  contain: paint;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--primary-color);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.service-card:hover .service-icon::before,
.service-card:focus-visible .service-icon::before {
  opacity: 0.2;
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  transform: scale(1.05);
  background: var(--primary-hover);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: white;
  transition: transform var(--transition-medium);
}

.service-card:hover .service-icon svg,
.service-card:focus-visible .service-icon svg {
  transform: scale(1.1);
}

.service-content {
  padding: 0 1.875rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-text {
  flex: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-description {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.875rem;
  font-weight: 300;
}

.service-button-container {
  padding-bottom: 2.5rem;
}

.service-link {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  font-size: 0.8125rem;
  position: relative;
  overflow: hidden;
  width: 160px;
  text-align: center;
  cursor: pointer;
}

.service-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.service-link:hover,
.service-link:focus-visible {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-hover);
  outline: none;
  will-change: transform;
}

.service-link:hover::before,
.service-link:focus-visible::before {
  left: 0;
}

.service-link:active {
  transform: translateY(-1px) scale(0.98);
  transition: transform 0.1s ease;
}

/* Guarantee Section */
.guarantee-section {
  background: #2563eb;
  color: white;
  padding: 1.875rem 1.25rem;
  text-align: center;
}

.guarantee-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.guarantee-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.guarantee-text {
  flex: 1;
  min-width: 250px;
}

.guarantee-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guarantee-text p {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Service Area */
.service-area {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 3px solid #2563eb;
}

.service-area h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-area p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.service-areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9375rem;
  max-width: 800px;
  margin: 0 auto;
}

.area-tag {
  background: white;
  color: #2563eb;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2563eb;
}

/* CTA Section */
.cta-section {
  padding: 7.5rem 1.25rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  z-index: 1;
}

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

.cta-section h2 {
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 200;
  margin-bottom: 1.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-section h2 .blue {
  color: #2563eb;
  font-weight: 500;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 3.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.7;
}

.cta-buttons-large {
  display: flex;
  gap: 1.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.5625rem 3.125rem;
  font-size: 1.125rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-large::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn-large:hover,
.btn-large:focus-visible {
  transform: translateY(-4px);
  will-change: transform;
}

.btn-large:hover::before,
.btn-large:focus-visible::before {
  left: 0;
}

.btn-large:active {
  transform: translateY(-2px) scale(0.97);
  transition: transform 0.1s ease;
}

.btn-cta-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-cta-primary::before {
  background: var(--primary-hover);
}

.btn-cta-primary:hover,
.btn-cta-primary:focus-visible {
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
  outline: none;
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary::before {
  background: rgba(255, 255, 255, 0.15);
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus-visible {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
  outline: none;
}

/* Mobile Call Bar - FIXED: Added padding to footer and improved logic */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  padding: 0.9375rem 1.25rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: none;
  transition: transform 0.3s ease-in-out;
}

.mobile-call-content {
  display: flex;
  gap: 0.9375rem;
  max-width: 400px;
  margin: 0 auto;
}

.call-btn,
.sms-btn {
  flex: 1;
  padding: 0.75rem;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.call-btn::before,
.sms-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transition: left 0.3s ease;
  z-index: -1;
}

.call-btn:hover,
.sms-btn:hover,
.call-btn:focus-visible,
.sms-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  outline: none;
}

.call-btn:hover::before,
.sms-btn:hover::before,
.call-btn:focus-visible::before,
.sms-btn:focus-visible::before {
  left: 0;
}

.call-btn:active,
.sms-btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

/* Footer - FIXED: Added bottom padding to account for mobile call bar */
.footer {
  background: #000;
  color: white;
  padding: 40px 20px;
  text-align: center;
  /* Add bottom padding for mobile devices to prevent overlap with call bar */
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
}

/* Mobile devices specific footer padding */
@media (max-width: 768px) {
  .footer {
    padding-bottom: 120px;
    /* Extra space for mobile call bar */
  }
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__header {
  margin-bottom: 30px;
}

.footer__title {
  color: #2563eb;
  margin-bottom: 15px;
}

.footer__description {
  color: #999;
  font-size: 14px;
}

.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #666;
  font-size: 12px;
}

.footer__contact-link {
  color: #2563eb;
  text-decoration: none;
}

.footer__contact-link:hover,
.footer__contact-link:focus {
  text-decoration: underline;
  outline: 2px solid transparent;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Focus indicators for accessibility */
.btn:focus-visible,
.btn-large:focus-visible,
.service-link:focus-visible,
.call-btn:focus-visible,
.sms-btn:focus-visible,
.service-card:focus-visible,
.stat-item:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* Loading state */
.loading {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.loading.loaded {
  opacity: 1;
}

/* Desktop styles - mobile-first approach */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

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

  .logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .footer__title {
    font-size: 1.5rem;
  }

  .hero {
    padding: 7.5rem 1.25rem 3.75rem;
  }

  .stats-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3.75rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .cta-buttons,
  .cta-buttons-large {
    flex-direction: row;
  }

  .mobile-call-bar {
    display: none !important;
  }

  /* Reset footer padding on desktop */
  .footer {
    padding-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .nav-links a {
    font-size: 0.875rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
  }

  .nav-call-btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.8rem;
  }

  .hero {
    padding: 6.5rem 1.25rem 3.75rem;
  }

  .services-grid {
    gap: 2.5rem;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero h1 .blue::after {
    animation: none;
  }

  .blue-line {
    animation: none;
  }

  .service-card:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .btn-secondary {
    border-color: #fff;
  }

  .service-card {
    border-color: #000;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .logo {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }

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

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
    min-width: unset;
    font-size: 1.1rem;
    padding: 1.25rem 0;
  }
}

/* Service card mobile improvements */
@media (max-width: 600px) {
  .service-card {
    height: auto;
    padding-bottom: 1.5rem;
  }

  .service-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 1rem;
  }

  /* Mobile-specific touch optimizations */
  .service-card:hover {
    transform: translate3d(0, -4px, 0);
    /* Reduced hover lift on mobile */
  }

  .service-link {
    min-height: 44px;
    /* Touch target minimum */
    padding: 0.875rem 1.75rem;
  }
}

/* --- Product Page Styles (restored) --- */
.products-section {
  padding: 6rem 1.25rem 3rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.08);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.product-card.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.product-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover,
.product-card:focus-within {
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18);
  transform: translateY(-6px) scale(1.01);
  border-color: var(--primary-color);
}

.product-image {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.product-badge.pro {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 8px;
  margin-right: 8px;
  letter-spacing: 1px;
  vertical-align: middle;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-category {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.product-description {
  color: #444;
  font-size: 0.97rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-tag {
  background: #e0e7ff;
  color: #2563eb;
  font-size: 0.8rem;
  border-radius: 12px;
  padding: 2px 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.product-usage {
  margin-top: 0.5rem;
}

.usage-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 0.1rem;
}

.usage-text {
  font-size: 0.9rem;
  color: #666;
}

.category-filter {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 2.5rem 1.25rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(37, 99, 235, 0.2);
  text-align: center;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-btn {
  background: #fff;
  color: #2563eb;
  border: 1px solid #2563eb;
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
  margin-bottom: 0.5rem;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-section {
    padding: 3.5rem 0.5rem 1.5rem;
  }

  .product-card {
    padding: 1.25rem 0.75rem 1rem;
    min-height: 260px;
  }

  .category-filter {
    padding: 1.5rem 0.5rem 1rem;
  }

  .filter-btn {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
  }
}

/* --- End Product Page Styles --- */