/* Styles pour corriger l'affichage des icônes */
#thesectorsweserve .service-item {
    padding: 20px 15px;
    transition: none; /* Supprime toutes les transitions */
}

#thesectorsweserve .service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: none; /* Supprime toutes les transitions */
}

/* Effet hover supprimé - état normal conservé */
#thesectorsweserve .service-item:hover .service-icon {
    background: #f8f9fa; /* Même couleur que l'état normal */
    transform: none; /* Pas de transformation */
}

#thesectorsweserve .sector-icon {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
    transition: none; /* Supprime toutes les transitions */
}

/* Effet hover supprimé - état normal conservé */
#thesectorsweserve .service-item:hover .sector-icon {
    filter: none; /* Pas de filtre */
}

#thesectorsweserve h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#thesectorsweserve p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    #thesectorsweserve .service-item {
        margin-bottom: 30px;
    }
    
    #thesectorsweserve .service-icon {
        width: 80px;
        height: 80px;
    }
    
    #thesectorsweserve .sector-icon {
        max-width: 40px;
        max-height: 40px;
    }
    
    #thesectorsweserve h3 {
        font-size: 16px;
        min-height: auto;
    }
}
/** new**/
/* =================================== */
/*	Correction Services Icons Display
/* =================================== */

#service .service-item {
    padding: 30px 20px;
    margin-bottom: 40px;
    text-align: center;
}

#service .service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

#service .service-icon img {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Hover effect */
#service .service-item:hover .service-icon {
    border-color: #009ee3;
    background: #f0f8ff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 158, 227, 0.2);
}

#service h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 15px;
    text-transform: uppercase;
    color: #252525;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#service p {
    font-size: 14px;
    color: #818181;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

/* Fallback si image ne charge pas */
#service .service-icon img[src=""], 
#service .service-icon img:not([src]) {
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #service .service-icon {
        width: 100px;
        height: 100px;
    }
    
    #service .service-icon img {
        width: 50px !important;
        height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }
    
    #service h3 {
        font-size: 16px;
        min-height: auto;
    }
    
    #service .service-item {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
}

/* Support RTL (Arabe) */
[dir="rtl"] #service .service-item,
body.rtl #service .service-item {
    text-align: center;
}

[dir="rtl"] #service h3,
body.rtl #service h3 {
    text-align: center;
}

[dir="rtl"] #service p,
body.rtl #service p {
    text-align: center;
}

/* Animation au chargement */
#service .service-icon {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


