* {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #E1A624;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 900;
}

.logo img {
height: 100px;
}

#nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

#nav-links li {
  font-size: 18px;
}

#nav-links li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#nav-links li a:hover {
  color: white;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: black;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: #ccc;
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #nav-links {
    flex-direction: column;
    background-color: #E1A624;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
    text-align: center;
    padding: 20px 0;
  }

  #nav-links.active {
    display: flex;
  }
}


.font{
  padding-top: 100px;
  position: relative;


}

.font img{
width: 100%;
height: 900px;

opacity: 0.5;


}
.carousel-container {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px; /* plis dou */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
  margin-top: -800px;
}


.carousel-slide {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}


.slide {
  min-width: 100%;
  position: relative;
  user-select: none;
}


.slide img {
  width: 100%;
  height: 70vh;
  object-fit: contain;
  background-color: #000;
  border-radius: 15px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s ease;
}


.slide:hover img {
  transform: scale(1.05);
}


.caption {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: rgba(209, 189, 14, 0.75); 
  color: #fff;
  padding: 18px 35px;
  font-size: 1.7rem;
  border-radius: 25px;
  font-weight: 200;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.5);
  opacity: 0;
  animation-fill-mode: forwards;
  pointer-events: none;
}

.active .caption {
  animation: slideUp 1s forwards;
  opacity: 1;
}


@keyframes slideUp {
  to {
    transform: translateX(-50%) translateY(0%);
    opacity: 1;
  }
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid white;
  padding: 14px 20px;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  user-select: none;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.nav-btn:hover {
  background-color: #2196f3;
  box-shadow: 0 0 25px #2196f3;
  border-color: #2196f3;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.stock_image {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 70px;
}

.carousel {
  display: flex;
  width: max-content;
  animation: scroll 200s linear infinite;
  
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 18px;
  z-index: 1;
  border-radius: 50%;
}

.carousel img {
  width: 300px;
  height: 200px;
  margin-right: 10px;
  border-radius: 10px;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.divApro {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(244, 240, 240, 0.2);
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #444;
  position: relative;
  z-index: 10;
}

.divApro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 500;
  margin: 20px 0;
  color: #E1A624;
}

.divApro p {
  font-size: 18px;
  line-height: 1.7;
  margin: 20px 0;
}

.info-banner {
  text-align: center;
  margin: 40px 0;
}

.info-banner i {
  font-size: 40px;
  color: #E1A624;
}

.info-banner h1 {
  font-size: 32px;
  margin-top: 10px;
  color: #333;
}

.section_hmi {
  background-color: #444;
  width: 100%;
  max-width: 1400px;
  margin: auto;
  padding: 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  box-sizing: border-box;
}

.info-header {
  width: 100%;
  text-align: center;
  color:black;
  margin-bottom: 30px;
}
.info-header i{
  color: #E1A624;
}

.objective {
  background: white;
  border-radius: 10px;
  width: 300px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  animation: fadeUp 1s ease forwards;
}

.objective:hover {
  transform: translateY(-8px);
}

.objective i {
  font-size: 36px;
  color: #E1A624;
  margin-bottom: 15px;
}

.objective h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.objective p {
  font-size: 15px;
  color: #555;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section_hmi {
    flex-direction: column;
    align-items: center;
  }

  .objective {
    width: 90%;
  }

  .divApro h2 {
    font-size: 32px;
  }

  .divApro p {
    font-size: 16px;
  }
}

.temoignages {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.temoignages h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: bold;
}

.temoignage-liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.temoignage {
  max-width: 300px;
  font-style: italic;
  position: relative;
  opacity: 0;
  animation: apparaitre 1s ease forwards;
}

.temoignage i {
  font-size: 30px;
  color: orange;
  margin-bottom: 15px;
}

.temoignage p {
  font-size: 16px;
  color: #333;
}

.temoignage strong {
  display: block;
  margin-top: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #E1A624;
}

@keyframes apparaitre {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.temoignage:nth-child(1) {
  animation-delay: 0.2s;
}
.temoignage:nth-child(2) {
  animation-delay: 0.4s;
}
.temoignage:nth-child(3) {
  animation-delay: 0.6s;
}

.footer {
  background-color: #555;
  color: #ddd;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3, .footer-section h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: white;
}

.social-icons a {
  color: #bbb;
  margin-right: 15px;
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
  background-color: #E1A624;
  padding: 10px 0;
}



