.banner-slider {
    position: relative;
    width: 100%;
    height: 420px; 
    overflow: hidden;
}

.banner-slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    background: linear-gradient(120deg, #1f2235 40%, #c9a227 100%);

    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.8s ease, transform 0.8s ease;

    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.banner-slide img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 55%;
    object-fit: cover;

    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);

    transition: transform 0.6s ease;
}

.banner-slide:hover img {
    transform: scale(1.05);
}

.banner-overlay {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 550px;
    padding-left: 50px;
}

.banner-overlay h2 {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-overlay p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-btn {
    display: inline-block;
    background: #f58220;
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.banner-btn:hover {
    background: #ff9a3c;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .banner-slider {
        position: relative;
        width: 100%;
        height: 520px;
        min-height: 520px;
        overflow: hidden;
        background: #1e1e2f;
    }

    .banner-slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 520px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .7s ease, visibility .7s ease;
    }

    .banner-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

    .banner-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            to bottom,
            rgba(30, 30, 47, .10) 0%,
            rgba(30, 30, 47, .25) 42%,
            rgba(30, 30, 47, .92) 100%
        );
    }

    .banner-overlay {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 18px;
        z-index: 3;

        width: auto;
        max-width: none;

        padding: 18px;
        border-radius: 22px;

        background: linear-gradient(135deg, #f97316, #c2410c);
        box-shadow: 0 18px 45px rgba(0,0,0,.28);

        color: #fff;
        transform: none;
    }

    .banner-overlay h2 {
        margin: 0 0 8px;
        font-size: 27px;
        line-height: 1.05;
        font-weight: 900;
    }

    .banner-overlay p {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.45;
        color: rgba(255,255,255,.96);

        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .banner-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 10px 16px;
        border-radius: 12px;

        background: rgba(255,255,255,.18);
        color: #fff;

        font-size: 14px;
        font-weight: 900;
        text-decoration: none;

        border: 1px solid rgba(255,255,255,.25);
    }
}