@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"),
    url("../fonts/Manrope-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Light.woff2") format("woff2"),
    url("../fonts/Manrope-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Regular.woff2") format("woff2"),
    url("../fonts/Manrope-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.woff2") format("woff2"),
    url("../fonts/Manrope-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.woff2") format("woff2"),
    url("../fonts/Manrope-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--primary-font);
  font-weight: var(--fw-normal);
  font-size: 1rem;
}

.text-100 {
  color: var(--color-100);
}

.text-200 {
  color: var(--color-200);
}

.text-300 {
  color: var(--color-300);
}

.text-400 {
  color: var(--color-400);
}

.text-500 {
  color: var(--color-500);
}

.text-600 {
  color: var(--color-600);
}

.text-700 {
  color: var(--color-700);
}

.text-800 {
  color: var(--color-800);
}

.bg-100 {
  background-color: var(--color-100);
}

.bg-200 {
  background-color: var(--color-200);
}

.bg-300 {
  background-color: var(--color-300);
}

.bg-400 {
  background-color: var(--color-400);
}

.bg-500 {
  background-color: var(--color-500);
}

.bg-600 {
  background-color: var(--color-600);
}

.bg-700 {
  background-color: var(--color-700);
}

.bg-800 {
  background-color: var(--color-800);
}

a {
  text-decoration: none;
}

a,
button {
  @include transEase();
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a:focus,
button:focus {
  outline: none !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::selection {
  color: var(--white);
  background: var(--color-100);
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-100) var(--white);
}

/* Works on Chrome, Edge, and Safari */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  border-radius: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background-color: var(--color-100);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.4);
}

.return-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border: 0;
  background: var(--color-100);
  border-radius: 50%;
  text-align: center;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  @include transEase;
  z-index: 10;

  img {
    position: relative;
    width: 20px;
    animation: upBounce 2s infinite;
  }

  &.visible {
    display: block;
  }

  &:hover {
    span {
      img {
        top: 5px;
      }
    }
  }
}

.container {
  @media (min-width: 1600px) {
    max-width: 1500px;
  }
}

// .element {
//   @include media-min-query(sm) {
//     font-size: 12px;
//   }
//   @include media-max-query(md) {
//     font-size: 16px;
//   }
// }

// .element {
//   @include border(2px, dashed, #333);
// }

.top-sec {
  position: relative;
  padding: 0.25rem 0;
  background: linear-gradient(to right, #92278f 0%, #2e3192 100%);
  background-size: 400% 400%;
  animation: btnGradient 2s ease infinite;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

@keyframes btnGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.offer-cover {
  color: var(--white);
  text-align: center;
}

.hero-sec {
  position: relative;
  padding: 1rem 1rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f9f6fd 100%);

  .hero-cover {
    border-radius: 1rem;
    overflow: hidden;
    .hero-slider {
      border-radius: 1rem;
      overflow: hidden;
      img,
      video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
      }
    }

    .swiper-hero {
      .overlay {
        position: absolute;
        left: 0;
        right: 0;
        color: #ffffff;
        bottom: 20%;
        z-index: 10;

        @media (max-width: 768px) {
          bottom: 5%;
        }

        .btn-primary {
          &:hover {
            background-color: #ffffff;
            color: #161616;
          }
        }

        .slider-nav {
          padding-top: 16px;
          display: flex;
          gap: 0.5rem;
        }

        .swiper-button-prev,
        .swiper-button-next {
          position: static;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 56px;
          height: 56px;
          border: 1px solid var(--white);
          border-radius: 50%;
          @include transEase;

          &:hover {
            background-color: var(--color-100);
            border-color: var(--color-100);
          }

          &::after {
            display: none;
          }
        }
      }
    }
  }

  @media (max-width: 768px) {
    padding: 5rem 1rem 1rem;
  }
}

.section-hd {
  margin-bottom: 48px;

  h3 {
    color: var(--dark-950);
    margin: 0 0 0.25rem 0;
  }

  h5 {
    color: var(--dark-950);
    font-size: 1rem;
    font-weight: var(--fw-medium);
    margin: 0;
  }
}

