.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;
}

:root {
  --service-current-style5-bg-background-hover-image: url("../../../images/current-theme/icon-lines-6.png");
}

.service-block-style5 {
  position: relative;
  margin-bottom: 30px;
  z-index: 1;
}
.service-block-style5 .inner-box {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 35px 35px 30px;
  background-color: var(--theme-color-white);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: var(--service-current-style5-bg-background-image);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: all 300ms linear;
}
.service-block-style5 .inner-box:after {
  counter-increment: my-sec-counter;
  content: counter(my-sec-counter, decimal-leading-zero) " ";
  position: absolute;
  line-height: 1;
  right: 20px;
  top: 50px;
  font-size: 48px;
  color: #f4f5f9;
  transition: all 500ms ease;
  z-index: 1;
}
.service-block-style5 .inner-box:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-image: var(--service-current-style5-bg-background-hover-image);
  background-color: var(--theme-color-white);
  content: "";
  transition: all 300ms linear;
}
.service-block-style5 .inner-box:hover {
  box-shadow: none;
}
.service-block-style5 .inner-box:hover:after {
  opacity: 0.08;
}
.service-block-style5 .inner-box:hover:before {
  height: 0;
}
.service-block-style5 .inner-box:hover .service-icon {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.service-block-style5 .inner-box:hover .service-details {
  color: #fff;
}
.service-block-style5 .inner-box:hover .btn-view-details a {
  color: #fff;
}
.service-block-style5 .inner-box:hover .btn-view-details a:after {
  color: #fff;
}
.service-block-style5 .inner-box:hover .service-title,
.service-block-style5 .inner-box:hover .service-title a {
  color: #ffffff;
}
.service-block-style5 .icon-box {
  position: relative;
  margin-bottom: 25px;
}
.service-block-style5 .service-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
  background-color: var(--theme-color1);
  color: var(--text-color-bg-theme-color1);
  transition: all 200ms linear;
}
.service-block-style5 .service-icon i {
  font-size: 58px;
}
.service-block-style5 .service-title {
  margin-bottom: 10px;
  position: relative;
}
.service-block-style5 .service-title:hover {
  color: var(--theme-color2);
}
.service-block-style5 .service-title a:hover {
  color: #fff;
}
.service-block-style5 .service-title a:focus {
  color: var(--theme-color2);
}
body.tm-dark-layout .service-block-style5 .service-title a:focus {
  color: #fff;
}
.service-block-style5 .service-details {
  position: relative;
}
.service-block-style5 .btn-view-details {
  margin-top: 10px;
  position: relative;
}