.page-hero {
  background: url("../img/hero/hero-bg-one.jpg") no-repeat center center/cover;
  color: var(--light-color);
  text-align: left;
  padding: 260px 20px 120px;
  position: relative;
  border-radius: 24px;
  margin: 0 20px;
  overflow: hidden;
}

.services-hero {
  background: url("../img/hero/hero-bg-two.jpg") no-repeat center center/cover;
}

.about-hero {
  background: url("../img/hero/hero-bg-three.jpg") no-repeat center center/cover;
}

.resources-hero {
  background: url("../img/hero/hero-bg-two.jpg") no-repeat center center/cover;
}

.contact-hero {
  background: url("../img/hero/hero-bg-four.jpg") no-repeat center center/cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: inherit;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--light-color);
  margin-bottom: 15px;
}

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

@media (max-width: 992px) {
  .page-hero {
    padding: 220px 20px 100px;
  }

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

@media (max-width: 576px) {
  .page-hero {
    padding: 240px 10px 80px;
    border-radius: 16px;
    margin: 0 16px;
  }

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

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