.hero {
    padding: 40px 0 20px;
    background-color: #f9f9f9;
    /* opsional */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.hero-text {
    flex: 1 1 50%;
    min-width: 280px;
    color: #0e0d0d;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0e0d0d;
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #0e0d0d;
}

.hero-buttons a {
    margin-right: 10px;
    color: #0e0d0d;
}

.hero-image {
    flex: 1 1 40%;
    max-width: 827px;
    margin: 4px auto;
    /* sangat tipis */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

/* Tablet */
@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        flex: 1 1 100%;
        width: 90%;
    }

    .hero-image img {
        max-height: 300px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .hero-image img {
        max-height: 250px;
    }
}