/* General Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Carousel */
.spanslide {
    color: white;
}

.single-slider {
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.single-slider h1 {
    color: #2C2D3F;
    font-size: 38px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 42px;
    font-family: Arial, sans-serif !important;
}

.slid {
    background-image: url("/assets/img/Slide%20Façade%202.jpg") !important;
}

.slide {
    background-image: url('/assets/img/IMG_4642.JPG') !important;
}

.slide_imagerie {
    background-image: url('/assets/img/Slide%20Imagerie.jpg') !important;
}

.slidd {
    background-image: url('/assets/img/Slide%20Salle.jpg') !important;
}

.slidlab {
    background-image: url('/assets/img/Slide%20Lab.jpg') !important;
}

.slide_apropos {
    background-image: url('/assets/img/apropos.jfif') !important;
}

.brbr {
    display: none;
}

.text-e {
    color: white !important;
    text-align: center;
    white-space: nowrap;
    font-family: Helvetica, sans-serif !important;
}

/* Custom Navigation Buttons for Hero Slider */
.swiper-button-prev, .swiper-button-next {
    background: #2597bf;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px; /* For prev */
    margin-right: 60px; /* For next */
}

.swiper-button-prev i, .swiper-button-next i {
    color: white;
    font-size: 24px;
}

.swiper-button-prev::after, .swiper-button-next::after {
    content: none; /* Remove default Swiper arrows */
}

/* Qualite Carousel */
.schedule {
    background: white;
    margin: 0;
    padding: 0;
    height: 180px;
}

.schedule .schedule-inner {
    position: relative;
    transform: translateY(-50%);
    margin: 0 60px;
    z-index: 9;
}

.schedule .single-schedule {
    position: relative;
    text-align: left;
    z-index: 3;
    border-radius: 5px;
    background: #2597bf;
    transition: all .3s ease-out 0s;
}

.schedule .single-schedule .inner {
    overflow: hidden;
    position: relative;
    padding: 30px;
    z-index: 2;
    min-height: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule .single-schedule:before {
    position: absolute;
    z-index: -1;
    content: '';
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    height: 90%;
    background: #2597bf;
    opacity: 0;
    filter: blur(10px);
    transition: all .3s ease-out 0s;
}

.schedule .single-schedule:hover:before {
    opacity: 0.8;
}

.schedule .single-schedule:hover {
    transform: translateY(-5px);
}

.schedule .single-schedule .icon i {
    position: absolute;
    font-size: 110px;
    color: white;
    transition: all .3s ease-out 0s;
    z-index: -1;
    visibility: visible;
    opacity: 0.2;
    right: -25px;
    bottom: -30px;
}

.schedule .single-schedule span {
    display: block;
    color: white;
}

.schedule .single-schedule h4 {
    font-size: 18px;
    font-weight: 600;
    text-transform: capitalize;
    color: white;
    margin-top: 13px;
    line-height: 1.4;
}

.schedule .single-schedule p {
    color: white;
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.schedule .single-schedule .single-content {
    overflow: auto;
    max-height: 100%;
}

/* Custom Navigation Buttons for Qualite Slider */
.qualite-prev, .qualite-next {
    background: #2597bf;
    border-radius: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -40px; /* For prev */
    margin-left: -40px; /* For next */
}

.qualite-prev i, .qualite-next i {
    color: white;
    font-size: 24px;
}

.my-icon {
    color: white;
    font-size: 28px;
}

.qualite-prev::after, .qualite-next::after {
    content: none; /* Remove default Swiper arrows */
}

.swiper-pagination-bullet-active {
    background: #2597bf;
}

.swiper-pagination {
    margin-bottom: -40px;
}

/* Responsive Adjustments */
@media (min-width: 0px) and (max-width: 900px) {
    .brbr {
        display: block;
    }
    .text-e {
        white-space: inherit;
        font-size: 24px !important;
        margin: 0px 10px;
    }
    .single-slider {
        height: 300px;
    }
    .schedule .single-schedule .inner {
        min-height: 350px;
        height: auto;
        padding: 20px;
    }
    .schedule .single-schedule h4 {
        font-size: 16px;
    }
    .schedule .single-schedule p {
        font-size: 12px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .single-slider {
        height: 380px;
    }
    .schedule {
        background: white;
        margin: 0;
        padding: 70px 0;
        height: auto;
        border-bottom: 1px solid #eee;
    }
    .schedule .schedule-inner {
        transform: none;
        margin: 0;
    }
    .schedule .single-schedule.last {
        margin-top: 30px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .schedule {
        background: white;
        margin: 0;
        padding: 20px 0;
        height: auto;
    }
    .schedule .schedule-inner {
        transform: none;
        margin: 0 20px;
    }
    .schedule .single-schedule {
        margin: 1px 0;
    }
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}