.tmpl-finance-page,
.tmpl-new-economy-page,
.tmpl-healthcare-page {
  &.active {
    background-color: #20222b;
  }
  .navbar-toggle {
    cursor: pointer;
  }
  .navbar-collapse {
    display: flex;
    flex-direction: column;
    background-color: #20222b;
    height: 0;
    transition: all 0.3s;
    overflow: hidden;
    @include media-min(1200px) {
      display: none;
    }
    &.active {
      height: 40rem;
    }
    .nav-menu.active {
      color: $blue;
    }
  }

  .solution-cards {
    .card {
      box-shadow: none;
      + .card {
        margin-top: 4rem;
      }
    }
    &__title {
      position: relative;
      &:after {
        content: '';
        display: block;
        width: 5rem;
        height: 1px;
        background-color: $blue;
        position: absolute;
        left: 0;
        bottom: 0;
      }
    }
  }

  .technical {
    .container {
      padding-bottom: 0;
    }
    .slick {
      padding: 1rem;
      margin: -1rem;
      overflow: hidden;
    }
    &-testimonial {
      position: relative;
      border-radius: 133px;
      background: $gray-light;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 3.2rem;
      gap: 3.2rem;
      margin-bottom: 6rem;
      @include media-min($medium) {
        margin-bottom: 12rem;
        padding: 5rem 6rem;
        flex-direction: row;
      }
      &__image {
        width: 15rem;
        height: 15rem;
        border-radius: 50%;
        overflow: hidden;
        @include media-min($medium) {
          margin-right: 6rem;
        }
        img {
          width: 100%;
        }
      }
      &__content {
        flex: 1;
        padding-bottom: 1rem;
      }
      &__author {
        position: relative;
        right: 0;
        bottom: 0;
        @include media-min($medium) {
          position: absolute;
          bottom: -4rem;
          right: 6rem;
        }
        border-radius: 46.5px;
        background: $white;
        box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.18);
        padding: 1.4rem 3.6rem;
        p {
          color: $black;
          font-family: 'PingFang SC';
          font-size: 18px;
          font-style: normal;
          font-weight: 600;
          line-height: 31px;
          + p {
            margin-top: 0;
          }
        }
      }
    }
    &-card {
      flex-direction: column;
      overflow: hidden;
      @include media-min($large) {
        flex-direction: row;
      }
      &__image {
        display: none;
        width: 36%;
        img {
          height: 100%;
          width: 100%;
          object-position: center;
          object-fit: cover;
        }
        @include media-min($large) {
          display: block;
          height: 100%;
        }
      }
      &__content {
        flex: 1;
        padding: 2.4rem 2rem;
      }
    }
  }

  .certification {
    .container {
      padding-top: 6rem;
    }
  }

  .feature {
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
    &__title {
      padding: 1.2rem 2.4rem;
      background: linear-gradient(106deg, #3d3fea 12.83%, #33abef 135.76%);
      h3 {
        position: relative;
        color: $white;
        padding-left: 1.6rem;
        font-size: 2rem;
        @include media-min($medium) {
          font-size: 2.4rem;
        }
        &::before {
          content: '';
          position: absolute;
          left: 0;
          top: 0;
          bottom: 0;
          margin: auto;
          width: 6px;
          height: 16px;
          background-color: #fff;
        }
      }
    }
  }

  .case {
    &-swiper {
      .swiper-container {
        margin-left: auto;
        margin-right: auto;
        position: relative;
        overflow: hidden;
        z-index: 1;
      }
      .swiper-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        z-index: 1;
        display: flex;
        transition-property: transform;
        box-sizing: content-box;
      }
      .swiper-slide {
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        position: relative;
      }
    }
    &-card {
      &.swiper-container {
        margin-left: 1.6rem;
        margin-right: 1.6rem;
      }
    }
    &-slide {
      display: flex;
      flex-direction: column;
      border-radius: 1rem;
      border: 1px solid $border-color;
      overflow: hidden;
      @include media-min($medium) {
        flex-direction: row;
        height: 37.4rem;
      }

      &__image {
        display: block;
        width: 100%;
        @include media-min($medium) {
          width: 45%;
        }
        img {
          width: 100%;
          max-height: 224px;

          @include media-min($medium) {
            max-height: 374px;
            height: 100%;
          }
        }
      }
      &__content {
        flex: 1;
        padding: 3.2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        @include media-min($medium) {
          margin-left: 1.6rem;
        }
        img {
          margin-top: 3.2rem;
        }
        .button {
          align-self: flex-start;
        }
      }
    }
    &-thumbs {
      margin-bottom: 4.8rem;
      img {
        padding-bottom: 1.6rem;
        filter: grayscale(1);
        display: block;
        cursor: pointer;
        margin: auto;
      }
      .swiper-slide {
        width: auto;
        height: 100%;
        &-thumb-active {
          img {
            filter: none;
            border-bottom: 4px solid $blue;
          }
        }
      }
    }
  }

  .resource {
    .tabs-tab {
      padding: 1.6rem 0;
      &.active {
        &:after {
          content: '';
          width: 100%;
          height: 0.4rem;
        }
      }
    }
    .card-video {
      border-radius: unset;
    }
  }
}

.tmpl-new-economy-page {
  .download {
    .button-group {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1.6rem;
      @include media-min($small) {
        gap: 6rem;
      }
      .last {
        @include media-min($small) {
          margin-left: -3.2rem;
        }
      }
    }
  }
}

.tmpl-healthcare-page {
  .solution {
    .tabs-tab {
      padding: 16px 32px;
      &.active {
        border-radius: 8px 8px 0 0;
        background-color: #3d3fea;
        h4 {
          color: #fff;
        }
      }
    }
  }
}
