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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: white;
    color: #0B204C;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
hr {
    border-top: 6px solid #000000;
    border-radius: 5px;
    margin: 40px auto;
    width: 80%;
}    
/* --- HEADER --- */
.site-header {
    background:fixed #0B204C;
    color: white;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-text,logo-img {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.logo-img {
    width: 175px;
}
.slogan {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}


/* --- NAVIGATION --- */
nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px; 
}
ul{
    list-style-type: none;
}
.menu li a {
    display: block;
    padding: 18px 25px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.menu li a:hover {
    color: #0B204C; 
    background-color: #f1f5f9;
}

.menu li a.active {
    color: #0B204C;  
    border-bottom-color: #0B204C;  
    background-color: #eff6ff;
}

/* --- ZONE PRINCIPALE (LIBRARY) --- */
.container {
    flex: 1;
    width: 100%;
    max-width: 1100px;  
    margin: 5px auto;
    padding: 20px; 
}

.container h1 {
    text-align: center;
    font-size: 3rem; 
    text-decoration: underline;
    color: #0B204C;
    margin: 0 auto 30px;
    padding: 10px;
}

/* --- SECTION (ACCUEIL) --- */
.hero {
    width: 100%;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); 
    background: #0B204C; 
    margin-bottom: 30px; 
}
.BGLHUB{
    text-decoration: underline;
}
.hero h2 {
    font-size: 3.2rem;
    color: white; 
    margin: 20px auto 30px;
    padding-bottom: 20px;
    position: relative;  
}

.hero h2::after { 
    display: block;
    width: 80px;
    height: 4px;
    background: white;
    margin: 15px auto 0;
    border-radius: 2px;
}

.hero p {
    font-size: 1.1rem;
    color: white; 
    max-width: 800px;
    margin: 20px auto 0; 
    line-height: 1.8;  
}
.hero2{

    color: white;
}


.welcome-grid {
    display: grid;
    padding-top: 50px; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px; 
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease; 
    border: 1px solid transparent;
    text-align: center;  
    font-weight: 500; 
}

.stat-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: #0B204C;
    box-shadow: 0 8px 20px rgba(11, 32, 76, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0B204C;
    margin-bottom: 10px;
}
.contact,.réseaux-sociaux {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    align-items: center;
    gap: 100px;
    margin: 0 auto;
    max-width: 100%;
}
.contact img {
    width: 50px;
}
.réseaux-sociaux, span.hero3,a {
    font-size: 1.6rem;
    color: #0B204C;
}   

/* --- FOOTER --- */

footer {
    background-color: #0B204C;
    color: white;
    text-align: center;
    padding: 20px 20px;
    margin-top: 60px;
}

footer p {
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .site-header,.logo-img,.logo-text,.slogan {
        padding: 15px 10px;
    }
    .menu {
        flex-direction: column;
    }
    .menu li a {
        text-align: center;
        padding: 12px;
        border-bottom: none;
        border-left: 4px solid transparent;
    }
    .hero {
        padding: 30px;
    }
    .logo-text {
        font-size: 2rem;
    }
    .réseaux-sociaux {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}