/* Reset some default styles */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

@media (max-width: 480px) {
    /* Réorganiser les icônes */
    body {
     width: 95%;
 }

 .header-icons {
    display: none !important;
}

 .navbar {
   
    padding: 10px 0;
}

.nav-menu {
    list-style: none;
    
}

.nav-item {
    display: flex;
}

.nav-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-icon {
    width: 10px; /* Adjust size of the icons */
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover effect for icons */
.nav-link:hover .nav-icon {
    transform: scale(1.8);
}

}

/* Navbar styling */
.navbar {
   
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-item {
    display: flex;
}

.nav-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-icon {
    width: 40px; /* Adjust size of the icons */
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover effect for icons */
.nav-link:hover .nav-icon {
    transform: scale(1.2);
}

/* Add some spacing on small screens */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    .header-icons {
        display: none !important;
    }
}

/* Footer styling */
footer {
    background-color: #7a5744; /* Fond sombre */
    color: #fff; /* Texte blanc */
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    line-height: 1.6;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #4CAF50; /* Couleur verte pour les liens */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline; /* Souligner au survol */
}

/* 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;
}

/* 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 #4CAF50; /* 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: #4CAF50; /* 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: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* Button hover effect */
.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #388E3C;
    transform: scale(1.02);
}

/* Link hover effect */
a {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Style pour la page de contact */
.logo {
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

.main-content {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.main-content h2 {
    color: #4CAF50;
    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: #4CAF50;
    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;
}
