.page-hero {
    position: relative;
    width: 100%;
    height: 450px; /* Tinggi banner desktop */
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-red-shape {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 55%;
    background-color: #e51d27;
    background-image: url("/assets/global/images/overlay-left.png");
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 40% 0, 70% 100%, 0 100%);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding-left: 8%;
    padding-bottom: 45px;
}

.hero-title-container h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
    word-break: keep-all;
    max-width: 100%;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========================================= RESPONSIVE TABLET & MOBILE ========================================= */
@media (max-width: 991px) {
    .page-hero {
        height: 320px; /* Menyesuaikan tinggi banner di layar tablet */
        background-position: center center;
    }

    .hero-red-shape {
        width: 75%; /* Melebarkan overlay shape agar teks tetap di dalam area merah */
        clip-path: polygon(0 0, 60% 0, 90% 100%, 0 100%);
        padding-left: 5%;
        padding-bottom: 30px;
    }

    .hero-title-container h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        height: 240px; /* Menyesuaikan tinggi banner di layar HP */
    }

    .hero-red-shape {
        width: 85%;
        clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
        padding-left: 4%;
        padding-bottom: 20px;
    }

    .hero-title-container h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
}