.Services {
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.7)
    ),
    url(../assets/serv.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
/* .reduce1{
  max-height: 200px;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
 } */

.servicelist {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: row;
  margin: 100px 0;
  position: relative;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}

.servicelist1 {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: row-reverse;
  margin: 100px 0;
  position: relative;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}

.servicelist-text {
  width: 42%;
  margin: 70px;
}

.servicelist-image {
  width: 45%;
  height: 450px;
  position: absolute;
  right: 70px;
  top: -25px;
  background: white;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}
.servicelist-image1 {
  width: 45%;
  height: 450px;
  position: absolute;
  left: 70px;
  top: -25px;
  background: white;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
}
.servicelist-image img {
  width: 100%;
  height: 100%;
  object-fit: 100% 100%;
  padding: 10px;
}
.servicelist-image1 img {
  width: 100%;
  height: 100%;
  object-fit: 100% 100%;
  padding: 10px;
}

@media screen and (max-width: 1120px) {
  .servicelist1 {
    margin: 70px 0;
  }
  .servicelist {
    margin: 70px 0;
  }
  .servicelist-image1 {
    left: 30px;
    top: -25px;
  }
  .servicelist-image {
    right: 30px;
    top: -25px;
  }

}
@media screen and (max-width: 988px) {
  .servicelist1 {
    height: 350px;
        height: max-content;
  }
  .servicelist {
    height: 350px;
        height: max-content;
  }
  .servicelist-image {
    width: 40%;
    height: 370px;
  
  }
  .servicelist-image1 {
    width: 40%;
    height: 370px;
  
  }
}

@media screen and (max-width: 768px) {
  .servicelist-text {
    width: 45%;
    margin: 40px;
  }
  .servicelist1 {
    margin: 50px 0;

  }
  .servicelist {
    margin: 50px 0;

  }
  .servicelist-image {
    width: 40%;
    height: 300px;
  
  }
  .servicelist-image1 {
    width: 40%;
    height: 300px;
  
  }
 
}
@media screen and (max-width: 530px) {
  .servicelist-text {
    width: 100%;
    margin: 40px;
  }
  .servicelist-image {
   display: none;
  
  }
  .servicelist-image1 {
 display: none;
  
  }
  .servicelist1 {
height: max-content;  }
  .servicelist {
height: max-content;  }

 
}
