body {
  --background-color-primary: white;
  --background-color-secondary: #f3f5f8;
  --background-color-accent: #04dba3;
  --text-color-primary: #1c244b;
  --text-color-secondary: #324a6d;
  --text-color-heading: #041c5c;
  --text-color-accent: #04d9a3;
  --button-color: #17d89e;
  --small-divider-color: #c8d5dc;

  font-family: "Poppins", sans-serif;
  background-color: var(--background-color-primary);
}

* {
  margin: 0;
}

a {
  text-decoration: none;
  font-weight: 300;
}

img {
  display: block;
}

h1,
h2,
h5,
h6 {
  color: var(--text-color-heading);
}

h1 {
  font-size: 85px;
  font-weight: 600;
  line-height: 1em;

  @media screen and (width < 1000px) {
    font-size: 65px;
  }

  @media screen and (width < 750px) {
    font-size: 45px;
  }
}

h2 {
  font-size: 65px;
  font-weight: 600;
  line-height: 1.2em;

  @media screen and (width < 1000px) {
    font-size: 42px;
  }

  @media screen and (width < 750px) {
    font-size: 28px;
  }
}

h4 {
  color: var(--text-color-primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;

  @media screen and (width < 750px) {
    font-size: 18px;
  }
}

h5 {
  font-size: 22px;
  font-weight: 300;

  @media screen and (width < 1000px) {
    font-size: 18px;
  }

  @media screen and (width < 750px) {
    font-size: 16px;
  }
}

h6 {
  font-size: 22px;
  font-weight: 600;

  @media screen and (width < 750px) {
    font-size: 18px;
  }
}

.icon {
  color: var(--text-color-heading);
}

.text {
  color: var(--text-color-secondary);
  line-height: 1.5em;
  font-size: 16px;
  font-weight: 300;

  @media screen and (width < 1000px) {
    font-size: 14px;
  }
}

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

.button {
  background-color: var(--button-color);
  border-radius: 20px;
  color: var(--text-color-primary);
  padding: 12px 24px;
  transition: transform 0.3s;
  line-height: 1em;
  font-weight: 400;
  font-size: 16px;

  @media screen and (width < 1000px) {
    font-size: 14px;
  }

  &:hover {
    transform: scale(1.1);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;

  @media screen and (width < 1000px) {
    grid-template-columns: 1fr 1fr;
  }

  @media screen and (width < 750px) {
    grid-template-columns: 1fr;
  }
}

.divider {
  color: var(--text-color-heading);
  display: flex;
  align-items: center;
  width: 100%;
  padding: 30px 0;

  &::before,
  &::after {
    content: "";
    flex: 1;
    display: block;
    border-top: 2px solid var(--text-color-heading);
  }

  .icon {
    font-size: 42px;
    margin: 0 10px;
  }
}

.small-divider {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0;

  &::after {
    content: "";
    width: 30px;
    color: var(--small-divider-color);
    border: 1.5px solid var(--small-divider-color);
  }
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 24px;
  background-color: var(--background-color-primary);

  .header-logo {
    width: 60px;
    height: auto;
  }
}

.main {
  width: 100%;
}

.headlines-wrapper {
  background-color: var(--background-color-secondary);
  display: flex;
  justify-content: center;
  min-height: 30vh;

  @media screen and (width < 1000px) {
    min-height: 93vh;
    padding: 0 5%;
  }

  .headlines-container {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 950px;
    animation: fadeIn 1s ease-in;
    padding: 16px 0;

    @media screen and (width < 750px) {
      gap: 15px;
      padding: 0;
    }
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sections-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 0 8%;
  box-sizing: border-box;

  > * {
    margin-top: 7%;
    width: min(100%, 1600px);

    @media screen and (width < 1000px) {
      margin-top: 25%;
    }

    @media screen and (width < 750px) {
      margin-top: 35%;
    }
  }

  .about-section {
    display: flex;

    @media screen and (width < 1000px) {
      flex-direction: column-reverse;
      gap: 50px;
    }

    .about-video {
      width: 53%;
      min-width: 0;
      align-self: center;

      @media screen and (width < 1000px) {
        width: 100%;
      }
    }

    .about-text {
      box-sizing: border-box;
      width: 47%;
      padding: 0 5%;
      display: flex;
      flex-direction: column;
      gap: 32px;

      @media screen and (width < 1000px) {
        width: auto;
        text-align: center;
      }

      p {
        margin-block-end: 0.9rem;
      }
    }
  }

  .features-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;

    .features-grid {
      width: 100%;
      margin-top: 4%;
      gap: 2%;

      @media screen and (width < 1000px) {
        gap: 50px;
      }

      @media screen and (width < 750px) {
        margin-top: 20%;
        gap: 70px;
      }

      img {
        margin: 0 auto 25px;
        transition: transform 0.3s;
        max-width: 100%;

        &:hover {
          transform: scale(1.1);
        }
      }

      h4 {
        margin: 0.5rem 0 1rem;
      }
    }
  }

  .use-cases-section {
    display: flex;
    flex-direction: column;
    gap: 65px;
    align-items: center;
    text-align: center;

    .use-cases-grid {
      width: 100%;
      gap: 3%;

      @media screen and (width < 1000px) {
        gap: 25px;
      }

      > * {
        background-color: var(--background-color-secondary);
        padding: 13% 18%;
        border-radius: 35px;

        @media screen and (width < 1000px) {
          padding: 20%;
        }

        @media screen and (width < 750px) {
          padding: 15%;
        }

        h4 {
          color: var(--text-color-heading);
        }

        i {
          font-size: 45px;
        }

        p {
          margin-top: 15px;
        }
      }
    }
  }

  .summary-section {
    padding-top: 50px;

    .summary-section-content {
      display: flex;
      flex-direction: column;
      gap: 50px;
      align-items: center;
      text-align: center;

      .summary-grid {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin-top: 20px;

        @media screen and (width < 750px) {
          grid-template-columns: 1fr;

          > * {
            margin-top: 24px;
          }
        }

        i {
          font-size: 45px;
        }

        p {
          margin-top: 10px;
        }
      }
    }
  }

  .contacts-section {
    display: flex;
    justify-content: space-between;
    padding-bottom: 5%;

    @media screen and (width < 1000px) {
      flex-direction: column-reverse;
      margin-top: 10%;
      gap: 100px;
    }

    @media screen and (width < 750px) {
      padding-bottom: 20%;
    }

    .documents-container {
      width: 45%;
      padding-right: 20%;
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 50px;

      @media screen and (width < 1000px) {
        width: auto;
        gap: 30px;
      }

      @media screen and (width < 750px) {
        padding-right: 0;
      }

      img {
        width: 20%;
        height: auto;
        margin-bottom: 10px;
      }
    }

    .contact-us-container {
      width: 25%;
      display: flex;
      flex-direction: column;
      gap: 20px;

      @media screen and (width < 1000px) {
        width: auto;
      }

      .contact-data {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }
    }
  }
}

.top-link-container {
  text-align: center;
  margin-bottom: 0.9rem;
}

.footer {
  text-align: center;
  background-color: var(--background-color-accent);
  color: var(--background-color-primary);
  padding: 10px 0;
}
