@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("./root.css");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1180px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

nav {
  padding: 18px 0;
  border-bottom: 1px solid #0101011f;
}

.logo-size {
  width: 85px;
}

.nav-link {
  color: var(--color-medium-gray);
  transition: all 0.3s linear;
  line-height: 160%;
  text-decoration: none !important;

  &:hover {
    color: var(--color-royal-blue);
    -webkit-text-stroke: 0.5px var(--color-royal-blue);
  }
}

.nav-contact-us {
  padding: 16px 32px;
  border: 1px solid var(--color-royal-blue);
  color: var(--color-royal-blue);
  border-radius: 50px;
  line-height: 100%;
  transition: all 0.3s linear;
  background-color: transparent;

  &:hover {
    background-color: var(--color-royal-blue);
    color: white;
  }
}

.gap-hero {
  gap: 35px;
}

.py-hero {
  padding: 70px 0;
}

.left-side-content-hero {
  max-width: 482px;

  h1 {
    font-weight: 500;
    line-height: 120%;
    color: var(--color-dark-black);

    span {
      font-weight: 600;
      margin-top: 3px;
      color: var(--color-royal-blue);
      padding: 0 5px;
      display: inline-block;
      border: 1px dashed var(--color-blue);

      .set-cursor {
        position: absolute;
        z-index: -1;
        right: -20px;
        bottom: -16px;
        width: 24px;
        height: 24px;
      }
    }
  }

  div.cta {
    margin-top: 32px;
  }

  .hero-paragraph {
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    max-width: 396px;
    color: var(--color-medium-gray);
  }

  .start-story {
    padding: 16px 32px;
    border: 1px solid var(--color-blue);
    background-color: var(--color-blue);
    color: var(--color-light-white);
    border-radius: 50px;
    line-height: 100%;
    transition: all 0.3s linear;

    &:hover {
      background-color: white;
      color: var(--color-blue);
    }
  }

  .rating-card {
    background-color: var(--color-off-white);
    box-shadow: 0px 4px 15.5px 0px #00000014;
    padding: 12px;
    border-radius: 12px;

    .group-person {
      width: 68px;
      height: 30px;
    }

    .rating-icons {
      width: 84px;
      height: 14px;
    }

    .mt_2 {
      margin-top: 2px;
    }

    span {
      display: inline-block;
      font-weight: 400;
      font-size: 12px;
      line-height: 100%;
      color: var(--color-medium-gray);
    }
  }
}

.right-side-content-hero {
  max-width: 623px;
  width: 100%;

  .hero-image {
    width: 100%;
  }
}

.slider-section {
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 54px;

  .gap-slides {
    padding-left: 80px;
    gap: 80px;

    img {
      opacity: 0.8;
      transition: all 0.3s linear;

      &:hover {
        opacity: 1;
      }
    }
  }

  .animation-x {
    animation: x-move 20s linear infinite;
  }

  @media (max-width: 576px) {
    padding-bottom: 0;
  }
}

@keyframes x-move {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.modal-contact {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 30;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.676);
  transition: all 0.2s linear;
}

.modal-contact.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.no-scroll-contact {
  overflow: hidden;
}

.contact-container {
  max-width: 1140px;
  margin-left: auto;
  width: 100%;
  margin-right: auto;
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  max-height: 90vh;
  overflow-y: scroll;

  .gap-contact-form {
    gap: 38px;
  }

  .contact-form {
    box-shadow: 0px 4px 17.4px 0px #00000014;
    padding: 20px;
    max-width: 550px;
    width: 100%;
    border-radius: 12px;
    background-color: var(--color-off-white);

    .mb_2 {
      margin-bottom: 2px;
    }

    .form-input {
      font-size: var(--fs-md);
      color: black;
      line-height: 120%;
      padding: 16px;
      background-color: var(--color-dim-gray);
      border: none;
      width: 100%;
      outline: none;
      border-radius: 6px;
    }

    .form-select {
      font-size: var(--fs-md);
      color: black;
      line-height: 120%;
      padding: 16px;
      width: 100%;
      background-color: var(--color-dim-gray);
      box-shadow: none !important;
      border: none !important;
      outline: none !important;
      border-radius: 6px;
    }

    .form-textarea {
      font-size: var(--fs-md);
      color: black;
      line-height: 120%;
      padding: 16px;
      background-color: var(--color-dim-gray);
      box-shadow: none !important;
      border: none !important;
      outline: none !important;
      display: block;
      width: 100%;
      resize: none;
      border-radius: 6px;
    }

    .btn-submit-form {
      padding: 16px;
      width: 100%;
      line-height: 100%;
      border: 1px solid var(--color-blue);
      background-color: var(--color-blue);
      color: var(--color-light-white);
      border-radius: 50px;
      transition: all 0.3s linear;

      &:hover {
        color: var(--color-blue);
        background-color: white;
      }
    }

    .form-input::placeholder {
      color: #000000b3;
    }
  }

  .image-right {
    max-width: 504px;

    img {
      height: auto;
      width: 100%;
    }
  }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: black;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 200px 200px var(--color-dim-gray);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 12px;
}

