.credel_hero {
  position: relative;
}
.credel_hero img {
  width: 100%;
  height: 312px;
  object-fit: cover;
}
.service_overlay {
  position: absolute;
  top: 0%;
  left: 0%;
  background-color: #000;
  height: 50vh;
  width: 100%;
  opacity: 0.4;
}
.service_hero h2 {
  position: absolute;
  top: 44%;
  left: 42%;
  transform: translate(-59%, -78%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 65px;
}
.painting_hero h2 {
  position: absolute;
  top: 44%;
  left: 28%;
  transform: translate(-59%, -78%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 65px;
}
.credel_hero h2 {
  position: absolute;
  top: 44%;
  left: 35%;
  transform: translate(-59%, -78%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 65px;
}
.repainting_hero h2 {
  position: absolute;
  top: 44%;
  left: 32%;
  transform: translate(-59%, -78%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 65px;
}
.service_border {
  position: absolute;
  top: 40%;
  left: 10%;
  transform: translate(-60%, -90%);
  background-color: #fff;
  width: 120px;
  height: 3px;
  border-radius: 8px;
}
.service_bg {
  background-image: url(../Assets/white_painted_textured.jpg);
  background-repeat: repeat;
  background-position: center;
  height: 100%;
  width: 100%;
}
.desc {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding: 2rem calc((100vw - 1200px) / 2);
  padding-bottom: 0rem;
}
.desc h5 {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  margin-top: -10px;
  margin-bottom: 0.5rem;
}
.desc p {
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
}
.service_container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  padding: 1rem calc((100vw - 1200px) / 2);
  padding-top: 1rem;
}
.service_container h3 {
  margin-bottom: 18px;
  font-size: 22px;
}
.service_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px;
  grid-gap: 1.1rem;
}
.service_grid div img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}
.service_grid div p {
  text-align: center;
  font-weight: 500;
  font-size: 18px;
}

.service_projects {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #eae9ec;
  padding: 2rem calc((100vw - 1250px) / 2);
  padding-bottom: 3.5rem;
  background: url(../Assets/what_we_do_bg.png);
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid #fff;
}
.service_projects_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 300px);
  grid-gap: 2rem;
}
.service_project_card {
  position: relative;
}
.ser_overlay {
  position: absolute;
  top: 0%;
  left: 0%;
  right: 0%;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.4;
  transition: all 0.4s ease-in;
}
.service_project_card:hover .ser_overlay {
  display: none;
  transition: all 0.4s ease-in;
}
.ser_data {
  position: absolute;
  bottom: 3%;
  left: 3%;
  /* opacity: 0.4; */
  transition: all 0.4s ease-in;
  color: #fff;
  font-weight: 500;
  z-index: 10000;
}
.service_project_card img {
  width: 100%;
  height: 100%;
}
.service_project_card:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 /3;
}
@media only screen and (max-width: 991px) {
  .service_grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 300px;
    grid-gap: 0rem;
    padding: 0px 10px;
  }
  .service_container h3 {
    margin-bottom: 18px;
    font-size: 25px;
    padding-left: 10px;
  }
  .desc p {
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 17px;
  }
  .service_enquiry {
    flex-direction: column;
    padding: 20px 20px;
  }
  .service_enquiry div h3 {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
  }
  .service_enquiry_btn {
    font-size: 17px;
  }
  .service_border {
    position: absolute;
    top: 30%;
    left: 28%;
    transform: translate(-90%, -80%);
    width: 100px;
  }
  .painting_hero h2 {
    position: absolute;
    top: 32%;
    left: 57%;
    transform: translate(-59%, -78%);
    font-size: 35px;
  }
  .repainting_hero h2 {
    position: absolute;
    top: 32%;
    left: 65%;
    transform: translate(-59%, -78%);
    font-size: 35px;
  }
  .service_hero h2 {
    position: absolute;
    top: 34%;
    left: 62%;
    transform: translate(-59%, -78%);
    font-size: 30px;
  }
  .credel_hero h2 {
    position: absolute;
    top: 31.8%;
    left: 68%;
    transform: translate(-59%, -78%);
    font-size: 30px;
    width: 60%;
  }
    .credel_hero img {
        width: 100%;
        height: 210px;
    }

  .service_hero,
  .painting_hero,
  .credel_hero,
  .repainting_hero {
    height: 30vh;
  }
  .service_overlay {
    height: 30vh;
  }
  .service_projects {
    padding: 0rem calc((100vw - 1250px) / 2);
    padding-bottom: 0rem;
    border: 0px;
  }
  .service_projects_grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .service_project_card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 /2;
  }
  .service_project_card img {
    width: 100%;
    height: 300px;
  }
  .ser_overlay {
    height: 300px;
  }
}
