/* Import de Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Style général */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}
#loader {
  transition: opacity 0.5s ease;
  background-color: white;
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================= */
/*         TOP BAR CSS          */
/* ============================= */


.top-bar {
    position: relative;
    height: auto;
    padding: 10px 0;
    background: #ffffff;
    display: flex;
    align-items: center;
}

.top-bar .logo {
    text-align: left;
}

.top-bar .logo h1 {
    margin: 0;
    color: #E81C2E;
    font-size: 50px;
    line-height: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    font-style: italic;
}

.top-bar .logo h1 span {
    color: #202C45;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 60px;
}

/* ============================= */
/*         TOP BAR ITEM         */
/* ============================= */

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0;
}

.top-bar .top-bar-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366; /* WhatsApp Green */
    border-radius: 50%;
}

.top-bar .top-bar-icon i {
    color: #ffffff;
    font-size: 16px;
}

.top-bar .top-bar-text {
    padding-left: 15px;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.top-bar .top-bar-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

/* ============================= */
/*         RESPONSIVE           */
/* ============================= */

@media (max-width: 991.98px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .logo {
        text-align: center;
        margin-bottom: 10px;
    }

    .top-bar .top-bar-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .top-bar .top-bar-text {
        padding-left: 0;
        margin-top: 8px;
    }

    .top-bar .top-bar-text h3 {
        font-size: 16px;
    }

    .top-bar .top-bar-text p {
        font-size: 13px;
    }

    .top-bar .logo h1 {
        font-size: 36px;
    }
}


/* Navbar */
.navbar {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.navbar-brand:hover {
    color: #ffc107;
}

.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
}
/* Logo styling */
.navbar-brand img {
    max-height: 60px; /* Ajuste la taille si nécessaire */
}

/* Marges pour le menu */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
}
/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    min-height: 300px;
    background: #ffffff;
    margin-bottom: 45px;
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    text-align: right;
    overflow: hidden;
}

.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 992px;
    padding: 0 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}

.carousel .carousel-text h3 {
    color: #E81C2E;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0px;
}

.carousel .carousel-text h1 {
    color: #ffffff;
    font-size: 90px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.carousel .carousel-text p {
    max-width: 500px;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 40px;
}

.carousel .btn.btn-custom {
    padding: 20px 45px 22px 45px;
    color: #ffffff;
}

.carousel .btn.btn-custom:hover {
    color: #E81C2E;
}

.carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 50px;
    top: calc(50% - 25px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border-radius: 50px;
    background: rgba(256, 256, 256, .2);
    font-size: 22px;
    transition: .5s;
}

.carousel .owl-nav .owl-prev {
    margin-left: 30px;
}

.carousel .owl-nav .owl-next {
    margin-right: 30px;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #E81C2E;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@media (max-width: 991.98px) {
    .carousel .carousel-text h3 {
        margin-bottom: 5px;
    }
    
    .carousel .carousel-text h1 {
        font-size: 60px;
    }
    
    .carousel .carousel-text p {
        font-size: 16px;
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {
    .carousel .carousel-text h3 {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .carousel .carousel-text h1 {
        font-size: 45px;
    }
    
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h3 {
        font-size: 14px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    
    .carousel .carousel-text h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    .carousel .carousel-text p {
        margin-bottom: 25px;
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
}


.carousel-text {
    background: rgba(0, 0, 0, 0.5); /* fond sombre transparent pour visibilité */
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    max-width: 600px;
}

.carousel-text h1,
.carousel-text h3,
.carousel-text p {
    color: #fff;
}

.btn-custom {
    background-color: #E81C2E; /* rouge vif */
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #c51424;
    color: #fff;
    transform: scale(1.05);
}


/* Animation d'apparition */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Animation de déplacement */
@keyframes slideIn {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
#about {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#about .img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Arrondir les bords de l'image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajout d'ombre pour un effet 3D */
}

#about h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#about .lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

#about p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

#about .btn {
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 25px;
}

/* Responsive design pour les petits écrans */
@media (max-width: 767px) {
    #about .row {
        flex-direction: column; /* Affiche les éléments en colonne sur les petits écrans */
    }

    #about h2 {
        font-size: 2rem;
    }

    #about .lead {
        font-size: 1rem;
    }

    #about p {
        font-size: 0.95rem;
    }

    #about .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}
/* Section About Us */
.about-us h1 {
    color: #007bff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-us h2 {
    color: #333;
    font-size: 2rem;
    margin-top: 20px;
}

.about-us p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;

}

.about-us img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-us img {
        margin-bottom: 20px;
    }
}
/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 0 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 45px;
}

