.tm-sc-service .icon {
  display: inline-block;
}
.tm-sc-service .icon,
.tm-sc-service .feature-title,
.tm-sc-service .feature-details {
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.service-block-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}
@media only screen and (max-width: 1700px) {
  .service-block-wrapper {
    margin: 0 -50px;
    padding: 0 10px;
  }
}
@media (max-width: 1399.98px) {
  .service-block-wrapper {
    margin: 0;
  }
}
@media (max-width: 1199.98px) {
  .service-block-wrapper {
    padding: 0;
  }
}
@media (max-width: 991.98px) {
  .service-block-wrapper {
    flex-wrap: wrap;
    padding: 0;
    margin: 0 -15px;
  }
}
.service-block-wrapper .service-block-style3 {
  position: relative;
  margin-bottom: 30px;
  transition: 0.8s cubic-bezier(0.29, 0, 0.2, 1);
  z-index: 1;
}
.service-block-wrapper .service-block-style3 .image-box {
  position: relative;
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .image-box .image {
  position: relative;
  display: block;
  margin-bottom: 0;
}
.service-block-wrapper .service-block-style3 .image-box .image::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(29, 29, 29, 0.9);
  opacity: 0.3;
  transition: all 300ms ease;
  z-index: 2;
}
.service-block-wrapper .service-block-style3 .image-box .image img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .content-box-hover {
  position: absolute;
  left: 0;
  bottom: 0;
  min-height: 276px;
  padding: 30px 38px 92px;
  z-index: 2;
  writing-mode: vertical-rl;
  background: var(--theme-color-light);
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .content-box-hover .icon {
  background-color: var(--gradient-1);
  color: #fff;
  font-size: 36px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  width: 60px;
  position: absolute;
  left: 20px;
  bottom: 17px;
  transform: rotate(-90deg);
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .content-box-hover .service-title {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  border-radius: 10px;
  text-align: start;
  transform: rotate(180deg);
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .content-box {
  position: absolute;
  left: 30px;
  right: 70px;
  bottom: 35px;
  padding: 27px 25px 28px 95px;
  z-index: 3;
  background: var(--theme-color-white);
  transition: all 300ms ease;
  opacity: 0;
  transform: translateY(70px);
}
@media (max-width: 991.98px) {
  .service-block-wrapper .service-block-style3 .content-box {
    right: 15px;
    left: 15px;
    bottom: 15px;
    padding: 27px 20px 28px 20px;
  }
}
.service-block-wrapper .service-block-style3 .content-box .icon {
  background-color: var(--gradient-1);
  color: #fff;
  font-size: 36px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  width: 60px;
  position: absolute;
  left: 20px;
  top: 30px;
  transition: all 300ms ease;
}
@media (max-width: 991.98px) {
  .service-block-wrapper .service-block-style3 .content-box .icon {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    margin-bottom: 15px;
    line-height: 68px;
  }
}
.service-block-wrapper .service-block-style3 .content-box .service-title {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  transition: all 300ms ease;
}
@media (max-width: 991.98px) {
  .service-block-wrapper .service-block-style3 .content-box .service-title {
    margin-bottom: 10px;
  }
}
@media (max-width: 575.98px) {
  .service-block-wrapper .service-block-style3 .content-box .service-title {
    font-size: 16px;
  }
}
@media (max-width: 991.98px) {
  .service-block-wrapper .service-block-style3 .content-box .service-details {
    font-size: 14px;
    line-height: 1.6;
  }
}
.service-block-wrapper .service-block-style3 .content-box .read-more {
  position: absolute;
  top: 30px;
  right: 26px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  display: inline-block;
  color: var(--theme-color1);
  text-align: center;
  transform: rotate(-45deg) scale(0);
  opacity: 0;
  transition: all 300ms ease;
}
.service-block-wrapper .service-block-style3 .content-box .read-more:before {
  content: "";
  position: absolute;
  background-color: rgba(226, 9, 53, 0.1);
  width: 50px;
  height: 50px;
  left: 0;
  top: 0;
  transform: rotate(45deg);
}
.service-block-wrapper .service-block-style3 .content-box .read-more i {
  font-size: 16px;
}
.service-block-wrapper .service-block-style3 {
  min-height: 470px;
  margin-right: 5px;
  margin-left: 5px;
  flex: 1;
  will-change: flex;
}
.service-block-wrapper .service-block-style3:hover, .service-block-wrapper .service-block-style3.active {
  flex: 3;
}
.service-block-wrapper .service-block-style3:hover .content-box, .service-block-wrapper .service-block-style3.active .content-box {
  opacity: 1;
  transform: translate(0);
  transition-delay: 500ms;
}
.service-block-wrapper .service-block-style3:hover .content-box .read-more, .service-block-wrapper .service-block-style3.active .content-box .read-more {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
  transition-delay: 700ms;
}
.service-block-wrapper .service-block-style3:hover .content-box-hover, .service-block-wrapper .service-block-style3.active .content-box-hover {
  opacity: 0;
  transform: translateY(100);
  transition-delay: 100ms;
}
@media (max-width: 991.98px) {
  .service-block-wrapper .service-block-style3 {
    width: 50%;
    flex: 0 0 50% !important;
    padding: 0 15px;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 767.98px) {
  .service-block-wrapper .service-block-style3 {
    width: 100%;
    flex: 0 0 100% !important;
  }
}
@media (max-width: 575.98px) {
  .service-block-wrapper .service-block-style3 {
    padding: 0;
  }
}