/* ==========================================================================
Service Slider Layout
========================================================================== */
#service {
  padding: 0;
  background: #fff;
}

.responsive-services {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 650px;
}

.wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.iphone {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  min-height: 650px;
  overflow: hidden;
  background: #f3f5f8;
  box-shadow: inset -15px -11px 40px -6px rgba(0, 0, 0, 0.1);
}

.fluid-white {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  min-height: 650px;
  background: #fff;
}

.designs {
  position: relative;
  z-index: 2;
  padding-top: 22px;
}

.services-layout {
  display: flex;
  min-height: 650px;
  padding-top: 0;
}

.services-layout::before,
.services-layout::after {
  display: none;
}

.services-layout > [class*="col-"] {
  float: none;
}

.services-layout__content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 650px;
  padding-top: 0;
  padding-bottom: 0;
}

.service-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-visual__stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-visual__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(22px, 0, 0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.service-visual__media.is-active {
  opacity: 1;
  transform: none;
}

.service-visual__media img {
  display: block;
}

.service-visual__media--contain img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  transform: translate(-50%, -50%);
  filter: none;
}

.service-visual__media--cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.services-intro {
  margin: 0 0 45px;
}

.services-intro h1.arrow {
  margin: 0;
}

.service-carousel {
  margin-top: 0;
}

.service-carousel .cards-slider__track {
  align-items: flex-start;
}

.service-slide {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center;
}

.service-slide__visual-source {
  display: none;
}

.service-slide h2 {
  margin: 0;
}

.service-slide__title {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.6;
  text-transform: uppercase;
  color: #353535;
}

.service-slide__title.arrow {
  padding-bottom: 30px;
  background: url('../img/h1-bg.png') no-repeat center bottom;
}

.service-slide__title::after {
  content: none;
}

.service-slide p {
  max-width: 430px;
  margin: 18px auto;
}

/* ==========================================================================
Portfolio Slider
========================================================================== */
.effects {
  padding-left: 15px;
}

.effects .img {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 50px;
}

.effects .img:nth-child(n) {
  margin-right: 5px;
}

.effects .img:first-child {
  margin-left: -15px;
}

.effects .img:last-child {
  margin-right: 0;
}

.effects .img img {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
}

.overlay {
  position: absolute;
  z-index: 20;
  display: block;
  overflow: hidden;
  background: rgba(100, 194, 158, 0.8);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
}

a.close-overlay {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  display: block;
  width: 45px;
  height: 45px;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
  cursor: pointer;
}

a.close-overlay.hidden {
  display: none;
}

a.expand {
  position: absolute;
  z-index: 100;
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}

.overlay-effect .img i {
  font-size: 30px;
}

