/* Services Hero */
.services-hero {
  background-color: #e3f2fd;
  background-image: linear-gradient(
      rgba(26, 82, 118, 0.8),
      rgba(26, 82, 118, 0.8)
    ),
    url("/media/images/services/hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.services-hero h1,
.services-hero p {
  color: #fff;
}

/* Services Navigation */
.services-nav {
  background-color: #f8f9fa;
  padding: 1rem 0;
  margin-bottom: 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.services-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.services-nav li {
  margin: 0.5rem 1rem;
}

.services-nav a {
  color: #1a5276;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.services-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.services-nav a:hover {
  color: #3498db;
}

.services-nav a:hover::after {
  width: 100%;
}

/* Service Sections */
.service-section {
  display: flex;
  align-items: center;
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-section.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
  padding: 0 2rem;
}

.service-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-section h2 {
  color: #1a5276;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* Emergency Note */
.emergency-note {
  background-color: #f8d7da;
  border-left: 4px solid #e74c3c;
  padding: 1.5rem;
  margin-top: 2rem;
  border-radius: 4px;
}

.emergency-note h3 {
  color: #721c24;
  margin-bottom: 0.5rem;
}

.emergency-note p {
  color: #721c24;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 3rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-section,
  .service-section.reverse {
    flex-direction: column;
    padding: 4rem 1.5rem;
  }

  .service-content {
    padding: 0 1.5rem 2rem;
    text-align: center;
  }

  .service-section.reverse .service-content {
    padding: 0 1.5rem 2rem;
  }

  .service-section h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .services-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .services-nav li {
    margin: 0.25rem 0;
  }

  .service-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .service-section {
    padding: 2.5rem 1.5rem;
  }

  .emergency-note {
    padding: 1rem;
  }
}
