.hero-section { padding: 40px 0; } .hero-box { border-radius: 20px; padding: 60px 20px; color: white; position: relative; overflow: hidden; min-height: 250px; } .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .hero-box h2 { position: relative; z-index: 1; font-weight: 600; font-size: 32px; }