.services-sec {
  position: relative;
  background-color: #f9f6fd;
  background-image: url(../images/service-bg.png);
  background-position: top;
  background-repeat: no-repeat;
}

// .btn-com {
//   position: relative;
//   display: inline-flex;
//   justify-content: flex-end;
//   align-items: center;
//   width: 36px;
//   height: 36px;
//   color: var(--dark-700) !important;
//   padding: 0.5rem 0.25rem;
//   background-color: var(--white);
//   border-radius: 50px;
//   @include transEase;
//   transition-delay: 600ms;

//   .btn-label {
//     flex: 1 0 auto;
//     min-width: 0;
//     overflow: hidden;
//     white-space: nowrap;
//     transform: translateX(-10%);
//     opacity: 0;
//     @include transEase;
//     transition-delay: 300ms;
//   }

//   .btn-icon {
//     position: absolute;
//     width: 20px;
//     right: 0.35rem;
//     top: 50%;
//     transform: translateY(-50%);
//   }

//   &:hover {
//     width: 150px;
//     padding: 0.5rem 1rem;
//     transition-delay: 100ms;

//     .btn-label {
//       opacity: 1;
//       transform: translateX(0);
//       transition-delay: 300ms;
//     }
//   }
// }

.services-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100% - 1rem);
  padding: 0.5rem 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  @include transEase;

  .service-head {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
  }

  .service-title {
    flex: 1 1 0;

    h3 {
      color: var(--dark-950);
      font-size: 1.875rem;
      font-weight: var(--fw-semibold);
      margin: 0 0 0.25rem 0;
    }

    h5 {
      color: var(--dark-950);
      font-size: 14px;
      font-weight: var(--fw-medium);
      margin: 0;
    }
  }

  .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    border-radius: 50%;
  }

  .service-pic {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.1);
      @include transEase;
    }
  }

  .service-body {
    flex: 1 1 0;
    margin-bottom: 1rem;

    ul {
      li {
        position: relative;
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        border-bottom: 1px solid var(--dark-100);

        &::before {
          content: "";
          position: absolute;
          left: 8px;
          top: 16px;
          width: 10px;
          height: 10px;
          border-radius: 50%;
        }
      }
    }
  }

  .service-footer {
    padding: 0.5rem 1rem;

    .btn-more {
      display: block;
      width: 48px;
      height: 48px;
      border-radius: 50%;

      img {
        transform: rotate(-45deg);
      }
    }
  }

  &.service-100 {
    .service-icon {
      background-color: var(--color-200);
    }

    .service-body {
      ul {
        li {
          &::before {
            background-color: var(--color-200);
          }
        }
      }
    }

    .service-footer {
      .btn-more {
        background-color: var(--color-200);
      }
    }
  }

  &.service-200 {
    .service-icon {
      background-color: var(--color-300);
    }

    .service-body {
      ul {
        li {
          &::before {
            background-color: var(--color-300);
          }
        }
      }
    }

    .service-footer {
      .btn-more {
        background-color: var(--color-300);
      }
    }
  }

  &.service-300 {
    .service-icon {
      background-color: var(--color-400);
    }

    .service-body {
      ul {
        li {
          &::before {
            background-color: var(--color-400);
          }
        }
      }
    }

    .service-footer {
      .btn-more {
        background-color: var(--color-400);
      }
    }
  }

  &.service-400 {
    .service-icon {
      background-color: var(--color-500);
    }

    .service-body {
      ul {
        li {
          &::before {
            background-color: var(--color-500);
          }
        }
      }
    }

    .service-footer {
      .btn-more {
        background-color: var(--color-500);
      }
    }
  }

  &:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transform: translateY(-10px);

    .service-pic {
      img {
        transform: scale(1);
      }
    }
  }
}