.difference-section {
  margin-top: 60px;
  .row {
    row-gap: 40px;

    .card {
      background-color: var(--color-off-white);
      border: none;
      border-radius: 12px;
      box-shadow: 0px 4px 17.4px 0px #00000014;
      transition: all 0.3s ease;
      padding: 40px 25px;
      height: 100%;
      align-items: center;

      .icon {
        margin-bottom: 10px;
        transition: all 0.3s ease;
        color: var(--color-blue);
      }

      h5 {
        font-family: "Poppins", sans-serif;
        font-weight: 600;
        margin-bottom: 4px;
        line-height: 150%;
        color: var(--color-dark-black);
        font-size: var(--fs-xl);
        transition: all 0.3s ease;
        text-align: center;
      }

      p {
        text-align: center;
        color: var(--color-medium-gray);
        font-size: var(--fs-md);
        font-family: "Inter", sans-serif;
        font-weight: 400;
        margin: 0;
        line-height: 163%;
        transition: all 0.3s ease;
      }

      &:hover {
        background-color: var(--color-royal-blue);
        box-shadow: none;

        h5 {
          color: var(--color-off-white);
        }

        p {
          color: var(--color-off-white);
        }

        .icon {
          color: var(--color-off-white);
        }
      }
    }
  }
}

.about-section {
  .about-text {
    display: flex;
    flex-direction: column;

    p {
      max-width: 449px;
      margin-bottom: 32px;
    }

    .btn-custom {
      background: var(--color-blue);
      color: var(--color-light-white);
      font-weight: 600;
      border-radius: 50px;
      transition: all 0.3s ease;
      text-decoration: none;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 151px;
      font-family: "Inter", sans-serif;

      &:hover {
        background: transparent;
        border: 1px solid var(--color-blue);
        color: var(--color-blue);
      }
    }
  }

  .about-image {
    img {
      height: 496px;
      max-width: 486px;
    }
  }
}

.solutions-section {
  p {
    max-width: 627px;
    margin: auto;
  }

  .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 50px;

    .mbc-image {
      max-width: 485px;
      height: 473px;
    }

    .right-list {
      flex: 1;
      min-width: 250px;

      .list-group {
        .list-group-item {
          border: none;
          border-bottom: 1px solid var(--color-off-black);
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 24px;
          font-weight: 600;
          font-family: "Poppins", sans-serif;
          line-height: 100%;
          color: var(--color-medium-dark-gray);
          font-size: var(--fs-xl);
          transition: all 0.3s ease;

          &:hover {
            background-color: var(--color-neutral-gray);
            color: var(--color-royal-blue);
            border-bottom: 1px solid transparent;

            .custom-arrow {
              background: var(--color-royal-blue);
              color: var(--color-off-white);
            }
          }
        }

        cursor: pointer;

        .custom-arrow {
          width: 40px;
          height: 40px;
          border-radius: 30px;
          background: var(--color-pale-gray);
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
        }
      }
    }
  }
}

.py-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.common-heading {
  font-size: var(--fs-4xl);
  line-height: 120%;
  font-weight: 500;
  color: var(--color-dark-black);
}

.value-cards {
  max-width: 324px;
  background-color: var(--color-off-white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0px 0px 54px 0px #0000000d;
  transition: all 300ms ease-in-out;
}

.value-cards:hover {
  background-color: var(--color-blue);
}

.value-cards h3 {
  font-size: var(--fs-xl);
  line-height: 150%;
  color: var(--color-dark-gray);
  transition: all 300ms ease-in-out;
}

.value-cards:hover h3 {
  color: var(--color-off-white);
}

.value-cards:hover svg path {
  fill: var(--color-off-white);
}

.value-row-width {
  max-width: 1036px;
}

.value-cards svg {
  width: 54px;
  height: 54px;
}

/* slider client */

.client-swiper {
  overflow: hidden;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 100%;
  background-color: var(--color-primary-white);
  border: none;
  position: static !important;
  transition: all 300ms linear;
}

.slider-btn svg {
  width: 24px !important;
  height: 24px !important;
}

.slider-btn svg path {
  transition: all 300ms linear;
}

.slider-btn:hover {
  background-color: var(--color-blue);
}

.slider-btn:hover svg path {
  fill: var(--color-off-white);
}

.client-slider-card {
  max-width: 100%;
  background-color: var(--color-primary-white);
  border-radius: 24px;
  border: 1px solid transparent;
  transition: all 300ms linear;
}

.client-slider-card:hover {
  border: 1px solid var(--color-blue);
}

.client-slider-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1em;
}

