@import "_variables";

// if you have downloaded fonts
@font-face {
  font-family: "Mont";
  src: url("../fonts/Mont-Heavy.otf");
  font-weight: 700;
  font-style: normal;
}

// @font-face {
//     font-family: 'Mont';
//     src: url("../fonts/Mont-HeavyItalic.otf");
//     font-weight: 700;
//     font-style: italic;
// }

@font-face {
  font-family: "Mont";
  src: url("../fonts/Mont-Bold.otf");
  font-weight: 600;
  font-style: normal;
}

// @font-face {
//     font-family: 'Mont';
//     src: url("../fonts/Mont-BoldItalic.otf");
//     font-weight: 600;
//     font-style: italic;
// }

@font-face {
  font-family: "Mont";
  src: url("../fonts/Mont-SemiBold.otf");
  font-weight: 500;
  font-style: normal;
}

// @font-face {
//     font-family: 'Mont';
//     src: url("../fonts/Mont-SemiBoldItalic.otf");
//     font-weight: 500;
//     font-style: italic;
// }

@font-face {
  font-family: "Mont";
  src: url("../fonts/Mont-Book.otf");
  font-weight: 400;
  font-style: normal;
}

// @font-face {
//     font-family: 'Mont';
//     src: url("../fonts/Mont-BookItalic.otf");
//     font-weight: 400;
//     font-style: italic;
// }

// Mixins
@mixin too-small-mobile {
  @media (min-width: $too-small-mobile) {
    @content;
  }
}

@mixin mid-small-mobile {
  @media (min-width: $mid-small-mobile) {
    @content;
  }
}

@mixin small-mobile {
  @media (min-width: $small-mobile) {
    @content;
  }
}

@mixin mid-mobile {
  @media (min-width: $mid-mobile) {
    @content;
  }
}

@mixin mobile {
  @media (min-width: $mobile) {
    @content;
  }
}

@mixin small-tab {
  @media (min-width: $small-tab) {
    @content;
  }
}

@mixin big-tab {
  @media (min-width: $big-tab) {
    @content;
  }
}

@mixin small-desktop {
  @media (min-width: $small-desktop) {
    @content;
  }
}

@mixin desktop {
  @media (min-width: $desktop) {
    @content;
  }
}

@mixin mid-desktop {
  @media (min-width: $mid-desktop) {
    @content;
  }
}

@mixin large-desktop {
  @media (min-width: $large-desktop) {
    @content;
  }
}
@mixin extra-large-desktop {
  @media (min-width: $extra-large-desktop) {
    @content;
  }
}

@mixin center() {
  display: flex;
  justify-content: center;
  align-items: center;
}

@mixin background($position, $attachment) {
  background-position: $position;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: $attachment;
}

* {
  font-family: "Mont";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scroll-behavior: smooth;

  &::-webkit-scrollbar {
    width: 4px;
  }

  &::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, $primary-color, $secondary-color);
  }

  &::-webkit-scrollbar-track {
    background-color: transparent;
  }
}

img {
  pointer-events: none;
  user-select: none;
}

// Keyframes
.wave {
  -webkit-animation-name: wave;
  animation-name: wave;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
@-webkit-keyframes wave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);
  }
}

@keyframes wave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);
  }
}

.playWave {
  -webkit-animation-name: playWave;
  animation-name: playWave;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  &.white {
    -webkit-animation-name: playWhiteWave;
    animation-name: playWhiteWave;
  }
}
@-webkit-keyframes playWave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
    box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
    box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
  }
}

@keyframes playWave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
    box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
    box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
  }
}

@-webkit-keyframes playWhiteWave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
    box-shadow: 0 0 0px 0px rgba(255, 87, 20, 0.5);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
    box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
  }
}

@keyframes playWhiteWave {
  0% {
    -webkit-box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.8);
  }
  100% {
    -webkit-box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
    box-shadow: 0 0 0px 10px rgba(255, 87, 20, 0);
  }
}

// Global
.heading {
  span.tag {
    text-transform: uppercase;
    color: $primary-color;
    font-weight: 500;
    display: block;
    margin-bottom: 14px;
    font-size: 18px;
    @include big-tab(){
      margin-bottom: 0px;
      font-size: 17px;
    }
    @include mid-desktop(){
      margin-bottom: 14px;
      font-size: 18px;
    }
  }

  h1,
  h2 {
    text-transform: capitalize;
    color: $heading-color;
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 400;
    @include mobile() {
      margin-bottom: 14px;
      font-size: 30px;
    }
    
    @include small-tab() {
      font-size: 32px;
    }
    
    @include big-tab() {
      margin-bottom: 8px;
      font-size: 34px;
    }
    
    @include mid-desktop() {
      margin-bottom: 14px;
      font-size: 38px;
    }

    span {
      font-weight: 600;
    }
  }

  h4 {
    text-transform: capitalize;
    color: $heading-color;
    font-size: 24px;
    margin-bottom: 18px;

    @include small-tab() {
      font-size: 26px;
    }

    @include big-tab() {
      font-size: 30px;
    }
  }

  p {
    color: $text-color;
    font-size: 15px;
    line-height: 1.2;
    @include big-tab(){
      font-size: 16px;
      line-height: 1.7;
    }
  }

  &.center {
    text-align: center;
  }

  &.white {
    h1,
    h2,
    p,
    h4 {
      color: $white-color;
    }
  }
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
}

// Tool tip
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  z-index: 1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  transition: 0.3s;
  @include too-small-mobile() {
    margin-top: -10px;
  }
  @include small-desktop() {
    margin-top: -15px;
  }
}

