/* Base Styles */
@font-face {
  font-display: block;
  font-family: bootstrap-icons;
  src: url(fonts/bootstrap-icons.woff2?e34853135f9e39acf64315236852cd5a)
      format("woff2"),
    url(fonts/bootstrap-icons.woff?e34853135f9e39acf64315236852cd5a)
      format("woff");
}

:root {
  --bs-primary: #377dff;
  --bs-primary-rgb: 55, 125, 255;
}

body {
  font-family: "Inter", Roboto;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Inter, Roboto;
}

.font-inter {
  font-family: "Inter", Roboto;
}

.font-poppins {
  font-family: Poppins, Roboto;
}

/* section:nth-of-type(2n + 1) { */
/* background-color: oklch(96.7% 0.001 286.375); */
/* background-color: rgba(55, 125, 255, 0.08); */
/* } */

section:has(.hero),
section:has(.business) {
  background-color: rgba(55, 125, 255, 0.08);
}

/* Header */

.navbar-light .top-menu .nav-link {
  font-size: 0.875rem;
  font-weight: normal;
}

.navbar-light .top-menu .nav-link:hover {
  text-decoration: underline;
}

.top-menu {
  padding: 0.6rem 0;
}

.top-menu .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: lighter;
  padding-top: 0;
  padding-bottom: 0;
}

.top-menu .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.top-menu .navbar-toggler {
  border: 0;
  color: #ffffff;
}

.top-menu .navbar-topbar-toggler .navbar-toggler {
  color: #000000;
  border: 1px solid #e0e0e0;
}

.top-menu .navbar-toggler .navbar-toggler-text {
  color: #ffffff;
}

.header-btn {
  display: flex;
  background-color: #27c229;
  border-radius: 8px;
  border: none;
  height: 33px;
  font-weight: bold;
  padding: 0.5rem 1rem;
  line-height: 17px;
  font-size: 0.875rem;
  color: #ffffff;
}

.header-btn:hover {
  color: #ffffff;
  background-color: #27c229;
}

.mega-menu-icon {
  visibility: hidden;
  transition: left 0.1s ease 0s;
}

.navbar-dropdown-menu-promo-link:hover:not(.disabled):not(:disabled)
  .mega-menu-icon {
  visibility: visible;
  margin-left: 1rem;
}

.dropdown-toggle::after {
  transition: all 0.3s;
}

.nav-item:hover .dropdown-toggle::after {
  transform: scale(-1.1);
}

.navbar-dropdown-menu-inner .dropdown-item,
.main-menu .dropdown-menu .dropdown-item {
  position: relative;
}

.navbar-dropdown-menu-inner .dropdown-item::after,
.main-menu .dropdown-menu .dropdown-item::after {
  content: "\f138";
  position: absolute;
  right: 20px;
  top: 8px;
  font-family: bootstrap-icons !important;
  visibility: hidden;
  transition: ease-in 0.2s;
  color: #377dff;
}

.navbar-dropdown-menu-inner .dropdown-item::before,
.main-menu .dropdown-menu .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  height: 15px;
  background-color: #377dff;
  width: 3px;
  border-radius: 10px;
  visibility: hidden;
  transition: ease 0.2s;
}

.navbar-dropdown-menu-inner .dropdown-item:hover::before,
.main-menu .dropdown-menu .dropdown-item:hover:before {
  visibility: visible;
  left: -1px;
}

.navbar-dropdown-menu-inner .dropdown-item:hover::after,
.main-menu .dropdown-menu .dropdown-item:hover:after {
  visibility: visible;
  right: 15px;
}

@media (max-width: 991.98px) {
  .top-menu .navbar-nav .nav-link {
    color: #002d4b;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-weight: normal;
    border: none !important;
  }
}

nav {
  .header-logo {
    max-width: 7rem;
  }
}

/* Hero Section */