.client-profile {
  border-top: 1px solid #e1e1e1;
  gap: 12px;
}

.ready-card {
  max-width: 1140px;
  background-color: var(--color-blue);
  border-radius: 24px;
  padding: 34px 16px;
  transform: translateY(80px);
  margin-top: -80px;
}

.max-w-523 {
  max-width: 523px;
}

.white-btn {
  background-color: var(--color-off-white);
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid transparent;
  color: var(--color-blue);
  line-height: 100%;
  transition: all 300ms ease-in-out;
}
.white-btn:hover {
  background-color: transparent;
  border: 1px solid var(--color-off-white);
  color: var(--color-off-white);
}
.footer-bg {
  background-color: var(--color-dark-black);
  padding-top: 130px;
}

.footer-container {
  max-width: 1175px;
  margin-bottom: 60px;
}

.mb-12 {
  margin-bottom: 12px;
}

.footer-line {
  border: 1px solid var(--color-royal-black);
}

.footer-logo {
  width: 110px;
  height: 90px;
}

.trust-logo {
  width: 140px;
  height: 60px;
}

.profile-img {
  width: 50px;
  height: 50px;
}

.footer-hover {
  position: relative;
  width: fit-content;
}

.footer-hover::after {
  position: absolute;
  content: "";
  height: 1px;
  border-radius: 4px;
  background-color: var(--color-off-white);
  left: 0;
  bottom: -1px;
  right: 100%;
  transition: all 300ms linear;
}

.footer-hover:hover::after {
  right: 0;
}

@media (min-width: 576px) {
  .py-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (min-width: 768px) {
  .value-cards {
    max-width: 324px;
    padding: 32px;
    min-height: 270px;
  }

  .value-cards svg {
    width: 82px;
    height: 82px;
  }

  .footer-logo {
    width: 148.75px;
    height: 112px;
  }

  .mb-50 {
    margin-bottom: 50px !important;
  }

  .trust-logo {
    width: 171px;
    height: 81px;
  }

  .ready-card {
    padding: 60px 24px;
    transform: translateY(110px);
    margin-top: -110px;
  }

  .footer-bg {
    padding-top: 190px;
  }

  .py-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .slider-btn {
    width: 60px !important;
    height: 60px !important;
  }

  .slider-btn svg {
    width: 32px !important;
    height: 32px !important;
  }
}
@media (min-width: 992px) {
  .client-slider-card {
    max-width: 364px;
  }
}
@media (min-width: 1046px) {
  .pb-68 {
    padding-bottom: 68px !important;
  }
}

@media (max-width: 1140px) {
  .right-side-content-hero {
    max-width: 495px;
  }

  .contact-container {
    .image-right {
      max-width: 404px;
    }
  }
}

@media (max-width: 1199.98px) {
  .solutions-section {
    .content-wrapper {
      margin-top: 40px;

      .mbc-image {
        max-width: 445px;
        height: 433px;
      }
    }
  }

  .about-section {
    .about-image {
      text-align: center;

      img {
        height: 456px;
        max-width: 446px;
      }
    }
  }
}

@media (max-width: 991.98px) {
  .about-section {
    .about-text {
      display: flex;
      flex-direction: column;

      p {
        max-width: 600px;
        margin-bottom: 32px;
      }
    }

    .about-image {
      text-align: center;

      img {
        height: 350px;
        max-width: 343px;
      }
    }
  }

  .solutions-section {
    .content-wrapper {
      .mbc-image {
        max-width: 385px;
        height: 372px;
      }
    }
  }

  .right-side-content-hero {
    max-width: unset;
    text-align: center;
  }

  .right-side-content-hero {
    img {
      height: 300px;
      width: auto !important;
    }
  }

  .left-side-content-hero {
    max-width: unset;
    text-align: center;

    .hero-paragraph {
      margin: auto;
    }

    div.cta {
      justify-content: center;
      margin-top: 12px;
    }
  }

  .nav-contact-us {
    padding: 12px 24px;
  }

  .contact-container {
    padding: 16px;

    .contact-form {
      max-width: unset;
    }
  }
}

@media (max-width: 767.98px) {
  .difference-section {
    margin-top: 30px;
    .row {
      row-gap: 24px;
      margin-top: 24px;

      .card {
        padding: 20px;
      }
    }
  }

  .mobile-view {
    position: fixed;
    top: 0 !important;
    right: -100% !important;
    background-color: rgb(255, 255, 255);
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    z-index: 20;
    transition: all 0.3s linear;
  }

  #nav-toggle {
    cursor: pointer;
    position: relative;
    z-index: 22;
  }

  #nav.nav-active .mobile-view {
    right: 0 !important;
  }

  #nav.nav-active .active {
    display: block !important;
  }

  #nav.nav-active .not-active {
    display: none !important;
  }

  body.no-scroll {
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  .about-section {
    .about-text {
      p {
        margin-bottom: 24px !important;
      }
    }

    .about-image {
      text-align: center;

      img {
        height: 286px;
        max-width: 276px;
      }
    }
  }

  .solutions-section {
    .content-wrapper {
      margin-top: 40px;

      .mbc-image {
        max-width: 285px;
        height: 272px;
      }

      .right-list {
        flex: 1;
        min-width: 250px;

        .list-group {
          .list-group-item {
            font-size: var(--fs-xl);
            padding: 16px 10px;
          }

          .custom-arrow {
            width: 30px;
            height: 30px;
            border-radius: 20px;
          }
        }
      }
    }
  }

  .right-side-content-hero {
    img {
      height: auto;
      width: 100% !important;
    }
  }

  .py-hero {
    padding: 50px 0;
  }

  .logo-size {
    width: 65px;
  }
}

