/*
        STYLE GLOBAL - Mon école idéal
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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


}

body {
    font-family: 'Outif',sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f9f9f9;

}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

}
/* Header*/
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
}

.logo i {
    font-size: 28px;
}

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

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s;
    font-size: 15px;
}

.nav a:hover, .nav a.active {
    color: #27ae60;
}

.btn-contact {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    margin-left: 15px;
    transition: background 0.3s, transform 0.2s;
}

.btn-contact:hover {
    background-color: #219150;
    transform: translateY(-2px);
}
 /*Hero*/
 .hero {
    
    padding: 120px 0 180px;
    text-align: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('images/hyhy.jpg');
 }
 .hero h1 {
    font-size: 56px;
    margin-bottom: 25px;

 }
 .hero p {
    font-size: 22px;
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/*Value*/
.values {
    padding: 100px 0;
    text-align: center;

}
.values h2 {
    font-size: 40px;
    margin-bottom: 60px;



}
.grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 50px;
    margin-top: 50px;
}
.card {
    background: white;
    padding: 50px 30px;
    border-radius: 25px;
    flex: 1;
    max-width: 340px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    border: 2px solid transparent;


} 
.card:hover {
    transform: translateY(-15px);
    border-color: #27ae60;

    
}
.card.icon {
    font-size: 50px;
    margin-bottom: 15px;
    color: #27ae60;
}
.card h3 {
    font-size:24px;
    margin-bottom: 15px;
    color: #27ae60;

}

/*Space*/
.spaces {
    padding: 100px 0;
    background: #fff;

}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;

}
.space-item.reverse {
    flex-direction: row-reverse;

}
.space-info {
    flex: 1;
    
}
.space-images img {
    width: 50%;
    height:50%;
    object-fit: cover; /*L'image remplit le cadre sans être déformée*/

}
/*Testimonials*/
.testimonials {
    padding: 100px 0;
    background:linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    text-align: center;

}
.quote p {
    font-size: 32px;
    font-style: italic;
    max-width:800px;
    margin: 0 auto 20px;
    
}
.quote cite{
    font-size: 18px;
    opacity:0.8;

}
/*Footer*/
.footer {
    padding:60px 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 50px;
}
.hero img{
    width: 550px;
    height: 500px;
}
img{
    width: 500px;
    height: 500px;
}
.container h1{
    color: white;
    
}
.container p {
    color: white;
}

.container-values {
    padding: 100px 20px;
    text-align: center;
}

.container-values h2 {
    font-size: 40px;
    margin-bottom: 50px;
    color: #27ae60;
    position: relative;
    display: inline-block;
}

.grid .card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #27ae60;
}

.grid .card p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
    
}

.spaces h2 {
    text-align: center;
    font-size: 30px;
}

.elements{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.enseignment {
    padding: 100px 0;
    margin-bottom: 50px;
}

.enseignment h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.laboratoire{
    padding: 100px 0;
    text-align: center;
}
footer{
    padding: 5;
}