/* Réinitialisation */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    overflow-x:hidden;
}

/* ================= NAVBAR ================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 50px;
    background:rgba(0,0,0,0.4);
    backdrop-filter:blur(6px);
    z-index:1000;
}

.logo{
    color:white;
    font-size:24px;
    font-weight:bold;
}

.navbar ul{
    display:flex;
    list-style:none;
}

.navbar ul li{
    margin-left:25px;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    font-size:17px;
    transition:0.3s;
}

.navbar ul li a:hover{
    color:#00bfff;
}

/* ================= HERO ================= */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
}

.video-bg{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.hero-content{
    position:relative;
    color:white;
    z-index:2;
    max-width:800px;
    padding:20px;
}

.hero-content h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:35px;
}

/* ================= BOUTONS ================= */

.buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:15px 30px;
    border-radius:30px;
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition:0.3s;
}

.btn-primary{
    background:#0066cc;
}

.btn-success{
    background:#25D366;
}

.btn:hover{
    transform:scale(1.08);
}

/* ================= FOOTER ================= */

footer{
    background:#002244;
    color:white;
    text-align:center;
    padding:20px;
}
/* ====== Page À propos ====== */

.page-banner{
    margin-top:80px;
    background:#0056b3;
    color:white;
    text-align:center;
    padding:60px 20px;
}

.page-banner h1{
    font-size:42px;
}

.apropos{
    padding:80px 10%;
}

.container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    flex-wrap:wrap;
}

.image{
    flex:1;
}

.image img{
    width:100%;
    border-radius:10px;
}

.texte{
    flex:1;
}

.texte h2{
    color:#0056b3;
    margin-bottom:20px;
}

.texte p{
    line-height:1.8;
    margin-bottom:20px;
}

.texte ul{
    list-style:none;
}

.texte ul li{
    margin-bottom:12px;
    font-size:18px;
}
/* ================= FORMATIONS ================= */

.formations{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    padding:80px 10%;
}

.card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    transition:0.3s;
    text-align:center;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h2{
    margin:20px 0 10px;
    color:#0056b3;
}

.card p{
    padding:0 20px;
    color:#555;
}

.card h3{
    margin:20px 0;
    color:#28a745;
}

.card .btn{
    display:inline-block;
    margin-bottom:20px;
}
/* ================= GALERIE ================= */

.galerie{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    padding:80px 10%;
}

.galerie-item{
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.galerie-item img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:0.5s;
    cursor:pointer;
}

.galerie-item img:hover{
    transform:scale(1.08);
}
/* ================= PRÉ-INSCRIPTION ================= */

.preinscription{
    padding:80px 10%;
}

.preinscription form{
    max-width:700px;
    margin:auto;
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.form-group textarea{
    resize:vertical;
}

.preinscription button{
    width:100%;
    border:none;
    cursor:pointer;
}
/* ================= CONTACT ================= */

.contact{
    display:flex;
    gap:40px;
    padding:80px 10%;
    flex-wrap:wrap;
}

.contact-info,
.contact-form{
    flex:1;
    min-width:320px;
}

.contact-info h2,
.contact-form h2{
    color:#0056b3;
    margin-bottom:20px;
}

.contact-info p{
    margin-bottom:15px;
    line-height:1.8;
}

.contact-form form{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    width:100%;
    border:none;
    cursor:pointer;
}

/* ================= PAIEMENT ================= */

.paiements-section{

    display:flex;
    gap:30px;
    padding:80px 10%;
    flex-wrap:wrap;
    justify-content:center;

}


/* Titre de la page */

.page-header{

    text-align:center;
    padding:50px 10%;
    background:#f5f5f5;

}

.page-header h1{

    color:#0056b3;
    margin-bottom:15px;
    font-size:35px;

}

.page-header p{

    font-size:18px;
    color:#555;

}


/* Cartes de paiement */

.paiements-card{

    background:#fff;
    flex:1;
    min-width:280px;
    max-width:350px;
    padding:30px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    text-align:center;
    transition:0.3s;

}


.paiements-card:hover{

    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.20);

}


.paiements-card h2{

    color:#0056b3;
    margin-bottom:20px;
    font-size:22px;

}


.paiements-card p{

    line-height:1.8;
    color:#444;
    font-size:16px;

}


/* Bouton WhatsApp */

.btn-whatsapp{

    width:100%;
    text-align:center;
    margin-top:20px;

}


.btn-whatsapp a{

    display:inline-block;
    background:#25D366;
    color:white;
    padding:15px 35px;
    border-radius:30px;
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    transition:0.3s;

}


.btn-whatsapp a:hover{

    background:#1da851;
    transform:scale(1.05);

}
@media (max-width:768px){

.navbar{

    padding:15px 20px;

    flex-wrap:wrap;

}

.logo{

    font-size:18px;

}

.navbar ul{

    width:100%;

    justify-content:center;

    flex-wrap:wrap;

    margin-top:15px;

}

.navbar ul li{

    margin:8px 10px;

}

.navbar ul li a{

    font-size:15px;

}

.hero-content h1{

    font-size:32px;

}

.hero-content p{

    font-size:18px;

}
}

/* ================= MENU RESPONSIVE ================= */

.menu-toggle{

    display:none;

    font-size:30px;

    color:white;

    cursor:pointer;

}

@media(max-width:768px){

.navbar{

    padding:15px 20px;

    flex-wrap:wrap;

}

.menu-toggle{

    display:block;

}

.nav-links{

    display:none;

    flex-direction:column;

    width:100%;

    background:#0b2345;

    margin-top:15px;

    border-radius:10px;

}

.nav-links.active{

    display:flex;

}

.nav-links li{

    margin:15px 0;

    text-align:center;

}

.nav-links li a{

    color:white;

    font-size:18px;

}

.logo{

    font-size:18px;

}

.hero-content h1{

    font-size:30px;

}

.hero-content p{

    font-size:18px;

}

.buttons{

    flex-direction:column;

}

}