.services-faq-container {
    width: 100%;
    min-height: auto !important;
    background-color: var(--bg-color);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -1rem !important;
}

.services-faq-header {
    text-align: left;
    margin-bottom: 17px !important;
    right: 6rem;
    position: relative;
}
@media screen and (max-width:1500px) and (min-width:991px) {
    .services-faq-header {
        right: 2rem !important;
    }
}

.services-faq-title {
    font-size: 48px;
    color: var(--title-color);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.2;
}

.services-faq-subtitle {
    /* font-size: 24px;
    color: var(--subtitle-color);
    margin: 0; */
    font-size: 48px !important;
    color: #b7b7b7;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Orbitron' !important;
}

.services-faq-list {
    width: 100%;
    max-width: 985px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-item {
    background-color: #171a1f;
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--animation-duration) ease;
    border: 0.5px solid white;
}

.service-item:hover {
    background-color: var(--hover-color);
}

.service-header {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    cursor: pointer;
    gap: 24px;
}

.service-icon {
    width: 24px;
    height: 24px;
    color: #666666; /* Gris par défaut pour les icônes */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color var(--animation-duration) ease;
}

.service-icon .service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(0.6); /* Gris par défaut pour les images */
}

.service-item:hover .service-icon {
    color: var(--icon-color); /* Blanc au survol pour les icônes */
}

.service-item:hover .service-icon .service-image {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1); /* Couleurs naturelles au survol */
}

.service-title {
    color: #666666; /* Gris par défaut */
    display: flex;
    margin: 0;
    flex-grow: 1;
    font-size: 18px;
    font-weight: 500;
    transition: color var(--animation-duration) ease;
}

.service-item:hover .service-title {
    color: var(--service-color); /* Blanc au survol */
}

.service-toggle {
    color: #666666; /* Gris par défaut */
    transition: all var(--animation-duration) ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-item:hover .service-toggle {
    color: var(--icon-color); /* Blanc au survol */
}

.service-item.open .service-toggle .toggle-arrow {
    transform: rotate(180deg);
}

.service-item.no-content .service-toggle .toggle-arrow {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    transform: none !important;
}

.service-item.no-content .service-toggle .no-content-label {
    font-size: 12px;
    opacity: 0.7;
}

.service-content {
    height: 0;
    opacity: 0;
    transition: height var(--animation-duration) ease,
                opacity var(--animation-duration) ease;
    overflow: hidden;
}

.service-item.open .service-content {
    height: auto;
    opacity: 1;
}

.service-content-inner {
    padding: 0 32px 24px 80px;
    color: #666666; /* Gris par défaut */
    line-height: 1.6;
    text-align: left;
    font-family: auto;
    transition: color var(--animation-duration) ease;
}

.service-item:hover .service-content-inner {
    color: var(--service-color); /* Blanc au survol */
}

@media (max-width: 768px) {
    .services-faq-container {
        padding: 40px 16px;
        min-height: auto !important;
    }

    .feature-subtitle {
        display: none;
    }

    .feature-content {
        font-size: 11px !important;
    }

    .services-faq-header {
        text-align: center;
        right: 0;
        margin-bottom: 30px !important;
        width: 100%;
    }

    .services-faq-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .services-faq-subtitle {
        font-size: 20px !important;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .services-faq-list {
        max-width: 100%;
        gap: 12px;
    }

    .service-item {
        border-radius: 8px;
        margin-bottom: 0;
    }

    .service-header {
        padding: 16px 16px;
        gap: 12px;
        min-height: auto;
    }

    .service-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    
    .service-icon .service-image {
        border-radius: 3px;
    }

    .service-title {
        font-size: 15px;
        line-height: 1.4;
        flex-grow: 1;
        margin: 0;
    }

    .service-toggle {
        flex-shrink: 0;
    }

    .service-content-inner {
        padding: 0 16px 16px 48px;
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .services-faq-container {
        padding: 30px 12px;
    }

    .services-faq-header {
        right: 0 !important;
        text-align: center;
        margin-bottom: 25px !important;
    }

    .services-faq-title {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .services-faq-subtitle {
        font-size: 18px !important;
        line-height: 1.3;
    }

    .services-faq-list {
        gap: 10px;
    }

    .service-item {
        border-radius: 6px;
    }

    .service-header {
        padding: 14px 12px;
        gap: 10px;
    }

    .service-icon {
        width: 18px;
        height: 18px;
    }

    .service-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .service-content-inner {
        padding: 0 12px 14px 40px;
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Amélioration générale pour tous les mobiles */
@media (max-width: 768px) {
    .service-item.open .service-content {
        height: auto;
        opacity: 1;
        transition: all 0.2s ease;
    }

    .service-content {
        transition: all 0.2s ease;
    }

    .service-item {
        transition: all 0.2s ease;
    }
}
