@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    scroll-behavior: smooth;
}

.header {
    height: 150px;
    display: flex;
    align-items: center;
    background-color: #012777;
}

.logo {
    width: 185px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 40px;
    overflow: hidden;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-decoration: none;
    position: relative;
    display: block;
    transition: transform 0.4s;
}

.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
}

.nav-links a:hover {
    transform: translateY(-100%);
}

.landing {
    line-height: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 100px;
}

.big-title {
    width: 70%;
    color: rgb(0, 0, 0);
    font-size: 30px;
    font-family: "Abril Fatface", cursive;
    font-weight: 100;
}

.qui-sommes-nous {
    background: white;
    padding: 0 100px;
}

.section-title {
    position: relative;
    font-family: "Abril Fatface", cursive;
    font-size: 50px;
    margin-bottom: 8px;
}

.section-title::before {
    content: "";
    position: absolute;
    width: 50px;
    height: 7px;
    background: #5b72f0;
    bottom: 0;
    box-shadow: 0 2px 2px #0000001F;
}

.Monhistoire {
    display: flex;
    gap: 125px;
}

.mon-histoire {
    padding: 0 100px;
}

.photo {
    width: 200px;
}

.Texte-histoire {
    border: 1px solid black;
    padding: 1px 11px 5px 1px;
    display: inline-block;
    width: 1500px;
}

.services {
    padding: 0 100px;
}

.image_cv {
    border: 1px solid black;
    padding: 10px 15px 5px 10px;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
}

.service-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}



.contacter-nous {
    min-height: 80vh;
    background: white;
    padding: 0 100px;
}

.Contacter-nous {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

h2 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: #555;
}

input, textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.contacteee {
    display: flex;
    gap: 125px;
}

.Coordonner {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.footer {
    min-height: 100px;
    display: flex;
    align-items: center;
    margin-top: 50px;
    justify-content: space-between;
    padding: 0 100px;
    flex-wrap: wrap;
    background-color: #A8B9D6;
    opacity: 65%;
}

.copyrights {
    padding-right: 20px;
}

.conditions {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Styles for Mobile Devices */
@media only screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .logo {
        width: 150px;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger-container {
        display: none; /* Masque le burger menu si non nécessaire */
    }

    .big-title {
        width: 100%;
        font-size: 24px;
        text-align: center;
        padding: 0 20px;
    }

    .Monhistoire {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .Texte-histoire {
        width: 100%;
    }

    .photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .service-card {
        padding-bottom: 100%;
    }

    .contacteee {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .Contacter-nous, .Coordonner {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .copyrights {
        padding: 10px 0;
    }

    .conditions {
        margin-top: 10px;
    }
}
