/* Reset some default styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Empêche le défilement horizontal */
    background: rgb(248, 239, 255);
}

@media (max-width: 480px) {
    /* Réorganiser les icônes */
    body {
     width: 95%;
 }
}
        /* HEADER */
        .navbar {
            position: sticky;
            top: 0;
            display: flex;
            justify-content: space-around;
            padding: 1rem 0;
            z-index: 1000;
        }
        
        .navbar .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            margin-top: 50px;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 2rem;
            padding-left: 50%;
        }

        .nav-links li a:hover {
            color: #A3D5FF;
        }

        .nav-links li a {
            color: #fff; /* Couleur blanche pour le texte */
            text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7); /* Ombre noire subtile */
            font-size: 1.5rem; /* Taille du texte */
            transition: color 0.3s ease;

        }

        .nav-links li a:hover {
            color: #A3D5FF; /* Couleur turquoise au survol */
            text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.9); /* Accentue l'ombre au survol */
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #fff;
            transition: all 0.3s ease-in-out;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* RESPONSIVE NAVBAR */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 60px;
                right: 0;
                background: rgba(0, 0, 0, 0.9);
                width: 100%;
                text-align: center;
                padding: 1rem;
            }

            .nav-links.active {
                display: flex;
            }

            .hamburger {
                display: flex;
            }
        }


        .banner {
            position: relative;
            background-image: url('/images/banniere.jpg'); /* Remplace par le chemin correct */
            background-size: contain; /* L'image remplit tout l'espace */
            background-position: center; /* Centre l'image */
            background-repeat: no-repeat; /* Empêche la répétition */
            height: auto; /* La bannière occupe toute la hauteur de l'écran */
            width: 100%; /* La bannière occupe toute la largeur */
            margin: 0;
            padding: 0;
            padding-left:60px;
        }
        
        
        
        .banner-content {
            text-align: center;
            color: white;
            padding: 2rem;
        }
        
        .banner-content h1 {
            font-size: 2.5rem;
            margin: 0;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
        }
        
        .banner-content p {
            font-size: 1.2rem;
            margin: 0.5rem 0 1.5rem 0;
        }
        
        
        
        .banner-content .btn:hover {
            background: #A390D4;
        }

/* Footer styling */
       
        footer {
            background: linear-gradient(160deg,  #A3D5FF,rgb(180, 160, 231),rgb(255, 182, 255));
            color: #333;
            text-align: center;
            padding: 1rem;
        }

        footer a {
            color:rgb(255, 182, 255);
            text-decoration: none;
            font-weight: bold;
             text-shadow: 0px 3px 6px rgba(0, 0, 0, 1); 
        }

        footer a:hover {
            color:rgb(186, 171, 225);
            text-decoration: underline;
        }

        footer p {
            margin: 5px 0;
        }

/* Responsive footer */
@media (max-width: 768px) {
    footer {
        font-size: 12px; /* Texte plus petit pour les petits écrans */
    }
}

/* Mentions légales container */
.mentions-legales {
    max-width: 800px; /* Largeur limitée pour la lisibilité */
    margin: 40px auto; /* Centrer la page */
    padding: 20px;
    background-color: #f9f9f9; /* Fond clair */
    border: 1px solid #ddd; /* Légère bordure */
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre légère */
    font-family: 'Arial', sans-serif;
}


h1, h2, h3 {
    color:rgb(180, 160, 231);
}

a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: #A3D5FF;
}


/* Titres */
.mentions-legales h1,
.mentions-legales h2 {
    color: #333; /* Couleur principale pour les titres */
    font-weight: bold;
    margin-bottom: 15px;
}

.mentions-legales h1 {
    font-size: 2em; /* Taille principale du titre */
    text-align: center;
    border-bottom: 2px solid rgb(180, 160, 231); /* Ligne verte sous le titre principal */
    padding-bottom: 10px;
}

.mentions-legales h2 {
    font-size: 1.5em;
    margin-top: 30px; /* Espacement au-dessus des sous-titres */
}

/* Paragraphe */
.mentions-legales p {
    color: #555; /* Texte en gris foncé */
    line-height: 1.8; /* Interligne plus grand pour la lisibilité */
    margin-bottom: 15px;
}

/* Liens */
.mentions-legales a {
    color: rgb(180, 160, 231); /* Liens en vert */
    text-decoration: none;
}

.mentions-legales a:hover {
    text-decoration: underline; /* Souligner au survol */
}

/* Liste (si utilisée) */
.mentions-legales ul {
    margin-left: 20px;
    list-style-type: disc;
    color: #555;
}

.mentions-legales li {
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .mentions-legales {
        padding: 15px;
        font-size: 14px; /* Réduire légèrement la taille du texte */
    }

    .mentions-legales h1 {
        font-size: 1.5em;
    }

    .mentions-legales h2 {
        font-size: 1.2em;
    }
}


/* Card shadow and hover effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Input field focus effect */
.form-control:focus {
    border-color: rgb(180, 160, 231);
    box-shadow: 0 0 5px  rgb(145, 120, 209);
}

/* Button hover effect */
.btn-primary {
    background-color: rgb(180, 160, 231);
    border-color: rgb(180, 160, 231);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: rgb(145, 120, 209);
    transform: scale(1.02);
}

/* Link hover effect */
a {
    color: rgb(180, 160, 231);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Style pour la page de contact */
.logo {
    max-width: 350px;
    margin: 0;
}

.main-content {
    margin: 20px 0;
    padding: 20px;
    background-color: rgb(255, 239, 255);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.main-content h2 {
    color: rgb(180, 160, 231);
    margin-bottom: 15px;
}

.main-content a {
    color: #007bff;
    text-decoration: none;
}

.main-content a:hover {
    text-decoration: underline;
}

/* Style pour les actualités */
.main-content h2 {
    font-size: 2rem;
    color: rgb(180, 160, 231);
    margin-bottom: 20px;
}

.main-content article {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-content article h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.main-content article p {
    font-size: 1rem;
    color: #555;
}

.main-content article a {
    color: #007bff;
    text-decoration: none;
}

.main-content article a:hover {
    text-decoration: underline;
}


/* Formulaire */
form {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Boutons */
form button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

/* Liste des partenaires */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

ul li img {
    margin-left: 10px;
    max-height: 50px;
}
    /* Containers */
    .section {
        background-color:rgb(255, 239, 255);
        padding: 40px;
        margin: 40px 0;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Card styling */
    .card {
        background-color:rgb(255, 239, 255);;
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }