/* Variables CSS pour les couleurs */
:root {
    --primary-blue: #00A0DF;
    --dark-blue: #006090; /* Un bleu plus foncé pour le footer */
    --accent-green: #00C853;
    --text-color: #333;
    --light-grey: #F9F9F9;
    --dark-grey-text: #555;
    --section-bg-blue: #E3F2FD; /* Couleur bleue claire pour les services */
}
 

 

 
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 2.8em;
    font-weight: bold;
    line-height: 1.2;
}

h2 {
    font-size: 2em;
    font-weight: bold;
}

h3 {
    font-size: 1.5em;
    color: var(--dark-grey-text);
}

p {
    margin-bottom: 1em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Utility Classes */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Les styles .btn-contact sont maintenant dans la section Navigation */

.btn-whatsapp {
    background: #25D366; /* WhatsApp brand green */
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.btn-whatsapp i {
    font-size: 1.1em;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.blue-bg {
    background-color: var(--primary-blue);
    color: white;
}

.white-bg {
    background-color: white;
    color: var(--text-color);
}

/* ============================================== */
/* HEADER - STABLE ET FIXE */
/* ============================================== */
header {
    background: var(--primary-blue) !important;
    color: white;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 55px !important; /* Hauteur réduite */
    min-height: 55px !important;
    max-height: 55px !important;
    z-index: 1000 !important;
    box-sizing: border-box;
    /* Empêche les déformations lors du scroll */
    will-change: auto;
    /* Assure que le header reste stable */
    overflow: visible;
    /* Protection contre les transformations et animations */
    transform: none !important;
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    /* Protection contre les modifications JavaScript */
    pointer-events: auto !important;
}

/* Barre du haut super compacte */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 15px; /* très fine */
    font-size: 0.7em; /* texte plus petit */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-left span {
    margin-right: 8px;
}

.topbar-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.topbar-right span i {
    font-size: 0.8em; /* icônes plus petites */
}

/* ============================================== */
/* NAVIGATION PRINCIPALE - NOUVELLE STRUCTURE */
/* ============================================== */

/* Container principal de navigation */
.main-nav {
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    /* Protection contre les modifications */
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Container interne pour organiser les éléments */
.nav-container {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 6px 5% !important;
    height: 55px !important; /* Hauteur réduite correspondant au header */
    min-height: 55px !important;
    max-height: 55px !important;
    box-sizing: border-box;
    width: 100% !important;
    position: relative;
    /* Empêche les déformations */
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    /* Protection contre les transformations et animations */
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Section Logo */
.nav-logo {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: fit-content;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    text-decoration: none;
    color: inherit;
    height: 43px !important; /* Hauteur réduite pour le logo */
    transform: none !important;
}

.nav-logo .logo-img {
    height: 43px !important;
    width: auto;
    display: block;
    flex-shrink: 0 !important;
    object-fit: contain;
    transform: none !important;
    animation: none !important;
}

.nav-logo .logo-text {
    display: none;
    color: white;
    margin: 0;
    font-size: 1em;
    white-space: nowrap;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

/* Navigation Links */
.nav-links {
    display: flex !important;
    gap: 6px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0; /* Permet au flex de rétrécir si nécessaire */
    position: relative !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75em;
    padding: 5px 10px;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border-radius: 4px;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}

/* Effet hover pour les liens */
.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Pas de transform pour éviter les déformations */
}

/* Ligne sous le lien au survol */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Lien actif */
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-green);
}

.nav-links a.active::after {
    width: 80%;
    background-color: var(--accent-green);
}

/* Bouton Contact */
.btn-contact {
    background: var(--accent-green);
    color: white;
    flex-shrink: 0;
    flex-grow: 0;
    white-space: nowrap;
    min-width: fit-content;
    padding: 6px 16px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.8em;
    font-family: 'Inter', sans-serif;
    /* Empêche les déformations */
    height: auto;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.btn-contact:hover {
    background: #00b347;
    box-shadow: 0 4px 8px rgba(0, 200, 83, 0.3);
}

.btn-contact:active {
    box-shadow: 0 2px 4px rgba(0, 200, 83, 0.2);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease;
    z-index: 1002 !important;
    padding: 8px 12px;
    background: none;
    border: none;
    outline: none;
    /* Assurer que le bouton est cliquable */
    position: relative;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle.active {
    transform: rotate(90deg);
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    header {
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
    }
    
    .nav-container {
        padding: 6px 15px;
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
    }
    
    .nav-logo .logo-img {
        display: none;
    }
    
    .nav-logo .logo-text {
        display: block;
        font-size: 0.9em;
    }
    
    .nav-links {
        display: none !important;
        flex-direction: column;
        position: fixed !important;
        top: 55px !important;
        left: 0 !important;
        width: 100% !important;
        background: var(--primary-blue) !important;
        padding: 0 !important;
        z-index: 999 !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin: 0;
    }
    
    .nav-links.active {
        display: flex !important;
        max-height: 500px !important;
        padding: 20px 0 !important;
    }
    
    .nav-links li {
        text-align: center;
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    
    .nav-links a {
        padding: 12px 20px;
        display: block;
        width: 100%;
        box-sizing: border-box;
        color: white;
        text-decoration: none;
        font-size: 0.9em;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .btn-contact {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 1002 !important;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    }
}

/* Hero Section */
/* Hero Section */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; /* Prend toute la hauteur de l'écran */
    min-height: 100vh; /* Force l'occupation de tout le viewport */
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* Scroll margin pour les sections avec ancres - Compense le header fixe */
section[id] {
    scroll-margin-top: 55px; /* Compense le header fixe lors du scroll vers les ancres */
}

/* La première section (hero) doit commencer après le header */
.hero-second-section {
    margin-top: 0; /* Pas de margin-top car le body n'a pas de padding-top */
}


.hero-section {
    background-image: url('images/New folder/main.jpg');
    background-size: cover; /* Assure que l'image couvre toute la zone, sans déformation */
    background-position: center center; /* Centre l'image pour un meilleur rendu */
    background-repeat: no-repeat;
    height: 100vh; /* Permet à la section de prendre toute la hauteur de l'écran */
    width: 100vw; /* Prend toute la largeur de l'écran */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    padding: 20px 5%; /* Ajouter un padding pour que le texte ne colle pas aux bords sur petits écrans */
    background-color: rgba(0, 0, 0, 0.4); /* Un léger fond semi-transparent pour la lisibilité du texte */
    box-sizing: border-box;
    border-radius: 8px;
}

/* Vous avez un style inline pour le h2, c'est mieux de le mettre dans le CSS */
.hero-section .hero-content h2 {
    color: aliceblue; /* Ou directement white si c'est la couleur désirée */
    font-size: 2.8em; /* Ajustez la taille si nécessaire */
    margin: 0; /* Supprime la marge par défaut des titres */
}

/* Pour les écrans plus petits, ajuster la taille du titre */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px; /* Ajuster la hauteur minimum pour mobile */
        height: 60vh;
    }
    .hero-section .hero-content h2 {
        font-size: 2em; /* Taille de police plus petite sur mobile */
    }
    .hero-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 300px;
        height: 50vh;
    }
    .hero-section .hero-content h2 {
        font-size: 1.5em;
    }
}

.hero-content {
    width: 100%;
    max-width: 100%;
}

/* Section Styling (General) */
section {
    padding: 80px 40px; /* Consistent padding for sections */
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

/* About, Mission, Governance Section Styles */
.about-section, .mission-vision-section, .conflict-victims-section, .governance-section {
    padding: 60px 40px; /* Slightly less padding for these content blocks */
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.about-content, .mission-vision-content, .conflict-victims-content, .governance-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}
.governance-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.governance-section p {
    font-family: 'Inter', sans-serif;
}
.about-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
 


.about-section p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}
.about-content, .mission-vision-content, .conflict-victims-content, .governance-content {
    display: flex;
    gap: 60px;
    align-items: stretch; /* Permet aux éléments de prendre toute la hauteur */
}

.conflict-victims-content {
    align-items: stretch; /* Assure que l'image et le texte ont la même hauteur */
}

.mission-vision-content {
    gap: 40px; /* Réduction de l'espacement pour la section mission-vision */
}

.about-content .text-block,
.mission-vision-content .text-block,
.conflict-victims-content .text-block,
.governance-content .text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    align-items: flex-start;
}

.mission-vision-content .text-block {
    padding: 10px 0; /* Réduction du padding pour la section mission-vision */
}

.conflict-victims-content .text-block {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le contenu verticalement */
    height: 100%; /* Prend toute la hauteur disponible */
}

.about-content .text-block h2,
.about-content .text-block h3,
.mission-vision-content .text-block h2,
.mission-vision-content .text-block h3,
.conflict-victims-content .text-block h2,
.conflict-victims-content .text-block h3,
.governance-content .text-block h2,
.governance-content .text-block h3 {
    width: 100%;
    margin-bottom: 20px;
}

.about-content .text-block p,
.mission-vision-content .text-block p,
.conflict-victims-content .text-block p,
.governance-content .text-block p {
    width: 100%;
    margin-bottom: 15px;
}

.about-content .image-block,
.mission-vision-content .image-block,
.conflict-victims-content .image-block,
.governance-content .image-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.conflict-victims-content .image-block {
    align-items: stretch; /* Permet à l'image de prendre toute la hauteur */
    height: 100%; /* Prend toute la hauteur disponible */
}

.about-content img,
.mission-vision-content img,
.conflict-victims-content img,
.governance-content img {
    width: 100%;
    max-width: 500px;
    min-height: 380px;
    border-radius: 12px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Amélioration de la clarté pour l'image aporpos.jpg */
.image-zoom {
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    transition: filter 0.3s ease;
}

.image-zoom:hover {
    filter: contrast(1.15) brightness(1.08) saturate(1.15);
}

/* Amélioration spécifique pour l'image aporpos */
.about-content .image-block img[src*="aporpos"] {
    filter: contrast(1.15) brightness(1.1) saturate(1.2);
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Classe supplémentaire pour améliorer la clarté des images */
.image-enhanced {
    filter: contrast(1.12) brightness(1.08) saturate(1.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: filter, transform;
}

.image-enhanced:hover {
    filter: contrast(1.2) brightness(1.12) saturate(1.25);
    transform: translateZ(0) scale(1.02);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.conflict-victims-content img {
    width: 100%;
    max-width: 100%; /* Prend toute la largeur disponible */
    height: 100%; /* Prend toute la hauteur disponible */
    min-height: 100%; /* Assure la hauteur minimale */
    object-fit: cover; /* Couvre tout l'espace disponible */
}

.mission-vision-content img {
    max-width: 400px; /* Réduction de la taille de l'image */
    min-height: 300px; /* Réduction de la hauteur minimale */
}

/* Specific background colors for sections */
.mission-vision-section {
    background-color: var(--primary-blue); /* Match image 1 */
    color: white;
    padding: 40px 30px !important; /* Réduction de la taille de la section */
}
.mission-vision-section h2 {
    color: white;
}

.conflict-victims-section {
    background-color: white; /* Match image 1 */
}

/* Services Section - Restructurée et Compacte */
.services-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.services-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 5%;
    box-sizing: border-box;
}

.services-header {
    text-align: center;
    margin-bottom: 35px;
}

.services-section h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.8rem;
}

.services-section h2 i {
    font-size: 1.5rem;
    color: var(--accent-green);
}

.services-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.service-box {
    background: white;
    color: var(--text-color);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-green);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 160, 223, 0.3);
}

.service-box h3 {
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-box p {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--dark-grey-text);
    flex-grow: 1;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.service-box .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(0, 160, 223, 0.2);
}

.service-box .learn-more span {
    font-size: 0.9rem;
}

.service-box .learn-more i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.service-box .learn-more:hover {
    background: var(--dark-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 160, 223, 0.3);
}

.service-box .learn-more:hover i {
    transform: translateX(3px);
}

/* Values Section */
/* Section des valeurs */
.values-section {
    padding: 80px 40px;
    text-align: center;
    background-color: #f9f9f9;
    background: var(--primary-blue); /* Match image 2 */
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.values-section > * {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}
.values-section h2 {
    color: white;
    margin-bottom: 40px;
}
/* .values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: auto;
} */

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 900px; /* Constrain width of values tags */
    margin: auto;
}

/* Conteneur de chaque valeur (nouveau) */
.value-tag-wrapper {
    position: relative; /* Point de référence pour la description */
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Style du tag de valeur */
.value-tag {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0px;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
}

/* Style de la description cachée */
.value-description {
    position: absolute;
    bottom: calc(100% + 15px); /* Position au-dessus du tag */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* L'info-bulle glisse vers le haut */
    width: 250px;
    padding: 15px;
    background-color: var(--primary-blue); /* Couleur de fond */
    color: white;
    font-size: 0.9em;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Rends la description invisible */
    visibility: hidden; /* Cache la description pour la mise en page */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 5;
    text-align: center;
}

/* Flèche sous la description */
.value-description::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-blue) transparent transparent transparent;
}

/* Règle au survol du conteneur parent */
.value-tag-wrapper:hover .value-description {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Retourne à sa position normale */
}

/* Couleurs des tags */
.v1 { background-color: #007bff; }
.v2 { background-color: #28a745; }
.v3 { background-color: var(--accent-green); }
.v4 { background-color: #ffc107; }
.v5 { background-color: #6610f2; }
.v6 { background-color: #17a2b8; }
.v7 { background-color: #fd7e14; }
.v8 { background-color: #6f42c1; }

/* Contact Section */
.contact-section {
    background-color: var(--light-grey);
    padding: 50px 30px;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 33px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.contact-info-block {
    flex: 1;
    min-width: 300px;
}

.contact-info-block h2 {
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.contact-info-block p {
    font-size: 1.1em;
    color: var(--dark-grey-text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-info-block .contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-top: 15px;
}

.contact-info-block .contact-detail i {
    font-size: 1.3em;
}

.contact-form-block {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-block input,
.contact-form-block textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    width: calc(100% - 30px); /* Account for padding */
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.contact-form-block input:focus,
.contact-form-block textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.contact-form-block input.error {
    border-color: var(--primary-blue);
}

/* Message d'erreur pour la validation d'email */
.email-error-message {
    color: var(--primary-blue);
    font-size: 0.9em;
    margin-top: 8px;
    margin-bottom: 0;
    padding: 8px 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    animation: slideDown 0.3s ease;
}

.email-error-message i {
    font-size: 1em;
    flex-shrink: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-block textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-send {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.1em;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-send:hover {
    background: var(--dark-blue);
}

/* Footer */
footer {
    background: var(--dark-blue); /* Darker blue for footer */
    color: white;
    padding: 50px 40px 20px;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
    text-align: left; /* Align text left within grid items */
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-social img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo-social .footer-whatsapp {
    margin-top: 15px;
    margin-bottom: 25px;
    justify-content: center; /* Center button text */
    width: fit-content;
    padding: 8px 15px;
    font-size: 1em;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center; /* Center icons */
}

.social-icons a {
    color: white;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-green);
}

.footer-links h3,
.footer-official-info h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.footer-official-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 0.95em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-developer {
    margin: 0;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.footer-developer a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-developer a:hover {
    color: #00b347;
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .topbar {
        padding: 10px 20px;
    }
    .nav-container {
        padding: 6px 20px;
        height: 55px;
        min-height: 55px;
        max-height: 55px;
    }
    .nav-links {
        gap: 15px;
    }
    .about-content, .mission-vision-content, .conflict-victims-content, .governance-content {
        flex-direction: column; /* Stack image and text */
        gap: 30px;
        align-items: center;
    }
    .about-content .image-block,
    .mission-vision-content .image-block,
    .conflict-victims-content .image-block,
    .governance-content .image-block {
        order: -1; /* Image first on smaller screens */
        max-width: 600px;
    }
    .conflict-victims-content .image-block {
        order: 1; /* Keep image on the right for this section if needed, or adjust */
    }
}

@media (max-width: 768px) {
    /* Les styles de navigation mobile sont maintenant dans la section Navigation principale */
    
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .topbar-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-top: 10px;
    }
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        padding: 80px 20px;
        min-height: 300px;
    }
    .hero-content h1 {
        font-size: 2em;
    }

    section {
        padding: 40px 20px;
    }
    h2 {
        font-size: 1.8em;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Stack services vertically */
    }
    .service-box .learn-more {
        bottom: 20px;
        right: 20px;
    }

    .values-grid {
        gap: 10px;
    }
    .value-tag {
        padding: 10px 18px;
        font-size: 1em;
    }

    .contact-container {
        flex-direction: column;
    }
    .contact-info-block, .contact-form-block {
        min-width: unset;
        width: 100%;
    }
    .contact-info-block h2 {
        font-size: 2em;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo-social .footer-whatsapp,
    .social-icons {
        justify-content: center;
    }
    .footer-links ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .topbar {
        font-size: 0.75em;
    }
    .hero-content h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    .value-tag {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .contact-info-block h2 {
        font-size: 1.8em;
    }
}

/* ============================================== */
/* POLICES MODERNES ET PROFESSIONNELLES */
/* ============================================== */

/* Police principale pour le corps de texte - Inter (optimisée pour l'écran) */
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-grey);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tous les paragraphes utilisent Inter */
p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Les titres utilisent Poppins (moderne et professionnel) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Le reste de votre code CSS... */




/* Blog Section - Restructurée et Améliorée */
.blog-section {
    padding: 120px 5%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef7fc 50%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 160, 223, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 200, 83, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.blog-section-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.blog-section-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.blog-header-content {
    width: 100%;
    max-width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}

.blog-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 160, 223, 0.2);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 160, 223, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 160, 223, 0.3);
    }
}

.blog-section-badge i {
    font-size: 1rem;
}

.blog-section-title {
    font-size: 3.5rem;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-section-subtitle {
    font-size: 1.3rem;
    color: var(--dark-grey-text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 160, 223, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-view-all:hover::before {
    left: 100%;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 160, 223, 0.4);
}

.btn-view-all span {
    position: relative;
    z-index: 1;
}

.btn-view-all i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.btn-view-all:hover i {
    transform: translateX(8px);
}

/* Animation scroll-reveal pour le header - Optimisée */
.blog-section-header.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.blog-section-header.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.blog-post {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    border: 1px solid rgba(0, 160, 223, 0.1);
    will-change: opacity, transform;
    contain: layout style paint;
}

.blog-post.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    will-change: auto;
}

.blog-post:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.blog-post-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-grey);
    contain: layout;
}

/* Placeholder pour les images en cours de chargement */
.blog-post-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-image-wrapper:has(img:not(.loaded))::before,
.blog-post-image-wrapper img:not(.loaded) ~ ::before {
    opacity: 1;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
    position: relative;
    z-index: 2;
    /* Optimisation pour le chargement */
    image-rendering: -webkit-optimize-contrast;
}

.blog-post-image.loaded {
    z-index: 2;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.blog-post:hover .blog-post-image {
    transform: scale(1.1);
}

.blog-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post:hover .blog-post-overlay {
    opacity: 1;
}

.post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--dark-grey-text);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.post-title {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-green), #00b347);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    align-self: center;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.2);
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #00b347, var(--accent-green));
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.read-more-btn i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.read-more-btn:hover i {
    transform: translateX(8px);
}

/* États de chargement */
.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-grey);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-loading p {
    color: var(--dark-grey-text);
    font-size: 1rem;
}

.blog-empty-message,
.blog-error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-grey-text);
    font-size: 1.1rem;
}


/* Team Section */
.team-section {
    padding: 80px 40px;
    background-color: #f9f9f9;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.team-member {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--accent-green);
}

.team-member h3 {
    font-size: 1.2em;
    margin: 10px 0 5px;
    color: var(--primary-blue);
}

.team-member p {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.team-member .social-icons a {
    color: #555;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.team-member .social-icons a:hover {
    color: var(--accent-green);
}


/* Second Hero Section */
.hero-second-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/acceuil.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 30px 150px; 
    padding-top: calc(55px + 30px); /* Compense le header fixe de 55px */
    display: flex;
    align-items: center; 
    height: calc(100vh - 55px); /* Hauteur moins le header */
    min-height: calc(100vh - 55px); 
    justify-content: flex-start;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    margin-top: 55px; /* Commence après le header */
    box-sizing: border-box;
}

.hero-second-content {
    position: relative;
    width: 100%;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 5%;
    box-sizing: border-box;
}

 

.hero-second-content h2 {
    font-size: 2.8em; /* Taille du titre */
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Style pour le titre h1 de la section hero-second - Taille et couleur d'origine */
.hero-second-content h1.titre-anime {
    font-size: 3.5em !important; /* Taille fixe pour le titre - override Tailwind */
    color: white !important; /* Couleur blanche - override Tailwind */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    letter-spacing: -0.03em;
}

/* Override des classes Tailwind pour garder la taille et couleur d'origine */
.hero-second-content h1.titre-anime.text-white,
.hero-second-content h1.titre-anime.text-4xl,
.hero-second-content h1.titre-anime.md\:text-5xl,
.hero-second-content h1.titre-anime.lg\:text-6xl {
    font-size: 3.5em !important; /* Force la taille d'origine */
    color: white !important; /* Force la couleur blanche */
}

.hero-second-content p {
    font-size: 1.2em; /* Taille du paragraphe */
    margin-bottom: 30px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.btn-hero-second {
    display: inline-block;
    background-color: var(--accent-green); /* Couleur de votre bouton */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-hero-second:hover {
    background-color: #00b347; /* Couleur au survol */
}

/* Réactivité pour les écrans plus petits */
@media (max-width: 768px) {
    .hero-second-section {
        padding: 80px 20px;
        min-height: 350px;
        justify-content: center; /* Centre le contenu sur les petits écrans */
        text-align: center; /* Centre le texte sur les petits écrans */
    }

    .hero-second-content {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-second-content h2 {
        font-size: 2em;
    }

    .hero-second-content p {
        font-size: 1em;
    }
}

.container {
    width: 100%;
    height: 100vh; /* occupe toute la hauteur visible de l’écran */
}






/* Section Message du Président */
.president-message-section {
    padding: 80px 40px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.president-container {
    display: flex;
    gap: 50px;
    align-items: center; /* Alignement vertical */
}

/* Bloc Photo (à gauche) */
.photo-block {
    flex: 0 0 300px; /* Largeur fixe pour la photo */
    text-align: center;
    position: relative;
}

.president-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.president-info {
    margin-top: 15px;
}

.president-info h3 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.president-info p {
    font-style: italic;
    color: var(--dark-grey-text);
    font-size: 0.95em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}


/* Bloc Texte (à droite) */
.text-block {
    flex: 1;
}

.text-block h2 {
    color: var(--primary-blue);
    font-size: 2.2em;
    margin-bottom: 30px;
}

/* Style de la Citation */
.president-quote {
    border-left: 5px solid var(--accent-green); /* Barre d'accentuation verte */
    padding-left: 25px;
    margin: 0;
    font-style: italic;
}

.president-quote .quote-text {
    font-size: 1.15em;
    color: var(--dark-grey-text);
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* Réactivité */
@media (max-width: 900px) {
    .president-container {
        flex-direction: column; /* Empile les blocs verticalement */
        gap: 30px;
    }
    .photo-block {
        flex: 1;
        max-width: 300px; /* Limite la largeur même en colonne */
        order: 0; /* Garde la photo en haut */
    }
    .text-block {
        text-align: center; /* Centre le texte sur mobile */
        order: 1;
    }
    .text-block h2 {
        text-align: center;
    }
    /* Adapte la citation pour le centrage si nécessaire */
    .president-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--accent-green);
        padding-top: 15px;
    }
}

/* Section Galerie d'Images - 3 images sur une ligne */
.images-gallery-section {
    padding: 60px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    background-color: var(--light-grey);
}

.images-gallery-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.images-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
}

.gallery-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.1);
}

/* Responsive pour la galerie d'images */
@media (max-width: 768px) {
    .images-gallery-section {
        padding: 40px 15px;
    }
    
    .images-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .images-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Section Galerie de Formations - 3 images sur une ligne */
.formations-gallery-section {
    padding: 80px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
}

.formations-gallery-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.formations-section-title {
    text-align: center;
    font-size: 2.5em;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 50px;
}

.formations-section-title i {
    margin-right: 15px;
    color: var(--accent-green);
}

.formations-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.formation-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.formation-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.formation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.formation-image-wrapper:hover .formation-image {
    transform: scale(1.15);
}

.formation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.formation-image-wrapper:hover .formation-overlay {
    opacity: 1;
}

.formation-title {
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    text-align: center;
}

/* Responsive pour la galerie de formations */
@media (max-width: 768px) {
    .formations-gallery-section {
        padding: 50px 15px;
    }
    
    .formations-section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .formations-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .formation-overlay {
        opacity: 1;
        padding: 20px 15px 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .formations-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


