  /* =========================
           PROFESSIONAL COLOR PALETTE
        ========================= */
        :root {
            --bg: #f8fafc;
            --text: #0f172a; 
            --primary: #2563eb; 
            --primary-light: #60a5fa;
            --secondary: #64748b;
            --card-bg: #ffffff;
            --border: #e2e8f0;
            --nav-bg: rgba(255, 255, 255, 0.85);
            --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-theme="dark"] {
            --bg: #020617;
            --text: #f1f5f9;
            --primary: #3b82f6;
            --primary-light: #93c5fd;
            --secondary: #94a3b8;
            --card-bg: #0f172a;
            --border: #1e293b;
            --nav-bg: rgba(2, 6, 23, 0.85);
            --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "Plus Jakarta Sans", sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            transition: background-color 0.5s ease, color 0.5s ease;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* =========================
           NAVIGATION
        ========================= */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            height: 70px;
            background: var(--nav-bg);
            backdrop-filter: blur(12px);
            z-index: 1000;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            transition: var(--transition);
        }

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

        .logo {
            font-weight: 800;
            font-size: 1.25rem;
            color: var(--primary);
            text-decoration: none;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--secondary);
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* =========================
           HERO SECTION
        ========================= */
        header {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 100px 1rem 6rem;
        }

        .profile-wrapper {
            position: relative;
            margin-bottom: 2rem;
            width: 200px;
            height: 200px;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--primary);
            box-shadow: var(--shadow);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .name-gradient {
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1rem;
            letter-spacing: -1.5px;
        }

        .role-tag {
            color: var(--primary);
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
        }

        .header-bio {
            max-width: 700px;
            color: var(--secondary);
            font-size: 1.15rem;
            margin: 0 auto;
        }

        /* =========================
           SECTIONS
        ========================= */
        section {
            padding: 6rem 0;
        }

        .section-header {
            margin-bottom: 4rem;
            text-align: center;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }

        .section-title span {
            color: var(--primary);
            font-size: 1.1rem;
            font-family: monospace;
            opacity: 0.6;
        }

        /* =========================
           TIMELINE (Professional Journey)
        ========================= */
        .timeline {
            max-width: 800px;
            margin: 0 auto;
            border-left: 2px solid var(--border);
            padding-left: 2.5rem;
            position: relative;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 4rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: calc(-2.5rem - 7px);
            top: 6px;
            width: 12px;
            height: 12px;
            background: var(--primary);
            border-radius: 50%;
            box-shadow: 0 0 0 5px var(--bg);
        }

        .timeline-date {
            font-weight: 800;
            color: var(--primary);
            font-size: 0.9rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .timeline-content h3 {
            font-size: 1.4rem;
            margin-bottom: 0.2rem;
        }

        .timeline-subtitle {
            font-weight: 600;
            color: var(--secondary);
            font-style: italic;
            margin-bottom: 1rem;
            display: block;
        }

        /* =========================
           SKILLS
        ========================= */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
        }

        .skill-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 1.8rem 1rem;
            border-radius: 20px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .skill-item i {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 1rem;
            display: block;
        }

        .skill-item:hover, .skill-item.active {
            transform: translateY(-8px);
            border-color: var(--primary);
            background: var(--primary);
            color: white;
        }

        .skill-item:hover i, .skill-item.active i {
            color: white;
        }

        .skill-desc-container {
            margin-top: 2rem;
            background: var(--card-bg);
            border: 1px dashed var(--primary);
            padding: 2rem;
            border-radius: 20px;
            min-height: 100px;
            display: none;
            animation: fadeIn 0.4s ease;
        }

        /* =========================
           PROJECTS
        ========================= */
        .video-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .video-box {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            aspect-ratio: 16/9;
            background: #000;
            box-shadow: var(--shadow);
        }

        .video-box img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: 0.5s ease;
            opacity: 0.8;
        }

        .video-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.3);
            transition: 0.3s;
        }

        .video-box:hover img { transform: scale(1.1); opacity: 1; }

        /* =========================
           CONTACT & FOOTER
        ========================= */
        .contact-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 35px;
            padding: 5rem 2rem;
            text-align: center;
            box-shadow: var(--shadow);
        }

        .contact-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 3.5rem;
        }

        .contact-btn {
            padding: 1.2rem;
            border-radius: 18px;
            text-decoration: none;
            color: white;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            transition: var(--transition);
        }

        .email-btn { background: #2563eb; }
        .linkedin-btn { background: #0077b5; }
        .github-btn { background: #1e293b; }
        .facebook-btn { background: #1877f2; }

        .contact-btn:hover {
            transform: translateY(-5px);
            filter: brightness(1.1);
        }

        #theme-toggle {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text);
            cursor: pointer;
            transition: var(--transition);
        }

        footer {
            padding: 4rem 0;
            text-align: center;
            border-top: 1px solid var(--border);
            color: var(--secondary);
            font-size: 0.9rem;
        }

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

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .timeline { margin-left: 1rem; }
            .name-gradient { font-size: 2.8rem; }
        }