@import url("./styles/fonts.css");
@import url("./styles/header.css");
@import url("./styles/footer.css");
@import url("./styles/contacts.css");

@layer reset, components, utils, base;

@layer utils {
  .container {
    max-width: 1660px;
    margin: 0 auto;
    padding-inline: 92px;
  }

  .hide {
    width: 0px;
    height: 0px;
    overflow: hidden;
  }

  .hidden {
    display: none;
  }

  .center-flex {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .desktop {
    display: block;
  }

  .desktop-flex {
    display: block;
  }

  .mobile {
    display: none;
  }

  .flex {
    display: flex;
  }

  @media (max-width: 1024px) {
    .desktop {
      display: none;
    }

    .desktop-flex {
      display: none;
    }

    .flex {
      display: flex !important;
    }

    .mobile {
      display: block;
    }

    .container {
      padding-inline: 20px;
    }
  }
  .white {
    color: #fff;
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .border-blue {
    border-color: #2e5eda;
  }

  .border-white {
    border-color: #fff;
  }

  .color-blue {
    color: #2e5eda;
  }

  .color-black {
    color: #000;
  }

  .color-white {
    color: #fff;
  }

  .background-white {
    background-color: #fff;
  }

  .background-blue {
    background-color: #2e5eda;
  }

  .font-14 {
    font-size: 14px;
  }

  .font-16 {
    font-size: 16px;
  }

  .font-20 {
    font-size: 20px;
  }

  .font-22 {
    font-size: 22px;
  }

  .column {
    display: flex;
    flex-direction: column;
  }

  .column-center {
    align-items: center;
  }

  .gap-10 {
    gap: 10px;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-25 {
    gap: 25px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-40 {
    gap: 40px;
  }
}

@layer components {
  .nav-link {
    color: black;
    font-size: 14px;
    font-weight: 600;
    position: relative;

    &.active {
      color: #2e5eda;
    }

    &.active::after {
      content: "";
      display: block;
      width: 120%;
      height: 2px;
      background-color: #2e5eda;
      position: absolute;
      bottom: -6px;
      left: 50%;
      transform: translateX(-50%);
    }
  }

  .button {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    background-color: #2e5eda;
    padding: 20px 40px;
    border-radius: 500px;
    cursor: pointer;
    border: none;
  }

  .button-outline {
    color: #2e5eda;
    font-size: 20px;
    font-weight: 600;
    background-color: transparent;
    padding: 20px 40px;
    border-radius: 500px;
    border: 2px solid #2e5eda;
    cursor: pointer;
  }

  .card {
    background-color: #2e5eda12;
    border-radius: 20px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .card-number {
    border: 2px solid #2e5eda;
    color: #2e5eda;
    font-size: 24px;
    font-weight: 600;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-title {
    font-size: 28px;
    font-weight: 600;
    margin-block: 8px 12px;
  }

  .card-description {
    font-size: 21px;
    font-weight: 500;
  }

  .header-buttons {
    display: flex;
    gap: 20px;
  }

  @media (max-width: 1024px) {
    .card {
      padding-block: 35px;
      padding-inline: 25px;
    }
    .card-number {
      font-size: 16px;
      width: 30px;
      height: 30px;
    }
    .card-title {
      font-size: 18px;
      margin-block: 6px 8px;
    }
    .card-description {
      font-size: 14px;
    }
  }

  .section-title {
    font-size: 36px;
    font-weight: 600;
  }
  @media (max-width: 1024px) {
    .section-title {
      font-size: 20px;
      text-align: center;
    }
  }
}

@layer reset {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    overflow: hidden;
    height: 100%;
  }

  body {
    /* overflow-x: hidden; */
    overflow-y: scroll;
    scroll-behavior: smooth;
    position: relative;
    height: 100%;
  }

  body,
  button,
  a {
    font-family: "Montserrat", sans-serif;
  }

  li {
    list-style: none;
  }

  a {
    text-decoration: none;
  }
}
