body {
    margin: 0;
    padding: 0;
    font-family: arial, sans-serif;
    color: #333;
}
#navbar-color {
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    background-color: rgba(60, 61, 55, 0.8);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
body.loaded #navbar-color {
    opacity: 1;
    transform: translateY(0);
}
.navbar-nav {
    margin: auto;
}
.nav-link {
    font-style: sans-serif;
    margin: 0 10px;
    justify-content: space-between;
    color: white;
    font-weight: 500;
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-collapse {
    padding-top: 10px;
}
.navbar-custom {
    background: transparent;
    transition: background-color 0.3s ease;
}

.navbar-custom.scrolled {
    background-color: rgb(60, 61, 55);
    opacity: 0.8;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6); /* Couleur de la bordure */
    background-color: transparent; /* Fond transparent */
}

.navbar-toggler:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease;
}

.navbar-toggler-icon {
    background-image: url("{{asset('images/menu.png')}}");
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-nav .nav-link {
    color: white;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa;
    transform: scale(1.05);
}
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 20px;
}

.logo img {
    width: 35px;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-right: 10px;
}
.btt {
    text-align: center;
    --color: white;
    font-family: inherit;
    display: inline-block;
    width: 6em;
    height: 2.6em;
    line-height: 2.3em;
    overflow: hidden;
    cursor: pointer;
    font-size: 14px;
    z-index: 1;
    color: var(--color);
    border: 2px solid var(--color);
    border-radius: 80px;
    position: relative;
    background-color: transparent;
}

.btt::before {
    position: absolute;
    content: "";
    background: var(--color);
    width: 150px;
    height: 200px;
    z-index: -1;
    border-radius: 80%;
}
.btt:hover {
    color: black;
}

.btt:before {
    top: 100%;
    left: 100%;
    transition: 0.3s all;
}
.btt:hover::before {
    top: -30px;
    left: -30px;
}

.about-header {
    position: relative;
    width: 100%;
    height: 70vh;
    background: url("{{asset('images/back.jpg')}}") no-repeat center
        center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.about-header .overlay {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    text-align: center;
}
.about-header h1 {
    color: #fff;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}
.about-content {
    padding: 20px;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-content p {
    line-height: 1.6;
    margin-left: 120px;
    margin-right: 120px;
}
.card {
    opacity: 0;
    transition: transform 0.3s ease;
    transform: translateY(50px);
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.3s; /* Optionnel pour décaler l'apparition */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre de base */
    border-radius: 6px;
}
.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Ombre accentuée au survol */
    cursor: pointer;
}
.card img {
    border: none;
    display: block;
    margin: 0 auto;
}

.project-card {
    display: relative;
    width: 100%; /* Pour que la carte occupe toute la largeur disponible */
    height: 350px; /* Hauteur fixe pour toutes les cartes */
    background-size: cover; /* Ajuste l'image pour couvrir le conteneur */
    background-position: center; /* Centrer l'image dans le conteneur */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;
}

.project-card .img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    user-select: none;
}
.card-title {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%);
    width: max-content;
    text-align: center;
    padding: 10px 18px;
    background: rgba(46, 39, 39, 0.3);
    border-radius: 8px;
    border: 2px solid rgba(177, 177, 177, 1.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s linear;
}
.card-title span {
    font-size: 1.2rem;
    font-weight: 600;
}
.swiper-slide-active .card-title {
    bottom: -10px;
    box-shadow: 0 20px 30px 2px rgba(15, 63, 206, 0.6);
    z-index: 1;
}
.card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.wraper {
    margin: 30px auto;
    width: 70%;
}

.image-left {
    float: left; /* L'image est flottante */
    width: 50%; /* L'image prend la moitié de la largeur */
    max-width: 300px; /* Limite la largeur maximale */
    margin: 0 20px 20px 0; /* Ajoute des marges autour de l'image */
    border: 3px solid #fff;
    border-radius: 10px;
}

.wraper p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 20px 0; /* Ajoute une marge entre les paragraphes */
}

.text-box {
    flex: 1;
    margin: 10px;
    font-size: 16px;
}

.text-box p {
    font-size: 16px;
    text-align: justify;
}
.wraper {
    margin: 30px auto;
    width: 70%;
}

.wraper p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    margin: 0 0 20px 0; /* Ajoute une marge entre les paragraphes */
}
.wrapper {
    display: inline-flex;
    list-style: none;
    height: 120px;
    width: 100%;
    padding-top: 40px;
    font-family: "Poppins", sans-serif;
    justify-content: center;
}

.wrapper .icon {
    position: relative;
    background: #fff;
    border-radius: 50%;
    margin: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #fff;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #fff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
    background: #1877f2;
    color: #fff;
}

.wrapper .linkedin:hover,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin:hover .tooltip::before {
    background: #1da1f2;
    color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
    background: #e4405f;
    color: #fff;
}

footer {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

footer .container-fluid {
    padding: 0;
}

footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    width: 100%;
}

#map {
    width: 450px;
    height: 300px;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .about-content p {
        line-height: 1.4;
        margin-left: 60px;
        margin-right: 60px;
    }
    .image-left {
        width: 60%; /* Réduit la largeur de l'image sur les petits écrans */
        max-width: 180px; /* Ajuste la largeur maximale */
        margin: 0 10px 10px 0; /* Réduit les marges */
    }

    .wrapper p {
        font-size: 14px; /* Réduit légèrement la taille du texte */
        line-height: 1.4; /* Ajuste l'espacement des lignes */
        text-align: justify;
    }
    #map {
        width: 400px;
        height: 300px;
        border-radius: 8px;
    }
}

@media (max-width: 720px) {
    .about-content p {
        line-height: 1.4;
        margin-left: 10px;
        margin-right: 10px;
    }
    .image-left {
        width: 50%; /* Réduit la largeur de l'image sur les petits écrans */
        max-width: 160px; /* Ajuste la largeur maximale */
        margin: 0 10px 10px 0; /* Réduit les marges */
    }

    .wrapper p {
        font-size: 14px; /* Réduit légèrement la taille du texte */
        line-height: 1.4; /* Ajuste l'espacement des lignes */
    }
    #map {
        width: 380px;
        height: 300px;
        border-radius: 8px;
    }
}
@media (max-width: 610px) {
    #map {
        width: 360px;
        height: 300px;
        border-radius: 8px;
    }
}
@media screen and (max-width: 420px) {
    #map {
        width: 350px;
        height: 300px;
        border-radius: 8px;
    }
}
