/* Préchargeur principal */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Couleur de fond */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Priorité sur le contenu */
}

/* Conteneur de l'animation d'ellipse */
.ellipse {
    position: relative;
    width: 80px;
    height: 20px;
    display: flex;
    justify-content: space-between;
}

/* Les petits cercles de l'ellipse */
.ellipse div {
    width: 16px;
    height: 16px;
    background-color: #3429C9;
    border-radius: 50%;
    animation: bounce 1.2s infinite ease-in-out;
}

/* Délais pour chaque cercle */
.ellipse div:nth-child(1) {
    animation-delay: -0.4s;
}
.ellipse div:nth-child(2) {
    animation-delay: -0.2s;
}
.ellipse div:nth-child(3) {
    animation-delay: 0s;
}
.ellipse div:nth-child(4) {
    animation-delay: 0.2s;
}

/* Animation de rebond */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.tp-btn, .tp-btn-second, .banner__video-icon {
    background: var(--tp-primary);
}
.tp-btn-second::after, .banner__video-icon:after{
    background: var(--tp-primary-after);
}
.tp-btn-danger{
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
   /* padding: 25px 45px;*/
    background: var(--tp-danger);
    text-align: center;
    display: inline-block;
    border-radius: 5px;
    text-transform: uppercase;
    color: var(--tp-common-white);
    position: relative;
    overflow: hidden;
    z-index: 1;

}
.tp-btn-danger::after{
    background: var(--tp-danger-after);
}

.tp-btn-danger:hover{
    color: #fff;
}
.tp-btn-danger:hover::after {
    transform: translateY(-50%) translateX(-50%) scale(1);
}

.scroll-top{
    background: var(--tp-primary);
}
.scroll-top:hover {
    background: var(--tp-danger-after);
}

.form-input{
    width: 100%;
    height: 60px;
    border: 1px solid #EFF1F6;
    border-radius: 5px;
    margin-bottom: 25px;
    padding: 0 20px;
}

.form-input {
    width: 100%;
    height: 60px;
    border: 1px solid #EFF1F6;
    border-radius: 5px;
    margin-bottom: 25px;
    padding: 0 20px;
}
.form-input::placeholder {
    font-size: 15px;
    color: #B2B0C1;
}
.form-input:hover {
    border: 1px solid var(--tp-primary);
}
.form-input:focus {
    border-color: var(--tp-primary);
    outline: none;
}
textarea.form-input  {
    width: 100%;
    height: 170px;
    border: 1px solid #EFF1F6;
    padding-top: 25px;
    padding-left: 20px;
    border-radius: 5px;
}
textarea.form-input::placeholder {
    color: #B2B0C1;
}
/* Bordure rouge pour les champs errores */
.is-error {
    border: 1px solid #dc3545; /* Rouge bootstrap */
    
    background-color: #ffe5e5; /* Légère coloration d'arrière-plan */
}

/* Texte d'erreur sous le champ */
.is-error + .error-feedback {
    display: block; /* Affiche le texte d'erreur */
    color: #dc3545; /* Rouge bootstrap */
    font-size: 0.875rem; /* Ajuste la taille de police */
    margin-top: 0.25rem; /* Espacement au-dessus */
}

/* Optionnel : Mettre en évidence le champ au focus, même avec une erreur */
.is-error:focus {
    border-color: #e74c3c; /* Rouge légèrement différent pour focus */
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25); /* Effet de halo rouge */
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
    .tp-btn, .tp-btn-second, .tp-btn-danger {
        padding: 20px 40px;
    }
}

.tp-choose__item {
    display: flex; /* Active le mode Flexbox */
    flex-direction: column; /* Aligne les enfants en colonne (verticalement) */
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Aligne le texte au centre (pour le titre et le paragraphe) */
    margin-left: 15px; /* Applique la marge existante */
    margin-bottom: 100px; /* Applique la marge existante */
}