/* ===========================
   EDUFORCI PLATFORM
=========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
background:linear-gradient(rgba(5,32,78,.78),rgba(5,32,78,.78)),url("hero.jpg") center center/cover fixed no-repeat;
color:#222;
overflow-x:hidden;
}

/* HEADER */

header{

position:absolute;

top:0;

left:0;

width:100%;

padding:20px 40px;

z-index:100;

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

position:relative;

z-index:2;

}

.logo img{

height:65px;

}

#menuBtn{

background:none;

border:none;

font-size:34px;

color:#fff;

cursor:pointer;

}

/* HERO */

.hero{

position:relative;

height:100vh;

background:url("hero.jpg") center center/cover no-repeat;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

}

.overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(5,32,78,.45);

}

.hero-content{

position:relative;

z-index:2;

width:90%;

max-width:1100px;

color:#fff;
}
.hero h1{
    font-size:58px;
    font-weight:700;
    margin-bottom:20px;
    color:#FFFFFF;
    text-shadow:0 3px 10px rgba(0,0,0,.4);
    animation:flotter 3s ease-in-out infinite;
}
@keyframes flotter{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
    100%{
        transform:translateY(0);
    }
}
.hero p{
    font-size:22px;
    color:#FDB813;
    font-weight:600;
    margin-bottom:40px;
}

/* RECHERCHE */

.search-box{

background:#fff;

border-radius:18px;

padding:18px;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

gap:15px;

box-shadow:0 20px 40px rgba(0,0,0,.25);

}

.search-box select,
.search-box input[type="text"]{

padding:15px;

border:1px solid #ddd;

border-radius:12px;

font-size:16px;

}

.search-box button{

background:#0B63F6;

color:#fff;

border:none;

border-radius:12px;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:.3s;

}

.search-box button:hover{

background:#084ec7;

}
/* ===========================
   CARTES D'ACCÈS RAPIDE
=========================== */

.quick-access{

width:90%;

max-width:1200px;

margin:-80px auto 80px;

display:grid;

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

gap:30px;

position:relative;

z-index:10;

}

.card{

background:#fff;

padding:35px;

border-radius:20px;

box-shadow:0 15px 40px rgba(0,0,0,.10);

transition:.35s;

text-align:center;

}

.card:hover{

transform:translateY(-10px);

}

.card i{

font-size:50px;

color:#0B63F6;

margin-bottom:20px;

}

.card h3{

margin-bottom:15px;

font-size:24px;

color:#153A73;

}

.card p{

line-height:1.7;

margin-bottom:25px;

color:#666;

}

.card a{

display:inline-block;

background:#FDB813;

color:#153A73;

padding:12px 25px;

border-radius:30px;

font-weight:600;

text-decoration:none;

}

/* ===========================
   BOUTONS FLÈCHE (ESPACES)
=========================== */

.btn-arrow{

display:inline-flex;

align-items:center;

gap:10px;

background:linear-gradient(135deg,#0B63F6,#153A73);

background-size:200% 200%;

color:#fff;

padding:14px 26px;

border-radius:30px;

font-size:15px;

font-weight:700;

text-decoration:none;

box-shadow:0 10px 25px rgba(11,99,246,.35);

animation:degradeAnime 4s ease infinite;

position:relative;

overflow:hidden;

}

.btn-arrow:hover{

transform:translateY(-3px) scale(1.03);

box-shadow:0 15px 35px rgba(11,99,246,.5);

}

.btn-arrow::before{

content:"";

position:absolute;

top:0;

left:-75%;

width:50%;

height:100%;

background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);

transform:skewX(-20deg);

animation:reflet 3s ease-in-out infinite;

}

@keyframes degradeAnime{

0%,100%{ background-position:0% 50%; }

50%{ background-position:100% 50%; }

}

@keyframes reflet{

0%{ left:-75%; }

100%{ left:130%; }

}

.arrow-icon{

display:inline-flex;

align-items:center;

justify-content:center;

animation:glisser 1.4s ease-in-out infinite;

}

@keyframes glisser{

0%,100%{ transform:translateX(0); }

50%{ transform:translateX(5px); }

}

/* ===========================
   ENSEIGNANTS DISPONIBLES
=========================== */

.teachers-preview{

width:90%;

max-width:1200px;

margin:20px auto 80px;

}

.teachers-preview-title{

text-align:center;

margin-bottom:40px;

}

.teachers-preview-title h2{

color:#FDB813;

font-size:32px;

margin-bottom:10px;

}

.teachers-preview-title p{

color:#0B63F6;

}

.teacher-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

gap:25px;

}

.teacher-card{

background:#fff;

border-radius:20px;

padding:25px;

text-align:center;

box-shadow:0 15px 40px rgba(0,0,0,.08);

transition:.3s;

max-width:100%;

overflow:hidden;

}

.teacher-card:hover{

transform:translateY(-8px);

box-shadow:0 25px 50px rgba(0,0,0,.14);

}

