/******************************Styles de la page d'accueil *************************************/
* {
    box-sizing: border-box; /* Inclut la bordure et le padding dans la taille de l'élément */

    
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
   
    
    
}
/*******navbar*******/
.navbar {
    padding: 1rem 2rem;
    background-color: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.navbar .logo {
    width: 150px;
}

.navbar-nav .nav-link {
    color: black;
    font-size: 1.2rem;
    margin-right: 20px;
}

.navbar-nav .nav-link:hover {
    color: #6a6868;
    font-weight: bold;
}
.nav-link{
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    
}
.nav-border {
    height: 4px;
    background-color: #003366;
    width: 90%;
    position: relative;
    top: 105px;
    z-index: 9;
    margin: 0 auto;
}
.btn-login-icon{
    color: black;
    font-size: 30px;
    margin-top: -5px;
}
.btn-login-icon:hover {
    color: #6a6868;
    font-weight: bold;
}
.main-content {
    margin-top: 5rem;
}


/* Carrousel principal */
.carousel-inner img {
    height: 100vh; /* Utilise la hauteur complète de la fenêtre */
    object-fit: cover;
    width: 100%; /* Assure que l'image occupe toute la largeur */
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    z-index: 10;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    
   
}
/*titre homerenov91*/
.display-1 {
    font-size: 70px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-left: 100px;
}

/* le proverbe*/
.lead {
    font-size: 22px; /* Augmenter la taille de la police */
    color: white; /* Texte blanc */
    text-align: left;
    margin-bottom: 2rem;
    max-width: 690px;
    margin-left: auto;
    margin-right: 100px;
    margin-top: 50px;
    background-color: rgba(0, 0, 0, 0.3); /* Fond noir semi-transparent */
    padding: 15px; /* Ajouter du padding pour rendre le texte plus aéré */
    border-radius: 10px; /* Bordure arrondie pour un effet plus esthétique */
}


/* Boutons demande d'etude*/
.btn-study-acceuil {
   

    width: auto !important; /* Laisse la largeur s'adapter au texte */
    padding: 10px 20px !important; /* Ajuste l'espace intérieur pour réduire la taille */
    display: inline-block !important; /* Pour que le bouton prenne juste la taille de son contenu */
    margin-left: 60% !important; /* Centre le bouton horizontalement */
    background-color: #003366 !important; /* Garde la couleur de fond */
    color: white !important; /* Garde la couleur du texte */
    border: none !important; /* Retire les bordures */
    border-radius: 20px !important; /* Coins arrondis */
    font-weight: bold !important;
    margin-top: 50px;
}

.btn-study-acceuil:hover {
    background-color: #215992 !important; /* Couleur bleu encore plus foncé au survol */
}



/* Flèches du carrousel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Section Présentation */
.presentation-section {
    text-align: center;
    padding: 50px;
    background-color: #ffffff;
    margin-top: 50px;
}

.presentation-section h1 {
    font-size: 36px;
    margin-bottom: 80px;
    color: #000;
}

.presentation-section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 90%;
    margin: 0 auto;
    color: #000;
}

/* Section Galerie */
.gallery-section {
    background-color: #D9E9F7;
    padding: 50px 0;
    margin: 30px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.gallery a {
    position: relative;
    display: block;
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery a:hover {
    transform: scale(1.05);
    width: 100%;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}
.pres-nom-chantier {
    color: white;
    font-size: 1rem; /* Taille du texte */
    white-space: normal; /* Permet le retour à la ligne */
    word-wrap: break-word; /* Permet de couper le mot si nécessaire */
    display: inline-block;
    width: 100%; /* S'assure que le texte occupe toute la largeur disponible */
}

/* Ajout du style pour la superposition au survol */
.gallery a .hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Fond sombre transparent */
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem; /* Taille du texte */
    white-space: nowrap; /* Évite le retour à la ligne du texte */
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 10;
}

.gallery a:hover .hover-overlay {
    opacity: 1;
}
/* Section de services */
.services-section {
    text-align: center;
    padding: 50px 0;
}

.services-tech {
    font-size: 36px;
    margin-bottom: 130px !important;
    color: #000;
    margin-top: 50px;
}

/* Style des éléments de service */
.service-item {
    text-align: center;
}

.service-item img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item img:hover {
    transform: scale(1.05);
}

.service-item p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #000;
}
.card-text{
    font-weight: normal !important;
}

