
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f9fb;
    color:#333;
    overflow-x:hidden;
}


.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:95px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    display:grid;
    grid-template-columns:180px 1fr 300px;
    align-items:center;
    padding:0 40px;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{display:flex;align-items:center;}
.logo img{width:85px;height:auto;object-fit:contain;}

.navbar{display:flex;justify-content:center;align-items:center;}
.navbar a{
    text-decoration:none;
    color:#052F59;
    font-size:16px;
    font-weight:600;
    white-space:nowrap;
    transition:.3s;
    position:relative;
}
.navbar a:hover{color:#F59F27;}
.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:#F59F27;
    transition:.3s;
}
.navbar a:hover::after,
.navbar a.active::after{width:100%;}

.buttons{display:flex;justify-content:flex-end;align-items:center;gap:15px;}
.buttons a{display:flex;align-items:center;justify-content:center;gap:10px;}
.buttons i{font-size:16px;}

.login,.register{
    text-decoration:none;
    padding:12px 18px;
    border-radius:10px;
    transition:.3s;
}
.login{border:2px solid #052F59;color:#052F59;background:#fff;}
.login:hover{background:#052F59;color:#fff;}
.register{background:#F59F27;color:#fff;}
.register:hover{background:#d98612;}

.hero{position:relative;width:100%;height:100vh;overflow:hidden;}
.hero video{width:100%;height:100%;object-fit:cover;}

.navbar > ul{
    display:flex;
    list-style:none;
    gap:35px;
    align-items:center;
    margin:0;
    padding:0;
}
.navbar > ul > li{position:relative;}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:260px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    display:none;
    flex-direction:column;
    padding:10px 0;
    z-index:1000;
}
.dropdown-menu li{list-style:none;width:100%;}
.dropdown-menu a{
    display:block;
    width:100%;
    padding:12px 18px;
    color:#052F59;
    text-decoration:none;
}
.dropdown-menu a::after{display:none;}
.dropdown-menu a:hover{background:#F59F27;color:#fff;}
.dropdown:hover .dropdown-menu{display:flex;}




/*====================================
            FOOTER
====================================*/

.footer{

    background:#052F59;
    color:#fff;
    padding:80px 8% 0;

}

.footer-container{

    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.3fr;

    gap:50px;

}

.footer-logo{

    width:110px;
    margin-bottom:20px;

}

.footer-col p{

    color:#d9d9d9;
    line-height:1.9;
    margin-bottom:25px;

}

.footer-col h3{

    color:#fff;
    margin-bottom:25px;
    font-size:22px;

}

.footer-col ul{

    list-style:none;

}

.footer-col ul li{

    margin-bottom:15px;

}

.footer-col ul li a{

    color:#d9d9d9;
    text-decoration:none;
    transition:.3s;

}

.footer-col ul li a:hover{

    color:#F59F27;
    padding-left:8px;

}

/*==============================
        CONTACT
==============================*/

.footer-contact li{

    display:flex;
    gap:12px;
    color:#d9d9d9;
    line-height:1.8;

}

.footer-contact i{

    color:#F59F27;
    margin-top:5px;

}

/*==============================
        RESEAUX SOCIAUX
==============================*/

.footer-social{

    display:flex;
    gap:15px;

}

.footer-social a{

    width:45px;
    height:45px;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    background:rgba(255,255,255,.08);

    color:#fff;

    text-decoration:none;

    transition:.35s;

}

.footer-social a:hover{

    background:#F59F27;

    transform:translateY(-5px);

}

/*==============================
        BAS DU FOOTER
==============================*/

.footer-bottom{

    margin-top:60px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

    padding:25px 0;

}

.footer-bottom p{

    color:#d9d9d9;

}

/*==============================
        RESPONSIVE
==============================*/

@media(max-width:992px){

    .footer-container{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .footer{

        padding:70px 6% 0;

    }

    .footer-container{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

    .footer-contact li{

        justify-content:center;

    }

}

/* ===========================================
   MOT DU PRÉSIDENT
=========================================== */

.president-section{
    padding:50px 8%;
    background:#f8f9fc;
}

.container{
    max-width:1300px;
    margin:auto;
}

/* Titre */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#F59F27;
    font-size:15px;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:600;
}

.section-title h2{
    margin-top:10px;
    font-size:42px;
    color:#1f2d3d;
    font-weight:700;
}

/* Contenu */

.president-content{
    display:flex;
    align-items:center;
    gap:70px;
}

/* Image */

.president-image{
    flex:1;
}

.president-image img{
    
    width:100%;
    height:650px;

    display:block;

    object-fit:cover;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    transition:.4s;
}

.president-image img:hover{
    transform:scale(1.03);
}

/* Texte */

.president-text{
    flex:1.3;
}

.president-text h3{
    font-size:34px;
    color:#0b3b60;
    margin-bottom:25px;
}

.president-text p{
    color:#555;
    font-size:17px;
    line-height:1.9;
    margin-bottom:18px;
    text-align:justify;
}

/* Signature */

.signature{
    margin-top:40px;
    padding-top:25px;
    border-top:2px solid #C79A3B;
}

.signature h4{
    color:#0b3b60;
    font-size:24px;
    margin-bottom:5px;
}

.signature span{
    color:#777;
    font-size:15px;
    font-style:italic;
}

/* Responsive */

@media(max-width:992px){

    .president-content{
        flex-direction:column;
    }

    .president-image{
        width:80%;
    }

    .president-text{
        text-align:center;
    }

    .president-text p{
        text-align:justify;
    }

}

@media(max-width:768px){

    .president-section{
        padding:70px 20px;
    }

    .section-title h2{
        font-size:32px;
    }

    .president-text h3{
        font-size:28px;
    }

    .president-text p{
        font-size:16px;
    }

    .president-image{
        width:100%;
    }

}

.hero{
    position:relative;
    width:100%;
    height:calc(100vh - 95px);
    margin-top:95px;
    overflow:hidden;
    background:#052F59;
}

.hero-video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* =========================================================
   MENU RESPONSIVE EFEBP
   ========================================================= */

   .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #052F59;
    font-size: 25px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 1998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    display: none;
}


/* =========================================================
   TABLETTE + MOBILE
   ========================================================= */

@media (max-width:1000px) {

    .header {
        height: 75px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 22px;
        z-index: 2000;
    }

    .logo img {
        width: 72px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 2001;
    }

    /* ==========================
       MENU LATÉRAL
       ========================== */

    .navbar {
        position: fixed;
        top: 0;
        right: 0;

        width: 72%;
        max-width: 390px;
        height: 100vh;

        background: #052F59;

        display: block;

        transform: translateX(100%);
        transition: transform .35s ease;

        overflow-y: auto;

        z-index: 2002;

        box-shadow: -10px 0 30px rgba(0,0,0,.20);
    }

    .navbar.active {
        transform: translateX(0);
    }


    /* ==========================
       BOUTON X
       ========================== */

    .menu-close {
        position: absolute;

        top: 0;
        right: 0;

        width: 45px;
        height: 45px;

        border: 0;

        background: #F59F27;
        color: #052F59;

        font-size: 25px;

        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

        z-index: 5;
    }


    /* ==========================
       MENU PRINCIPAL
       ========================== */

    .navbar > ul {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;

        margin: 0;

        padding: 75px 25px 120px;

        box-sizing: border-box;
    }

    .navbar > ul > li {
        width: 100%;

        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .navbar > ul > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 17px 0;

        color: #fff;

        font-size: 16px;
        font-weight: 600;

        box-sizing: border-box;
    }

    .navbar > ul > li > a:hover {
        color: #F59F27;
    }

    .navbar a::after {
        display: none !important;
    }


    /* ==========================
       SOUS-MENUS
       ========================== */

    .dropdown-menu {
        position: static;

        width: 100%;
        min-width: 0;

        display: none;

        background: rgba(0,0,0,.10);

        box-shadow: none;

        border-radius: 0;

        padding: 0;
        margin: 0;
    }

    .dropdown.active > .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .dropdown:hover > .dropdown-menu {
        display: none;
    }

    .dropdown.active:hover > .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li {
        width: 100%;
        list-style: none;
    }

    .dropdown-menu a {
        display: block;

        width: 100%;

        padding: 13px 15px;

        color: #fff;

        font-size: 14px;

        border-top: 1px solid rgba(255,255,255,.10);

        box-sizing: border-box;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,.08);
        color: #F59F27;
    }


    /* =====================================================
       BROCHURE + CONNEXION
       SIMPLES, EN BAS DU MENU
       ===================================================== */

    .buttons {
        position: fixed;

        right: 0;
        bottom: 0;

        width: 72%;
        max-width: 390px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 5px 25px 20px;

        background: #052F59;

        box-sizing: border-box;

        z-index: 2003;
    }

    .navbar.active ~ .buttons {
        display: flex;
    }

    .buttons a {
        width: 100%;

        min-height: 42px;

        display: flex;
        align-items: center;

        justify-content: flex-start;

        padding: 11px 0;

        border: none;
        border-radius: 0;

        background: transparent;

        color: #fff;

        text-decoration: none;

        font-size: 15px;
        font-weight: 600;

        box-sizing: border-box;
    }

    .buttons a:hover {
        color: #F59F27;

        background: transparent;
    }

    .buttons .login {
        border: none;
        background: transparent;
        color: #fff;
    }

    .buttons .register {
        background: transparent;
        color: #fff;
    }

    .buttons i {
        font-size: 15px;
        margin-right: 8px;
    }

}


/* =========================================================
   TÉLÉPHONE
   ========================================================= */

@media (max-width:600px) {

    .header {
        height: 70px;
        padding: 0 16px;
    }

    .logo img {
        width: 67px;
    }

    .navbar {
        width: 78%;
        max-width: none;
    }

    .navbar > ul {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 120px;
    }

    .buttons {
        width: 78%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar > ul > li > a {
        font-size: 15px;
        padding: 16px 0;
    }

}


/* =========================================================
   TRÈS PETIT ÉCRAN
   ========================================================= */

@media (max-width:400px) {

    .navbar {
        width: 84%;
    }

    .buttons {
        width: 84%;
    }

    .navbar > ul {
        padding-left: 18px;
        padding-right: 18px;
    }

    .buttons {
        padding-left: 18px;
        padding-right: 18px;
    }

}
/* =========================================
   BOUTONS RESPONSIVE - TÉLÉPHONE
========================================= */

@media (max-width: 768px) {

    /* Tous les boutons */
    button,
    .btn,
    .about-btn,
    .cta-btn,
    .course-btn,
    .news-btn,
    .login,
    .register,
    .admission-btn,
    .submit-btn,
    .contact-btn {
        padding: 9px 14px;
        font-size: 13px;
        border-radius: 7px;
        width: auto;
        max-width: 100%;
    }

    /* Icônes dans les boutons */
    button i,
    .btn i,
    .about-btn i,
    .cta-btn i,
    .course-btn i,
    .news-btn i,
    .login i,
    .register i {
        font-size: 12px;
    }

    /* Groupe de boutons */
    .cta-buttons,
    .buttons {
        gap: 8px;
        flex-wrap: wrap;
    }
}


/* =========================================
   PETITS ÉCRANS
========================================= */

@media (max-width: 480px) {

    button,
    .btn,
    .about-btn,
    .cta-btn,
    .course-btn,
    .news-btn,
    .login,
    .register,
    .admission-btn,
    .submit-btn,
    .contact-btn {
        padding: 7px 11px;
        font-size: 11px;
        border-radius: 6px;
        width: auto;
        min-width: auto;
    }

    button i,
    .btn i,
    .about-btn i,
    .cta-btn i,
    .course-btn i,
    .news-btn i,
    .login i,
    .register i {
        font-size: 10px;
    }

    .cta-buttons,
    .buttons {
        gap: 6px;
    }
}
/* =========================================
   BOUTON HAMBURGER - MOBILE
========================================= */

@media (max-width: 768px) {

    .menu-toggle {
        width: 48px;
        height: 48px;
        padding: 0;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .menu-toggle i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .menu-toggle {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .menu-toggle i {
        font-size: 21px;
    }
}