/* Réinitialisation des styles par défaut */
* {
    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;
}

.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;
}

/* Animation du bouton */
.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);
}

/* En-tête */
header {
    background-color: #242C58;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* Section Hero */
.hero {
    background-color: #242C58;
    min-height: 350px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.custom-carousel {
    width: 300px; /* Ajuste la largeur selon tes besoins */
    max-width: 100%;
}

.carousel-container {
    height: 100%;
}

.home-carousel {
    margin-bottom: -100px;
    max-height: 600px;
    position: relative;
    
}

.home-carousel .swiper-button-next {
    position: absolute;
    right: 0;
    bottom: 0;
    top: unset;
    background-color: #FFFFFF;
    width: 40px;
}	
.home-carousel .swiper-button-prev {
    position: absolute;
    right: 40px;
    bottom: 0;
    top: unset;
    left: unset;
    background-color: #FFFFFF;
    width: 40px;
}	

.home-carousel .swiper-button-next::after, .home-carousel .swiper-button-prev::after {
    font-size: 1rem;
    color: #000000;
}

/* Tableau */


/* .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
} */

.cell {
    text-align: center;
    padding: 10px;
    flex: 1;
    min-width: 120px;
}

.number {
    font-size: 2em;
    font-weight: bold;
    color: #EFC12E;
}

.scrolling-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-content {
    display: flex;
    animation: scroll 15s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Section About */
/* .about-section, .services-section {
    padding: 50px 0;
} */

.about-section h2, .services-section h2 {
    font-weight: bold;
    color: #242C58;
}

/* Services */
.service-box {
    text-align: center;
    padding: 20px;
    /* border-radius: 10px; */
    transition: transform 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.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;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .btn { font-size: 0.9rem; padding: 0.5rem 1rem; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 1.5rem; }
    .btn { font-size: 0.85rem; padding: 0.4rem 0.8rem; }
}




.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}


.project-card img {
    transition: transform 0.3s ease;
}


.project-card:hover img {
    transform: scale(1.05);
}


.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.project-info button{
    border: none;
}

.text-primary {
    color: #EFC12E !important;
    font-size: 25px;
}

.text-dark {
    font-size: 34px; /* Ajuste la taille selon tes besoins */
    color: #242C58 !important; /* Force la couleur */
}



.yellow-btn {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background: #EFC12E;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-section .yellow-btn {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background: #EFC12E;
    display: flex;
    justify-content: center;
    align-items: center;
}


.newsletter-section {
    background: linear-gradient(rgba(236, 237, 242, 1)100%, transparent );
    padding: 80px 0;
    width: 100%;
}
.subscribe-input {
    border-radius: 50px;
    border: none;
    padding: 10px 20px;
    width: 100%;
    outline: none;
}
.subscribe-btn {
    border-radius: 50px;
    background-color: #f4c02e;
    color: #000;
    font-weight: bold;
    padding: 10px 20px; /* Réduction de la taille */
    border: none;
    display: flex;
    align-items: center;
    gap: 10px; /* Espacement entre le texte et l'icône */
    margin-right: 5px;
}
.subscribe-btn:hover {
    background-color: #e0a800;
}
.subscribe-btn i {
    font-size: 14px; /* Ajustement de la taille de l'icône */
}

.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);
}

.card-project .card-localisation {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.card-project .card-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.see-more-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EFC12E;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

@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: 767.98px) {
    .col-12 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .number {
        font-size: 2rem;
    }

    .text-bold {
        font-size: 1rem;
    }

    /* .home-our-project {
        height: 720px;
        padding: 0px 0;
    } */

    /* #project-carousel .owl-item {
        width: fit-content !important;
        margin-right: 8px !important;
    } */
}

@media (max-width: 576px) {
    .number {
        font-size: 1.8rem;
    }

    .text-bold {
        font-size: 0.9rem;
    }
}

#project-carousel .owl-item img {
    display: block !important;
    width: fit-content !important;
}

.home-service {
    margin-top: 100px;
}

.newsletter-section h2 {
    font-size: 40px;
    font-weight: 700;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
}

#partnairs .owl-carousel-wrapper {
    display: flex;
    align-items: center;
    height: 172px;
}

footer a, footer p, footer span {
    font-size: 14px;
}