 .tab-button.active {
            background-color: var(--primary-color) !important;
            color: white !important;
        }

        .tab-button:not(.active) {
            background-color: transparent;
            color: var(--text-primary);
        }

        .tab-button:not(.active):hover {
            background-color: var(--bg-tertiary);
        }

        .tab-content {
            transition: opacity 0.3s ease;
        }

        .tab-content.hidden {
            display: none;
        }

        /* Styles pour la carte */
        #campaignMap {
            border: 2px solid var(--border-color);
        }

        .location-marker {
            background: var(--primary-color);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

        .selected-location {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 8px;
            margin-bottom: 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .remove-location {
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            cursor: pointer;
        }

        .remove-location:hover {
            background: #dc2626;
        }

        /* Navigation mise à jour */
        .nav-link {
            position: relative;
        }

        .nav-link::after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s;
            position: absolute;
            bottom: -2px;
            left: 0;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        :root {
            --primary-color: #0e548f;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-tertiary: #f3f4f6;
            --border-color: #e5e7eb;
        }

        [data-theme="dark"] {
            --primary-color: #0e548f;
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --bg-primary: #111827;
            --bg-secondary: #1f2937;
            --bg-tertiary: #374151;
            --border-color: #4b5563;
        }

        body {
            font-family: 'Poppins', sans-serif;
            scroll-behavior: smooth;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: background-color 0.3s, color 0.3s;
        }

        .bg-custom-primary {
            background-color: var(--primary-color);
        }

        .text-custom-primary {
            color: var(--primary-color);
        }

        .border-custom-primary {
            border-color: var(--primary-color);
        }

        /* Écran de chargement */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--bg-primary), var(--bg-primary));
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }

        .loading-screen.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        .logo-animation {
            align-items: center;
            color: white;
        }

        .logo-animation img {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            animation: pulse 1.5s infinite;
            align-items: center;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .hero-gradient {
            background: var(--primary-color);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .carousel-item {
            transition: opacity 0.5s ease-in-out;
        }

        .faq-item {
            transition: all 0.3s ease;
            background-color: var(--bg-secondary);
            border-color: var(--border-color);
        }

        .faq-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .nav-link::after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s;
        }

        .nav-link:hover::after {
            width: 100%;
        }

       

        .theme-toggle:focus,
        .language-toggle:focus {
            outline: none;
        }

        /* Styles pour le toggle de thème avec slider */
.theme-toggle-container {
    margin-left: 15px;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #87CEEB, #FFE4B5);
    border-radius: 30px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.theme-checkbox:checked + .theme-slider {
    background: linear-gradient(45deg, #2c3e50, #34495e);
}

.theme-checkbox:checked + .theme-slider:before {
    transform: translateX(30px);
}

.sun-icon, .moon-icon {
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 1;
}

.sun-icon {
    color: #f39c12;
}

.moon-icon {
    color: #f1c40f;
    opacity: 0;
}

.theme-checkbox:checked + .theme-slider .sun-icon {
    opacity: 0;
}

.theme-checkbox:checked + .theme-slider .moon-icon {
    opacity: 1;
}

/* Styles pour le sélecteur de langue avec drapeaux */
.language-selector {
    position: relative;
    margin-left: 15px;
}

.language-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.language-toggle-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chevron-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-toggle-btn:hover .chevron-icon {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 140px;
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-dropdown:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.language-option:first-child {
    border-radius: 12px 12px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 12px 12px;
}

/* Éléments décoratifs animés */
.decorative-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), #e74c3c);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #9b59b6, #3498db);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(225deg, #f39c12, #e67e22);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.zigzag-line {
    position: absolute;
    width: 200px;
    height: 40px;
    opacity: 0.15;
    color: var(--primary-color);
}

.zigzag-1 {
    top: 40%;
    left: 5%;
    animation: zigzagMove 8s linear infinite;
}

.zigzag-2 {
    bottom: 25%;
    right: 10%;
    animation: zigzagMove 10s linear infinite reverse;
}

@keyframes zigzagMove {
    0% {
        transform: translateX(-50px);
    }
    100% {
        transform: translateX(50px);
    }
}

.geometric-shape {
    position: absolute;
    opacity: 0.08;
    animation: geometricFloat 12s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid var(--primary-color);
    top: 15%;
    right: 25%;
    animation-delay: 1s;
}

.square-1 {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    transform: rotate(45deg);
}

.diamond-1 {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    transform: rotate(45deg);
    bottom: 40%;
    right: 30%;
    animation-delay: 5s;
}

@keyframes geometricFloat {
    0%, 100% {
        transform: rotate(0deg) translateY(0px);
    }
    25% {
        transform: rotate(90deg) translateY(-15px);
    }
    50% {
        transform: rotate(180deg) translateY(0px);
    }
    75% {
        transform: rotate(270deg) translateY(15px);
    }
}

/* Animation pour l'apparition des éléments */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation pour les cartes au survol */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

/* Amélioration du FAQ - correction des styles */
.faq-item {
    transition: all 0.3s ease;
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    margin-bottom: 8px;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.faq-question {
    position: relative;
    background: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding: 0 24px 24px 24px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Responsive design */
@media (max-width: 768px) {
    .theme-switch {
        width: 50px;
        height: 25px;
    }
    
    .theme-slider:before {
        height: 18px;
        width: 18px;
    }
    
    .theme-checkbox:checked + .theme-slider:before {
        transform: translateX(25px);
    }
    
    .language-toggle-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }
    
    .decorative-elements .floating-circle,
    .decorative-elements .zigzag-line,
    .decorative-elements .geometric-shape {
        display: none;
    }
}
.form-message {
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

[data-theme="dark"] .form-message.success {
    background-color: #064e3b;
    color: #a7f3d0;
    border: 1px solid #059669;
}

[data-theme="dark"] .form-message.error {
    background-color: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #dc2626;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Debut CSS Modal
 .tab-button.active {
            background-color: var(--primary-color) !important;
            color: white !important;
        }

        .tab-button:not(.active) {
            background-color: transparent;
            color: var(--text-primary);
        }

        .tab-button:not(.active):hover {
            background-color: var(--bg-tertiary);
        }

        .tab-content {
            transition: opacity 0.3s ease;
        }

        .tab-content.hidden {
            display: none;
        }

        #campaignMap {
            border: 2px solid var(--border-color);
        }

        .location-marker {
            background: var(--primary-color);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

        .selected-location {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 8px;
            margin-bottom: 4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .remove-location {
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 12px;
            cursor: pointer;
        }

        .remove-location:hover {
            background: #dc2626;
        }

        .nav-link {
            position: relative;
        }

        .nav-link::after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s;
            position: absolute;
            bottom: -2px;
            left: 0;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        :root {
            --primary-color: #0e548f;
            --text-primary: #1f2937;
            --text-secondary: #6b7280;
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-tertiary: #f3f4f6;
            --border-color: #e5e7eb;
        }

        [data-theme="dark"] {
            --primary-color: #0e548f;
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --bg-primary: #111827;
            --bg-secondary: #1f2937;
            --bg-tertiary: #374151;
            --border-color: #4b5563;
        }

        body {
            font-family: 'Poppins', sans-serif;
            scroll-behavior: smooth;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: background-color 0.3s, color 0.3s;
        }

        .bg-custom-primary {
            background-color: var(--primary-color);
        }

        .text-custom-primary {
            color: var(--primary-color);
        }

        .border-custom-primary {
            border-color: var(--primary-color);
        }

        /* Écran de chargement amélioré pour mobile */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--bg-primary), var(--bg-primary));
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
            padding: 20px;
        }

        .loading-screen.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        .logo-animation {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
        }

        .logo-animation img {
            max-width: 200px;
            width: 80%;
            height: auto;
            margin-bottom: 1rem;
            animation: pulse 1.5s infinite;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 1rem auto 0;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.1);
                opacity: 0.8;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        .hero-gradient {
            background: var(--primary-color);
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .carousel-item {
            transition: opacity 0.5s ease-in-out;
        }

        .faq-item {
            transition: all 0.3s ease;
            background-color: var(--bg-secondary);
            border-color: var(--border-color);
        }

        .faq-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            background: var(--bg-primary);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 95vw;
            max-height: 90vh;
            overflow-y: auto;
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
        }

        .modal-overlay.active .modal-container {
            transform: translate(-50%, -50%) scale(1);
        }

        .modal-header {
            padding: 24px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-secondary);
            border-radius: 20px 20px 0 0;
        }

        .modal-body {
            padding: 24px;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-secondary);
            padding: 8px;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }

        .feature-modal-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .feature-modal-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-color: var(--primary-color);
        }

        .feature-modal-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), #3498db);
            transition: left 0.5s ease;
        }

        .feature-modal-card:hover::before {
            left: 0;
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), #3498db);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            margin-bottom: 16px;
            animation: iconPulse 2s ease-in-out infinite;
        }

        @keyframes iconPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .feature-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 12px;
        }

        .feature-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .feature-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .feature-tag {
            background: var(--primary-color);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        /* Styles pour le toggle de thème avec slider */
        .theme-toggle-container {
            margin-left: 15px;
        }

        .theme-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
        }

        .theme-checkbox {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .theme-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, #87CEEB, #FFE4B5);
            border-radius: 30px;
            transition: all 0.4s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 8px;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
        }

        .theme-slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background: white;
            border-radius: 50%;
            transition: all 0.4s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

        .theme-checkbox:checked + .theme-slider {
            background: linear-gradient(45deg, #2c3e50, #34495e);
        }

        .theme-checkbox:checked + .theme-slider:before {
            transform: translateX(30px);
        }

        .sun-icon, .moon-icon {
            font-size: 12px;
            transition: all 0.3s ease;
            z-index: 1;
        }

        .sun-icon {
            color: #f39c12;
        }

        .moon-icon {
            color: #f1c40f;
            opacity: 0;
        }

        .theme-checkbox:checked + .theme-slider .sun-icon {
            opacity: 0;
        }

        .theme-checkbox:checked + .theme-slider .moon-icon {
            opacity: 1;
        }

        /* Styles pour le sélecteur de langue */
        .language-selector {
            position: relative;
            margin-left: 15px;
        }

        .language-toggle-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            background: transparent;
            border: 2px solid var(--border-color);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 500;
        }

        .language-toggle-btn:hover {
            border-color: var(--primary-color);
            background: var(--bg-secondary);
            transform: translateY(-1px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .flag-icon {
            width: 20px;
            height: 15px;
            border-radius: 2px;
            object-fit: cover;
        }

        .lang-text {
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .chevron-icon {
            font-size: 10px;
            transition: transform 0.3s ease;
        }

        .language-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            min-width: 140px;
            z-index: 1000;
            overflow: hidden;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .language-dropdown:not(.hidden) {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 12px 16px;
            background: transparent;
            border: none;
            cursor: pointer;
            color: var(--text-primary);
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .language-option:hover {
            background: var(--bg-secondary);
            color: var(--primary-color);
        }

        .form-message {
            padding: 12px 16px;
            margin-top: 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            animation: slideDown 0.3s ease;
        }

        .form-message.success {
            background-color: #d1fae5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }

        .form-message.error {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fca5a5;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design amélioré */
        @media (max-width: 768px) {
            .loading-screen {
                padding: 10px;
            }

            .logo-animation img {
                max-width: 150px;
                width: 70%;
            }

            .spinner {
                width: 30px;
                height: 30px;
                border-width: 2px;
            }

            .theme-switch {
                width: 50px;
                height: 25px;
            }
            
            .theme-slider:before {
                height: 18px;
                width: 18px;
            }
            
            .theme-checkbox:checked + .theme-slider:before {
                transform: translateX(25px);
            }
            
            .language-toggle-btn {
                padding: 6px 10px;
                font-size: 12px;
            }
            
            .flag-icon {
                width: 16px;
                height: 12px;
            }

            .modal-container {
                max-width: 95vw;
                max-height: 95vh;
                margin: 20px;
            }

            .modal-header {
                padding: 16px;
            }

            .modal-body {
                padding: 16px;
            }

            .feature-modal-card {
                padding: 16px;
                margin-bottom: 16px;
            }

            .feature-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }

            .feature-title {
                font-size: 18px;
            }

            .feature-tags {
                gap: 6px;
            }

            .feature-tag {
                font-size: 11px;
                padding: 3px 10px;
            }
        }

        @media (max-width: 480px) {
            .loading-screen {
                padding: 5px;
            }

            .logo-animation img {
                max-width: 120px;
                width: 60%;
            }

            .modal-container {
                border-radius: 12px;
            }

            .modal-header {
                border-radius: 12px 12px 0 0;
                padding: 12px;
            }

            .modal-body {
                padding: 12px;
            }

            .feature-modal-card {
                padding: 12px;
            }
        }



        /* Modal
        /* Styles pour la Modal des Fonctionnalités */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 20px 20px 0 0;
}

.modal-body {
    padding: 24px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.feature-modal-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-modal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3498db);
    transition: left 0.5s ease;
}

.feature-modal-card:hover::before {
    left: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #3498db);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive pour la modal */
@media (max-width: 768px) {
    .modal-container {
        max-width: 95vw;
        max-height: 95vh;
        margin: 20px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-body {
        padding: 16px;
    }

    .feature-modal-card {
        padding: 16px;
        margin-bottom: 16px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .feature-title {
        font-size: 18px;
    }

    .feature-tags {
        gap: 6px;
    }

    .feature-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .modal-container {
        border-radius: 12px;
    }

    .modal-header {
        border-radius: 12px 12px 0 0;
        padding: 12px;
    }

    .modal-body {
        padding: 12px;
    }

    .feature-modal-card {
        padding: 12px;
    }
}

/* Styles pour le carrousel Trusted By */
.trusted-carousel-container {
    position: relative;
}

.trusted-carousel {
    display: flex;
    width: 300%; /* 3 slides */
}

.trusted-slide {
    width: 33.333%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.trusted-indicator.active {
    opacity: 1 !important;
    background-color: var(--primary-color) !important;
    transform: scale(1.2);
}

.trusted-indicator:hover {
    opacity: 0.8;
}

/* Animation au survol des logos */
.trusted-slide img {
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.trusted-slide img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .trusted-slide {
        gap: 1rem;
    }
    
    .trusted-slide img {
        height: 2.5rem;
    }
}