/* Global */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
}

/* Header */
header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: center;
}

.logo img {
    width: 80px;
}

/* Conteneur principal */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 900px;
    padding: 25px;
    background: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* Étape 1 - Choix entre Ambassade et Consulat */
.choix {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.option {
    text-align: center;
    cursor: pointer;
    padding: 18px;
    border: 2px solid #004080;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    width: 220px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.option:hover {
    transform: scale(1.05);
    background-color: #f0f8ff;
}

.option img {
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.option p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    color: #004080;
}

/* Étape 2 - Choix du lieu */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background-color: #002D5A;
    transform: scale(1.05);
}

/* Barre de recherche */
#searchBar {
    width: 85%;
    padding: 10px;
    margin-top: 20px;
    border: 2px solid #004080;
    border-radius: 5px;
    font-size: 16px;
}

/* Gestion des étapes */
.hidden {
    display: none;
}

/* Style de la carte ambassade */
.ambassade-card {
    background: white;
    border: 2px solid #004080;
    border-radius: 12px;
    padding: 20px;
    width: 320px; /* Taille plus équilibrée */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px auto; /* Centrage */
}
/* Style de la carte consulat */
.consulat-card {
    background: white;
    border: 2px solid #004080;
    border-radius: 12px;
    padding: 20px;
    width: 320px; /* Taille plus équilibrée */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 15px auto; /* Centrage */
}
/* Style du drapeau */
.ambassade-card img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}
/* Style du drapeau */
.consulat-card img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

/* Titre */
.ambassade-card h3 {
    font-size: 20px;
    color: #002D5A;
    margin-bottom: 8px;
}
/* Titre */
.consulat-card h3 {
    font-size: 20px;
    color: #002D5A;
    margin-bottom: 8px;
}
/* Adresse */
.ambassade-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
/* Adresse */
.consulat-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}
/* Section Contact */
.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8ff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    color: #004080;
    width: fit-content;
    margin: 10px auto;
    gap: 8px;
}

/* Icône Contact */
.contact-info i {
    color: #004080;
    font-size: 18px;
}

/* Boutons */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

/* Style des boutons */
.ambassade-card .button-container a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #004080;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    width: 100%;
}

.ambassade-card .button-container a:hover {
    background-color: #002D5A;
    transform: scale(1.05);
}

/* Différenciation du bouton Contact */
.ambassade-card .button-container .contact-btn {
    background-color: #ffcc00;
    color: #333;
}

.ambassade-card .button-container .contact-btn:hover {
    background-color: #e6b800;
}

/* Footer */
footer {
    background-color: #004080;
    color: white;
    padding: 15px;
    margin-top: 40px;
    font-size: 14px;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.navigation {
    text-align: center;
    margin: 20px 0;
}

.accueil-link {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.accueil-link:hover {
    background-color: #004d99;
}
/* Bouton de retour en haut */
.scrollTop {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    padding: 10px 14px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.scrollTop.show {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .scrollTop {
        font-size: 20px;
        padding: 8px 12px;
        bottom: 20px;
        right: 15px;
    }
}
/* Formulaire de contact */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

form button {
    background-color: #00796b;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background-color: #004d40;
}

/* Sections statiques (mentions légales, à propos, etc.) */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

/* Footer uniformisé */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 40px;
}

footer a {
    color: #b2dfdb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
/* Barre de navigation dans un cadre coloré */
.navigation {
    background-color: #e0f2f1; /* Couleur de fond claire */
    border: 2px solid #00796b; /* Bordure verte */
    border-radius: 10px;
    margin: 20px auto;
    padding: 10px;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Légère ombre */
}

/* Liens dans la navigation */
.navigation a {
    text-decoration: none;
    color: #00796b;
    background-color: white;
    border: 1px solid #00796b;
    margin: 5px;
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 450;
}

.navigation a:hover {
    background-color: #00796b;
    color: white;
}


