/**
 * PLS Emu Service Box Styles
 * Converted from Emu HTML template
 */

/*===== Service Section =====*/
.pls-emu-service-section {
  position: relative;
  padding: 128px 0px;
  background: #fff;
}

/* Parallax Icons */
.pls-emu-service-section .parallax-icon .icon {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}

.pls-emu-service-section .parallax-icon .bubble-1 {
  left: 140px !important;
  top: 170px !important;
  width: 225px;
  height: 226px;
}

.pls-emu-service-section .parallax-icon .bubble-2 {
  left: 230px !important;
  top: 400px !important;
  width: 144px;
  height: 144px;
}

.pls-emu-service-section .parallax-icon .bubble-3 {
  left: 85% !important;
  top: 460px !important;
  width: 114px;
  height: 112px;
}

.pls-emu-service-section .parallax-icon .bubble-4 {
  left: 90% !important;
  top: 550px !important;
  width: 153px;
  height: 152px;
}

/* Service Block */
.pls-emu-service-section .service-block-one {
  position: relative;
  text-align: center;
  padding: 82px 30px 40px 30px;
  border-radius: 15px;
  transition: all 500ms ease;
  background: var(--pls-service-bg, #fdf8e3);
  margin-bottom: 50px;
}

/* Position Styles */
.pls-emu-service-section .service-block-one.pos-1 {
  border-top-left-radius: 60px;
}

.pls-emu-service-section .service-block-one.pos-3 {
  border-bottom-right-radius: 60px;
}

/* Icon Box */
.pls-emu-service-section .service-block-one .inner-box .icon-box {
  position: relative;
  display: inline-block;
  height: 220px;
  margin-bottom: 21px;
}

.pls-emu-service-section .service-block-one .inner-box .icon-box img {
  max-height: 180px;
  width: auto;
}

/* Animated Icons */
.pls-emu-service-section .service-block-one .inner-box .icon-box .anim-icon {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  -webkit-animation: pls_service_hexagon 3s infinite linear;
  -moz-animation: pls_service_hexagon 3s infinite linear;
  -o-animation: pls_service_hexagon 3s infinite linear;
  animation: pls_service_hexagon 3s infinite linear;
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

.pls-emu-service-section .service-block-one:hover .inner-box .icon-box .anim-icon {
  -webkit-animation-play-state: running;
  -moz-animation-play-state: running;
  -o-animation-play-state: running;
  animation-play-state: running;
}

.pls-emu-service-section .service-block-one .inner-box .icon-box .anim-icon .icon {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.pls-emu-service-section .service-block-one .inner-box .icon-box .anim-icon .icon-1 {
  left: 95px;
  top: -25px;
  width: 20px;
  height: 20px;
  background: var(--pls-icon-color-1, #fd8a20);
  -webkit-animation: pls_zoom_fade_two 4s infinite linear;
  animation: pls_zoom_fade_two 4s infinite linear;
}

.pls-emu-service-section .service-block-one .inner-box .icon-box .anim-icon .icon-2 {
  top: 75px;
  right: -28px;
  height: 30px;
  width: 30px;
  background: var(--pls-icon-color-2, #fd8a20);
  -webkit-animation: pls_zoom_fade 4s infinite linear;
  animation: pls_zoom_fade 4s infinite linear;
}

.pls-emu-service-section .service-block-one .inner-box .icon-box .anim-icon .icon-3 {
  right: 94px;
  bottom: -10px;
  width: 20px;
  height: 20px;
  background: var(--pls-icon-color-3, #fd8a20);
  -webkit-animation: pls_zoom_fade 3s infinite linear;
  animation: pls_zoom_fade 3s infinite linear;
}

/* Typography */
.pls-emu-service-section .service-block-one .inner-box h4 {
  position: relative;
  display: block;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 13px;
}

.pls-emu-service-section .service-block-one .inner-box h4 a {
  display: inline-block;
  color: #161616;
  text-decoration: none;
  transition: all 300ms ease;
}

.pls-emu-service-section .service-block-one .inner-box h4 a:hover {
  color: var(--pls-primary-color, #fe1660);
}

.pls-emu-service-section .service-block-one .inner-box .text {
  position: relative;
  margin-bottom: 20px;
}

.pls-emu-service-section .service-block-one .inner-box .text p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Link Button */
.pls-emu-service-section .service-block-one .inner-box .link {
  position: absolute;
  left: 50%;
  bottom: -33px;
  transform: translateX(-50%);
}

.pls-emu-service-section .service-block-one .inner-box .link a {
  position: relative;
  display: inline-block;
  font-size: 24px;
  font-family: 'Lato', sans-serif;
  color: #161616;
  font-weight: 700;
  background: #fff;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
  text-decoration: none;
  transition: all 500ms ease;
}

.pls-emu-service-section .service-block-one:hover .inner-box .link a {
  color: #fff;
}

.pls-emu-service-section .service-block-one .inner-box .link a:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  right: 0px;
  border-radius: 50%;
  transform: scale(0, 0);
  z-index: -1;
  transition: all 500ms ease;
  background: linear-gradient(90deg, var(--pls-gradient-1, #862ef1), var(--pls-gradient-2, #053da5) 50%, var(--pls-gradient-1, #862ef1)) var(--pls-gradient-pos, 0) / 200%;
}

.pls-emu-service-section .service-block-one:hover .inner-box .link a:before {
  transform: scale(1, 1);
}

/*===== Keyframes Animations =====*/

/* Service Hexagon Rotation */
@-webkit-keyframes pls_service_hexagon {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes pls_service_hexagon {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes pls_service_hexagon {
  0% {
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes pls_service_hexagon {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Zoom Fade Animation */
@-webkit-keyframes pls_zoom_fade {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes pls_zoom_fade {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

/* Zoom Fade Two Animation */
@-webkit-keyframes pls_zoom_fade_two {
  0% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}

@keyframes pls_zoom_fade_two {
  0% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}

/*===== Responsive Styles =====*/

@media only screen and (max-width: 991px) {
  .pls-emu-service-section .service-block-one {
    margin-bottom: 70px;
  }

  .pls-emu-service-section .service-block:last-child .service-block-one {
    margin-bottom: 0px;
  }

  /* Hide parallax on tablet/mobile */
  .pls-emu-service-section .parallax-icon .bubble-1,
  .pls-emu-service-section .parallax-icon .bubble-2 {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .pls-emu-service-section {
    padding: 80px 0px;
  }

  .pls-emu-service-section .service-block-one {
    padding: 60px 20px 30px 20px;
  }

  .pls-emu-service-section .service-block-one .inner-box .icon-box {
    height: 180px;
  }

  .pls-emu-service-section .service-block-one .inner-box .icon-box img {
    max-height: 140px;
  }

  /* Hide all parallax bubbles on mobile */
  .pls-emu-service-section .parallax-icon {
    display: none;
  }
}

@media only screen and (max-width: 479px) {
  .pls-emu-service-section .service-block-one {
    padding: 50px 15px 25px 15px;
  }

  .pls-emu-service-section .service-block-one .inner-box h4 {
    font-size: 18px;
    line-height: 26px;
  }

  .pls-emu-service-section .service-block-one .inner-box .link a {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
  }
}