section:has(.hero) {
  /* background-color: rgba(55, 125, 255, 0.08); */
  background-image: radial-gradient(white, #d7e3f6 70%);
  /* position: relative; */
}

.hero {
  position: relative;

  .text {
    position: relative;
    max-width: 832px;
    margin: 0 auto;
    padding: 5rem 0;

    h3 {
      font-size: 28px;
      font-weight: 600;
      text-align: center;
    }

    .hero-title {
      font-size: 48px;
      color: #332c5c;
      line-height: 1.3;
      margin-bottom: 2rem;
      text-align: center;
    }

    p {
      font-size: 20px;
      line-height: 1.4;
    }

    .hero-btns {
      button {
        padding: 18px 32px;
        border-radius: 15px;
        font-size: 18px;
        font-weight: bold;

        &.btn-outline-primary {
          border-color: var(--bs-primary);
        }
      }
    }
  }
}

@media (max-width: 875px) {
  .hero {
    .text {
      .hero-title {
        padding-top: 2rem;
        font-size: 32px;
      }

      p {
        font-size: 16px;
      }

      .hero-btns {
        padding-bottom: 1rem;
        button {
          padding: 0.75rem 1.5rem;
          border-radius: 15px;
          font-size: 16px;
          font-weight: bold;
        }
      }
    }
  }
}

/* Features Section */

.features {
  padding: 4rem 0;

  h2 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.3;
    color: #332c5c;
    text-align: center;
    margin-bottom: 2rem;
  }

  p.subheading {
    text-align: center;
    font-size: 24px;
    line-height: 1.4;
    padding: 0rem 3rem;

    &.text-primary {
      font-size: 22px;
      font-weight: 600;
    }
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* max-width: 1000px; */
    margin: 0 auto;
    place-items: center;
    gap: 1rem;
    padding-top: 4rem;

    text-align: center;

    .feature-card {
      padding: 1rem;
      border-radius: 0.75rem;
      height: 100%;
      display: flex;
      flex-direction: column;

      .img-container {
        margin-bottom: 2.5rem;

        .card-img {
          border: 1px solid rgba(0, 0, 0, 0.25);
          box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.25);
          border-radius: 0.25rem;
        }
      }

      .card-text {
        color: #4d4d4d;
        flex-grow: 1;
        display: flex;
        flex-direction: column;

        h3 {
          font-size: 20px;
          /* line-height: 40px; */
          font-weight: bold;
          padding-bottom: 0.5rem;
        }

        p {
          font-size: 16px;
          font-weight: 300;
          /* line-height: 22px; */
          color: #4f4f4f;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .features {
    h2 {
      font-size: 32px;
      padding: 0 0.5rem;
    }

    p.subheading {
      font-size: 18px;
      padding: 0 1rem;
    }

    .feature-grid {
      grid-template-columns: 1fr;
    }
  }
}

/* Business Section */

.business {
  padding: 4rem 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  h2 {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.3;
    color: #332c5c;
    margin-bottom: 2rem;
  }

  .business-card {
    background-color: white;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;

    .img-container {
      border: 1px solid #e3dbd8;
      border-radius: 50%;
      aspect-ratio: 3/4;
      max-width: 75px;
      width: 100%;
      margin-bottom: 2.5rem;

      display: flex;
      align-items: center;
      justify-content: center;

      svg.card-img {
        width: 42px !important;
        color: #332c5c;
        aspect-ratio: 1;
      }

      img {
        width: 36px;
      }
    }

    .card-text {
      h3 {
        font-size: 22px;
        font-weight: bold;
        padding-bottom: 1.25;
        color: #377dff;
      }

      p {
        font-size: 16px;
      }
    }
  }
}

@media (max-width: 768px) {
  .business {
    grid-template-columns: 1fr;

    h2 {
      font-size: 32px;
      padding: 0 0.5rem;
      text-align: center;
    }

    .business-card {
      text-align: center;

      .img-container {
        margin: 0 auto;
      }
    }
  }
}

/* C2A */
.c2a {
  padding: 4rem 0;
  background-color: white !important;

  .content {
    border-radius: 2rem;
    background-color: #387ff5;
    padding: 2rem 3rem;

    display: grid;
    grid-template-columns: 3fr 2fr;
    place-items: center;

    .left {
      h2 {
        font-size: 48px;
        font-weight: bold;
        color: white;
        margin-bottom: 2rem;
      }

      button {
        background-color: white;
        font-size: 18px;
        color: #377dff;
        border: none;
        border-radius: 15px;
        padding: 1rem 1.5rem;
      }
    }

    .right {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      .c2a-card {
        display: flex;
        gap: 1rem;
        border-radius: 1rem;
        background-image: linear-gradient(
          to bottom right,
          rgba(255, 255, 255, 0.15),
          rgba(255, 255, 255, 0.25)
        );
        color: white;

        padding: 0.5rem;

        .card-icon-container {
          background-color: rgba(255, 255, 255, 0.1);
          border-radius: 0.75rem;
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 0.75rem;

          .card-icon {
            width: 24px;
            aspect-ratio: 1;
          }
        }

        .card-text {
          padding: 0.25rem 0;

          h3 {
            color: white;
            font-size: 1rem;
            font-weight: 500;
          }

          p {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0;
          }
        }
      }
    }
  }

  .img {
    display: flex;
    place-items: center;

    .c2a-img {
      width: 100%;
      height: auto;
      max-width: 400px;
    }
  }

  .text {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

    h3 {
      font-size: 28px;
      font-weight: 600;
      line-height: 1.4;
      color: white;
    }

    button {
      border-radius: 1rem;
      color: var(--bs-primary);
      font-size: 1.2rem;
      font-weight: bold;
      padding: 1rem 2rem;
    }

    p {
      font-size: 14px;
      line-height: 1.5;
    }
  }
}

@media (max-width: 768px) {
  .c2a {
    padding: 4rem 1rem;

    .content {
      grid-template-columns: 1fr;
      padding: 2rem 1rem;
      gap: 2rem;

      .left {
        padding: 1rem;

        h2 {
          font-size: 26px;
        }

        button {
          padding: 1rem 0.75rem;
          width: 100%;

          a {
            font-size: 14px;
            font-weight: 600;
          }
        }
      }

      .right {
        .c2a-card {
          gap: 0.5rem;

          .card-text {
            h3 {
              font-size: 18px;
            }

            p {
              font-size: 14px;
              margin-bottom: 0;
            }
          }
        }
      }
    }
  }
}

/* FAQ Section */

.faq {
  padding: 4rem 0;

  h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    color: #332c5c;
    text-align: center;
    /* padding-bottom: 2rem; */
  }

  .accordion {
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: black;
    --bs-accordion-border-width: 1px;
    --bs-accordion-border-color: var(--bs-primary);
    --bs-accordion-bg: transparent;

    .accordion-item:not(:first-of-type) {
      border-top-style: solid;
      border-top-width: var(--bs-accordion-border-width);
      border-top-color: var(--bs-accordion-border-color);
    }

    .accordion-button {
      /* border-top: none; */
      box-shadow: none;
      font-weight: 600;
      color: #332c5c;

      /* &.first-btn {
        border-top: none;
      } */

      &::after {
        background-color: var(--bs-primary);
        padding: 1rem;
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke-width%3D%221.5%22%20stroke%3D%22white%22%3E%3Cpath%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20d%3D%22m19.5%208.25-7.5%207.5-7.5-7.5%22%20%2F%3E%3C%2Fsvg%3E");
        background-position: center;
        border-radius: 50%;
        outline: none;
      }
    }
  }
}

@media (max-width: 768px) {
  .faq {
    padding: 4rem 1rem;

    h2 {
      font-size: 32px;
    }
  }

  .accordion {
    padding: 1rem 0.5rem;
  }
}

/* Try Now Section */

.try {
  padding: 4rem 0;
  background-color: white !important;

  .content {
    border-radius: 2rem;
    background-color: #4976e7;
    padding: 1rem 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
  }

  .img {
    display: flex;
    place-items: center;

    .c2a-img {
      width: 100%;
      height: auto;
      max-width: 400px;
    }
  }

  .text {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;

    h3 {
      font-size: 28px;
      font-weight: 600;
      line-height: 1.4;
      color: white;
    }

    button {
      border-radius: 1rem;
      color: var(--bs-primary);
      font-size: 1.2rem;
      font-weight: bold;
      padding: 1rem 2rem;
    }

    p {
      font-size: 14px;
      line-height: 1.5;
    }
  }
}

@media (max-width: 768px) {
  .try {
    padding: 4rem 1rem;

    .content {
      grid-template-columns: 1fr;
      padding: 2rem 1rem;

      h3 {
        font-size: 24px;
      }

      .text {
        text-align: center;

        button {
          margin: 0 auto;
        }
      }
    }
  }
}

/* External Links Section */
section:has(.external-links) {
  background-color: oklch(96.7% 0.001 286.375);
}

.external-links {
  padding: 4rem 0;

  h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: #332c5c;
    text-align: center;
    padding-bottom: 2rem;
  }

  .link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    padding: 2rem 0;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .external-links {
    padding: 4rem 1rem;

    h2 {
      font-size: 24px;
    }

    .link-grid {
      padding: 0rem 0;
      grid-template-columns: 1fr;
    }
  }
}

