* {
            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-section {
            text-align: center;
            padding: 1rem 0;
            margin-bottom: 2rem;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
            animation-delay: 0.2s;
        }

        .intro-section p {
            font-size: 1.1rem;
            color: #555;
            max-width: 800px;
            margin: 0 auto;
        }
        
        /* SEARCH SECTION */
        .search-section {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.08);
            margin-bottom: 3rem;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
            animation-delay: 0.4s;
        }

        .search-container {
            display: flex;
            gap: 1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .search-container input {
            flex-grow: 1;
            padding: 0.8rem 1.2rem;
            border: 2px solid #e0e0e0;
            border-radius: 50px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .search-container input:focus {
            outline: none;
            border-color: #007BFF;
        }

        .search-container button {
            background: linear-gradient(135deg, #28A745 0%, #90EE90 100%);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .search-container button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(40,167,69,0.3);
        }

        .search-tip {
            text-align: center;
            margin-top: 1rem;
            font-style: italic;
            color: #777;
            font-size: 0.9rem;
        }

        /* RESOURCES GRID */
        .resources-grid h2 {
            font-size: 1.8rem;
            color: #007BFF;
            border-bottom: 3px solid #28A745;
            padding-bottom: 0.5rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .resource-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 1.5rem;
            transition: transform 0.3s, box-shadow 0.3s;
            display: block;
        }

        .resource-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .resource-card h3 {
            font-size: 1.3rem;
            color: #333;
            margin-bottom: 0.5rem;
        }

        .resource-card p {
            font-size: 0.95rem;
            color: #666;
            margin-bottom: 1rem;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px dashed #e0e0e0;
            padding-top: 0.8rem;
            margin-top: 0.5rem;
        }

        .card-footer .type {
            font-size: 0.85rem;
            font-weight: bold;
            color: #28A745;
            padding: 0.3rem 0.6rem;
            background: #e9f5e9;
            border-radius: 5px;
        }

        .download-link {
            color: #007BFF;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s;
        }

        .download-link:hover {
            color: #0056b3;
            text-decoration: underline;
        }

        .download-link .icon {
            margin-left: 0.5rem;
            font-size: 1.1rem;
        }

        /* CALL TO ACTION */
        .cta-section {
            background: linear-gradient(135deg, #007BFF 0%, #00BFFF 100%);
            color: white;
            padding: 3rem 2rem;
            margin-top: 3rem;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

        .cta-section h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, #28A745 0%, #90EE90 100%);
            color: white;
            padding: 1rem 2.5rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(40,167,69,0.3);
            margin-top: 1rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40,167,69,0.4);
        }

        footer {
            background: linear-gradient(135deg, #343a40 0%, #495057 100%);
            color: white;
            text-align: center;
            padding: 2rem 1rem;
            margin-top: 3rem;
        }

        .social-links {
            margin: 1rem 0;
        }

        .social-links a {
            color: white;
            margin: 0 1rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        .social-links a:hover {
            color: #00BFFF;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 1.8rem;
            }

            .search-container {
                flex-direction: column;
            }

            .search-container input {
                border-radius: 8px;
            }

            .search-container button {
                width: 100%;
                border-radius: 8px;
            }

            .card-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
        }





/********************************************************************************************************************/

/* AJOUTER CES STYLES À resources-styles.css */

/* Conteneur de la FAQ */
.faq-section {
    max-width: 900px; /* Limiter la largeur pour une meilleure lisibilité */
    margin: 3rem auto;
    padding: 2rem 1rem;
}

.faq-section h2 {
    color: #007BFF; /* Couleur primaire du site */
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Style général de l'élément de l'accordéon */
.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Légère ombre */
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Style du bouton/en-tête de la question */
.accordion-button {
    background-color: #f7f9fc; /* Arrière-plan clair pour la question fermée */
    color: #333;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none; /* Supprimer l'ombre par défaut de Bootstrap */
}

/* Style du bouton/en-tête LORSQUE ACTIF (ouvert) */
.accordion-button:not(.collapsed) {
    color: #FFFFFF; /* Texte en blanc pour l'état actif */
    background: linear-gradient(90deg, #007BFF, #00BFFF); /* Dégradé pour l'état ouvert */
    border-bottom: none;
}

/* Flèche de l'accordéon (pour la rendre visible sur le fond bleu) */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1); /* Rendre l'icône blanche lorsqu'elle est active */
}

/* Style du corps de la réponse */
.accordion-body {
    padding: 1.5rem;
    background-color: white;
    color: #555;
    border-top: 1px solid #eee;
    font-size: 1rem;
    line-height: 1.7;
}

/* Style des listes dans la réponse pour une meilleure présentation */
.accordion-body ul {
    margin-top: 15px;
    padding-left: 20px;
}

.accordion-body ul li {
    margin-bottom: 8px;
}

/**********************************************************************************************************************************************/
/* AJOUTER CES STYLES À resources-styles.css */

/* Style pour le bouton qui bascule la carte */
.resource-card .btn-map-toggle {
    background-color: #28A745; /* Couleur verte pour le bouton */
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.resource-card .btn-map-toggle:hover {
    background-color: #218838;
    transform: translateY(-1px);
}

/* Conteneur de la carte (visible après le déroulement) */
.map-collapse {
    padding-top: 15px; /* Espace entre le bouton et la carte */
}

/* Style du titre au-dessus de la carte */
.map-title {
    font-size: 1.1rem;
    color: #007BFF;
    margin-bottom: 10px;
    font-weight: 400;
}

/* Conteneur de l'embed pour maintenir le ratio 16:9 */
.map-embed {
    overflow: hidden;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Assurer la cohérence du style pour le pied de carte */
.resource-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}



/******************************************************research -----------------------------*/
/* AJOUTER OU ASSURER CE STYLE DANS resources-styles.css */

/* Style pour le bouton Contact Us dans le message d'erreur */
#faqFeedback .btn-danger {
    background-color: #dc3545; /* Rouge standard Bootstrap */
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

#faqFeedback .btn-danger:hover {
    background-color: #c82333;
}

/****************************************************************************************** PDF ***********************************/