.avatar-circle{

width:120px;

height:120px;

margin:0 auto 15px;

border-radius:50%;

background:#0B63F6;

color:#fff;

display:flex;

align-items:center;

justify-content:center;

font-size:34px;

font-weight:700;

overflow:hidden;

border:3px solid #eaf1ff;

}

.avatar-circle img{

width:100%;

height:100%;

object-fit:cover;

}

.teacher-card h4{

color:#153A73;

margin-bottom:8px;

font-size:19px;

overflow-wrap:break-word;

word-break:break-word;

}

.teacher-card .badge{

display:inline-block;

background:#28a745;

color:#fff;

padding:4px 12px;

border-radius:20px;

font-size:12px;

margin-bottom:12px;

}

.teacher-card p{

font-size:14px;

color:#555;

margin-bottom:6px;

}

.teacher-badges{

display:flex;

flex-wrap:wrap;

justify-content:center;

gap:8px;

margin:6px 0 16px;

}

.teacher-badges .badge-item{

display:inline-flex;

align-items:center;

gap:6px;

padding:6px 13px;

border-radius:20px;

font-size:12.5px;

font-weight:600;

white-space:nowrap;

}

.teacher-badges .badge-item i{

font-size:11px;

}

.badge-matiere{background:#eaf1ff;color:#0B63F6;}
.badge-lieu{background:#eafaf0;color:#1f8a3d;}
.badge-tarif{background:#fff4e0;color:#b9720b;}
.badge-avis{background:#fff9e6;color:#b8860b;}

.teacher-badges .badge-item.badge-matiere{
white-space:normal;
overflow-wrap:break-word;
word-break:break-word;
max-width:100%;
text-align:left;
}

.teacher-card p i{

color:#0B63F6;

width:16px;

}

.teacher-card .rating i{

color:#FDB813;

}

.btn-teacher{

display:inline-block;

width:100%;

margin-top:15px;

padding:12px;

background:#FDB813;

color:#153A73;

border-radius:10px;

font-weight:600;

text-decoration:none;

transition:.3s;

animation:flotter 2.4s ease-in-out infinite;

}

.btn-teacher:hover{

background:#e6a70f;

}

@keyframes flotter{

0%,100%{ transform:translateY(0); }

50%{ transform:translateY(-6px); }

}

.btn-whatsapp{

display:flex;

align-items:center;

justify-content:center;

gap:8px;

width:100%;

margin-top:10px;

padding:12px;

background:#25D366;

color:#fff;

border-radius:10px;

font-weight:600;

text-decoration:none;

transition:.3s;

animation:clignoter 1.4s ease-in-out infinite;

}

.btn-whatsapp:hover{

background:#1ebe57;

}

@keyframes clignoter{

0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(37,211,102,.5); }

50%{ opacity:.75; box-shadow:0 0 0 8px rgba(37,211,102,0); }

}

.btn-whatsapp i{

font-size:18px;

}

.teachers-preview-more{

text-align:center;

margin-top:35px;

}

.teachers-preview-more a{

display:inline-flex;

align-items:center;

gap:8px;

color:#0B63F6;

font-weight:600;

text-decoration:none;

}

.teachers-preview-more a:hover{

text-decoration:underline;

}

@media (max-width:600px){

.teacher-grid{

grid-template-columns:1fr;

}

}

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

.side-menu{

position:fixed;

top:0;

right:-340px;

width:320px;

height:100vh;

background:linear-gradient(rgba(5,32,78,.90),rgba(5,32,78,.90)),url("hero.jpg") center center/cover no-repeat;

padding:30px;

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

transition:.4s;

z-index:999;

overflow-y:auto;

}

.side-menu.active{

right:0;

}

.side-menu h2{

color:#FDB813;

margin-bottom:20px;

}

.side-menu h4{

margin:25px 0 10px;

color:#FDB813;

}

.side-menu a{

display:block;

padding:12px 0;

text-decoration:none;

color:#eef2fb;

font-weight:500;

}

.side-menu a:hover{

color:#FDB813;

}

.side-menu hr{

border-color:rgba(255,255,255,.2);

}

#closeBtn{

background:none;

border:none;

font-size:30px;

cursor:pointer;

float:right;

margin-bottom:20px;

color:#fff;

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

@media (max-width:992px){

.hero h1{

font-size:42px;

}

.search-box{

grid-template-columns:1fr;

}

.quick-access{

grid-template-columns:1fr;

margin-top:-40px;

}

header{

padding:20px;

}

.logo img{

height:55px;

}

}

@media (max-width:600px){

.hero{

padding:0 20px;

}

.hero h1{

font-size:32px;

line-height:1.3;

}

.hero p{

font-size:17px;

}

.search-box{

padding:15px;

}

.search-box select,
.search-box button{

width:100%;

}

}

/* ===========================
   PETITES ANIMATIONS
=========================== */

.card,
.search-box,
#menuBtn{

transition:.3s ease;

}

.search-box:hover{

transform:translateY(-3px);

}

.card:hover{

box-shadow:0 25px 50px rgba(0,0,0,.15);

}

html{

scroll-behavior:smooth;

   }
/* ===========================
   PAGE SERVICES
=========================== */

.page-header{
    background:linear-gradient(135deg,#0b8f4d,#12b76a);
    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.page-header h1{
    font-size:42px;
    margin-bottom:15px;
    font-weight:700;
}

.page-header p{
    font-size:18px;
    opacity:.95;
}

.services{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:18px;
    padding:30px 25px;
    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 35px rgba(0,0,0,.15);
}

.service-card i{
    font-size:55px;
    color:#12b76a;
    margin-bottom:20px;
}

.service-card h2{
    font-size:22px;
    color:#222;
    margin-bottom:15px;
}

.service-card p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

.service-card .btn{
    display:inline-block;
    padding:12px 28px;

    background:#12b76a;
    color:#fff;

    text-decoration:none;

    border-radius:30px;

    font-weight:600;

    transition:.3s;
}

.service-card .btn:hover{
    background:#0d8d52;
}

@media(max-width:768px){

.page-header{
padding:60px 15px;
}

.page-header h1{
font-size:32px;
}

.page-header p{
font-size:16px;
}

.service-card{
padding:25px 20px;
}

}
/* ===== GALERIE ===== */

.gallery{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.gallery-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.gallery-card:hover{
    transform:translateY(-8px);
}

.gallery-img{
    width:100%;
    height:240px;
    object-fit:cover;
   display:block
}
.gallery-card{
    overflow:hidden;
}

.gallery-img{
    transition:transform .4s ease;
}

.gallery-card:hover .gallery-img{
    transform:scale(1.08);
}
.gallery-card h3{
    text-align:center;
    padding:10px 15px;
    margin:0;
    font-weight:700;
   color:#153A73;
}
/* ===== CONTACT ===== */

.contact-section{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.contact-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.contact-card:hover{
    transform:translateY(-8px);
}

.contact-card i{
    font-size:45px;
    color:#12b76a;
    margin-bottom:20px;
}

.contact-card h3{
    margin-bottom:10px;
}

.contact-form{
    max-width:800px;
    margin:70px auto;
    padding:0 20px;
}

.contact-form h2{
    text-align:center;
    margin-bottom:30px;
    color:#FDB813;
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.contact-form button{
    background:#12b76a;
    color:#fff;
    border:none;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.contact-form button:hover{
    background:#0b8f4d;
}
.gallery-card h3{
    text-align:center;
    padding:20px;
    color:#0b8f4d;
   }

/* ===========================
   BANDEAU DÉFILANT (HEADER)
=========================== */

.header-marquee{
    position:absolute;
    top:50%;
    left:0;
    transform:translateY(-50%);
    width:100%;
    height:46px;
    overflow:hidden;
    z-index:1;
    display:flex;
    align-items:center;
    pointer-events:none;
    background:#FDB813;
    border-top:2px solid #05204E;
    border-bottom:2px solid #05204E;
}

.marquee-track{
    display:inline-block;
    white-space:nowrap;
    padding-left:100%;
    animation:marqueeScroll 30s linear infinite;
    font-size:18px;
    font-weight:700;
    letter-spacing:.3px;
    color:#05204E;
}

@keyframes marqueeScroll{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-100%);
    }
}

@media (max-width:600px){
    .header-marquee{
        height:38px;
    }
    .marquee-track{
        font-size:14px;
    }
}

/* ===========================
   STATISTIQUES
=========================== */

.stats-section{
    width:90%;
    max-width:1200px;
    margin:0 auto 80px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    position:relative;
    z-index:5;
}

.stat-card{
    background:linear-gradient(135deg,#0B63F6,#153A73);
    color:#fff;
    padding:35px 20px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 15px 40px rgba(11,99,246,.25);
    transition:.35s;
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card i{
    font-size:34px;
    color:#FDB813;
    margin-bottom:14px;
}

.stat-card h3{
    font-size:38px;
    font-weight:800;
    margin-bottom:8px;
}

.stat-card p{
    font-size:15px;
    color:#dbe4f5;
    letter-spacing:.3px;
}

@media (max-width:768px){
    .stats-section{
        grid-template-columns:1fr;
    }
}

/* ===========================
   TÉMOIGNAGES
=========================== */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.testimonial-card{
    background:#fff;
    padding:28px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.10);
    transition:.35s;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.testimonial-card:hover{
    transform:translateY(-8px);
}

.testimonial-stars{
    color:#FDB813;
    font-size:16px;
    margin-bottom:14px;
}

.testimonial-text{
    color:#555;
    line-height:1.7;
    font-style:italic;
    margin-bottom:20px;
    flex-grow:1;
}

.testimonial-author{
    display:flex;
    align-items:center;
    gap:12px;
}

.testimonial-avatar{
    width:44px;
    height:44px;
    border-radius:50%;
    background:linear-gradient(135deg,#0B63F6,#153A73);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:14px;
    flex-shrink:0;
}

.testimonial-author h5{
    font-size:15px;
    color:#153A73;
    margin-bottom:2px;
}

.testimonial-author span{
    font-size:13px;
    color:#888;
}


   
