* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    overflow-x: hidden;
  }

body, html {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    user-select: none;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;

}

.LogoC
{
    margin-left: -70px;
    margin-top: -70px;
}

.LogoC img
{
    width: 100px;
    height: auto;
}



header {
    background-image: url('../images/header.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    box-sizing: border-box;
    padding: 80px;

}

h2 {
    font-size: 32px;
}


.about  {
    text-align: center;
    width: 50%;
    margin: 0 auto; 
    padding: 20px 0;
}


#logo {
    padding: 10px 0;
    position: absolute;
    top: 0; 
    left: 30px; 
    width: auto; 
 
}


.navbar {
    padding: 10px 0;
    position: absolute;
    top: 10px; 
    right: 100px; 
    width: auto;    
}
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    
}

.navbar ul li {
    margin: 0 7px;
    
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 5px;
    transition: color 0.3s;

}

.navbar ul li a:hover {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 
    0 4px 10px rgba(0, 0, 0, 0.5);
}


#acceuil {
    display: flex;
    justify-content: flex-end; 
    align-items: center; 
    height: 0vh;
    width: 100%; 
}

.pictures {
    margin-left: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.pictures img {
    width: 150%;
    height: auto;
    margin-top: -250px;
    margin-right: 250px;
    
}


article {
    margin-top: 200px;
    margin-left: 170px;
    font-size: 1em;
    width: 25%;
    Height: 100%;

}

article h3 {
    font-size: 60px;
    margin-bottom: 10px;
    color: #1f6cbe; 
    

} 

article p {
    font-size: 20px;
}

article ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    
}

article ul li {
    margin: 0;
    background-color: #1f6cbe; 
    border: none; 
    margin-top: 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    border-radius: 5px;
}

article ul li a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
}

article ul li a:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);    
    transition: 0.4s;
}


.trv {
    color: #007bff;
    background-color: #ffffff 
}



.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 200px; 
    text-align: center;
    margin-top: 300px;
    margin-left: 430px;
    margin-bottom: 100px;
}

.stat-item {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    font-family: 'Kanit', sans-serif;
}

.number {
    font-size: 70px;
    font-weight: bold;
    color: #1f6cbe; 
   
}

.text {
    font-size: 25px;
    color: #333;
    font-weight: bold;
}


#base {
    display: flex;
    justify-content: flex-end; 
    align-items: center; 
}

.pictures2 {
    margin-left: auto; 
    display: flex;
    justify-content: left;
    align-items: left;
}

.pictures2 img {
   margin-top: 100px;
   margin-bottom: 0px;
   margin-left: 150px;
   width: 25%; 
   outline: none;
}

#article2 {
    margin-left: 780px;
    margin-top: -610px;
    width: 25%;
    height: auto;
}

#article2 h4 {
    font-size: 40px;
    color:#1f6cbe; 
    margin-bottom: 20px;
}

#article2 p {
    font-size: 21px;
    color: #333;
}

#article2 ul li a{
    font-size: 25px;  
    text-decoration: none; 
    
}

#article2 ul li {
    width: 53%;
    list-style-type: none;
}

#logos {
    display: flex;
    justify-content: space-around;
    margin-left: 1100px;
    margin-top: -660px;
    width: 15%;
    height: auto;
}

.logos img {
    margin-top: 110px;
    margin-left: 400px;
    width: 30%;
    height: auto;
 }

.logos span {
    margin-left: 150px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #333;   
}

#yyy {
    color:#1f6cbe; 
    font-size: 40px;
    font-weight: bold;

}

#article3 {
    text-align: center;
    margin-left: 1322px;
    margin-top: -260px;
}

#article3 h5 {
    font-size: 30px;
    color:#333;
}

#article3 p {
    margin-bottom: 160px;
}

#article3 h6 {
    font-size: 30px;
    color:#333;
}


footer {
    background-color: #1f6cbe; 
    color: white;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    height: 15%;
    margin-top: 100px;
}


#dfoot {
   margin-top: 50px;
   
}

.infos
{
    margin-left: 1600px;
    text-align: left;
    margin-top: -60px;
    margin-bottom: 60px;

}


/*   XXXXXXXXXXXXX    CONTACT HTML     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;

    margin-left: 1300px;
    margin-top: 50px;
}
.contact-form h2 {
    margin-bottom: 15px;
    color: #333;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-group textarea {
    resize: vertical;
    height: 150px;
}
.submit-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}
.submit-button:hover {
    background: #0056b3;
}

#map {
    width: 1100px;
    height: 600px;
    float: left;
    margin: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    margin-left: 100px;
}

.content {
    margin-left: 340px; 
}



/*   XXXXXXXXXXXXX    TRAVAUX HTML     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


.before-after-container {
    position: relative;
    width: 100%; /* S'adapte à la largeur de l'écran */
    max-width: 800px; /* Taille maximale */
    margin: auto; /* Centré sur la page */
    overflow: hidden;
    border-radius: 20px;
    
    
}

.image-wrapper {
    margin-top: 250px;
    position: relative;
    width: 100%;
    height: auto;
    
}

.before-image, .after-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    
    
}

.after-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Par défaut, moitié visible */
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    
    
}

.slider {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 10;
    background: #ddd;
    height: 5px;
    cursor: pointer;
    
    
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #007BFF;
    border: 15px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    
}

.slider::-moz-range-thumb {
    background: #007BFF;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    
}





.real {
    margin-top: 50px;
    margin-left: 750px;
    margin-bottom: -150px;
    height: auto;
    font-size: 32px;
    color: #1f6cbe;
}

#r {
    width: 100%;
    height: auto;
    font-size: 52px;
    color: #333;   
    
}


.rd {
    margin-top: 100px;
    margin-left: 870px;
    margin-bottom: 80px;
    height: auto;
    color: #1f6cbe;
}

