/* 
* Style combiné pour le site Fondation Paix et Développement
* Fusion de styleAcceuil.css et page-quisommesnous.css
*/

/* ========== VARIABLES GLOBALES ========== */
:root {
    /* Palette de couleurs - Mode Sombre */
    --primary-color: #137840;
    --secondary-color: #083723;
    --accent-color: #32bd70;
    --accent-color1: #f5f5f5;
    --light-color: #f5f5f5;
    --dark-color: #f5f5f5;
    --text-color: #e0e0e0;
    --text-muted: #aaa;
    --text-dark: #e0e0e0;
    --white: #fff;
    --background-light: #1a1a1a;
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Allerta Stencil', sans-serif;
    
    /* Ombres et transitions */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-subtle: 0 4px 15px rgba(19, 120, 64, 0.1);
    --shadow-medium: 0 10px 30px rgba(19, 120, 64, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ========== RESPONSIVE DESIGN AMÉLIORÉ ========== */
/* Pour les très grands écrans */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .section-title h2 {
        font-size: 3.2rem;
    }
    
    .content-grid {
        gap: 70px;
        padding: 60px;
    }
}

/* Pour les écrans moyens et tablettes en paysage */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .content-text {
        padding: 0 15px;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
}

/* Pour les tablettes et grands smartphones */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navbar-container {
        padding: 0 15px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Ajustement de l'ordre des éléments dans la grille */
    .content-grid .content-image {
        order: 1;
    }
    
    .content-grid .content-text {
        order: 2;
        padding: 15px 0;
    }
}

/* Pour les petits smartphones */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar-container {
        padding: 0 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .content-grid {
        padding: 20px;
        gap: 25px;
    }
    
    .content-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Ajustement pour le footer sur petits écrans */
    .footer-top {
        flex-direction: column;
    }
    
    .footer-info, .footer-links, .footer-contact {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

/* ========== CORRECTIONS GÉNÉRALES ========== */
/* Ces corrections s'appliquent à tous les écrans */

/* Correction pour les grilles alternées (2ème section) */
section:nth-child(even) .content-grid .content-image {
    order: 2;
}

section:nth-child(even) .content-grid .content-text {
    order: 1;
}

/* Mais sur mobile, on garde toujours l'image avant le texte */
@media (max-width: 768px) {
    section:nth-child(even) .content-grid .content-image,
    section:nth-child(odd) .content-grid .content-image {
        order: 1;
    }
    
    section:nth-child(even) .content-grid .content-text,
    section:nth-child(odd) .content-grid .content-text {
        order: 2;
    }
}

/* Correction pour l'animation float qui peut parfois déborder sur mobile */
@media (max-width: 768px) {
    @keyframes float {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0);
        }
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
/* ========== IMAGES RESPONSIVES ========== */

/* Règle de base pour toutes les images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Images dans les grilles de contenu */
.content-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Ratio d'aspect 4:3 */
    position: relative;
    overflow: hidden;
}

.content-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Ajustements responsive pour les images */
@media (max-width: 1024px) {
    .content-image {
        padding-bottom: 70%; /* Légèrement plus petit sur tablette */
    }
}

@media (max-width: 768px) {
    .content-image {
        padding-bottom: 60%; /* Encore plus petit sur mobile */
        max-height: 400px; /* Hauteur maximale sur mobile */
    }
    
    /* Pour éviter les images trop grandes sur mobile */
    .about-img-main {
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .content-image {
        padding-bottom: 56.25%; /* Ratio 16:9 sur petit mobile */
        max-height: 300px;
    }
}

/* Correction pour les images spécifiques */
.about-img-main,
.mission-img,
.president-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Empêcher les images de déborder dans le carousel */
.hero-slide {
    background-size: cover;
    background-position: center;
}

/* Logo responsif dans le footer */
.footer-logo img {
    height: auto;
    max-height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .footer-logo img {
        max-height: 60px;
    }
}
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: rgb(19, 18, 18);
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .mobile-toggle {
        display: block;
    }

    .don-button {
        display: none;
    }

    .don-button.mobile {
        display: inline-flex;
        margin-top: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .about-img-floating {
        display: none;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex-basis: 100%;
        padding: 10px 15px;
    }

    .stat-item {
        flex-basis: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-info, .footer-links, .footer-contact {
        flex-basis: 100%;
    }
    
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* ========== PAGE SPECIFIQUES ========== */
/* Style spécifique pour la page Qui sommes nous */
body.page-quisommesnous {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #121212;
    scroll-behavior: smooth;
}


/* Style pour marquer comme actif le lien "Qui sommes nous" dans la navigation */
body.page-quisommesnous .navbar-nav .nav-item:nth-child(2) .nav-link,
body.page-quisommesnous .navbar-nav .nav-item:nth-child(2) .nav-link span {
    color: var(--primary-color) !important;
}

body.page-quisommesnous .navbar-nav .nav-item:nth-child(2) .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* ========== STYLES DE BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #121212;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--light-color);
}


p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    background-color: #121212;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== NAVBAR STYLES ========== */
.nav-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item .nav-link.active span {
    color: var(--primary-color) !important;
}

.nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.don-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.don-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--accent-color);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin: 0 10px;
}

.hero-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-5px);
}

.hero-btn.outline {
    background-color: transparent;
    border: 2px solid white;
}

.hero-btn.outline:hover {
    background-color: white;
    color: var(--dark-color);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    z-index: 2;
}

.scroll-down span {
    margin-bottom: 8px;
}

.scroll-down i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========== SECTION STYLES ========== */
/* Section commune */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color: #121212;
}

