
/* menue */

 :root {
    --primary-color: #4a4ff2;
    --secondary-color: #ff6347; 
     --accent: #ffc107;
}

body {
    font-family: Helvetica,'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f4;
    min-height: 100vh;
    position: relative;
    padding: 0px;margin: 0px;

    
}

.text-center {
    text-align: center;
}
a {
    text-decoration: none;

    transition: color 0.3s;
}



.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.profil-image{width: 35px;height: 35px; border-radius: 40px;}

/* --- Barre de Navigation (Navbar) --- */
.men {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;width: 100%;position: fixed;
    border-bottom: 1px solid #ddd;background-color: #ffffff;color: #004d40; height: 80px;max-height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004d40; /* Logo en Vert */
    display: flex;
    align-items: center;gap: 8px;
    font-family: 'Poppins', sans-serif;
}


/* Dashbord µ*/


#cacher{height: 80px;}



.sidebar {
    width: 260px;
    background-color: #ffffff;
    color: #111;
    padding: 10px;padding-top: 0px;
    
    position: fixed;min-height: 100vh;overflow-y: auto;left: 0px;
    
}

.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-nav ol {
    list-style: none;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
    cursor: pointer;
}

.sidebar-nav a {
    color: #111;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;font-weight: 500;
    display: flex;flex-direction: row;gap: 10px;align-items: center;
}

.sidebar-nav a:hover{
    color: #ffc107;text-shadow: 0px 0px 2px grey;
}
li.active a {
    background-color: #e68a00;font-weight: 700;color: white;border-left: 5px solid rgb(0,0,     0);
}
li.active a:hover {
 color: white;
}
.sidebar-header h2{border-bottom: 2px solid #eee;padding-bottom: 10px;}   



/* boite de dialogue*/

.dialog-box {
    display: none; /* Cache la boîte de dialogue par défaut */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    /* Propriétés initiales pour l'animation */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.dialog-box h4 {
    margin-top: 0;
    color: #333;
    font-size: 20px;
}

.dialog-box p {
    color: #666;
    margin-bottom: 25px;
}

.dialog-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dialog-buttons button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#confirm-logout {
    background-color: rgb(220, 53, 69); /* Rouge pour la déconnexion */
    color: white;
}

#confirm-logout:hover {
    background-color: rgb(180, 40, 50);
}

#cancel-logout {
    background-color: #f0f0f0;
    color: #333;
}

#cancel-logout:hover {
    background-color: #e0e0e0;
}

/* Styles pour le fond assombri */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.nav-link{display: flex;align-items: center;gap: 25px;}


:root {
    --primary-color: #4a4ff2; /* Bleu pour les boutons et liens principaux */
    --secondary-color: #ff6347; /* Orange pour le bouton contact (similaire à tomato) */
   
}

:root {
    --primary-color: #FF7F50; /* Votre Vert Vif Principal */
    --primary-hover: #1FAA50; /* Vert foncé pour le survol */
    --secondary-color: #1e90ff; /* Bleu Profond comme accent secondaire (ex: pour le bouton Contact ou les icônes Campus) */
    --secondary-hover: #176fc8;
    --text-color: #333;
    --heading-color: #1e1e1e;
    --background-light: #f4fff7; /* Fond très légèrement vert/blanc */
    --card-bg-light: #ffffff;
    --border-color: #eee;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    /* Couleurs des cartes Features initiales (adaptées pour rester claires) */
    --card-bg-1: #eafaf3; /* Vert très clair */
    --card-bg-2: #fff8e1; /* Jaune très clair (maintenu pour contraste) */
    --card-bg-3: #f0f7ff; /* Bleu très clair */
    --card-bg-4: #f7eafc; /* Violet très clair */
}

/* Base et typographie (inchangés, sauf la couleur des liens) */
* {
    margin: 0;
    padding: 0;;
    box-sizing: border-box;
}

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    color: #004d40;
}
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

a {
    text-decoration: none;

    transition: color 0.3s;
}

/* Utilitaires */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-padding {
    padding: 80px 40px;
}
.section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.text-center {
    text-align: center;
}







/* --- Boutons (Adaptés au Vert) --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;background-color: #e68a00;color: #000;
    font-size: 1rem;
    transition: background-color 0.3s, opacity 0.3s;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

    
    
}



.btn-primary i {
    margin-right: 8px;
}



.btn-contact {


    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, opacity 0.3s;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);




    background-color: #004d40; /* Bleu Profond pour le Contact */
    color: white;
    padding: 10px 20px;display: block; text-align: center;
     /* Ombre Bleue */
}


.btn-contact:hover {
    background-color: #000;
}

.btn-contact_ {
    display: inline-flex;
    align-items: center;
    padding: 10px 15pxx;border: 2px solid #004d40;
    border-radius: 8px;
    font-weight: 600;background-color: white;
    font-size: 1rem;
    

margin-left: 5px;
    color: #004d40;
}



/* --- Barre de Navigation (Navbar) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    border-bottom: 1px solid #ddd;background-color: #004d40;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white; /* Logo en Vert */
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}


.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    color: white;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color); /* Survol en Vert */
}

/* --- Section Héro (Adaptée au Vert) --- */
.hero-section {
    display: flex;
    align-items: center;
    padding: 50px;
    padding-bottom: 100px;
    position: relative;gap: 20px;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 55%;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1); /* Vert primaire très transparent */
    z-index: 5;
}

.hero-image img {
    width: 100%;
     max-width: 450px;
    height: auto;
    display: block;
    border-radius: 15px;
    position: relative;
    z-index: 10;
}


