
/* Styles pour la section Module / Gestion */
#landingGestion {
    position: relative;
    padding: 4rem 0;
    background-color: #f8f9fa;
}

/* Styles des icônes et effets */
.fun-facts-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    width: 100px;
    height: 100px;
    padding: 1.5rem !important;
}

.fun-facts-icon:hover {
    transform: scale(1.1);
}

/* Style pour les icônes - couleur et taille */
.fun-facts-icon i {
    color: #fff; /* Texte blanc pour contraster avec le fond */
    font-size: 2.5rem !important;
}

/* Style pour le titre principal */
.display-5.fs-4.fw-bold {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem;
    color: #333;
}

/* Style pour le sous-titre de la section */
.text-center.fw-medium.mb-10 {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #64748b;
}

/* Style pour les titres des modules avec effet de dégradé */
.fun-facts-text {
    background: linear-gradient(45deg, #0d6efd, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    margin-bottom: 0.75rem !important;
    padding-top: 1rem;
}

/* Ajout de marge pour les descriptions des modules */
h6.mb-0.text-body {
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #6c757d !important;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Espacement et organisation */

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.p-5 {
    padding: 1.25rem;
}

/* Classes pour les couleurs de fond des badges */
.bg-label-hover-primary {
    background-color: #0d6efd; /* Bleu */
    transition: background-color 0.3s ease;
}

.bg-label-hover-primary:hover {
    background-color: #0b5ed7; /* Bleu plus foncé au survol */
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.bg-label-hover-success {
    background-color: #198754; /* Vert */
    transition: background-color 0.3s ease;
}

.bg-label-hover-success:hover {
    background-color: #157347; /* Vert plus foncé au survol */
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.bg-label-hover-warning {
    background-color: #ffc107; /* Jaune */
    transition: background-color 0.3s ease;
}

.bg-label-hover-warning:hover {
    background-color: #e0a800; /* Jaune plus foncé au survol */
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

/* Taille des icônes */
.ri-42px {
    font-size: 42px;
}

/* Animation pour les éléments avec AOS */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .fun-facts-icon {
        width: 90px;
        height: 90px;
        padding: 1.25rem !important;
    }
    
    .fun-facts-text {
        font-size: 1.3rem;
    }
    
    h6.mb-0.text-body {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    #landingGestion {
        padding: 3rem 0;
    }
    
    .display-5.fs-4.fw-bold {
        font-size: 1.7rem !important;
    }
    
    .text-center.fw-medium.mb-10 {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .col-md-4.col-sm-6.text-center {
        margin-bottom: 2.5rem;
    }
}