.custom-btn {
  border-radius: 30px;
  border: 1px solid $white-color;
  background-color: transparent;
  outline: 0;
  color: $white-color;
  transition: 0.4s;
  font-size: 14px;
  padding: 6px 12px 7px;
  @include too-small-mobile() {
    gap: 10px;
  }
  @include small-desktop() {
    gap: 13px;
  }

  @include mobile() {
    padding: 10px 26px 11px;
  }

  &:hover {
    background-color: $primary-color;
    border: 1px solid $primary-color;
  }

  &.register-btn{
    &:hover{
      color: $white-color;
    }
  }

  &.filled {
    background-color: $white-color;
    color: $primary-color;

    &:hover {
      background-color: $primary-color;
      color: $white-color;
      border: 1px solid $primary-color;
    }
  }

  &.white {
    background-color: $white-color;
    color: $primary-color;

    &:hover {
      border: 1px solid $white-color;
      color: $white-color;
      background-color: $primary-color;
    }
  }

  &.gradient {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 12px 18px 14px;

    @include mobile() {
      padding: 12px 28px 13px;
    }

    &::before {
      content: "";
      position: absolute;
      width: 200%;
      height: 100%;
      left: 0;
      top: 0;
      transform: translateX(-50%);
      background: rgb(255, 150, 103);
      background: linear-gradient(90deg, #fe510a 0%, #ff7537 50%, #fe510a 100%);
      transition: 0.4s;
      pointer-events: none;
      z-index: -1;
    }

    &:hover {
      &::before {
        transform: translateX(0%);
      }
    }
  }

  &.size-xl {
    padding: 10px 24px;
    font-size: 16px;

    @include mobile() {
      font-size: 18px;
      padding: 12px 40px;
    }
  }
}

section {
  padding: 60px 0;

  @include big-tab() {
    padding: 55px 0;
  }
  @include desktop(){
    padding: 65px 0;
  }

  &.light-bg {
    background-color: $light-bg;
  }

  &.dark-bg {
    background-color: $dark-bg;
  }
}

// Main classes
header {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  transition: 0.4s;

  &:not(.sticky) {
    // ul.navbar-items-right{
    //     a{
    //      opacity: .8;

    //      &:hover{
    //          opacity: 1;
    //          color: $white-color
    //      }
    //  }
    //  }
    // ul.navbar-items-left{
    //     a{
    //      opacity: .7;

    //      &:hover , &.active{
    //          opacity: 1;
    //          color: whitesmoke;
    //      }
    //  }
    //  }

    // .custom-btn {
    //   &:hover {
    //     background-color: $white-color;
    //     color: $primary-color;
    //     border: 1px solid white;
    //   }

    //   &.filled:hover {
    //     background-color: transparent;
    //     color: $white-color;
    //   }
    // }
  }

  .top-header-wrapper {
    width: 100%;
    background-color: $secondary-color;
    color: $white-color;

    a {
      &:hover {
        color: $footer-bg-primary;
      }
    }
  }

  .top-header {
    display: flex;
    align-items: center;
    @include too-small-mobile() {
      padding: 6.5px 0;
    }
    @include small-tab() {
      padding: 10px 0;
    }
    justify-content: center;
    @include small-desktop() {
      justify-content: space-between;
    }

    ul {
      display: flex;
      align-items: center;
      padding: 0;

      li {
        a {
          text-decoration: none;
          color: $white-color;
          transition: 0.4s;
          font-size: 14px;

          @include mobile() {
            font-size: 16px;
          }
          @include big-tab() {
            font-size: 12px;
          }
          @include mid-desktop() {
            font-size: 14px;
          }
          @include large-desktop() {
            font-size: 15px;
          }

          // &:hover {
          //     color: $primary-color;
          // }
        }
      }

      &._left {
        li {
          a {
            @include too-small-mobile() {
              padding: 5px;
              margin: 5px;
            }

            @include small-tab() {
              padding-right: 15px;
              margin-right: 15px;
            }
          }
        }
      }

      &._right {
        li {
          a {
            // padding-left: 15px;
            // margin-left: 15px;
            @include big-tab() {
              margin-left: 12px;
            }
            @include mid-desktop() {
              margin-left: 15.5px;
            }
            @include large-desktop() {
              margin-left: 17px;
            }
          }
        }
      }
    }

    .right-menu {
      display: none;

      @include big-tab() {
        display: block;
      }
    }
  }

  .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.4s;

    @include mid-small-mobile() {
      align-items: flex-start;
    }

    @include too-small-mobile() {
      padding-top: 10px;
    }

    @include desktop() {
      padding-top: 20px;
    }

    .logo {
      width: 150px;
      pointer-events: none;
      transition: 0.4s;

      @include mobile() {
        width: 200px;
      }

      @include big-tab() {
        width: 250px;
      }

      img {
        width: 100%;
      }
    }

    .button-wrap {
      .toggle-menu {
        background-color: transparent;
        border: 0;
        outline: 0;
        margin-left: 10px;

        @include too-small-mobile() {
          padding-top: 4px;
        }
        @include small-tab() {
          padding: 6px;
        }
        @include small-desktop() {
          padding: 8px;
        }

        @include big-tab() {
          display: none;
        }

        svg {
          color: $white-color;
          font-size: 25px;
        }
      }

      button.filled {
        display: none;

        @include small-tab() {
          display: inline-block;
        }
      }

      .custom-btn {
        &:nth-child(1) {
          display: none;

          @include mid-small-mobile() {
            display: inline-block;
          }
        }
      }
      .xs-invisible {
        display: none;

        @include mid-mobile() {
          display: inline-block;
        }
      }
    }
  }

  &.sticky {
    background: linear-gradient(90deg, #232d67ca 0%, #111945ce 100%);
    // padding-bottom: 10px;
    padding-bottom: 3px;
    transition: 0.4s;

    .main-header {
      // padding-top: 5px;
      @include too-small-mobile() {
        // padding-top: 8px;
        padding-top: 4px;
      }
      @include small-tab() {
        // padding-top: 10px;
        padding-top: 6px;
      }
      @include small-desktop() {
        // padding-top: 15px;
        padding-top: 8px;
      }
    }

    .logo {
      @include big-tab() {
        width: 180px;
      }
    }

    .button-wrap {
      @include too-small-mobile() {
        padding-top: 6px;
      }
      @include small-tab() {
        padding-top: 8px;
      }
      @include small-desktop() {
        padding-top: 4px;
      }
    }
  }

  #mobile-nav {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: 0.3s;
    background-color: rgb(22, 31, 76, 1);
    color: $white-color;
    overflow-y: auto;

    .nav-wrap {
      position: relative;
      padding-top: 45px;
      z-index: 100;

      .nav-dummy-img {
        position: absolute;
        z-index: -1;
        top: -4%;
        opacity: 0.9;
        right: 0;
      }

      .navbar-list-wrapper {
        margin-top: 2rem;
        .navbar-list {
          display: flex;
          flex-direction: column;
          padding: 10px 0 0 5px;

          .navbar-list-items {
            border-bottom: 0.5px solid rgb(98, 98, 98, 0.5);
            @include center();
            justify-content: flex-start;
            padding: 0.6rem 1rem;
            width: 100%;
            position: relative;
            padding-left: 1.3rem;
            
            a{
              width: 100%;
              height: 100%;
              color: $white-color;
            }

            &.active {
              &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 5px;
                background-color: $secondary-color;
              }
              background-color: rgb(252, 102, 20, 0.5);
            }
          }

          .navbar-list-button {
            margin-top: 10px;
            text-align: center;
            padding: 10px;
          }
        }
      }
    }

    .mobile-nav-logo {
      width: 150px;
    }

    .nav-close {
      background-color: transparent;
      border: 0;
      color: white;
      margin-right: 14px;
    }

    &.active-nav {
      transform: translateX(0%);

      .nav-dummy-img {
        right: -70%;
        width: 150%;
        @include small-mobile() {
          right: -95%;
          transform: rotate(12deg);
          width: 100vh;
        }

        @include mobile() {
          right: -70%;
          width: 150%;
        }
      }
    }
  }
}

figure img {
  width: 100%;
  pointer-events: none;
}

