/*==================================
ABOUT HERO
==================================*/

.page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero {
  background:
    linear-gradient(
      90deg,
      rgba(8, 93, 20, 0.82) 0%,
      rgba(8, 93, 20, 0.55) 30%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    url("../assets/parents.png") center center/cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}

.page-tag {
  display: inline-block;

  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 26px;

  font-size: 2rem;
}

.page-hero h1 {
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 34px;
  color: #fff;

  font-size: 3.5rem;
  font-family: "Baloo 2", sans-serif;
}

.page-hero p {
  line-height: 1.7;
  max-width: 620px;

  font-size: 1.25rem;
  color: #ccf699;
}

@media (max-width: 992px) {
  .page-hero {
    min-height: 620px;
  }

  .page-hero h1 {
    font-size: 3.8rem;
  }

  .page-hero p {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 540px;
    text-align: center;
    background:
      linear-gradient(rgba(8, 93, 20, 0.82), rgba(8, 93, 20, 0.82)),
      url("../assets/parents.png") center/cover no-repeat;
  }

  .page-hero-content {
    margin: auto;
  }

  .page-hero h1 {
    font-size: 2.8rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .page-tag {
    font-size: 1rem;
  }
}

/* additional styles for the about page */

/* ================= ABOUT HERO: MOBILE ================= */

@media (max-width: 768px) {
  .page-hero.about-hero {
    min-height: 0;
    height: auto;
    padding: 100px 0 70px;
    display: flex;
    align-items: flex-end;
    text-align: left;

    background:
      linear-gradient(
        180deg,
        rgba(8, 45, 16, 0.3) 0%,
        rgba(8, 70, 22, 0.5) 35%,
        rgba(35, 125, 48, 0.96) 100%
      ),
      url("../assets/parents.png") center center / cover no-repeat;
  }

  .page-hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px;
  }

  .page-tag {
    display: block;
    color: #ffa51f;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .page-hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 7.5vw, 4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 32px;
  }

  .page-hero p {
    max-width: none;
    color: #ccf699;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .page-hero.about-hero {
    padding: 90px 0 10px;
    background-position: center center;
  }

  .page-hero-content {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .page-tag {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
  }

  .page-hero h1 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
  }

  .page-hero p {
    font-size: 1rem;
    line-height: 1;
  }
}
