/* General Styles */
html {
  scroll-behavior: smooth;
}

/*Chatbot*/
/* Conteneur du Chatbot */
#chatbot-container {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 1000;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-container.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#chatbot-box {
  width: 350px;
  height: 500px;
  background-color: #fff;
  border: 2px solid #00796b;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* En-tête du Chatbot */
.chatbot-header {
  background-color: #00796b;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  margin: 0;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Messages du Chatbot */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background-color: #e0f2f1;
}

.message {
  background-color: #00796b;
  color: white;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  width: fit-content;
  max-width: 80%;
}

.message.user {
  background-color: #004d40;
  margin-left: auto;
}

/* Input */
.chatbot-input-container {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ccc;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
}

#chatbot-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 15px;
  resize: none;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#chatbot-input:focus {
  outline: none;
  border-color: #00796b;
  box-shadow: 0 0 5px rgba(0, 121, 107, 0.5);
}

.btn-send {
  background-color: #00796b;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  margin-left: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-send i {
  font-size: 18px;
}

.btn-send:hover {
  background-color: #004d40;
  transform: scale(1.1);
}
/* Ajoutez une classe hidden pour masquer initialement le chatbot */
.hidden {
  display: none;
}

/* Ajoutez des transitions pour l'ouverture du chatbot */
#chatbot-container {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#chatbot-container.show {
  opacity: 1;
  transform: translateY(0);
}

/* Bouton de scroll vers le bas */
.scroll-down-btn {
  position: absolute;
  bottom: 70px; /* Ajusté pour ne pas chevaucher le champ d'entrée */
  right: 20px;
  background-color: #00796b; /* Couleur principale */
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.scroll-down-btn i {
  font-size: 18px;
}

.scroll-down-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.scroll-down-btn.hidden {
  display: none; /* Cache le bouton par défaut */
}



/*Chatbot*/

/* Base styles for the nav-item */
.cta-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.main-btn {
  width: 50px;
  height: 50px;
  background-color: #007BFF;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.main-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.icon-message {
  font-size: 24px;
  transition: 0.3s ease-in-out;
}

.icon-close {
  font-size: 15px;
  transition: 0.3s ease-in-out;
}

.social-icons {
  position: absolute;
  bottom: 60px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: scale(0);
  transform-origin: bottom;
  transition: all 0.4s ease-in-out;
}

.social-icon {
  width: 50px;
  height: 50px;
  background-color: #007BFF;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 20px;
  transition: transform 0.3s, background-color 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  color: #fff;

}

.cta-button.active .social-icons {
  opacity: 1;
  transform: scale(1);
}

.facebook { background-color: #3b5998; }
.youtube { background-color: #ff0000; }
.linkedin { background-color: #0077b5; }
.twitter { background-color: #1da1f2; }
.google { background-color: #db4437; }
.whatsapp { background-color: #25D366; }
.chatbot { background-color: #3C3C3C ; }


  
  /* Content Sections */
  .content-section {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
  }
  
  .content-section h2 {
    margin-bottom: 10px;
  }
  
  .content-section ul {
    list-style: none;
    padding: 0;
  }
  
  .content-section li {
    background: #f9f9f9;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
  }
  
  /* Services */
  .services-section-incl {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto;
    max-width: 1000px;
  }
  
  .service-list {
    flex: 1;
    min-width: 350px;
    margin: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
  }
  
  .service-list h3 {
    margin-bottom: 10px;
  }
  
  /* Buttons */
  .buttons-section {
    text-align: center;
    margin: 20px auto;
  }
  
  .btn {
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #0073e6;
    color: #0073e6;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    background: #0073e6;
    color: #fff;
  }
  

  
  /* Responsive Design */
  @media (max-width: 768px) {
    .services-section {
      flex-direction: column;
      align-items: center;
    }
  
    .content-section, .service-list {
      padding: 15px;
    }
  }


.gallery,
.gallery-item,
.overlay,
.btn

 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#contact_message {
    height: 200px !important;
}

.jumbotron {
    background-color: #f8f9fa; /* Couleur de fond douce */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
  }
  
  .jumbotron h1 {
    font-size: 1.8rem;
    color: black; /* Couleur bleue pour le titre */
    margin-bottom: 1rem;
  }
  
  .jumbotron p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .jumbotron a {
    color: #007bff;
    text-decoration: none;
  }
  
  .jumbotron a:hover {
    text-decoration: underline;
  }


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    height: 300px;
    cursor: pointer;
    animation: fade-in 1s ease-in;
}

.overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: bottom 0.5s ease;
}

.gallery-item:hover .overlay {
    bottom: 0;
}

.gallery-item:hover {
    filter: brightness(0.7);
}

.overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.btn {
    padding: 10px 20px;
    border: 2px solid #ff7f50;
    border-radius: 5px;
    background: transparent;
    color: #ff7f50;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    background: #ff7f50;
    color: white;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}