/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Transition pour les boutons */
.btn {
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background-color: #0056b3;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Header Sticky Effect */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    animation: fadeIn 1.5s ease-in-out;
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(45deg, #0056b3, #0171d3);
    color: white;
    background-size: cover;
    background-attachment: fixed;
}

/* Footer Enhancements */
footer a {
    transition: color 0.2s ease-in-out;
}

footer a:hover {
    color: #0171d3;
    text-decoration: underline;
}

/* Image hover effects */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.05);
}

/* Section Content */
section {
    animation: fadeIn 1s ease-in-out;
}
/* Styles pour le conteneur du chatbot */
.chatbot-container {
    position: relative;
}

/* Styles pour le conteneur du chatbot */
.chatbot-container {
    position: relative;
}

/* Fenêtre du chatbot */
.chatbot-window {
    width: 400px; /* Largeur adaptée pour la 4K */
    height: 600px; /* Hauteur adaptée pour la 4K */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    font-size: 18px; /* Taille de police plus grande pour la 4K */
}

/* En-tête du chatbot */
.chatbot-header {
    background-color: #007bff;
    color: #fff;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px; /* Taille de police plus grande pour la 4K */
}

/* Bouton de fermeture */
.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px; /* Taille de police plus grande pour la 4K */
    cursor: pointer;
}

.close-btn:hover {
    color: #f8f9fa;
}

/* Corps du chatbot (zone des messages) */
.chatbot-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacement plus grand pour la 4K */
}

/* Conteneur de l'input et du bouton */
.chatbot-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

/* Champ de saisie */
#chatbotInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 16px; /* Taille de police plus grande pour la 4K */
}

/* Bouton Envoyer */
.chatbot-input-container .btn {
    padding: 10px 15px;
    font-size: 16px; /* Taille de police plus grande pour la 4K */
}

/* Styles pour les messages */
.message {
    padding: 10px 15px;
    border-radius: 5px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 16px; /* Taille de police plus grande pour la 4K */
}

/* Message de l'utilisateur */
.user-message {
    background-color: #007bff;
    color: #fff;
    align-self: flex-end;
}

/* Message du bot */
.bot-message {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}