.service .service-item i {
    color: #202C45;
    font-size: 75px;
    line-height: 75px;
    margin-bottom: 20px;
}

.service .service-item [class^="flaticon-"]::before {
    margin: 0;
    font-size: 60px;
    line-height: 60px;
    background-image: linear-gradient(#E81C2E, #202C45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: .5s;
}

.service .service-item h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service .service-item p {
    margin: 0;
}

/* Responsive pour petits écrans (mobiles) */
@media (max-width: 768px) {
    .service .service-item {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .service .service-item i {
        font-size: 60px;
        line-height: 60px;
        margin-bottom: 15px;
    }

    .service .service-item [class^="flaticon-"]::before {
        font-size: 50px;
        line-height: 50px;
    }

    .service .service-item h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .service .service-item p {
        font-size: 14px;
        padding: 0 10px;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 24px;
    }
}
/* Popup Modal */
.modal {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
//* Style général de la section */
    #pricing {
      background-color: #f8f9fa;
      padding-top: 60px;
      padding-bottom: 60px;
    }

    #pricing .section-header h2 {
      font-size: 32px;
      font-weight: bold;
      color: #333;
    }

    #pricing .section-header p {
      font-size: 16px;
      color: #777;
    }

    /* Style du tableau */
    .table {
      width: 100%;
      margin-bottom: 1rem;
      color: #212529;
      border: 1px solid #ddd;
      table-layout: fixed;
    }

    .table th, .table td {
      vertical-align: middle;
      padding: 12px;
      text-align: center;
    }

    .table th {
      background-color: #343a40;
      color: white;
    }

    .table img {
      width: 100px;
      height: auto;
      border-radius: 5px;
    }

    .table td button {
      background-color: #e81c2e;
      color: white;
      border: none;
      padding: 8px 15px;
      cursor: pointer;
    }

    .table td button:hover {
      background-color: #ff1a1a;
    }

    /* Alignement à gauche des descriptions */
    .table td.description {
      text-align: left;
    }

    /* Style mobile */
    @media (max-width: 768px) {
      .table-responsive {
        overflow-x: auto;
      }

      .table th {
        font-size: 10px;
        padding: 8px;
      }
      .table td {
        font-size: 10px;
        padding: 8px;
        text-align: left;
      }

      .table img {
        width: 56px;
      }

      .section-header h2 {
        font-size: 20px;
      }

      .section-header p {
        font-size: 10px;
      }

      .table td a.btn {
        padding: 4px 10px;
        font-size: 9px;
      }
    }
/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial .testimonial-item {
    display: flex;
    align-items: center;
}

.testimonial .testimonial-item .img-wrapper {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #E81C2E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-right: 20px;
}

.testimonial .testimonial-item .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.testimonial .testimonial-text {
    width: calc(100% - 100px);
    padding-left: 20px;
}

.testimonial .testimonial-text h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.testimonial .testimonial-text h4 {
    color: #777777;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial .testimonial-text p {
    margin: 0;
}

.testimonial .testimonial-text p::before {
    content: "\f10d";
    font-size: 25px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #E81C2E;
    margin-right: 10px;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 10px;
    background: #dddddd;
}

.testimonial .owl-dot.active {
    background: #E81C2E;
}



/* Services */
#services .col-md-4 {
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#services i {
    margin-bottom: 10px;
    color: #007bff;
}
#services .col-md-4:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Style du bouton dans la section services */
#services .card-body .btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 50px;  /* Bordure arrondie pour un look moderne */
    background-color: #007bff;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}

