/* Styles généraux */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif;
    /* outline: 1px solid red;  */
   
       /* Ajoute une bordure rouge à chaque élément */
    
    
}


.main-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 20px;/* Aligne les divs au centre */
    flex-direction: column;
}




.note, .visa-card, .info-note1, .emergency-contact {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Style pour la note de taille de fichier */
.note p {
    color: #555;
    font-size: 14px;
}

.form-and-info-container {
    display: flex;
    max-width: 1200px; /* Adjust as needed */
    width: 100%;
}

.form-container2 {
    flex: 2; /* Takes more space */
    padding: 20px;
}




/* Conteneur principal */
.container2 {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8); /* Fond blanc avec une transparence de 80% */
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    flex: 2;
    backdrop-filter: blur(10px); /* Applique un flou de 10px */
    -webkit-backdrop-filter: blur(10px); /* Pour la compatibilité avec Safari */
}



/* Barre de progression */
.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
}

.progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #ffca28, #f39c12);
    transition: width 0.4s ease;
    z-index: -1;
    border-radius: 5px;
}

.circles {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #ffca28;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid transparent;
    transition: background 0.4s ease, color 0.4s ease;
}

.circles.active {
    background-color: #ffca28;
    color: #012475;
}

/* Style pour un titre avec dégradé éclatant et ombre */
h2.text-center {
    font-size: 42px;
    font-weight: bold;
    color: transparent;
    background: linear-gradient(45deg, #1e3a8a, #1e3a8a, #1e3a8a);
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Effet de survol */
h2.text-center:hover {
    color: #fcc125;
    transform: scale(1.1);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

/* Formulaire */
.form-container2 {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
    position: relative;

}




.form-group input,
.form-group select {
    width: 400px;/* Prend toute la largeur du conteneur */
    max-width: 100%; /* Empêche l'input de s'étendre au-delà de la largeur définie */
    padding: 12px 20px;
    font-size: 1em;
    border: 1px solid #1e3a8a;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-sizing: border-box; /* Inclure padding et bordure dans la largeur */
    transition: all 0.3s ease;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  
 
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: #f8f9fa;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Styles pour les étiquettes */
.form-group label {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.8);
    padding: 0 5px;
    color: #555;
    transition: all 0.3s ease;
}

/* Boutons de navigation */
.btn {
    flex: 1;
    background-color: #ffca28;
    color: #012475;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 20px;
    width: 150px;
    margin-left: 75px;
}

.btn:disabled {
    background-color: #666666;
    color:#012475;
    cursor: not-allowed;
}

.btn:hover:not(:disabled) {
    background-color: #ffd54f;
    color: #012475;
    transform: translateY(-2px);
    box-shadow: 0px 5px 15px rgba(255, 202, 40, 0.3);
}
/* Étapes du formulaire */
.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
}

.info-section {
   
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

   
   
    margin: 0; /* Retire les marges */
    box-sizing: border-box; /* Inclut le padding dans les dimensions */

}

.info-note1 {
    flex: 1;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.info-note1 h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

.info-note1 p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.emergency-contact {
    flex: 1;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* .emergency-contact p {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
}
#emrgency{
    font-size: 1rem;
    color: #333;
    margin: 10px 0;

} */



.emergency-contact #emrgency {
    font-size: 1.1rem;
    font-weight: bold;
    color: #012475;
}

#para {
    font-size: 1rem;
    color: black;
    margin: 10px 0;
    font-weight: bold;
    
}

#tocha{
    font-size: 1rem;
    color: black;
    margin: 10px 0;

}


/* Styles pour les écrans de bureau */
@media (min-width: 992px) {
    .info-section {
        display: flex;
        justify-content: space-between;
    }

    .info-section .info {
        width: 48%;
    }
}

/* Styles pour les tablettes */
@media (min-width: 768px) and (max-width: 991px) {
    .info-section {
        display: flex;
        flex-direction: column;
    }

    .info-section .info {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Styles pour les téléphones */
@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem;
    }

    #para, #tocha {
        font-size: 0.9rem;
    }

    .info-section {
        display: flex;
        flex-direction: column;
    }

    .info-section .info {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Styles pour les très petits écrans */
@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }

    #para, #tocha {
        font-size: 0.8rem;
    }

    .info-section {
        display: flex;
        flex-direction: column;
    }

    .info-section .info {
        width: 100%;
        margin-bottom: 15px;
    }

    .container {
        padding: 0 10px;
    }
}

/* Styles pour les écrans de bureau */
@media (min-width: 992px) {
    .form-group select,
    .form-group input {
        width: 400px; /* Largeur fixe pour les écrans de bureau */
    }
}

/* Styles pour les tablettes */
@media (min-width: 768px) and (max-width: 991px) {
    .form-group select,
    .form-group input {
        width: 100%; /* Prend toute la largeur du conteneur */
    }
}

/* Styles pour les téléphones */
@media (max-width: 767px) {
    .form-group select,
    .form-group input {
        width: 100%; /* Prend toute la largeur du conteneur */
    }
}

/* Styles pour les très petits écrans */
@media (max-width: 480px) {
    .form-group select,
    .form-group input {
        width: 100%; /* Prend toute la largeur du conteneur */
        padding: 10px 15px; /* Ajuster le padding pour les petits écrans */
        font-size: 0.9em; /* Ajuster la taille de la police pour les petits écrans */
    }

    .form-group label {
        font-size: 0.8em; /* Ajuster la taille de la police pour les petits écrans */
    }
}
