  /* Theme Variables */
        :root {
            /* Light Professional Theme (Default) */
            --bg-primary: #ffffff;
            --bg-secondary: #f8f9fa;
            --bg-tertiary: #e9ecef;
            --text-primary: #2c3e50;
            --text-secondary: #5a6c7d;
            --accent-primary: #3498db;
            --accent-secondary: #2980b9;
            --accent-tertiary: #e74c3c;
            --border-color: #dee2e6;
        }

        [data-theme="dark"] {
            /* Dark Elegant Theme */
            --bg-primary: #0a0a0a;
            --bg-secondary: #1a1a1a;
            --bg-tertiary: #2a2a2a;
            --text-primary: #f5f1e8;
            --text-secondary: rgba(245, 241, 232, 0.8);
            --accent-primary: #d4af37;
            --accent-secondary: #a89158;
            --accent-tertiary: #ff6b35;
            --border-color: rgba(212, 175, 55, 0.2);
        }

        [data-theme="vibrant"] {
            /* Vibrant Modern Theme */
            --bg-primary: #f0f4f8;
            --bg-secondary: #ffffff;
            --bg-tertiary: #e0e7ef;
            --text-primary: #1a202c;
            --text-secondary: #4a5568;
            --accent-primary: #667eea;
            --accent-secondary: #5a67d8;
            --accent-tertiary: #f56565;
            --border-color: #cbd5e0;
        }

        /* Theme Switcher */
        .theme-switcher {
            position: fixed;
            top: 100px;
            right: 2rem;
            z-index: 1001;
            background: var(--bg-secondary);
            border: 2px solid var(--border-color);
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            animation: slideInRight 1s ease-out 1.5s backwards;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .theme-switcher.hidden {
            transform: translateX(150%);
            opacity: 0;
            pointer-events: none;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(150%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

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

        .theme-switcher h4 {
            font-size: 0.85rem;
            margin: 0;
            color: var(--text-primary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .theme-close {
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s ease;
        }

        .theme-close:hover {
            color: var(--accent-tertiary);
        }

        .theme-toggle-btn {
            position: fixed;
            top: 100px;
            right: 2rem;
            z-index: 1000;
            background: var(--accent-primary);
            color: #ffffff;
            border: none;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            display: none;
        }

        .theme-toggle-btn.visible {
            display: block;
            animation: slideInRight 0.3s ease-out;
        }

        .theme-toggle-btn:hover {
            background: var(--accent-secondary);
            transform: scale(1.05);
        }

        .theme-options {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .theme-btn {
            padding: 0.6rem 1rem;
            border: 2px solid var(--border-color);
            background: var(--bg-primary);
            color: var(--text-primary);
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            border-radius: 4px;
        }

        .theme-btn:hover {
            border-color: var(--accent-primary);
            transform: translateX(5px);
        }

        .theme-btn.active {
            background: var(--accent-primary);
            color: #ffffff;
            border-color: var(--accent-primary);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Animated grain overlay - only for dark theme */
        [data-theme="dark"] body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulance type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
            pointer-events: none;
            z-index: 9999;
            animation: grain 8s steps(10) infinite;
        }

        @keyframes grain {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -10%); }
            20% { transform: translate(-15%, 5%); }
            30% { transform: translate(7%, -25%); }
            40% { transform: translate(-5%, 25%); }
            50% { transform: translate(-15%, 10%); }
            60% { transform: translate(15%, 0%); }
            70% { transform: translate(0%, 15%); }
            80% { transform: translate(3%, 35%); }
            90% { transform: translate(-10%, 10%); }
        }

        /* Navigation */
        nav.navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 1.5rem 4rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: var(--bg-primary);
            backdrop-filter: blur(10px);
            animation: slideDown 1s ease-out;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: var(--accent-primary);
            text-decoration: none;
        }

        .logo img {
            height: 50px;
            width: auto;
        }

        .menu-toggle {
            display: none;
            background: transparent;
            border: 2px solid var(--accent-primary);
            color: var(--accent-primary);
            font-size: 1.5rem;
            padding: 0.5rem 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .menu-toggle:hover {
            background: var(--accent-primary);
            color: #ffffff;
        }

        #main-menu {
            display: flex;
            gap: 2.5rem;
        }

        #main-menu a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            position: relative;
            transition: color 0.3s ease;
        }

        #main-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-primary);
            transition: width 0.3s ease;
        }

        #main-menu a:hover,
        #main-menu a.active {
            color: var(--accent-primary);
        }

        #main-menu a:hover::after,
        #main-menu a.active::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            min-height: 50vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 10rem 4rem 4rem 4rem;
            overflow: hidden;
            text-align: center;
            background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 80%;
            height: 150%;
            background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
            opacity: 0.1;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            50% { transform: translate(-30px, -30px) rotate(5deg); }
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 1rem;
            letter-spacing: -2px;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.3s forwards;
            position: relative;
            z-index: 1;
            color: var(--text-primary);
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
            opacity: 0;
            animation: fadeInUp 1s ease-out 0.6s forwards;
            position: relative;
            z-index: 1;
        }

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

        /* Skills Section */
        .skills {
            padding: 4rem 2rem;
            background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
            text-align: center;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .skills h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2rem, 4vw, 2.5rem);
            margin-bottom: 2rem;
            color: var(--text-primary);
            background: var(--bg-primary);
            padding: 1.5rem;
            border-radius: 8px;
            display: inline-block;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .skills p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin: 0.75rem 0;
            line-height: 1.8;
        }

        /* Projects Section */
        .projects {
            padding: 6rem 2rem;
            background: var(--bg-primary);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .project-card {
            background: var(--bg-secondary);
            padding: 2.5rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .project-card:nth-child(1) { animation-delay: 0.1s; }
        .project-card:nth-child(2) { animation-delay: 0.2s; }
        .project-card:nth-child(3) { animation-delay: 0.3s; }
        .project-card:nth-child(4) { animation-delay: 0.4s; }
        .project-card:nth-child(5) { animation-delay: 0.5s; }
        .project-card:nth-child(6) { animation-delay: 0.6s; }
        .project-card:nth-child(7) { animation-delay: 0.7s; }
        .project-card:nth-child(8) { animation-delay: 0.8s; }

        .project-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

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

        .project-card:hover::after {
            transform: translateX(0);
        }

        .project-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            color: var(--accent-primary);
            margin-bottom: 1rem;
        }

        .project-card p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .project-card a {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background: transparent;
            color: var(--accent-primary);
            border: 2px solid var(--accent-primary);
            text-decoration: none;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            border-radius: 4px;
            font-weight: 500;
        }

        .project-card a:hover {
            background: var(--accent-primary);
            color: #ffffff;
        }

        /* Footer */
        footer {
            padding: 3rem 4rem;
            background: var(--bg-primary);
            border-top: 1px solid var(--border-color);
            text-align: center;
        }

        footer p,
        footer {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        /* Mobile Responsive */
        @media (max-width: 968px) {
            nav.navbar {
                padding: 1.5rem 2rem;
            }

            .menu-toggle {
                display: block;
            }

            #main-menu {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--bg-primary);
                backdrop-filter: blur(10px);
                flex-direction: column;
                gap: 0;
                padding: 0;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease, padding 0.3s ease;
                border-top: 1px solid var(--border-color);
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            }

            #main-menu.show {
                max-height: 500px;
                padding: 2rem;
            }

            #main-menu a {
                padding: 1rem 0;
                border-bottom: 1px solid var(--border-color);
            }

            .hero {
                padding: 8rem 2rem 2rem 2rem;
            }

            .projects {
                padding: 4rem 1.5rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .logo img {
                height: 40px;
            }

            .logo {
                font-size: 1.2rem;
            }

            .theme-switcher {
                top: 80px;
                right: 1rem;
                padding: 0.75rem;
            }

            .theme-toggle-btn {
                top: 80px;
                right: 1rem;
            }

            .skills {
                padding: 3rem 1.5rem;
            }
        }