.card-link-services{
    font-size: 15px;
    text-decoration: none;
}
/* Section Réalisations */
.realisations-section {
    padding: 50px 0;
    margin-top: 100px;
}

.realisations-section h1 {
    font-size: 36px;
    margin-bottom: 100px;
    color: #000;
    margin-top: -90px;
}

.bg-lightblue {
    background-color: #D9E9F7;
    max-width: 80%;
    padding: 40px;
}
.realisations{
    font-size: 15px;
    text-decoration: none;
}
/* Hover effect pour réalisations */
.img-hover {
    position: relative;
}

.img-hover img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(150, 201, 251, 0.6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.img-hover:hover .hover-overlay {
    opacity: 1;
}

.hover-overlay span {
    font-size: 20px;
    font-weight: bold;
}
/* CSS pour garantir que toutes les images soient de la même taille dans la section réalisations */
.realisations-section .img-hover {
    width: 100%;
    height: 200px; /* Hauteur fixe pour toutes les images */
    position: relative;
    overflow: hidden; /* Masque les parties des images qui dépassent */
    border-radius: 8px; /* Ajout d'arrondi aux coins */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajout d'une légère ombre */
}

.realisations-section .img-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Les images sont redimensionnées pour remplir tout l'espace sans déformation */
    object-position: center; /* Centrer les images */
}

/* Optionnel : styliser le texte qui apparaît lors du survol de l'image */
.realisations-section .img-hover .hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: #fff; /* Texte en blanc */
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease; /* Transition fluide pour l'apparition du texte */
}

.realisations-section .img-hover:hover .hover-overlay {
    opacity: 1;
}

/*section pourquoi s'inscrire*/
.icon-box {
    
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    
}

.icon-box i {
    color: #003366;
}
.avantages{
    
    margin-bottom: 80px;
    color: #000;
    margin-top: 30px;
}
.btn-lg{
    width: auto !important; /* Laisse la largeur s'adapter au texte */
    padding: 10px 20px !important; /* Ajuste l'espace intérieur pour réduire la taille */
    display: inline-block !important; /* Pour que le bouton prenne juste la taille de son contenu */
    
    background-color: #003366 !important; /* Garde la couleur de fond */
    color: white !important; /* Garde la couleur du texte */
    border: none !important; /* Retire les bordures */
    border-radius: 20px !important; /* Coins arrondis */
    font-weight: bold !important;
    
}
.btn-lg:hover {
    background-color: #215992 !important; /* Couleur bleu encore plus foncé au survol */

}
.lead-2{
    font-size: 20px;
}
/* Section avis clients */
.testimonials-section {
    background-color: white;
    padding: 50px 0;
}

.testimonials-section h2 {
    font-size: 36px;
    color: #000;
    margin-bottom: 0px !important;
    margin-top: -5px !important;
}

.testimonial-card {
    background-color: #d9e9f7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px !important;
    max-width: 100%;
    height: 250px;
    
}



.card-title {
    font-weight: normal !important;
    margin-top: 50px !important;
}
.client{
    font-weight: normal !important;
    margin-top: 80px;
    margin-bottom: 20px !important;
    
}
#carouselTestimonials{
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100vw; /* Empêche le débordement de l'élément */
    overflow: hidden; /* Empêche les éléments internes de déborder */
    margin: 0 auto; 
}
.testimonial-card {
    width: 100%; /* S'assure que chaque carte occupe la largeur disponible */
    max-width: 350px; /* Limite la largeur maximale de chaque carte */
}
.card-text {
    color: #f5c518;
    font-size: 15px;
}
.carousel-inner{
    margin-right: -7%;
}
.quote-box p {
    font-style: italic;
    
    padding: 10px;
    border-radius: 5px;
}
.avis{
    font-size: 18px !important;
    padding: 10px;
    margin-top: 10px !important;
}

/* Flèches du carrousel de témoignages */
#carouselTestimonials .carousel-control-prev,
#carouselTestimonials .carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
}

#carouselTestimonials .carousel-control-prev {
    left: -20px;
}

#carouselTestimonials .carousel-control-next {
    right: -20px;
}

#carouselTestimonials .carousel-control-prev-icon,
#carouselTestimonials .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Taille des avatars */
.testimonial-avatar {
    width: 100px!important; 
    height: 100px!important;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}
/* Section Contactez-nous */


