/* .image-grid1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.image-item {
    position: relative;
}
.image-item img {
    width: 100%;
    height: auto;
}
.image-item.center {
    grid-column: span 2;
    justify-self: center;
    width: 50%; 
} */

.section-title1 {
    font-size: 29px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 45px;
    color: black;
    margin-bottom: 3%;
    /* border-bottom: 2px solid #CC1B1A; */
    display: inline-flex;
    padding-bottom: 5px; 
}

.title-container {
    text-align: center; 
}

.section-title2 {
    font-size: 24px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 45px;
    color: #CC1B1A;
    margin-bottom: 3%;
    margin-top: 3%;
    display: inline-flex;
    padding-bottom: 5px; 
}

.section-title1::before {
    content: '•';
    font-size: 40px;
    color: #CC1B1A;
    margin-right: 30px;
}

.section-title1 span {
    border-bottom: 2px solid #CC1B1A; 
    padding-bottom: 5px; 
    }


    /* .image-button-section {
        display: flex;
        justify-content: center; 
    }
    
    .content-container {
        position: relative; 
        display: inline-block; 
        text-align: center;
    }
    
    .image-container2 {
        display: flex;
        justify-content: center; 
        gap: 20px; 
        margin-bottom: 12%;
    }
    
    .center-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .button-container {
        position: absolute;
        bottom: 0;
        right: 0;
       
    }
    
    .action-button {
        padding: 10px 20px;
        background-color: #CC1B1A;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 16px;
        border-radius: 10px;
        font-weight: bold;
        font-family: 'Kanit', sans-serif;
    }
    
    .action-button:hover {
        background-color: #A31513; 
    }
    
     */




     
     /* .image-button-section {
        display: flex;
        justify-content: center; 
        padding: 20px;
    }
    
    .content-container {
        position: relative; 
        display: inline-block; 
        text-align: center; 
    }
    
    .image-container2 {
        display: flex;
        justify-content: center; 
        gap: 20px; 
        margin-bottom: 12%;
    }
    
    .center-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .button-container {
        position: absolute;
        bottom: 0;
        right: 0;
    }
    
    .action-button {
        padding: 10px 20px;
        background-color: #CC1B1A;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 16px;
        border-radius: 10px;
        font-weight: bold;
        font-family: 'Kanit', sans-serif;
    }
    
    .action-button:hover {
        background-color: #A31513; 
    }
    
    @media (max-width: 768px) {
        .image-button-section {
            padding: 10px;
        }
    
        .image-container2 {
            gap: 10px; 
        }
    
        .center-image {
            max-width: 100%; 
            max-width: 200px; 
            margin-bottom: 8%;
        }
    
        .action-button {
            font-size: 14px; 
            padding: 8px 16px; 
        }
    }
    
    @media (max-width: 480px) {
        .image-button-section {
            padding: 5px;
        }
    
        .center-image {
            max-width: 100%; 
            max-width: 150px;
        }
    
        .action-button {
            font-size: 12px; 
            padding: 6px 12px; 
        }
    } */

    .section3 {
        padding: 3% 15% 2% 15%;
        font-family: Arial, sans-serif;
    }
    .image-button-section {
        display: flex;
        justify-content: center; 
        padding: 20px;
        flex-direction: column;
    }
    
    .content-container {
        position: relative; 
        display: inline-block; 
        text-align: center; 
    }
    
    .image-container2 {
        display: flex;
        justify-content: center; 
        gap: 40px; 
        margin-bottom: 4%;
        flex-wrap: wrap;
    }
    
    .center-image {
        max-width: 100%; 
        height: auto;
        display: block;
        max-width: 410px; 
    }
    
    
    .button-container {
        margin-top: 10px; 
    }
    
    .action-button {
        padding: 10px 20px;
        background-color: #CC1B1A;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 16px;
        border-radius: 10px;
        font-weight: bold;
        font-family: 'Kanit', sans-serif;
    }
    
    .action-button:hover {
        background-color: #A31513; 
    }
    
    .action-button-link {
        text-decoration: none;
    }
    
    @media (max-width: 768px) {
        .image-button-section {
            padding: 10px;
        }
    
        .image-container2 {
            gap: 10px; 
        }
    
        .center-image {
            max-width: 200px; 
            margin-bottom: 5%;
        }
    
        .action-button {
            font-size: 14px; 
            padding: 8px 16px; 
        }
    }
    
    @media (max-width: 480px) {
        .image-button-section {
            padding: 5px;
        }
    
        .center-image {
            max-width: 150px; 
        }
    
        .action-button {
            font-size: 12px; 
            padding: 6px 12px; 
        }
    }
    
    




    /* .image-grid-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px; 
    } */
    
    .row {
        display: flex;
        justify-content: center;
        gap: 30px; 
        flex-wrap: wrap;
        margin-bottom: 4%;
    }
    
    .image-certification {
        text-align: center;
        flex: 1 1 30%; 
        max-width: 320px; 
    }
    
    .image-certification img {
        width: 90%;
        height: 80%;
        margin-top: 5%;
        margin-bottom: 12%;
    }
    
    .tech-button {
       
        padding: 10px 20px;
        background-color: #CC1B1A;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 14px;
        border-radius: 10px;
        font-weight: bold;
        font-family: 'Kanit', sans-serif;
    }
    
    .tech-button:hover {
        background-color: #A31513; 
    }
    
    /* Pour les rangées centrées */
    .center-row {
        justify-content: center;
    }
    
    /* Réactivité pour les petits écrans */
    @media (max-width: 768px) {
        .image-certification {
            flex: 1 1 45%; 
        }
    }
    
    @media (max-width: 480px) {
        .image-certification {
            flex: 1 1 100%; 
        }
    }
    

