/* Styles pour les onglets de services */
.services-tabs-container {
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.services-tabs-nav {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    margin-bottom: 30px;
    border-bottom: 1px solid #eaf0ec;
    padding-bottom: 10px;
}

.services-tabs-nav::-webkit-scrollbar {
    display: none;
}

.services-tab {
    padding: 15px 30px;
    background-color: #f8f8f8;
    border-radius: 50px;
    color: #222222;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 15px;
    border: 1px solid transparent;
}

.services-tab:last-child {
    margin-right: 0;
}

.services-tab.active {
    background-color: #222222;
    color: #ffffff;
}

.services-tab:hover:not(.active) {
    background-color: #eaeaea;
    border-color: #ddd;
}

.services-content {
    display: none;
}

.services-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Boutons de navigation pour le défilement horizontal sur mobile */
.tabs-nav-arrows {
    display: none;
}

@media (max-width: 991px) {
    .tabs-nav-arrows {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
    }
    
    .tab-arrow {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #222222;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .tab-arrow:hover {
        background-color: #333;
    }
    
    .services-tab {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
