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

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

/* Promotional Banner */
.promo-banner {
  background: var(--secondary-color);
  color: var(--text-color);
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
}

.promo-banner .close-banner {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.7;
}

.promo-banner .close-banner:hover {
  opacity: 1;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.25rem;
}

.logo {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav .cta {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.nav .cta:hover {
  background: var(--primary-dark);
}

/* Modern Hero Section */
.hero-modern {
  padding: 8rem 0 6rem 0;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content-left {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-modern h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.trust-indicators span {
  font-weight: 500;
}

.hero-image-modern {
  position: relative;
}

.hero-image-modern img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary-large {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--primary-color);
  color: var(--white);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-secondary-large {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--secondary-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.btn-secondary-large:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.phone-icon {
  font-size: 1rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-light);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--text-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.feature {
  text-align: center;
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.feature p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Services Preview */
.services-preview {
  padding: 6rem 0;
}

.services-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.service:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.service h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

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

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

/* Page Layout */
.page {
  padding: 4rem 0;
  max-width: 800px;
}

.page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.page h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: var(--text-color);
}

.page p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.page ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.page li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.page strong {
  color: var(--text-color);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

/* Footer */
.site-footer {
  background: var(--text-color);
  color: var(--white);
  padding: 4rem 0 2rem 0;
}

.site-footer h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.site-footer p {
  color: #d1d5db;
  line-height: 1.6;
}

.site-footer a {
  color: #d1d5db;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-form input,
.quote-form textarea {
  padding: 0.75rem;
  border: 1px solid #374151;
  border-radius: 4px;
  background: #374151;
  color: var(--white);
  font-family: inherit;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9ca3af;
}

.quote-form button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-form button:hover {
  background: var(--primary-dark);
}

.subfoot {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.subfoot small {
  color: #9ca3af;
}

/* Blue background sections - ensure white text */
.page [style*="background: var(--primary-color)"] {
  color: var(--white) !important;
}

.page [style*="background: var(--primary-color)"] h2 {
  color: var(--white) !important;
}

.page [style*="background: var(--primary-color)"] p {
  color: var(--white) !important;
}

/* Emergency Section */
.emergency-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  margin: 3rem 0;
}

.emergency-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.emergency-section p {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.emergency-btn {
  background: var(--secondary-color);
  color: var(--text-color);
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.emergency-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .promo-banner {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  .business-name {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }
  
  .business-tagline {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  
  .business-name-banner {
    padding: 2rem 2.5rem;
    border-width: 3px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .features h2,
  .services-preview h2 {
    font-size: 2rem;
  }
  
  .emergency-section h2 {
    font-size: 2rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    display: none;
    gap: 0;
  }
  
  .nav.mobile-open {
    display: flex;
  }
  
  .nav.mobile-open a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
  }
  
  .nav.mobile-open a:last-child {
    border-bottom: none;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .header-wrap {
    padding: 0.75rem 15px;
  }
  
  .brand span {
    font-size: 1.1rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .features,
  .services-preview {
    padding: 4rem 0;
  }
}



/* SEO and Local Business Enhancements */
.location-service {
  background: var(--bg-light);
}

.location-service h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Enhanced structured data visibility */
.service-area {
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.service-area h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Local SEO emphasis */
.local-focus {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.local-focus h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.local-focus p {
  color: var(--white);
  opacity: 0.95;
}

/* Emergency service visibility */
.emergency-highlight {
  background: #ff4444;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin: 1rem 0;
}



/* Services Overview */
.services-overview {
  padding: 6rem 0;
  background: var(--white);
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.service-card li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

/* Why Choose Us */
.why-choose-us {
  padding: 6rem 0;
  background: var(--bg-light);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-choose-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.why-choose-content > p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 2rem;
  background: var(--primary-color);
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.benefit p {
  color: var(--text-light);
  line-height: 1.6;
}

.stats-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stats-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.big-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.big-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.big-stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.cta-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-card p {
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Service Areas */
.service-areas {
  padding: 6rem 0;
  background: var(--white);
  text-align: center;
}

.service-areas h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 4rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: left;
}

.area-group h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.area-group ul {
  list-style: none;
  padding: 0;
}

.area-group li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.area-group li::before {
  content: '📍';
  position: absolute;
  left: 0;
}

/* Final CTA */
.final-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.final-cta .btn-primary-large {
  background: var(--secondary-color);
  color: var(--text-color);
}

.final-cta .btn-primary-large:hover {
  background: #d97706;
}

.final-cta .btn-secondary-large {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.final-cta .btn-secondary-large:hover {
  background: var(--white);
  color: var(--primary-color);
}

.contact-options {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.contact-option {
  color: var(--white);
  opacity: 0.9;
}

/* Loading Spinner Styles */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

.loading-spinner.dark {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Image loading optimization */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"]:not(.loaded) {
    opacity: 0.7;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-options {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-header h2,
  .service-areas h2,
  .final-cta h2 {
    font-size: 2rem;
  }
}