/*********************** page domaines d'interventions ************************/
/* Ajustement du titre de la page */
.expertises {
    font-size: 36px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    margin-bottom: 30px; 
    margin-top: 200px!important;
}

/* section d'intervention */
.intervention-section {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}


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

.intervention-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.btn-intervention {
    background-color: #003366;
    border: 2px solid #003366;
    padding: 12px 24px;
    color: white;
    font-size: 16px;
    border-radius: 25px !important;
    margin-top: 20px;
    margin-left: 1% !important;
}

.intervention-section button:hover {
    background-color: #215992;
}

/* Section avant/après */
.before-after-section {
    margin-top: 40px;
}

.before-after-section img {
    border: 2px solid #003366;
    padding: 10px;
    border-radius: 10px;
}

.before-after-section p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
}

/* Domaines techniques */
.technical-domains img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 260px;
}

.technical-domains p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    transition: text-decoration 0.3s ease;
}

.domaines{
margin-bottom: 120px;
}
.technical-domains a {
    text-decoration: none;
    color: inherit;
}

.technical-domains a:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.technical-domains a:hover p {
    text-decoration: underline;
    color: #003366;
}
.deuxieme-partie{
    margin-bottom: 80px;
}
/************************** pages des réalisations*********************/
/* titre nos realisations*/
.nos-realisations{
    margin-top: 200px !important;
    font-weight: bold;
    color: #003366;
}
.realisation-presentation{
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff !important;
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 90px !important;
    line-height: 1.8;
    color: #333;

    margin-top: 60px !important;
    font-size: 16px;
    font-weight: normal;
}
/* les cards des réalisations*/
.card-realisations {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 500px;
}
.card-text-realisations{
    padding: 20px;
}
.card-title-realisations{
    padding: 20px;
}
.btn-chantier{
    margin: 20px;
    margin-left: 30%;
    display: inline-block !important; /* Pour que le bouton prenne juste la taille de son contenu */
    background-color: #003366 !important; /* Garde la couleur de fond */
    color: white !important; /* Garde la couleur du texte */
    border: none !important; /* Retire les bordures */
    border-radius: 20px !important; /* Coins arrondis */
    font-weight: bold !important;
    
}

.btn-chantier:hover {
    background-color: #215992 !important; /* Couleur bleu encore plus foncé au survol */
}

.card-realisations:hover {
    transform: scale(1.05);
}


.card-img-realisations {
    height: 200px;
    object-fit: cover;
    width: 100%;
}
.button-realisations{
    display: inline-block !important; /* Pour que le bouton prenne juste la taille de son contenu */
    background-color: #003366 !important; /* Garde la couleur de fond */
    color: white !important; /* Garde la couleur du texte */
    border: none !important; /* Retire les bordures */
    border-radius: 20px !important; /* Coins arrondis */
    font-weight: bold !important;
    margin-bottom: 80px;
    
}
.button-realisations:hover {
    background-color: #215992 !important; /* Couleur bleu encore plus foncé au survol */
}
/******************************************************page equipe***********************************************/
/* Styles pour la section de présentation de l'équipe */
.team{
    margin-top: 200px !important;
    margin-bottom: 70px !important;
    font-weight: bold;
    color: #003366;
}
.team-presentation h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 40px;
    margin-top: -50px;
}

.team-presentation p {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-radius: 10px;
}

/* Styles pour les membres de l'équipe */
.team-members {
    margin-top: 50px;
}

.team-members .avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.team-members h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 5px;
}

.team-members h4 {
    font-size: 20px;
    color: #215992;
    margin-bottom: 15px;
}

.team-members p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.team-members p strong {
    color: #003366;
}

/* Centrer la section et les éléments dans les colonnes */
.team-members .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.equipe{
    margin-bottom: 80px !important;
}



/* ********************************demande d'étude************************************ */
#etude {
    margin-top: 200px;
    color: #003366;
    margin-bottom: 30px;
}


.adress {
    color: #003366;
    margin-bottom: 20px;
}

.tel-email{
    color: #003366;
    margin-bottom: 20px;
    margin-top: 30px;
}
form label {
    font-weight: bold;
    color: #003366;
}

form .form-check-label {
    font-weight: normal;
}

.submit-etude {
    background-color: #003366;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 80px;
    margin-top: 50px;
    margin-left: 40% !important;
}

.submit-etude:hover {
    background-color: #215992;
}

iframe {
    margin-top: 30px;
    border-radius: 10px;
    
}

.adress-mail{
    text-decoration: none;
}


