

.services-trex .services-trex-img-cols {
  flex-direction: row;
  height: 600px;
  overflow-y: hidden;
  display: flex;
  gap: 8px;
  width: 100%;
    scrollbar-width: none;
  -ms-overflow-style: none;
  /* overflow: auto; */
}

.services-trex-img-cols::-webkit-scrollbar {
  display: none;
}

.services-trex .progress {
  display: inline-block;
  width: 40%;
  margin: 0 24px;
  height: 1px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f5f5f5;
  background-image: linear-gradient(to right, rgba(139, 201, 68, 1), rgba(139, 201, 68, 1));
  background-repeat: no-repeat;
  background-size: 0 100%;
  transition: .7s ease-in-out;

}
.services-trex .prev,.services-trex .next{
  cursor: pointer;
  text-transform: capitalize;
}
.services-trex .prev:before {
  background-size: cover;
  font-family: "Font Awesome 6 Pro";
  content: "\f053";
  color: rgba(139, 201, 68, 1);
  margin-right: 4px;
}

.services-trex .next:after {
  background-size: cover;
  font-family: "Font Awesome 6 Pro";
  content: "\f054";
  color: rgba(139, 201, 68, 1);
  margin-left: 4px;
}

.services-trex .services-trex-img-col img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.7s;
}

.services-trex-img-col {
  position: relative;
  cursor: pointer;
}

.services-trex .services-trex-item-overlay {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(14, 11, 11, 0.5) 20%,
      transparent 100%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.services-trex-img-col .text-content {
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  transform: translateY(40%);
  transition: 0.7s;
  overflow-wrap: anywhere;
}

.services-trex-img-col .text-content .btn {
  opacity: 0;
}

.services-trex-img-col:hover .text-content {
  transform: translateY(0)
}

.services-trex-img-col:hover .text-content .btn {
  opacity: 1
}

.services-trex .services-trex-img-col:hover .services-trex-item-overlay {
  background: linear-gradient(to top, rgba(14, 11, 11, 0.6) 50%,
      transparent 100%);
}

.services-trex .services-trex-content {
  position: relative;
  overflow-x: auto;
}

.services-trex .services-trex-img-cols .services-trex-img-col {
  flex: 0 0 80%;
  transition: 0.7s;
}

.services-trex .services-trex-img-col.active {
  flex: 0 0 100%;
}

.services-trex .progresss-bar {
 margin-left: 36px;
}

@media (min-width: 768px) {
  .services-trex .progresss-bar {
    margin-left: 24px;
  }

  .services-trex .progress {
    width: 72%;
  }

  /* .services-trex-img-col:first-child {
    margin-left: 20%;
  } */

  /* .services-trex-img-col:last-child {
    margin-right: 20%;
  } */

  .services-trex .services-trex-img-cols .services-trex-img-col {
    flex: 0 0 40%;
  }

  .services-trex .services-trex-img-col.active {
    flex: 0 0 60%;
  }
}

@media (min-width: 992px) {
  .services-trex .progresss-bar {
    margin: auto;
    max-width: 850px;
  }

  .services-trex .progress {
    width: 72%;
  }
}

@media (min-width: 1440px) {
  .services-trex .progresss-bar {
    max-width: 750px;
  }

  .services-trex .services-trex-img-cols .services-trex-img-col {
    flex: 0 0 20%;
  }

  .services-trex.services-trex-v2  .services-trex-img-cols .services-trex-img-col {
    flex: 1;
  }

  .services-trex .services-trex-img-col.active, .services-trex.services-trex-v2 .services-trex-img-col.active {
    flex: 0 0 40%;
  }
}

