* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

header {
    background-color: #003366;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Sépare le logo, les onglets et le bouton Contact */
    align-items: center;
}

header nav {
    display: flex;
    justify-content: center; /* Centre horizontalement les éléments dans le header */
    align-items: center;
    width: 100%; /* S'assure que la largeur du nav occupe tout l'espace disponible */
}

.logo {
    flex: 1;
}

.logo h1 a {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    justify-content: center;
    width: 100%; /* S'assure que les liens occupent toute la largeur du nav */
    position: relative;
    left: 0;
}

.nav-links ul {
    display: flex;
    justify-content: center; /* Centre les liens de navigation */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}


.nav-links li {
    margin: 0 20px; /* Ajuster l'espacement entre les liens */
    list-style: none;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600; /* Renforcer le texte pour meilleure visibilité */
}

.btn-contact {
    background-color: #0066cc;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
}



.banner {
    height: 400px;
    background-color: #e6f2ff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #003366;
}

.banner h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner .btn {
    background-color: #0066cc;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 15px;
}

.services, .about, .contact {
    padding: 50px 20px;
    text-align: center;
}

.about {
    background-color: #ffffff;
}

.services {
    background-color: #f5f5f5;
}

.contact {
    background-color: #ffffff;
}

.service-list {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 auto; /* Permet à l'élément de s'ajuster à la taille de son contenu */
    min-width: 250px; /* Largeur minimale */
    max-width: 300px; /* Largeur maximale */
    align-self: flex-start; /* Ajuste la hauteur de chaque carte indépendamment */
}


.service-item h4 {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-item h4 i {
    margin-right: 10px;
    color: #0066cc; /* Couleur de l'icône */
}

.service-item ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 5px;
}

textarea {
    resize: vertical;
}

button.btn {
    background-color: #0066cc;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
}

button.btn:hover {
    background-color: #004080;
}


footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #8a8a8a;

}
