body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #fdfaf6;
}
.navbar {
  background: transparent;
  transition: background 0.4s ease-in-out;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar .nav-link, .navbar-brand {
  color: white;
  transition: color 0.4s ease-in-out;
}
.navbar.scrolled .nav-link, .navbar.scrolled .navbar-brand {
  color: black;
}
.parallax-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 80vh;
  white-space: nowrap;
}
.parallax-container-about {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 40vh;
  white-space: nowrap;
}
.parallax-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 1s ease-in-out;
}
.parallax-item {
  width: 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  flex-direction: column;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.parallax-item.active {
  opacity: 1;
}
.service-card {
  border-radius: 15px;
  padding: 30px;
  background: #f8f9fa;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.icon {
  font-size: 50px;
  color: #e67e22;
  margin-bottom: 15px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.about-section {
  padding: 60px 0;
  background-color: white;
  text-align: center;
}
.about-section img {
  width: 220px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid #e67e22;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}
.about-section img:hover {
  transform: scale(1.1);
}
.about-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #e67e22;
}
.about-section p {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.testimonials {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 30px;
  color: #e67e22;
}
.testimonial-carousel {
  max-width: 800px;
  margin: auto;
}
.testimonial-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}
.testimonial-item.show {
  opacity: 1;
  transform: translateY(0);
}
footer {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 40px 20px;
  text-align: center;
  font-size: 16px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
}
.footer-nav ul li {
  display: inline;
  margin: 0 15px;
}
.footer-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}
.footer-nav ul li a:hover {
  color: #e67e22;
}
.footer-contact {
  margin: 15px 0;
}
.footer-contact p {
  margin: 5px 0;
  font-size: 14px;
}
.footer-contact i {
  margin-right: 8px;
  color: #e67e22;
}
.footer-social {
  margin: 20px 0;
}
.footer-social a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}
.footer-social a:hover {
  color: #e67e22;
  transform: scale(1.2);
}
.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}
.trame {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
              linear-gradient(225deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
  background-size: 50px 50px;
  
  opacity: 0.4;
  animation: moveTrame 8s infinite linear;
  pointer-events: none; /* Pour ne pas bloquer les interactions */
}

@keyframes moveTrame {
  from { transform: translateX(0px) translateY(0px); }
  to { transform: translateX(50px) translateY(50px); }
}
.about-section, #services, .testimonials {
  position: relative;
}
.service-card shadow {
  text-align: center;
  height: 750px;
  background-image: url('images/slider-2-img-6.png');
  background-position: left top; 
  background-repeat: no-repeat;
  background-size: cover;
}
.title-line {
  max-width: 100%; /* Empêche l'image de dépasser la largeur de l'écran */
  height: auto; /* Conserve le ratio d'origine */
  display: block;
  margin: 0 auto; /* Centre l'image horizontalement */
  padding: 10px 0; /* Ajoute un peu d'espace autour */
}
@media (max-width: 768px) {
  .title-line {
      width: 80%; /* Réduit la taille sur mobile pour ne pas occuper toute la largeur */
  }
}
@media (max-width: 991px) { /* Cible les écrans de largeur inférieure à 992px */
  .navbar {
      background-color: white !important; /* Force un fond blanc */
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Ajoute une légère ombre pour le contraste */
  }
  
  .navbar .nav-link, .navbar-brand {
      color: black !important; /* Assure que les liens restent visibles */
  }
  
  .navbar-toggler {
      border: none; /* Enlève la bordure du bouton burger */
  }
}