* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Titillium Web", serif;
    box-sizing: border-box;
}

/* Logo */
.logo {
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease;
    margin-left: 25px;
}

.logo:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Effet de survol avec trait sous les liens du menu */
.d-flex a {
    position: relative;
    /* display: inline-block; */
    overflow: hidden;
}

.d-flex a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}

.d-flex a:not(.logo-link):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.btn {
    font-family: "Titillium Web", serif;
    font-size: 1rem;
    /* padding: 0.6rem 1.2rem; */
    transition: all 0.5s ease;
}

.btn:hover {
    background-color: #d1a900;
    color: white;
    transform: scale(1.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


header {
    background-color: #242C58;
    color: white;
    /* padding: 50px 0; */
    text-align: center;
}

/* Section Hero */
.hero {
    background-color: #242C58;
    min-height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 100;
}

/* Ajuster uniquement la taille du texte, sans toucher à la position */
.custom-title {
    font-size: 3rem; /* Taille de base pour mobile */
}

@media (min-width: 768px) { /* Tablettes */
    .custom-title {
        font-size: 4rem;
    }
}

/* @media (max-width: 768px) {
    .home-our-project {
        height: 720px;
        padding: 0px 0;
    }

    .home-reviews {
        margin: 100px 0 10px;
    }

    .home-news {
        margin-bottom: 50px;
    }
} */

@media (min-width: 1024px) { /* PC */
    .custom-title {
        font-size: 5rem;
    }
}

@media (min-width: 1400px) { /* Très grands écrans */
    .custom-title {
        font-size: 6rem;
    }
}

/* Section About */
/* .about-section, .services-section {
    padding: 50px 0;
} */

.about-section h2, .services-section h2 {
    font-weight: bold;
    color: #242C58;
}

.home-service .entete {
    margin: 20px 0px 0px;
}

.entete {
    margin: 20px 0px 50px;
}

.entete h6 {
    color: rgba(239, 193, 46, 1);
    font-size: 24px;
    font-weight: 700;
}

.entete h2 {
    color: #242C58;
    font-size: 50px;
    font-weight: 400;
}

.entete p {
    font-size: 14px;
    font-weight: 400;
}

.arrow-list {
    list-style: url(/Assets/images/orange-arrow.png);
}

.arrow-list li {
    /* font-size: 14px;
    font-weight: 600; */
    margin-bottom: 20px;
}

/* Services */
.service-box {
    text-align: center;
    /* border-radius: 10px; */
    transition: transform 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    max-height: 442.5px;
    width: 100%;
    background: rgba(240, 240, 240, 1);
    padding: 20px;
    color: rgba(3, 3, 3, 1);
}
.service-box:hover { 
    transform: translateY(-5px); 
}

.bg-dark-blue { 
    background-color: #242C58; 
    color: white; 
}

.bg-light-gray { 
    background-color: #F0F0F0; 
    color: #333; 
}

.bg-yellow { 
    background-color: #EFC12E; 
    color: white; 
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.service-grey {
    max-height: 442.5px;
    width: 100%;
    background: rgba(240, 240, 240, 1);
    padding: 35px;
    color: rgba(3, 3, 3, 1);
    transition: transform 0.3s ease;
}

.service-grey:hover { 
    transform: translateY(-5px); 
}


.limited-text-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    /* max-height: calc(1.2em* 3); */
}

.service-dark-blue {
    max-height: 442.5px;
    width: 100%;
    background-color: #242C58;
    padding: 35px;
    color: #fff;
    transition: transform 0.3s ease;
}

.service-dark-blue:hover { 
    transform: translateY(-5px); 
}

.service-yellow {
    max-height: 442.5px;
    width: 100%;
    background-color: #EFC12E;
    padding: 35px;
    color: #fff;
    transition: transform 0.3s ease;
}

.service-yellow:hover { 
    transform: translateY(-5px); 
}

.service-icon {
    display: flex;
    justify-content: center;
}

.service-description {
    font-size: 13px;
    font-weight: 400;
}

@media (max-width: 762.98px) {
    .service-grey {
        max-height: 442.5px;
        width: 100%;
        background: rgba(240, 240, 240, 1);
        padding: 20px;
        color: rgba(3, 3, 3, 1);
        transition: transform 0.3s ease;
    }
    
    .limited-text-4 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 4;
        /* max-height: calc(1.2em* 3); */
    }
    
    .service-dark-blue {
        max-height: 442.5px;
        width: 100%;
        background-color: #242C58;
        padding: 20px;
        color: #fff;
        transition: transform 0.3s ease;
    }
    
    .service-yellow {
        max-height: 442.5px;
        width: 100%;
        background-color: #EFC12E;
        padding: 20px;
        color: #fff;
        transition: transform 0.3s ease;
    }
    .home-reviews {
        margin: 150px 0 30px;
    }
}

/* Section spacing */
.section-spacing {
    position: relative;
    top: 75px; /* Vous pouvez ajuster cette valeur selon vos besoins */
}


.process-section {
    background-color: #f0f2f5;
    padding: 300px 100px; /* Ajuste l'espace interne */
    height: 500px; /* Définit une hauteur fixe pour la section, tu peux ajuster cette valeur */
    /* position: relative;
    top: 250px; */
    max-width: 80%;
    margin: 0 auto;
    margin-left: 350px;
}



.process-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.process-step .step-number {
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 60%;
    top: 100px;
}

.btn-custom {
    background-color: #ffc107;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.image-top {
    position: relative;
    top: -900px; /* Déplace l'image vers le haut */
}

.footer {
    background-color: #1e2a50;
    color: white;
    padding: 50px 0;
    position: relative;
}
.footer .card {
    background-color: #f1b800;
    border: none;
    padding: 20px;
    text-align: center;
    top: -110px;
}
.footer .card p {
    color: black;
}
.footer .footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer .contact-info i {
    color: #f1b800;
    margin-right: 10px;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    .text-center {
        text-align: center !important;
    }
    .text-md-start {
        text-align: center !important;
    }
    .fs-1 {
        font-size: 1.75rem;
    }
    .fs-5 {
        font-size: 1rem;
    }
    .fs-md-6 {
        font-size: 1.125rem;
    }
}
@media (max-width: 576px) {
    .col-12 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .text-center {
        text-align: center !important;
    }
    .text-md-start {
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    /* .col-12 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    } */

    .number {
        font-size: 2rem;
    }

    .text-bold {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .number {
        font-size: 1.8rem;
    }

    .text-bold {
        font-size: 0.9rem;
    }
}

.home-our-project {
    height: 720px;
    padding: 150px 0;
}

.card-overlay {
    border-radius: 0 !important;
    padding: 50px;
    background: rgba(12, 38, 34, 0.3);
}

.card-project {
    border-radius: 0;
    background: none;
}

#project-carousel .item .card-project {
    width: 650px;
}

#project-carousel .owl-item {
    width: fit-content !important;
}

#project-carousel .item {
    width: fit-content !important;
}

