.section-main {
    overflow: hidden; /* Assure que les éléments sortants ne sont pas visibles */
}

.main_section {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.main_section.visible {
    opacity: 1;
    transform: translateX(0);
}
.container {
    max-width: 800px; /* Ajuste la largeur en fonction de tes besoins */
    margin: 0 auto; /* Centre le conteneur horizontalement */
    padding: 0 15px; /* Optionnel : Ajoute un padding pour éviter que le texte touche les bords du conteneur */
}

.text-content {
    width: 100%; /* Assure que le texte prend toute la largeur disponible du conteneur */
    box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
    text-align: justify; /* Aligne le texte à gauche et à droite */
    line-height: 25px; /* Ajuste l'espacement entre les lignes de texte */
}

.text-content:last-of-type {
    margin-bottom: 0; /* Supprime la marge inférieure pour le dernier élément, si nécessaire */
}

.Step_div {
    position: relative; /* Assure que l'élément peut être animé */
    opacity: 0; /* Commence avec l'élément invisible */
    transform: translateX(-100px); /* Positionne l'élément hors de l'écran vers la gauche */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Animation de l'opacité et de la translation */
}

.Step_div.visible {
    opacity: 1; /* Rends l'élément visible */
    transform: translateX(0); /* Déplace l'élément à sa position d'origine */
}

.card-container {
    display: flex;
    flex-direction: column;
}

.card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; /* Ajuste l'espacement entre les lignes selon tes préférences */
}

.card-item {
    flex: 1 1 calc(25% - 10px); /* Ajuste la largeur pour 4 éléments par ligne avec un espacement */
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: scale(1.05); /* Effet au survol pour un feedback visuel */
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.icon-wrapper img {
    max-width: 100%;
    height: auto;
}


/* Modal styling */
.custom-modal {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden initially */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease; /* Transition for smooth animation */
    z-index: 1050;
}

.custom-modal-content {
    background-color: white;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    position: relative;
}

.custom-modal.show {
    left: 0; /* Slide in from the left */
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}


.card-item {
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for color changes */
}

.card-item:hover {
    transform: scale(1.05); /* Zoom effect on hover */
    background-color: rgba(13, 110, 254, 0.1); /* Change background color on hover */
    color: rgba(13, 110, 254); /* Change text color on hover */
}

.card-item:hover .icon-wrapper img {
    filter: brightness(1.5) sepia(1) hue-rotate(90deg); /* Change color of the image on hover */
}


.etape_2 {
    border: 1px solid rgb(93, 188, 252);
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #fff;
}
.etape_1 .fs-2 {
    color: #0d7eff;
    border: 2px solid #0d7eff;
    padding: 5px;
    width: 150px;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.text-center {
    text-align: center;
}
.container {
    max-width: 100%;
    margin: 0 auto;
    
}

.image_title_card{
    width: 60px;
    height: 60px;
    border-radius: 50px;
}