.custom-swal-container {
    z-index: 9999;
}
.custom-swal-popup {
    font-family: 'Arial', sans-serif;
    border-radius: 15px;
}
.custom-swal-content {
    padding: 1.5rem;
}
.swal2-icon {
    border-color: #4CAF50;
    color: #4CAF50;
}
.swal2-confirm {
    background-color: #4CAF50 !important;
}
@media (max-width: 640px) {
    #form-steps .step {
        display: none;
    }
    #form-steps .step-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #D1D5DB;
        color: #4B5563;
        font-weight: bold;
    }
    #form-steps .step.active .step-number {
        background-color: #10B981;
        color: white;
    }
}

.bg-blue-100 span {
    color:white !important;
}

.bg-pink-100 span {
    color:white !important;
}

.bg-pink-100 {
    background-color: #d95877 !important;
}

@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    
    /* Centrer les icônes sociales */
    footer .flex.space-x-4 {
        justify-content: center;
    }
    
    /* Centrer les éléments de navigation */
    footer .space-y-2 a {
        justify-content: center;
    }
    
    /* Centrer les informations de contact */
    footer .space-y-3 p {
        justify-content: center;
    }
    
    /* Centrer les certifications et moyens de paiement */
    footer .flex.space-x-4 {
        justify-content: center;
    }
    
    /* Ajuster l'espacement des icônes dans les liens */
    footer .group i.fa-chevron-right {
        display: none;
    }
    
    /* Centrer les éléments de copyright et mentions légales */
    footer .flex.flex-col.md\:flex-row {
        text-align: center;
    }
    
    footer .flex.flex-wrap {
        justify-content: center;
    }
}

header li a {
    text-transform: uppercase;
    font-weight: 600;
}

header li a i {
    color: #d95877;
}

/* Améliorations générales */
* {
    scroll-behavior: smooth;
}

/* Animations de transition */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Améliorations des boutons */
button, 
a.btn,
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button:hover, 
a.btn:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Animation de hover pour les cartes */
.card {
    transition: all 0.3s ease;
    backface-visibility: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Amélioration des inputs */
input, 
textarea, 
select {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Amélioration du scroll */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations de chargement */
.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Amélioration des tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #333;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
    opacity: 1;
    visibility: visible;
}

/* Amélioration du focus pour l'accessibilité */
:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Amélioration du contraste pour la lisibilité */
.text-gray-600 {
    color: #4B5563;
}

/* Animations des icônes */
.icon {
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
}

/* Style mobile amélioré */
@media (max-width: 768px) {
    /* Augmenter la taille des zones de clic sur mobile */
    button,
    a.btn,
    .btn {
        padding: 12px 24px;
        min-height: 44px;
    }
    
    /* Améliorer l'espacement sur mobile */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Centrer les éléments sur mobile */
    .mobile-center {
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    /* Ajuster la taille des textes sur mobile */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

/* Amélioration des formulaires */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 0;
    transform: translateY(-50%);
    background: white;
    padding: 0 4px;
    font-size: 0.875rem;
    color: #6B7280;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #3b82f6;
}

/* Amélioration des messages d'erreur */
.error-message {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message:before {
    content: '⚠️';
}

/* Amélioration des états de succès */
.success-message {
    color: #059669;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message:before {
    content: '✓';
}

/* Amélioration des modales */
.modal {
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.modal-content {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}


.grecaptcha-badge {
    display: none !important;
}