.page-template-about {
  main {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .top-section {
    padding: 112px 128px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-inline: auto;
    width: 100%;
  }

  .top-section__info-container {
    display: flex;
    gap: 128px;
    z-index: 1;
    max-width: 1184px;
  }

  .top-section__info-title {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--blue-gray);

    h1 {
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 38px;
      color: var(--dark-80);
    }
  }

  .top-section__info-descrition {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    margin-top: 24px;
    color: var(--dark-100);
    position: relative;

    &::after {
      content: "";
      width: 64px;
      height: 1px;
      background-color: var(--green-primary);
      position: absolute;
      top: calc(100% + 24px);
      left: 0;
    }
  }

  .top-section__info-bottom {
    display: flex;
    flex-direction: column;

    h2 {
      margin-top: 48px;
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 22px;
      color: var(--dark-100);
    }

    .btn-default {
      margin: 24px auto 0 0;
      background-color: var(--green-primary);
      color: var(--white-primary);

      &::after {
        filter: invert(1) brightness(2);
      }

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

        &::after {
          filter: none;
        }
      }
    }
  }

  .top-section__images {
    display: flex;
    gap: 30px;

    div {
      display: flex;
      flex-direction: column;
      gap: 30px;
      width: 270px;
    }

    img {
      width: 270px;
      object-fit: contain;
    }
  }

  .key-benefits-section {
    margin-top: 68px;
  }

  .values-section {
    margin-top: 128px;
    padding: 64px 128px;
    background-color: var(--dark-80);
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .values-section__container {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1168px;
  }

  .values-section__info-block {
    color: var(--white-primary);
    max-width: 560px;

    h2 {
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 22px;
      position: relative;

      &::after {
        content: "";
        height: 1px;
        width: 64px;
        background-color: var(--green-primary);
        position: absolute;
        top: calc(100% + 24px);
        left: 0;
      }
    }

    p:first-of-type {
      margin-top: 48px;
    }

    p {
      font-family: "Inter", sans-serif;
      font-weight: 400;
      font-size: 16px;
      line-height: 25.6px;
    }
  }

  .value-section__text-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .values-section__img {
    width: 560px;
    max-width: 560px;
  }

  .projects-section {
    margin-top: 64px;

    h2 {
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 38px;
      text-align: center;
      color: var(--dark-80);

      &::after {
        display: none;
      }
    }

    > p {
      margin-top: 24px;
      font-family: "Inter", sans-serif;
      text-align: center;
      font-weight: 400;
      font-size: 16px;
      color: var(--dark-50);
      position: relative;

      &::after {
        content: "";
        width: 64px;
        height: 1px;
        background-color: var(--green-primary);
        position: absolute;
        top: calc(100% + 24px);
        right: 50%;
        transform: translateX(50%);
      }
    }
  }

  .projects-section__cards-container {
    margin-top: 74px;
  }

  .contact-info-section {
    margin: 64px auto 0;
    padding-inline: 128px;
    width: 100%;
    max-width: 1440px;

    h3 {
      font-family: "Inter", sans-serif;
      font-weight: 600;
      font-size: 24px;
      color: var(--dark-100);
    }

    > div {
      margin-top: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      justify-content: space-between;

      .btn-borderless {
        margin-inline: auto;
      }
    }
  }

  .questions-form-section {
    margin-inline: auto;
  }
}

@media (max-width: 1439px) {
  .page-template-about {
    .values-section__img {
      width: 45%;
    }
  }
}

@media (max-width: 1280px) {
  .page-template-about {
    .top-section {
      padding: 56px 48px;
    }

    .top-section__info-container {
      gap: 64px;
      align-items: center;
    }

    .top-section__images {
      display: flex;
      gap: 15px;

      div {
        gap: 15px;
        width: 200px;
      }

      img {
        width: 200px;
      }
    }

    .contact-info-section {
      padding-inline: 48px;
    }

    .values-section {
      padding: 48px;
    }
  }
}

@media (max-width: 1024px) {
  .page-template-about {
    .top-section__info-container {
      gap: 32px;
    }

    .top-section__images {
      display: flex;

      div {
        width: 175px;
      }

      img {
        width: 175px;
      }
    }
  }
}

@media (max-width: 768px) {
  .page-template-about {
    .top-section {
      padding: 56px 48px 0;
    }

    .top-section__info-container {
      flex-direction: column;
    }

    .top-section__info-title {
      h1 {
        font-size: 32px;
      }
    }

    .top-section__info-bottom {
      .btn-default {
        margin: 24px auto 0;
      }
    }

    .top-section__images {
      div {
        width: 47%;

        img {
          width: 100%;
          object-fit: contain;
        }
      }

      img {
        width: 47%;
        object-fit: contain;
      }
    }

    .values-section {
      margin-top: 32px;
      padding: 56px 48px;
    }

    .values-section__container {
      flex-direction: column-reverse;
      gap: 32px;
    }

    .values-section__img {
      width: 100%;
    }

    .projects-section {
      margin-top: 32px;
      padding-inline: 0;
    }

    .projects-section__cards-container {
      margin-top: 56px;
    }

    .contact-info-section {
      margin-top: 32px;
      padding-inline: 48px;
    }

    .offices {
      width: 100%;
    }
  }
}

@media (max-width: 560px) {
  .page-template-about {
    .top-section {
      padding: 35px 16px 0;
    }

    .values-section {
      padding: 32px 16px;
    }

    .projects-section {
      h2 {
        font-size: 32px;
      }
    }

    .contact-info-section {
      margin-top: 32px;
      padding-inline: 16px;
    }
  }
}
