/* // apropos css // */
/* // first section // */
   /* General styles for larger screens */
   #first-text2 {
    font-size: 43px !important;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 71px;
    color: #fff;
    margin-top: 14%;
}
  #second-text2 {
    font-size: 20px !important;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 36px;
    color: #fff;
     
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    #first-text {
        font-size: 40px; 
    }
    #first-text2 {
        font-size: 35px; 
    }
    
}  



/* Section de base */
.apropos-header {
    background-position: center;
    background-size: cover;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff; 
    text-align: center;
}

/* Centrer le contenu avec une limite de largeur */
.centered-content {
    max-width: 80%;
    margin: 0 auto;
}

/* Réglages pour les tablettes */
@media (max-width: 768px) {
    .apropos-header {
        min-height: 60vh; 
        padding: 3rem 1rem;
    }

    .display-4 {
        font-size: 2rem; 
    }

    #second-text2 {
        font-size: 1rem;
    }
}

/* Réglages pour les mobiles */
@media (max-width: 576px) {
    .apropos-header {
        min-height: 50vh; /* Réduit la hauteur pour les petits écrans */
        padding: 2rem 1rem;
    }

    .display-4 {
        font-size: 1.5rem; /* Réduit encore la taille du titre */
    }

    #second-text2 {
        font-size: 0.875rem; /* Réduit encore la taille du sous-titre */
    }
}





.centered-content {
    /* Centrer le contenu verticalement */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    color: #fff; /* Assurez-vous que le texte est lisible sur l'image */
}

.display-4 {
    /* Ajustez la taille du texte pour les petits écrans */
    font-size: 2rem; /* Taille par défaut, modifiable */
}

#second-text2 {
    font-size: 1rem; /* Taille par défaut, modifiable */
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 1.5rem; /* Taille plus petite pour les écrans moyens */
    }

    #second-text2 {
        font-size: 0.875rem; /* Taille plus petite pour les écrans moyens */
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.25rem; /* Taille encore plus petite pour les petits écrans */
    }

    #second-text2 {
        font-size: 0.75rem; /* Taille encore plus petite pour les petits écrans */
    }
}


@media (max-width: 576px) {
    #first-text {
        font-size: 30px;
    }

}
.centered-content {
    text-align: center;
}

.section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 8%;
    padding-left: 12%;
}

.text-content {
    flex: 1;
    margin-right: 2%; /* Adjusted margin to create space between text and image */
}

.image-content {
    flex: 1;
    padding-left: 15px; 
}

.image-content img {
    width: 100%; 
    height: auto; 
}

.icon-text-container {
    display: flex;
    align-items: flex-start; /* Align icons and text at the top */
    margin-bottom: 15px; /* Spacing between each section */
}

.icon-text-container img {
    width: 50px; /* Adjust icon size */
    height: auto;
    margin-right: 15px; /* Space between icon and text */
}

@media (max-width: 767.98px) {
    .section {
        flex-direction: column;
        align-items: center; /* Center items on mobile */
        text-align: center; /* Center text on mobile */
        margin-top: 5%; /* Adjust top margin */
    }
    .text-content {
        margin: 0 0 15px 0; /* Remove side margins and add bottom margin */
    }
    .image-content {
        padding-left: 0; 
    }
    .icon-text-container {
        flex-direction: column;
        align-items: center; /* Center icon and text on mobile */
        text-align: center; /* Center text on mobile */
    }
    .icon-text-container img {
        margin-right: 0;
        margin-bottom: 10px; /* Space between icon and text on mobile */
    }
}


.icon-text-container {
    display: flex;
    align-items: start; 
    margin-bottom: 15px; 
}
.icon-text-container img {
    width: 50px;
    height: auto;
    margin-right: 15px;
}
.icon-text-container h1 {
    margin: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 20px; 
    font-weight: 600;
    line-height: 40px;
    color: black;
}
.icon-text-container p {
    font-weight: 300; 
    font-size: 18px;
}
.text-content p {
    font-size: 18px;
}
.text-content1 h1{
    font-size: 27px;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    line-height: 45px;
    color: black;
    margin-bottom: 4%;
  }
  .text-content1 p{
    font-family: 'Kanit', sans-serif;
    color: #4b4a4a;
    line-height: 34px;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 8%;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 20px; 
}

.image-grid img {
    min-width: 70%;
    height: auto;
    object-fit: cover; 
}



.centered-section {
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    margin-top: 5%;
}


.img-container {
    display: flex;
    justify-content: center;
}

.centered-image {
    margin-top: 4%;
    max-width: 80%;
    height: auto;
}




/* Assurez-vous que les images s'adaptent bien à l'espace disponible */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Style pour le conteneur textuel */
.text-content1 {
    padding: 20px;
    box-sizing: border-box;
}

/* Adaptations spécifiques pour les écrans petits */
@media (max-width: 768px) {
    #apropos .row {
        flex-direction: column;
    }
    
    #apropos .col-md-6 {
        width: 100%;
    }

    .text-content1 {
        text-align: center;
    }
}

/* Adaptations pour très petits écrans (téléphones mobiles) */
@media (max-width: 576px) {
    .text-content1 h1 {
        font-size: 1.5rem; /* Réduit la taille de la police sur les très petits écrans */
    }
    
    .text-content1 p {
        font-size: 0.875rem; /* Réduit la taille de la police des paragraphes */
    }
}




