/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Navbar */
.navbar-dark.bg-primary {
    background-color: #9fe78b !important; /* Couleur dominante */
    box-shadow: #040404;
    border-radius: 40px;
}


.logo{
    width: 5%;
    height: 10%;
    position: relative;
    top: 0;
    left: -50px;
}




/* Redimensionner le logo sur petits écrans */
@media (max-width: 767px) {
    .navbar-brand img {
        width: 120px;  /* Ajuste cette valeur selon tes besoins */
        height: auto;
    }

    /* Espacement des liens dans le menu */
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    .logo{
        width: 30%;
        height: 30%;
        position: relative;
        top: 0;
        left: 0px;
        }
}

/* Pour améliorer la visibilité des éléments du menu */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(21, 142, 7, 0.8); /* Couleur plus claire pour les liens */
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff; /* Changer la couleur au survol */
}

/* Menu hamburger (le bouton avec 3 lignes) */
.navbar-toggler-icon {
    /*  background-color: #fff; Change la couleur de l'icône hamburger */
}

/*Ceci pour agir sur le contenu du menu, la list des menu*/

/* Style général des liens de navigation */
.navbar-nav .nav-link {
    font-size: 15px; /* Taille de la police */
    font-weight: 600; /* Légèrement gras pour une meilleure visibilité */
    color: rgb(227, 159, 11); /* Couleur de texte par défaut */
    padding: 12px 20px; /* Espacement autour du texte */
    transition: all 0.3s ease; /* Transition douce lors du survol */
    text-transform: uppercase; /* Mettre les textes en majuscules */
    font-family:Arial, Helvetica, sans-serif;
}

/* Effet de survol (hover) */
.navbar-nav .nav-link:hover {
    background-color: #8f7461; /* Couleur de fond lors du survol */
    color: #fff; /* Rendre le texte blanc lors du survol */
    border-radius: 5px; /* Bord arrondi */
    transform: translateY(-2px); /* Effet de léger soulèvement */
    opacity: 0.2;
}

/* Lorsque l'élément est actif (ex : la page en cours) */
.navbar-nav .nav-link.active {
    color: #ff6600; /* Mettre la couleur active en orange */
    font-weight: 700; /* Rendre le texte plus gras */
}

/* Ajout d'un effet pour l'icône de menu sur les petits écrans */
.navbar-toggler-icon {
    background-color: #040404; /* Changer la couleur de l'icône hamburger */
}

/* Changer la couleur du menu actif sur mobile */
@media (max-width: 767px) {
    .navbar-nav .nav-link {
        font-size: 16px; /* Taille de police plus petite pour les petits écrans */
        padding: 10px 15px; /* Réduire l'espacement pour les petits écrans */
    }
}








