/*================================================
Template name: Acnalys – Business Consulting - HTML Template
Version: 1.0.0
Author: Website_Stock 
Author url: https://themeforest.net/user/website_stock

[ Table of Contents ]

01: banner start
02: service-details
==================================================*/

@import "main";
// 01: banner start
.banner {
  background-color: $primary;
  .banner-img {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    overflow: hidden;
    @include background-image("./../images/about-us/banner.png");
    position: relative;
    .overlay {
      background-color: rgba(0, 0, 0, 0.5);
    }
  }
}

// 02: service-details
.service-details {
  margin: 140px 0;
  overflow: hidden;
  @include lg {
    margin: 80px 0;
  }
  @include md {
    margin: 40px 0;
  }
  .animated-circle {
    &.right {
      top: -10%;
      right: -17%;
      z-index: -1;
    }
    &.left {
      top: 16%;
      left: -9%;
      z-index: -1;
    }
  }
  .animated-circle-1 {
    @include md {
      display: none;
    }
    &.right {
      top: 34%;
      right: -13%;
    }
    &.left {
      top: 52%;
      left: -13%;
      z-index: -1;
    }
  }
  .animated-circle-2 {
    @include md {
      display: none;
    }
    &.right {
      bottom: -12%;
      right: -13%;
    }
  }
  .left-bar {
    .comment {
      padding: 40px 31px;
      background-color: $right-side-bar;
      margin-bottom: 25px;
      @include md {
        padding: 12px 16px;
      }
      .icon {
        margin-bottom: 15px;
      }
      .description {
        @include text($primary-text, $nunito, 400, 16px, 26px);
        margin-bottom: 40px;
        @include md {
          font-size: 14px;
        }
      }
      .title {
        @include text($primary, $old, 700, 24px, 34px);
        padding-left: 54px;
        position: relative;
        margin-bottom: 0;
        @include md {
          font-size: 16px;
        }
        &::after {
          content: "";
          position: absolute;
          top: 50%;
          left: 0;
          @include transformY(-50%);
          width: 40px;
          height: 2px;
          background-color: $primary;
        }
      }
    }
    .button {
      &:hover {
        border-color: $primary;
        color: $primary;
        background-color: transparent;
        svg {
          path {
            fill: $primary;
          }
        }
      }
    }
    .service-1 {
      margin-bottom: 40px;
      .img {
        position: relative;
        img {
          width: 100%;
          height: 100%;
          margin-bottom: 30px;
        }
        .play-btn {
          position: absolute;
          top: 50%;
          left: 50%;
          @include transform(-50%, -50%);
          @include md {
            max-width: 80px;
          }
        }
      }
      .banner-slider-blog {
        position: relative;
        .swiper-button-prev,
        .swiper-button-next {
          width: auto;
          cursor: pointer;
          @include transformY(-50%);
          &:hover {
            @include transition(all, linear, 0.3s);
            svg {
              .hover-effect {
                fill: $tertiary;
              }
              path {
                fill: $primary-text;
              }
            }
          }
          &::after {
            display: none;
          }
        }
        .next {
          position: absolute;
          top: 50%;
          right: 1%;
          cursor: pointer;
          @include transformY(-50%);
          &:hover {
            @include transition(all, linear, 0.3s);
            svg {
              .hover-effect {
                fill: $tertiary;
              }
              path {
                fill: $primary-text;
              }
            }
          }
        }
      }
      .publish-by-date {
        @include text($primary-text, $nunito, 400, 17px, 26px);
        margin-bottom: 20px;
        display: block;
        @include md {
          font-size: 14px;
        }
      }
      h2 {
        @include text($primary-text, $marcellus, 400, 30px, 45px);
        margin-bottom: 20px;
        @include md {
          font-size: 18px;
          line-height: 25px;
        }
      }
      p {
        @include text($primary-text, $jost, 400, 16px, 26px);
        margin-bottom: 47px;
        @include md {
          font-size: 14px;
        }
      }
      .button {
        @include md {
          font-size: 14px;
          line-height: 40px;
          padding: 0 30px;
        }
      }
    }
    nav {
      .pagination {
        gap: 20px;
        .page-link {
          background-color: transparent;
          border-radius: 50%;
          width: 41px;
          height: 41px;
          display: flex;
          align-items: center;
          justify-content: center;
          border-color: $primary;
          @include text($primary-text, $poppins, 400, 20px, 30px);
          @include md {
            font-size: 14px;
          }
          &.active {
            background-color: $primary;
            border-color: $primary;
          }
          &:hover {
            background-color: $primary;
            border-color: $primary;
          }
        }
      }
    }
  }
  .right-bar {
    form {
      background-color: $right-side-bar;
      padding: 22px 29px;
      margin-bottom: 25px;
      @include md {
        padding: 12px 16px;
      }
      input {
        border: 1px solid $primary;
        width: 100%;
        @include text($primary, $old, 700, 16px, 26px);
        background: transparent;
        padding: 13px 19px;
        @include border-radius(4px);
        @include md {
          padding: 10px 16px;
        }
        &::placeholder {
          @include text($primary, $old, 700, 16px, 26px);
        }
      }
      button {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        padding: 15px 20px;
        background-color: $primary;
        @include border-radius(0px 4px 4px 0px);
        @include md {
          padding: 11px 16px;
        }
      }
    }
    .main-service {
      padding: 40px 31px;
      background-color: $right-side-bar;
      margin-bottom: 25px;
      @include md {
        padding: 12px 16px;
      }
      h2 {
        @include text($primary, $marcellus, 400, 24px, 26px);
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 44px;
        @include md {
          font-size: 18px;
        }
        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 58px;
          height: 2px;
          background-color: $primary;
        }
      }
      ul {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 31px;
        li {
          width: 100%;
          a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 12px;
            border-bottom: 1px solid #ffffff10;
            @include text($primary-text, $nunito, 700, 17px, 26px);
            @include transition(all, linear, 0.3s);
            &:hover {
              border-bottom: 1px solid $primary;
              @include text($primary, $nunito, 700, 17px, 26px);
              svg {
                path {
                  fill: $primary;
                  @include transition(all, linear, 0.3s);
                }
              }
            }
          }
        }
      }
    }
    .banner-adv {
      margin-bottom: 25px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .popular-post {
      padding: 40px 31px;
      background-color: $right-side-bar;
      margin-bottom: 25px;
      @include md {
        padding: 12px 16px;
      }
      h2 {
        @include text($primary, $marcellus, 400, 24px, 26px);
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 44px;
        @include md {
          font-size: 18px;
          margin-bottom: 20px;
        }
        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 58px;
          height: 2px;
          background-color: $primary;
        }
      }
      .popular-post-part {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 24px;
        .popular-post-item {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: 20px;
          .img {
            max-width: 110px;
            max-height: 110px;
            min-width: 110px;
            min-height: 110px;
            overflow: hidden;
            @include border-radius(50%);
            img {
              min-width: 110px;
              min-height: 110px;
              @include border-radius(50%);
              width: 100%;
              height: 100%;
              @include transition(all, 0.4s, ease);
              @include md {
                min-width: 80px;
                min-height: 80px;
              }
            }
          }
          .content {
            .date {
              display: flex;
              align-items: center;
              justify-content: flex-start;
              gap: 28px;
              margin-bottom: 16px;

              span {
                @include text($primary-text, $nunito, 400, 16px, 20px);
                display: inline-flex;
                align-items: center;
                justify-content: flex-start;
                gap: 7px;
                @include md {
                  font-size: 14px;
                }
              }
            }
            p {
              @include text($primary-text, $marcellus, 400, 18px, 28px);
              @include md {
                font-size: 14px;
              }
            }
          }
          &:hover {
            cursor: pointer;
            .img {
              img {
                transform: translateY(-3px) scale(1.09);
                -webkit-transform: translateY(-3px) scale(1.09);
                -moz-transform: translateY(-3px) scale(1.09);
                -ms-transform: translateY(-3px) scale(1.09);
                -o-transform: translateY(-3px) scale(1.09);
              }
            }
            .content {
              p {
                color: $primary;
              }
            }
          }
        }
      }
    }
    .popular-tags {
      padding: 40px 31px;
      background-color: $right-side-bar;
      margin-bottom: 25px;
      @include md {
        padding: 12px 16px;
      }
      h2 {
        @include text($primary, $marcellus, 400, 24px, 26px);
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 44px;
        @include md {
          font-size: 18px;
        }
        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 58px;
          height: 2px;
          background-color: $primary;
        }
      }
      ul {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 9px;
        li {
          flex: 0 0 auto;
          a {
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ffffff10;
            @include text($primary-text, $nunito, 700, 17px, 45px);
            @include transition(all, linear, 0.3s);
            padding: 0 20px;
            @include border-radius(3px);
            @include md {
              padding: 0 10px;
              font-size: 14px;
            }
            &:hover {
              border-color: $primary;
              color: $primary-text;
              background-color: $primary;
              transform: translateY(-3px) scale(1.09);
              -webkit-transform: translateY(-3px) scale(1.09);
              -moz-transform: translateY(-3px) scale(1.09);
              -ms-transform: translateY(-3px) scale(1.09);
              -o-transform: translateY(-3px) scale(1.09);
            }
          }
        }
      }
    }
  }
}