#GA  {
    width: 130px;
    height: 70px;
    font-size: 42px;
    
}

#GA a {
    font-size: 30px;
}





/*   XXXXXXXXXXXXX    SERVICES HTML     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

.AS {
    margin-top: 50px;
    margin-left: 775px;
    margin-bottom: 80px;
    height: auto;
    font-size: 32px;
    color: #1f6cbe;
}

#HS {
    width: 100%;
    height: auto;
    font-size: 52px;
    color: #333;   
    
    
}
    

.services {
    display: flex;
    justify-content: left;
    align-items: left;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    margin-left: 150px;
    margin-right: 100px;
    margin-bottom: 0px;
    width: 70%;
    height: auto;
    font-size: 25px;
    color: #333;
}


input[type="range"] {
    height: 130px; /* Hauteur du slider */
    width: 90%; /* Largeur du slider */
}



/* GALLERIEEEEEEEEEEEEEE */


/* Galerie principale */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;

    margin-top: 110px;
}

.gallery img {
    width: 300px;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Modal */
.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 20px;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}





/*   XXXXXXXXXXXXX    IPHONE     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/


/*   XXXXXXXXXXXXX    INDEX     XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

@media only screen and (min-width: 360px) and (max-width: 1400px) {
    html, body {
        font-size: 32px;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        height: auto;
        overflow-x: hidden;

    }

   
    

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }


    .rd {
        margin-top: 100px;
        margin-left: 570px;
        margin-bottom: 80px;
        height: auto;
        color: #1f6cbe;
    }
    
    #GA  {
        width: 180px;
        height: 80px;
        font-size: 42px;
        
    }
    
    #GA a {
        font-size: 45px;
    }
    
    

 
    footer {
        width: 100%;
        height: auto;
        margin-top: 110px;
        overflow-x: hidden;



    }

    #dfoot {
        margin-top: 250px;
        margin-right: 500px;
        margin-bottom: -180px;  
  
    }

    .infos {
       
        text-align: left;
        height: auto;
        margin-bottom: 100px;
        margin-left: 700px;
        width: 100%;
    }

    header {
        padding: 40px;
        width: 100%;
        font-size: 21px;
        overflow-x: hidden;


    }

    .about {
        width: 100%;
        margin: 0 auto;
        padding: 20px 0;
    }

    .LogoC {
        margin-top: 10px;
        width: 100%;
        margin-left: 0;
    }

    .navbar {
        padding: 10px 0;
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
    }

    .navbar ul {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .navbar ul li a {
        color: white;
        text-decoration: none;
        padding: 10px 15px;
        font-size: 26px;
        font-weight: 500;
        border-radius: 5px;
        transition: color 0.3s;
    }

    article h3 {
        width: 100%;
        font-size: 50px;
    }

    article {
        margin-top: 150px;
        margin-left: 50px;
        width: 38%;
        height: auto;
        overflow-x: hidden;
    }

    article p {
        font-size: 34px;
    }

    .pictures img {
        width: 50%;
        height: auto;
        margin-left: 800px;
        margin-top: -550px;
    }

    #acceuil {
        margin: 0;
    }

    article ul li a {
        font-size: 30px;
    }

    .stats {
        width: 100%;
        margin: 0 auto;
        margin-top: 150px;
        margin-bottom: 150px;
        margin-left: 93px;

    }

    .text {
        font-size: 30px;
    }

    #base {
        margin: 0 auto;
    }

    .pictures2 img {
        display: block;
        width: 40%;
        outline: none;
        margin-left: 50px;
    }

    #article2 {
        width: 45%;
        height: auto;
        margin-left: 670px;
        margin-top: -760px;
       
    }

    #article2 h4 {
        font-size: 50px;
        margin-bottom: 20px;
    }

    #article2 p {
        font-size: 28px;
    }

    #article2 ul li a {
        font-size: 32px;
    }

    #logos {
        display: flex;
        justify-content: space-around;
        margin: 10px auto;
        width: 50%;
        height: auto;
        margin-left: 300px;
    }

    .logos img {
        margin-top: 180px;
        width: 40%;
        margin-bottom: -50px;
        margin-left: 500px;

    }

    #article3 {
        margin-left: 150px;
        margin-top: -705px;
    }

    #article3 p {
        font-size: 40px;
        margin: 10px 0 50px 0;
    }

    #article3 h5, #article3 h6 {
        font-size: 50px;
        margin-top: 60px;
    }

    .AS {
        width: 100%;
        margin: 0 auto;
    }

    #HS {
        font-size: 70px;
        margin-left: 380px;
        margin-bottom: 100px;
        margin-top: 100px;
        
    }

    .services {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 50px;

    }


    .services p {
        font-size: 28px;
    }

    .real {
        width: 100%;
        margin: 0 auto;
    }

    .before-after-container {
        width: 100%;

    }

    #r {
        font-size: 70px;
        margin-left: 350px;
        margin-top: 100px;
        margin-bottom: -20px;
    }

    #map {
        margin: 150px auto;
        margin-left: 100px;

    }

    .contact-form {
        width: 100%;
        max-width: 1200px;
        margin: 50px auto;
        height: auto;
    }

    .contact-form h2 {
        margin-bottom: 15px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 15px;
        width: 100%;
    }

    .form-group label {
        margin-bottom: 5px;
        width: 100%;
    }

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 20px;
        font-size: 30px;
    }

    .form-group textarea {
        height: 150px;
    }

    .submit-button {
        width: 100%;
        font-size: 30px;
    }

    
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #007BFF;
    border: 45px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    
}


.before-after-container {
    position: relative;
    width: 100%; /* S'adapte à la largeur de l'écran */
    max-width: 1100px; /* Taille maximale */    
}



}