/* //////////// Contactez-nous //////////// */


    .container {
        display: flex;       
        --bs-gutter-x: 0;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
    }

    .left-card, .right-card, .right-card2 {
        --bs-gutter-x: 0;
    }
    
    .left-card {
        background-color: #CC1B1A;
        color: white;
        width: 40%;
        padding: 30px;
        margin: 0;
        box-sizing: border-box;
    }
    

    .right-card {
        background-color: white;
        width: 60%;
        padding-left: 7%;
        padding-right: 7%;
        padding-top: 4%;
    }

    .left-card i {
        display: block;
        margin-bottom: 10px;
        font-size: 20px;
    }

   .contact-info {
    padding-left: 4%;
    display: flex;
    align-items: center;
    gap: 15px; 
    margin-bottom: 6%;
    margin-top: 2%;
    }

    .contact-info i {
    font-size: 24px;
    }

    .phone-numbers {
    display: flex;
    flex-direction: column;
    }

    .phone-numbers p {
    margin: 0; 
     }

    .social-media {
        display: flex;
        gap: 5px; 
        padding-left: 4%;
    }
    
    .social-icon {
        width: 35px;
        height: 35px; 
        object-fit: contain;
        cursor: pointer;
    }
    
    .social-icon:hover {
        opacity: 0.8;
    }
    
    input[type="text"], textarea {
        width: 70%;
        padding: 20px;
        margin: 18px 0;
        box-sizing: border-box;
        border: none;
        border-bottom: 2px solid #CC1B1A;
        margin-bottom: 24px;
    }
    
    input[type="text"]:focus, textarea:focus {
        outline: none;
        border-bottom: 2px solid #CC1B1A; 
    }

    input[type="text"]::placeholder, textarea::placeholder {
        color: rgb(63, 63, 63); 
        font-weight: bold;
        font-size: 16px;
        font-family: 'Kanit', sans-serif;
        opacity: 1; 
    }
    
    
    .input-group {
        display: flex;
        gap: 10px;
    }
    
    .input-group input {
        width: calc(50% - 15px);
        margin-right: 20px;
    }
    
    .input-group input:last-child {
        margin-right: 0;
    }
    
    textarea {
        width: 100%;
        height: 140px;
    }
    

    .button-envoyer {
        background-color: #CC1B1A;
        color: white;
        padding: 12px 20px;
        border: none;
        cursor: pointer;
        font-family: 'Kanit', sans-serif;
        margin-top: 6%;
    }

    .map2 {
        padding-left: 4%;
        padding-right: 4%;
        margin-bottom: 6%;
    }

/* Media query pour petits écrans */
@media (max-width: 768px) {
    .left-card, .right-card, .right-card2 {
        width: 100%;
        padding: 20px; 
    }

    .container {
        flex-direction: column; 
        flex-wrap: wrap;
    }
}

.text-titre p{
    margin-top: 6%;
    margin-bottom: 6%;
    text-align: center;
    font-size: 30px;
    font-family: 'Kanit', sans-serif;
    font-weight: bold;
}



/* //////// Devis ///////// */


.styled-form {
    width: 100%; 
}

.form-group label{
    font-size: 16px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.styled-form input[type="text"] {
    width: 100%;
    padding: 8px 20px;
    margin: 16px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid red;
}

.right-card2 {
    background-color: white;
    min-width: 60%;
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 4%;
    padding-bottom: 6%;
}


.text-devis {
    padding-left: 4%;
    padding-bottom: 45%;
    padding-top: 8%;
    line-height: 34px;
}

.social-media2 {
    display: flex;
    gap: 5px; 
    padding-left: 4%;
    margin-top: 70%;
}

.social-icon2 {
    width: 35px;
    height: 35px; 
    object-fit: contain;
    cursor: pointer;
}

.social-icon2:hover {
    opacity: 0.8;
}


/*/////////popup*/


      .popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 300px;
    text-align: center;
    border-radius: 10px;
}

.popup-content {
    position: relative;
}

.success-icon {
    font-size: 50px;
    color: #4CAF50;
    margin-top: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 40px; /* Increase the size */
    font-weight: bold; /* Make it bold */
    color: black; /* Dark color for better visibility */
}

.close-btn:hover {
    color: #000; /* Slightly darker when hovered */
}

  
  
/*  */
