/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
    color:#333;
    padding-top:90px;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    scroll-margin-top:100px;
}

/* ==========================================
   HEADER
========================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    z-index:9999;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}
.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
}

.logo{
    font-size:30px;
    font-weight:bold;
}

.menu.active{
    display:flex;
    animation:menuOpen .3s ease;
}

.menu a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.menu a:hover{
    color:#dbe8ff;
}

.menu-toggle{
    display:none;
    font-size:36px;
    cursor:pointer;
    color:#fff;
}

/* ==========================================
   MOBILE HEADER
========================================== */

@media (max-width:768px){

    .header{
        padding:15px 20px;
    }

    .logo{
        font-size:22px;
    }

    .menu-toggle{
        display:block;
    }

    .menu{
    display:none;
    position:absolute;
    top:75px;
    left:15px;
    right:15px;
    width:auto;
    background:#0d6efd;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    flex-direction:column;
    overflow:hidden;
}

    .menu a{
    display:block;
    padding:18px 20px;
    text-align:center;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.15);
}

.menu a:last-child{
    border-bottom:none;
}

.menu a:hover{
    background:rgba(255,255,255,.12);
}
    .menu.active{
        display:flex;
    }
}
/* ==========================================
   HERO
========================================== */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px 20px;

    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url("../images/hero.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    color:#fff;
}

.hero-content{
    max-width:900px;
    margin:auto;
}

.hero h1{
    font-size:60px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:25px;
}

.hero p{
    font-size:24px;
    line-height:1.7;
    margin-bottom:40px;
}

.btn-don{
    display:inline-block;
    padding:18px 40px;
    background:#ff4d4d;
    color:#fff;
    text-decoration:none;
    border-radius:50px;
    font-size:22px;
    font-weight:bold;
    transition:.3s;
}

.btn-don:hover{
    background:#e63946;
    transform:translateY(-4px);
}

/* ========= HERO MOBILE ========= */

@media (max-width:768px){

    .hero{
        min-height:85vh;
        padding:30px 15px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:18px;
        line-height:1.6;
    }

    .btn-don{
        width:100%;
        max-width:320px;
        font-size:20px;
        padding:16px 20px;
    }

}
/* ==========================================
   MISSION
========================================== */

.mission{
    padding:90px 20px;
    background:#ffffff;
    text-align:center;
}

.mission h2{
    font-size:46px;
    color:#0d6efd;
    margin-bottom:35px;
    font-weight:700;
}

.mission p{
    max-width:900px;
    margin:auto;
    font-size:20px;
    color:#555;
    line-height:1.9;
}

/* ==========================================
   POURQUOI DONNER
========================================== */

.why{
    padding:90px 20px;
    background:#f5f7fa;
}

