/* Général */
.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}




/* Section d'entête */
/* Section d'entête */
.header {
    text-align: center;
    padding: 0; /* Réinitialiser le padding */
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://africadigital.ml/public/images/Home.jpg');
    background-size: cover; /* L'image couvrira tout l'espace */
    background-position: center; /* Centrer l'image */
    background-repeat: no-repeat; /* Éviter la répétition de l'image */
    height: 50vh; /* Réduire la hauteur à 50% de la hauteur de l'écran */
    color: #ffffff; /* Mettre le texte en blanc pour contraster avec l'image */
    display: flex; /* Utiliser Flexbox pour aligner le contenu */
    flex-direction: column;
    justify-content: center; /* Centrer verticalement le contenu */
    align-items: center; /* Centrer horizontalement le contenu */
    margin-bottom: 20px; /* Espacement en bas du header */
}


/* Section image principale */
.main-image {
    text-align: center;
    margin: 3rem 0;
}

.main-image img {
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
}

.main-description {
    font-size: 1.2rem;
    color: #404040;
}

/* Services et à propos */
.services,
.about-us {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #0099cc;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0, 0, 0);
    color: #000000;
}

.services h2,
.about-us h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.alternate-layout {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.alternate-layout img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-right: 2rem;
}

.alternate-layout.reverse-layout img {
    margin-right: 0;
    margin-left: 2rem;
}

.alternate-layout div {
    flex: 1;
    color: #e0e0e0;
}

/* Équipe */
.team {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0;
}

.team-member {
    flex: 1 1 calc(33.333% - 1rem);
    margin: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
}

.team-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #005b96;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #404040;
}

/* Bloc de contact */
.contact {
    margin-top: 40px;
    padding: 2rem;
    background-color: #005b96;
    color: #000000;
    text-align: center;
    border-radius: 10px;
}

.contact h2 {
    font-size: 2em;
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.social-links a {
    color: #fff;
    margin: 0 30px;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0099cc;
}

/* Styles pour les écrans de bureau */
@media (min-width: 1024px) {
    .team {
        flex-wrap: nowrap;
    }

    .team-member {
        flex: 1 1 calc(33.333% - 1rem);
    }
}

/* Styles pour les tablettes */
@media (min-width: 768px) and (max-width: 1023px) {
    .alternate-layout {
        flex-direction: column;
        text-align: center;
    }

    .alternate-layout img {
        margin: 0 auto 1rem;
    }

    .team-member {
        flex: 1 1 calc(50% - 1rem);
    }
}

/* Styles pour les smartphones */
@media (max-width: 767px) {
    .alternate-layout {
        flex-direction: column;
        text-align: center;
    }

    .alternate-layout img {
        margin: 0 auto 1rem;
    }

    .team-member {
        flex: 1 1 100%;
    }

    .suggestions input, .suggestions textarea {
        width: 100%;
    }
}

/* Menu de navigation */
.navigation {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #0099cc;
    position: absolute;
    top: 60px;
    width: 100%;
    left: 0;
    z-index: 1000;
    color: #e0e0e0;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.navigation li {
    margin: 10px 0;
}

.navigation a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.2em;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: #e0e0e0;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

/* Afficher le menu et le bouton sur les petits écrans */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    .navigation {
        display: flex;
    }
}

.offer-card {
    background-color: #e0e0e0;
    width: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px;
    color: #000000;
}

.offer-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.offer-card h3 {
    color: #0099cc;
    font-size: 20px;
    margin: 15px 0 10px;
}

.offer-card p {
    color: #404040;
    font-size: 14px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.offer-card button {
    background-color: #b00218;
    color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.offer-card button:hover {
    background-color: #a00215;
}

.nav-container {
    background-color: #005b96;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #005b96;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #e0e0e0;
    font-size: 1.2rem;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: black ;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0077aa;
}
