* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }

        /* NOUVEAUX STYLES D'EN-TÊTE ET DE NAVIGATION */
        header {
            background: linear-gradient(135deg, #dce3ea, #1a93bc);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
        }

        .navbar {
            padding: 1rem 0;
        }

        .navbar-brand img {
            height: 100px;
            border-radius: 5px;
        }
        .logo {
            height: 100px;
            border-radius: 5px;
        }

        .navbar-nav .nav-link {
            color: white !important;
            font-weight: 500;
            margin: 0 0.5rem;
            transition: transform 0.3s, color 0.3s;
        }

        .navbar-nav .nav-link:hover {
            transform: translateY(-2px);
            color: #FFD700 !important;
        }


        /* STYLES PERSONNALISÉS DU MENU MOBILE */
        @media (max-width: 991.98px) {
            /* Rend le menu dépliable pleine hauteur/largeur */
            .navbar-collapse {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(135deg, #007BFF, #00BFFF); /* Fond comme l'en-tête */
                z-index: 1050; 
                padding-top: 5rem; 
                padding-left: 1rem;
                padding-right: 1rem;
                background-color: transparent !important;
            }

            /* Styles des éléments de liste pour la séparation */
            .navbar-nav .nav-item {
                margin: 0;
                border-bottom: 2px solid rgba(255, 255, 255, 0.4); /* Ligne de séparation */
                padding: 0.5rem 0; 
            }
            
            .navbar-nav .nav-link {
                font-size: 1.25rem; 
                font-weight: 500;
                padding-left: 0; 
            }
            
            /* Style du bouton de fermeture personnalisé (X en haut à droite) */
            .btn-close-mobile {
                position: absolute;
                top: 1.5rem;
                right: 1rem;
                font-size: 2rem;
                background: none;
                border: none;
                color: white;
                z-index: 1060;
                cursor: pointer;
                padding: 0.5rem;
            }

            .btn-close-mobile i {
                color: white;
            }
            
            .navbar-brand {
                position: relative; 
                z-index: 1060; 
            }

            .navbar-brand .logo-container {
                width: 100%;
                text-align: left;
                padding-left: 0;
            }
            
            .nav-list-container {
                width: 100%;
                margin-left: 0 !important;
            }
        }
        /* FIN DES NOUVEAUX STYLES D'EN-TÊTE */

        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        h1 {
            font-size: 2.5rem;
            color: #007BFF;
            margin-bottom: 1rem;
            text-align: center;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
        }

        .intro-text {
            text-align: center;
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 3rem;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
            animation-delay: 0.2s;
        }

        .involved-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .involved-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border-top: 5px solid #28A745;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
        }

        .involved-card:nth-child(1) { animation-delay: 0.3s; border-color: #007BFF;}
        .involved-card:nth-child(2) { animation-delay: 0.5s; border-color: #28A745;}
        .involved-card:nth-child(3) { animation-delay: 0.7s; border-color: #FFD700;}

        .involved-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .card-header {
            margin-bottom: 1rem;
        }

        .icon {
            font-size: 3rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .involved-card h2 {
            font-size: 1.6rem;
            color: #333;
            margin-bottom: 0.8rem;
        }

        .involved-card p {
            font-size: 1rem;
            color: #666;
            margin-bottom: 1.5rem;
        }

        .card-button {
            display: inline-block;
            background: linear-gradient(135deg, #007BFF 0%, #00BFFF 100%);
            color: white;
            padding: 0.75rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.3s;
        }

        .involved-card#volunteer .card-button {
            background: linear-gradient(135deg, #28A745 0%, #90EE90 100%);
        }
        .involved-card#partner .card-button {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        }

        .card-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
            color: white; /* Conserver la couleur du texte blanc */
        }
        
        .involved-card#volunteer .card-button:hover {
             box-shadow: 0 4px 15px rgba(40,167,69,0.3);
        }

        .involved-card#partner .card-button:hover {
             box-shadow: 0 4px 15px rgba(255,165,0,0.3);
        }

        /* FORM SECTIONS */
        .form-section {
            padding: 3rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            margin-bottom: 3rem;
            scroll-margin-top: 100px; /* Espace pour le scroll lors de l'ancre */
        }

        .section-title {
            font-size: 2rem;
            color: #007BFF;
            border-bottom: 3px solid #28A745;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }

        .section-description {
            font-size: 1rem;
            color: #666;
            margin-bottom: 2rem;
        }
        
        /* Styles spécifiques aux formulaires */
        .form-label {
            font-weight: 500;
            color: #333;
        }
        
        .form-control, .form-select {
            padding: 0.75rem;
            border-radius: 8px;
            border: 1px solid #ddd;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #007BFF;
            box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
            outline: none;
        }

        .submit-button {
            width: 100%;
            background: linear-gradient(135deg, #007BFF 0%, #00BFFF 100%);
            color: white;
            border: none;
            padding: 1rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 1rem;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
        }
        
        .volunteer-form-section .submit-button {
            background: linear-gradient(135deg, #28A745 0%, #90EE90 100%);
        }
        .partner-form-section .submit-button {
            background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
        }
        
        .volunteer-form-section .submit-button:hover {
            box-shadow: 0 6px 20px rgba(40,167,69,0.3);
        }
        .partner-form-section .submit-button:hover {
            box-shadow: 0 6px 20px rgba(255,165,0,0.3);
        }
        

        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 1rem;
            border-radius: 5px;
            margin-top: 1.5rem;
            text-align: center;
        }


        footer {
            background: linear-gradient(135deg, #343a40 0%, #495057 100%);
            color: white;
            text-align: center;
            padding: 2rem 1rem;
            margin-top: 3rem;
        }

        footer .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        footer p {
            margin: 0.5rem 0;
        }

        footer a {
            color: white;
            margin: 0 1rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer a:hover {
            color: #00BFFF;
        }


        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 991.98px) {
            .involved-grid {
                grid-template-columns: 1fr;
            }
            
            .involved-card {
                padding: 1.5rem;
            }

            .form-section {
                padding: 2rem 1.5rem;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }