body {
    font-family: 'Inter', Arial;
    margin: 0;
    padding: 0;
    background-color: #EFF5FB;
    overflow-x: hidden;
    
}
/* Nav begin */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #142849;
    padding: 20px 20px;
    position: relative;
}

.logo {
    align-self: center;
    z-index: 2;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    color: #ddd;
}

.nav-right {
    margin-left: auto;
}

.nav-right a {
    border: 1px solid white;
    padding: 10px 15px;
}

/* Burger menu - visible only on mobile */
.burger {
    display: none;
    cursor: pointer;
    z-index: 2;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .nav-container {
        position: fixed; /* Passage de absolute à fixed */
        top: 0;
        right: 0;
        height: 100vh;
        background-color: #142849;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1;
        margin-left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
    }
    
    .nav-right {
        margin-top: 20px;
        margin-left: 0;
    }
    
    .burger {
        display: block;
    }
    
    /* Class for when menu is active */
    .nav-active {
        transform: translateX(0%);
        box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.2);
    }
    
    /* Burger animation classes */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Ensure logo doesn't get too big on small screens */
    .logo img {
        max-width: 120px;
        height: auto;
    }
}

/* For very small screens */
@media screen and (max-width: 480px) {
    nav {
        padding: 15px;
    }
    
    .logo img {
        max-width: 100px;
    }
    
    .nav-container {
        width: 80%;
    }
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}
/* Nav end */

/* Main begin */
main {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    text-align: center;
    color: #333;
}
h2 {
    color: #444;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}
p, ul {
    color: #555;
    line-height: 1.6;
}
ul {
    padding-left: 20px;
}
/* Main end */

/* Footer begin */
footer {
    background-color: #ffffff;
    color: #142849;
    padding: 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    margin-bottom: 10px; /* Add some space between contact info and legal links */
}

.contact-info p {
    margin: 5px 0;
}
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: end;
}
.email {
    color: #142849;
    text-decoration: underline;
}

.legal-links {
    padding: 2vh 0px;
    display: flex;
    flex-direction: column; /* Change to column layout */
    align-items: end;
    text-align: end;
}

.legal-links a {
    color: #142849;
    text-decoration: none;
    margin: 5px 0; /* Adjust margin for better spacing */
}

.banner {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.banner-img {
    width: 100%;
    height: auto;
}

/* Footer end */

