/* Section Soutien Humanitaire */
.humanitarian-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    /* Utilise la couleur de fond claire déjà définie */
    background-color: var(--light-grey); 
}

.humanitarian-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.humanitarian-container {
    display: flex;
    gap: 60px;
    align-items: center; 
}

.humanitarian-container .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    align-items: flex-start;
}

.humanitarian-container .text-block h2,
.humanitarian-container .text-block h3 {
    width: 100%;
    margin-bottom: 20px;
}

.humanitarian-container .text-block p {
    width: 100%;
    margin-bottom: 15px;
}

.humanitarian-container .image-bloc {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.humanitarian-image {
    width: 100%;
    max-width: 500px;
    min-height: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Style du bouton "Découvrir notre action humanitaire" */
.btn-humanitarian {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-block;
    transition: background-color 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-humanitarian:hover {
    background: var(--dark-blue);
}

/* Réactivité */
@media (max-width: 1024px) {
    .humanitarian-container {
        flex-direction: column; /* Empile l'image et le texte */
        gap: 30px;
        align-items: center;
    }
    .humanitarian-container .text-block {
        max-width: 100%;
        text-align: center;
        order: 1; /* Texte après l'image */
    }
    .humanitarian-container .image-block {
        order: 0; /* Image en premier */
        justify-content: center;
    }
    .humanitarian-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .humanitarian-section {
        padding: 40px 20px;
    }
}


/* Section Bien-être au Travail & Population */
.wellbeing-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-color: white; /* Fond blanc par défaut */
}

.wellbeing-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.wellbeing-container {
    display: flex;
    gap: 60px;
    align-items: center; /* Aligne le texte et l'image verticalement */
}

.wellbeing-container .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    align-items: flex-start;
}

.wellbeing-container .text-block h2,
.wellbeing-container .text-block h3 {
    width: 100%;
    margin-bottom: 20px;
}

.wellbeing-container .text-block p {
    width: 100%;
    margin-bottom: 15px;
}

.wellbeing-container .image-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.wellbeing-image {
    width: 100%;
    max-width: 500px;
    min-height: 380px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Conteneur des boutons pour l'alignement */
.wellbeing-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap; /* Permet aux boutons de passer à la ligne sur mobile */
    gap: 15px;
}

/* Style du bouton principal (Solutions) */
.btn-wellbeing-main {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-wellbeing-main:hover {
    background: var(--dark-blue);
}

/* Style du bouton secondaire (Formations) */
.btn-wellbeing-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-blue);
    font-size: 1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-wellbeing-secondary:hover {
    background: var(--primary-blue);
    color: white;
}


/* Réactivité */
@media (max-width: 1024px) {
    .wellbeing-container {
        flex-direction: column; /* Empile l'image et le texte */
        gap: 30px;
        align-items: center;
    }
    .wellbeing-container .text-block {
        max-width: 100%;
        text-align: center;
        order: 1; /* Texte après l'image */
    }
    .wellbeing-container .image-block {
        order: 0; /* Image en premier */
        justify-content: center;
    }
    .wellbeing-image {
        max-width: 100%;
        height: auto;
    }
    .wellbeing-buttons {
        justify-content: center; /* Centre les boutons sur mobile */
    }
}

@media (max-width: 600px) {
    .wellbeing-section {
        padding: 40px 20px;
    }
    /* Les boutons s'étendent sur toute la largeur sur petit écran */
    .btn-wellbeing-main, .btn-wellbeing-secondary {
        flex-grow: 1;
        text-align: center;
    }
}

/* Style pour le titre de la section principale des Axes */
.axes-title-section {
    padding: 60px 40px 0;
    text-align: center; /* Assure le centrage du texte */
    background-color: white;
    max-width: 100%;
    margin: auto;
}

.section-main-title {
    font-size: 3em;
    color: var(--primary-blue);
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Soulignement centré */
.section-main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 10px auto 0; /* Centre la ligne de séparation */
    border-radius: 2px;
}

/* ============================================== */
/* STYLES UNIFORMES POUR TOUTES LES SECTIONS D'AXES */
/* ============================================== */

/* Compatibilité avec les anciennes classes - redirige vers les nouvelles */
.kimia-section,
.humanitarian-section,
.professional-section,
.first-aid-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.kimia-content,
.humanitarian-container,
.professional-container,
.first-aid-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Styles uniformes pour toutes les sections d'axes */
.axe-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.axe-section.white-bg {
    background-color: white;
}

.axe-section.light-grey-bg {
    background-color: var(--light-grey);
}

.axe-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
    display: flex;
    gap: 60px;
    align-items: center;
}

.axe-container.reverse {
    flex-direction: row-reverse;
}

.axe-container .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    align-items: flex-start;
}

.axe-container .text-block h2,
.axe-container .text-block h3 {
    width: 100%;
    margin-bottom: 20px;
}

.axe-container .text-block p {
    width: 100%;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

.axe-container .image-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.axe-image {
    width: 100%;
    max-width: 500px;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.axe-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Liste des services pour la section professionnelle */
.axe-services-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
}

.axe-services-list li {
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.axe-services-list li i {
    color: var(--accent-green);
    font-size: 1.2em;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Bouton uniforme pour toutes les sections d'axes */
.btn-axe {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.btn-axe:hover {
    background: var(--dark-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 160, 223, 0.3);
}

.btn-axe i {
    transition: transform 0.3s ease;
}

.btn-axe:hover i {
    transform: translateX(5px);
}

/* Réactivité uniforme pour toutes les sections d'axes */
@media (max-width: 1024px) {
    .axe-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .axe-container.reverse {
        flex-direction: column;
    }
    
    .axe-container .text-block {
        max-width: 100%;
        text-align: center;
        order: 1;
        align-items: center;
    }
    
    .axe-container .image-block {
        order: 0;
        justify-content: center;
        width: 100%;
    }
    
    .axe-image {
        max-width: 100%;
        height: auto;
        min-height: 350px;
    }
    
    .axe-services-list {
        text-align: left;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .axe-section {
        padding: 50px 20px;
    }
    
    .axe-container {
        gap: 25px;
    }
    
    .axe-image {
        min-height: 300px;
    }
    
    .axe-services-list li {
        font-size: 0.95em;
    }
    
    .btn-axe {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}