.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-style5 .inner-box {
  position: relative;
}
.service-block-style5 .inner-box:hover:before {
  height: 100%;
}
.service-block-style5 .inner-box:hover .content-box .service-title {
  color: var(--theme-color2);
}
.service-block-style5 .inner-box:hover .content-box .service-details {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}
.service-block-style5 .inner-box:hover .content-box .list-style-two {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}
.service-block-style5 .inner-box:hover .content-box .theme-btn {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.service-block-style5 .inner-box:before {
  content: "";
  position: absolute;
  background-color: var(--theme-color1);
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  transition: all 300ms ease;
}
.service-block-style5 .inner-box:after {
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.768627451), transparent);
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
@media (max-width: 575.98px) {
  .service-block-style5 .inner-box .image-box {
    height: 350px;
  }
}
@media (max-width: 575.98px) {
  .service-block-style5 .inner-box .image-box .image {
    height: 100%;
  }
}
.service-block-style5 .inner-box .image-box .image img {
  height: 374px;
  width: 100%;
  object-fit: cover;
}
.service-block-style5 .content-box {
  position: absolute;
  padding: 25px 50px 40px 50px;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 575.98px) {
  .service-block-style5 .content-box {
    padding: 15px 40px 30px 40px;
  }
}
.service-block-style5 .content-box .service-title {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #fff;
}
.service-block-style5 .content-box .service-title a:hover, .service-block-style5 .content-box .service-title a:focus {
  color: var(--text-color-bg-theme-color1);
}
.service-block-style5 .content-box .service-details {
  color: var(--text-color-bg-theme-color1);
  margin-bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 300ms ease;
}
.service-block-style5 .content-box .service-details ul {
  margin: 10px 0 20px 0;
}
.service-block-style5 .content-box .service-details ul li {
  list-style: none;
  position: relative;
  padding-left: 25px;
  margin-bottom: 0;
}
.service-block-style5 .content-box .service-details ul li:before {
  position: absolute;
  left: 0;
  top: 0;
  content: "\f058";
  font-weight: 900;
  font-family: "Font Awesome 5 free";
  color: var(--theme-color2);
}
.service-block-style5 .content-box .theme-btn {
  opacity: 0;
  transition: all 300ms ease;
  z-index: 0;
  position: relative;
  font-size: 16px;
  line-height: 24px;
  padding: 15px 23px 15px 21px;
  border-radius: 27.5px;
  font-weight: 600;
  display: inline-table;
  overflow: hidden;
  transform: translateY(40px);
  color: var(--theme-color1);
  background: var(--theme-color2);
}
.service-block-style5 .content-box .theme-btn:hover:before {
  -webkit-transform-origin: top right;
  transform-origin: top right;
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
.service-block-style5 .content-box .theme-btn:before {
  position: absolute;
  left: 0;
  top: 0%;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #fff;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0);
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
  transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition: -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 500ms cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 500ms cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
  z-index: 0;
}
.service-block-style5 .content-box .theme-btn span {
  z-index: 1;
  position: relative;
}
.service-block-style5 .content-box .theme-btn .icon {
  background-color: var(--theme-color1);
  border-radius: 50%;
  color: var(--theme-color2);
  font-size: 12px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  margin-right: 10px;
  position: relative;
  text-align: center;
  z-index: 1;
  transition: all 500ms ease;
}