.section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120px;
    height: 120px;
    background-color: rgba(19, 120, 64, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.section-title, .sec-head {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-title p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.about-signature {
    display: flex;
    align-items: center;
    margin-top: 40px;
}

.signature-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.signature-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.signature-info span {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-img-floating {
    position: absolute;
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.about-img-floating.top {
    top: -30px;
    right: -30px;
    z-index: 2;
}

.about-img-floating.bottom {
    bottom: -30px;
    left: -30px;
    z-index: 2;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Content Grid - Style pour la page "Qui sommes-nous" */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color:#222 ;
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.content-grid:hover {
    box-shadow: 0 15px 40px rgba(19, 120, 64, 0.2);
    transform: translateY(-10px);
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text {
    padding: 0 30px;
}

.content-text p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* ========== BUTTONS ========== */
.about-buttons {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(19, 120, 64, 0.2);
}

.btn.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.btn.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ========== MISSION SECTION ========== */
.mission-section {
    padding: 80px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mission-image {
    flex: 1;
    position: relative;
}

.mission-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.mission-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 250px;
    box-shadow: var(--shadow);
}

.mission-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.mission-text {
    flex: 1;
}

.mission-list {
    margin-top: 30px;
    list-style: none;
}

.mission-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
}

.mission-item i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.mission-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mission-item p {
    color: var(--text-color);
    font-size: 1rem;
}

/* ========== ACTIVITÉS SECTION ========== */
.img-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.4s;
}

.img-box:hover {
    transform: translateY(-10px);
}

.img-box .img {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.img-box .img img {
    width: 100%;
    height: auto;
    transition: all 0.5s;
}

.img-box:hover .img img {
    transform: scale(1.05);
}

.img-box .cont h6 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    transition: all 0.4s;
}

.img-box:hover .cont h6 {
    color: var(--primary-color);
}

.radius-10 {
    border-radius: 10px !important;
}

.bg-light {
    background-color: #1a1a1a !important;
}

/* ========== PRESIDENTS SECTION ========== */
.presidents-section {
    background-color: #222;
}

.presidents-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    width: 100%;
}

.president-content {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.president-content.active {
    display: flex;
    align-items: center;
    gap: 50px;
}

.president-image {
    flex: 1;
}

.president-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.president-text {
    flex: 1;
}

.president-name {
    font-size: 2rem;
    margin-bottom: 10px;
}

.president-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.president-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--accent-color);
}

.president-bio {
    margin-top: 20px;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
    padding: 0 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--accent-color1);
}

.stat-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 80px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/imgs/20.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding-top: 60px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.footer-info {
    flex-basis: 35%;
    margin-bottom: 30px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
}

.footer-desc {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-links {
    flex-basis: 15%;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-cta {
    margin-top: 30px;
}

.footer-cta .btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.footer-cta .btn:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.5s;
}

/* Scroll-triggered Animations */
.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Correction dark mode */
.section,
.card,
.content,
.mission-section,
.presidents-section {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
}

.section p,
.card p,
.content p {
  color: #f0f0f0 !important;
}
/* Améliorations pour le mode mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .content-grid {
        padding: 20px;
        gap: 25px;
        margin: 0 5px;
        border-radius: 10px;
    }
    
    .content-text {
        padding: 5px;
    }
    
    .content-text p {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    
    /* Correction des images pour qu'elles s'affichent mieux */
    .content-image {
        padding-bottom: 70%;
        max-height: 300px;
        margin-bottom: 10px;
    }
    
    .content-image img {
        border-radius: 8px;
    }
    
    /* Amélioration de l'espacement vertical entre les sections */
    section + section {
        margin-top: 15px;
    }
    
    /* Augmenter la taille des caractères dans tout le site pour mobile */
    body {
        font-size: 20px;
    }
}

/* Optimisations supplémentaires pour très petits écrans */
@media (max-width: 360px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .content-grid {
        padding: 15px;
        gap: 20px;
    }
    
    /* .content-text p {
        font-size: 1.05rem;
    } */
}

/* Ajout de styles pour améliorer la visibilité et l'expérience utilisateur sur mobile */
@media (max-width: 480px) {
    /* Augmenter la taille de la police de navigation pour meilleure lisibilité */
    .nav-link {
        font-size: 1.15rem;
        padding: 10px 0;
    }
    
    /* Améliorer la visibilité des boutons */
    .btn, .hero-btn, .don-button {
        padding: 12px 25px;
        font-size: 1.1rem;
        margin: 10px auto;
    }
    
    /* Espacer davantage le contenu vertical */
    p, h2, h3, h4 {
        margin-bottom: 15px;
    }
    
    /* Améliorer le contraste des textes */
    .content-text p {
        color: #ffffff !important;
    }
    
    /* Ajouter un peu de marge extérieure aux sections */
    .section {
        margin: 0 auto;
        max-width: 95%;
    }
    
    /* Rendre les images plus grandes et visibles */
    img {
        transform: scale(1.05);
    }
    
    /* Ajustement spécifique pour les grilles */
    .content-grid {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    /* Améliorer la visibilité des titres */
    .section-title h2 {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
}
/* Solution minimaliste pour supprimer l'espace entre l'image et le texte */
@media (max-width: 480px) {
    /* Supprimer uniquement l'espace entre image et texte */
    .content-grid {
        gap: 0 !important;
    }
    
    /* Supprimer la marge sous l'image */
    .content-image {
        margin-bottom: 0 !important;
    }
}
@media (max-width: 480px) {
    /* Suppression complète du padding-bottom qui crée l'espace */
    .content-image {
        padding-bottom: 0 !important;
        height: auto !important;
        position: static !important;
    }
    
    /* Ajustement de l'image pour qu'elle ne soit plus en position absolute */
    .content-image img {
        position: static !important;
        height: auto !important;
    }
}