.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 20px;
  flex-wrap: nowrap; /* We don’t let you transfer */
  background-color: #000000;
}

.hero-video {
  width: 280px;
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
}

.hero-text {
  text-align: center;
  max-width: 500px; /* Narrow to prevent overflow */
  color: #ffffff;
  flex-grow: 1;
}

.hero-text h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero h1, .hero h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.hero h1 {
  font-size: 4rem;
}

.hero h2 {
  font-size: 3rem;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}

/* Adaptation */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-video:last-of-type {
    display: none;
  }

  .hero-video:first-of-type {
    margin: 0 auto;
  }

  .hero-text {
    max-width: 90%;
  }

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

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}