    /* Variables */
    :root {
        /* Couleurs */
        --primary: #2563eb;
        --primary-light: #3b82f6;
        --primary-dark: #1d4ed8;
        --secondary: #10b981;
        --dark: #1e293b;
        --dark-light: #334155;
        --light: #f8fafc;
        --gray: #94a3b8;
        --gray-light: #e2e8f0;

        /* Polices */
        --font-primary: 'Montserrat', sans-serif;
        --font-secondary: 'Playfair Display', serif;

        /* Espacements */
        --space-xs: 0.5rem;
        --space-sm: 1rem;
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-xxl: 4rem;

        /* Bordures */
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 16px;
        --radius-full: 9999px;

        /* Ombres */
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
        --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
        --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    }

    /* Mode Sombre Cyberpunk - Style "Neon Grid" */
    [data-theme="dark"] {
        --primary: #00f0ff;
        --primary-light: #7df9ff;
        --primary-dark: #00a6c7;
        --secondary: #ff2a6d;
        --dark: #e0f8ff;
        --light: #0a0e17;
        --gray: #8b98b6;
        --gray-light: #1a2238;
        --dark-light: #151d33;
    }

    [data-theme="dark"] body {
        background-color: var(--light);
        color: var(--dark);
        background-image:
            linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
        background-size: 40px 40px;
        background-attachment: fixed;
    }

    /* Effet de bordure cyberpunk */
    [data-theme="dark"] .container {
        position: relative;
    }

    [data-theme="dark"] .container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg,
                transparent,
                var(--primary),
                var(--secondary),
                transparent);
        box-shadow: 0 0 10px var(--primary),
            0 0 20px var(--secondary);
    }

    /* Navbar futuriste - Premium Edition */
    [data-theme="dark"] .navbar {
        background-color: rgba(10, 14, 23, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(0, 240, 255, 0.3);
        box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
    }

    [data-theme="dark"] .nav-links a {
        text-shadow: 0 0 3px rgba(0, 240, 255, 0.2);
        color: var(--gray);
    }

    [data-theme="dark"] .nav-links a:hover,
    [data-theme="dark"] .nav-links a.active {
        color: var(--primary);
        text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    }

    [data-theme="dark"] .nav-links a::after {
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        box-shadow: 0 0 10px var(--primary);
    }

    /* Cartes avec effet néon */
    [data-theme="dark"] .skill-card,
    [data-theme="dark"] .project-card,
    [data-theme="dark"] .certification-card,
    [data-theme="dark"] .timeline-content {
        background-color: rgba(26, 34, 56, 0.7);
        border: 1px solid rgba(0, 240, 255, 0.2);
        box-shadow:
            0 0 10px rgba(0, 240, 255, 0.1),
            0 5px 20px rgba(0, 0, 0, 0.5);
        position: relative;
        overflow: hidden;
    }

    [data-theme="dark"] .skill-card::before,
    [data-theme="dark"] .project-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg,
                rgba(0, 240, 255, 0.05) 0%,
                rgba(255, 42, 109, 0.05) 100%);
        z-index: -1;
    }

    [data-theme="dark"] .skill-card:hover,
    [data-theme="dark"] .project-card:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow:
            0 0 20px rgba(0, 240, 255, 0.3),
            0 8px 25px rgba(0, 0, 0, 0.6);
        border-color: var(--primary);
    }

    /* En-têtes avec effet néon */
    [data-theme="dark"] .section-title {
        color: var(--primary);
        text-shadow:
            0 0 5px var(--primary),
            0 0 15px rgba(0, 240, 255, 0.5);
        position: relative;
        display: inline-block;
    }

    [data-theme="dark"] .section-title::after {
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        box-shadow:
            0 0 10px var(--primary),
            0 0 20px var(--secondary);
        height: 3px;
        bottom: -8px;
    }

    [data-theme="dark"] .section-subtitle {
        color: var(--gray);
        text-shadow: 0 0 5px rgba(139, 152, 182, 0.2);
    }

    /* Boutons cyberpunk */
    [data-theme="dark"] .btn {
        position: relative;
        overflow: hidden;
        border: none;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    [data-theme="dark"] .btn.primary {
        background: transparent;
        color: var(--primary);
        box-shadow:
            0 0 10px rgba(0, 240, 255, 0.3),
            inset 0 0 5px rgba(0, 240, 255, 0.3);
        border: 1px solid var(--primary);
    }

    [data-theme="dark"] .btn.primary::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(0, 240, 255, 0.2),
                transparent);
        transition: 0.5s;
    }

    [data-theme="dark"] .btn.primary:hover {
        background: rgba(0, 240, 255, 0.1);
        text-shadow: 0 0 5px var(--primary);
        box-shadow:
            0 0 20px rgba(0, 240, 255, 0.5),
            inset 0 0 10px rgba(0, 240, 255, 0.3);
    }

    [data-theme="dark"] .btn.primary:hover::before {
        left: 100%;
    }

    [data-theme="dark"] .btn.secondary {
        background: transparent;
        color: var(--secondary);
        box-shadow:
            0 0 10px rgba(255, 42, 109, 0.3),
            inset 0 0 5px rgba(255, 42, 109, 0.3);
        border: 1px solid var(--secondary);
    }

    /* Barres de compétences futuristes */
    [data-theme="dark"] .skill-bar {
        background-color: rgba(0, 240, 255, 0.1);
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .skill-level {
        background: linear-gradient(90deg,
                var(--primary),
                var(--secondary));
        box-shadow:
            0 0 5px var(--primary),
            0 0 10px var(--secondary);
    }

    /* Timeline cyberpunk */
    [data-theme="dark"] .timeline::before {
        background: linear-gradient(to bottom,
                var(--primary),
                var(--secondary));
        box-shadow:
            0 0 10px var(--primary),
            0 0 20px var(--secondary);
        width: 4px;
    }

    [data-theme="dark"] .timeline-date {
        background: var(--light);
        color: var(--primary);
        border: 1px solid var(--primary);
        box-shadow:
            0 0 10px var(--primary),
            inset 0 0 5px var(--primary);
        font-weight: 600;
    }

    /* Footer néon */
    [data-theme="dark"] .footer {
        background: rgba(10, 14, 23, 0.95);
        border-top: 1px solid var(--primary);
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    }

    [data-theme="dark"] .footer-social a {
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid var(--primary);
        box-shadow:
            0 0 5px var(--primary),
            inset 0 0 3px var(--primary);
    }

    [data-theme="dark"] .footer-social a:hover {
        background: var(--primary) !important;
        color: var(--light);
        box-shadow:
            0 0 15px var(--primary),
            inset 0 0 10px rgba(0, 0, 0, 0.3);
    }

    /* Effets de scanlines (optionnel) */
    [data-theme="dark"] body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:
            linear-gradient(rgba(0, 240, 255, 0.03) 1px,
                transparent 1px);
        background-size: 100% 2px;
        pointer-events: none;
        z-index: 9999;
        animation: scanline 8s linear infinite;
    }

    @keyframes scanline {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(100%);
        }
    }

    /* Animation de flicker aléatoire */
    @keyframes flicker {

        0%,
        19%,
        21%,
        23%,
        25%,
        54%,
        56%,
        100% {
            opacity: 1;
        }

        20%,
        22%,
        24%,
        55% {
            opacity: 0.5;
        }
    }

    [data-theme="dark"] .navbar,
    [data-theme="dark"] .section-title,
    [data-theme="dark"] .btn {
        animation: flicker 8s infinite reverse;
    }

    /* Reset et base */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: var(--font-primary);
        color: var(--dark);
        background-color: var(--light);
        line-height: 1.6;
        transition: background-color 0.3s, color 0.3s;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--font-secondary);
        font-weight: 600;
        line-height: 1.2;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    ul {
        list-style: none;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-xxl) 0;
        scroll-margin-top: 80px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 1.8rem;
        border-radius: 50px;
        font-weight: 600;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: 1px solid transparent;
        cursor: pointer;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .btn.primary {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        color: white;
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    }

    .btn.primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(37, 99, 235, 0.35);
    }

    .btn.secondary {
        background-color: rgba(255, 255, 255, 0.7);
        color: var(--primary);
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .btn.secondary:hover {
        background-color: white;
        border-color: white;
        transform: translateY(-3px);
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    }

    .btn.small {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: var(--space-xl);
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: var(--space-sm);
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background-color: var(--primary);
    }

    .section-subtitle {
        color: var(--gray);
        font-size: 1.125rem;
    }

    /* Barre de progression */
    .progress-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: transparent;
        z-index: 1000;
    }

    .progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        width: 0%;
        transition: width 0.1s ease;
    }

    /* Navigation - Premium Glassmorphism Design */
    .navbar {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1200px;
        padding: 0.75rem 2rem;
        background-color: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 50px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .navbar.scrolled {
        top: 10px;
        padding: 0.5rem 2rem;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        width: 95%;
    }

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .logo {
        font-weight: 700;
        font-size: 1.5rem;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: var(--space-xs);
        transition: transform 0.3s ease;
    }

    .logo:hover {
        transform: scale(1.05);
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        position: relative;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--dark-light);
        padding: 0.5rem 0;
        transition: all 0.3s ease;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 3px;
        transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 100%;
    }

    .theme-toggle {
        cursor: pointer;
        font-size: 1.25rem;
        color: var(--gray);
        transition: color 0.3s;
    }

    .theme-toggle:hover {
        color: var(--primary);
    }

    .language-switcher {
        display: flex;
        gap: 0.5rem;
        margin-left: 1rem;
    }

    .language-btn {
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        border: none;
        background: transparent;
        color: var(--gray);
    }

    .language-btn.active {
        background: var(--primary);
        color: white;
    }

    .language-btn:not(.active):hover {
        background: var(--gray-light);
    }

    .menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--dark);
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Loader */
    .loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.3s;
    }

    .spinner {
        width: 50px;
        height: 50px;
        border: 5px solid var(--gray-light);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 80px;
        position: relative;
        overflow: hidden;
    }

    .hero .container {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
        position: relative;
        z-index: 1;
    }

    .hero-content {
        flex: 1;
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .image-wrapper {
        width: 380px;
        height: 380px;
        border-radius: 24px;
        overflow: hidden;
        border: none;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        position: relative;
    }

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .image-wrapper:hover img {
        transform: scale(1.05);
    }

    .subtitle {
        font-size: 1.125rem;
        color: var(--gray);
        margin-bottom: var(--space-sm);
        animation: fadeInUp 0.8s ease;
    }

    .title {
        font-size: 3.5rem;
        margin-bottom: var(--space-sm);
        line-height: 1.1;
        animation: fadeInUp 0.8s ease 0.2s forwards;
        opacity: 0;
    }

    .job-title {
        font-size: 1.5rem;
        color: var(--gray);
        margin-bottom: var(--space-md);
        font-weight: 400;
        animation: fadeInUp 0.8s ease 0.4s forwards;
        opacity: 0;
    }

    .description {
        margin-bottom: var(--space-lg);
        max-width: 600px;
        animation: fadeInUp 0.8s ease 0.6s forwards;
        opacity: 0;
    }

    .cta-buttons {
        display: flex;
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
        animation: fadeInUp 0.8s ease 0.8s forwards;
        opacity: 0;
    }

    .social-links {
        display: flex;
        gap: var(--space-md);
        animation: fadeInUp 0.8s ease 1s forwards;
        opacity: 0;
    }

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--gray-light);
        color: var(--dark);
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

    /* About Section */
    .about-content {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }

    .about-image {
        flex: 1;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-xl);
        transition: transform 0.5s ease;
    }

    .about-image:hover {
        transform: scale(1.02);
    }

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .about-text {
        flex: 1;
    }

    .about-text h3 {
        font-size: 1.75rem;
        margin-bottom: var(--space-md);
    }

    .about-text p {
        margin-bottom: var(--space-md);
        color: var(--gray);
    }

    .about-stats {
        display: flex;
        gap: var(--space-lg);
        margin: var(--space-lg) 0;
    }

    .stat-item {
        text-align: center;
        flex: 1;
    }

    .stat-item .number {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary);
    }

    .stat-item .label {
        color: var(--gray);
        font-size: 0.875rem;
    }

    /* Education Section Styles */
    .education {
        background-color: var(--light);
        position: relative;
    }

    .timeline {
        position: relative;
        max-width: 900px;
        margin: 0 auto;
        padding: var(--space-xl) 0;
    }

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 3px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary), var(--secondary));
    }

    .timeline-item {
        position: relative;
        margin-bottom: var(--space-xl);
        width: 100%;
        padding-left: 50%;
        padding-right: 30px;
    }

    .timeline-item:nth-child(even) {
        padding-left: 30px;
        padding-right: 50%;
    }

    .timeline-date {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--primary);
        color: white;
        padding: var(--space-xs) var(--space-md);
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 0.875rem;
        white-space: nowrap;
        z-index: 1;
        box-shadow: var(--shadow-sm);
    }

    .timeline-item:nth-child(even) .timeline-date {
        left: auto;
        right: 50%;
        transform: translateX(50%);
    }

    .timeline-content {
        position: relative;
        padding: var(--space-lg);
        background-color: white;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
    }

    .timeline-content:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 20px;
        width: 20px;
        height: 20px;
        background-color: white;
        transform: rotate(45deg);
        box-shadow: var(--shadow-sm);
    }

    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
    }

    .timeline-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-sm);
    }

    .timeline-header h3 {
        color: var(--primary);
        margin: 0;
        font-size: 1.25rem;
    }

    .timeline-location {
        font-size: 0.875rem;
        color: var(--gray);
        display: flex;
        align-items: center;
        gap: var(--space-xs);
    }

    .timeline-description {
        color: var(--dark);
        margin-bottom: var(--space-sm);
    }

    .timeline-achievements {
        color: var(--gray);
        font-size: 0.875rem;
        font-style: italic;
    }

    .timeline-skills h4 {
        font-size: 0.875rem;
        color: var(--gray);
        margin: var(--space-sm) 0 var(--space-xs);
    }

    .skills-list {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        margin: 0;
        padding: 0;
    }

    .skills-list li {
        background-color: var(--gray-light);
        padding: 4px 12px;
        border-radius: var(--radius-full);
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--dark);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .timeline::before {
            left: 30px;
        }

        .timeline-item,
        .timeline-item:nth-child(even) {
            padding-left: 80px;
            padding-right: 30px;
        }

        .timeline-date,
        .timeline-item:nth-child(even) .timeline-date {
            left: 30px;
            right: auto;
            transform: none;
        }

        .timeline-content::before {
            left: -10px !important;
        }
    }

    @media (max-width: 576px) {
        .timeline-header {
            flex-direction: column;
            align-items: flex-start;
            gap: var(--space-xs);
        }
    }

    /* Skills Section */
    .skills-container {
        overflow-x: auto;
        padding-bottom: var(--space-md);
    }

    .skills-scroll {
        display: flex;
        gap: var(--space-md);
        padding-bottom: var(--space-sm);
        min-width: max-content;
    }

    .skill-card {
        background-color: white;
        border-radius: var(--radius-lg);
        padding: var(--space-lg);
        box-shadow: var(--shadow-md);

        min-width: 250px;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .skill-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .skill-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s;
    }

    .skill-card:hover::before {
        transform: scaleX(1);
    }

    .skill-header {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }

    .skill-header i {
        font-size: 1.5rem;
        color: var(--primary);
    }

    .skill-header h3 {
        font-size: 1.25rem;
    }

    .skill-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .skill-list li {
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
    }

    .skill-level {
        position: relative;
    }

    .skill-level::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transform: scaleX(0);
        transform-origin: left;
        animation: shine 2s infinite;
    }

    @keyframes shine {
        0% {
            transform: scaleX(0);
        }

        50% {
            transform: scaleX(1);
            opacity: 0.8;
        }

        100% {
            transform: scaleX(0);
        }
    }

    .skill-name {
        font-weight: 500;
        font-size: 0.875rem;
        display: flex;
        justify-content: space-between;
    }

    .skill-bar {
        width: 100%;
        height: 8px;
        background-color: var(--gray-light);
        border-radius: var(--radius-full);
        overflow: hidden;
    }

    .skill-level {
        height: 100%;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: var(--radius-full);
        width: 0;
        transition: width 1s ease-in-out;
    }

    /* Work Section */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-lg);
    }

    .project-card {
        background-color: white;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .project-image {
        height: 200px;
        overflow: hidden;
        position: relative;
    }

    .project-image img,
    .project-image video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-card:hover .project-image img,
    .project-card:hover .project-image video {
        transform: scale(1.05);
    }

    .project-info {
        padding: var(--space-md);
    }

    .project-info h3 {
        margin-bottom: var(--space-xs);
        font-size: 1.25rem;
    }

    .project-info p {
        color: var(--gray);
        margin-bottom: var(--space-md);
        font-size: 0.875rem;
    }

    .project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        margin-bottom: var(--space-md);
    }

    .project-tags span {
        background-color: var(--gray-light);
        color: var(--dark);
        padding: 2px 8px;
        border-radius: var(--radius-full);
        font-size: 0.75rem;
        font-weight: 500;
    }

    .more-projects {
        text-align: center;
        margin-top: var(--space-xl);
    }

    /* Contact Section */
    .contact-card {
        background: var(--light);
        max-width: 600px;
        margin: 2rem auto;
        padding: 3rem;
        border-radius: 16px;
        box-shadow: var(--shadow-xl);
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
    }

    .contact-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto 1.5rem;
        border: 3px solid var(--primary);
        overflow: hidden;
    }

    .contact-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .contact-methods {
        margin-bottom: 2rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }

    .contact-methods a {
        display: inline-flex;
        align-items: center;
        color: var(--primary);
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        border-radius: 50px;
        background: rgba(37, 99, 235, 0.1);
        transition: all 0.3s ease;
    }

    .contact-methods a:hover {
        background-color: var(--primary);
        color: white;
        transform: translateY(-2px);
    }

    .social-presence {
        margin-top: 2rem;
    }

    .social-presence p {
        color: var(--gray);
        margin-bottom: 1rem;
    }

    .social-presence a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--primary), var(--primary-light));
        color: white;
        font-size: 1.25rem;
        margin: 0 0.5rem;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }

    .social-presence a:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }

    /* Assistant IA */
    .ai-assistant {
        position: fixed;
        bottom: var(--space-lg);
        right: var(--space-lg);
        z-index: 999;
    }

    .assistant-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: var(--shadow-lg);
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
    }

    .assistant-btn:hover {
        transform: scale(1.1);
    }

    .assistant-btn.pulse {
        animation: pulse 2s infinite;
    }

    .assistant-chat {
        position: absolute;
        bottom: 80px;
        right: 0;
        width: 350px;
        background-color: white;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .assistant-chat.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .chat-header {
        padding: var(--space-md);
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .chat-header h4 {
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: var(--space-xs);
    }

    .close-chat {
        background: none;
        border: none;
        color: white;
        font-size: 1rem;
        cursor: pointer;
    }

    .chat-messages {
        padding: var(--space-md);
        max-height: 300px;
        overflow-y: auto;
    }

    .assistant-message,
    .user-message {
        padding: var(--space-sm);
        margin-bottom: var(--space-sm);
        border-radius: var(--radius-md);
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .assistant-message {
        background-color: var(--gray-light);
        color: var(--dark);
    }

    .user-message {
        background-color: var(--primary);
        color: white;
        margin-left: var(--space-xl);
    }

    .chat-input {
        display: flex;
        padding: var(--space-md);
        border-top: 1px solid var(--gray-light);
    }

    .chat-input input {
        flex: 1;
        padding: var(--space-sm);
        border: 1px solid var(--gray-light);
        border-radius: var(--radius-sm);
        font-family: var(--font-primary);
    }

    .chat-input button {
        margin-left: var(--space-sm);
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: var(--radius-sm);
        padding: 0 var(--space-md);
        cursor: pointer;
    }

    .typing-indicator {
        display: flex;
        gap: 4px;
        padding: var(--space-sm);
    }

    .typing-dot {
        width: 8px;
        height: 8px;
        background-color: var(--gray);
        border-radius: 50%;
        animation: typing 1.4s infinite ease-in-out;
    }

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    /* Footer */
    .footer {
        background-color: var(--dark);
        color: white;
        padding: var(--space-xl) 0;
        text-align: center;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    .footer-logo {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        display: flex;
        align-items: center;
        gap: var(--space-xs);
    }

    .footer-links {
        display: flex;
        gap: var(--space-lg);
        margin-bottom: var(--space-md);
    }

    .footer-links a {
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: var(--primary);
    }

    .footer-social {
        display: flex;
        gap: var(--space-md);
        margin-bottom: var(--space-md);
    }

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        transition: all 0.3s ease;
    }

    .footer-social a:hover {
        background-color: var(--primary);
        transform: translateY(-3px);
    }

    .copyright {
        color: var(--gray);
        font-size: 0.875rem;
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        }
    }

    @keyframes typing {

        0%,
        60%,
        100% {
            transform: translateY(0);
        }

        30% {
            transform: translateY(-5px);
        }
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    /* Responsive */
    @media (max-width: 992px) {
        .hero .container {
            flex-direction: column;
            text-align: center;
        }

        .hero-content {
            margin-bottom: var(--space-xl);
        }

        .description {
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            justify-content: center;
        }

        .social-links {
            justify-content: center;
        }

        .about-content {
            flex-direction: column;
        }

        .about-image {
            max-width: 500px;
            margin: 0 auto var(--space-xl);
        }

        .contact-content {
            flex-direction: column;
        }
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: flex;
        }

        .language-switcher {
            margin-left: 0;
            margin-top: var(--space-md);
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 320px;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-left: 1px solid rgba(255, 255, 255, 0.6);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: var(--space-lg);
            transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        }

        [data-theme="dark"] .nav-links {
            background-color: rgba(10, 14, 23, 0.95);
            border-left: 1px solid rgba(0, 240, 255, 0.3);
            box-shadow: -10px 0 40px rgba(0, 240, 255, 0.1);
        }

        .nav-links.active {
            right: 0;
        }

        .section-title {
            font-size: 2rem;
        }

        .title {
            font-size: 2.5rem;
        }

        .job-title {
            font-size: 1.25rem;
        }

        .cta-buttons {
            flex-direction: column;
        }

        .about-stats {
            flex-direction: column;
            gap: var(--space-md);
        }

        .footer-links {
            flex-direction: column;
            align-items: center;
            gap: var(--space-sm);
        }

        .ai-assistant {
            bottom: var(--space-md);
            right: var(--space-md);
        }

        .assistant-chat {
            width: 280px;
        }

        .timeline::before {
            left: 30px;
        }

        .timeline-date {
            left: 30px;
            transform: none;
        }

        .timeline-content {
            width: calc(100% - 80px);
            margin-left: 80px !important;
        }

        .timeline-content::before {
            left: -10px !important;
        }
    }

    @media (max-width: 576px) {
        .title {
            font-size: 2rem;
        }

        .section-title {
            font-size: 1.75rem;
        }

        .hero-image {
            display: none;
        }

        .contact-card {
            padding: var(--space-xl) var(--space-md);
        }

        .contact-methods {
            flex-direction: column;
        }
    }

    /* Certifications Section - Premium Redesign */
    .certifications {
        background-color: var(--light);
        padding: 5rem 0;
        position: relative;
    }

    .certifications-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }

    .certification-card {
        background-color: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.03);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        position: relative;
        z-index: 1;
    }

    .certification-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
        border-color: rgba(37, 99, 235, 0.2);
    }

    .certification-header {
        padding: 2rem 2rem 1rem 2rem;
        background: white;
        border-bottom: none;
        color: var(--dark);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .certification-header i {
        font-size: 1.35rem;
        color: var(--primary);
        background: rgba(37, 99, 235, 0.08);
        /* faint blue */
        width: 48px;
        height: 48px;
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: none;
    }

    .certification-header h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
        line-height: 1.35;
        color: var(--dark);
        padding-top: 0.5rem;
    }

    .certification-body {
        padding: 0 2rem 2rem 2rem;
    }

    .certification-body p {
        color: #64748b;
        margin-bottom: 0;
        line-height: 1.6;
        font-size: 0.9rem;
    }

    .certification-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem 0;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        border-top: 1px dashed rgba(0, 0, 0, 0.15);
    }

    .certification-meta span {
        color: #64748b;
        font-size: 0.85rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .certification-meta span:nth-child(2) {
        justify-self: end;
    }

    .certification-meta span i {
        color: var(--primary);
        font-size: 1rem;
    }

    .certification-meta .btn {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        padding: 0.75rem 1.2rem;
        font-size: 0.85rem;
        font-weight: 600;
        background: rgba(37, 99, 235, 0.08);
        color: var(--primary);
        border: none;
        border-radius: 50px;
        box-shadow: none;
        transition: all 0.3s ease;
    }

    .certification-meta .btn:hover {
        background: rgba(37, 99, 235, 0.15);
        color: var(--primary-dark);
        transform: translateY(-2px);
    }

    @media (max-width: 768px) {
        .certifications-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Scroll to Top Button - Style similaire à l'IA */
    .scroll-top {
        position: fixed;
        bottom: 90px;
        right: 30px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        box-shadow: var(--shadow-lg);
        cursor: pointer;
        border: none;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 998;
    }

    .scroll-top.active {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        transform: scale(1.1);
        box-shadow: var(--shadow-xl);
    }

    /* Animation de pulse comme l'IA */
    .scroll-top.pulse {
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
        }
    }

    /* Style spécifique pour la certification IBM */
    .certification-card .certification-header[style*="background: linear-gradient(90deg, #0062FF, #054ADA)"] i {
        color: white;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 12px;
    }

    .certification-card .certification-header[style*="background: linear-gradient(90deg, #0062FF, #054ADA)"] h3 {
        color: white;
    }

    /* Mode sombre */
    [data-theme="dark"] .certification-card .certification-header[style*="background: linear-gradient(90deg, #0062FF, #054ADA)"] {
        background: linear-gradient(90deg, #0062FF, #054ADA) !important;
    }

    /* Certifications Section - Voir plus */
    .certifications-grid.hidden-items .certification-card:nth-child(n+5) {
        display: none;
    }

    .see-more-btn {
        display: block;
        margin: 2rem auto 0;
        padding: 0.8rem 1.5rem;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all 0.3s;
        font-weight: 500;
    }

    .see-more-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    [data-theme="dark"] .see-more-btn {
        background: var(--primary);
        color: var(--light);
    }

    [data-theme="dark"] .see-more-btn:hover {
        background: var(--primary-light);
    }

    /* Animation pour l'affichage des cartes */
    .certification-card {
        transition: all 0.5s ease;
        opacity: 1;
        transform: translateY(0);
    }

    .certifications-grid.hidden-items .certification-card:nth-child(n+5) {
        opacity: 0;
        transform: translateY(20px);
    }

    /* Responsive pour mobile */
    @media (max-width: 768px) {
        .certifications-grid.hidden-items .certification-card:nth-child(n+3) {
            display: none;
            opacity: 0;
            transform: translateY(20px);
        }
    }