#services .card-body .btn:hover {
    background-color: #0056b3; /* Changer la couleur au survol */
}

/* Ralentir la transition du carrousel */
.carousel-item {
    transition: transform 15s ease-in-out; /* Ajuste la vitesse de la transition */
}



/* Passer une commande */
#commande {
    background: linear-gradient(to right, #007bff, #00a8ff);
    color: white;
}
#commande .btn {
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
#commande .btn:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}

/* Avis Clients */
blockquote {
    background: white;
    padding: 20px;
    border-left: 5px solid #007bff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    transition: transform 0.3s ease;
}
blockquote:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
blockquote p {
    font-style: italic;
}
/* Améliorer l'apparence de l'accordion */
.accordion-button {
    background-color: #007bff; /* Bleu personnalisé */
    color: white; /* Texte blanc */
    font-weight: bold;
    border-radius: 5px;
}

.accordion-button:not(.collapsed) {
    background-color: #0056b3; /* Couleur plus foncée quand la question est ouverte */
}

.accordion-item {
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Ajouter un peu de padding aux corps des réponses */
.accordion-body {
    padding: 15px;
    background-color: #f9f9f9; /* Fond plus clair pour les réponses */
    font-size: 1rem;
}

/* Contact */
#contact {
    text-align: center;
}
#contact p {
    font-size: 1.1rem;
}
#contact i {
    margin-right: 10px;
    color: #ffc107;
}

/* Footer Styles */
footer {
    background-color: #333; /* Fond sombre */
    color: white; /* Texte en blanc */
    padding: 40px 0; /* Espacement interne */
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #f0a500; /* Couleur hover pour les liens */
}
footer h5, footer h6 {
    font-size: 16px; /* Réduit légèrement la taille des titres */
}
footer .container {
    padding-top: 20px; /* Réduit l'espace du haut */
    padding-bottom: 20px; /* Réduit l'espace du bas */
}

/* Colonne des liens utiles */
footer .col-md-3 h5 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

footer .col-md-3 ul {
    list-style-type: none;
    padding-left: 0;
}

footer .col-md-3 ul li {
    margin-bottom: 10px;
}

/* Colonne des Réseaux Sociaux */
footer .col-md-3 ul li i {
    margin-right: 10px;
}

/* Boutons Play Store et App Store */
footer .btn-app {
    display: inline-block;
    margin-right: 15px;
    padding: 8px 20px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

footer .btn-app img {
    max-width: 100%; /* Garantit que les images des boutons d'app sont réactives */
    height: auto;
    max-height: 50px; /* Réduit la hauteur des images de l'App Store et du Play Store */
}

footer .btn-app:hover {
    background-color: #f0a500;
    transform: scale(1.05);
}

footer .btn-app:active {
    background-color: #e08e00;
}

footer .img-qr {
    width: 80px; /* Réduit la taille du QR code */
    height: auto;
    margin-top: 10px;
}


footer .card img {
    max-width: 100%;
    border-radius: 10px;
}

/* Pour les icônes de médias sociaux */
footer .social-icons i {
    font-size: 1.5rem;
    margin: 10px;
    transition: transform 0.3s ease;
}

footer .social-icons i:hover {
    color: #f0a500; /* Changer la couleur au survol */
    transform: scale(1.2);
}

/* Mise en page du footer */
footer .row {
    display: flex;
    flex-wrap: wrap;
}

footer .col-md-3 {
    flex: 1;
    margin-bottom: 30px;
}

footer .text-center {
    margin-top: 30px;
    font-size: 0.9rem;
}

footer .text-center p {
    margin: 0;
    font-size: 1rem;
}

/* Responsivité */
@media (max-width: 767px) {
    footer .col-md-3 {
        flex: 100%;
        text-align: center;
    }
    
    footer .social-icons i {
        margin: 5px 15px;
    }
}


/* Effet d'ombre portée sur les boutons */
.btn, .nav-link, .col-md-4:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (max-width: 767px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
}
#modalImage {
  max-height: 180px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