section.banner {
  position: relative;
  overflow: hidden;
  z-index: 1;
  @include center();

  // background Video
  #video {
    // @include mid-desktop(){
    //     width: 100%;
    //     margin-top: 2rem;
    // }
  }

  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgb(35, 45, 103);
    background: linear-gradient(90deg, #232d6789 0%, #1119457e 100%);
    z-index: 1;
    pointer-events: none;
  }

  // splide dots
  .splide__pagination {
    bottom: -5rem;
    @include big-tab() {
      transform: rotate(90deg);
      right: -100%;
      bottom: 50%;
    }

    li {
      margin: 0 7px;
      @include big-tab() {
        margin: 0 20px;
      }
      button {
        width: 7px;
        height: 7px;
      }
    }
  }

  .banner-bg-video {
    video {
      // border: 1px solid red;
      position: absolute;
      top: 0;
      left: 0;
      min-height: 100%;
      min-width: 100%;
      transform: scale(1.2);

      @include too-small-mobile() {
        width: 205%;
        transform: scale(1.5);
      }
      @include small-tab() {
        transform: scale(1.2);
        width: auto;
      }
    }
  }

  .banner-bg-shape-1 {
    position: absolute;
    right: 0;
    top: 0;
    // z-index: 2;
    width: 100%;
    pointer-events: none;
    opacity: 0.25;

    @include big-tab() {
      width: 75%;
    }

    @include desktop() {
      height: 100%;
    }

    img {
      position: absolute;
      top: 0;
      width: 145%;
      right: -210px;

      @include mid-small-mobile() {
        right: -240px;
      }

      @include small-mobile() {
        width: 130%;
        right: -220px;
      }

      @include mobile() {
        width: 100%;
        right: -230px;
      }

      @include small-tab() {
        right: -250px;
      }

      @include big-tab() {
        width: 97%;
        right: 0;
      }

      @include desktop() {
        height: 130%;
        width: unset;
      }

      @include large-desktop() {
        height: 150%;
      }
    }
  }

  .banner-shape-2 {
    position: absolute;
    // z-index: 3;
    bottom: 0;
    right: 0px;
    width: 90px;
    pointer-events: none;
    opacity: 0.2;

    @include mobile() {
      right: -30px;
      width: 120px;
    }

    @include small-tab() {
      right: 0;
    }

    @include big-tab() {
      width: 200px;
    }

    @include large-desktop() {
      width: 250px;
    }

    img {
      width: 100%;
    }
  }

  .banner-shape-3 {
    position: absolute;
    // z-index: 4;
    z-index: 0.4;
    width: 250%;
    height: 100%;
    left: 0;
    top: 0;
    pointer-events: none;

    @include small-tab() {
      width: 100%;
    }

    img {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;

      @include desktop() {
        width: 85%;
      }
    }
  }

  .banner-shape-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 6;
    bottom: 0px;
    pointer-events: none;

    @include small-tab() {
      bottom: -80px;
    }

    @include big-tab() {
      bottom: -100px;
    }

    @include desktop() {
      bottom: -130px;
    }

    @include large-desktop() {
      bottom: -160px;
    }

    img {
      width: 100%;
    }
  }

  .scroll-down {
    position: absolute;
    left: -45px;
    bottom: 30%;
    transform: rotate(-90deg);
    z-index: 100;
    padding: 10px 20px;
    background-color: $blue;
    @include small-desktop() {
      bottom: 50%;
    }

    a {
      color: $white-color;
      text-decoration: none;
    }
  }

  .container {
    position: relative;
    z-index: 8;
    padding: 150px 0px 200px;

    @include too-small-mobile() {
      padding: 135px 0px 150px;
    }

    @include mid-small-mobile() {
      padding: 150px 0px 150px;
    }

    @include mobile() {
      padding: 185px 0px 185px;
    }

    @include small-tab() {
      padding: 210px 0 180px;
    }

    @include mid-desktop() {
      padding: 250px 0 350px;
    }

    .banner-slider {
      .banner-content {
        text-align: center;

        h2 {
          line-height: 1.5;
          color: $white-color;
          font-weight: 500;
          font-size: 21px;

          @include mobile() {
            font-size: 24px;
          }

          @include small-tab() {
            font-size: 30px;
          }

          @include big-tab() {
            font-size: 32px;
          }

          @include small-desktop() {
            font-size: 30px;
          }

          @include desktop() {
            font-size: 36px;
          }
        }

        h1 {
          margin: 22px 0;
          color: $white-color;
          font-weight: 600;
          font-size: 30px;

          @include mobile() {
            font-size: 34px;
          }

          @include small-tab() {
            font-size: 38px;
            margin: 28px 0;
          }

          @include big-tab() {
            font-size: 44px;
          }

          @include small-desktop() {
            font-size: 40px;
          }

          @include desktop() {
            font-size: 45px;
          }
        }

        p {
          color: $white-color;
          margin-bottom: 20px;
          font-size: 16px;

          @include mobile() {
            font-size: 20px;
          }

          @include small-tab() {
            font-size: 22px;
          }

          @include big-tab() {
            font-size: 24px;
          }

          @include small-desktop() {
            font-size: 21px;
          }

          @include desktop() {
            font-size: 24px;
          }
        }

        button {
          display: inline-flex;
          align-items: center;

          img {
            width: 15px;
            margin-left: 10px;
            pointer-events: none;
          }
        }
      }
    }
  }
}

section.walkthrough {
  padding-top: 25px;
  padding-bottom: 0;
  background-color: #f4f7fe;

.heading {
  // h2{
  //   margin-bottom: 5px;
  // }
  
  p{
    text-align: flex-start;
    // line-height: 1.6;
  }
}

  // .walkthrough-steps{
  //   @include small-desktop(){
  //     margin-top: -10px;
  //   }
  //   @include desktop(){
  //     margin-top: -40px;
  //   }
  // }

  @include small-desktop() {
    padding-top: 0;
  }
  .video-img {
    position: relative;
    margin: 20px 0;
    @include big-tab(){
      margin: 0px;
      width: 100%;
    }

    img{
      width: 100%;
      @include big-tab(){
        height: 325px;
      }
      @include small-desktop(){
        height: 340px;
      }
      @include desktop(){
        height: 450px;
      }
    }

    .play-video-img {
      color: $primary-color;
      figure {
        @include center();
      }

      img {
        width: 100%;
        transition: transform 0.9s;
      }

      position: absolute;
      height: 70px;
      width: 70px;
      bottom: 40%;
      left: 40%;
      @include small-tab() {
        width: 85px;
        height: 85px;
      }
      @include small-desktop(){
        left: 45%;
      }
      z-index: 5;
      border: 0;
      background-color: $white-color;
      border-radius: 50%;
      @include center();
    }
  }
}

