/* Importation des polices Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Styles généraux */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../IMAGES/IMG_4939.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Conteneur principal */
.PageGen {
    background-color: rgba(255, 255, 255, 0.85);
    margin: 20px 80px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* En-tête */
header {
    background-color: #3366cc; /* Couleur bleue douce */
    padding: 30px 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Logo à gauche */
.logos img {
    float: left;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-right: 15px;
}

/* Titre centré */
.titreHead h1 {
    margin: 0;
    font-size: 2.3em;
    font-weight: 600;
    text-align: center;
    line-height: 90px; /* Aligner verticalement avec le logo */
}

/* Navigation positionnée en bas à droite de l'en-tête */
nav {
    position: absolute;
    bottom: 10px;
    right: 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #004c99;
}

/* Bouton spécifique pour le login */
nav ul li a .login {
    background-color: #ff9800;
    color: white;
}

nav ul li a.login:hover {
    background-color: #e67e22;
}

/* Carrousel d'images */
#carousel {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 12px;
}

#carousel .carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

#carousel .carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


#carousel .carousel img.active {
    opacity: 1;
}

/* Présentation du centre */
#about {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

#about img {
    width: 250px;
    height: auto;
    margin-right: 20px;
    border-radius: 20%;
    float: left;
}

#about .text {
    text-align: justify;
}

/* Services */
#services {
    padding: 20px;
    text-align: left;
}

#services h2 {
    text-align: left;
    font-size: 2em;
    color: #3366cc;
    margin-bottom: 20px;
}
#services .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#services .card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

#services .card h3 {
    margin-top: 0;
}
#services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Bandeau d'appel à l'action */
#call-to-action {
    background-color: #34c759;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
}

#call-to-action .button {
    background-color: #fff;
    color: #ff9800;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* Section Nouvelles Technologies */
#technologies {
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

#technologies h2 {
    text-align: left;
    font-size: 2em;
    color: #3366cc;
    margin-bottom: 20px;
}

#technologies p {
    text-align: justify;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Cards dans la section Nouvelles Technologies */
#technologies .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#technologies .card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#technologies .card h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
}

#technologies .card p {
    font-size: 1em;
    line-height: 1.6;
    text-align: justify;
}

#technologies .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Section Activités et Bien-Être */
#activities-wellbeing {
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

#activities-wellbeing h2 {
    text-align: left;
    font-size: 2em;
    color: #2a8a82;
    margin-bottom: 20px;
}

#activities-wellbeing p {
    text-align: justify;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Cards dans la section Activités et Bien-Être */
#activities-wellbeing .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

#activities-wellbeing .card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#activities-wellbeing .card h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
}

#activities-wellbeing .card p {
    font-size: 1em;
    line-height: 1.6;
    text-align: justify;
}

#activities-wellbeing .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
#activities-wellbeing ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
}

#activities-wellbeing ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1em;
    color: #555;
}

#activities-wellbeing ul li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #2a8a82;
    font-size: 1.2em;
}

/* Effet au survol des éléments de liste */
#activities-wellbeing ul li:hover {
    color: #3366cc;
    font-weight: bold;
}

/* Section Partenariats */
#partnerships {
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

#partnerships h2 {
    text-align: left;
    font-size: 2em;
    color: #3366cc;
    margin-bottom: 20px;
}

#partnerships p {
    text-align: justify;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Grille des partenaires */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.partners {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.partners p {
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

/* Effet au survol des cards */
.partners:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .partners p {
        font-size: 0.9em;
    }
}


/* Footer */
footer {
    background-color: rgba(0, 56, 168, 0.9);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
}

/* Styles du modal */
.modal {
   min-width: 60%;
}
.modal h1 {
    text-align: center;
    color: #3366cc;
}

.modal form {
    margin-top: 20px;
}

.modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.modal input[type="text"],
.modal input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal input[type="submit"] {
    background-color: #3366cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal input[type="submit"]:hover {
    background-color: #004c99;
}


