/* ==========================
   RESET ET STYLES GLOBAUX
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

html,
body {
    height: 100%;
}

.wrapper {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3efea 100%);
    min-height: 100vh;
}

/* ==========================
   HEADER ET NAVIGATION
========================== */
.header {
    background-color: #d0eddc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem; /* Ajusté pour réduire l'espace */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.logo-img {
    height: 80px; /* Taille ajustée pour un logo plus petit */
    width: auto; /* Conservez les proportions */
}

.nav-buttons {
    display: flex;
    gap: 1rem; /* Réduit l'espace entre les éléments */
    align-items: center;
}

.nav-buttons a {
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease-in-out;
    color: black;
    padding: 0;
    background-color: transparent;
    font-size: 1rem; /* Uniformise la taille des liens */
}

.nav-buttons a:hover {
    color: #107d3f;
}

.nav-buttons .btn-login {
    padding: 0.5rem 1rem;
    background-color: #15a64f;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

.nav-buttons .btn-login:hover {
    color: #fff;
    background-color: #107d3f;
}

/* ==========================
   ICÔNES PROFIL ET LOGOUT
========================== */
.nav-buttons .icon-profile,
.nav-buttons .icon-logout {
    width: 40px; /* Taille ajustée de l'icône */
    height: 40px;
    border-radius: 50%; /* Icône ronde */
    border: none; /* Pas de bordure */
    background: none; /* Pas de couleur de fond */
    object-fit: cover; /* Assure que l'image est bien ajustée */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.nav-buttons .icon-profile:hover,
.nav-buttons .icon-logout:hover {
    transform: scale(1.1); /* Légère augmentation de taille au survol */
}

/* ==========================
   STYLES POUR INDEX.PHP
========================== */
.main-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.welcome-section {
    text-align: center;
}

.welcome-section h1 {
    font-size: 3rem;
    color: #15a64f;
    margin-bottom: 1rem;
}

.welcome-section p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    max-width: 600px;
}

.thread-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.thread-btn {
    text-decoration: none;
    padding: 1.3rem 2.2rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: white;
    background-color: #15a64f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    width: 80%;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    border: none;
}

.thread-btn:hover {
    background-color: #107d3f;
    transform: scale(1.05);
}

/* ==========================
   STYLES POUR ABOUT.PHP
========================== */

section {
    margin-bottom: 3rem;
}

.main-content-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    flex: 1;
}

.main-content-about .introduction {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 3rem;
}

.main-content-about .introduction > *,
.main-content-about .team {
    padding: 2rem;
    background-color: #d0eddc;
    color: black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 30vw;
}

.main-content-about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.main-content-about .introduction .content {
    text-align: justify;
}

.main-content-about .introduction .objectives ul {
    list-style-type: circle;
    padding-left: 1rem;
}

.main-content-about .team {
    text-align: center;
    width: fit-content;
}

.main-content-about .team .team-members {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.main-content-about .team .team-members .member {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 120px;
}

.main-content-about .team .team-members .member .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    border: 1px solid black;
}

.main-content-about .team .team-members .member p {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}

.main-content-about .team .team-members .member .name {
    word-spacing: 100vw;
}

.main-content-about .team .team-members .member .role {
    font-size: 0.9rem;
    color: #555;
}

/* ==========================
   STYLES POUR LOGIN.PHP
========================== */

.main-content-login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #15a64f;
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.left-side .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.left-side .slogan {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #107d3f;
}

.login-form {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-form .form-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.login-form .form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #333;
}

.register-link {
    text-align: center; /* Centrer le texte */
    font-size: 14px; /* Taille du texte */
    color: #333; /* Couleur du texte principal */
    margin-top: 20px; /* Espacement en haut */
}

.register-link a {
    color: #000; /* Couleur du lien en noir */
    text-decoration: underline; /* Souligne le lien */
    font-weight: bold; /* Gras pour le lien */
}