section.product-category {
  background-color: #f4f7fe;
  @include big-tab(){
    padding-top: 25px;
    padding-bottom: 40px;
  }
  @include mid-desktop(){
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .splide__track {
    padding-top: 20px;
  }

  .product-cat-bottom-slider .splide__track {
    padding-bottom: 25px;
  }

  .splide__pagination {
    @include big-tab(){
      bottom: -1.5rem;
    }
    .splide__pagination__page {
      background-color: $primary-color;
      opacity: 0.5;
      &.is-active {
        opacity: 1;
      }
    }
  }

  .splide__slide {
    height: 180px;
  }

  .product-cat-card {
    background-color: $white-color;
    min-height: 165px;
    aspect-ratio: 1/1;
    height: 100%;
    color: black;
    @include small-tab() {
      min-height: 155px;
      min-width: 155px;
      padding: 10px;
    }
    @include small-desktop() {
      min-height: 165px;
      min-width: 165px;
      padding: 20px 10px;
    }
    @include large-desktop() {
      min-height: 180px;
      min-width: 180px;
    }
    padding: 20px 10px;
    max-height: 2000px;
    max-width: 200px;
    transition: 0.4s;
    border-radius: 15px;
    @include center();
    flex-direction: column;
    z-index: 10;
    position: relative;
    figure {
      width: 40px;
      height: 40px;
    }

    h3 {
      text-align: center;
      font-size: 16px;
    }
    p {
      text-align: center;
      color: #909090;
      font-size: 15px;
      margin: 0;
      padding: 0;
    }

    .dummy-dots {
      display: none;
    }

    &:hover {
      @include too-small-mobile(){
        transform: translate(-10px, -10px);
      }
      @include large-desktop(){
        transform: translate(-20px, -20px);
      }
      cursor: pointer;

      background: linear-gradient(120deg, #ff7234, #fd5322);
      // background: linear-gradient(165deg, #ff7234, #ff4701)
      h3,
      p {
        color: $white-color;
        z-index: 10;
      }

      figure {
        background-color: $white-color;
        border-radius: 5px;
        // border-radius: 50%;
        padding: 7px;
        z-index: 10;
      }

      .dummy-dots {
        display: block;
        transform: translate(14px, 28px);
        @include large-desktop(){
          transform: translate(20px, 20px);
        }
        position: absolute;
        top: 0;
        right: 0;
        border-radius: 15px;
        width: 100%;
        height: 100%;
        z-index: 5;

        background-color: transparent;
      }
    }

    &.marine-paints{
      figure{
        height: 45px !important;
        width: 45px !important;
      }
    }
  }
}

section.stats {
  @include background(center, fixed);
  background-image: url("../../assets/images/homepage/stats/stats-bg.jpg");

  h2,
  h3,
  p,
  span {
    color: $white-color;
  }

  .heading.center {
    @include large-desktop() {
      width: 75%;
    }
  }

  .stats-cards-wrap {
    height: 100%;
    padding: 20px 0;
    @include small-desktop() {
      width: 80%;
    }
  }

  .stats-card {
    padding: 25px 0;

    position: relative;
    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 70px;
      height: 3px;
      background-color: $primary-color;
    }

    h3 {
      font-weight: 600;
      font-size: 35px;
      @include small-tab() {
        font-size: 40px;
      }
      @include small-desktop() {
        font-size: 44px;
      }
      @include large-desktop() {
        font-size: 48px;
      }
    }

    span {
      color: $primary-color;
      text-transform: uppercase;
      font-weight: 500;
    }
  }
}

section.features {
  scroll-margin: 4rem;
  .feature-slider-wrap {
    .feature-slider {
      .splide__track {
        padding-top: 30px;
        padding-bottom: 30px;
        .splide__list {
          .splide__slide {
            position: relative;
            min-height: 450px;
            // border: 1px solid red;
            transform: scale(1);
            transition: 0.4s;
            // @include large-desktop() {
            //   min-height: 600px;
            // }
            @include extra-large-desktop() {
              min-height: 600px;
            }
            // @include big-tab(){          
            //   min-height: 350px;
            //   max-height: 355px;
            // }
            // @include desktop() {
            //   min-height: 390px;
            //   max-height: 395px;
            // }
            // @include large-desktop() {
            //   min-height: 410px;
            //   max-height: 415px;
            // }
            .feature-bg-img {
              position: absolute;
              width: 100%;
              height: 78%;
              
              @include too-small-mobile() {
                height: 75%;
              }
              @include small-tab() {
                height: 78%;
              }
              left: 0;
              top: 0;
              overflow: hidden;
              z-index: -2;
              border-radius: 18px;
              border-bottom-right-radius: 40px;
              @include small-tab() {
                border-radius: 30px;
                height: 65%;
              }
              @include small-desktop() {
                border-bottom-right-radius: 60px;
                height: 80%;
              }
              @include desktop() {
                height: 90%;
              }
              // &::before {
              //   content: "";
              //   position: absolute;
              //   width: 100%;
              //   height: 100%;
              //   left: 0;
              //   top: 0;
              //   background-color: rgba(17, 25, 69, 0.05);
              // }
              img {
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
            }

            .view-services {
              position: absolute;
              @include too-small-mobile() {
                top: 20px;
                right: 18px;
                padding: 5px 15px;
              }
              @include small-tab() {
                top: 25px;
                right: 20px;
                padding: 10px 20px;
              }
              @include small-desktop() {
                right: 25px;
              }
              @include desktop() {
                right: 40px;
              }
              border-radius: 25px;
              z-index: 100;
              background-color: rgba(70, 62, 62, 0.7);
              a {
                color: white;
                font-size: 12px;
                @include small-tab() {
                  font-size: 14px;
                }
              }

              &:hover {
                  // background: linear-gradient(90deg, #ff7537 0%, #fe510a 30%);
              }
            }

            .feature-content-wrap {
              background: linear-gradient(90deg, #ff7537 0%, #fe510a 30%);
              position: absolute;
              width: 100%;
              left: 0;
              z-index: 10;
              bottom: 0;
              display: grid;
              grid-template-columns: 1fr 5fr;
              align-items: center;
              padding: 20px 18px;
              border-bottom-left-radius: 18px;
              border-bottom-right-radius: 40px;
              @include small-tab() {
                border-bottom-left-radius: 30px;
                border-bottom-right-radius: 60px;
                z-index: 100;
              }
              @include big-tab() {
                z-index: auto;
                padding: 14px;
              }
              @include mid-desktop() {
                padding: 20px;
                grid-template-columns: 1fr 3fr;
              }
              .slider-nav {
                @include center();
                flex-direction: column;
                grid-column: 1/3;
                align-items: flex-start;
                @include small-desktop() {
                  align-items: center;
                  margin-right: 10px;
                  // grid-column: 1/2;
                  grid-column: 3/4;
                }
                p {
                  color: $white-color;
                  font-size: 16px;
                  margin-bottom: 2px;
                  @include small-desktop() {
                    text-align: center;
                  }
                  @include mid-desktop() {
                    margin-bottom: 16px;
                    font-size: 22px;
                  }
                  span {
                    margin: 0 10px;
                    @include small-tab() {
                      margin: 0 15px;
                    }
                  }
                }
                .arrow-wrap {
                  display: flex;
                  align-items: center;
                  @include small-desktop() {
                    justify-content: center;
                  }
                  button {
                    @include center();
                    margin-left: 10px;
                    margin-right: 0;
                    background-color: transparent;
                    border: 0;
                    outline: 0;
                    &:first-child {
                      margin-left: 0;
                      margin-right: 10px;
                    }
                    img {
                      width: 21px;
                      @include small-tab() {
                        width: 26px;
                      }
                      @include mid-desktop() {
                        width: 30px;
                      }
                    }
                  }
                }
              }
              ._content-wrap {
                display: grid;
                align-items: center;
                grid-template-columns: 2fr 1fr;
                grid-column: 1/3;
                margin-top: 15px;
                @include small-desktop() {
                  // grid-column: 2/3;
                  grid-column: 4/4;
                  margin-top: 0;
                }
                
                .feature-content {
                  grid-column: 1/3;
                  @include desktop() {
                    // grid-column: 1/2;
                    grid-column: 3/4;
                  }
                  h4 {
                    color: $white-color;
                    font-size: 18px;
                    @include mobile() {
                      font-size: 20px;
                    }
                    @include small-tab() {
                      font-size: 22px;
                    }
                    @include big-tab() {
                      font-size: 20px;
                    }
                    @include small-desktop() {
                      margin: 0 8px;
                    }
                    @include mid-desktop() {
                      margin: 0 0 0  10px;
                      font-size: 23px;
                    }
                    @include large-desktop() {
                      // max-width: 80%;
                    }
                  }
                }
                .action-btn {
                  display: flex;
                  grid-column: 1/3;
                  margin-top: 10px;
                  z-index: 3;
                  position: relative;
                  @include desktop() {
                    justify-content: center;
                    margin-top: 0;
                    // grid-column: 2/3;
                    grid-column: 4/4;
                  }
                }
              }
              .feature-bg-shape {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                pointer-events: none;
                img {
                  position: absolute;
                  right: 0;
                  bottom: 0;
                  width: 100%;
                  @include big-tab() {
                    width: 70%;
                  }
                  @include desktop() {
                    width: 40%;
                  }
                }
                &::before {
                  content: "";
                  position: absolute;
                  width: 20px;
                  height: 20px;
                  right: 25%;
                  bottom: 50px;
                  background-color: #ff733d;
                  border-radius: 50%;
                }
              }
            }
            .feature-dots {
              position: absolute;
              width: 150px;
              height: 150px;
              top: 40px;
              left: -50px;
            }
            &::before {
              content: "";
              opacity: 0;
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              background-color: $white-color;
              z-index: 10;
              transition: 0.4s;
              pointer-events: none;
            }
            &::after {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              pointer-events: none;
              box-shadow: 2px 2px 29px 4px #72412d4d;
              border-radius: 18px;
              border-bottom-right-radius: 40px;
              opacity: .2;
              @include small-tab() {
                border-radius: 30px;
              }
              @include small-desktop() {
                border-radius: 30px;
                border-bottom-right-radius: 60px;
              }
            }
            &.fadedSlide, &.is-next, &.is-prev {
              @include big-tab() {
                transform: scale(0.9);
                &::before {
                  opacity: 0.8;
                }
              }
            }

            &.is-active.is-visible:not(.splide__slide--clone.is-next , .splide__slide--clone.is-next) {
              @include big-tab(){
                transform: scale(1);
                &::before{
                  opacity: 0;
                }
                &::after{
                  opacity: 1;
                }
              }
              .feature-content-wrap {
                z-index: 1000;
              }
            }
          }
        }
      }
    }
  }

  // splide dots
  .splide__pagination {
    bottom: -7rem;
  }

  .splide__pagination__page {
    background-color: $primary-color;
    opacity: 50%;

    &.is-active {
      opacity: 100%;
    }
  }

  .slider-mini-nav {
    margin-top: 1.5rem;
    @include center();
    flex-direction: column;

    button {
      background-color: transparent;
      border: 0;
    }
    p {
      font-size: 16px;
      margin-bottom: 2px;
      @include too-small-mobile() {
        margin: 0 1rem;
      }
      @include small-tab() {
        margin: 0;
      }
      @include mid-desktop() {
        margin-bottom: 16px;
        font-size: 22px;
      }
      span {
        margin: 0 10px;
        @include small-tab() {
          margin: 0 15px;
        }
      }
    }

    .arrow-wrap {
      display: flex;
      align-items: center;
      button {
        @include center();
        margin-left: 10px;
        margin-right: 0;
        background-color: transparent;
        border: 0;
        outline: 0;
        @include too-small-mobile() {
          margin-top: -4px;
          transform: scale(1.3);
        }
        @include small-tab() {
          margin-top: 0;
          transform: scale(1);
        }
        &:first-child {
          margin-left: 0;
          margin-right: 10px;
        }
        img {
          width: 21px;
          @include small-tab() {
            width: 26px;
          }
          @include mid-desktop() {
            width: 30px;
          }
        }
      }
    }
  }
}

.splide__pagination {
  bottom: -0.5rem;
  @include mobile() {
    bottom: -2.5rem;
  }
  li {
    margin: 0 15px;
  }
}
.splide__pagination__page {
  background-color: white;
  opacity: 50%;

  &.is-active {
    opacity: 100%;
  }
}

section.why-choose-us {
  position: relative;
  .splide__track {
    // padding: 40px 0;
  }
  .splide__pagination{
    bottom: -3.5rem;
  }
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 45%;
    background-color: $primary-color;
    left: 0;
    bottom: 0;
    z-index: -2;
  }
  &::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url("../../assets/images/homepage/why-choose-us/why-choose-dot.svg");
    z-index: -1;
    pointer-events: none;
    height: 40%;
    width: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    @include small-tab() {
      height: 400px;
      width: 350px;
    }
    @include desktop() {
      width: 400px;
    }
    @include mid-desktop() {
      width: 600px;
    }
  }
  .feature-card {
    background-color: $white-color;
    border-radius: 20px;
    min-height: 100%;

    figure {
      position: relative;
      margin: 0;
      img {
        width: 100%;
        transition: transform 0.9s;
        border-radius: 20px 20px 0 0;
      }
      .play-video-img {
        color: $primary-color;
        figure {
          @include center();
        }
        position: absolute;

        @include too-small-mobile() {
          height: 50px;
          width: 50px;
          bottom: 40%;
          left: 45%;
        }

        @include small-tab() {
          bottom: 40%;
          left: 40%;
          width: 45px;
          height: 45px;
        }
        z-index: 5;
        border: 0;
        background-color: $white-color;
        border-radius: 50%;
        @include center();
      }
    }

    .feature-card-content-wrap {
      @include center();
      flex-direction: column;
      justify-content: space-between;
      padding: 15px;
      box-shadow: 0 0 30px 15px #232d6705;
      position: relative;
      z-index: 5;

      h4 {
        color: $heading-color;
        font-size: 21px;
        font-weight: 500;
        // margin: 20px 0;

        @include small-tab() {
          font-size: 20px;
        }

        @include big-tab() {
          font-size: 18px;
        }
        @include mid-desktop() {
          font-size: 22px;
        }
      }

      p {
        color: $text-color;
        font-size: 14px;
        margin-bottom: 0;
      }
    }
  }
  button {
    display: inline-flex;
    align-items: center;
    justify-self: end;

    img {
      width: 15px;
      margin-left: 10px;
      pointer-events: none;
    }
  }
  .cards-wrapper {
    @include mobile() {
      margin-top: 2.5rem;
    }
  }
  .bottom-content {
    position: relative;
    padding-top: 70px;
    @include small-tab() {
      padding-top: 100px;
    }
    @include big-tab() {
      padding-top: 60px;
    }
    @include mid-desktop() {
      padding-top: 90px;
    }
  }
}

#services{
  scroll-margin-top: 100px;
}
section.services {
  .splide__pagination{
    bottom: 0.5rem;
  }
  .splide__pagination__page {
    background-color: $primary-color;
    opacity: 50%;
    bottom: -3rem;
    &.is-active {
      opacity: 100%;
    }
  }

  .services-cards-wrapper {
    margin: 4.5rem 0;
  }

  .service-card {
    @include center();
    flex-direction: column;
    position: relative;

    h5 {
      margin-bottom: 1rem;
      color: black;
      text-align: center;
    }

    a {
      width: 100%;
    }

    figure {
      width: 100%;
      border-radius: 15px;
      overflow: hidden;
      z-index: 1;
      img {
        transition: transform 0.9s;
        width: 100%;
      }
    }

    .service-card-content {
      width: 90%;
      border-radius: 15px;
      margin-top: -45px;
      z-index: 5;
      margin-bottom: 35px;
      background-color: $white-color;
      padding: 30px 20px;
      @include center();
      flex-direction: column;
      transition: margin-top 0.2s;

      .arrow-btn {
        padding: 20px;
        border-radius: 50%;
        max-height: 60px;
        max-width: 60px;
        @include center();
        color: $primary-color;
        border: 2px solid $primary-color;
        background-color: transparent;

        position: absolute;
        bottom: 5px;
        transition: all 0.4s;
      }
    }

    &:hover {
      img {
        transform: scale(1.3);
      }

      .service-card-content {
        margin-top: -3.5rem;
        box-shadow: 0px 10px 25px 2px rgba(159, 159, 159, 0.2);
      }

      .arrow-btn {
        color: $white-color;
        background-color: $primary-color;
        transform: rotate(-45deg);
      }
    }
  }
}

