@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

    html {
        font-family: 'Poppins', sans-serif;
        scroll-behavior: smooth;
    }

    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
        background-size: cover;
        background-position: center;
    }

    .counter-box {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
    }

    .blood-drop {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    .donation-process-step {
        transition: all 0.3s ease;
    }

    .donation-process-step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .testimonial-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    /* Slider styles */
    .slider {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
        z-index: 1;
        margin-top: 0;
    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        background-size: cover;
        background-position: center;
        z-index: 1;
    }

    .slide.active {
        opacity: 1;
        z-index: 2;
    }

    /* Animation pour les slides avec images de banque de sang - DÉSACTIVÉE */
    /* .slide-animated {
        animation: slideZoom 20s ease-in-out infinite;
    }

    .slide-animated.active {
        animation: slideZoom 20s ease-in-out infinite, slideFadeIn 1s ease-in-out;
    } */

    /* Animations désactivées pour éviter les chevauchements */
    /* @keyframes slideZoom {
        0%, 100% {
            background-size: 100% auto;
            background-position: center center;
        }
        50% {
            background-size: 110% auto;
            background-position: center center;
        }
    }

    @keyframes slideFadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    } */

    /* Animation pour le contenu du slide */
    .slide-content {
        animation: slideContentFadeIn 1.2s ease-out;
    }

    @keyframes slideContentFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Animation de parallax pour les slides actifs - DÉSACTIVÉE pour éviter les chevauchements */
    /* .slide-animated.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: inherit;
        background-size: cover;
        background-position: center;
        animation: parallaxMove 15s ease-in-out infinite;
        z-index: -1;
    } */

    @keyframes parallaxMove {
        0%, 100% {
            transform: scale(1) translateY(0);
        }
        50% {
            transform: scale(1.05) translateY(-10px);
        }
    }

    .slider-nav {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        z-index: 10;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        margin: 0 5px;
        cursor: pointer;
    }

    .slider-dot.active {
        background: white;
    }

    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: rgba(239, 68, 68, 0.8);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        z-index: 99;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background: rgba(239, 68, 68, 1);
        transform: translateY(-5px);
    }

    .whatsapp {
        position: fixed;
        bottom: 20px;
        left: 20px;
        background:#0c9f8e;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        z-index: 99;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    .whatsapp.show {
        opacity: 1;
        visibility: visible;
    }


    .whatsapp:hover {
        background: #075e54;
        transform: translateY(-5px);
    }

    .text-whatsapp {
        position: fixed;
        bottom: 22px;
        left: 78px;
        background:#e6e6e6;
        width: 100px;
        height: 40px;
        border-radius: 10%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: rgb(0, 0, 0);
        font-size: 13px;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
    }

    .text-whatsapp.show {
        opacity: 1;
        visibility: visible;
    }

    /* Styles pour les cartes de centres de don */
    .donation-center-card {
        transition: all 0.3s ease;
    }

    .donation-center-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    /* Styles pour les actualités */
    .actualite-card {
        transition: all 0.3s ease;
    }

    .actualite-card:hover {
        transform: translateY(-8px);
    }

    .actualite-card img {
        transition: transform 0.5s ease;
    }

    .actualite-card:hover img {
        transform: scale(1.1);
    }

    /* Animation pour les sections */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }

    /* ============================================
       STYLES POUR LE MENU MOBILE (MODAL)
       ============================================ */

    .mobile-menu-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-x: hidden;
    }

    .mobile-menu-container:not(.hidden) {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 350px;
        height: 100%;
        background: linear-gradient(180deg, #991b1b 0%, #dc2626 100%);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mobile-menu-container:not(.hidden) .mobile-menu-content {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.1);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-nav {
        padding: 1rem 0;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .mobile-menu-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transition: width 0.3s ease;
        z-index: 0;
    }

    .mobile-menu-item:hover::before,
    .mobile-menu-item:active::before {
        width: 100%;
    }

    .mobile-menu-item:hover {
        border-left-color: white;
        background: rgba(255, 255, 255, 0.05);
        transform: translateX(5px);
        color: #fecaca;
    }

    .mobile-menu-item i {
        width: 24px;
        text-align: center;
        z-index: 1;
        position: relative;
        transition: transform 0.3s ease;
    }

    .mobile-menu-item:hover i {
        transform: scale(1.2);
    }

    .mobile-menu-item span {
        z-index: 1;
        position: relative;
    }

    /* Animation d'apparition des items */
    .mobile-menu-item {
        opacity: 0;
        transform: translateX(20px);
        animation: slideInMenuItem 0.4s ease forwards;
    }

    .mobile-menu-item:nth-child(1) { animation-delay: 0.1s; }
    .mobile-menu-item:nth-child(2) { animation-delay: 0.15s; }
    .mobile-menu-item:nth-child(3) { animation-delay: 0.2s; }
    .mobile-menu-item:nth-child(4) { animation-delay: 0.25s; }
    .mobile-menu-item:nth-child(5) { animation-delay: 0.3s; }
    .mobile-menu-item:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInMenuItem {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Effet de vague au clic */
    .mobile-menu-item:active {
        transform: translateX(5px) scale(0.98);
    }

    /* Scrollbar personnalisée pour le menu mobile */
    .mobile-menu-content::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-menu-content::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    .mobile-menu-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    /* Amélioration du header */
    header {
        backdrop-filter: blur(10px);
        background: rgba(185, 28, 28, 0.95) !important;
        z-index: 50;
        position: relative;
        transition: none !important;
        transform: none !important;
    }

    /* Empêcher le header de bouger au survol */
    header * {
        transition: none !important;
        transform: none !important;
    }

    /* Exception pour les liens de navigation - seulement la couleur */
    header nav a {
        transition: color 0.3s ease !important;
        transform: none !important;
    }

    /* Exception pour le bouton mobile - seulement la couleur */
    header button {
        transition: color 0.3s ease !important;
        transform: none !important;
    }

    /* Styles pour les boutons */
    .btn-primary {
        background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    }

    /* Amélioration des cartes */
    .card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
        transition: all 0.3s ease;
    }

    .card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }


    /* Amélioration des gradients */
    .gradient-red {
        background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    }

    /* Effet de brillance sur les cartes */
    .card-shine {
        position: relative;
        overflow: hidden;
    }

    .card-shine::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
        );
        transform: rotate(45deg);
        transition: all 0.5s;
    }

    .card-shine:hover::before {
        animation: shine 0.5s;
    }

    @keyframes shine {
        0% {
            left: -50%;
        }
        100% {
            left: 150%;
        }
    }

    /* Amélioration de la typographie */
    h1, h2, h3, h4, h5, h6 {
        letter-spacing: -0.02em;
    }

    /* Styles pour les liens Google Maps */
    a[href*="google.com/maps"] {
        position: relative;
        padding-right: 8px;
    }

    a[href*="google.com/maps"]:hover {
        text-decoration: underline;
    }

    /* Responsive améliorations */
    @media (max-width: 768px) {
        .slider {
            height: 400px;
        }
    }

    /* Animation pour les icônes */
    .icon-bounce:hover {
        animation: bounce 0.6s ease;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    /* Amélioration du scroll smooth */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    /* Styles pour les sections avec gradient */
    .section-gradient {
        background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    }

    /* Styles pour les centres cachés */
    .centres-hidden {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .centres-hidden:not(.hidden) {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animation pour le bouton Voir plus */
    #btn-voir-plus {
        transition: all 0.3s ease;
    }

    #icon-voir-plus {
        transition: transform 0.3s ease;
    }

    /* Styles pour le menu de filtres des actualités */
    .filtre-type-btn, .tri-date-btn {
        transition: all 0.3s ease;
    }

    .filtre-type-btn:hover, .tri-date-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #recherche-actualites:focus {
        box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
    }

    /* Animation pour les résultats de recherche */
    .actualite-card {
        animation: fadeInUpActualites 0.5s ease-out;
    }

    @keyframes fadeInUpActualites {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Styles pour la page détail actualité */
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .line-clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Animation pour les suggestions */
    #actualites-suggestions .actualite-card {
        animation: fadeInUpActualites 0.6s ease-out;
    }

    #actualites-suggestions .actualite-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    #actualites-suggestions .actualite-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    #actualites-suggestions .actualite-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    /* Améliorations responsive mobile */
    @media (max-width: 640px) {
        /* Réduire les espacements sur mobile */
        .container {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        /* Ajuster les titres */
        h1, h2, h3 {
            word-wrap: break-word;
            hyphens: auto;
        }

        /* Améliorer les boutons sur mobile */
        button, a[class*="bg-red"] {
            min-height: 44px; /* Taille minimale pour le touch */
            touch-action: manipulation;
        }

        /* Améliorer les inputs sur mobile */
        input, textarea, select {
            font-size: 16px; /* Évite le zoom automatique sur iOS */
        }

        /* Ajuster les badges */
        .rounded-full {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Améliorer les cartes sur mobile */
        .actualite-card {
            margin-bottom: 1rem;
        }

        /* Ajuster les grilles */
        .grid {
            gap: 1rem;
        }
    }

    /* Améliorations pour tablettes */
    @media (min-width: 641px) and (max-width: 1024px) {
        .container {
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
    }

    /* ============================================
       ANIMATIONS DYNAMIQUES ET EFFETS
       ============================================ */

    /* Animation fade-in au chargement */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .animate-fade-in {
        animation: fadeIn 0.6s ease-out;
    }

    /* Animation slide-up */
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .animate-slide-up {
        animation: slideUp 0.8s ease-out;
    }

    /* Animation slide-in-left */
    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .animate-slide-in-left {
        animation: slideInLeft 0.6s ease-out;
    }

    /* Animation slide-in-right */
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .animate-slide-in-right {
        animation: slideInRight 0.6s ease-out;
    }

    /* Animation scale-in */
    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .animate-scale-in {
        animation: scaleIn 0.5s ease-out;
    }

    /* Animation rotate-in */
    @keyframes rotateIn {
        from {
            opacity: 0;
            transform: rotate(-10deg) scale(0.9);
        }
        to {
            opacity: 1;
            transform: rotate(0) scale(1);
        }
    }

    .animate-rotate-in {
        animation: rotateIn 0.6s ease-out;
    }

    /* Styles pour les boutons de retour */
    .btn-retour {
        position: relative;
        overflow: hidden;
    }

    .btn-retour::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-retour:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-retour i {
        transition: transform 0.3s ease;
    }

    /* Animation pour les sections au scroll */
    .section-animate {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .section-animate.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animation pour les cartes */
    .card-animate {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .card-animate.visible {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    /* Effet de brillance sur les boutons */
    @keyframes shine {
        0% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(100%);
        }
    }

    .btn-retour::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .btn-retour:hover::after {
        left: 100%;
    }

    /* Animation pour les images */
    .img-zoom {
        transition: transform 0.5s ease;
    }

    .img-zoom:hover {
        transform: scale(1.05);
    }

    /* Animation pour les icônes */
    .icon-bounce {
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    /* Assurer que le slider ne chevauche pas le header */
    .slider {
        clear: both;
    }

    /* Animation pour les titres */
    h1, h2, h3 {
        animation: fadeInUp 0.8s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Effet de vague sur les boutons */
    .btn-wave {
        position: relative;
        overflow: hidden;
    }

    .btn-wave::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-wave:hover::before {
        width: 400px;
        height: 400px;
    }

    /* Animation pour les grilles - sauf footer */
    .grid > *:not(footer .grid > *) {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .grid > *:nth-child(1):not(footer .grid > *) { animation-delay: 0.1s; }
    .grid > *:nth-child(2):not(footer .grid > *) { animation-delay: 0.2s; }
    .grid > *:nth-child(3):not(footer .grid > *) { animation-delay: 0.3s; }
    .grid > *:nth-child(4):not(footer .grid > *) { animation-delay: 0.4s; }
    .grid > *:nth-child(5):not(footer .grid > *) { animation-delay: 0.5s; }
    .grid > *:nth-child(6):not(footer .grid > *) { animation-delay: 0.6s; }

    /* Animation de pulsation pour les éléments importants */
    .pulse-animation {
        animation: pulse 2s infinite;
    }

    /* Effet de flottement */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    .float-animation {
        animation: float 3s ease-in-out infinite;
    }

    /* Animation pour les badges */
    .badge-animate {
        animation: scaleIn 0.4s ease-out;
    }

    /* Transition smooth pour tous les éléments interactifs */
    a, button {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Exception pour le header - pas de transition globale */
    header a, header button {
        transition: color 0.3s ease !important;
    }

    /* Effet de glow sur hover */
    .glow-on-hover:hover {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
    }

    /* ============================================
       ANIMATIONS MODERNES ET EFFETS VISUELS
       ============================================ */

    /* Animation fade-in progressive pour les cartes "Pourquoi donner" */
    .bg-gray-50 {
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .bg-gray-50::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(220, 38, 38, 0.08);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .bg-gray-50:hover::before {
        opacity: 1;
    }

    .bg-gray-50 > * {
        position: relative;
        z-index: 1;
    }

    .bg-gray-50:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    /* Animation pour les icônes dans les cartes - pas de scale */
    .bg-gray-50 .text-red-700 {
        transition: color 0.3s ease;
    }

    .bg-gray-50:hover .text-red-700 {
        color: #991b1b;
    }

    /* Animation pour les étapes du processus de don */
    .donation-process-step {
        position: relative;
        overflow: visible;
    }

    .donation-process-step:hover .bg-red-100 {
        background-color: #dc2626 !important;
        transition: background-color 0.4s ease;
    }

    .donation-process-step:hover .bg-red-100 .text-red-700 {
        color: white !important;
        transition: color 0.4s ease;
    }

    /* Animation pour les cartes de centres de don */
    .border.border-gray-200 {
        position: relative;
        overflow: hidden;
    }

    .border.border-gray-200::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .border.border-gray-200:hover::before {
        opacity: 1;
    }

    .border.border-gray-200 > * {
        position: relative;
        z-index: 1;
    }

    /* Animation pour les témoignages */
    .testimonial-card {
        position: relative;
    }

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #dc2626, #991b1b, #dc2626);
        border-radius: 12px;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.3s ease;
    }

    .testimonial-card:hover::before {
        opacity: 0.3;
    }

    /* Animation pour les étoiles dans les témoignages */
    .text-yellow-400 i {
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .testimonial-card:hover .text-yellow-400 i {
        transform: scale(1.2);
        color: #fbbf24;
    }

    /* Animation pour les questions FAQ - pas d'animation au survol */
    .faq-question {
        position: relative;
        padding-right: 2rem;
    }

    .faq-answer {
        transition: all 0.3s ease;
    }

    /* Animation pour les boutons */
    a[class*="bg-red-700"],
    button[class*="bg-red-700"] {
        position: relative;
        overflow: hidden;
    }

    a[class*="bg-red-700"]::after,
    button[class*="bg-red-700"]::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    a[class*="bg-red-700"]:hover::after,
    button[class*="bg-red-700"]:hover::after {
        width: 300px;
        height: 300px;
    }

    a[class*="bg-red-700"]:hover,
    button[class*="bg-red-700"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    }

    /* Animation pour les liens de navigation - une seule barre en bas */
    nav a {
        position: relative;
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #fecaca;
        transition: width 0.3s ease;
    }

    nav a:hover::after {
        width: 100%;
    }

    /* Animation pour les icônes Font Awesome - sauf header */
    i[class*="fas"]:not(header i),
    i[class*="fab"]:not(header i) {
        transition: transform 0.3s ease;
    }

    a:hover i[class*="fas"]:not(header i),
    button:hover i[class*="fas"]:not(header i),
    a:hover i[class*="fab"]:not(header i),
    button:hover i[class*="fab"]:not(header i) {
        transform: scale(1.1);
    }

    /* Pas de transformation pour les icônes du header */
    header i[class*="fas"],
    header i[class*="fab"] {
        transition: none !important;
        transform: none !important;
    }

    header a:hover i[class*="fas"],
    header button:hover i[class*="fas"],
    header a:hover i[class*="fab"],
    header button:hover i[class*="fab"] {
        transform: none !important;
    }

    /* Animation pour les images */
    img {
        transition: transform 0.4s ease, filter 0.4s ease;
    }

    img:hover {
        transform: scale(1.02);
        filter: brightness(1.05);
    }

    /* Animation pour les cartes d'actualités */
    .actualite-card {
        position: relative;
        overflow: hidden;
    }

    .actualite-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, transparent 0%, rgba(220, 38, 38, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .actualite-card:hover::after {
        opacity: 1;
    }

    /* Animation pour le header */
    header {
        transition: box-shadow 0.3s ease;
    }

    header.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Animation pour les sections avec gradient */
    .bg-gradient-to-b {
        position: relative;
    }

    /* Animation pour les lignes de séparation */
    .w-20.h-1.bg-red-700 {
        position: relative;
        overflow: hidden;
    }

    .w-20.h-1.bg-red-700::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }

    /* Animation pour les badges */
    .absolute.bg-white {
        animation: pulse-badge 2s infinite;
    }

    @keyframes pulse-badge {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }

    /* Animation pour les icônes de contact */
    .text-red-700 i[class*="fas"] {
        transition: all 0.3s ease;
    }

    .flex.items-start:hover .text-red-700 i[class*="fas"] {
        transform: scale(1.2) rotate(5deg);
        color: #991b1b;
    }

    /* Animation pour les réseaux sociaux */
    .w-10.h-10.bg-red-700 {
        position: relative;
        overflow: hidden;
    }

    .w-10.h-10.bg-red-700::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }

    .w-10.h-10.bg-red-700:hover::before {
        width: 100px;
        height: 100px;
    }

    .w-10.h-10.bg-red-700 i {
        position: relative;
        z-index: 1;
    }

    /* Footer visible */
    footer {
        position: relative;
        overflow: visible;
    }

    /* Pas d'animation pour les listes de conditions */
    ul.space-y-3 li {
        transition: none;
    }

    ul.space-y-3 li:hover {
        transform: none;
        padding-left: 0;
    }

    /* Pas d'animation pour les icônes de check dans les conditions */
    ul.space-y-3 li .fa-check {
        transition: none;
    }

    ul.space-y-3 li:hover .fa-check {
        transform: none;
    }

    /* Animation subtile pour le conteneur principal */
    .container {
        animation: fadeInContainer 0.8s ease-out;
    }

    @keyframes fadeInContainer {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Animation pour les cartes avec ombre */
    .shadow-lg {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .shadow-lg:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-3px);
    }

    /* Animation pour le texte */
    p, span {
        transition: color 0.2s ease;
    }

    /* Animation pour les titres de section */
    h2 {
        position: relative;
    }

    h2::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: #dc2626;
        transition: height 0.3s ease;
    }

    .section-animate.visible h2::before {
        height: 60%;
    }

    /* Animation pour les grilles */
    .grid > * {
        transition: all 0.3s ease;
    }

    /* Animation pour les cartes de centres avec gradient */
    .bg-gradient-to-br {
        position: relative;
        overflow: hidden;
    }

    .bg-gradient-to-br::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        transition: transform 0.6s ease;
    }

    .border.border-gray-200:hover .bg-gradient-to-br::after {
        transform: translate(25%, 25%);
    }

    /* Animation pour le bouton WhatsApp */
    .whatsapp {
        animation: whatsapp-pulse 2s infinite;
    }

    @keyframes whatsapp-pulse {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(12, 159, 142, 0.7);
        }
        50% {
            box-shadow: 0 0 0 10px rgba(12, 159, 142, 0);
        }
    }

    .whatsapp:hover {
        animation: none;
        box-shadow: 0 0 20px rgba(12, 159, 142, 0.6);
    }

    /* Animation pour le bouton retour en haut */
    .back-to-top {
        transition: all 0.3s ease;
    }

    .back-to-top:hover {
        animation: bounce-up 0.6s ease;
    }

    @keyframes bounce-up {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }

    /* Animation pour les éléments de contact */
    .space-y-4 > * {
        transition: all 0.3s ease;
    }

    .space-y-4 > *:hover {
        transform: translateX(5px);
    }

    /* Amélioration des transitions globales */
    * {
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Animation pour les cartes avec effet de profondeur */
    .rounded-xl {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .rounded-xl:hover {
        transform: translateY(-4px);
    }

    /* Animation pour les textes importants */
    .font-bold {
        transition: color 0.2s ease;
    }

    /* Animation pour les séparateurs */
    .border-b {
        position: relative;
    }

    .border-b::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: #dc2626;
        transition: width 0.3s ease;
    }

    .border-b:hover::after {
        width: 100%;
    }

    /* Animation pour les liens de navigation dans le header - une seule barre */
    header nav a {
        position: relative;
        padding: 0.5rem 0;
        transform: none !important;
    }

    header nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #fecaca;
        transition: width 0.3s ease;
    }

    header nav a:hover::after {
        width: 100%;
    }

    header nav a:hover {
        transform: none !important;
    }

    /* Animation pour les cartes avec effet de profondeur 3D */
    .bg-white.rounded-xl {
        transform-style: preserve-3d;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .bg-white.rounded-xl:hover {
        transform: translateY(-5px) rotateX(2deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    /* Animation pour les images dans les cartes */
    .rounded-lg.shadow-md {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .rounded-lg.shadow-md:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    /* Pas de scale pour l'image dans la section "Conditions pour donner" */
    #processus .rounded-lg.shadow-md:hover {
        transform: none;
    }

    #processus img:hover {
        transform: none;
        filter: none;
    }

    /* Animation pour les titres de section au scroll */
    .text-center h2 {
        position: relative;
        display: inline-block;
    }

    .text-center h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 60px;
        height: 3px;
        background: #dc2626;
        transition: transform 0.5s ease;
    }

    .section-animate.visible .text-center h2::after {
        transform: translateX(-50%) scaleX(1);
    }

    /* Animation pour les listes de conditions */
    /* Pas d'animation pour les items de conditions */
    ul.space-y-3 li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    /* Animation pour les cartes de centres avec effet de zoom */
    .border.border-gray-200 .bg-gradient-to-br {
        transition: transform 0.4s ease;
    }

    .border.border-gray-200:hover .bg-gradient-to-br {
        transform: scale(1.05);
    }

    /* Animation pour le texte dans les cartes */
    .p-6 h3,
    .p-6 p {
        transition: color 0.2s ease;
    }

    .border.border-gray-200:hover .p-6 h3 {
        color: #dc2626;
    }

    /* Animation pour les icônes de contact */
    .flex.items-start {
        transition: transform 0.2s ease;
    }

    .flex.items-start:hover {
        transform: translateX(5px);
    }

    /* Animation pour les boutons avec effet de vague */
    .bg-red-600,
    .bg-red-700 {
        position: relative;
        overflow: hidden;
    }

    .bg-red-600 span,
    .bg-red-700 span {
        position: relative;
        z-index: 1;
    }

    /* Animation pour les grilles avec effet stagger - sauf footer */
    .grid.grid-cols-1 > *:not(footer .grid > *),
    .grid.grid-cols-2 > *:not(footer .grid > *),
    .grid.grid-cols-3 > *:not(footer .grid > *) {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .section-animate.visible .grid > *:not(footer .grid > *) {
        opacity: 1;
        transform: translateY(0);
    }

    .grid.grid-cols-1 > *:nth-child(1):not(footer .grid > *) { transition-delay: 0.1s; }
    .grid.grid-cols-2 > *:nth-child(1):not(footer .grid > *) { transition-delay: 0.1s; }
    .grid.grid-cols-2 > *:nth-child(2):not(footer .grid > *) { transition-delay: 0.2s; }
    .grid.grid-cols-3 > *:nth-child(1):not(footer .grid > *) { transition-delay: 0.1s; }
    .grid.grid-cols-3 > *:nth-child(2):not(footer .grid > *) { transition-delay: 0.2s; }
    .grid.grid-cols-3 > *:nth-child(3):not(footer .grid > *) { transition-delay: 0.3s; }

    /* Footer toujours visible */
    footer .grid > * {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Animation pour les badges "Principal" */
    .absolute.bg-white.text-red-700 {
        animation: badge-pulse 2s infinite;
    }

    @keyframes badge-pulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 0 0 5px rgba(220, 38, 38, 0);
        }
    }

    /* Animation pour les liens Google Maps */
    a[href*="google.com/maps"] i {
        transition: transform 0.3s ease;
    }

    a[href*="google.com/maps"]:hover i {
        transform: translateX(5px) scale(1.1);
    }

    /* Footer visible - pas d'animation */
    footer .grid > * {
        opacity: 1;
        transform: none;
    }

    /* Animation pour les icônes dans le footer */
    footer .w-10.h-10 {
        transition: transform 0.3s ease;
    }

    footer .w-10.h-10:hover {
        transform: scale(1.15) rotate(5deg);
    }

    /* Animation pour le texte du footer */
    footer p {
        transition: color 0.2s ease;
    }

    /* Responsive: réduire les animations sur mobile pour les performances */
    @media (max-width: 768px) {
        * {
            animation-duration: 0.3s !important;
        }
        
        .bg-gray-50::before,
        .donation-process-step::after,
        a[class*="bg-red-700"]::after {
            display: none;
        }

        /* Désactiver les transformations 3D sur mobile */
        .bg-white.rounded-xl:hover {
            transform: translateY(-3px);
        }
    }



