.hero-sentence {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    url(img/services.webp) no-repeat;
  min-height: 100vh;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.hero-sentence h1 i {
  color: orange;
}
.heading1 {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(58, 56, 56, 0.5);
  word-spacing: 1.1;
  margin-bottom: 0.5rem;
}
.subtitle1 {
  font-family: "Lato", "Lucidia sans Unicode", "Lucidia Grande", sans-serif;
  color: #f1f1f1;
  font-weight: 500;
  font-size: 1.2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}
.subtitle1 i {
  font-size: 1.5rem;
}
.hero-sentence a {
  padding: 12px 24px;
  background-color: orange;
  text-align: center;
  border-radius: 8px;
  color: #fff;
  transition: all 0.3s ease;
}
.heading1 .fas,
.hero-sentence a i {
  margin-right: 8px;
}
.hero-sentence a:hover {
  background-color: #e68900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}
.services h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: orange;
}
.services p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
  /* transform:  rotate(-2deg); */
  place-content: center;
  display: inline-block;
}

.service-card:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.service-card i {
  font-size: 40px;
  color: orange;
  margin-bottom: 15px;
  justify-content: center;
  display: flex;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
  font-family: "Lato", sans-serif;
}
.services p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.why {
  background: #fff;
  text-align: center;
  padding: 5rem 1rem;
}

.why h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: orange;
  font-family: "Lato", sans-serif;
}

.why p {
  color: gray;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.why-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-item {
  padding: 2rem 1rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
}

.why-item i {
  font-size: 1.8rem;
  color: orange;
  margin-bottom: 0.8rem;
}
/* Media Queries for Services */
@media (max-width: 768px) {
  .hero-sentence {
    min-height: 80dvh;
  }
  .why-icons {
    grid-template-columns: 1fr;
  }
  .heading1 {
    font-size: 1.2rem;
    margin: 5px;
    padding: 0 10px;
    max-width: 100%;
  }
  .subtitle1 {
    font-size: 1rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .hero-sentence a {
    font-size: 0.9rem;
    padding: 10px 20px;
    margin: 5px;
  }
  .services h2 {
    font-size: 1.4rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .services p {
    font-size: 1rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .service-card {
    padding: 15px 10px;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .services p {
    font-size: 0.9rem;
  }
  .why {
    padding: 3rem 1rem;
  }
  .why h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .why p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .why-item {
    padding: 1.5rem 1rem;
  }
  .why-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 480px) {
  .heading1 {
    font-size: 1rem;
    margin: 5px;
    padding: 0 10px;
    max-width: 100%;
  }
  .subtitle1 {
    font-size: 0.9rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .hero-sentence a {
    font-size: 0.8rem;
    padding: 8px 16px;
    margin: 5px;
  }
  .services h2 {
    font-size: 1.2rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .services p {
    font-size: 0.9rem;
    margin: 10px;
    padding: 0 10px;
    max-width: 100%;
  }
  .service-card {
    padding: 10px 8px;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .services p {
    font-size: 0.8rem;
  }
  .why {
    padding: 2rem 1rem;
  }
  .why h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  .why p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  .why-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-item {
    padding: 1rem 0.5rem;
  }
  .why-item i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
}
@media screen and (max-width: 320px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
