.services-sec {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("../images/services-bg-img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
  overflow: hidden;
}
.services-sec .service-col {
  width: 33.33%;
  padding: 0 20px;
  margin-bottom: 40px;
}

.services-sec .column-row {
  margin: 0 -20px -40px -20px;
  justify-content: center;
}

.service-box .service-img {
  position: relative;
  overflow: hidden;
  padding-bottom: 75%;
}

.service-box .service-img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-img:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #375b974a;
  z-index: 1;
  transform: translateY(-100%);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
  right: 0;
  bottom: 0;
  margin: auto;
}

.service-box {
    background-color: #fff;
    height: 100%;
}

.service-box:hover .service-img:before {
  transform: translateX(0);
}

.service-cotent {
  padding: 30px;
  background-color: #fff;
  text-align: center;
}

.service-cotent span.icon {
  width: 70px;
  height: 70px;
  display: block;
  margin: -60px auto 0;
  background-color: #fff;
  border-radius: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.3s;
}

.service-box:hover .service-cotent span.icon {
  background-color: var(--blue);
}
.service-cotent span.icon svg,
.service-cotent span.icon img {
  width: 35px;
  height: 35px;
  transition: all 0.3s;
  object-fit: contain;
}

.service-box:hover .service-cotent span.icon img {
  filter: brightness(0) invert(1);
}
.service-cotent h3 {
  color: var(--blue);
}

@media only screen and (max-width: 1199px) {
  .services-sec .column-row {
    margin: 0 -10px -20px -10px;
  }

  .services-sec .service-col {
    padding: 0 10px;
    margin-bottom: 20px;
  }
  .service-cotent {
    padding: 30px 20px;
}
}

@media only screen and (max-width: 991px) {
  .services-sec .service-col {
    width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .services-sec {
    padding: 40px 0;
  }
  .services-sec .service-col {
    width: 100%;
  }
}
