* {
    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;
    position: relative;

    z-index: -1;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 100;
}

.banner-image {
    position: relative;
    margin-top: -500px; /* Permet de déplacer l'image vers le haut pour qu'elle dépasse */
    z-index: 1; /* S'assure que l'image soit au-dessus du texte */
    
}

.banner-image img {
    width: 10%; /* L'image prend plus de largeur pour déborder */
    max-width: none; /* Enlève la limitation de la largeur maximale */
    height: auto;
    position: relative;
    top: 250px; /* Ajuste cette valeur pour déplacer l'image verticalement */
    overflow: hidden; /* Permet à l'image de déborder si nécessaire */
}


.banner-image img {
    width: 100%; /* Rend l'image responsive */
    max-width: 600px; /* Largeur maximale de l'image */
    height: auto; /* Conserve le ratio de l'image */
}




/* 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 (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;
}

/* Services */
.service-box {
    text-align: center;
    padding: 60px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 250px; /* Augmente la hauteur des boîtes */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le contenu verticalement */
    margin-bottom: 30px; /* Ajoute de l’espace sous chaque boîte */
    
}

.services-section {
    padding: 50px 0;
    top: 100px; /* Change cette valeur selon le besoin */
    margin-top: 250px;
}


.service-box:hover { 
    transform: translateY(-5px); 
}

/* Espacement entre les lignes */
.row {
    align-items: stretch; /* Aligne les boîtes à la même hauteur */
}

/* Couleurs */
.bg-dark-blue { 
    background-color: #242C58; 
    color: white; 
}

.bg-light-gray { 
    background-color: #F0F0F0; 
    color: #333; 
}

.bg-yellow { 
    background-color: #EFC12E; 
    color: white; 
}

/* Icônes */
.service-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}


/* Section Image */



/* Section Working Process */
.how-we-work {
    background: linear-gradient(to left, rgba(236, 237, 242, 1) 60%, transparent 40%);
    padding: 60px 0;
    margin-top: 150px;
}

.entete h6 {
    color: #EFC12E;
    font-weight: bold;
}

.entete h2 {
    font-weight: bold;
}

.step {
    margin-bottom: 20px;
}

.step-number {
    font-size: 2rem;
    font-weight: bold;
    color: #EFC12E;
}

.step-details .title {
    font-weight: bold;
    font-size: 1.2rem;
}

.step-details .description {
    font-size: 1rem;
    color: #555;
}

.btn {
    background-color: #EFC12E;
    color: black;
    padding: .45rem .9rem;
    font-size: .95rem;
    border-radius: 50rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn img {
    margin-left: 0.5rem;
}


.newsletter-section {
    background: linear-gradient(rgba(236, 237, 242, 1)100%, transparent );
    padding: 80px 0;
    width: 100%;
    margin-top: 150px;
}
.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);
}

@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;
    }
}