section.partners {
  background-color: $dark-color;
  @include too-small-mobile() {
    padding-bottom: 5rem;
  }

  @include mobile() {
    padding-bottom: 9rem;
  }
  @include desktop() {
    padding-bottom: 12rem;
  }

  .partners-cards-wrapper{
    z-index: 5;
    position: relative;
  }

  .partners-cards-wrapper {
    margin: 4.5rem 0;
    .partners-card {
      @include center();
      background-color: $white-color;
      padding: 50px;
      max-height: 100px;
      max-width: 220px;
      min-width: 180px;
      border-radius: 10px;

      @include too-small-mobile() {
        min-width: auto;
      }

      figure {
        margin: 0;
        width: 100%;
        height: 100%;
        max-width: 95%;
        @include large-desktop(){
          max-width: 80%;
        }
        img{
          max-height: 90px;
          // min-height: 100%;
        }
      }
    }
  }
  .splide__pagination {
    bottom: -4rem;
  }
}

section.clients {
  background-color: $light-color;

  .view-brands{
    color: $white-color;
  }

  .clients-cards-wrapper {
    margin: 4.5rem 0;
    .clients-card {
      @include center();
      flex-direction: column;
      background-color: $white-color;
      // padding: 10px;
      // aspect-ratio: 1/1;
      // // @include big-tab(){
      // //   max-height: 130px;
      // // }
      @include large-desktop(){
        aspect-ratio: 1/1;
        max-height: 140px;
      }
      border-radius: 10px;
      height: 100%;

      box-shadow: 0 0 5px 1px #232d670d;

      span{
        text-align: center;
        padding: 5px 5px 15px 5px;
        @include large-desktop(){
          padding: 5px;
        }
        font-size: 12px;
      }
      figure {
        padding: 5px;
        margin: 0;
        @include too-small-mobile() {
          height: 45px;
          width: 75px;
        }

        @include small-tab() {
          height: 55px;
          width: 85px;
        }

        @include small-desktop() {
          height: 70px;
          width: 100px;
        }

        @include large-desktop() {
          height: 65px;
          width: 95px;
        }
        img {
          width: 100%;
          height: 100%;
          object-fit: scale-down;
        }
      }
    }
  }
  .splide__pagination {
    bottom: -4rem;
  }
}