.why h2{
    text-align:center;
    font-size:46px;
    color:#0d6efd;
    margin-bottom:60px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.card{
    background:#fff;
    padding:35px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.card h3{
    color:#0d6efd;
    font-size:28px;
    margin-bottom:18px;
}

.card p{
    color:#666;
    font-size:18px;
    line-height:1.8;
}

/* ========= MOBILE ========= */

@media(max-width:768px){

    .mission{
        padding:70px 20px;
    }

    .mission h2,
    .why h2{
        font-size:34px;
    }

    .mission p{
        font-size:18px;
    }

    .why{
        padding:70px 20px;
    }

    .cards{
        grid-template-columns:1fr;
        gap:25px;
    }

    .card{
        padding:30px 25px;
    }

    .card h3{
        font-size:24px;
    }

    .card p{
        font-size:17px;
    }

}
/* ==========================================
   NOS ACTIONS
========================================== */

.actions{
    padding:90px 20px;
    background:#ffffff;
}

.actions h2{
    text-align:center;
    font-size:46px;
    color:#0d6efd;
    margin-bottom:60px;
}

.actions-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

.action{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.action:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.action img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.action-card{
    padding:25px;
}

.action-card h3{
    color:#0d6efd;
    font-size:25px;
    margin-bottom:15px;
}

.action-card p{
    color:#666;
    font-size:17px;
    line-height:1.8;
}

/* ========= MOBILE ========= */

@media (max-width:768px){

    .actions{
        padding:70px 20px;
    }

    .actions h2{
        font-size:34px;
        margin-bottom:40px;
    }

    .actions-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .action img{
        height:220px;
    }

    .action-card{
        padding:20px;
    }

    .action-card h3{
        font-size:22px;
    }

    .action-card p{
        font-size:16px;
    }

}
/* ==========================================
   DONATION
========================================== */

.donation{
    padding:90px 20px;
    background:#f4f7fc;
    text-align:center;
}

.donation h2{
    font-size:46px;
    color:#0d6efd;
    margin-bottom:20px;
}

.don-text{
    max-width:850px;
    margin:0 auto 45px;
    font-size:20px;
    color:#666;
    line-height:1.8;
}

/* Barre de progression */

.progress-box{
    max-width:850px;
    margin:40px auto;
}

.progress-info{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    font-size:18px;
    font-weight:bold;
    color:#444;
}

.progress{
    width:100%;
    height:18px;
    background:#dfe7f7;
    border-radius:50px;
    overflow:hidden;
}

.progress span{
    display:block;
    width:72%;
    height:100%;
    background:linear-gradient(90deg,#0d6efd,#4ea4ff);
}

/* Cartes de dons */

.don-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
    margin:60px 0;
}

.don-card{
    display:flex;
    justify-content:center;
    align-items:center;
    height:90px;
    background:#fff;
    color:#0d6efd;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.don-card:hover{
    background:#0d6efd;
    color:#fff;
    transform:translateY(-8px);
}

/* Statistiques */

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:70px;
}

.stat{
    background:#fff;
    border-radius:18px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.stat:hover{
    transform:translateY(-8px);
}

.stat h3{
    font-size:40px;
    color:#0d6efd;
    margin-bottom:10px;
}

.stat p{
    color:#666;
    font-size:18px;
}

/* ========= MOBILE ========= */

@media(max-width:768px){

    .donation{
        padding:70px 20px;
    }

    .donation h2{
        font-size:34px;
    }

    .don-text{
        font-size:18px;
    }

    .progress-info{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .don-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stats{
        grid-template-columns:1fr;
    }

}

@media(max-width:480px){

    .don-grid{
        grid-template-columns:1fr;
    }

}
/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#0d6efd;
    color:#fff;
    padding:80px 20px 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-col h3{
    font-size:30px;
    margin-bottom:20px;
}

.footer-col h4{
    font-size:22px;
    margin-bottom:20px;
}

.footer-col p{
    color:#dbe8ff;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-col a{
    display:block;
    color:#fff;
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s;
}

.footer-col a:hover{
    color:#ffd166;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.25);
    margin-top:50px;
    padding-top:25px;
    text-align:center;
    color:#dbe8ff;
    font-size:15px;
}

/* ========= FOOTER MOBILE ========= */

@media(max-width:768px){

    .footer{
        padding:60px 20px 25px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:30px;
        text-align:center;
    }

    .footer-col h3{
        font-size:26px;
    }

    .footer-col h4{
        font-size:20px;
    }

}
/* ==========================================
   ANIMATIONS
========================================== */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* ==========================================
   EFFETS
========================================== */

.action,
.card,
.stat,
.don-card{
    transition:all .3s ease;
}

.action:hover,
.card:hover,
.stat:hover{
    transform:translateY(-8px);
}

.btn-don:hover{
    transform:translateY(-4px);
}

/* ==========================================
   RESPONSIVE GLOBAL
========================================== */

@media (max-width:768px){

    body{
        padding-top:75px;
    }

    h1{
        word-break:normal;
    }

    img{
        max-width:100%;
        height:auto;
    }

}
@keyframes menuOpen{
    from{
        opacity:0;
        transform:translateY(-15px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* ================= OVERLAY ================= */

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:900;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}