.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 var(--spacing-xxl);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: var(--color-secondary-bg);
  background-image: url("./../../images/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero__balls {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero__balls--left {
  left: 15%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 250px;
}

.hero__balls--right {
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 200px;
}

.hero__balls-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--spacing-md);
  max-width: 600px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--font-size-md);
  color: var(--color-accent-cyan);
  margin-bottom: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-text-white);
  margin: 0 0 var(--spacing-md);
  font-weight: 600;
}

.hero__description {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-white);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  margin-top: var(--spacing-md);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 800px;
  }

  .hero__content {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero__balls--left {
    left: 12%;
    max-width: 160px;
  }

  .hero__balls--right {
    right: 12%;
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 600px;
    padding: var(--spacing-xl) 0;
  }

  .hero__balls--left {
    left: 5%;
    max-width: 90px;
    opacity: 0.7;
  }

  .hero__balls--right {
    right: 5%;
    max-width: 90px;
    opacity: 0.7;
  }

  .hero__subtitle {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero__title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
  }

  .hero__description {
    font-size: 16px;
    line-height: 1.5;
  }
}