/* --- Section des Fonctionnalités (Features) --- */
.features-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 80px 50px 80px;
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.feature-card {
    background-color: var(--card-bg-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card p {
    font-weight: 600;
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--heading-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 15px auto;
}

/* Styles des cartes individuelles (couleurs claires adaptées) */
.active-learning { background-color: var(--card-bg-1); color: var(--primary-color); }
.school-bus { background-color: var(--card-bg-2); color: #c49a00; }
.book-library { background-color: var(--card-bg-3); color: #1e90ff; }
.kids-play-land { background-color: var(--card-bg-4); color: #9c27b0; }

/* Icones dans Kids Play Land */
.kids-play-land i {
    font-size: 1.5rem;
    margin: 0 2px;
}


/* --- Formes décoratives (Shapes) --- */
.shape-1, .shape-2, .shape-3 {
    position: absolute;
    border-radius: 5px;
    opacity: 0.3;
    z-index: 1;
}

.shape-1 {
    top: 220px;
    left: 80px;
    width: 60px;
    height: 10px;
    background-color: var(--secondary-color); /* Bleu profond */
    transform: rotate(165deg);
    opacity: 0.5;
}

.shape-2 {
    top: 480px;
    left: 80px;
    width: 100px;
    height: 10px;
    background-color: var(--primary-color); /* Vert */display: none;
    opacity: 0.6;
}

.shape-3 {
    bottom: 120px;
    left: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color); /* Vert */
    transform: rotate(45deg);
    opacity: 0.1;display: none;
}


/* ************************************************* */
/* STYLES DES SECTIONS RICHES SUPPLÉMENTAIRES        */
/* ************************************************* */

/* --- Section Valeurs --- */
.values-section {
    padding: var(--section-padding);
    background-color: var(--background-light); 
    text-align: center;
}
.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.value-card {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color); /* Vert */
}
.icon-primary {
    font-size: 3em;
    color: var(--primary-color); /* Icônes en Vert */
    margin-bottom: 15px;
}


/* --- Section Programmes (avec Onglets) --- */
.programs-section {
    padding: var(--section-padding);
    text-align: center;
}
.program-tabs {
    margin-bottom: 30px;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    overflow: hidden;
}
.tab-btn {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.3s;
}
.tab-btn.active {
    background-color: var(--primary-color); /* Onglet actif en Vert */
    color: white;
}
.program-content {
    text-align: left;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}
.program-content h3 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--primary-color); /* Titre en Vert */
}
.program-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.check-primary {
    color: var(--primary-color); /* Coche en Vert */
    margin-right: 10px;
}


/* --- Section Leadership --- */
.leadership-section {
    padding: var(--section-padding);
    background-color: var(--card-bg-light);
    text-align: center;
}
.leaders-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}
.leader-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--primary-color); /* Bordure en Vert */
    margin-bottom: 15px;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.3); /* Ombre Verte */
}
.leader-title {
    color: var(--secondary-color); /* Fonction en Bleu Profond */
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9em;
}


/* --- Section Témoignages --- */
.testimonials-section {
    padding: var(--section-padding);
    background-color: var(--background-light);
    text-align: center;
}
.testimonial-card {
    background-color: var(--card-bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color); /* Vert */
    box-shadow: var(--box-shadow);
}
.primary-bg-card {
    background-color: var(--primary-color); /* Fond Vert pour la carte contrastée */
    border-left-color: var(--primary-hover);
    color: white;
}
.quote-icon {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.primary-bg-card .quote-icon {
    color: var(--secondary-color); /* Icône en Bleu sur fond Vert */
}


/* --- Section Campus et Installations --- */
.campus-section {
    padding: var(--section-padding);
    background-color: var(--card-bg-light);
    text-align: center;
}
.feature-card-big {
    background-color: var(--background-light);
    padding: 35px 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}
.feature-card-big:hover {
    border-bottom-color: var(--primary-color); /* Soulignement en Vert */
}
.feature-icon-big {
    font-size: 3em;
    color: var(--secondary-color); /* Icônes en Bleu Profond */
    margin-bottom: 15px;
}


/* --- Section Actualités --- */
.news-section {
    padding: var(--section-padding);
    background-color: var(--background-light);
    text-align: center;
}
.news-date {
    font-size: 0.8em;
    color: var(--secondary-color); /* Date en Bleu Profond */
    font-weight: 600;
    margin-bottom: 5px;
}
.read-more {
    display: inline-block;
    color: var(--primary-color); /* Lien en Vert */
    font-weight: 500;
    margin-top: 10px;
}
.read-more:hover {
    color: var(--secondary-color); /* Survol en Bleu */
}



/* --- Logo & Titres --- */


.sidebar .logo ,.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    height: 45px;
    padding: 0 10px;
   
}
        .logo-area {
            font-size: 1.9rem;
            font-weight: 800;
            color: white; 
            margin-bottom: 5px;
            letter-spacing: -1.5px;display: flex;align-items: center;
            
            
        }
        .logo-area span{display: block;}
        .content-icon{
        font-size: 2.4rem;border-radius: 4px;
    }

        .logo-area span { color: #ffc107; }

        h2 {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 35px;
            color: #004d40;
            text-transform: lowercase;
            letter-spacing: 1px;
        }


















        


/* Style de l'overlay (le fond sombre) */
.overlay {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001; /* Doit être au-dessus de la sidebar (1000) */
}

/* Style de la boîte de dialogue */
.dialog-box {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* Centrage parfait + réduction pour l'animation */
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1002; /* Au-dessus de l'overlay */
    width: 90%;
    max-width: 400px;
    text-align: center;
    opacity: 0;
}

/* Boutons de la modale */
.dialog-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#confirm-logout {
    background: #c62828;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

#cancel-logout {
    background: #ddd;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}




.hide-desktop{display: none;}

