/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Navigation */
.navbar {
  background-color: #1f2937;
  color: white;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ccc;
}

/* Hero Section */
.hero {
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 8rem 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  margin-bottom: 10px;
  margin-top: 10px;
}

.btn:hover {
  background-color: #374151;
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;

}

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

.service-card {
  text-align: center;
  padding: 2rem;
  border: 5px solid #77777781;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #1f2937;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.btn:hover {
  background-color: #374151;
}

.emergency {
    width: 80%;
    margin-right:auto;
    margin-left:auto;
    text-align: center;
}

.why-us .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}



.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
  background: rgb(255, 255, 255);
  padding: 1rem;
  border-radius: 8px;
}
/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }
}

