:root {
    --primary-color: #16a085;
    --primary-dark: #138d75;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-gray: #ecf0f1;
    --medium-gray: #95a5a6;
    --dark-gray: #34495e;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

/* ==============================================
   RESET & BASE STYLES
============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
body {
    /* ...tes styles existants... */
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow-x: hidden;
}

/* Fond animé désactivé — cercles masqués */
.animated-bg { display: none; }

/* ==============================================
   HEADER & NAVIGATION
============================================== */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

.nav a.active {
    background: var(--secondary-color);
    color: var(--white);
}

/* ==============================================
   MAIN CONTENT AREA
============================================== */
.main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.section {
    display: none;
    padding: 3rem 0;
}

/* Remove padding from help section to eliminate space before footer */
#help.section {
    padding-bottom: 0;
}

.section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================================
   HERO SECTION
============================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ==============================================
   CARDS & GRID LAYOUTS
============================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--white);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.card-content p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

/* Statistiques d'accueil */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
}
/* Barre de recherche du dictionnaire */
.search-bar {
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 0.5rem 1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0.5rem;
    background: transparent;
    color: var(--dark-color);
}

.search-icon {
    color: var(--medium-gray);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* ==============================================
   INTERNET BASICS STYLES
============================================== */
.internet-basics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.basics-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--primary-color);
}

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

.basics-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--white);
}

.basics-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.basics-card p {
    color: var(--medium-gray);
}

/* ==============================================
   OPPORTUNITIES & RISKS STYLES
============================================== */
.opportunities-risks-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.opportunities-section h2,
.risks-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.opportunities-section h2 {
    color: var(--success-color);
}

.risks-section h2 {
    color: var(--danger-color);
}

.opportunities-grid,
.risks-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.opportunity-item,
.risk-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.opportunity-item {
    border-left: 4px solid var(--success-color);
}

.risk-item {
    border-left: 4px solid var(--danger-color);
}

.opportunity-item:hover,
.risk-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.opportunity-item h4,
.risk-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.opportunity-item p,
.risk-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* ==============================================
   MYTHS & REALITIES STYLES
============================================== */
.myths-container {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.myth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.myth-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.myth-header {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.myth-header i {
    font-size: 1.5rem;
}

.myth-content {
    padding: 2rem;
}

.myth-statement {
    background: #ffebee;
    border-left: 4px solid var(--danger-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.myth-statement h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
}

.reality-statement {
    background: #e8f5e8;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.reality-statement h4 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

/* ==============================================
   THREAT DICTIONARY STYLES
============================================== */
.threat-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.threat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.threat-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.threat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.threat-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: capitalize;
}

.severity-badge {
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.severity-high {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #c62828;
}

.severity-medium {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ef6c00;
}

.threat-definition {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
}

.threat-example {
    background: #f8f9fa;
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    margin: 1.5rem 0 0 0;
    font-size: 0.95rem;
    color: var(--dark-color);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

.threat-example strong {
    color: var(--dark-color);
}

/* ==============================================
   PRESENTATION STYLES
============================================== */
.presentation-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.presentation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.presentation-meta {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.topic-tag {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}
/* Responsive design pour mobile */
@media (max-width: 900px) {
    .container {
        padding: 0 10px;
    }
    .card-grid,
    .internet-basics-grid,
    .opportunities-risks-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .main {
        margin-top: 120px;
    }
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
}

/* Focus visible pour les boutons et liens */
.btn:focus,
.nav a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Bande d’introduction attractive */
.site-intro {
    background: linear-gradient(90deg, var(--primary-color) 70%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.site-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.site-intro p {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.site-intro .highlight {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.site-intro ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-intro li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-intro i {
    color: var(--white);
    background: var(--success-color);
    border-radius: 50%;
    padding: 4px;
    font-size: 1.2rem;
}

/* Footer moderne et attractif */
.footer {
    background: linear-gradient(90deg, var(--primary-dark) 70%, var(--primary-color) 100%);
    color: var(--white);
    padding: 2rem 0 1rem 0;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* ==============================================
   TIMELINE STYLES - IMPROVED DESIGN
============================================== */
.timeline-section {
    margin: 60px 0;
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
        #2196F3 0%,
        #1976D2 30%,
        #1565C0 60%,
        #0D47A1 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 50%;
    padding-right: 30px;
}

.timeline-item:nth-child(even) {
    padding-left: 30px;
    padding-right: 50%;
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.3),
                0 4px 12px rgba(33, 150, 243, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.3), 0 4px 12px rgba(33, 150, 243, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(33, 150, 243, 0.2), 0 6px 16px rgba(33, 150, 243, 0.3); }
    100% { box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.3), 0 4px 12px rgba(33, 150, 243, 0.4); }
}

.timeline-content {
    background: linear-gradient(135deg, rgba(241, 241, 241, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.15),
                0 1px 8px rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #1976D2, #1565C0);
    border-radius: 20px 20px 0 0;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.25),
                0 8px 16px rgba(33, 150, 243, 0.15);
}

.timeline-content h3 {
    color: #0D47A1;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(33, 150, 243, 0.1);
    position: relative;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    border-radius: 2px;
}

.timeline-content p {
    color: #222;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* ==============================================
   HOW INTERNET WORKS STYLES - IMPROVED DESIGN
============================================== */
.how-it-works-section {
    margin: 60px 0;
    position: relative;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.02) 0%, transparent 70%);
    z-index: -1;
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.explanation-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.9) 100%);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.15),
                0 1px 8px rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.explanation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #1976D2, #1565C0);
    border-radius: 20px 20px 0 0;
}

.explanation-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.explanation-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.25),
                0 8px 16px rgba(33, 150, 243, 0.15);
}

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

.explanation-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.explanation-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.explanation-card h3 {
    color: #1565C0;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(33, 150, 243, 0.1);
    position: relative;
}

.explanation-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    border-radius: 2px;
}

.explanation-card p {
    color: #424242;
    line-height: 1.7;
    text-align: center;
    font-size: 1rem;
    margin: 0;
    padding-top: 10px;
}

/* ==============================================
   INTERNET LAYERS STYLES - IMPROVED DESIGN
============================================== */
.layers-section {
    margin: 60px 0;
    position: relative;
}

.layers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.02) 0%, transparent 70%);
    z-index: -1;
}

