/* Full Width & 50vh Height */
.cbs-slider-container {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.cbs-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dark Overlay for Text Readability */
.cbs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Middle Content Layout */
.cbs-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.cbs-subtitle {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #ffda79;
}

.cbs-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #ffffff;
    line-height: 1.2;
}

.cbs-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e74c3c;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cbs-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* Swiper Controls Custom Theme */
.cbs-slider-container .swiper-button-next,
.cbs-slider-container .swiper-button-prev {
    color: #ffffff;
}

.cbs-slider-container .swiper-pagination-bullet-active {
    background: #e74c3c;
}

/* Text Animations for Swiper active slide */
.swiper-slide .cbs-subtitle,
.swiper-slide .cbs-title,
.swiper-slide .cbs-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.swiper-slide-active .cbs-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.swiper-slide-active .cbs-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.swiper-slide-active .cbs-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cbs-slider-container {
        height: 40vh; /* Adjust height for smaller mobile screens */
    }
    .cbs-title {
        font-size: 1.8rem;
    }
    .cbs-subtitle {
        font-size: 0.85rem;
    }
    .cbs-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}