/***************************page démolition et curage*************************************/
/* Styles pour la page "Démolition et curage" */
.demo{
    margin-top: 200px !important;
    margin-bottom: 40px !important;
    font-weight: bold;
    color: #003366;
}
.demol{
    height: 50%;
}

.demolition-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligner les items en haut */
    padding: 20px;
}
    .image-section {
    flex: 2; /* Prend plus d'espace pour les images */
    /*margin-right: 20px;  Espace entre les images et le texte */
}

.main-image img {
    width: 90%;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-left: 40px;
}

.image-thumbnails {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 90%;
    margin-left: 40px;
}

.thumbnail-item {
    flex: 1;
    text-align: center;
}

.thumbnail-item img {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    transition: transform 0.3s ease; 
}

.thumbnail-item img:hover {
    transform: scale(1.05);
}

.thumbnail-item p {
   
    padding-top: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #000000;

}

.text-content {
     /*flex: 1; Prend moins d'espace pour le texte */
    padding: 0;
    max-width: 50%;
}

.text-content p {
    
    margin-bottom: 15px;
    color: #000000;
}




.evacuation {
    margin-top: 50px;
    margin-bottom: 50px;
}

.evacuation .col-md-4 {
    text-align: center;
    margin-bottom: 30px;
}

.evacuation h3 {
    margin-top: 20px;
    color: #003366;
    font-weight: bold;
}

.evacuation p {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}

.evacuation img {
    width: 90%;
    height: 250px;
    border-radius: 10px;
}




.domaines-options {
    padding: 20px;
}

.domaines-options h2 {
    color: #003366;
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: bold;
    margin-top: -30px;
}

.domaines-options ul {
    list-style: none; /* Retire les puces de la liste */
    padding-left: 0;
}

.domaines-options ul li {
    font-size: 18px;
    color: #0f6ccf; /* Couleur orange */
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.domaines-options ul li i {
    color: #0f6ccf; /* Couleur de la flèche */
    margin-right: 10px;
    margin-left: 40px;
}

.domaines-options ul li:hover {
    text-decoration: underline;
    color: #003366; /* Couleur au survol */
}

.domaines-options ul li:hover i {
    color: #003366; /* Change aussi la couleur de la flèche au survol */
}

.btn-study {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 80px;
    margin-left: 45% !important;
    margin-top: -20px;
}

.btn-study:hover {
    background-color: #215992;
}



/***************************page maçonnerie*************************************/

.maconnerie{
    margin-top: 200px !important;
    margin-bottom: 40px !important;
    font-weight: bold;
    color: #003366;
}

.maconnerie-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligner les items en haut */
    padding: 20px;
}
    .image-section-maconnerie {
    flex: 2; /* Prend plus d'espace pour les images */
    /*margin-right: 20px;  Espace entre les images et le texte */
}

.main-image-maconnerie  img {
    width: 90%;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-left: 40px;
}

.image-thumbnails-maconnerie  {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 90%;
    margin-left: 40px;
}

.thumbnail-item-maconnerie  {
    flex: 1;
    text-align: center;
}

.thumbnail-item-maconnerie  img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    transition: transform 0.3s ease; 
}

.thumbnail-item-maconnerie  img:hover {
    transform: scale(1.05);
}

.thumbnail-item-maconnerie  p {
   
    padding-top: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #000000;

}

.text-content-maconnerie  {
     /*flex: 1; Prend moins d'espace pour le texte */
    padding: 0;
    max-width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 120px;
}

.text-content-maconnerie  p {
    
    margin-bottom: 15px;
    color: #000000;
}


.macon {
    margin-top: 50px;
    margin-bottom: 50px;
}

.macon .col-md-4 {
    text-align: center;
    margin-bottom: 30px;
}

.macon h3 {
    margin-top: 20px;
    color: #003366;
    font-weight: bold;
    
    font-size: 40px;
    margin-bottom: 30px;
    
    margin-top: -10px;
}

.macon p {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}
.domaines-options li a {
    color: #0056b3;
    text-decoration: none;
}

/***************************page revetement*************************************/

.revetement{
    margin-top: 200px !important;
    margin-bottom: 40px !important;
    font-weight: bold;
    color: #003366;
}

.revetement-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligner les items en haut */
    padding: 20px;
}
.image-section-revetement {
    flex: 2; /* Prend plus d'espace pour les images */
    /*margin-right: 20px;  Espace entre les images et le texte */
}

