/* hero section */
.section__hero {
  padding: 1rem 0rem 0;
  width: 100%;

  .container {
    margin-top: 2rem;

    @media (width >= 768px) {
      margin-top: 3rem;
    }

    @media (width >= 1200px) {
      margin-top: 4rem;
    }
  }

  hr {
    margin: 0;
  }

  .hero-area {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "image" "title " "description" "checklist" "hr " "cta";
    align-items: end;
    row-gap: 1rem;
    text-align: center;
    justify-content: center;

    @media (width >= 768px) {
      column-gap: 3rem;
      grid-template-columns: 1fr 1fr;
      grid-template-areas: "title title" "description description" "hr hr" "checklist image" "cta image";
    }

    @media (width >= 1200px) {
      text-align: left;
      grid-template-areas: "title image" "description image" "checklist image" "hr image" "cta image";
    }

    .title {
      grid-area: title;

      h1 {
        color: var(--section-title-text-color);
        font-weight: 700;
        font-size: 2.375rem;
        line-height: 40px;

        @media (width >= 768px) {
          font-size: 3rem;
          line-height: 3.75rem;
        }

        @media (width >= 1200px) {
          font-size: 3.375rem;
          line-height: 4rem;
        }
      }
    }

    .description {
      grid-area: description;
    }

    .check-list {
      grid-area: checklist;

      display: grid;
      grid-template-columns: 1fr;
      margin: 0 2rem;
      text-align: left;

      @media (width >= 768px) {
        margin: 0;
      }

      @media (width >= 1200px) {
        grid-template-columns: 1fr 1fr;
      }
    }

    hr {
      grid-area: hr;
      display: block;
      margin: 1.5rem 0;
      opacity: 0.05;

      @media (width >= 768px) {
        margin: 0.5rem 0;
      }

      @media (width >= 1200px) {
        margin: 2rem 0;
      }
    }

    .cta-btn {
      grid-area: cta;
      margin-bottom: 2rem;
      display: grid;

      @media (width >= 768px) {
        margin-bottom: 4rem;
      }

      @media (width >= 1200px) {
        display: flex;
        margin-bottom: 6rem;
      }
    }

    .hero-image {
      grid-area: image;
    }
  }
}

/* brands section */
.section__brands {
  background-color: var(--brands-background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 20px;
  margin: 1rem 0;

  .brand-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }

  @media (width >= 1600px) {
    justify-content: space-between;
  }

  h2 {
    margin: 0;
    text-align: right;
    font-weight: 700;
    display: none;

    @media (width >= 1600px) {
      display: block;
    }
  }
}

/* about-us section */
.section__about-us {
  text-align: center;
  margin: 6rem 0;

  @media (width >= 992px) {
    text-align: left;
  }

  .about-us-area {
    display: flex;
    gap: 2rem;

    .about-us-image {
      display: none;

      @media (width >= 992px) {
        display: block;
        width: 50%;
      }

      @media (width >= 1200px) {
        width: auto;
      }
    }

    .about-us-content {
      margin-top: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;

      @media (width >= 992px) {
        align-items: start;
      }

      .description {
        color: var(--gray-color);
      }
    }
  }
  .quote {
    background-color: var(--section-background-color);
    padding: 3rem 3rem;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    margin: 2rem 0;

    p {
      margin: 0;
    }

    &::after {
      content: "\f10e";
      font-family: var(--font-fa);
      font-weight: 900;
      font-size: 8em;
      position: absolute;
      top: 50%;
      right: 5%;
      transform: translateY(-50%);
      opacity: 0.1;
    }
  }
}

/* our-program section  & our-store section */
.section__our-programs,
.section__our-store {
  background-color: var(--section-background-color);
  border-radius: 20px;
  padding: 5rem 0;
  margin: 1.5rem 0;

  .our-program-area,
  .our-store-area {
    display: grid;
    gap: 2rem;
    text-align: center;
  }

  .slider {
    display: flex;
    justify-content: center;
    gap: 1rem;

    @media (width >= 768px) {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
    }

    :not(:nth-child(1)) {
      display: none;

      @media (width >= 768px) {
        display: block;
      }
    }
  }

  .additional-information {
    font-weight: 600;
    font-size: 0.875em;

    a {
      display: block;
      color: var(--text-color);

      @media (width >= 768px) {
        display: inline;
      }
    }
  }
}

.section__our-store .slider {
  @media (width >= 768px) {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
