.section.hero {
  position: relative;
  text-align: center;
}

.section.hero a {
  margin: 0 auto;
  font-size: 20px;
  line-height: 35px;
  padding: 8px 24px;
}

.graduate .section.hero a {
  background: linear-gradient(
    to right,
    var(--first-graduate-color-primary),
    var(--first-graduate-color-secondary)
  );
}

.section.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.section.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  z-index: 1;
  opacity: 0.25;
}

.graduate .section.hero:before {
  background: linear-gradient(
    to right,
    var(--second-graduate-color-primary),
    var(--second-graduate-color-secondary)
  );
}

.graduate .section.hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.2;
  z-index: 2;
}

.section.hero .hero {
  padding: 20px 32px;
  position: relative;
  z-index: 3;
}

.section.hero .hero h1,
.section.hero .hero h3 {
  color: var(--white);
}

.hero-desc {
  margin: 24px 0;
}

.hero-review {
  margin: 25px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-review-stars-container {
  position: relative;
  width: fit-content;
}

.hero-review-stars,
.hero-review-stars-full {
  display: flex;
  gap: 7px;
}

.hero-review-stars-full {
  position: absolute;
  top: 0;
  left: 0;
}

.hero-review-stars-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
}

.hero-review-description {
  margin-top: 10px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--white);
}

@media (min-width: 1024px) {
  .section.hero .hero {
    padding: 52px 32px;
  }

  .section.hero .container {
    width: 800px;
    margin: 0 auto;
    max-width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
