/* Styles de base */
#about, #about-apa-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h2 {
    color: #043b3d;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #0FB9AF;
    margin: 20px auto;
}

/* Style des sections avec image */
.benefit {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px 0;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.benefit.reverse {
    flex-direction: row-reverse;
}

.benefit-text {
    flex: 1;
}

.benefit-image {
    flex: 1;
    max-width: 500px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Style des titres dans les sections */
.highlighted-title {
    color: #0FB9AF;
    font-size: 1.8em;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.highlighted-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #0FB9AF;
    border-radius: 3px;
}

/* Style des paragraphes */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

/* Style des listes - Changement des sélecteurs pour être plus spécifiques */
.benefit-text ul,
.apa-text ul {
    list-style: none;
    padding-left: 20px;
}

.benefit-text ul li,
.apa-text ul li {
    margin: 15px 0;
    position: relative;
    padding-left: 25px;
}

.benefit-text ul li::before,
.apa-text ul li::before {
    content: '•';
    color: #0FB9AF;
    position: absolute;
    left: 0;
    font-size: 1.5em;
}

/* Style des mots clés */
.keyword {
    color: #0FB9AF;
    font-weight: 600;
}

/* Style de la section APA */
.apa-content {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    align-items: center;
}

.apa-image {
    flex: 1;
    max-width: 500px;
}

.apa-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: cover;
}

.apa-text {
    flex: 1;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .benefit, 
    .benefit.reverse,
    .apa-content {
        flex-direction: column;
        padding: 20px;
    }

    .benefit-image,
    .apa-image {
        max-width: 100%;
        order: -1; /* Place l'image au-dessus du texte */
    }

    h2 {
        font-size: 2em;
    }

    .highlighted-title {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 768px) {
    #about, #about-apa-section {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.8em;
    }

    .benefit {
        margin: 30px 0;
    }

    p {
        font-size: 0.95em;
    }

    ul li {
        font-size: 0.95em;
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.5em;
    }

    .highlighted-title {
        font-size: 1.3em;
    }

    .benefit {
        padding: 15px;
        margin: 20px 0;
    }

    ul {
        padding-left: 10px;
    }

    ul li {
        padding-left: 20px;
    }
}

/* Animations */
.benefit {
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit-image img {
    transition: transform 0.3s ease;
}

.benefit-image img:hover {
    transform: scale(1.02);
}

/* Style du slogan et contact dans le footer */
.slogan p,
.contact-info p,
.contact-info h3 {
    color: #fff; /* Texte en blanc */
}

.contact-info p {
    margin-bottom: 10px; /* Petit espacement entre les lignes de contact */
}

/* Ajout d'un padding-top pour éviter que le contenu soit caché par la navbar */
main {
    padding-top: 100px; /* Ajustez cette valeur selon vos besoins */
}

/* Ajustement spécifique pour la section "Qui suis-je" */
#about {
    margin-top: 20px; /* Espace supplémentaire si nécessaire */
}

/* Ajustement du titre pour qu'il soit bien visible */
#about-me {
    padding-top: 20px;
} 