/* SECTION STYLES */
section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px var(--horizontal-padding-desktop);

  @media (max-width: 875px) {
    padding: 60px var(--horizontal-padding-mobile);
    flex-direction: column;
    align-items: center;
  }

  > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    @media (max-width: 875px) {
      align-items: center;
    }
  }

  > div > h2 {
    font-size: 36px;
    margin-top: 3%;

    @media (max-width: 875px) {
      text-align: center;
    }
  }

  p {
    color: #1d1d2e;

    @media (max-width: 875px) {
      &:not(.keep-left-align) {
        text-align: center;
        max-width: 420px;
        text-wrap: balance;
      }
    }
  }

  &#hero {
    padding-top: calc(
      84px + 20px
    ); /* Adjusted for header height and some extra padding */

    background: url("/assets/images/colorful-background.jpg") no-repeat center
      center;
    background-size: cover;
    background-position: center;

    h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
      max-width: 480px;
      text-wrap: balance;

      @media (max-width: 875px) {
        text-align: center;
      }
    }

    p {
      max-width: 380px;
      text-wrap: balance;
    }

    img {
      max-width: 370px;
    }
  }

  &#ingredients {
    background-color: #eeedeb;
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding: 0 var(--horizontal-padding-desktop);

    @media (max-width: 875px) {
      flex-direction: column;
      padding: 20px var(--horizontal-padding-mobile);
    }
  }

  &#benefits {
    background-color: #1a1923;
    color: #fff;

    h2 {
      color: #fff;
      font-size: 36px;
      margin-top: 3%;
    }

    ol li {
      display: flex;
      gap: 10px;

      &:not(:first-child) {
        margin-top: 30px;
      }

      h4 {
        font-size: 1.5rem;
      }

      div.benefit-content {
        h4 {
          background: -webkit-linear-gradient(
            120deg,
            #68d3ba,
            #45c2bd,
            #0081df
          );
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }
      }
    }

    p {
      color: #fff;
      margin-top: 10px;
    }

    a.cta-button {
      margin-left: 40px;
    }
  }

  &#research {
    background: url("/assets/images/colorful-background-with-powder.jpg")
      no-repeat center center;
    background-size: cover;
    background-position: center;

    min-height: 470px;
  }
}
