.services-list {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
    height: 100%;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-item:hover {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
}

.service-item.active {
    background-color: #4b9657;
    color: white;
    border-color: #4b9657;
}

.service-item.active .service-icon {
    background-color: white;
    color: #4b9657;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-title h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.service-display {
    padding-left: 30px;
    height: 100%;
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
}

.service-content-container {
    background: rgba(167, 167, 167, 0.2);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.service-content {
    color: white;
    width: 100%;
    transition: opacity 0.5s ease;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: rgb(111, 149, 192);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: #4b9657;
    border-color: #4b9657;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(75, 150, 87, 0.3);
}

.btn-primary:hover {
    background-color: #3a7a44;
    border-color: #3a7a44;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 150, 87, 0.4);
}

.service-image-container img {
    transition: opacity 0.5s ease;
}

.service-content {
    transition: opacity 0.5s ease;
}

@media (max-width: 991px) {
    .services-list {
        border-right: none;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .service-display {
        padding-left: 0;
    }

    .service-image-container {
        height: 500px;
    }
    .service-item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}


.service-title h3 {
    font-size: 1rem;
    margin: 0;
}
    .service-overlay {
        padding: 25px;
    }

    .service-content-container {
        padding: 25px;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .service-image-container {
        height: 450px;
    }

    .service-overlay {
        padding: 20px;
    }

    .service-content-container {
        padding: 20px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
        .service-item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}


    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-image-container {
        height: 300px;
    }

    .service-overlay {
        padding: 15px;
    }

    .service-content-container {
        padding: 15px;
    }

    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
        .service-item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}


    .service-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}
@media (min-width: 768px) {
    .services-list {
        display: block;
        overflow: visible;
        white-space: normal;
    }

    .service-item {
        display: flex;
        width: auto;
        min-width: auto;
    }
        .service-item {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

}
footer {
    background-color: #273d4e;
    padding: 20px 0;
}
.marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}
.marquee a {
    color: #4b9657;
    font-weight: bold;
}

.marquee a:hover {
    color: #4b9657;
}

.marquee p {
    display: inline-block;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.social-info span {
    margin-right: 20px;
}

.social-icon {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}
.top-bar-wrapper {
    z-index: 1;
}

.social-info {
    position: relative;
    z-index: 1000;
}

.social-info .social-icon {
    pointer-events: auto !important;
    z-index: 1001;
    margin: 0 10px;
    font-size: 18px;
    color: #ffffff;
    background: #4b9657;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.social-info .social-icon:hover {
    background: #ffffff;
    color: #4b9657;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .top-bar-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        background: #273d4e;
        position: relative;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        height: 20px;
    }

    .top-bar-toggle {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #fff;
    }

    #topbar {
        display: none;
        background: black;
        padding: 10px;
    }
    .top-bar-wrapper {
        display: none;
    }

    .main-nav {
        margin-top: 0;
    }
    body.topbar-active header.header {
        margin-top: 70px;
    }
}

.contact-info span:first-child {
    margin-right: 20px;
}
footer {
    background-color: #273d4e;
    padding: 20px 0;
}
.marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}
.marquee a {
    color: #4b9657;
    font-weight: bold;
}

.marquee a:hover {
    color: #4b9657;
}

.marquee p {
    display: inline-block;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.social-info span {
    margin-right: 20px;
}

.social-icon {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}
.top-bar-wrapper {
    z-index: 1;
}

.social-info {
    position: relative;
    z-index: 1000;
}

.social-info .social-icon {
    pointer-events: auto !important;
    z-index: 1001;
    margin: 0 10px;
    font-size: 18px;
    color: #ffffff;
    background: #4b9657;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.social-info .social-icon:hover {
    background: #ffffff;
    color: #4b9657;
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .top-bar-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        background: #273d4e;
        position: relative;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        height: 20px;
    }

    .top-bar-toggle {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #fff;
    }

    #topbar {
        display: none;
        background: black;
        padding: 10px;
    }
    .top-bar-wrapper {
        display: none;
    }

    .main-nav {
        margin-top: 0;
    }
    body.topbar-active header.header {
        margin-top: 70px;
    }
}

.contact-info span:first-child {
    margin-right: 20px;
}
/* Styles existants pour desktop/tablette */
.services-list {
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
    height: 100%;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Styles pour mobile uniquement */
@media (max-width: 767px) {
    .services-list {
        border-right: none;
        padding-right: 0;
        margin-bottom: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        white-space: nowrap;
        display: flex;
        gap: 15px;
        padding: 10px 5px;
    }
    
    .services-list::-webkit-scrollbar {
        display: none;
    }
    
    .service-item {
        flex: 0 0 auto;
        width: 280px;
        min-width: 280px;
        margin-bottom: 0;
        white-space: normal;
        display: inline-flex;
    }
    
    .services-container {
        display: block;
    }
    
    .service-display {
        padding-left: 0;
        margin-top: 20px;
    }
}

/* Pour tablette et desktop, garder l'affichage normal */
@media (min-width: 768px) {
    .services-list {
        display: block;
        overflow: visible;
        white-space: normal;
    }
    
    .service-item {
        display: flex;
        width: auto;
        min-width: auto;
    }
}