* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        body {
            background-color: #ffffff;
            color: #1a1a1a;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            position: relative;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
            background-size: 20px 20px;
            z-index: -1;
            pointer-events: none;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            display: flex;
            gap: 4rem;
            align-items: center;
            justify-content: center;
        }

        .nav {
            flex: 0 0 auto;
        }

        .nav-links {
            list-style: none;
        }

        .nav-item {
            margin-bottom: 1.5rem;
            text-align: right;
        }

        .nav-link {
            text-decoration: none;
            color: #1a1a1a;
            font-size: 1.5rem;
            position: relative;
            transition: color 0.3s ease;
        }

        @media (hover: hover) {
            .nav-link:hover {
                color: #666;
            }

            .nav-link:hover::before {
                opacity: 1;
                transform: translateX(0);
            }

            .nav-link:hover::after {
                opacity: 1;
                transform: translateX(0);
            }

            .profile-pic:hover {
                transform: scale(1.05);
            }
        }

        .nav-link::before {
            content: '[';
            margin-right: 0.5rem;
            opacity: 0;
            transform: translateX(10px);
            transition: all 0.3s ease;
        }

        .nav-link::after {
            content: ']';
            margin-left: 0.5rem;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
        }

        .content {
            flex: 0 0 auto;
        }

        .intro {
            font-size: 4rem;
            line-height: 1.2;
            margin-bottom: 2rem;
            opacity: 0;
            animation: fadeIn 1s ease forwards;
        }

        .hi-wrapper {
            display: inline-flex;
            align-items: center;
            gap: 1.5rem;
            vertical-align: middle;
        }

        .profile-pic {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #1a1a1a;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .subtitle {
            font-size: 1.5rem;
            color: #666;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.8s ease forwards 0.3s;
            text-align: right;
        }

        .resume-link {
            display: block;
            text-align: right;
            font-size: 1.1rem;
            font-weight: 500;
            color: #555;
            text-decoration: none;
            margin-top: 0.5rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.8s ease forwards 0.5s;
            transition: color 0.2s ease;
            position: relative;
            width: fit-content;
            margin-left: auto;
        }

        .resume-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background-color: #555;
            transition: width 0.3s ease;
        }

        @media (hover: hover) {
            .resume-link:hover {
                color: #555;
            }

            .resume-link:hover::after {
                width: 100%;
            }
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 0;
                min-height: 100vh;
                overflow: hidden; /* Prevent scroll */
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .container {
                flex-direction: column;
                justify-content: flex-start; /* Move to top */
                align-items: center;
                min-height: 100vh;
                gap: 0;
                text-align: center;
                padding: 10vh 0 0 0; /* Move content down from the very top */
            }

            .content {
                margin: 0;
                width: 100%;
            }

            .intro {
                font-size: 2.5rem;
                margin-bottom: 0.5rem; /* Less space below intro */
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .hi-wrapper {
                flex-direction: column;
                gap: 1rem;
            }

            .profile-pic {
                width: 70px;
                height: 70px;
            }

            .subtitle {
                font-size: 1.2rem;
                margin-top: 0;
                text-align: center;
            }

            .resume-link {
                text-align: center;
                margin-left: auto;
                margin-right: auto;
            }

            .nav {
                width: 100%;
                margin: 1.2rem 0 0 0; /* Add small gap above icons */
                order: 2;
            }

            .nav-links {
                display: flex;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 1.2rem;
                margin: 0;
                padding: 0;
            }

            .nav-item {
                margin-bottom: 0;
                text-align: center;
            }

            .nav-link {
                font-size: 1.6rem;
                color: #000;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .nav-link .nav-text {
                display: none;
            }

            .nav-link::before,
            .nav-link::after {
                display: none !important;
                content: none !important;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 1rem;
            }

            .intro {
                font-size: 2rem;
            }

            .subtitle {
                font-size: 1.2rem;
            }
        }

        /* About Panel Styles */
        .about-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 50%;
            height: 100vh;
            background-color: #000000;
            color: #ffffff;
            z-index: 1000;
            transform: translateX(100%);
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                        opacity 0.4s ease, 
                        visibility 0.4s;
            display: flex;
            flex-direction: column;
            padding: 4rem;
            box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        }

        .about-panel.active {
            transform: translateX(0);
            visibility: visible;
            opacity: 1;
            pointer-events: all;
        }

        .about-content {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .about-title {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 2rem;
            text-transform: uppercase;
            letter-spacing: -2px;
            line-height: 1;
        }

        .about-text {
            font-size: 1.2rem;
            line-height: 1.6;
            color: #ccc;
            max-width: 500px;
        }

        .about-text p {
            margin-bottom: 1.5rem;
        }


        /* Backdrop */
        .backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(2px);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }

        .backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        /* Experience Panel Styles */
        .experience-panel {
            position: fixed;
            top: 0;
            left: 0;
            width: 45%;
            height: 100vh;
            background-color: #ffffff;
            color: #1a1a1a;
            z-index: 1000;
            transform: translateX(-100%);
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                        opacity 0.4s ease, 
                        visibility 0.4s;
            display: flex;
            flex-direction: column;
            padding: 4rem 3rem;
            box-shadow: 10px 0 30px rgba(0,0,0,0.1);
            border-right: 1px solid #eee;
            overflow: hidden;
        }

        .experience-panel::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
            background-size: 20px 20px;
            z-index: -1;
            pointer-events: none;
        }

        .experience-panel.active {
            transform: translateX(0);
            visibility: visible;
            opacity: 1;
            pointer-events: all;
        }

        .experience-content {
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .experience-title {
            font-size: 2rem;
            font-weight: 500;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .experience-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 2px;
            background: #eee;
        }

        .experience-list {
            flex: 1;
            overflow-y: auto;
            padding-right: 1rem;
            padding-bottom: 2rem;
            /* Hide scrollbar for a cleaner look */
            scrollbar-width: thin;
            scrollbar-color: #eee transparent;
        }

        .experience-list::-webkit-scrollbar {
            width: 4px;
        }

        .experience-list::-webkit-scrollbar-thumb {
            background-color: #eee;
            border-radius: 10px;
        }

        .experience-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .exp-dot {
            width: 10px;
            height: 10px;
            background-color: #1a1a1a;
            border-radius: 50%;
            margin-top: 0.6rem;
            flex-shrink: 0;
        }

        .exp-info {
            flex: 1;
        }

        .exp-role {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #1a1a1a;
        }

        .exp-company {
            font-size: 1.1rem;
            color: #1a1a1a;
            opacity: 0.9;
        }

        .exp-description {
            font-size: 1rem;
            color: #666;
            margin-top: 0.5rem;
            line-height: 1.5;
        }

        .exp-details {
            margin-top: 0.75rem;
            padding-left: 1.2rem;
            list-style-type: disc;
            color: #666;
        }

        .exp-details li {
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
        }

        .exp-date {
            font-size: 0.95rem;
            color: #999;
            white-space: nowrap;
            margin-top: 0.5rem;
        }

        @media (max-width: 768px) {
            .about-panel {
                width: 100%;
                height: 55vh;
                top: 0;
                bottom: auto;
                left: 0;
                transform: translateY(-100%);
                padding: 3rem 2rem 2rem 2rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 0 0 20px 20px;
            }

            .about-panel.active {
                transform: translateY(0);
                visibility: visible;
                opacity: 1;
            }

            .about-title {
                font-size: 2.2rem;
                margin-bottom: 1.5rem;
            }

            .about-text {
                font-size: 1.1rem;
            }

            .experience-panel {
                width: 100%;
                height: 70vh;
                top: auto;
                bottom: 0;
                right: 0;
                left: 0;
                transform: translateY(100%);
                padding: 2.5rem 1.5rem 1.5rem 1.5rem;
                border-right: none;
                border-left: none;
                border-top: 1px solid #eee;
                border-radius: 20px 20px 0 0;
                box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
                background-color: #ffffff;
            }

            .experience-panel.active {
                transform: translateY(0);
                visibility: visible;
                opacity: 1;
            }

            .experience-title {
                font-size: 1.6rem;
                margin-bottom: 2rem;
            }

            .experience-item {
                flex-direction: column;
                gap: 0.5rem;
            }

            .exp-dot {
                display: none; /* Simplify mobile view */
            }

            .exp-date {
                margin-top: 0;
                order: -1;
                font-size: 0.85rem;
            }

            .exp-role {
                font-size: 1.1rem;
            }

            .exp-company {
                font-size: 1rem;
            }

            /* Ensure nav is below panels on mobile */
            .nav {
                z-index: 1;
            }
        }

        /* Publications Panel Styles */
        .publications-panel {
            position: fixed;
            top: 0;
            right: 0;
            width: 50%;
            height: 100vh;
            background-color: #0a0a0a;
            color: #ffffff;
            z-index: 1000;
            transform: translateX(100%);
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                        opacity 0.4s ease,
                        visibility 0.4s;
            display: flex;
            flex-direction: column;
            padding: 4rem;
            box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        }

        .publications-panel.active {
            transform: translateX(0);
            visibility: visible;
            opacity: 1;
            pointer-events: all;
        }

        .publications-content {
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .publications-title {
            font-size: 2rem;
            font-weight: 500;
            margin-bottom: 3rem;
            color: #ffffff;
            position: relative;
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .publications-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 2px;
            background: rgba(255, 255, 255, 0.2);
        }

        .publications-list {
            flex: 1;
            overflow-y: auto;
            padding-right: 1rem;
            padding-bottom: 2rem;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.15) transparent;
        }

        .publications-list::-webkit-scrollbar {
            width: 4px;
        }

        .publications-list::-webkit-scrollbar-thumb {
            background-color: rgba(255,255,255,0.15);
            border-radius: 10px;
        }

        .publication-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .pub-dot {
            width: 8px;
            height: 8px;
            background-color: rgba(255,255,255,0.5);
            border-radius: 50%;
            margin-top: 0.55rem;
            flex-shrink: 0;
        }

        .pub-info {
            flex: 1;
        }

        .pub-title {
            font-size: 1.15rem;
            font-weight: 600;
            margin-bottom: 0.35rem;
            color: #ffffff;
            line-height: 1.4;
        }

        .pub-venue {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.5);
            margin-bottom: 0.75rem;
            font-style: italic;
        }

        .pub-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .pub-action-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            padding: 0.3rem 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
            letter-spacing: 0.02em;
        }

        @media (hover: hover) {
            .pub-action-link:hover {
                background: rgba(255, 255, 255, 0.1);
                color: #ffffff;
                border-color: rgba(255, 255, 255, 0.4);
            }
        }

        .pub-action-link i {
            font-size: 0.8rem;
        }

        @media (max-width: 768px) {
            .publications-panel {
                width: 100%;
                height: 75vh;
                top: auto;
                bottom: 0;
                right: 0;
                left: 0;
                transform: translateY(100%);
                padding: 2.5rem 1.5rem 1.5rem 1.5rem;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 20px 20px 0 0;
                box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
            }

            .publications-panel.active {
                transform: translateY(0);
                visibility: visible;
                opacity: 1;
            }

            .publications-title {
                font-size: 1.6rem;
                margin-bottom: 2rem;
            }

            .publication-item {
                gap: 0.5rem;
            }

            .pub-dot {
                display: none;
            }

            .pub-title {
                font-size: 1rem;
            }
        }