.choose-item {
  display: flex;
  flex-direction: column;
  height: calc(100% - 1.5rem);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1.5rem;

  .choose-nav {
    display: flex;
    justify-content: flex-end;

    .btn-more {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      background-color: var(--white);
      border-radius: 50%;
    }
  }

  .choose-bod {
    flex: 1 1 0;
    margin-bottom: 2rem;
  }

  .choose-hd {
    max-width: 275px;

    h3 {
      color: var(--dark-950);
      font-size: 2.25rem;
      font-weight: var(--fw-semibold);
      margin: 0 0 1rem 0;
    }

    p {
      color: var(--dark-950);
      margin: 0;
    }
  }

  .choose-pic {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
  }

  &.choose-100 {
    background-color: #e8e9fc;
  }

  &.choose-200 {
    background-color: #d9fcef;
  }

  &.choose-300 {
    background-color: #fff3fd;
  }

  &.choose-400 {
    background-color: #fef6f3;
  }

  &.choose-500 {
    background-color: #e6f5fe;

    .choose-hd {
      max-width: 550px;
    }
  }
}

.testi-sec {
  position: relative;
  background-color: #161616;
  background-image: url(../images/testimonial.png);
  background-size: cover;
  background-attachment: fixed;
}

.test-hd-cover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;

  .section-hd {
    margin-bottom: 0;

    h3 {
      color: var(--white);
    }

    h5 {
      color: var(--white);
    }
  }
}

.testi-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  background-color: var(--white);
  border-radius: 1rem;

  .testi-pic {
    flex: 0 0 auto;
    width: 335px;
    background-color: var(--black);
    border-radius: 1rem;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      @include transEase;
    }
  }

  .testi-bod {
    flex: 1 1 0;
    padding: 3rem 2rem 1rem;

    .testi-logo {
      margin-bottom: 2rem;
    }

    p {
      color: var(--dark-500);
      margin: 0 0 1rem 0;
    }
  }

  &:hover {
    .testi-pic {
      img {
        transform: scale(1.1);
        opacity: 0.85;
      }
    }
  }
}

.testi-slider {
  @media (min-width: 768px) {
    padding-left: calc((100vw - 720px) / 2);
  }

  @media (min-width: 992px) {
    padding-left: calc((100vw - 960px) / 2);
  }

  @media (min-width: 1200px) {
    padding-left: calc((100vw - 1140px) / 2);
  }

  @media (min-width: 1400px) {
    padding-left: calc((100vw - 1320px) / 2);
  }

  @media (min-width: 1600px) {
    padding-left: calc((100vw - 1500px) / 2);
  }

  .swiper-slide {
    width: 850px;
  }

  .testi-slider-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .testi-swiper-button-prev,
  .testi-swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--white);
    border-radius: 50%;
    @include transEase;

    &:hover {
      background-color: var(--color-100);
      border-color: var(--color-100);
    }
  }
}

.news-sec {
  position: relative;
  padding: 104px 0 250px;

  @media (max-width: 991px) {
    padding: 40px 0 50px;
  }
}