section.testimonials {
  position: relative;
  padding-top: 0;

  .top-img {
    position: absolute;
    right: 0;
    width: 100%;
    @include too-small-mobile() {
      top: -3rem;
    }
    @include mid-mobile() {
      top: -4rem;
    }
    @include mobile() {
      top: -7rem;
    }
    @include small-tab() {
      top: -18%;
    }
    @include big-tab() {
      top: -12.5rem;
    }
    @include desktop() {
      top: -14rem;
    }
    @include mid-desktop() {
      top: -15rem;
    }
    @include large-desktop() {
      top: -18.5rem;
    }
  }

  .play-video-img {
    color: $white-color;
    figure {
      @include center();
    }

    img {
      width: 100%;
      transition: transform 0.9s;
    }

    // position: absolute;
    @include too-small-mobile() {
      // right: 10%;
      // bottom: 13%;
      width: 50px;
      height: 50px;
    }
    @include small-tab() {
      // bottom: 10%;
      // right: 50px;
      width: 65px;
      height: 65px;
    }
    @include big-tab() {
      // bottom: 30px;
      // right: 30px;
    }
    @include desktop() {
      // right: 50px;
      // bottom: 50px;
    }
    z-index: 5;
    border: 0;
    background-color: $primary-color;
    border-radius: 50%;
    @include center();
  }

  .testimonials-img-wrapper {
    @include center();
    position: relative;
    overflow: hidden;
    border-radius: 20px;

    &:hover {
      img {
        transform: scale(1.3);
      }
    }

    img {
      transition: transform 0.9s;
      width: 100%;
    }

    .play-video-img {
      color: $white-color;
      figure {
        @include center();
      }

      img {
        width: 100%;
        transition: transform 0.9s;
      }

      // position: absolute;
      @include too-small-mobile() {
        height: 70px;
        width: 70px;
        // top: 40%;
        // right: 38%;
      }
      @include small-tab() {
        width: 85px;
        height: 85px;
        // top: 35%;
        // right: 35%;
      }
      z-index: 5;
      border: 0;
      background-color: $primary-color;
      border-radius: 50%;
      @include center();
    }
  }

  .splide__pagination {
    bottom: -3rem;
  }

  .splide__pagination__page {
    background-color: $primary-color;
    opacity: 50%;

    &.is-active {
      opacity: 100%;
    }
  }

  .testimonials-top-img {
    figure {
      width: 320px;
      margin-left: 10%;
    }
  }

  .testimonials-quotes-icon {
    position: absolute;
    width: 100px;
    @include too-small-mobile() {
      top: 16%;
      width: 80px;
      right: 15%;
    }
    @include big-tab(){
      right: 30px;
    }
    @include small-desktop() {
      top: 15%;
    }
    @include desktop(){
      right: 50px;
    }
  }

  .testimonials-top-content {
    z-index: 10;
    position: relative;
    @include too-small-mobile() {
      padding-top: 2rem;
      margin-top: -115px;
    }
    @include mid-mobile(){
      margin-top: -65px;
    }
    @include mobile(){
      margin-top: -80px;
    }
    @include small-tab() {
      padding-top: 0;
    }
    @include big-tab(){
      margin-top: -120px;
    }
    @include desktop(){
      margin-top: -170px;
    }
  }

  .testimonials-cards-wrapper {
    position: relative;
    // margin-top: 50px;
    // padding: 3rem 0 5rem;
    padding-bottom: 2rem;
    // &::before {
    //     content: '';
    //     right: 0;
    //     top: 0;
    //     height: 100%;
    //     background-color: $white-color;
    //     position: absolute;
    //     border-radius: 20px 0 0 20px;
    //     @include too-small-mobile(){
    //         width: 95%;
    //     }
    //     @include small-desktop(){
    //         height: 105%;
    //         width: 70%;
    //     }
    // }
    .testimonials-cards-bg {
      position: absolute;
      top: 0;
      right: 0;
      width: 68%;
      height: 120%;
      background-color: $white-color;
      display: none;
    }

    .testimonials-card {
      margin-top: 1.5rem;
      background-color: $white-color;
      padding: 30px;
      padding-top: 60px;

      @include small-tab() {
        padding: 35px;
        padding-top: 70px;
      }

      @include big-tab() {
        padding: 30px;
        padding-top: 60px;
        height: 100%;
      }

      @include desktop() {
        padding: 50px;
        padding-top: 70px;
      }

      figure img {
        // border-radius: 15px;
      }

      .testimonials-card-content {
        display: flex;
        height: 100%;
        width: 100%;
        justify-content: space-around;
        flex-direction: column;
        padding-bottom: 1rem;

        p:not(.author p) {
          @include too-small-mobile() {
            font-size: 15px;
          }
          @include mobile() {
            font-size: 16px;
          }
          @include big-tab() {
            font-size: 18px;
          }
          @include desktop() {
            font-size: 20px;
            width: 95%;
          }
          margin-top: 25px;
        }

        p span {
          font-weight: 600;
        }

        .author {

          
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: 100%;

          @include too-small-mobile() {
            font-size: 17px;
          }
          @include mobile() {
            font-size: 19px;
          }
          @include big-tab() {
            font-size: 21px;
          }
          span {
            color: $primary-color;
            font-weight: 600;
          }

          p {
            font-size: 15px;
            margin-bottom: 0;
            @include mobile() {
              font-size: 17px;
            }
            @include big-tab() {
              font-size: 19px;
            }
          }

          position: relative;
          &::after {
            position: absolute;
            // content: "";
            width: 80%;
            @include small-desktop() {
              width: 90%;
            }
            height: 2px;
            left: 0;
            bottom: -15px;
            background-color: rgb(201, 201, 201);
            opacity: 50%;
          }
        }
      }

      .testimonial-brand-logo {
        width: 90px;

        @include too-small-mobile() {
          position: absolute;
          top: 0%;
          left: 10%;
        }
        @include small-tab() {
          top: 5%;
          left: 10%;
        }
        @include small-desktop() {
          margin-top: -2.5rem;
          position: static;
        }
      }
    }
  }
  // fontAwesome
  svg:not(:root).svg-inline--fa {
    @include too-small-mobile() {
      margin-left: 3px;
    }
    @include small-desktop() {
      margin-left: 5px;
    }
  }
}

section.cta {
  background-color: $primary-color;

  &.mega {
    padding-bottom: 6rem;
    // @include small-tab(){
    //   padding-bottom: 0;
    // }
    background-color: $cta-primary-bg;

    .container {
      z-index: 10;
      position: relative;
    }

    position: relative;
    &::before {
      content: "";
      position: absolute;
      @include too-small-mobile() {
        width: 25rem;
        height: 18rem;
      }
      @include big-tab() {
        width: 30rem;
        height: 23rem;
      }
      bottom: -90px;
      border-radius: 0 100% 30% 0;
      left: -97px;
      background-color: $cta-secondary-bg;
    }

    .cta-shape-1 {
      position: absolute;
      @include too-small-mobile() {
        height: 70%;
        width: 100px;
      }
      @include big-tab() {
        width: 230px;
        height: 100%;
      }
      top: 0;
      right: 1px;
      border-radius: 0% 0 0 100%;
      background-color: $cta-secondary-bg;
    }

    button {
      @include center();
      figure {
        // height: 50px;
        margin: 0;
        width: 30px;
        margin-top: -3px;
        img {
          width: 100%;
        }
      }
    }
  }
}

