.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;             /* 60% of viewport height — scales with screen */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .hero { min-height: 40vh; }     /* shorter hero on small screens */
  .hero .container h1 { font-size: 1.8rem; }
  .hero .container p  { font-size: 1rem; }
}
header.hero .container h1 {
  font-size: 2.5rem; /* Example: adjust as you like */
  line-height: 1.2;  /* adjust line height, optional */
}

