/* ================================
   Hero Section
   ================================ */

.hero {
  padding: 5rem 1.5rem 0;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/* Yellow background block */
.yellow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: #FAFF48;
  z-index: -1;
}

/* Content wrapper */
.hero-content {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Heading */
/* .hero h1 {
  font-weight: 500;
  line-height: 0.9;
  margin-bottom: 1rem;
} */

/* Subheading */
.hero p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 40rem;
  line-height: 1.1;
  margin: 2.5rem auto ;
  color: #111;
}

/* ================================
   Hero Image
   ================================ */

/* Image wrapper */
.hero-image {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem; /* safe spacing on mobile */
}

/* Responsive image */
.hero-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
}

/* ================================
   Tablet
   ================================ */

@media (min-width: 768px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-image img {
    max-height: 380px;
  }
}

/* ================================
   Desktop
   ================================ */

@media (min-width: 1024px) {
  .hero {
    padding-top: 4rem;
  }
  .yellow-bg {
    height: 73%;
  }

  .hero-image img {
    width: auto;
    max-height: 360px;
  }
}