.main-image-revetement  img {
    width: 90%;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-left: 40px;
}

.image-thumbnails-revetement  {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 90%;
    margin-left: 40px;
}

.thumbnail-item-revetement  {
    flex: 1;
    text-align: center;
}

.thumbnail-item-revetement  img {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    transition: transform 0.3s ease; 
}

.thumbnail-item-revetement  img:hover {
    transform: scale(1.05);
}

.thumbnail-item-revetement  p {
   
    padding-top: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #000000;

}

.text-content-revetement  {
     /*flex: 1; Prend moins d'espace pour le texte */
    padding: 0;
    max-width: 50%;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 40px;
}

.revetements {
    padding: 40px;
}

.types-revetements {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    max-width: 100%;
}

.tp {
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    
    
}
.tp:hover {
    transform: scale(1.02);
}

.types {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    
    display: inline-block;
    padding-bottom: 5px;
}

.tp-revetement {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

.sur-peinture {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.text-primary:hover {
    text-decoration: underline;
}

.services-section {
    margin-top: 40px !important;
    
}


.autres-services h2 {
    font-weight: bold;
    color: #003366;
    margin-top: 30px !important;
    margin-bottom: 40px !important;
}

.autres-services ul {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.autres-services li {
    font-size: 18px;
    margin-bottom: 10px;
}

.autres-services li i {
    color: #0056b3;
    margin-right: 10px;
}

.autres-services li a {
    color: #0056b3;
    text-decoration: none;
}

.autres-services li a:hover {
    text-decoration: underline;
}

.image-et-bouton {
    text-align: center;
    margin-top: 20px;
}

.image-et-bouton img {
    width: 450px;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dm-etude {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 80px;
    margin-top: 30px;
}
.dm-etude a{
    text-decoration: none;
    color: white;
}

.dm-etude:hover {
    background-color: #0056b3;
}

.autres-services ul li {
    font-size: 18px;
    color: #0f6ccf; /* Couleur orange */
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.autres-services ul li i {
    color: #0f6ccf; /* Couleur de la flèche */
    margin-right: 10px;
    
}

.autres-services ul li:hover {
    text-decoration: underline;
    color: #003366; /* Couleur au survol */
}

.autres-services ul li:hover i {
    color: #003366; /* Change aussi la couleur de la flèche au survol */
}

/*************************page peinture*************************************/
.peinture {
    margin-top: 200px !important;
    margin-bottom: 40px !important;
    font-weight: bold;
    color: #003366;
}

/* Container principal */

.container-peinture {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 50px;
    align-items: flex-start;
    max-width: 70%;
    margin-left: 15%;
    margin-bottom: 80px;
}

/* Section de l'image principale */
.main-image-peinture {
    flex: 3;
}

.main-image-peinture img {
    width: 100%; /* Ajuster l'image principale à 100% de son conteneur */
    height: 520px;
    border-radius: 10px;
}

/* Section des miniatures */
.thumbnail-section-peinture {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

/* Style de chaque miniature */
.thumbnail-peinture {
    position: relative;
    width: 100%; /* S'assurer que la miniature occupe bien tout l'espace disponible */
    cursor: pointer;
}

.thumbnail-peinture img {
    width: 100%; /* Miniatures à 100% de la largeur disponible */
    height: 164px; /* Garder les proportions des images */
    border-radius: 10px;
}

/* Style de l'overlay pour l'effet hover */
.overlay-peinture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color:rgba(0, 51, 102, 0.7); /* Couleur bleue transparente */
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

/* Effet hover sur les miniatures */
.thumbnail-peinture:hover .overlay-peinture {
    opacity: 1;
}

/* Section de texte */
.text-content-peinture {
    flex: 2;
    padding: 10px;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin-left: 10%;
    margin-bottom: 50px;
}

.text-content-peinture p {
    margin-bottom: 15px;
    margin-top: 15px;
    line-height: 1.6;
    max-width: 80%;
    text-align: center;
    margin-left: 10%;
    

}

.container-peinture-card {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 90%;
    margin-left: 5%;
}

.card-peinture {
    background-color: #d1e4f4; /* Couleur de fond bleu clair */
    border-radius: 20px; /* Coins arrondis */
    padding: 20px;
    width: 30%; /* Largeur de chaque carte */
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Ombre discrète */
}
.card-peinture:hover {
    transform: scale(1.05);
}

.title-peinture {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.text-peinture {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

/*********************************page cloisons mobiles et plafonds*************************************/
/* Titre de la section */

.section-title-cloisons {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #003366;
    
    margin-top: 200px !important;
    margin-bottom: 40px !important;
}

/* Container de la section */
.section-cloisons {
    max-width: 80%;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff; /* Fond bleu clair pour mettre en valeur la section */
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Ombre douce */
    margin-bottom: 50px;
}

/* Texte de la section */
.section-text-cloisons {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    color: #333;
    margin-bottom: 20px;
}

/* Container principal */
.section-cloisons-plafonds {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Images en forme de carré */
.cloisons-images .row {
    display: flex;
    justify-content: space-between;
}

/* Ajuster la taille des images */
.cloisons-images img {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Effet hover pour agrandir l'image */
.img-hover-cloisons:hover {
    transform: scale(1.1);
}

/* Style pour le texte */
.cloisons-text {
    padding-left: 20px;
}

.cloisons-text h3 {
    color: #5cbec9;
    font-weight: bold;
}

.cloisons-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/*********************page solutions acoustiques***************************/
.solutions-acoustiques {
    margin-top: 200px !important;
    font-size: 28px;
    font-weight: bold;
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
}

.isolation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 50px;
}

/* Container pour l'image circulaire */
.circle-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-image {
    width: 400px; /* Taille du cercle */
    height: 400px;
    border-radius: 50%; /* Pour rendre l'image circulaire */
    overflow: hidden;
    position: relative;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(); /* Rendre l'image circulaire */
}



.text-section-acoustique {
    flex: 2;
    padding-left: 30px;
}

.text-section-acoustique p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* Titre de la section */
.title-section-acoustique {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 40px;
    margin-top: 40px;
}

/* Container pour les cartes */
.container-acoustique {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
    max-width: 80%;
    margin: 0 auto;
}

/* Style de chaque carte */
.card-acoustique {
    background-color: #e8f4f8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.card-acoustique:hover {
    transform: scale(1.05);
}

.card-acoustique h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.card-acoustique p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}


/*********************************page insciption******************/


/* Conteneur principal du formulaire */
.container-inscription {
    
    width: 70%;
    padding: 40px;
    margin-top: 200px !important;
    text-align: center;
    margin-left: 15%;
    margin-bottom: 200px !important;
}



/* Titre du formulaire */
.text-center-inscription {
    font-size: 30px;
    color: #003366;
    margin-bottom: 30px;
    font-weight: bold;
}
.card-inscription {
   
    border: none;
    border-radius: 25px;
}
/* Groupe de formulaire */
.form-group input {
    
    padding: 12px 15px;
    
    margin-bottom: 20px;
    width: 100%;

    height: 50px;
    font-size: 16px;
    border-radius: 25px;
    border: 1px solid #003366;
    box-shadow: none;
    transition: border 0.3s ease;
    

}

.form-group input:focus {
    border: 1px solid #003366;
}

.inscrire{

    width: 100%;
    padding: 12px;
    background-color: rgb(9, 43, 111);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.inscrire:hover {
    background-color: rgba(11, 49, 93, 0.896);
    color: #ffffff;

}
.text-center-inscription a {
    color: white;
    text-decoration: underline;
    font-size: 14px;
}

.text-center-inscription a:hover {
    color: #ffffff;
}

.icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

/*****************************page de connexion***************************/
.container-connexion {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    
}

.form-connexion {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
    margin-top: 100px;
}

.header-connexion {
    margin-bottom: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.icon-connexion {
    font-size: 90px;
    color: #163a88;
    margin-bottom: 10px;
}

.password {
    position: relative;
    margin-bottom: 20px;
}

.password i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #163a88;
}

.password input {
    width: 100%;
    padding-left: 40px;
    height: 50px;
    font-size: 16px;
    border-radius: 25px;
    
    box-shadow: none;
    transition: border 0.3s ease;

    border: 1px solid #163a88;
}

.connexion {
    background-color: #163a88;
    color: white;
    border-radius: 25px;
    padding: 12px 0;
    font-size: 18px;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.connexion:hover {
    background-color: #1d4db5;
}

.inscrivez-vous a {
    color: #163a88;
    margin-top: 15px;
    display: inline-block;
    font-size: 14px;
    text-decoration: none;
}

.inscrivez-vous a:hover{
    text-decoration: underline;
}

/*************pages backend******************/
.back{
    margin-top: 200px !important;
}
.ajout-facture{
    border: 1px solid black;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.liste{
    margin: 0 auto;
}

.titres{
    text-align: center;
}

/*detail chantier*/
.detail-chantier{
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.nom-chantier{
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333; 
}

.description-chantier{
    font-size: 1.1rem;
    color: #555;
}

.chantierCarousel{
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chantier-inner{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.item-chantier{
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}
.item-chantier img{
    width: 70%;
    height: 600px;
    border-radius: 10px;
}

.prev-chantier, .next-chantier {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0 15px;
    cursor: pointer;
    z-index: 2;
}

.prev-chantier{
    left: 10px;
}
.next-chantier {
    right: 10px;
}

.retour {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
}

.retour:hover {
    background-color: #0056b3;
}


.suppr{
    margin-bottom: 80px;
}


#calendar {
    max-width: 900px;
    margin: 0 auto;
}




#calendar-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#calendar-table {
    width: 100%;
    table-layout: fixed;
}

#calendar-table th, #calendar-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.rendezvous-form {
    margin-top: 20px;
}

.rendezvous-form input {
    margin-right: 10px;
}

button {
    cursor: pointer;
}

#calendar-table td {
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

#calendar-table td:hover {
    background-color: #f0f0f0;
}

.available-day {
    background-color: lightgreen !important;
    font-weight: bold;
    border-radius: 4px;
}










/* Footer */
.footer-section {
    background-color: #b3d4f5;
    color: white;
    padding: 50px 0;
    text-align: left;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    margin: 20px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.8;
}

.footer-links,
.footer-contact,
.footer-socials,
.footer-legal-links {
    list-style-type: none;
    padding: 0;
}

.footer-links li,
.footer-contact li,
.footer-legal-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact i,
.footer-legal-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.footer-links a:hover,
.footer-legal-links a:hover {
    text-decoration: underline;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-socials li {
    display: inline-block;
    margin-right: 15px;
}

.footer-socials a {
    color: black;
    font-size: 24px;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #96c9fb;
}

.footer-legal-links {
    text-align: center;
    margin-top: 20px;
}

.footer-legal-links li {
    display: inline;
    margin-right: 20px;
    font-size: 14px;
}

.footer-legal-links a {
    color: #050404;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid #6a6868;
    padding-top: 20px;
}

#scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #699fd5;
    color: white;
    border-radius: 50%;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 1000;
}

#scroll-top i {
    font-size: 1.5rem;
}

#scroll-top:hover {
    background-color: #4075ab;
}


/* Ajustement responsive pour les petits écrans */
@media (max-width: 768px) {
    body{
        width: 100vw !important;
        margin-top: 0 !important;
        top: 0 !important;
    }
    /* La zone qui contient le menu burger */
    .navbar-collapse {
        position: absolute; /* Assure que le menu occupe toute la largeur */
        top: 100%; /* Positionne le menu juste en dessous de la barre de navigation */
        left: 0;
        width: 100vw; /* Occupe toute la largeur de l'écran */
        background-color: #dcdada; /* Arrière-plan du menu */
        padding: 0; /* Supprime les marges internes */
    }

    /* Les liens à l'intérieur du menu burger */
    .navbar-nav {
        display: flex;
        flex-direction: column; /* Affiche les éléments en colonne */
        align-items: center; /* Centre les éléments */
        width: 100%; /* Assure que chaque lien prend toute la largeur */
    }

    /* Chaque lien dans le menu */
    .nav-link {
        width: 100%; /* Chaque lien occupe toute la largeur */
        text-align: center; /* Centre le texte des liens */
        padding: 15px 0; /* Ajoute de l'espace autour des liens */
        background-color: #dcdada; /* Assure que le fond des liens correspond à celui du menu */
        margin: 0; /* Supprime les marges autour des liens */
    }

    /* Le bouton burger */
    .navbar-toggler {
        margin: 0;/* Centre le bouton burger */
    }

    /* Ajustement pour s'assurer que tout reste bien à l'intérieur */
    .container-fluid {
        padding: 0; /* Supprime les marges internes du conteneur */
    }
    .nav-border{
        z-index: 10;
    }
    .carousel-caption h1.display-1 {
        font-size: 2.7rem !important; /* Plus grand pour les tablettes */
        text-align: center !important;
        margin-left: 55px !important;
        margin-top: 10px !important;
        margin-bottom: 40px !important;
    }
    .lead{
        margin-top: 80px !important;
        margin-left: 55px !important;
        
    }
   .carousel-control-prev-icon {
    display: none;
   }
    .carousel-control-next-icon {
     display: none;
    }
.carousel-caption {
    z-index: 0;
    bottom: 10%;
    
    margin-left: -80px;
    margin-top: -50px;
    margin-right: -10px;
    }
    .carousel-caption p {
        font-size: 1.25rem; /* Texte un peu plus grand pour tablettes */
        text-align: center;
        margin-left: 10%;
        width: 90% !important;
    }
    .btn-study-acceuil {
        font-size: 1rem;
        padding: 10px 20px;
        margin-top: 10%;
        margin-left: 34% !important;
    }
    .team-presentation h2 {
        font-size: 28px;
    }

    .team-members h3 {
        font-size: 22px;
    }

    .team-members h4 {
        font-size: 18px;
    }

    .team-members p {
        font-size: 14px;
    }

    .team-members .avatar {
        width: 120px;
        height: 120px;
    }
    
    .section-title-cloicons {
        font-size: 24px;
    }

    .section-text-cloisons {
        font-size: 16px;
    }
    .cloisons-images {
        flex-direction: column;
        text-align: center;
    }

    .cloisons-text {
        padding-left: 0;
    }

    .cloisons-images img {
        margin-bottom: 15px;
    }
    #carouselTestimonials {
        padding: 0 10px; /* Réduit les marges internes sur les petits écrans */
    }

    .testimonial-card {
        width: 90%; /* Réduit la largeur des cartes sur les petits écrans */
        max-width: 100%;
    }
    /*page demolution*/
    .demolition-content {
        display: flex;
        flex-direction: column;
        width: 100vw; /* Assure que l'élément prend bien toute la largeur */
        overflow-x: hidden; /* Empêche le débordement horizontal */
        
        padding: 0;
    }

    .demoli {
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden; /* Empêche tout débordement horizontal */
    }

    .image-section {
        margin-left: -17px !important; /* Supprime la marge négative */
        width: 100%; /* S'assure que la section image prend toute la largeur */
    }

    .order-2 {
        order: 2;
        margin-top: 20px;
        max-width: 100% !important;
        padding: 0 10px; /* Ajoute un peu de padding pour le texte */
        text-align: center;
    }

    .btn-study{
        margin-left: 30% !important;
    }

    /* Ajustement pour les images */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }

    .image-thumbnails {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .thumbnail-item {
        width: 45%; /* Ajuste la taille des images pour les mobiles */
        margin-bottom: 10px;
    }
    /*page maçonnerie*/
    .macon{
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden;
    }
    .maconnerie-content {
        display: flex;
        flex-direction: column;
    }
    .text-content-maconnerie{
        max-width: 100% !important;
        margin-top: -80px;
        text-align: center;
    }
    .image-section-maconnerie{
        margin-left: -35px;
    }
    /*page revetements*/
    .revetement-content {
        display: flex;
        flex-direction: column;
    }

    .image-section-revetement {
        order: 1;
        margin-left: -30px !important;
    }

    .order-2 {
        order: 2;
        margin-top: 20px;
        max-width: 100% !important;
        text-align: center;
    }
    .text-content-revetement{
        max-width: 100% !important;
        margin-top: -80px;
        text-align: center;
    }
    /*page peinture*/
    .container-peinture{
        width: 100%;
        
    }
    .main-image-peinture img{
        height: 300px;
    }
    .thumbnail-section-peinture{
        height: 300px;
    }
    .thumbnail-peinture img{
        height: 90px;
    }
    .container-peinture-card{
        display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre chaque card */
    padding: 20px;
    
    }
    .card-peinture{
        width: 100%;
    }
    /*page solutions acoustiques*/
    .isolation {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    .container-acoustique{
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        margin-top: 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    /*page inscription*/
    .card-inscription{
        width: 100%;
    }

    


@media (min-width: 992px) {
    .carousel-caption h1.display-1 {
        font-size: 4.5rem; /* Taille standard pour les grands écrans */
    }

    .carousel-caption p {
        font-size: 1.5rem; /* Texte plus grand pour les grands écrans */
    }
    .carousel-caption p {
        font-size: 1.5rem; /* Texte plus grand pour grands écrans */
    }


.btn-study-acceuil {
    font-size: 1rem;
    padding: 10px 20px;
}
}
}