@media (max-width: 479.98px) {
    #project-carousel .item .card-project {
        width: 400px !important;
    }

    #project-carousel .item .card-project .card-img {
        width: 400px !important;
    }

    .card-overlay {
        border-radius: 0 !important;
        padding: 10px;
        background: rgba(12, 38, 34, 0.3);
    }

    .see-more-button {
        /* height: 35px;
        width: 35px; */
        border-radius: 50%;
        background: rgba(239, 193, 46, 1);
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #project-carousel .item .card-project {
        width: 500px !important;
    }

    #project-carousel .item .card-project .card-img {
        width: 500px !important;
    }

    .card-overlay {
        border-radius: 0 !important;
        padding: 35px;
        background: rgba(12, 38, 34, 0.3);
    }

    .see-more-button {
        /* height: 35px;
        width: 35px; */
        border-radius: 50%;
        background: rgba(239, 193, 46, 1);
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #project-carousel .item .card-project {
        width: 550px !important;
    }

    #project-carousel .item .card-project .card-img {
        width: 550px !important;
    }
}

.home-reviews {
    margin: 250px 0 150px;
}

q {
    quotes: none; /* Supprime les guillemets par défaut */
    position: relative;
}

q::before {
    content: url('/Assets/images/before.png'); /* Image du guillemet ouvrant */
    margin-right: 15px;
    display: inline-block;
    vertical-align: middle;
}

q::after {
    content: url('/Assets/images/after.png'); /* Image du guillemet fermant */
    margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
}

.actu-card .article-date {
    font-size: 13px;
    font-weight: 400;
    color: rgba(0, 0, 0, .5);
}

.actu-card {
    border: none;
    border-radius: 0;
}

.actu-card .article-title {
    font-size: 18px;
    font-weight: 700;
}

.see-more-button {
    text-decoration: none;
}

.home-news {
    margin-bottom: 150px;
}

.limited-text-5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    /* max-height: calc(1.2em* 3); */
}

/*how we work section*/

.how-we-work {
    min-height: 850px;
    padding: 100px 0;
    background: linear-gradient(to left, rgba(236, 237, 242, 1) 60%, transparent 40%);
    margin: 200px 0;
}

.step-number {
    background: #ffc107;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    font-size: 25px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-details .title {
    font-size: 20px;
    font-weight: 700;
}

.step-details .description {
    font-size: 14px;
    font-weight: 400;
}

.banner-image {
    width: 100%;
    overflow: hidden;
    max-height: 401px;
    margin-bottom: -35px;
}

.how-we-work-image-wrapper {
    max-height: 640px;
    overflow: hidden;
}

.owl-item .cloned {
    display: none;
}

@media (max-width: 768px) {
    .home-our-project {
        height: 450px;
        padding: 0px 0;
    } 

    .home-news {
        margin-bottom: 50px;
    }

    .home-carousel {
        margin-bottom: 0;
        max-height: 600px;
        position: relative;
    }

    .how-we-work {
        background:rgba(236, 237, 242, 1);
        margin: 100px 0;
    }

    /* important */

    /* #project-carousel .item .card-project {
        width: 250px;
    }

    #project-carousel .item .card-project .card-img {
        width: 250px;
    }

    .card-overlay {
        border-radius: 0 !important;
        padding: 10px;
        background: rgba(12, 38, 34, 0.3);
    }

    .see-more-button {
        height: 35px;
        width: 35px;
        border-radius: 50%;
        background: rgba(239, 193, 46, 1);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #project-carousel .owl-item {
        width: fit-content !important;
        margin-right: 8px !important;
    } */
}

@media (max-width: 479.98px) {
    .home-reviews {
        margin: 175px 0 10px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .home-reviews {
        margin: 375px 0 10px;
    }
}