/* Styles de base existants - inchangés */
.base-sections {
    background: url(../images/all-bg.jpeg) no-repeat top center;
    background-size: cover;
    align-items: center;
    justify-content: center;

}

/* Conteneur principal du slider */
.our-services .services-slider-container {
    position: relative;
    height: 650px; 
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

/* Piste de défilement */
.our-services .services-track {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    will-change: transform;
    transition: transform 1s ease-in-out;
}

/* Groupe de cartes (2 lignes) */
.our-services .services-slide {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 600px; /* Hauteur pour 2 lignes */
    margin-bottom: 20px;
}

/* Conteneur de carte individuelle */
.our-services .service-card-container {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
    height: 300px; /* Hauteur d'une ligne */
}

/* Styles des cartes - inchangés */
.service-item {
    position: relative;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    background-color: var(--white-color);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ... (conservez tous vos autres styles .service-item existants) ... */

/* Navigation */
.our-services .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
}

.our-services .slider-prev {
    left: -50px;
}

.our-services .slider-next {
    right: -50px;
}

/* Indicateurs de position */
.our-services .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.our-services .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.our-services .slider-dot.active {
    background: var(--accent-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .our-services .service-card-container {
        width: 25%;
    }
}

@media (max-width: 992px) {
    .our-services .service-card-container {
        width: 50%;
        height: 350px;
    }
    
    .our-services .services-slide {
        height: 700px;
    }
    
    .our-services .services-slider-container {
        height: 750px;
    }
}

@media (max-width: 576px) {
    .our-services .service-card-container {
        width: 100%;
        height: 400px;
    }
    
    .our-services .services-slide {
        height: 800px;
    }
    
    .our-services .services-slider-container {
        height: 850px;
    }
    
    .our-services .slider-nav {
        display: none;
    }
}

.our-services .services-slider-container {
    position: relative;
    height: 600px; /* Hauteur pour 2 lignes */
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.our-services .services-track {
    position: relative;
    width: 100%;
    transition: transform 1s ease-in-out;
}

.our-services .services-slide {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 600px; /* 2 lignes de 300px chacune */
    margin-bottom: 0;
}

.our-services .service-card-container {
    width: 25%;
    padding: 15px;
    box-sizing: border-box;
    height: 300px; /* Hauteur d'une ligne */
}

/* Responsive */
@media (max-width: 992px) {
    .our-services .service-card-container {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .our-services .service-card-container {
        width: 100%;
    }
}