.section-spacing {
  margin-bottom: 100px;
}
body {
  background-color: #f7f7fd;
}

/* banner section  */
.service-banner {
  background-image: url("../images/service-banner.png");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  padding-left: 80px;
}
.service-banner h2 {
  font-size: 40px;
  font-weight: 600;
}
.service-banner a {
  text-decoration: none;
  color: white;
}

/* cards section  */
.service-card-icon {
  height: 58px;
  width: 58px;
  border-radius: 50%;
  background-color: #d9d9d9;
  transform: rotate(-45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 6px;
  bottom: 0px;
  color: black;
}
.service-card-icon:hover {
  background-color: black;
  color: white;
  cursor: pointer;
}
.service-card-img {
  position: relative;
  height: 243px;
}
.service-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 15px 20px;
  position: relative;
  /* min-height: 440px; */
  margin-top: 20px;
}
.service-section-card::before {
  position: absolute;
  content: "";
  background-color: white;
  height: 90%;
  width: 100%;
  z-index: -1;
  bottom: 0;
  border-radius: 24px;
  transition-duration: 2s;
}
.service-section-card:hover::before {
  height: 100%;
}
.service-section-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  width: 90%;
  align-self: start;
}
.service-section-card p {
  color: #717171;
}
.service-section-heading {
  font-size: 32px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}
.service-card-img img {
  width: 100%;
}
.service-cards {
  margin-bottom: 80px;
}

/* Responsive Css  */
@media only screen and (max-width: 1399px) {
  .service-card-img {
    height: 210px;
  }
  .service-card-icon {
    right: 0px;
  }
}
@media only screen and (max-width: 1199px) {
  .service-card-img {
    height: 170px;
  }
  .service-card-icon {
    right: 0px;
  }
  .service-card-icon {
    height: 40px;
    width: 40px;
  }
}
@media only screen and (max-width: 991px) {
  .service-card-img {
    height: 190px;
  }
  .service-card-icon {
    right: 4px;
  }
  .service-card-icon {
    height: 44px;
    width: 44px;
  }
  .service-section-heading {
    font-size: 28px;
  }
}
@media only screen and (max-width: 768px) {
  .service-card-img {
    height: 300px;
    width: 100%;
  }
  .service-card-icon {
    height: 70px;
    width: 70px;
  }
  .service-card-icon {
    right: 8px;
  }
  .service-section-heading {
    font-size: 24px;
  }
}

@media only screen and (max-width: 575px) {
  .service-card-icon {
    right: 12px;
    bottom: -32px;
  }
  .service-card-img {
    height: auto;
  }
  .service-section-heading {
    font-size: 20px;
  }
}
@media only screen and (max-width: 500px) {
  .service-card-icon {
    height: 57px;
    width: 57px;
  }
  .service-card-icon {
    right: 6px;
    bottom: -28px;
  }
  .service-section-card h3 {
    font-size: 18px;
    margin-top: 20px;
  }
  .service-section-card {
    min-height: 0px;
  }
  .service-section-desc{
    font-size: 14px;
  }
  .service-banner {
   
    height: 60vh;
    padding-left: 0px;
    align-items: center;
}
.service-banner h2 {
  font-size: 30px;
  font-weight: 600;
}
}
@media only screen and (max-width: 400px) {
  .service-card-icon {
    height: 40px;
    width: 40px;
  }
  
  .service-section-card h3 {
    font-size: 16px;
    margin-top: 20px;
}
.service-section-card p {
font-size: 14px;
}
.section-spacing {
  margin-bottom: 30px;
}
.service-card-icon {
  right: 7px;
  bottom: -20px;
  height: 45px;
  width: 45px;
}
}