.spacing-y-section {
  padding: 60px 0;

  @media (max-width: 768px) {
    padding: 30px 0;
  }
}

.transition-03 {
  transition: all 0.3s ease-in-out;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 16px;
  right: calc((100vw - 1500px) / 2);
  background: var(--color-royal-blue);
  border: 1px solid transparent;
  width: 40px;
  height: 40px;
  box-shadow: 0px 4px 50px 0px #0000001a;
  opacity: 0;
  pointer-events: none;
  transform: translateY(200%);

  &:hover {
    background: var(--color-dark-black);
    border: 1px solid white;
  }

  @media (max-width: 1536px) {
    right: 16px;
  }
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 0;
  margin: 60px 0;
  background: #f9f9f9;
  @media (max-width: 768px) {
    padding: 60px 0;
    margin: 30px 0;
  }
  .container {
    max-width: 1120px !important;

    .line-wrapper {
      position: absolute;
      max-width: 850px;
      left: 8%;
      right: 8%;
      top: 19px;
      height: 3px;
      z-index: 1;
      pointer-events: none;

      @media (max-width: 1120px) {
        max-width: 75%;
      }
      @media (max-width: 991.8px) {
        display: none;
      }

      .bg-line {
        position: absolute;
        inset: 0;
        background: var(--color-light-gray);
        border-radius: 999px;
      }

      .fill-line {
        position: absolute;
        inset: 0;
        background: var(--color-royal-blue);
        border-radius: 999px;
        transform-origin: left center;
        transform: scaleX(0);
      }
    }

    /* steps above the line */
    .how-it-works-cards {
      z-index: 3;

      p {
        max-width: 237px;

        @media (max-width: 992px) {
          max-width: 300px;
        }
      }
    }

    .step-circle {
      width: 40px;
      height: 40px;
      background: var(--color-light-gray);
      color: var(--color-dark-black);
      transition: all 0.25s ease;
    }

    .active .step-circle {
      background: var(--color-royal-blue);
      color: var(--color-off-white);
    }
  }
}

/* === WHY CHOSE US ==== */
.why-chose-us {
  .container {
    .content-why-choose-us {
      max-width: 582px;

      @media (max-width: 992px) {
        max-width: 100%;
      }

      .why-choose-card {
        box-shadow: 0px 4px 12.8px 0px #0000000a;
        border-radius: 12px;
        padding: 20px;
        border: 1px solid transparent;

        &:hover {
          border: 1px solid var(--color-blue);
        }

        @media (max-width: 576px) {
          padding: 12px;
        }
      }
    }

    .why-choose-us-image {
      max-width: 528px;

      @media (max-width: 1280px) {
        max-width: 470px;
      }

      @media (max-width: 992px) {
        max-width: 400px;
      }
      @media (max-width: 576px) {
        max-width: 285px;
      }
    }
  }
}

/* === OUR VALUES === */
.our-values {
  .container {
    max-width: 1084px !important;

    .our-values-cards {
      box-shadow: 0px 0px 54px 0px #0000000d;
      padding: 32px;

      &:hover {
        box-shadow: none;
        background: var(--color-blue);

        .icons {
          color: var(--color-off-white);
        }

        h4 {
          color: var(--color-off-white);
        }
      }

      @media (max-width: 992px) {
        padding: 20px;

        svg {
          width: 60px;
          height: 60px;
        }
      }
    }
  }
}