.register-link a:hover {
    color: #555; /* Couleur légèrement plus claire au survol */
    text-decoration: none; /* Supprime le soulignement au survol */
}
/* Ajout de la phrase pour créer un compte */
.login-form .create-account {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

.login-form .create-account a {
    color: #48c774;
    text-decoration: none;
    font-weight: bold;
}

.login-form .create-account a:hover {
    text-decoration: underline;
}

/* Style pour la flèche de retour */
.header-back {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-back:hover {
    color: #48c774;
}

.header-back::before {
    content: "← ";
    font-size: 20px;
    margin-right: 5px;
}
.back-link {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.back-link svg {
    margin-right: 5px;
}
.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-selector label {
    margin-right: 10px;
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.language-selector select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    border-color: #48c774;
    background-color: #f9f9f9;
}

.language-selector select:focus {
    outline: none;
    border-color: #48c774;
    box-shadow: 0 0 3px rgba(72, 199, 116, 0.5);
}

.language-selector select option {
    padding: 5px;
    font-size: 14px;
}

/* ==========================
   STYLES POUR SIGNUP.PHP
========================== */

.main-content-signup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de la page */
    overflow: hidden;
    background-color: #15a64f; /* Fond vert */
}

.signup-container {
    display: flex;
    width: 100%;
    height: 100%; /* Prend toute la hauteur de la page */
}

.left-side {
    background: linear-gradient(135deg, #ffffff, #48c774);
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.left-side .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.left-side .slogan {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #107d3f;
}

.right-side {
    background-color: #15a64f;
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.signup-form {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.signup-form .form-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

.signup-form .form-group {
    margin-bottom: 20px;
}

.signup-form .form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.signup-form .form-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #333;
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 20px;
}

.login-link a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.login-link a:hover {
    color: #555;
    text-decoration: none;
}

/* Flèche retour */
.header-back {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-back:hover {
    color: #48c774;
}

.header-back::before {
    content: "← ";
    font-size: 20px;
    margin-right: 5px;
}

/* ==========================
   STYLES POUR CREATEPOST.PHP
========================== */
.main-content-createPost {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #f9f9f9;
    height: 100vh;
}

.create-post-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}
.post-image {
    flex: 1;
    background-color: #e0e0e0;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Coupe tout contenu qui dépasse */
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recadre l'image pour qu'elle remplisse la div */
    border-radius: 10px; /* Coin arrondis alignés avec la div */
}

.create-post-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.create-post-form .form-title {
    font-size: 2rem;
    font-weight: bold;
    color: #15a64f;
    margin-bottom: 1.5rem;
    text-align: center;
}

.create-post-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.create-post-form label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.create-post-form select,
.create-post-form input,
.create-post-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.create-post-form textarea {
    resize: vertical;
    height: 100px;
}

.budget-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.budget-input span {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #15a64f;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #107d3f;
}
/*  NEWS.PHP */
.news-feed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    flex: 1;
}

.news-feed h1 {
    text-align: center;
    color: #28a745;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.post-card {
    background-color: #d0eddc;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 1.5rem;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #28a745;
}

.post-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-like {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-response:hover {
    background-color: #218838;
}

.post-location {
    font-size: 0.9rem;
    color: #666;
}
.filter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem auto; /* Ajoute un espacement autour du formulaire */
    text-align: center;
}

.filter-form label {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.filter-form select {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
}


/* ==========================
   STYLES POUR PROFIL.PHP
========================== */

.profile-main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #15A64F;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #D0EDDC;
}

.profile-info h1 {
    font-size: 1.8rem;
    color: black;
}

.profile-info p {
    font-size: 1rem;
    color: white
}

.profile-posts {
    width: 90%;
    max-width: 800px;
}

.profile-posts h2 {
    text-align: center;
    color: #15A64F;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.posts-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-header h2 {
    font-size: 1.5rem;
    color: black; /* Garde le texte en noir */
    margin: 0 0 0.5rem;
    text-decoration: underline; /* Ajoute un soulignement */
}
.post-header h2 a {
    color: black; /* Forcer la couleur noire */
    text-decoration: underline; /* Ajouter le soulignement */
}

.post-header h2 a:visited {
    color: black; /* Garder noir même après avoir cliqué */
}

.post-header h2 a:hover {
    color: #107d3f; /* Une couleur différente au survol, par exemple vert foncé */
    text-decoration: none; /* Retirer le soulignement au survol (optionnel) */
}


.post-card p {
    font-size: 1rem;
    color: black;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-location {
    font-size: 0.9rem;
    color: #666;
}
/* ==========================
   STYLES POUR CONFIRMATION.PHP
========================== */

.main-content-confirmation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; /* Prend toute la hauteur de la page */
    overflow: hidden;
    background-color: #15a64f; /* Fond vert */
}

.confirmation-container {
    display: flex;
    width: 100%;
    height: 100%; /* Prend toute la hauteur de la page */
}

.left-side {
    background: linear-gradient(135deg, #ffffff, #48c774);
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
}

.left-side .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.left-side .slogan {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #107d3f;
}

.right-side {
    background-color: #15a64f;
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.confirmation-message {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.confirmation-message h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}

.confirmation-message .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.confirmation-message .submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #15a64f;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.confirmation-message .submit-btn:hover {
    background-color: #0b5f2b;
}

/* ==========================
   STYLES POUR POST DETAIL
========================== */
.main-content-post-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.post-detail-container {
    background-color: #d0eddc;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    padding: 1.5rem;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #28a745;
}

.post-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #107d3f;
    margin-bottom: 0.5rem;
}

.post-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.media-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.post-media {
    width: 100%;
    max-width: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-section {
    margin-top: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-comment-form {
    margin-top: 2rem;
}

/* Style pour le champ de texte */
.add-comment-form textarea {
    width: 100%;
    max-width: 600px ; /* Limite la largeur du champ */
    height: 150px; /* Augmente la hauteur du champ */
    padding: 0.8rem;
    border-radius: 8px; /* Coins arrondis */
    border: 1px solid #ccc;
    resize: none; /* Désactive le redimensionnement manuel */
    font-size: 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9f9; /* Couleur de fond légère */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style pour le bouton d'envoi */
.add-comment-form button {
    background-color:#d0edcc; /* Couleur bleue */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.like-button {
    background-color: #15a64f;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.like-button:hover {
    background-color: #107d3f;
}

.media-container img {
    width: 100%;
    max-width: 600px; /* Ajustez cette valeur pour la taille maximale souhaitée */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem; /* Ajoute un espace entre les images */
}


/* ==========================
   FOOTER
========================== */
.footer-content {
    background-color: #15a64f;
    color: white;
    padding: 2rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin: 0 auto;
    flex-wrap: wrap; /* Pour gérer les petits écrans */
}

.footer-content .company {
    flex: 1;
    min-width: 200px;
    text-align: left; /* Aligner le texte à gauche */
    padding-right: 2rem; /* Ajuster l'espacement pour correspondre au contenu de droite */
}

.footer-content .company p {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-content .company h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Style pour le sélecteur de langue */
.footer-content .footer-language-selector {
    margin-bottom: 1rem; /* Ajoute un espacement avec le titre */
    text-align: left; /* Aligner le sélecteur à gauche */
}

.footer-content .footer-language-selector label {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
    color: #ffffff;
}

.footer-content .footer-language-selector select {
    width: 100%; /* Ajuste la largeur pour un look uniforme */
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    background-color: #ffffff;
    color: #15a64f;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.footer-content .footer-language-selector select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Effet de surbrillance */
}

.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
    flex: 1;
    max-width: 350px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    height: 120px;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background-color: #15a64f;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #107d3f;
}

/* ==========================
   MEDIA QUERIES
========================== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .thread-section {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        max-width: 100%;
    }

    .footer-content .company {
        margin-bottom: 1.5rem;
    }
}