section.network {
  background-image: url("../../assets/images/homepage/network/network-bg.jpg");
  background-size: cover;
  @include background(cover, fixed);
  background-position: center;
  position: relative;
  &::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, #ffffff0c 0%, #ffffff 100%);
  }

  .heading {
    position: relative;
    z-index: 1;
  }
  .network-map-wrap {
    padding: 20px 0;
    .tab-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 2;
      flex-direction: column;
      @include mobile() {
        flex-direction: row;
      }
      button {
        display: flex;
        align-items: center;
        background-color: $dark-bg;
        border: 0;
        outline: 0;
        padding: 10px 16px;
        border-radius: 10px;
        color: $white-color;
        font-size: 14px;
        width: 230px;
        justify-content: space-between;
        @include mobile() {
          justify-content: unset;
          padding: 10px 20px;
          font-size: 16px;
          width: auto;
        }
        &:first-child {
          margin-bottom: 15px;
          @include mobile() {
            margin-right: 20px;
            margin-bottom: 0;
          }
          @include big-tab() {
            margin-right: 80px;
          }
          span.tab-active-toggle {
            &::before {
              background-color: #2c92e9;
            }
          }
        }
        span.tab-active-toggle {
          width: 18px;
          height: 18px;
          border: 1px solid red;
          margin-left: 15px;
          border: 3px solid #a4a8bd;
          border-radius: 50%;
          position: relative;
          transition: 0.4s;
          background-color: $white-color;
          &::before {
            transition: 0.4s;
            content: "";
            position: absolute;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #a4a8bd;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
          }
        }
        &.active {
          background-color: $primary-color;
        }
      }
    }
    .map-wrap {
      position: relative;
      @include center();
      // margin-top: 70px;
      .map-dot-wrap {
        position: relative;
        width: 100%;
        @include mobile() {
          // margin-left: 20px;
          width: 80%;
        }
        svg {
          width: 100%;
        }
        .location-pin {
          position: absolute;
          border-radius: 50%;
          border: 2px solid $white-color;
          width: 10px;
          height: 10px;
          @include small-tab() {
            width: 12px;
            height: 12px;
          }
          @include big-tab() {
            width: 14px;
            height: 14px;
          }
          @include desktop() {
            width: 16px;
            height: 16px;
          }
          &.global {
            background-color: #2c91e8;
          }
          &.local {
            background-color: #6788a0;
          }
          &.n-america-1 {
            left: 9%;
            top: 28%;
            .location-content {
              left: 5px;
              transform: unset;
              @include small-tab() {
                left: 14px;
              }
            }
          }
          &.n-america-2 {
            left: 12.5%;
            top: 22%;
            .location-content {
              left: 5px;
              transform: unset;
              @include small-tab() {
                left: 14px;
              }
            }
          }
          &.n-america-3 {
            left: 16.5%;
            top: 32.5%;
            .location-content {
              left: 5px;
              transform: unset;
              @include small-tab() {
                left: 14px;
              }
            }
          }
          &.s-america-1 {
            left: 28%;
            bottom: 39%;
          }
          &.s-america-2 {
            left: 26.5%;
            bottom: 31%;
          }
          &.s-america-3 {
            left: 21%;
            bottom: 32%;
          }
          &.s-africa-1 {
            left: 40.5%;
            bottom: 49.5%;
          }
          &.s-africa-2 {
            left: 47.5%;
            bottom: 37%;
          }
          &.m-east-1 {
            right: 44%;
            bottom: 56%;
          }
          &.india-1 {
            right: 35.9%;
            bottom: 56%;
          }
          &.india-2 {
            right: 35.4%;
            bottom: 51%;
          }
          &.india-3 {
            right: 33.7%;
            bottom: 59%;
          }
          &.asia-1 {
            right: 27%;
            top: 29%;
          }
          &.australia-1 {
            right: 22%;
            bottom: 26%;
          }
          .location-content {
            position: absolute;
            background-color: $white-color;
            border-radius: 10px;
            z-index: 100;
            left: 50%;
            transform: translateX(-50%);
            top: 3px;
            pointer-events: none;
            opacity: 0;
            transition: 0.4s;
            padding: 10px;
            width: 140px;
            box-shadow: 0 0 19px 18px #232d670d;
            & > div {
              overflow-y: auto;
              max-height: 160px;
              @include big-tab() {
                max-height: 140px;
              }
              &::-webkit-scrollbar {
                width: 2px;
              }
              &::-webkit-scrollbar-thumb {
                background: linear-gradient(
                  0deg,
                  $primary-color,
                  $secondary-color
                );
                border-radius: 8px;
              }
              &::-webkit-scrollbar-track {
                background-color: transparent;
              }
            }
            @include mobile() {
              width: 150px;
              top: 4px;
            }
            @include small-tab() {
              padding: 15px;
              left: 14px;
              top: 5px;
              transform: unset;
              width: 165px;
            }
            @include big-tab() {
              width: 200px;
            }
            @include desktop() {
              width: 240px;
            }
            &::before {
              content: "";
              position: absolute;
              left: -18px;
              top: -10px;
              width: 24px;
              height: 24px;
              @include small-tab() {
                left: -23px;
                top: -14px;
                width: 30px;
                height: 30px;
              }
              @include big-tab() {
                left: -28px;
                top: -18px;
                width: 38px;
                height: 38px;
              }
              @include desktop() {
                left: -36px;
                top: -26px;
                width: 50px;
                height: 50px;
              }
            }
            h4 {
              color: $heading-color;
              font-size: 15px;
              @include mobile() {
                font-size: 16px;
              }
            }
            p {
              font-size: 12px;
              color: $text-color;
            }
            a {
              padding-top: 6px;
              display: inline-block;
              border-top: 2px solid $primary-color;
              font-size: 12px;
              color: $primary-color;
              font-weight: 500;
            }
          }
          &:hover {
            .location-content {
              pointer-events: all;
              opacity: 1;
            }
          }
        }
      }
    }
  }

  .india-map-wrap {
    position: relative;
    margin-top: -2rem;
    margin-bottom: 2rem;
    
    width: 320px;
    @include small-tab(){
        width: 520px;
    }

    @include small-desktop(){
        width: 650px;
    }

    .india-map {
      width: 100%;
    }
    .location-info-wrap {
      // opacity: 0;
      z-index: 10;
      position: relative;
      // margin: 10px 0 0 10px;
      @include too-small-mobile(){
        transform: translateX(-35%);
        width: 180px;
      }
      @include mobile() {
        width: 300px;
        // top: 5px;
        // right: 5px;
      }
      @include small-tab() {
        transform: translateX(-50%);
        padding: 15px;
        left: -10%;
        // top: 10px;
        // right: 10px;
        transform: unset;
        width: 180px;
      }
      @include big-tab() {
        width: 200px;
      }
      @include desktop() {
        width: 240px;
      }
      background-color: $white-color;
      border-radius: 10px;
      z-index: 100;
      // left: 50%;
      // top: 3px;
      pointer-events: none;
      opacity: 0;
      transition: 0.4s;
      padding: 10px;
      width: 140px;
      box-shadow: 0 0 19px 18px #232d670d;

      a {
        padding-top: 6px;
        display: inline-block;
        border-top: 2px solid $primary-color;
        font-size: 12px;
        color: $primary-color;
        font-weight: 500;
      }
    }
    .location-data-wrap{
      position: absolute;
      width: 0;
      height: 0;
      margin-left: -5px;
      @include small-tab(){
      padding: 15px;
      padding-bottom: 25px;
      padding-right: 25px;
      }
      
      &:hover {
        & .location-info-wrap {
          opacity: 1;
          pointer-events: all;
        }
      }
    }
    .location-dots {
      height: 12px;
      width: 12px;
      border-radius: 50%;
      background-color: #2c91e8;
      z-index: 2;

      // &:hover {
      //   & + .location-info-wrap {
      //     opacity: 1;
      //     pointer-events: all;
      //   }
      // }
    }
    .location-dot-1 {
      top: 50%;
      left: 10%;
    }
    .location-dot-2 {
      top: 49.5%;
      left: 16%;
    }
    .location-dot-3 {
      top: 40%;
      left: 14%;
    }
    .location-dot-4 {
      top: 31%;
      left: 19%;
    }
    .location-dot-5 {
      bottom: 40.5%;
      left: 23%;
    }
    .location-dot-6 {
      bottom: 39%;
      left: 17%;
      @include small-tab(){
        bottom: 35%;
        left: 14%;
      }
    }
    .location-dot-7 {
      bottom: 16%;
      left: 38%;
    }
    .location-dot-8 {
      bottom: 42%;
      left: 34%;
    }
    .location-dot-9 {
      bottom: 32%;
      right: 51%;
      @include small-tab(){
        bottom: 28%;
        right: 47%;
      }
    }
    .location-dot-10 {
      bottom: 42%;
      right: 40%;
    }
    .location-dot-11 {
      bottom: 49%;
      right: 32%;
      @include small-tab(){
        bottom: 45%;
        right: 28%; 
      } 
    }
    .location-dot-12 {
      bottom: 51.5%;
      right: 15%;
    }
    .location-dot-13 {
      top: 41%;
      right: 18%;
    }
    .location-dot-14 {
      top: 34%;
      right: 8%;
    }


    @include too-small-mobile(){
      .location-dot-11 , .location-dot-12, .location-dot-13 , .location-dot-14{
        .location-info-wrap{
          transform: translateX(-100%);
        }
      }
    }
  }
}

