.hero-section {
  border: 5px solid transparent;
  border-radius: 24px;
  background:
    var(--section-bg, none) center / cover no-repeat padding-box,
    linear-gradient(#18064d, #18064d) padding-box,
    linear-gradient(
        98.15deg,
        #a8ff00 8.43%,
        #574588 27.56%,
        #574588 77.81%,
        #a8ff00 91.35%
      )
      border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 40px;
  padding-bottom: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}

.hero-content h1 {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 65px;
  color: #ffffff;
}

.hero-content p {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 30px;
  color: #dbdbdb;
}

.hero-image {
  align-self: end;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 48px;
    line-height: 52px;
  }

  .hero-content p {
    font-size: 20px;
    line-height: 26px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    padding: 32px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    padding-bottom: 0;
  }

  .hero-content h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .hero-content p {
    font-size: 18px;
    line-height: 24px;
  }

  .hero-image {
    order: 1;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 24px;
    padding-bottom: 0;
  }

  .hero-content h1 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 22px;
  }
}