.overlay-effect .overlay {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.overlay-effect .overlay a.expand {
  right: 0;
  bottom: 47%;
  left: 0;
  margin: 0 auto -30px auto;
}

.overlay-effect .img.hover .overlay {
  height: 100%;
  opacity: 1;
}

.img img {
  width: -webkit-calc(100% + 40px);
  width: calc(100% + 40px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -moz-transition: opacity 0.35s, -moz-transform 0.35s;
  -o-transition: opacity 0.35s, -o-transform 0.35s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
  -ms-transform: translate3d(-40px, 0, 0);
}

.img:hover img {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.portfolio-carousel .cards-slider__item {
  padding-bottom: 20px;
}

.portfolio-carousel .effects {
  padding-left: 0;
}

.portfolio-carousel .effects .img {
  margin-bottom: 36px;
}

.portfolio-carousel .effects .img:first-child {
  margin-left: 0;
}

.portfolio-item {
  width: 100%;
  text-align: center;
}

.portfolio-item h2 {
  margin-top: 0;
}

.portfolio-item h2::after {
  margin: 18px auto 22px;
}

.portfolio-item p {
  max-width: 360px;
  margin: 0 auto;
}

/* ==========================================================================
Cards Slider
========================================================================== */
.technology-carousel {
  margin-top: 0;
}

.cards-slider {
  position: relative;
}

.cards-slider__viewport {
  position: relative;
}

.cards-slider__track {
  align-items: stretch;
}

.cards-slider__item {
  display: flex;
  height: auto;
}

.cards-slider__item > * {
  width: 100%;
}

.cards-slider .splide__pagination {
  position: static;
  bottom: auto;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
}

.cards-slider .splide__pagination li {
  display: flex;
}

.cards-slider .splide__pagination__page {
  width: 13px;
  height: 13px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 3px solid #c9cbca;
  border-radius: 50%;
  opacity: 1;
  transform: none;
  transition: all 0.3s ease;
}

.cards-slider .splide__pagination__page:hover,
.cards-slider .splide__pagination__page:focus {
  border-color: #242830;
  outline: 0;
}

.cards-slider .splide__pagination__page.is-active {
  background: #212024;
  border-color: #212024;
  transform: none;
}

.technology-tile {
  position: relative;
  width: 100%;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  padding: 38px 28px 34px;
  background: #fff;
  border: 3px solid rgba(61, 201, 179, 0.14);
  border-bottom: 4px solid rgba(61, 201, 179, 0.3);
  border-radius: 18px;
  text-align: center;
}

.technology-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(61, 201, 179, 0.12), rgba(61, 201, 179, 0.5), rgba(61, 201, 179, 0.12));
  border-radius: 0 0 12px 12px;
}

.technology-carousel .box-hover {
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -o-transition: none;
}

.technology-carousel .box-hover:hover,
.technology-carousel .box-hover:focus {
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
}

.technology-carousel .technology-tile:hover,
.technology-carousel .technology-tile:focus {
  border-bottom-color: rgba(61, 201, 179, 0.3);
}

.technology-tile__icon {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  color: #242830;
  font-size: 34px;
  line-height: 84px;
  background: rgba(36, 40, 48, 0.06);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(36, 40, 48, 0.08);
}

.technology-tile h2 {
  margin: 0;
  color: #242830;
}

.technology-tile h2::after {
  margin: 18px auto 22px;
}

.technology-tile p {
  margin: 0;
  color: #7f8991;
}

.technology-section {
  background: #f3f5f8;
}

.technology-row {
  margin-top: 45px;
}

/* ==========================================================================
Slider Responsive
========================================================================== */
@media screen and (max-width: 991px) {
  #service {
    padding: 0 0 85px;
  }

  .responsive-services {
    min-height: 0;
    padding: 0;
  }

  .wrapper {
    position: relative;
    inset: auto;
    display: block;
    height: 340px;
    margin-bottom: 28px;
  }

  .iphone {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-shadow: none;
  }

  .fluid-white {
    display: none;
  }

  .designs {
    padding: 0;
  }

  .services-layout {
    display: block;
    min-height: 0;
    padding-top: 0;
  }

  .services-layout > [class*="col-"] {
    float: none;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .services-layout__content-col {
    display: block;
    margin-left: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .services-intro {
    margin-bottom: 24px;
  }

  .technology-tile {
    min-height: 340px;
  }

  .technology-tile p {
    line-height: 22px;
  }

  .technology-tile h2::after {
    margin: 16px auto 18px;
  }

  .effects {
    padding-left: 0;
  }

  .effects .img,
  .effects .img:nth-child(n),
  .effects .img:first-child,
  .effects .img:last-child {
    margin-right: 0;
    margin-left: 0;
  }

  .effects .img img {
    width: 100%;
    -webkit-transform: none;
    transform: none;
    -ms-transform: none;
  }
}

@media screen and (max-width: 480px) {
  #service {
    padding: 0 0 100px;
  }

  .wrapper {
    height: 260px;
    margin-bottom: 20px;
  }

  .service-carousel {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .service-carousel .cards-slider__viewport {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .service-slide h2::after {
    margin: 16px auto 18px;
  }

  .service-slide p {
    max-width: none;
  }

  .technology-tile {
    padding: 32px 24px 28px;
  }
}

@media screen and (min-width: 481px) and (max-width: 991px) {
  .wrapper {
    height: 340px;
  }

  .service-slide p {
    max-width: 520px;
  }

}
