/* Custom Slider Styles */

.cs-slider-container {
    position: relative;
    width: 100%;
    max-width: 1900px;
    margin: 0 auto 30px; /* Adjust spacing as needed */
    overflow: hidden;
}

.cs-homepage-swiper {
    width: 100%;
    max-width: 1900px;
    height: 700px; /* Fixed slide height for 1900x700 image */
}
.cs-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Slide Background & Overlay */
.cs-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.cs-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Lighter overlay for brighter banner */
    background: linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 2;
}

/* Content Container */
.cs-slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cs-slide-content-inner {
    max-width: 600px; /* Constrain text width */
    color: #ffffff;
}

/* Typography & Glassmorphism elements */
.cs-slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cs-slide-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Premium Button Style */
.cs-slide-action .cs-slide-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #0056b3; /* Primary Blue color, adjust to exact C&S brand blue */
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
}

.cs-slide-action .cs-slide-btn:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
    color: #ffffff;
}

/* Swiper Controls Customization */
.cs-homepage-swiper .swiper-button-next,
.cs-homepage-swiper .swiper-button-prev {
    color: #ffffff;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}



.cs-homepage-swiper .swiper-button-next:after,
.cs-homepage-swiper .swiper-button-prev:after {
    font-size: 20px;
}



/* Pagination container at bottom of slider */
.cs-pagination-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    z-index: 9;
    pointer-events: none;
}

.cs-homepage-swiper .swiper-pagination {
    position: absolute;
    bottom: 12px !important;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
    pointer-events: auto;
    top:25%;
}

.cs-homepage-swiper .swiper-pagination-bullet {
    background: #e0e0e0; /* Light gray inactive line */
    opacity: 1;
    width: 30px; /* Line width */
    height: 4px; /* Line height */
    border-radius: 0; /* Remove circle */
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.cs-homepage-swiper .swiper-pagination-bullet-active {
    background: #0056b3; /* Brand blue active line */
    width: 30px;
    box-shadow: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .cs-homepage-swiper {
        height: 500px;
    }
    .cs-slide-title {
        font-size: 2.8rem;
    }
    .cs-slide-desc {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .cs-homepage-swiper {
        height: 400px;
    }
    .cs-slide-title {
        font-size: 2rem;
    }
    .cs-slide-desc {
        font-size: 1rem;
    }
    .cs-slide-action .cs-slide-btn {
        padding: 12px 25px;
    }
}