.news-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;

  .news-label {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: var(--white);
    font-size: 13px;
    padding: 0.15rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    z-index: 10;
  }

  .news-pic {
    border-radius: 1rem;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      @include transEase;
    }
  }

  .news-body {
    flex: 1 1 0;
    padding: 1.5rem 1rem;

    .news-hd {
      min-height: 60px;
      margin-bottom: 1rem;

      h3 {
        color: var(--dark-950);
        font-size: 1.5rem;
        font-weight: var(--fw-semibold);
        margin: 0;
      }
    }

    p {
      color: var(--dark-500);
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .news-footer {
    padding: 0 1rem;

    .btn-more {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border: 1px solid var(--dark-500);
      border-radius: 50%;

      @include transEase;

      &:hover {
        background-color: var(--color-100);
        border-color: var(--color-100);
      }
    }
  }

  &:hover {
    .news-pic {
      img {
        transform: scale(1.1);
      }
    }
  }
}

.support-sec {
  margin: 0 5%;
  background: linear-gradient(to right, #8e278f 0%, #323192 100%);
  border-radius: 1rem;
  transform: translateY(-50%);
  overflow: hidden;

  @media (max-width: 991px) {
    transform: translateY(0);
    margin: 40px 20px;
  }
}

.support-cover {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2.5rem;
  background-image: url(../images/support-bg-left.png),
    url(../images/support-bg-right.png);
  background-position: left top, right top;
  background-repeat: no-repeat, no-repeat;

  @media (max-width: 991px) {
    display: block;
    padding: 1.5rem;
  }
}

.support-item {
  display: flex;
  flex: 1 1 0;

  @media (max-width: 991px) {
    flex: none;
    padding: 20px 0;
    font-size: 14px;

    &:nth-child(2) {
      border-bottom: 1px solid #833676;
      border-top: 1px solid #833676;
    }
  }

  .support-pic {
    flex: 0 0 auto;
    width: 225px;

    @media (max-width: 991px) {
      width: 20%;
    }

    img {
      width: 100%;
    }
  }

  .support-bod {
    flex: 1 1 0;
    padding: 2rem 1rem 1rem;

    @media (max-width: 991px) {
      padding: 0;
    }

    h3 {
      color: var(--white);
      font-size: 1.5rem;
      font-weight: var(--fw-semibold);
      margin: 0 0 0.5rem 0;
    }

    p {
      color: var(--white);
      margin: 0 0 1rem 0;
    }

    .btn-more {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      border: 1px solid var(--white);
      border-radius: 50%;
      @include transEase;

      @media (max-width: 991px) {
        width: 36px;
        height: 36px;
      }

      &:hover {
        background-color: var(--color-100);
        border-color: var(--color-100);
      }
    }
  }
}

.choose-sec {
  background-image: url(../images/bg-shade-pink-left.png),
    url(../images/bg-shade-blue-right.png);
  background-position: 0 center, right bottom;
  background-repeat: no-repeat;
}

// Letter spacing
$letter-spacings: (
  1: 1px,
  2: 2px,
  3: 3px,
  n1: -1px,
);

@each $name, $value in $letter-spacings {
  .ls-#{$name} {
    letter-spacing: $value;
  }
}

// services
.banner-inner {
  position: relative;
  border-radius: 15px;
  overflow: hidden;

  img {
    border-radius: 15px;
    height: 335px;
  }

  &::after {
    background-color: #302783;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 70%;
    content: "";
    position: absolute;
    border-radius: 15px;
    z-index: 1;
  }

  .search {
    min-width: 430px;

    .form-control {
      &::placeholder {
        font-size: 14px;
      }

      &:focus {
        border: 0;
        box-shadow: none;
      }
    }
  }
}

.content-wraper {
  padding: 5px 0 200px;
}

.simplebar-scrollbar:before {
  background-color: var(--color-100);
}

.service-selector {
  border-bottom: 1px solid #ececec;
  display: flex;
  justify-content: center;
  align-items: center;

  ul {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    align-items: center;

    li {
      list-style: none;
      display: inline;
      font-weight: 800;
      font-size: 20px;
      padding: 0 8px;

      img {
        margin-right: 5px;
      }

      a {
        color: #151414;
        white-space: nowrap;
        display: flex;
        padding: 15px 39px;
        display: flex;
        align-items: center;
        border-bottom: 2px solid transparent;
        @include transEase;
      }

      &.active,
      &:hover {
        a {
          border-bottom: 2px solid #312883;
        }
      }
    }
  }
}

.service-wraper {
  .service-nav {
    min-width: 348px;
    max-width: 348px;
    border: 1px solid #f2e9e9;
    border-radius: 15px;
    overflow: hidden;
    position: sticky;
    top: 80px;

    @media (max-width: 991px) {
      position: relative;
      width: 100%;
      max-width: 100%;
      top: 0;
    }

    .nav-hed {
      border-bottom: 1px solid #90288f;
      padding: 10px 20px 20px;

      .togler {
        height: 14px;
        width: 30px;
        position: relative;

        .span-1,
        .span-2 {
          position: absolute;
          left: 0;
          width: 100%;
          height: 2px;
          background-color: #151414;
          @include transEase;
        }

        .span-1 {
          top: 0;
        }

        .span-2 {
          bottom: 0;
        }
      }
    }

    .togler {
      height: 14px;
      width: 30px;
      position: relative;
      cursor: pointer;

      .span-1,
      .span-2 {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #151414;
        transition: all 0.4s ease;
        @include transEase;
      }

      .span-1 {
        top: 0;
      }

      .span-2 {
        bottom: 0;
      }
    }

    &.closed {
      .service-nav-content {
        max-height: 0;
        opacity: 0;
      }

      .togler {
        .span-1 {
          transform: rotate(45deg) translateY(8px);
        }

        .span-2 {
          transform: rotate(-45deg) translateY(-9px);
        }
      }
    }

    &.open {
    }
  }

  .service-nav-content {
    max-height: calc(100vh - 300px);
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.4s ease;

    @media (max-width: 991px) {
      max-height: 400px;
      left: 0;
      top: 100%;
    }

    .sub-nav {
      padding: 0 0 0 20px;

      li {
        a {
          padding: 6px 0;
          border-bottom: 1px solid #ececec;
          display: block;
          color: #151414;
          font-size: 14px;

          &:hover {
            background: #f0f0f0;
            padding: 6px 8px;
          }

          @include transEase;
        }

        &:last-child {
          a {
            border-bottom: 0;
          }
        }
      }
    }

    .accordion {
      .accordion-item {
        border: 0;
        border-bottom: 1px solid #ececec !important;
        &:last-child {
          border-bottom: 0c !important;
        }
        .accordion-button {
          border: 0;
          background-color: transparenr;
          box-shadow: none;
          padding-left: 35px !important;
          font-weight: 700;
        }
        .accordion-button:not(.collapsed) {
          background-color: #fcfafc;
        }
        .accordion-body {
          padding: 0px 17px;
        }
      }
      .accordion-item:first-of-type .accordion-button,
      .accordion-item:last-of-type .accordion-button.collapsed,
      .accordion-item:first-of-type {
        border-radius: 0 !important;
      }
    }
  }

  .service-slider {
    max-width: 1124px;
    @media (max-width: 1320px) {
      max-width: 947px;
    }
    @media (max-width: 1140px) {
      max-width: 764px;
    }
    @media (max-width: 960px) {
      max-width: 100%;
    }
  }
}

.service-item {
  border-radius: 15px;
  padding: 35px 4px 4px;
  &:hover {
    background-color: #ebebeb;
  }
  &.recomended {
    background: linear-gradient(to right, #92278f 0%, #2e3192 100%);
    background-size: 400% 400%;
    animation: btnGradient 2s ease infinite;
  }
  .inner {
    border: 1px solid #f2e9e9;
    background-color: #ffffff;
    border-radius: 15px;
    .badge {
      background-color: #ffeea9;
      font-size: 14px;
    }
  }

  ul li {
    display: flex;
    align-items: center;
    gap: 2;
    font-size: 15px;
    padding: 0 0 10px;
    font-weight: 500;
    .icon {
      border: 1px solid #f2e9e9;
      border-radius: 5px;
      width: 25px;
      height: 25px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 6px;
    }
  }
}

.custom-check[type="checkbox"] {
  accent-color: var(--color-100);
  /* Bootstrap primary */
  width: 21px;
  height: 21px;
  border-radius: 4px;
}

/* Border color when unchecked */
.custom-check[type="checkbox"] {
  border: 2px solid var(--color-100);
  border-radius: 4px;
}

/* Checked state */
.custom-check[type="checkbox"]:checked {
  background-color: var(--color-100);
  /* Bootstrap success */
  border-color: var(--color-100);
}

.service-feat-item {
  position: relative;
  min-height: calc(100% - 1.5rem);
  padding: 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: 1rem;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  @include transEase;
  .feat-icon {
    position: relative;
    width: 90px;
    margin-bottom: 1rem;
    img {
      width: 100%;
    }
  }
  .feat-body {
    min-height: 90px;
    h3 {
      font-size: 1.5rem;
      font-weight: var(--fw-semibold);
      margin: 0;
    }
  }
  &:hover {
    border-color: var(--color-100);
  }
}
