        :root {
            --primary-color: #0d1117;
            --secondary-color: #161b22;
            --accent-color: #58a6ff;
            --text-color: #c9d1d9;
            --border-color: #30363d;
            --card-bg: #21262d;
            --hover-color: #2c333a;
            --success-color: #238636;
            --gradient-primary: linear-gradient(135deg, #58a6ff, #4193e0);
            --shadow-light: rgba(88, 166, 255, 0.1);
            --shadow-medium: rgba(88, 166, 255, 0.2);
            --shadow-heavy: rgba(88, 166, 255, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
        }

        body {
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--primary-color);
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        header {
            background-color: var(--secondary-color);
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }

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

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--accent-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 28px;
        }

        .menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-color);
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: background-color 0.3s;
        }

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

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-menu a {
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 6px;
            transition: all 0.3s;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--accent-color);
            background-color: var(--shadow-light);
        }

        .nav-menu a.active {
            color: var(--accent-color);
            background-color: var(--shadow-light);
        }

        /* Page Header */
        .page-header {
            padding: 140px 0 80px;
            text-align: center;
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            border-bottom: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2358a6ff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.5;
        }

        .page-header .container {
            position: relative;
            z-index: 1;
        }

        .page-header h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .page-header p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto;
            color: var(--text-color);
            opacity: 0.9;
            line-height: 1.7;
        }

        /* Resume Actions */
        .resume-actions {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        .action-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 16px 32px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .action-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.5s;
        }

        .action-btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 4px 15px var(--shadow-light);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px var(--shadow-medium);
        }

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

        .btn-secondary:hover {
            background: var(--accent-color);
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px var(--shadow-light);
        }

        /* Resume Content */
        .resume-content {
            padding: 80px 0;
        }

        .resume-grid {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 60px;
            margin-top: 40px;
        }

        /* Sidebar */
        .resume-sidebar {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 40px 30px;
            height: fit-content;
            position: sticky;
            top: 120px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        }

        .profile-section {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 2px solid var(--border-color);
        }

        .profile-avatar {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 3.5rem;
            color: white;
            box-shadow: 0 8px 32px var(--shadow-light);
            position: relative;
        }

        .profile-avatar::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            background: var(--gradient-primary);
            border-radius: 50%;
            z-index: -1;
            opacity: 0.3;
            animation: pulse 2s infinite;
        }
        .project-image img {
    width: 100px; /* Ajustez selon la taille souhaitée */
    height: 100px;
    border-radius: 50%; /* Pour un effet rond comme l'icône */
    object-fit: cover;
    z-index: 1;
}

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.05); opacity: 0.1; }
        }

        .profile-name {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 8px;
        }

        .profile-title {
            color: var(--accent-color);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .profile-location {
            color: #8b949e;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .sidebar-section {
            margin-bottom: 35px;
        }

        .sidebar-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .sidebar-title i {
            color: var(--accent-color);
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            padding: 12px;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            background: var(--hover-color);
            transform: translateX(5px);
        }

        .contact-icon {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            background: var(--shadow-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-color);
            font-size: 1.1rem;
        }

        .contact-info {
            flex: 1;
        }

        .contact-label {
            font-size: 0.8rem;
            color: #8b949e;
            text-transform: uppercase;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .contact-value {
            color: var(--text-color);
            font-weight: 500;
            margin-top: 2px;
        }

        .contact-value a {
            color: var(--text-color);
            text-decoration: none;
            transition: color 0.3s;
        }

        .contact-value a:hover {
            color: var(--accent-color);
        }

        .skill-item {
            margin-bottom: 22px;
        }

        .skill-name {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .skill-name span {
            font-weight: 600;
            color: var(--text-color);
        }

        .skill-level {
            font-size: 0.85rem;
            color: var(--accent-color);
            font-weight: 600;
            background: var(--shadow-light);
            padding: 4px 8px;
            border-radius: 12px;
        }

        .skill-bar {
            height: 10px;
            background: var(--hover-color);
            border-radius: 6px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 6px;
            transition: width 1s ease;
            position: relative;
        }

        .skill-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .language-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 16px;
            background: var(--hover-color);
            border-radius: 12px;
            margin-bottom: 12px;
            transition: all 0.3s ease;
        }

        .language-item:hover {
            background: var(--secondary-color);
            transform: translateX(5px);
        }

        .language-name {
            font-weight: 600;
            color: var(--text-color);
        }

        .language-level {
            background: var(--success-color);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Main Content */
        .resume-main {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        }

        .section {
            padding: 50px 40px;
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        .section:last-child {
            border-bottom: none;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 35px;
        }

        .section-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.6rem;
            box-shadow: 0 4px 20px var(--shadow-light);
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-color);
            letter-spacing: -0.02em;
        }

        .summary-text {
            font-size: 1.15rem;
            line-height: 1.8;
            color: var(--text-color);
            opacity: 0.95;
        }

        /* Timeline Styles */
        .timeline {
            position: relative;
            padding-left: 35px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, var(--accent-color), rgba(88, 166, 255, 0.2));
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 50px;
            padding-left: 45px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -16px;
            top: 12px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--accent-color);
            border: 4px solid var(--card-bg);
            box-shadow: 0 0 0 4px var(--accent-color), 0 4px 12px var(--shadow-light);
            z-index: 1;
        }

        .timeline-date {
            display: inline-block;
            background: var(--shadow-light);
            color: var(--accent-color);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 12px;
            border: 1px solid var(--shadow-medium);
        }

        .timeline-content h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 8px;
            line-height: 1.3;
        }

        .timeline-company {
            color: var(--accent-color);
            font-weight: 600;
            margin-bottom: 16px;
            font-size: 1.1rem;
        }

        .timeline-description {
            color: #8b949e;
            line-height: 1.7;
            margin-bottom: 18px;
            font-size: 1.05rem;
        }

        .timeline-achievements {
            list-style: none;
            padding: 0;
        }

        .timeline-achievements li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 10px;
            color: var(--text-color);
            line-height: 1.6;
            font-size: 1.02rem;
        }

        .timeline-achievements li::before {
            content: '▶';
            position: absolute;
            left: 0;
            color: var(--accent-color);
            font-size: 0.8rem;
            top: 2px;
        }

        /* Education & Certifications */
        .education-grid, .cert-grid {
            display: grid;
            gap: 25px;
        }

        .education-item, .cert-item {
            background: var(--hover-color);
            padding: 30px;
            border-radius: 18px;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .education-item::before, .cert-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-primary);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .education-item:hover, .cert-item:hover {
            background: var(--secondary-color);
            border-color: var(--accent-color);
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .education-item:hover::before, .cert-item:hover::before {
            transform: translateX(0);
        }

        .education-degree, .cert-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .education-school, .cert-issuer {
            color: var(--accent-color);
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 1.05rem;
        }

        .education-date, .cert-date {
            background: var(--shadow-light);
            color: var(--accent-color);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            border: 1px solid var(--shadow-medium);
        }

        /* Technical Skills Grid */
        .tech-skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        .tech-category {
            background: var(--hover-color);
            padding: 30px;
            border-radius: 18px;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .tech-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-primary);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .tech-category:hover {
            background: var(--secondary-color);
            border-color: var(--accent-color);
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .tech-category:hover::before {
            transform: translateX(0);
        }

        .tech-category-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .tech-category-icon {
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.1rem;
            box-shadow: 0 4px 12px var(--shadow-light);
        }

        .tech-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tech-tag {
            background: var(--shadow-light);
            color: var(--accent-color);
            padding: 8px 14px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid var(--shadow-medium);
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--accent-color);
            color: var(--primary-color);
            transform: translateY(-2px);
        }

        /*Logo*/
        .logo-img {
            height: 40px;
            width: auto;
            transition: all 0.3s ease;
            }

        .logo-img:hover {
             transform: scale(1.05);
            opacity: 0.9;
            }

        .logo {
                display: flex;
                align-items: center;
            }

        /* Footer */
        footer {
            background: linear-gradient(to bottom, var(--secondary-color), #0a0c10);
            padding: 80px 0 50px;
            border-top: 1px solid var(--shadow-medium);
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 25px;
        }

        .footer-logo {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-color);
        }

        .footer-social {
            display: flex;
            gap: 20px;
        }

        .footer-social a {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background: var(--shadow-light);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
            border: 1px solid var(--shadow-medium);
        }

        .footer-social a:hover {
            background-color: var(--accent-color);
            transform: translateY(-8px);
            box-shadow: 0 8px 25px var(--shadow-light);
        }

        .footer-social a i {
            color: var(--accent-color);
            font-size: 1.3rem;
        }

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

        .footer-text {
            color: #8b949e;
            font-size: 0.95rem;
            text-align: center;
            max-width: 600px;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .resume-grid {
                grid-template-columns: 320px 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .menu-btn {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 80px;
                left: -100%;
                flex-direction: column;
                background-color: var(--secondary-color);
                width: 100%;
                padding: 30px 20px;
                transition: 0.3s;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
                gap: 15px;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                width: 100%;
            }

            .nav-menu a {
                display: block;
                padding: 15px 20px;
                width: 100%;
                text-align: center;
                border-radius: 12px;
            }
                    .nav-menu a.active {
            color: var(--accent-color);
        }
                .nav-menu.active {
                left: 0;
            }


            .page-header {
                padding: 120px 0 60px;
            }

            .page-header h1 {
                font-size: 2.8rem;
            }

            .page-header p {
                font-size: 1.1rem;
            }

            .resume-actions {
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

            .action-btn {
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }

            .resume-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .resume-sidebar {
                position: static;
                order: 2;
            }

            .section {
                padding: 40px 25px;
            }

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

            .tech-skills-grid {
                grid-template-columns: 1fr;
            }

    .timeline {
        padding-left: 25px;
    }

    .timeline::before {
        left: 12px; /* Ajusté pour correspondre au nouveau padding */
    }

    .timeline-item {
        padding-left: 30px; /* Réduit pour équilibrer l'espace */
    }

    .timeline-item::before {
        left: -19px; /* Ajusté pour centrer le point sur la ligne */
        top: 12px; /* Maintenir l'alignement vertical */
    }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .page-header h1 {
                font-size: 2.2rem;
            }

            .page-header p {
                font-size: 1rem;
            }

            .section {
                padding: 30px 20px;
            }

            .section-header {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }

            .section-title {
                font-size: 1.6rem;
            }

            .timeline {
                padding-left: 20px;
            }

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

            .profile-avatar {
                width: 120px;
                height: 120px;
                font-size: 3rem;
            }

            .tech-category, .education-item, .cert-item {
                padding: 25px 20px;
            }
        }

        /* Loading Animation */
        .skill-progress {
            animation: loadSkill 1.5s ease-in-out;
        }

        @keyframes loadSkill {
            from { width: 0; }
        }

        /* Scroll Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
    color: white;
    font-size: 2rem;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-btn i {
        font-size: 1.5rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-btn i {
        font-size: 1.3rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}