html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Gotham', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1 {
    display: none;
}


/* HEADER------------------------------ */

/* NAV */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #f46428;
    height: 10vh;
}

#logo img {
    height: 25px;
    /* Ajuster la taille du logo */
}

.nav-links {
    display: flex;
    gap: 60px;
    font-size: 0.8rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: bolder;
    color: #fff;
    transition: 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 100%;
}

.nav-links a:hover{
    
    color: #fff;
    opacity: 50%;
    
}

.nav-links.mobile{
    font-size: 1.2rem;
}



.dropdown {
    position: relative;
    display: inline-block;
    
}






.dropdown-content {
    text-align: center;
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    background-color: #074F34;
    
}



.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}


.dropdown:hover .dropdown-content {
    display: block;
}



#burger {
    width: 30px;
    height: 20px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

#burger div {
    width: 100%;
    height: 4px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

#burger div:nth-child(1) {
    top: 0;
}

#burger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

#burger div:nth-child(3) {
    bottom: 0;
}

.nav-links.desktop {
    display: none;
}

.nav-links.mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f46428;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    overflow-y: auto;
}

.nav-links.mobile.show {
    transform: translateX(0);
}



#close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 40px;
    font-weight: bolder;
    cursor: pointer;
    color: #fff;
    margin-right: 40px;

}


@media (min-width: 969px) {
    #burger,
    .nav-links.mobile {
        display: none;
    }

    .nav-links.desktop {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
}

/* FIN NAV */

/* HERO */

.hero {
    background-image: url('img/hero-pic-btsup.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: end;
    align-items: center;
    height: calc(100vh - 60px);
}

.hero-content {
    text-align: right;
    margin: 0 60px;
    width: 45%;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;

}

.hero p {
    margin-top: 8%;
    color: #fff;
    font-weight: bolder;
}


.hero-cta {
    font-family: 'Gotham', sans-serif;
    font-size: 1rem;
    border-radius: 50px;
    background-color: #074F34;
    width: 150px;
    height: 40px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    margin-top: 8%;
    transition: background-color 0.5s ease, border 0.5s ease, color 0.5s ease;
    border: 3px solid #074F34;
}


.hero-cta:hover {
    background-color: white;
    color: #074F34;
    border: 3px solid #074F34;
}

@media (max-width: 969px) {    
    .hero {
        justify-content: center;
        background-image: url('img/hero-pic-btsup.png');
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
        height: 100vh;
    }


    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
        text-align: center;
        margin: 0 20px;
        width: 90%;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        font-weight: 500;
        color: #fff;
        display: inline-block;
        margin-top: 15px;

    }
}

/* FIN HERO */

/* FIN HEADER------------------------------ */








/* MAIN------------------------------------ */


#focus{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 60px 0 60px;
    width: 100vw;
    height: 100vh;
}

.focus-container-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 20%;
    height: 65%;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 10%;
}

.focus-container-card img{
    height: 45%;
    width: 100%;
    
    
}

.card-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.card-text h4{
    color: #074F34;
}

.focus-container-card p{
    width: 80%;

}

@media (max-width: 969px) {
        #focus{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2%;
        height: auto;
        margin-bottom: 10%;

    }

    .focus-container-card{
        width: 90%;
        height: auto;
    }

}

/* SECTION A PROPOS */

.mid{
    background-color: #f0f0f0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}

#about{
    width: 50%;
    margin: 10% 0 8% 0;
    padding: 5% 0 0 60px;
    
}

#about span{
    font-size: 0.8rem;
    font-style: italic ;
}

#about h2, #about p, #about span, #about .separation-line{
    margin: 25px 0 25px 0;
}

.separation-line{
    height: 3px;
    width: 100%;
    background-color: #f46428;
}


@media (max-width: 969px) {
    #about{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        height: auto;

    }

    #about h2, #about p, #about span{
        text-align: center;
    }

}

/*FIN SECTION A PROPOS */

/* SECTION SCHOOLS */



#schools {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);


}

.school-grid{
    width: 100%;
    padding: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.school-cell{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    margin: 15px;
    
}
.open-btn{
    margin-top: 2%;
font-family: 'Gotham', sans-serif;
font-size: 0.8rem;
border-radius: 50px;
background-color: #fff;
color: #074F34;
transition: background-color 0.5s ease, border 0.5s ease, color 0.5s ease;
border: 3px solid #074F34;
width: 120px;
height: 40px;
font-weight: bold;
text-decoration: none;
cursor: pointer;

}


.open-btn:hover {
background-color: #074F34;
color: #fff;
border: 3px solid #074F34;
}

@media (max-width: 969px) {
    #schools{
        padding-bottom: 10%;
    }

    .school-grid{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 60px 0 60px;
    }

    .school-cell{
        padding-top: 20%;
        width: 100%;
        height: 100%;
    }

    .open-btn{
        margin-top: 10%;
    }

}

/* FIN SECTION SCHOOLS */

/* SECTION CONTACT */

#contact{
    width: 50%;
    margin: 3% 0 5% 0;
    padding: 5% 60px 0 0;
    margin-left: auto;
    text-align: right;
}

#contact span{
    font-size: 0.8rem;
    font-style: italic ;
}

#contact h2, #contact p, #contact span, #contact .separation-line{
    margin: 25px 0 25px 0;
}

.separation-line{
    height: 3px;
    width: 100%;
    background-color: #f46428;
}




.contact-content-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5%;
}

.contact-content{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    font-weight: bold;
    transition: 0.3s ease, color 0.3s ease, opacity 0.3s ease;
    opacity: 100%;

}


.contact-content:hover{
    color: #dadada;
    opacity: 50%
}

.contact-content img{
    margin-right: 2%;
    
}



.contact-content a{
    margin-left: 2%;
    text-decoration: none;
    color: #074F34;
    
}

@media (max-width: 969px) {
    #contact{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
        margin-left: auto;
        margin-right: auto ;
        padding: 20% 0 0 0;
        margin-bottom: 10%;
        height: auto;

    }

    #contact h2, #contact p, #contact span{
        text-align: center;
    }

    .contact-content-container{
        margin-bottom: 10%;
    }

    .contact-content{
        width: 90%;
       
    }

}

/* FIN SECTION CONTACT */
/* FIN MAIN------------------------------------ */


#btnTop {
    transition: opacity 0.5s; /* this line makes the button fade in and out */
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #074F34;
    color: white;
    font-weight: bolder;
    cursor: pointer;
    padding: 12px 15px 15px 15px;
    border-radius: 50px;
    font-size: 18px;
    width: 50px;
    height: 50px;
}

#btnTop:hover {
    background-color: #033823;
}


/* FOOTER--------------------------------------- */

footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 30vh;
    background-color: #f46428;
}

.footer-content{
    display: inline-block;
    width: 60%;
    margin: 0 auto;
    padding-top: 2%;
        
}

@media (max-width: 969px) {
        footer{
        height: 33vh;
    }

    .footer-content{
        padding-top: 15% ;
        width: 80%;
        height: 100%;
    }
}



  /* FIN FOOTER--------------------------------------- */