/* Footer */

footer {
  /* padding-top: 5em; */

  a {
    text-decoration: none;
  }

  .link-sm {
    font-size: 0.875rem;
  }

  .pointer {
    cursor: pointer;
  }

  .text-white-70 {
    --bs-text-opacity: 1;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .text-decoration-underline {
    text-decoration: underline !important;
  }

  .icon {
    width: 24px;
    aspect-ratio: 1;
    text-decoration: underline;
  }

  .navbar-brand-logo {
    max-width: 7rem;
  }

  .mb-7 {
    margin-bottom: 3rem;
  }

  .list-separator .list-inline-item:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    transform: translateY(-50%);
    content: "/";
    opacity: 0.4;
  }

  .list-separator-light .list-inline-item::after {
    color: #fff;
  }

  .social-icon {
    width: 24px;
    aspect-ratio: 1;
    color: white;
  }
}

/* Style Overwrites */

.dropdown-toggle::after {
  border: none;
}

.navbar-absolute-top {
  position: static;
}

.hs-mega-menu {
  left: 0;
}

#topbarNavDropdown {
  z-index: 100;
}

.container {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

button.btn a {
  color: currentColor;
}

.hero-bg {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  max-height: 100%;

  &.left {
    left: 0;
  }

  &.right {
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  .hero-bg {
    display: none;
  }
}

.accordion-body {
  padding-right: 4rem;
}

@media screen and (max-width: 768px) {
  .accordion-body {
    padding-right: 1rem;
  }
}
