.banner-slider-wrapper {
    position: relative;
    width: 100%;
}

.banner-slider .banner-slide {
    height: 100vh;
    max-height: 700px;
    position: relative;
}

.banner-slider .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

.btn-wrapper {
    text-align: left;
}

.banner-slider .banner-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    z-index: 2;
    pointer-events: none;
}

button:focus {
    outline: none !important;
}

.banner-caption-container {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    z-index: 5;
}

.banner-caption-container .container {
    padding: 30px;
}

.heading {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
}

.detail {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
}

.btn-custom {
    background-color: rgba(255, 255, 255, 0.18); 
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 5px 30px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    display: inline-block;
}

.btn-custom:hover {
    background-color: rgba(0, 0, 0, 0.11); 
    color: #ffffff;
}

.btn-custom:focus {
    border: 1px solid #fff;
    background-color: rgba(0, 0, 0, 0.11);
    color: #ffffff;
}


.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.58); /* #ffffff94 */
    font-size: 5rem;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    color: rgba(255, 255, 255, 0.78); /* #ffffffc7 */
    transform: translateY(-50%) scale(1.2);
}

.banner-slider .slick-prev {
    left: 0;
}

.banner-slider .slick-next {
    right: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .heading {
        font-size: 42px;
    }

    .detail {
        font-size: 16px;
    }

    .banner-slider .banner-slide {
        height: 70vh;
    }

    .banner-caption-container {
        top: 15%;
    }
}

@media (max-width: 767.90px) {
    .heading {
        text-align: center;
    }

    .detail {
        text-align: center;
    }

    .btn-custom {
        margin: 0 auto !important; /* margin auto ต้องใช้ 0 auto */
        display: inline-block;
    }

    .btn-wrapper {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .heading {
        font-size: 28px;
        text-align: center;
    }

    .detail {
        font-size: 14px;
        text-align: center;
    }

    .banner-slider .banner-slide {
        height: 50vh;
    }

    .banner-caption-container {
        top: 10%;
    }

    .btn-custom {
        padding: 6px 20px;
        font-size: 14px;
        text-align: center;
    }
}
