.home-page .contact {
    display: none;
}

.home-page .nav-links {
    display: none !important;
}

.space {
    padding: 0;
}

.group {
    overflow: hidden;
}

.header1 {
    width: 100%;
    height: 100vh;
}

.header2 {
    background: linear-gradient(115deg, #253E8B 33.89%, #5670C2 93.04%);
    width: 100%;
    height: 50vh;
    /* display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start; */
    padding: 35px 0 40px 20px;
}

.bloc-about {
    position: relative;
    top: 200px;
}

.gif-annimation {
    width: 400px;
    height: auto;
}

.header2,
.header4 p {
    color: #FFF;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
}

.header3 {
    background: linear-gradient(143deg, #F2F5FF 21.57%, #6E717B 139.97%);
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 0 40px 20px;
    color: #000;
}

.contact-section {
    position: absolute;
    display: flex;
    flex-direction: column;
}

.header-title-contact {
    font-size: 18px;
    padding-top: 265px;
}

.header4 {
    background: linear-gradient(207deg, #221F20 16.83%, #343233 93.74%);
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 0 0 40px 35px;
}

.header-title {
    font-size: 30px;
}

.text-lumiere {
    font-size: 19px;
    font-style: normal;
    font-weight: 500;
}

.text-contact {
    color: #171616;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 41px;
    letter-spacing: -1px;
}

.black-border {
    border: 1px solid #000;
    width: 35%;
}

.left-space {
    padding-left: 150px;
}

.text-neoluce {
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
}

.text-categorie {
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
}

.space-categories-title {
    padding-top: 40px;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 900px;
    margin: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 360px;
    /* 2 full + 0.5 = 360 * 2.5 = 900px */
    margin-right: 30px;
    position: relative;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.nav {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
}

.nav.prev {
    top: 6em;
}

.nav.next {
    left: 27.5em;
    bottom: 5em;
}

.nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

button:focus {
    outline: none;
    outline: none;
}

.grey-section {
    background-color: #181818;
    height: auto;
    padding: 20px 0 50px 0;
}

.title {
    color: #FFF;
    font-size: 65px;
    font-style: normal;
}

.para {
    color: #FFF;
    text-align: start;
    font-size: 18px;
}

.bloc-projet {
    margin-top: 5em;
}

.title-projet {
    color: #FFF;
    font-size: 35px;
    font-style: normal;
    font-weight: 500;
}

.para-projet {
    color: #FFF;
    font-style: normal;
}

.img-project {
    width: 100%;
    height: auto;
}

.white-border {
    border: 1px solid #fff;
    width: 150px;
}

.space-img {
    margin-top: 7em;
}

.old-img-effect {
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.3s ease;
}

.old-img-effect:hover {
    filter: grayscale(0%) contrast(1);
}

.title-neoluce {
    color: #FFF;
    font-size: 70px;
    font-style: normal;
    font-weight: 300;
    padding-bottom: 15px;
}

.para-neoluce {
    color: #FFF;
    text-align: justify;
}

a {
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

.padding-space {
    padding: 0 90px;
}

/* Add these styles to your CSS file */
.lottie-animation {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 7%;
    transform: translateY(-50%);
}


@media (max-width: 768px) {

    .home-page .menu-toggle {
        display: none;
    }

    .display-mobile {
        display: none;
    }

    .gif-annimation {
        width: 265px;
        height: auto;
        position: relative;
        bottom: 8em;
    }

    .left-space {
        padding-left: 20px;
    }

    .text-categorie {
        font-size: 45px;
    }

    .title {
        font-size: 45px;
    }

    .grey-section {
        height: auto;
        padding: 20px 0 20px 0;
    }

    .mobile-space {
        margin: auto;
    }

    .space-img {
        margin-top: auto;
    }

    .nav.next {
        left: 11.5em;
        bottom: 5em;
    }

    .lottie-animation {
        width: 40px;
        /* Adjust based on your design */
        height: 40px;
        position: absolute;
        left: -20px;
        /* Position it to the left of the text */
        top: 50%;
        transform: translateY(-50%);
    }

    .text-contact {
        font-size: 16px;
    }

    .carousel {
        width: auto;
    }

    .header-title-contact {
        padding-top: 230px;
    }

    .padding-space {
        padding: 0 0;
    }

}


/* tablet  */

@media (min-width: 600px) and (max-width: 1024px) {

    .display-mobile {
        display: block;
    }

    .gif-annimation {
        width: 265px;
        height: auto;
        position: relative;
        bottom: 10em;
        left: 20em;
    }

    .menu-toggle {
        display: none;
    }

    .left-space {
        padding-left: 20px;
    }

    .nav.next {
        left: 15em;
        bottom: 5em;
    }
}