.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;
}

.tm-sc-services {
  counter-reset: my-counter;
}

.service-block-style3 {
  position: relative;
  margin-bottom: 30px;
  z-index: 1;
}
.service-block-style3 .inner-box {
  position: relative;
  overflow: hidden;
  padding: 35px 40px;
  background-color: #171717;
  z-index: 2;
  transition: all 300ms ease;
  background-image: url(../../../images/current-theme/line-1.png);
  background-position: left top;
  background-repeat: no-repeat;
}
.service-block-style3 .inner-box::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(var(--theme-color2-rgb), 1) 55%, rgba(var(--theme-color1-rgb), 0.5) 100%);
  content: "";
  z-index: -1;
  transition: all 300ms linear;
}
.service-block-style3 .inner-box:after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: url(../../../images/current-theme/line-1.png);
  background-color: var(--theme-color1);
  background-position: left top;
  background-repeat: no-repeat;
  transform: scaleY(0);
  transform-origin: bottom center;
  content: "";
  z-index: -1;
  transition: all 300ms linear;
}
.service-block-style3 .inner-box:hover:after {
  transform: scale(1);
  opacity: 1;
  border-radius: 0;
}
.service-block-style3 .inner-box:hover:before {
  opacity: 0;
}
.service-block-style3 .inner-box:hover .service-title:before {
  background-color: var(--theme-color2);
}
.service-block-style3 .inner-box:hover .service-title,
.service-block-style3 .inner-box:hover .service-details,
.service-block-style3 .inner-box:hover .icon {
  color: var(--text-color-bg-theme-color1);
}
.service-block-style3 .inner-box:hover .count {
  background-color: var(--theme-color2);
}
.service-block-style3 .inner-box:hover .btn-view-details a {
  color: var(--text-color-bg-theme-color1);
}
.service-block-style3 .count {
  position: absolute;
  right: 40px;
  top: 83px;
  height: 27px;
  width: 28px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  line-height: 27px;
  text-align: center;
  font-size: 14px;
  font-family: var(--title-font);
  transition: all 300ms linear;
}
.service-block-style3 .count:before {
  counter-increment: my-sec-counter;
  content: counter(my-sec-counter, decimal-leading-zero) " ";
}
.service-block-style3 .service-title {
  position: relative;
  display: block;
  padding-bottom: 25px;
  margin-bottom: 40px;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 0;
  transition: all 300ms linear;
}
.service-block-style3 .service-title a:hover {
  color: #fff;
}
.service-block-style3 .service-title a:focus {
  color: #fff;
}
.service-block-style3 .service-title:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  content: "";
}
.service-block-style3 .service-title:hover {
  color: var(--theme-color2);
}
.service-block-style3 .icon {
  position: relative;
  display: block;
  font-size: 62px;
  color: #ffffff;
  font-weight: 400;
  line-height: 1em;
  transition: all 200ms linear;
  margin-bottom: 16px;
}
.service-block-style3 .service-details {
  position: relative;
  color: #ffffff;
  line-height: 26px;
  transition: all 300ms linear;
}
.service-block-style3 .btn-view-details a {
  color: #fff;
  margin-top: 20px;
}