.header-upper-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.logo-custom{
    width: 100px;
}

.header-custom{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.main-menu .navigation > li > a, .header-upper .top-left li{
    font-size: 15px !important;
    font-weight: 400 !important;
}

.text-custom{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #f4f4f4;
    line-height: 30px;
    margin-bottom: 20px !important;
}

.single-item-custom{
    min-height: 500px;
}

.service-content-custom{
    min-height: 500px;
}

.text-custom-black{
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #848484;
    line-height: 30px;
    margin-bottom: 20px !important;
}

.testimonial-content .authore-info .img-box figure img{
    width: 50px;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

/* Style de base des éléments de la liste */
.social-top li {
    display: inline-block;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation au survol */
.social-top li:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Pour améliorer la transition visuelle */
.social-top li img {
    transition: transform 0.3s ease;
}

.social-top li:hover img {
    transform: scale(1.1);
}

/* Aligner le menu hamburger à gauche */
.navbar-header {
    display: flex;
    align-items: center; /* Centrer verticalement dans son conteneur */
    justify-content: flex-start; /* S'assurer qu'il est aligné à gauche */
}

/* Ajuster la hauteur pour l'icône */
.navbar-toggle {
    margin: 0; /* Supprime les marges */
    padding: 5px 10px; /* Ajuste les espaces pour un meilleur design */
}

/* Alignement général pour éviter les positions imprévues */
.hamburg {
    display: flex;
    justify-content: flex-end; /* Aligné à droite dans la grille */
    align-items: center;
}





@media (max-width: 768px) {
    .hamburg {
        justify-content: flex-end; /* Forcer l'alignement à droite */
    }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between; /* Ajuster la répartition espace/logo */
    }
}



/* Masquer le header-upper sur les téléphones */
@media (max-width: 768px) {
    .header-upper {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title-about, .img-box-1{
        margin-top: -70px;
    }
    .section-title-2, .section-title-3{
        margin-top: 80px;
    }
   .testimonial-section{
    margin-top: -100px;
   }
   .service-content{
        box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, 0.5) !important;
        border-radius: 10px;
       }
    }
/* Par défaut (Desktop/Tablette) */


/* Sur téléphone (max-width: 768px) */
@media (max-width: 768px) {

    .about-colmun {
        display: flex;
        flex-direction: column;
    }

    .about-colmun:nth-child(1) {
        order: 2; /* L'image passera en deuxième */
    }

    .about-colmun:nth-child(2) {
        order: 1; /* Le contenu passera en premier */
    }
}
