/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #587e81; /* Bleu-vert */
    transition: color 0.3s ease;
}

a:hover {
    color: #e4ad94; /* Beige rosé */
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
}

p {
    margin: 0 0 1.5rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.9); /* Fond semi-transparent */
    backdrop-filter: blur(10px); /* Effet de flou */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espace entre le logo et le nom */
}

.logo img {
    height: 50px; /* Ajustez la taille du logo selon vos besoins */
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #587e81; /* Bleu-vert */
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e4ad94, #d89b7e); /* Dégradé beige rosé */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover {
    color: #587e81; /* Bleu-vert */
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: url('../images/logopedys.webp') no-repeat center center/cover; /* Image de fond */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay sombre pour améliorer la lisibilité */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-in-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta {
    background: linear-gradient(90deg, #e4ad94, #d89b7e); /* Dégradé beige rosé */
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.cta:hover {
    background: linear-gradient(90deg, #d89b7e, #e4ad94); /* Dégradé beige rosé inversé */
}

/* Services Section */
.services {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 80px;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #587e81; /* Bleu-vert */
}

.card p {
    font-size: 1rem;
    color: #666;
}

/* Team Section */
.team {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.team-members {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.member {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    text-align: center;
}

.member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.member img {
    width: 150px; /* Taille fixe pour les photos */
    height: 150px; /* Taille fixe pour les photos */
    border-radius: 50%; /* Forme ronde */
    object-fit: cover; /* Assure que l'image couvre la zone sans déformation */
    margin-bottom: 1rem;
    border: 3px solid #e4ad94; /* Bordure beige rosé */
}

.member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #587e81; /* Bleu-vert */
}

.member p {
    font-size: 1rem;
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.testimonial-carousel {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.testimonial p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial span {
    font-size: 1rem;
    color: #666;
}

/* Blog Section */
.blog-preview {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.blog-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.blog-posts {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.post {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.post img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.post h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #587e81; /* Bleu-vert */
}

.read-more {
    color: #e4ad94; /* Beige rosé */
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #587e81; /* Bleu-vert */
}

.contact input, .contact textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    background: linear-gradient(90deg, #e4ad94, #d89b7e); /* Dégradé beige rosé */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: linear-gradient(90deg, #d89b7e, #e4ad94); /* Dégradé beige rosé inversé */
}

/* Login Section */
.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #587e81; /* Bleu-vert */
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
}

.input-group i {
    margin-right: 0.5rem;
    color: #e4ad94; /* Beige rosé */
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.cta {
    background: linear-gradient(90deg, #e4ad94, #d89b7e); /* Dégradé beige rosé */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.cta:hover {
    background: linear-gradient(90deg, #d89b7e, #e4ad94); /* Dégradé beige rosé inversé */
}

.login-container p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.login-container a {
    color: #587e81; /* Bleu-vert */
    font-weight: 500;
}

/* Appointment Section */
.appointment {
    display: flex;
    justify-content: center;
    align-items: center;
min-height: 100vh; /* Utilisez min-height au lieu de height */
    background-color: #f9f9f9;
}

.appointment-container {
    background: white;
    padding: 3rem; /* Padding accru */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px; /* Largeur augmentée */
    text-align: center;
    margin: 2rem 0; /* Marge verticale */
}

.appointment-container h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #587e81; /* Bleu-vert */
}

/* Dashboard Styles */
.dashboard {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.dashboard h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #587e81; /* Bleu-vert */
}

.dashboard ul {
    list-style: none;
    padding: 0;
}

.dashboard ul li {
    margin: 1rem 0;
}

.dashboard ul li a {
    color: #587e81; /* Bleu-vert */
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.dashboard ul li a:hover {
    color: #e4ad94; /* Beige rosé */
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

table th, table td {
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #587e81; /* Bleu-vert */
    color: white;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

table a {
    color: #587e81; /* Bleu-vert */
    margin-right: 1rem;
}

table a:hover {
    color: #e4ad94; /* Beige rosé */
}

/* Error Messages */
.error {
    color: red;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 2rem;
    background-color: #587e81; /* Bleu-vert */
    color: white;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo img {
        height: 40px; /* Taille réduite pour les petits écrans */
    }

    .logo h1 {
        font-size: 1.2rem; /* Taille réduite pour les petits écrans */
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .service-cards, .team-members, .testimonial-carousel, .blog-posts {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #587e81; /* Bleu-vert */
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #587e81; /* Bleu-vert */
}

.form-group input,
.form-group textarea,
.form-group select,
.form-group .file-input {
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #587e81; /* Bleu-vert */
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .cta {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-actions .cta.secondary {
    background: #f9f9f9;
    color: #587e81; /* Bleu-vert */
    border: 1px solid #587e81; /* Bleu-vert */
}

.form-actions .cta.secondary:hover {
    background: #587e81; /* Bleu-vert */
    color: white;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #587e81; /* Bleu-vert */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #e4ad94; /* Beige rosé */
}

/* TinyMCE Editor Styles */
.tox-tinymce {
    border-radius: 5px !important;
    border: 1px solid #ddd !important;
}

.tox-tinymce .tox-editor-header {
    background-color: #f9f9f9 !important;
    border-bottom: 1px solid #ddd !important;
}

.tox-tinymce .tox-toolbar__primary {
    background-color: #f9f9f9 !important;
}

.tox-tinymce .tox-tbtn {
    color: #587e81 !important;
}

.tox-tinymce .tox-tbtn:hover {
    background-color: #e4ad94 !important;
    color: white !important;
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .form-container {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .cta {
        width: 100%;
        margin-bottom: 1rem;
    }

    .form-actions .cta:last-child {
        margin-bottom: 0;
    }
}
/* Ajoutez ceci à votre fichier CSS existant */
.input-group textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical; /* Permet le redimensionnement vertical seulement */
    min-height: 100px; /* Hauteur minimale */
    padding: 0.5rem 0; /* Ajustement du padding pour correspondre aux inputs */
    background: transparent; /* Fond transparent comme les inputs */
}

/* Optionnel : pour que l'icône s'aligne correctement avec le textarea */
.input-group textarea {
    vertical-align: middle;
    line-height: 1.6;
}
/* Style de base existant à conserver */
.input-group {
    display: flex;
    align-items: center; /* Centre par défaut pour les inputs */
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
}

/* Style spécifique pour les textarea */
.input-group-textarea {
    align-items: flex-start; /* Alignement en haut pour le textarea */
}

.input-group-textarea i {
    margin-top: 0.75rem; /* Ajustement pour aligner avec la première ligne */
}

.input-group textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 100px;
    padding: 0;
    margin-left: 0.5rem;
    line-height: 1.6;
    background: transparent;
}
/* Style spécifique pour le champ message */
.input-group-message {
    align-items: flex-start;
    padding: 0.75rem;
}

.input-group-message i {
    height: 1.6em; /* Correspond à votre line-height */
    display: flex;
    align-items: center; /* Centre l'icône verticalement dans sa hauteur */
    padding-top: 1px; /* Ajustement pixel perfect */
}

.input-group-message textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    min-height: 100px;
    padding: 0;
    margin-left: 0.5rem;
    line-height: 1.6; /* Doit correspondre à la height de l'icône */
    background: transparent;
    vertical-align: top; /* Important pour l'alignement */
}

.contact-form button.cta {
    margin-bottom: 1rem; /* Espacement accru sous le bouton */
}
.contact-map {
    margin-top: 3rem; /* Conservez ou augmentez cette valeur si nécessaire */
    text-align: center;}
/* Ajoutez ceci à votre fichier CSS existant */

.service-team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.team-member-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e4ad94;
    background-color: white;
    transition: transform 0.3s ease;
}

.team-member-thumb:hover {
    transform: scale(1.1);
}

.team-member-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Styles pour le texte ELAN */
.logo .elan-text {
    font-size: 0.8rem; /* Taille réduite */
    font-style: italic;
    color: #333; /* Couleur de base */
}

.logo .elan-highlight {
    font-weight: bold;
    color: #4e787c; /* Couleur spécifiée */
    font-style: italic;

}
.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo img {
    width: 100px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4e787c;
}

.logo-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #efbaa3;
}



.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}
/* Dans votre fichier CSS principal */
select[disabled] {
    background-color: #f5f5f5;
    color: #666;
}


.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input[type="checkbox"] {
    margin: 0;
    width: auto;
}