/* =============================================
   Custom Banner Slider Styles
   ============================================= */

/* Remove top padding from the overlay div so slider sits flush with menu */
.mg-fea-area .overlay {
    padding: 0 !important;
}

/* Remove footer background image and make footer bottom area flush with copyright */
.footer.back-img {
    background-image: none !important;
    background-color: #090818 !important;
}

footer .overlay {
    padding: 0 !important;
}

.custom-banner-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.custom-banner-slider {
    position: relative;
    width: 100%;
    height: 475px;
    overflow: hidden;
    background: #1a1a2e;
}

/* Slides */
.custom-banner-slider .cbs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.custom-banner-slider .cbs-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Arrows */
.cbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.cbs-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
    width: 54px;
    height: 54px;
}

.cbs-prev {
    left: 20px;
}

.cbs-next {
    right: 20px;
}

.cbs-arrow svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Dots */
.cbs-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.cbs-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.cbs-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.cbs-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
    .custom-banner-slider {
        height: 395px;
    }
}

@media (max-width: 767px) {
    .custom-banner-slider {
        height: 300px;
    }
    .cbs-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .cbs-arrow:hover {
        width: 38px;
        height: 38px;
    }
    .cbs-prev {
        left: 10px;
    }
    .cbs-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .custom-banner-slider {
        height: 200px;
    }
    .cbs-dot {
        width: 10px;
        height: 10px;
    }
}
