.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-style4 {
  position: relative;
  margin-bottom: 30px;
}
.service-block-style4 .inner {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 30px;
  padding: 25px 25px;
  border-radius: 12px;
  flex-direction: column;
  background-color: var(--theme-color-white);
}
.service-block-style4 .inner:hover .arrow {
  transform: rotate(0deg) !important;
}
.service-block-style4 .inner .upper-box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.service-block-style4 .inner .upper-box .more {
  position: relative;
  padding: 8px 18px;
  border-radius: 50px;
  display: inline-block;
  color: var(--theme-color1);
  text-transform: capitalize;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.service-block-style4 .inner .upper-box .more:hover {
  background-color: var(--theme-color1);
  border-color: var(--theme-color1);
  color: var(--theme-color-white);
}
.service-block-style4 .inner .upper-box .arrow {
  position: relative;
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50px;
  display: inline-block;
  transform: rotate(-45deg);
  color: var(--theme-color-white);
  transition: all 300ms ease;
  background-color: var(--theme-color1);
}
.service-block-style4 .inner .upper-box .arrow:hover {
  color: var(--theme-color-white);
  background-color: var(--theme-color3);
}
.service-block-style4 .inner:before {
  position: absolute;
  content: "";
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 0;
  background-color: #ece6e1;
  transform: scale(0.2, 1);
  transition: all 500ms ease;
}
.service-block-style4 .inner:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
.service-block-style4 .image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.service-block-style4 .image:before {
  opacity: 0.5;
  z-index: 1;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--theme-color1);
}
.service-block-style4 .image img {
  position: relative;
  width: 100%;
  display: block;
}
.service-block-style4 .overlay-anim {
  position: relative;
}
.service-block-style4 .overlay-anim:after {
  background: rgba(255, 255, 255, 0.3);
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  opacity: 1;
  z-index: 9;
  pointer-events: none;
}
.service-block-style4 .overlay-anim:hover:after {
  height: 100%;
  opacity: 0;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
}
.service-block-style4 .content {
  position: relative;
  z-index: 1;
}
.service-block-style4 .content .service-title {
  position: relative;
  margin-top: 40px;
  font-weight: 500;
  max-width: 300px;
  line-height: 34px;
  margin-bottom: 0;
}
.service-block-style4 .content .service-title a {
  color: var(--theme-color1);
}
.service-block-style4 .content .service-title a:hover {
  color: var(--theme-color3);
}

.isotope-item:nth-child(even) .service-block-style4 .inner .content {
  order: 2;
  display: flex;
  flex-direction: column;
}
.isotope-item:nth-child(even) .service-block-style4 .inner .content .upper-box {
  order: 2;
}
.isotope-item:nth-child(even) .service-block-style4 .inner .content .service-title {
  margin-top: 0px;
  margin-bottom: 40px;
}
.isotope-item:nth-child(even) .service-block-style4 .inner .image {
  order: 1;
}