.layers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.layer-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 255, 0.9) 100%);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.15),
                0 1px 8px rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.layer-card.surface-web::before {
    background: linear-gradient(90deg, #4CAF50, #45a049, #2E8B57);
}

.layer-card.deep-web::before {
    background: linear-gradient(90deg, #FF9800, #F57C00, #E65100);
}

.layer-card.dark-web::before {
    background: linear-gradient(90deg, #F44336, #D32F2F, #B71C1C);
}

.layer-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.layer-card.surface-web::after {
    background: radial-gradient(circle, rgba(76, 175, 80, 0.03) 0%, transparent 70%);
}

.layer-card.deep-web::after {
    background: radial-gradient(circle, rgba(255, 152, 0, 0.03) 0%, transparent 70%);
}

.layer-card.dark-web::after {
    background: radial-gradient(circle, rgba(244, 67, 54, 0.03) 0%, transparent 70%);
}

.layer-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.25),
                0 8px 16px rgba(33, 150, 243, 0.15);
}

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

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.layer-header h3 {
    font-size: 1.6rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(33, 150, 243, 0.1);
    position: relative;
}

.layer-header h3 i {
    margin-right: 12px;
    font-size: 1.8rem;
}

.layer-header h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.layer-card.surface-web .layer-header h3::after {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

.layer-card.deep-web .layer-header h3::after {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.layer-card.dark-web .layer-header h3::after {
    background: linear-gradient(90deg, #F44336, #D32F2F);
}

.layer-percentage {
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.layer-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.layer-card li {
    padding: 8px 0;
    color: #424242;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.layer-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

.layer-card.surface-web li::before {
    color: #4CAF50;
}

.layer-card.deep-web li::before {
    color: #FF9800;
}

.layer-card.dark-web li::before {
    color: #F44336;
}

/* ==============================================
   SENEGAL INTERNET STYLES
============================================== */
.senegal-section {
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(25, 118, 210, 0.05) 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(33, 150, 243, 0.1);
}

.senegal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.senegal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.senegal-text h3 {
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.senegal-text ul {
    list-style: none;
    padding: 0;
}

.senegal-text li {
    padding: 8px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 25px;
}

.senegal-text li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.senegal-map {
    text-align: center;
}

.map-placeholder {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.map-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==============================================
   SECURITY STYLES
============================================== */
.security-section {
    margin: 40px 0;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.security-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid #4CAF50;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.2);
}

.security-icon {
    font-size: 3rem;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
}

.security-card h3 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.security-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    text-align: center;
}

/* ==============================================
   FACT BOXES AND WARNINGS
============================================== */
.fact-box {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fact-box i {
    color: #2196F3;
    font-size: 1.2rem;
}

.fact-box span {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.warning-box {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(211, 47, 47, 0.1) 100%);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.warning-box i {
    color: #F44336;
    font-size: 1.2rem;
    margin-top: 2px;
}

.warning-box strong {
    color: #F44336;
    display: block;
    margin-bottom: 5px;
}

/* ==============================================
   CTA SECTION STYLES
============================================== */
.cta-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(46, 139, 87, 0.1) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.cta-section h2 {
    color: #2E8B57;
    margin-bottom: 15px;
    font-size: 2rem;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.cta-section p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(76, 175, 80, 0.6);
    background: linear-gradient(45deg, #45a049, #2E8B57);
}

.btn-secondary {
    background: linear-gradient(45deg, #dc3545, #c82333);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
    font-weight: 600;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(220, 53, 69, 0.6);
    background: linear-gradient(45deg, #c82333, #a02622);
}

/* ==============================================
   RESPONSIVE DESIGN FOR NEW SECTIONS
============================================== */
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ==============================================
   CONTACT PAGE STYLES
============================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
    outline: none;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.4);
    transition: var(--transition);
}

.contact-form .btn-submit:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.6);
    transform: translateY(-3px);
    cursor: pointer;
}

/* ==============================================
   FORMATIONS PAGE STYLES
============================================== */
.courses-section {
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.course-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.course-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.course-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.course-card p {
    flex-grow: 1;
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.course-card a.btn {
    align-self: center;
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.opportunity-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.opportunity-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.myths-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.myth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border-left: 4px solid var(--danger-color);
}

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

.myth-header {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.myth-header i {
    font-size: 1.5rem;
}

.myth-content {
    padding: 1.5rem;
}

.myth-statement {
    background: #ffebee;
    border-left: 4px solid var(--danger-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.myth-statement h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
}

.reality-statement {
    background: #e8f5e8;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.reality-statement h4 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 10px;
    }

    .explanation-grid,
    .layers-container,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .senegal-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .senegal-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .senegal-stats {
        grid-template-columns: 1fr;
    }

    .timeline-content {
        padding: 15px;
    }

    .explanation-card,
    .layer-card,
    .security-card {
        padding: 20px;
    }
}


    /* ==============================================
   FONCTIONNALITÉS INTERACTIVES
   ============================================== */

/* Timeline Interactive */
.cyber-timeline-section {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(25, 118, 210, 0.02) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cyber-timeline-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\"><circle cx=\"50\" cy=\"50\" r=\"1\" fill=\"%232196F3\" opacity=\"0.1\"/></svg>");
    pointer-events: none;
}

.timeline-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    margin: 40px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    cursor: pointer;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.active {
    transform: scale(1.05);
}

.timeline-item.active .timeline-content {
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
    border-color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-content {
    left: -60%;
    text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 60%;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.active::before {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    max-width: 400px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-stats {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

/* Mini Quiz */
.mini-quiz-section {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(46, 139, 87, 0.02) 100%);
    border-radius: 20px;
}

.quiz-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quiz-question h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 600;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.quiz-options.show {
    opacity: 1;
    transform: translateY(0);
}

.quiz-option {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-weight: 500;
}

.quiz-option:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.quiz-option.correct {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

.quiz-option.incorrect {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
    border-color: #dc3545;
}

.quiz-option:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.quiz-progress {
    margin: 30px 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
}

.quiz-result {
    text-align: center;
    padding: 20px;
}

.quiz-result h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.quiz-result p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.quiz-restart {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

/* Animation des statistiques */
.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design pour les fonctionnalités interactives */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        left: 80px;
        text-align: left;
        max-width: calc(100% - 100px);
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-content {
        padding: 20px;
    }

    .quiz-container {
        margin: 0 20px;
        padding: 20px;
    }

    .quiz-title {
        font-size: 1.8rem;
    }

    .timeline-title {
        font-size: 2rem;
    }

    /* Hamburger Menu Mobile */
    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        width: 30px;
        height: 25px;
        z-index: 1100;
    }

    .nav-toggle .hamburger,
    .nav-toggle .hamburger::before,
    .nav-toggle .hamburger::after {
        content: "";
        display: block;
        background-color: var(--white);
        height: 3px;
        border-radius: 2px;
        position: absolute;
        width: 100%;
        transition: all 0.3s ease;
    }

    .nav-toggle .hamburger {
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-toggle .hamburger::before {
        top: -10px;
    }

    .nav-toggle .hamburger::after {
        bottom: -10px;
    }

    #primary-navigation {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    #primary-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
        color: var(--white);
    }

    .nav a:hover {
        background: rgba(255,255,255,0.1);
    }
}

@media (max-width: 480px) {
    .timeline-item {
        margin: 30px 0;
    }

    .timeline-content {
        padding: 15px;
    }

    .quiz-option {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Correction couleur texte pour la bannière success-banner */
.success-banner {
    color: white !important;
}

.success-banner h2,
.success-banner p {
    color: white !important;
}

/* ==============================================
   CART INDICATOR STYLES
============================================== */
.cart-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(22, 160, 133, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.5rem;
    border: 3px solid var(--white);
}

.cart-indicator:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(22, 160, 133, 0.6);
}

.cart-indicator:active {
    transform: scale(0.95);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.cart-count.hidden {
    display: none;
}

.cart-count.animate {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Cart tooltip */
.cart-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 5px solid transparent;
    border-top-color: var(--dark-color);
}

.cart-indicator:hover .cart-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive cart indicator */
@media (max-width: 768px) {
    .cart-indicator {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -6px;
        right: -6px;
    }

    .cart-tooltip {
        bottom: 60px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

/* ==============================================
   pour les phones et tablettes
============================================== */
@media (max-width: 900px) {
    .container {
        padding: 0 10px;
    }
    .stats-grid, .card-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .timeline, .timeline-container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .timeline-content {
        padding: 16px !important;
        font-size: 1rem !important;
    }
    .footer-main {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .nav {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .hero h1 {
        font-size: 2rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
}
/* ===========================
   Responsive Design Mobile
=========================== */
@media (max-width: 900px) {
    .container {
        padding: 0 8px !important;
    }
    .header, .footer {
        padding: 10px 0 !important;
    }
    .logo span {
        font-size: 1.1rem !important;
    }
    .nav {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
    }
    .nav-link {
        font-size: 1rem !important;
        padding: 10px 0 !important;
    }
    .nav-toggle {
        display: block !important;
    }
    #primary-navigation {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        z-index: 999;
        display: none;
    }
    #primary-navigation.active {
        display: block !important;
    }
    .footer-main {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .footer-links, .footer-social {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .stats-grid, .card-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .card {
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }
    .timeline-container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .timeline-item, .timeline-content {
        padding: 12px !important;
        font-size: 1rem !important;
    }
    .timeline-content h3 {
        font-size: 1.1rem !important;
    }
    .hero h1 {
        font-size: 1.5rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
    .cta-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
}
@media (max-width: 900px) {
    #primary-navigation {
        background: #fff !important;
        color: #222 !important;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        z-index: 999;
        display: none;
    }
    #primary-navigation.active {
        display: block !important;
    }
    .nav {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: flex-start !important;
        padding: 16px !important;
    }
    .nav-link {
        color: #1565C0 !important;
        font-size: 1.2rem !important;
        padding: 12px 0 !important;
        display: block !important;
    }
}
/* Responsive design pour join-us.html */
@media (max-width: 900px) {
    .container, .section {
        padding: 12px !important;
        margin: 0 !important;
        max-width: 100vw !important;
    }
    .section-title h1 {
        font-size: 1.4rem !important;
        text-align: center !important;
        margin-bottom: 18px !important;
    }
    .section-title p {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    .conditions-section {
        padding: 16px !important;
        margin: 18px 0 !important;
        border-radius: 10px !important;
    }
    .conditions-title {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    .btn, .btn-primary, .btn-success {
        width: 100% !important;
        font-size: 1.1rem !important;
        padding: 14px !important;
        margin-top: 12px !important;
        border-radius: 8px !important;
    }
    .quiz-container {
        padding: 8px !important;
    }
}
/* ===========================
   FAQ Design Modernisé
=========================== */
.faq-list {
    margin: 32px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}
.faq-item {
    background: rgba(255,255,255,0.97);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(33,150,243,0.07);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s, border 0.2s;
    border-left: 5px solid #8a2be2;
    position: relative;
}
.faq-item:hover {
    box-shadow: 0 4px 24px rgba(33,150,243,0.13);
    border-left: 5px solid #1565C0;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    outline: none;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 20px 28px;
    cursor: pointer;
    color: #1565C0;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.faq-question.open {
    background: linear-gradient(90deg, #e3e6fa 0%, #f3f6ff 100%);
    color: #8a2be2;
}
.faq-question::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1rem;
    color: #8a2be2;
    margin-left: auto;
    transition: transform 0.3s;
}
.faq-question.open::after {
    transform: rotate(180deg);
    color: #1565C0;
}
.faq-answer {
    display: none;
    padding: 0 28px 18px 28px;
    color: #222;
    font-size: 1.02rem;
    line-height: 1.7;
    background: none;
    animation: fadeInFaq 0.4s;
}
@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}
.faq-answer a {
    color: #8a2be2;
    text-decoration: underline;
    font-weight: 500;
}
@media (max-width: 900px) {
    .faq-list {
        max-width: 100%;
        padding: 0 8px;
    }
    .faq-question {
        font-size: 1rem;
        padding: 14px 12px;
    }
    .faq-answer {
        font-size: 0.98rem;
        padding: 0 12px 14px 12px;
    }
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px 0;
}
.card {
    /* ...tes styles existants... */
}
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ==============================================
   SECTION VOIR TOUS LES LIVRES
============================================== */
.books-section {
    margin: 40px 0;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.books-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 600;
}

.books-section p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
}

.btn-lg i {
    margin-right: 10px;
}

.text-muted {
    color: var(--medium-gray) !important;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .books-section {
        margin: 30px 0;
        padding: 20px 15px;
    }
    
    .books-section h2 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}