
body { font-family: 'Poppins', sans-serif; margin:0; padding:0; }


#hero {
  background: linear-gradient(rgba(227, 82, 82, 0.45), rgba(238, 150, 150, 0.45)), 
              url('assets/imgs/echangeur2.jpg') center/cover no-repeat fixed;
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
}

#hero .container {
  margin-top: 0;
}

@media (max-width: 768px) {
  #hero {
    padding-top: 60px;
    padding-bottom: 30px;
  }
}


#hero .btn-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ff561d; 
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#hero .btn-custom:hover {
  background-color: #e14b16;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

#hero .btn-custom i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

#hero .btn-custom:hover i {
  transform: translateX(4px);
}


/* Bouton stylé */
.hero-btn {
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.6);
}

.hero-img-container .hero-img {
  width: 260%; /* image encore plus grande */
  height: auto;
  display: block;
  margin: 0 auto; /* centre l’image */
  transition: transform 0.5s ease;
}

/* Effet au survol (desktop uniquement) */
@media (min-width: 992px) {
  .hero-img-container .hero-img:hover {
    transform: translateY(-10px) scale(1.1); /* plus grand encore au hover */
  }
}

/* Responsive (mobile/tablette) */
@media (max-width: 991px) {
  .hero-img-container {
    margin-top: 30px; /* espace après le texte */
  }
  .hero-img-container .hero-img {
    width: 160%; /* prend plus de largeur sur mobile */
  }
}






/* Carousel Images */
.slide-img { 
    height: 70vh; 
    object-fit: cover; 
    width: 100%; 
}

/* Carousel Caption */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.4);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
}

.carousel-caption h2, .carousel-caption h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.carousel-caption p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.btn-main { 
    background-color: #ff561d; 
    border-radius: 50px; 
    padding: 12px 30px; 
    color: #fff; 
    transition: all 0.3s ease-in-out; 
}
.btn-main:hover { 
    transform: scale(1.05); 
    background-color: #e64a19; 
}

/* Section Titles */
.section-title { 
    font-size: clamp(2rem, 4vw, 2.5rem); 
    font-weight: 700; 
    margin-bottom: 30px; 
    color: #ff561d; 
}

/* Cards */
.custom-card { 
    background: #fff; 
    border-radius: 15px; 
    box-shadow: 0 6px 25px rgba(0,0,0,0.15); 
    transition: transform 0.3s ease; 
    overflow: hidden; 
}
.custom-card:hover { 
    transform: translateY(-10px); 
}
.custom-card img { 
    width: 80px; 
    margin: 20px auto 0; 
    display: block; 
}
.custom-card-body { 
    padding: 20px; 
    text-align: center; 
}

/* Download Section */
.download-section { 
    background: linear-gradient(to right, #ff561d, #ff784e); 
    color: #fff; 
    padding: 60px 20px; 
    text-align: center; 
}
.download-section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; }
.download-section p { font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 30px; }

/* Testimonials */
.testimonial-card { 
    background: #f8f9fa; 
    padding: 30px; 
    border-radius: 15px; 
    box-shadow: 0 6px 25px rgba(0,0,0,0.05); 
    margin: 15px; 
}

/* Footer */
footer { background-color: #222; color: #fff; padding: 40px 20px; }
footer a { color: #ff561d; text-decoration: none; }

/* Overlay */
.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.4); 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 1.5rem;
    }
    .custom-card img {
        width: 60px;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        width: 95%;
        padding: 1rem;
    }
    .carousel-caption h1, .carousel-caption h2 {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
    .carousel-caption p {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    .btn-main { padding: 0.5rem 1rem; font-size: clamp(0.8rem, 3vw, 1rem); }
}

  .slide-box {
    min-height: 350px;
    padding: 60px 20px;
    border-radius: 20px;
    color: #fff;
    transition: all 0.4s ease-in-out;
  }

  .slide-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }

  .icon-service {
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 50%;
  }

  .bg-gradient-blue-green {
    background: linear-gradient(to right, #ff561d, #ff784e);
  }
  .bg-gradient-green-blue {
    background: linear-gradient(to right, #ff561d, #ff784e);
  }
  .bg-gradient-blue-green-dark {
    background: linear-gradient(to right, #ff561d, #ff784e);
  }

  .carousel-indicators button {
    width: 12px;
    height: 12px;
    background-color: #ff561d;
    margin: 0 5px;
    opacity: 0.6;
    transition: all 0.3s;
  }
  .carousel-indicators button.active {
    opacity: 1;
    background-color: #ff561d;
  }

  .custom-control {
    filter: invert(1);
  }

  @media (max-width: 768px) {
    .icon-service { font-size: 3rem; padding: 15px; }
    .slide-box h3 { font-size: 1.5rem; }
    .slide-box p { font-size: 1rem; }
  }
   .floating {
    animation: float 4s ease-in-out infinite;
  }
  /* Animation image slide depuis la droite */
  .slide-in-right {
    animation: slideInRight 1.5s ease-out forwards, float 4s ease-in-out infinite 2s;
  }

  @keyframes slideInRight {
    0%   { transform: translateX(120%) scale(0.95); opacity: 0; }
    60%  { transform: translateX(-10%) scale(1.02); opacity: 1; }
    100% { transform: translateX(0) scale(1); }
  }

  /* Effet flottant après apparition */
  @keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
  }
  .text-express {
  color: #ff561d;
}
.fonctionnement-icon {
    font-size: 60px;          /* taille un peu plus grande */
    color: #ff561d;           /* couleur dynamique pour correspondre au thème */
    transition: transform 0.3s ease, color 0.3s ease;
}
.btn-commande{
    background-color: #ff561d;
    color: white;
}
.btn-commande:hover{
    background-color: #c20a32ff;
    color: white;
}

.fonctionnement-icon:hover {
    transform: scale(1.2);
    color: #ffc107;           /* couleur au survol */
}
/* ---------------- Loader ---------------- */
/* Loader styles */