.hero {
    position: relative;
    min-height: 100vh; /* layar penuh */
    overflow: hidden;
    margin-bottom: 5rem;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
}

.hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* opsional: sedikit zoom */
    transform: scale(1.02);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)),
        rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative; /* di atas overlay */
    z-index: 1;
    color: #fff;
    max-width: 640px;
    padding: 64px 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    text-align: left;
    min-width: 70%;
    padding-top: 100px;
}

.hero-content h2 {
    font-size: 52px;
    color: #fff;
    font-weight: 600;
    line-height: 1.15;
}
.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
}
.hero-content .btn-hero {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    background: #1447e6;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    width: max-content;
    font-size: 16px;
}

/* Tablet & bawah */
@media (max-width: 768px) {
    .hero-content {
        padding: 48px 16px;
    }
    .hero-content h2 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-content .btn-hero {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* Mobile kecil */
@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 14px;
    }
}