.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero_content1{
    background-color: #a1c632bd;
    /*opacity: 0.7;*/
    padding: 0.2%;
    margin: 5px;
    border-radius: 20px;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Carousel */
.carousel-item img {
    height: 500px;
    object-fit: cover;
}

/* Footer */
footer {
    background: #90c315;
    color: white;
    text-align: center;
    padding: 20px 0;
}









.navbar1 {
  position: sticky;
  top: 1px;
  margin: 10px;
}

.navbar {
    background-color: #9fe78b;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 1px;
    margin: 10px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar:hover {
    background-color: #8ed374;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.navbar-brand i {
    margin-right: 8px;
    color: #ffffff;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    margin: 0 15px;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #0056b3;
}

.navbar-toggler {
    display: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .navbar-nav {
        display: none;
        flex-direction: column;
        background-color: #9fe78b;
        border-radius: 20px;
        padding: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 70px;
        right: 20px;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar-toggler {
        display: block;
    }
}



.btn.devis {
    background-color: #ae902fcf; /* Couleur principale */
    color: #fff; /* Couleur du texte */
    border: none;
    border-radius: 30px; /* Coins arrondis */
    padding: 10px 20px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre légère */
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .btn.devis:hover {
    background-color: #cb7008; /* Couleur au survol */
    color: #fff; /* Assurez-vous que le texte reste lisible */
    transform: translateY(-3px); /* Effet de levée */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Ombre plus marquée */
  }
  .btn.devis:active {
    transform: translateY(0); /* Effet au clic */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }

  .cleaning-section .btn {
    background-color: #cb7008; /* Couleur au survol */
    color: #fff; /* Assurez-vous que le texte reste lisible */
    border-radius: 30px; /* Coins arrondis */
    padding: 10px 20px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre légère */
  }


/*Cette partie pour la section cleaning-section 
background: linear-gradient(to right, #7bad70, #d4f1f4);
    color: #fff;
*/
.cleaning-section {
    color: #040404;
    padding: 50px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  .cleaning-section h2 {
    font-weight: bold;
    margin-bottom: 20px;
  }
  .cleaning-section p {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .cleaning-section li {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  /*.cleaning-section .btn {
    font-size: 1.2rem;
    font-weight: bold;
    background-color: #083d77;
    border: none;
    transition: all 0.3s ease;
  }*/
  .cleaning-section .btn:hover {
    background-color: #edb70684;
  }
  /*
  .info-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  .info-block {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  .info-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  .info-block h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .info-block p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
  }
  .info-block i {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 15px;
  }
  .info-block .btn {
    background-color: #083d77;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
  }
  .info-block .btn:hover {
    background-color: #025e8c;
  }*/
  .info-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  .info-block {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
  }
  .info-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  .info-block h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
  }
  .info-block img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
  }
  .info-block .btn {
    background-color: #083d77;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
  }
  .info-block .btn:hover {
    background-color: #025e8c;
  }




  .why-clean-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  .why-clean-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 3rem;
    color: #0c0c0c;
  }
  .why-clean-item {
    text-align: center;
    background: #F0F2E6;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .why-clean-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  .why-clean-item i {
    font-size: 2.5rem;
    color: green;
    margin-bottom: 15px;
  }
  .why-clean-item h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .why-clean-item p {
    font-size: 1.5rem;
    color: #555;
  }



 /* Section principale */
 .cardd {
  background-color: #f8f9fa; /* Fond léger pour un contraste doux */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Titre */
.cardd h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

/* Liste d'informations */
.cardd ul {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-left: 20px;
}

.cardd ul li {
  margin-bottom: 15px;
  position: relative;
}

/* Ajouter une icône à gauche de chaque point */
.cardd ul li::before {
  content: "✓"; /* Icône */
  color: #28a745; /* Couleur verte pour validation */
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  left: -20px;
  top: 0;
}

/* Image */
.cardd img {
  border-radius: 10px;
  max-height: 300px; /* Taille maximale pour harmoniser la mise en page */
  object-fit: cover;
}



  .carousel-inner img {
    height: 250px; /* Hauteur fixe pour les images */
    object-fit: cover; /* Ajuste les images pour qu'elles remplissent l'espace sans déformation */
    border-radius: 10px; /* Coins arrondis pour un meilleur design */
  }


  .card {
    border-radius: 10px;
    border: none;
  }
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /*width: 60px;
    height: 60px;*/
    background-color: #faf9f8;
    border-radius: 50%;
    color: orange;
  }
  .card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333; /* Couleur sombre pour une bonne lisibilité */
    margin-bottom: 8px;
  }
  .card-text {
    font-size: 16px;
    line-height: 1.6; /* Espacement entre les lignes */
    color: #555; /* Gris doux */
    margin-bottom: 0; /* Pas d’espacement inutile en bas */
  }



  .testimonials-section {
    padding: 40px;
    background-color: #fff;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial-card {
    background-color: #f4f4f4;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    padding: 20px;
    text-align: left;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    margin-right: 15px;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
}

.review-date {
    font-size: 14px;
    color: #888;
}

.rating {
    color: #f5c518;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-content {
    font-size: 14px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
        align-items: center;
    }
}





.faq-section {
  padding: 40px;
  background-color: #fff;
  text-align: left;
}

.faq-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #f4f4f4;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.faq-item:hover {
  background-color: #e8e8e8;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.faq-question i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}



.form-section {
  padding: 40px;
  max-width: 600px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input[type="file"] {
  border: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: #9fe78b;
}

.form-group .note {
  font-size: 12px;
  color: #666;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #9fe78b;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #8ed374;
}



#map {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.map-section {
  margin: 20px auto;
  text-align: center;
}
.map-section h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: #4CAF50;
  margin-bottom: 10px;
}



/*.why-clean-sectionp {
  background-color: #f9f9f9; 
  padding: 0px;
}

.containerp {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0px; 
  max-width: 1200px; 
}

.cardp {
  background: #ffffff;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  width: 100%; 
  max-width: 320px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardp:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

.icon-circlep {
  background-color: #2a7710c5;
  color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin: 0 auto 15px;
}

.card-titlep {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.card-textp {
  font-size: 1em;
  color: #666;
  line-height: 1.5;
}
*/



.why-clean-sectionp {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.containerp {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
}

.cardp {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardp:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.icon-circlep {
  font-size: 60px;
  margin-bottom: 10px;
}


.card-titlep {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.card-textp {
  font-size: 14px;
  color: #666;
}


.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 16px;
  color: white;
  background-color: #177713cf;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.lead {
    font-size: 2rem;
    font-weight: 300;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  width: 4rem;
  height: 4rem;
  background-color: rgba(0, 0, 0, 0.5); /* fond semi-transparent */
  border-radius: 50%;                  /* flèches rondes */
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1; /* toujours visibles */
  transition: opacity 0.3s ease;
}
/*
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.3);
}*/
.form-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
    max-width: 500px;
    width: 100%;
  }
  .form-section h2 {
    text-align: center;
    color: #333333;
    font-size: 24px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f1e8;
    border-radius: 8px;
  }
  .form-group {
    margin-bottom: 15px;
  }
  .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555555;
  }
  .form-group label span {
    color: red;
  }
  .form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
  }
  .form-group input:focus, .form-group select:focus {
    border-color: #007bff;
  }
  .form-group input[type="file"] {
    padding: 0;
  }
  .submit-btn {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
  }
  .submit-btn:hover {
    background-color: #0056b3;
  }
  .spinner {
    display: inline-block;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }