.widh-logo{
   width: 20%;
   height: auto;
   
}
.t-f{
size: 20%;
}
.pad{
    padding-right: 80%;
}
.yellow{
    color: #fcdb19;
}
.size{
    font-size: 150%;
}
.si{
    width: 3% ;
    height: auto; 
}

.background{
    background-color: #fcdb19;
}.si-ze{
    width: 800px;
    height: auto;
    margin-left: 30;
}
.shadow{
    text-align: center;
}
.sizee{
    font-size: 100%;
}
.big{
    font-style: oblique;
    font-size: 580%;
}
.souligne{
    text-decoration-line: underline;
}
.font-size{
    font-size: 140%;
    text-align: justify;
    font-weight: bolder;
}
.mar{
    margin-left: 10%;
}
.small{
    width: 600px;
    height: auto;
    margin-left: 10%;
}
.black{
    color: rgb(0, 0, 0);
}
.font{
    background: #f8f5e5;
}
.mg{
    margin-left: 5%;
}
.pad-l{
    margin-right: 90%;
}
.mg-l{
    margin-left: 15%;
}
.yellow-big{
        font-style: oblique;
        font-size: 500%;
}
.yellow-biiiiig{
    font-style: oblique;
    font-size: 500%;
    color: #ffe11c;
}
.s{
    font-size: 300%;
}
.background-jau{
    background-color: #ffe11c;
}
.im-g{
    width: 95%;
    height: auto;
}
.mg-P{
    margin-left: 10%;  
}
.mg-B{
    margin-right: 10%;
}
.im-O{
    width: 140%;
    height: auto;
}.im-N{
    width: 120%;
    height: auto;
}
.im-S{
    width: 100%;
    height: auto;
}
.im-L{
    width: 100%;
    height: auto;
    margin-left: 20%;   
}
.im-Z{
    width: 120%;
    height: auto;
}
.cotour{
    border-color: #000000;
}
.white{
    color: #f8f5e5;
}
.btnjaune{
    background: #fcdb19;
    outline: none;
    border-radius: 0%;
}.none{
    text-decoration: none;
}
.colrfont{
    color: #f8f5e5;
}
.button:hover {
     color: rgb(237, 225, 0);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 19px;
  }
  .button-b:hover{
    background: #000000;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    font-size: 19px;
    font-weight: 900%;
  }
  .accueil:hover{
    color: #f8f5e5;
    font-size: 18px;
    text-decoration: none;
 }
 .hove:hover{
    background: #000000;
    color: #f8f5e5;
    width: 90%;
    height: auto;
 }
.hover-sp:hover{
    background-color: #f8f5e5; 
    border: 7px solid #000000;
  }
.hover-sc:hover{
    border: 7px solid #fcdb19;
  }

  .hov-img:hover {
    transform: scale(1.2);
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
  }
  .hov-im:hover {
    transform: scale(1.2);
    width: 550px;
    height: auto;
   padding-left: 20%;
  }
  .GGG{
    margin-left: 2%;
  }
.contact-section {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 0;
}
.contact-section h1 {
    font-size: 3rem;
    color: #FFD43B;
    font-weight: bold;
    text-transform: uppercase;
}

.contact-section .yellow {
    color: #FFD43B;
}

.inputll {
    border-radius: 8px;
    border: 2px solid #FFD43B;
    
    color: white;
    padding: 15px;
    font-size: 1rem;
}

.inputll {
    outline: none;
    border-color: #FFD43B;
}
.btn-yellow {
    background-color: #FFD43B;
    border: none;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-yellow:hover {
    background-color: #f3c200;
}
.contact-info {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
}

.contact-info i {
    color: #FFD43B;
}

.contact-info i:hover {
    color: #f3c200;
}
.project-item {
    position: relative;
    
}

.project-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    border-radius: 10px;
}

.project-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
  
   
}

.project-item:hover .overlay {
    opacity: 1;
}

.project-title {
    color: #FFD43B;
    font-size: 1.5rem;
    font-weight: bold;
}

.photo-container {
    transform: scale(1.0); 
    box-shadow: 0 9px 10px rgb(227, 170, 13);
    width: 100%;
    height: 40%;
  
}
.photo-container-B {
    transform: scale(1.0); 
    box-shadow: 0 9px 10px rgb(0, 0, 0);
    width: 100%;
    height: 40%;
  
}
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.hov-img {
    width: 100%;
    height: 250px;
    object-fit: cover; 
    transition: transform 0.3s ease;
}
.image-container:hover .hov-img {
    transform: scale(1.1);
}
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.25rem;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}

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

.col-md-4 {
    padding: 15px;
}

h1.yellow {
    color: #FFD43B;
    font-size: 2.5rem;
}


.yellow-line {
    border-top: 2px solid #FFD43B;
    width: 60px;
    margin: 20px auto;
}

@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%; 
        max-width: 100%;
    }
}
.yellow big{
    color: #f3c200;
    font-size: 900%;
}
.mmgg{
    margin-right: 12%;
}
.yellow {
    color: #f9c74f;
    text-decoration: none;
    font-size: 18px; 
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}


.si {
    margin-right: 30px; 
    font-size: 22px;
} 
.about-section {
    background-color: #f4f4f9; 
    padding: 30px 0; 
}
.yellow-biiiiig {
    color: #FFD43B; 
    font-size: 3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.yellow-biiiiig i {
    margin-left: 10px;
    font-size: 1.5rem;
}
.s {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin-top: 5px;
}

.s a {
    color: #FFD43B; 
    font-weight: 600;
    text-decoration: none;
}

.s a:hover {
    text-decoration: underline;
}
.small {
    width: 100%;
    height: auto;
}
.col-5 {
    padding-right: 20px; 
}

.col-4 {
    padding-left: 20px;
}
.font-size {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000000; 
}
.btn.btn-dark {
    background-color: #000000;
    color: white;
    font-size: 1rem;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
}

.btn.btn-dark:hover {
    background-color: #000000; 
}

.sizee {
    font-size: 1rem;
}
hr {
    margin-top: 30px; 
    border-top: 2px solid #FFD43B; 
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}


.specialties {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f4f4f4;
}

.specialties h1 {
    color: #FFD43B;
   
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.specialties h2 {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Ajustement de la taille de l'icône dans les titres */
.specialties i {
    font-size: 1.2rem;
    margin-left: 10px;
    color: #FFD43B;
}


.specialties .col {
    width: 30%;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
 
}

/* Container photo */
.specialties .service-box {
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

/* Colonnes avec fond différent */
.specialties .dark-bg {
    background-color: #333;
    color: #fff;
}

.specialties .light-bg {
    background-color: #f9f9f9;
    color: #000;
}


.specialty-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #FFD43B; 
}
.specialty-icon:hover {
    transform: rotate(15deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
    .widh-logo {
      width: 70%;
      display: block;
      margin: 0 auto;
    }
  }
  @media (max-width: 767px) {
  .about-section .row {
    display: flex;
    flex-direction: column-reverse; 
    align-items: center;
    text-align: center;
  }

  .about-section .col-5,
  .about-section .col-4 {
    width: 100% !important;
    margin: 10px 0;
  }

  .about-section img.backgroundimg {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .about-section h1.s {
    font-size: 1.4rem;
  }

  .about-section p.font-size {
    font-size: 1rem;
    padding: 0 10px;
  }

  .about-section .button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .about-section .mmgg {
    margin: 0 !important;
  }
}

@media (max-width: 767px) {
    .specialties .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .specialties .col {
        width: 100%; 
        margin-bottom: 20px; 
        padding: 0 10px;
    }

    .specialty-card {
        padding: 15px;
        border-radius: 10px;
        background-color: #F8F5E5;
    }

    .specialty-icon {
        padding: 15px;
        border-radius: 50%;
    }

    .specialty-card h2 {
        font-size: 1.5rem; 
    }

    .specialty-description {
        font-size: 1rem; 
    }
    .specialties h1 {
        font-size: 1.8rem;
        padding: 15px;
    }
}
@media (max-width: 767px) {
    .navbar-toggler {
      border-color: #FFD43B; /* Par exemple, changer la couleur de la bordure */
    }
  
    .navbar-nav {
      text-align: center; /* Centrer les éléments du menu sur mobile */
    }
  
    .navbar-collapse {
      text-align: center; /* Centrer les éléments du menu dans la version mobile */
    }
  }
  .navbar a {
    .navbar a {
        padding: 0 25px;  /* Augmente la valeur du padding pour plus d'espace entre les liens */
      }
      
  }
  .navbar a {
    color: #FFD43B; /* Assure-toi que la couleur du texte reste blanche, par exemple */
    letter-spacing: 3px;  /* Augmente l'espacement */
  }
  
  .navbar a {
    color: #FFD43B; /* Couleur par défaut des liens en blanc */
    letter-spacing: 3px; /* Augmenter l'espacement entre les liens */
    transition: color 0.3s ease; /* Pour une transition fluide de la couleur */
  }
  
  .navbar a:hover {
    color: #fff; /* Couleur blanche au survol (ne change pas) */
  }
  #Projects {
    padding-top: 50px; /* Espacement au-dessus de la section */
  }
  
  #Projects .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  #Projects h1 {
    background-color: #000000;
    color: #FFD43B;
    padding: 20px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 2px; /* Espacement des lettres pour une meilleure lisibilité */
  }
  
  .project-item .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Arrondir les coins des images */
  }
  
  .project-item .img-fluid {
    width: 100%; /* Assurer que les images remplissent leur conteneur */
    height: auto;
    transition: transform 0.3s ease; /* Effet de zoom sur l'image */
  }
  
  .project-item .img-fluid:hover {
    transform: scale(1.05); /* Zoom léger sur l'image au survol */
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Fond sombre pour améliorer la lisibilité du texte */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-item:hover .overlay {
    opacity: 1; /* Afficher l'overlay au survol */
  }
  
  .project-title {
    color: #FFD43B;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .yellow-line {
    border-top: 3px solid #FFD43B; /* Ligne de séparation jaune */
    width: 100px;
    margin: 0 auto;
  }
  
  @media (max-width: 768px) {
    .project-item {
      margin-bottom: 20px; /* Réduire l'espacement entre les éléments sur petits écrans */
    }
  
    .project-title {
      font-size: 16px; /* Réduire la taille du texte sur les petits écrans */
    }
  }
/* Équilibrage des project-items */
.project-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Optionnel : un petit padding entre les images si tu veux plus d’aération */
.image-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Overlay pour uniformiser l'affichage */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFD43B;
    border-radius: 0 0 10px 10px;
}
  
  