.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Espacement uniforme entre les sections */
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Assure un bon espacement entre image et texte */
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Animation initiale */
    transform: translateY(50px); /* Animation initiale */
    filter: blur(5px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, filter 0.6s ease-out;
}

.about-section.active {
    opacity: 1; /* Apparition */
    transform: translateX(0); /* Réinitialisation de l'animation */
    filter: blur(0); /* Suppression du flou */
}

.about-section.left {
    flex-direction: row; /* Image à gauche, texte à droite */
    transform: translateX(-50px); /* Départ à gauche */
}

.about-section.right {
    flex-direction: row-reverse; /* Image à droite, texte à gauche */
    transform: translateX(50px); /* Départ à droite */
}

.about-section img {
    width: 180px; /* Taille uniforme et plus compacte */
    height: 180px;
    border-radius: 50%; /* Cercle parfait */
    object-fit: cover; /* Ajuste l'image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    margin: 0 20px; /* Ajoute un espace entre image et texte */
}

.about-section img:hover {
    transform: scale(1.1); /* Effet de zoom au survol */
}

.about-text {
    flex: 1; /* Le texte prend tout l'espace disponible */
    padding: 10px 20px;
}

h2 {
    color: #1abc9c;
    margin-bottom: 10px;
    font-size: 20px;
}

p {
    line-height: 1.6;
    font-size: 16px;
    margin: 0; /* Évite les marges indésirables */
}
