/* #2, Hero Section for Subpages */
.hero-section {
  align-self: center;
  margin-top: 17vh;
  width: 70%;
  max-width: 100%;
  padding: 0 20px;
}

@media (max-width: 991px) {
  .hero-section {
    margin-top: 40px;
  }
}

.hero-content {
  display: flex;
  gap: 20px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  line-height: normal;
  width: 44%;
  margin-left: 0;
}

@media (max-width: 991px) {
  .hero-text {
    width: 100%;
  }
}

.hero-title {
  color: #4b0082;
  letter-spacing: -1.12px;
  align-self: stretch;
  margin: auto 0;
  font: 700 48px/130% Inter, sans-serif;
}

.hero-image {
  display: flex;
  flex-direction: column;
  line-height: normal;
  padding: 0 5%;
  width: 56%;
  margin-left: 20px;
}

/* @media (max-width: 991px) {

} */

@media (max-width: 1300px) {
  .hero-title {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.3;
  }
}

@media (max-width: 1000px) {
  .hero-section {
    margin-top: 54px;
  }

  .hero-content {
    padding-top: 40px;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-image {
    width: 100%;
  }

  .hero-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
    line-height: 1.2;
  }
  .hero-section {
    padding: 0 0;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
}

.hero-img {
  aspect-ratio: 1.33;
  width: 100%;
  flex-grow: 1;
}

@media (max-width: 991px) {
  .hero-img {
    max-width: 100%;
    margin-top: 40px;
  }
}