footer {
  position: relative;

  h4 {
    color: $white-color;
  }

  #top-footer {
    background-color: $footer-bg-primary;
    @include too-small-mobile() {
      padding: 3rem 1rem;
    }
    
    @include small-tab() {
      padding: 4rem 2rem;
    }
    @include small-desktop() {
      padding: 1rem 5rem;
    }
    @include mid-desktop(){
      padding: 2rem 5rem;
      padding-bottom: 15px;
    }
  }

  #bottom-footer {
    padding: 3rem 0;
    overflow-y: hidden;
    background-color: $footer-bg-secondary;
    @include too-small-mobile() {
      padding: 3rem 0rem 0 1rem;
    }

    @include small-tab() {
      padding: 4rem 0rem 0 1rem;
    }
    @include small-desktop() {
      padding: 5rem 0rem 0 1rem;
    }
    padding-top: 2rem !important;
    
    position: relative;
    .dummy-img {
      pointer-events: none;
      position: absolute;
      left: 0;
      @include too-small-mobile() {
        transform: scaleY(1.5);
        width: 100%;
        bottom: -30px;
      }
      @include small-tab() {
        transform: scaleX(1.1);
        width: 85%;
        bottom: -60px;
      }
      @include big-tab(){
        height: 250px;
      }
      @include desktop() {
        height: 275px;
        bottom: -80px;
        transform: scaleX(1.3);
        left: 6%;
        width: 50%;
      }
    }
  }

  .top-image {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    @include too-small-mobile() {
      width: 100%;
      transform: rotateY(180deg);
    }
    @include mobile() {
      width: 70%;
    }
    @include small-tab() {
      width: 85%;
    }
    @include small-desktop() {
      width: 90%;
    }
    @include mid-desktop() {
      width: 60%;
      left: 20%;
    }
  }

  p,
  span,
  li,
  a {
    color: $light-bg;
  }

  .footer-list-items a {
    color: $light-bg;
    opacity: 90%;
    width: 100%;

    &:hover {
      opacity: 100%;
      color: $primary-color;
      transition: 0.4s;
    }
  }

  .icon-wrapper {
    color: $primary-color;
  }

  ul {
    margin-top: 25px;
    @include mid-desktop(){
      margin-top: 5px;
    }
    padding-left: 0;
    width: 100%;

    span.footer-list-header {
      position: relative;
      @include too-small-mobile() {
        font-size: large;
      }
      @include small-desktop() {
        font-size: x-large;
      }

      &::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100px;
        height: 1px;
        opacity: 35%;
        background-color: $text-color;
      }
    }

    li {
      padding: 10px 0;
      @include too-small-mobile() {
        font-size: 13px;
      }
      @include small-desktop() {
        font-size: 16px;
      }
    }
  }

  .footer-list-header {
    font-weight: 500;
    font-size: 20px;
    @include too-small-mobile() {
      margin-bottom: 13px;
    }
    @include small-desktop() {
      margin-bottom: 15px;
    }
  }

  .copywrites {
    p,
    a {
      font-size: 14px;
    }
  }

  .footer-socials-card {
    background-color: $white-color;
    border-radius: 20px 20% 20px 20px;
    @include center();
    flex-direction: column;
    @include too-small-mobile() {
      max-width: 95%;
      margin-left: 2.5%;
      margin-left: 0;
      margin-top: -6rem;
      padding: 2rem 1rem;
    }
    @include mid-mobile() {
      max-width: 20rem;
      margin-top: -7rem;
      padding: 2.5rem 1.5rem;
    }
    @include big-tab() {
      padding: 1.5rem;
    }
    @include mid-desktop() {
      max-width: 23rem;
      margin-top: -8.5rem;
      padding: 1.75rem;
    }

    figure{
      margin: 0;
    }

    .footer-logo {
      @include too-small-mobile() {
        width: 78%;
      }

      @include small-tab() {
        width: 80%;
      }
    }

    .divider {
      width: 90%;
      @include too-small-mobile() {
        margin: 1rem 0;
      }
      @include mobile() {
        margin: 3rem;
      }
      @include small-desktop() {
        margin: 1rem 0;
      }
      margin-left: 5%;
      background-color: black;
      height: 2px;
      position: relative;

      &::after {
        content: "";
        position: absolute;
        width: 35%;
        margin-left: 33%;
        height: 10px;
        margin-top: -4px;
        border-radius: 10px;
        background-color: $primary-color;
      }
    }
    p,
    span {
      color: $heading-color;
    }
    p {
      margin-top: 8px;
    }
    .tagline{
      margin-bottom: 5px;
      font-weight: 500;
    }

    .socials-wrapper {
      @include center();
      gap: 10px;
      @include too-small-mobile() {
        margin-top: 0;
      }
      @include small-tab() {
        gap: 1rem;
        margin-top: 1rem;
      }
      @include big-tab(){
        margin-top: 0;
      }
      @include small-desktop(){
        gap: 10px;
      }

      .socials {
        @include too-small-mobile() {
          height: 40.5px;
          width: 40.5px;
        }
        @include big-tab() {
          height: 40px;
          width: 40px;
        }
        @include desktop() {
          height: 47px;
          width: 47px;
        }
        border-radius: 50%;
        background-color: $white-color;
        border: 2px solid $primary-color;
        color: $primary-color;
        @include center();

        opacity: 1;
        &:hover {
          background-color: $primary-color;

          & > * {
            transition: 0.4s;
            color: $white-color;
          }
        }
      }
    }
  }

  li i {
    color: $primary-color;
  }

  .footer-dummy-element {
    margin-top: 25px;
    @include big-tab(){
      margin-top: 0;
    }
    @include mid-desktop(){
      margin-top: 25px;
    }
    border-radius: 20px 20px 0 0;
    z-index: 10;
    position: relative;
    background-image: $gradient-bg;
    @include too-small-mobile() {
      height: 10px;
      width: 100%;
    }
    @include mid-desktop(){
      width: 100%;
      height: 12.5px;
      margin: 0;
    }
  }

  .bottom-footer-content {
    margin-bottom: 25px;
    @include big-tab(){
      margin-bottom: 0;
    }
    @include mid-desktop(){
      margin-bottom: 25px;
    }
    span {
      font-weight: 600;
      @include too-small-mobile() {
        font-size: 19px;
      }
      @include small-desktop() {
        font-size: 24px;
      }
    }
    p {
      color: $white-color;
      opacity: 70%;
      @include too-small-mobile() {
        font-size: 12px;
      }
      @include small-desktop() {
        font-size: 15px;
      }
    }
    h3 {
      color: $white-color;
      opacity: 85%;
      font-weight: lighter;
      @include too-small-mobile() {
        font-size: 20px;
      }
      @include small-desktop() {
        font-size: 24px;
      }
    }
  }

  .newsletter {
    @include big-tab() {
      width: 28rem;
    }

    span {
      font-weight: 500;
      @include too-small-mobile() {
        font-size: 15px;
      }
      @include small-desktop() {
        font-size: 18px;
      }
    }
    input {
      width: 100%;
      background-color: transparent;
      border: 1px solid #2f3a7c;
      @include too-small-mobile() {
        padding: 12px 25px;
      }
      @include small-tab() {
        padding: 15px 25px;
      }
      color: $text-color;
      border-radius: 50px;

      &:focus {
        outline: none;
      }
    }

    .input-wrapper {
      margin-top: 1.5rem;
      @include big-tab(){
        margin-top: .5rem;
      }
      @include mid-desktop(){
        margin-top: 1.5rem;
      }
      position: relative;

      button {
        position: absolute;
        top: 5px;
        right: 5px;
        height: 80%;
        padding: 5px 15px;
        background-color: $primary-color;
        color: $white-color;
        border-radius: 30px;
        border: 1px solid $primary-color;

        &:hover {
          background-color: transparent;
          transition: 0.4s;
          color: $primary-color;
          border: 1px solid $primary-color;
        }
      }
    }
  }
  a {
    color: $light-bg;
    opacity: 90%;

    &:hover {
      opacity: 100%;
      color: $primary-color;
      transition: 0.4s;
    }
  }

  .links-wrapper {
    display: flex;
    @include too-small-mobile() {
      order: 1;
    }
    @include small-desktop() {
      order: 3;
    }
  }
  .copywrite-wrapper {
    display: flex;
    @include too-small-mobile() {
      order: 2;
    }
    @include small-desktop() {
      order: 1;
    }
    p {
      color: $white-color;
      a {
        transition: 0.4s;
        &:hover {
          color: $primary-color;
        }
      }
    }
  }
}

// fontAwesome
.footer-socials-card {
  .svg-inline--fa {
    @include too-small-mobile() {
      font-size: 18px;
    }
    @include mobile() {
      font-size: 20px;
    }
    @include small-desktop() {
      font-size: 16px;
    }
    @include desktop() {
      font-size: 18px;
    }
  }
}
