.services {
  padding: 40px 0px;
}

.service-block_three {
  position: relative;
  margin-bottom: 30px;
}

.service-block_three-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-block_three-icon {
  position: relative;
  width: 100px;
  height: 120px;
  font-size: 58px;
  line-height: 116px;
  text-align: center;
  display: inline-block;
  color: #f7c51e;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  border: 2px solid #f7c51e;
}

.service-block_three-image img {
  width: 247px;
  height: 196px;
  transition: transform 2s;
  will-change: transform;
  transform-origin: center center;
}

.service-block_three.style-two
  .service-block_three-inner:hover
  .service-block_three-image
  img {
  transform: scale(1.2);
}

.service-block_three-icon img {
  transition: filter 0.3s;
}

.service-block_three-icon::before {
  position: absolute;
  content: "";
  right: 6px;
  bottom: 6px;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #f7c51e;
}

.service-block_three-inner:hover .service-block_three-icon::before {
  border-bottom-color: #fff;
}

.service-block_three.style-two
  .service-block_three-inner:hover
  .service-block_three-icon {
  background-color: #f7c51e;
  transform: rotateY(180deg);
  color: #fff;
}

.service-block_three.style-two
  .service-block_three-inner:hover
  .service-block_three-icon
  img {
  filter: invert(100%) brightness(10750%) contrast(100%);
}

.service-block_three-image {
  position: absolute;
  right: 20px;
  top: 0px;
  z-index: 1;
  width: 247px;
  height: 196px;
  overflow: hidden;
}

.service-block_three-content {
  position: relative;
  margin-top: 30px;
  padding: 70px 40px 10px;
  background-color: #fff;
  border: 2px solid #eee;
}

.service-block_three-content h3 {
  min-height: 55px;
}

.service-block_three-content p a {
  font-size: 18px;
  font-weight: 600;
  padding: 7px 18px;
  position: relative;
  display: table;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  position: relative;
  border: 1px solid #f7c51e;
  background-color: #f7c51e;
  white-space: nowrap;
  margin-top: 20px;
  border-radius: 10px;
}

.service-block_three-content p a:after {
  content: attr(data-hover);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  -webkit-transform: translate(-30%, 0);
  transform: translate(-30%, 0);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  padding: 7px 18px;
}

.service-block_three-content p a:hover {
  background-color: #000;
  color: #f7c51e;
}

.service-block_three-content p a:hover:after {
  opacity: 1;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

a.feed-icon {
  display: none;
}
