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

        :root {
            --dark: #050505;
            --darker: #000000;
            --primary: #ffffff;
            --secondary: #a3a3a3;
            --accent: #e5e5e5;
            --success: #10b981;
            --warning: #f59e0b;
            --info: #3b82f6;
            --cursor-color: #ffffff;
            --cursor-glow: rgba(255, 255, 255, 0.1);
        }




        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: var(--darker);
            color: #fff;
            overflow-x: hidden;
            line-height: 1.6;
            min-height: 100vh;
            cursor: none;
            /* Hide default cursor */
        }

        /* Custom Cursor - Space Shuttle */
        .cursor-shuttle {
            position: fixed;
            width: 40px;
            height: 40px;
            font-size: 32px;
            pointer-events: none;
            z-index: 10000;
            transform: translate(-50%, -50%) rotate(-45deg);
            transition: transform 0.1s ease-out;
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
        }

        .cursor-shuttle.hovered {
            transform: translate(-50%, -50%) rotate(-45deg) scale(1.3) !important;
            filter: drop-shadow(0 0 15px var(--primary));
        }

        /* Contrail Container */
        .cursor-contrail-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999;
            overflow: hidden;
        }

        /* Individual Contrail Particle */
        .contrail-particle {
            position: absolute;
            width: 16px;
            height: 16px;
            background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, transparent 70%);
            border-radius: 50%;
            pointer-events: none;
            animation: contrailFade 1.2s ease-out forwards;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
            filter: blur(1px);
        }

        @keyframes contrailFade {
            0% {
                opacity: 1;
                transform: scale(1);
            }

            100% {
                opacity: 0;
                transform: scale(0.2);
            }
        }

        /* Theme-aware contrail colors */
        body.light-mode .contrail-particle {
            background: radial-gradient(circle, var(--primary) 0%, rgba(79, 70, 229, 0.8) 30%, transparent 70%);
            box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(79, 70, 229, 0.4);
        }


        /* Disable custom cursor on touch devices */
        @media (hover: none) and (pointer: coarse) {
            body {
                cursor: auto;
            }

            .cursor-dot,
            .cursor-outline {
                display: none;
            }
        }

        /* Enhanced Background Animation */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            background: #000000;
            overflow: hidden;
        }

        .bg-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.35;
            animation: float 25s infinite ease-in-out;
        }

        .orb-1 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            top: -150px;
            right: -100px;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
            bottom: -100px;
            left: -150px;
            animation-delay: -8s;
        }

        .orb-3 {
            width: 350px;
            height: 350px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
            top: 40%;
            right: 20%;
            animation-duration: 30s;
            animation-delay: -15s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translate(0, 0) rotate(0deg);
            }

            33% {
                transform: translate(50px, -80px) rotate(120deg);
            }

            66% {
                transform: translate(-40px, 60px) rotate(240deg);
            }
        }

        /* Animated Grid */
        .grid-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            animation: gridMove 20s linear infinite;
            mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
        }

        @keyframes gridMove {
            0% {
                transform: translate(0, 0);
            }

            100% {
                transform: translate(60px, 60px);
            }
        }

        /* Twinkling Microscopic Stars */
        .star {
            position: absolute;
            background: #ffffff;
            border-radius: 50%;
            pointer-events: none;
            z-index: -2;
            opacity: 0;
            animation: twinkle 3s infinite ease-in-out;
        }

        @keyframes twinkle {

            0%,
            100% {
                opacity: 0.2;
                transform: scale(0.8);
            }

            50% {
                opacity: 1;
                transform: scale(1.2);
            }
        }

        #star-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
        }

        /* Glassmorphism Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            animation: slideDown 0.6s ease-out;
        }

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

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .nav-logo {
            font-weight: 900;
            font-size: 1.5rem;
            color: #fff;
            text-decoration: none;
            letter-spacing: 1px;
            transition: transform 0.3s ease;
        }

        .nav-logo:hover {
            transform: scale(1.05);
        }

        .nav-logo span {
            color: var(--primary);
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        .nav-link:hover {
            color: var(--accent);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-btn {
            padding: 0.6rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: var(--primary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s;
        }

        .nav-btn:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            padding-top: 5rem;
            position: relative;
        }

        .hero-content {
            text-align: center;
            max-width: 900px;
            z-index: 1;
            animation: fadeInUp 0.8s ease-out;
        }

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

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .glitch {
            font-size: clamp(2rem, 6vw, 4.5rem);
            font-weight: 900;
            margin-bottom: 1rem;
            background: linear-gradient(120deg, #ffffff 0%, #888888 25%, #e0e0e0 50%, #888888 75%, #ffffff 100%);
            background-size: 200% 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: elegantShine 5s ease-in-out infinite;
            line-height: 1.1;
            letter-spacing: 0.02em;
            position: relative;
            white-space: nowrap;
        }

        .glitch::after {
            content: 'DEEPAK KUMAR RANA';
            position: absolute;
            top: 3px;
            left: 3px;
            right: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            z-index: -1;
        }

        @keyframes elegantShine {

            0%,
            100% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }
        }

        .subtitle {
            font-size: clamp(1.1rem, 2.5vw, 1.5rem);
            color: #cbd5e1;
            margin-bottom: 1.5rem;
            font-weight: 300;
        }

        .highlight-text {
            color: var(--accent);
            font-weight: 600;
            border-right: 2px solid var(--accent);
            animation: blinkCursor 0.75s step-end infinite;
        }

        @keyframes blinkCursor {
            50% {
                border-color: transparent;
            }
        }

        .hero-description {
            font-size: clamp(1rem, 2vw, 1.1rem);
            color: #94a3b8;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 0.8s ease-out 0.4s backwards;
        }

        .btn {
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            min-width: 150px;
            text-align: center;
        }

        .btn-primary:hover {
            transform: translateY(-4px) scale(1.02);
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.35);
            box-shadow:
                0 16px 48px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 0 20px rgba(255, 255, 255, 0.1);
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            backdrop-filter: blur(10px);
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(6, 182, 212, 0.15);
            transform: translateY(-4px) scale(1.02);
        }

        /* Sections */
        .section {
            padding: 6rem 2rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            font-size: clamp(2rem, 5vw, 2.5rem);
            margin-bottom: 3.5rem;
            text-align: center;
            background: linear-gradient(to bottom, #fff, #94a3b8);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }

        /* --- Professional Strategy/Philosophy Section --- */
        .philosophy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .phil-card {
            background: rgba(30, 41, 59, 0.4);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .phil-card:hover {
            transform: translateY(-8px);
            background: rgba(30, 41, 59, 0.7);
            border-color: rgba(99, 102, 241, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        /* Gradient accent line at top of cards */
        .phil-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--accent), transparent);
            opacity: 0.5;
            transition: opacity 0.3s;
        }

        .phil-card:hover::before {
            opacity: 1;
            background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
        }

        .phil-icon {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--accent);
            background: rgba(255, 255, 255, 0.05);
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }

        .phil-card h3 {
            color: #fff;
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.5px;
        }

        .phil-card p {
            color: #94a3b8;
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 0;
        }

        .phil-intro {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            color: #cbd5e1;
            line-height: 1.8;
        }

        .highlight-clean {
            color: var(--primary);
            font-weight: 600;
        }

        /* Glass Skill Cards */
        .skills-constellation {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .skill-orb {
            background: rgba(30, 41, 59, 0.3);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 2rem;
            border-radius: 20px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .skill-orb::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;
        }

        .skill-orb:hover::before {
            left: 100%;
        }

        .skill-orb:hover {
            transform: translateY(-10px) scale(1.02);
            background: rgba(30, 41, 59, 0.5);
        }

        .skill-orb:nth-child(1):hover {
            border-color: var(--info);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
        }

        .skill-orb:nth-child(1) h3 {
            color: var(--info);
        }

        .skill-orb:nth-child(2):hover {
            border-color: var(--secondary);
            box-shadow: 0 15px 40px rgba(168, 85, 247, 0.25);
        }

        .skill-orb:nth-child(2) h3 {
            color: var(--secondary);
        }

        .skill-orb:nth-child(3):hover {
            border-color: var(--success);
            box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25);
        }

        .skill-orb:nth-child(3) h3 {
            color: var(--success);
        }

        .skill-orb:nth-child(4):hover {
            border-color: var(--warning);
            box-shadow: 0 15px 40px rgba(245, 158, 11, 0.25);
        }

        .skill-orb:nth-child(4) h3 {
            color: var(--warning);
        }

        .skill-orb h3 {
            font-size: 1.4rem;
            margin-bottom: 1.2rem;
            font-weight: 700;
        }

        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
        }

        .tag {
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .tag:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.1);
        }

        /* Glass Project Cards */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .project-card {
            background: rgba(30, 41, 59, 0.4);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 2.5rem;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
        }

        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.6s;
        }

        .project-card:hover::after {
            left: 150%;
        }

        .project-card:hover {
            transform: translateY(-12px) scale(1.02);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .project-card:nth-child(1):hover {
            box-shadow: 0 25px 50px rgba(255, 255, 255, 0.15);
            border-top: 2px solid var(--primary);
        }

        .project-card:nth-child(2):hover {
            box-shadow: 0 25px 50px rgba(255, 255, 255, 0.15);
            border-top: 2px solid var(--accent);
        }

        .project-number {
            font-size: 5rem;
            font-weight: 900;
            position: absolute;
            top: 0;
            right: 1.5rem;
            opacity: 0.05;
            background: linear-gradient(to bottom, #fff, transparent);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            pointer-events: none;
        }

        .project-card h3 {
            font-size: 1.7rem;
            margin-bottom: 1rem;
            color: #fff;
        }

        .project-card p {
            color: #94a3b8;
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .tech-stack {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-bottom: 2rem;
        }

        .tech-badge {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            padding: 0.4rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            color: #cbd5e1;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }

        .tech-badge:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
            transition: gap 0.3s;
        }

        .project-link:hover {
            gap: 1rem;
        }

        /* Glass Terminal */
        .terminal {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 2rem;
            font-family: 'Courier New', monospace;
            margin-top: 2rem;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }

        .terminal:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
        }

        .terminal-header {
            display: flex;
            gap: 0.6rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            transition: transform 0.3s;
        }

        .dot:hover {
            transform: scale(1.2);
        }

        .dot-red {
            background: #ef4444;
        }

        .dot-yellow {
            background: #f59e0b;
        }

        .dot-green {
            background: #22c55e;
        }

        .cmd {
            color: var(--success);
        }

        .path {
            color: var(--info);
        }

        .output {
            color: #cbd5e1;
            margin-bottom: 1rem;
            display: block;
            line-height: 1.4;
        }

        .cursor-blink-terminal {
            display: inline-block;
            width: 8px;
            height: 15px;
            background: #fff;
            animation: blink 1s infinite;
            vertical-align: middle;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        /* Glass Contact Buttons */
        .contact-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }

        .social-btn {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 50px;
            color: #fff;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
        }

        .social-btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .social-btn:hover {
            background: rgba(255, 255, 255, 0.95);
            color: var(--darker);
            transform: translateY(-4px) scale(1.05);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .glitch {
                font-size: 2.5rem;
            }

            .projects-grid,
            .skills-constellation,
            .philosophy-grid {
                grid-template-columns: 1fr;
            }

            .section {
                padding: 4rem 1.5rem;
            }

            .project-number {
                font-size: 3rem;
            }

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

        /* Education Section */
        .education-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .edu-card {
            background: rgba(30, 41, 59, 0.4);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            min-height: 220px;
        }

        .edu-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            opacity: 0.6;
            transition: opacity 0.3s, width 0.3s;
        }

        .edu-card:hover::before {
            opacity: 1;
            width: 6px;
        }

        .edu-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
            background: rgba(30, 41, 59, 0.6);
        }

        .edu-header {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .edu-icon {
            font-size: 2.5rem;
            line-height: 1;
            flex-shrink: 0;
        }

        .edu-info {
            flex: 1;
        }

        .edu-card h3 {
            font-size: 1.2rem;
            color: #fff;
            margin-bottom: 0.4rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .edu-degree {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
            display: block;
        }

        .edu-duration {
            color: #64748b;
            font-size: 0.85rem;
            margin-bottom: 0;
        }

        .edu-footer {
            margin-top: auto;
            padding-top: 1rem;
        }

        .edu-score {
            display: inline-block;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
            border: 1px solid rgba(99, 102, 241, 0.3);
            padding: 0.5rem 1.2rem;
            border-radius: 25px;
            font-size: 0.9rem;
            color: #fff;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .edu-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: auto;
            padding-top: 1rem;
        }

        .edu-skills .tag {
            font-size: 0.75rem;
            padding: 0.3rem 0.7rem;
            background: rgba(6, 182, 212, 0.15);
            border-color: rgba(6, 182, 212, 0.3);
        }

        @media (max-width: 768px) {
            .education-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Shiny Glass Effect for All Cards */
        .skill-orb,
        .project-card,
        .phil-card,
        .edu-card {
            position: relative;
            overflow: hidden;
        }

        .skill-orb::after,
        .project-card::after,
        .phil-card::after,
        .edu-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -100%;
            width: 60%;
            height: 200%;
            background: linear-gradient(90deg,
                    transparent,
                    rgba(255, 255, 255, 0.05),
                    rgba(255, 255, 255, 0.15),
                    rgba(255, 255, 255, 0.05),
                    transparent);
            transform: skewX(-20deg);
            transition: none;
            pointer-events: none;
        }

        .skill-orb:hover::after,
        .project-card:hover::after,
        .phil-card:hover::after,
        .edu-card:hover::after {
            animation: shineGlass 0.8s ease-out;
        }

        @keyframes shineGlass {
            0% {
                left: -100%;
            }

            100% {
                left: 150%;
            }
        }

        /* Enhanced glass border glow on hover */
        .skill-orb:hover,
        .project-card:hover,
        .phil-card:hover,
        .edu-card:hover {
            border-color: rgba(255, 255, 255, 0.25);
            box-shadow:
                0 25px 50px rgba(99, 102, 241, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 40px rgba(99, 102, 241, 0.1);
        }

        /* Theme Toggle Button */
        .theme-toggle {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 2000;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            /* Match pill shape radius */
            width: 50px;
            height: 50px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        }

        .theme-wrapper {
            position: fixed;
            bottom: 90px;
            right: 30px;
            z-index: 2000;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .theme-pill {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Create the glassmorphism pill container effect */
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50px;
            padding: 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .theme-pill:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }



        .theme-cycler {
            width: 50px;
            height: 50px;
            /* Remove individual styles that are now on wrapper */
            background: transparent;
            backdrop-filter: none;
            border: none;
            box-shadow: none;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: background 0.3s ease;
            z-index: 2;
        }

        .theme-cycler:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: none;
            box-shadow: none;
        }

        .theme-arrow {
            width: 50px;
            /* Full width */
            height: 30px;
            /* Slightly taller for clickability */
            background: rgba(255, 255, 255, 0.05);
            /* Remove individual borders/styles */
            backdrop-filter: none;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            /* Separator */
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #fff;
            font-size: 0.8rem;
            transition: background 0.3s ease;
            margin-bottom: 0;
            z-index: 1;
        }

        .theme-arrow:hover {
            background: rgba(255, 255, 255, 0.2);
            padding-bottom: 0;
        }

        .theme-dropdown {
            position: absolute;
            bottom: 100%;
            right: 0;
            /* Align right */
            margin-bottom: 15px;
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 0.5rem;
            list-style: none;
            min-width: 150px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }

        .theme-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            pointer-events: auto;
        }

        .theme-option {
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.2s;
        }

        .theme-option:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .theme-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .theme-icon {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        /* Daily Rotating Themes (Dark Mode Variants) */
        /* Monday: Nature (Deep Forest) */
        body.theme-1 {
            --primary: #4ade80;
            --secondary: #14532d;
            --accent: #bef264;
        }

        /* Tuesday: Volcano (Red/Orange) */
        body.theme-2 {
            --primary: #ef4444;
            --secondary: #f97316;
            --accent: #f87171;
        }

        /* Wednesday: Ocean (Cyan/Blue) */
        body.theme-3 {
            --primary: #06b6d4;
            --secondary: #3b82f6;
            --accent: #22d3ee;
        }

        /* Thursday: Synthwave (Pink/Purple) */
        body.theme-4 {
            --primary: #d946ef;
            --secondary: #8b5cf6;
            --accent: #f472b6;
        }

        /* Friday: Sunset (Amber/Red) */
        body.theme-5 {
            --primary: #f59e0b;
            --secondary: #ef4444;
            --accent: #fbbf24;
        }

        /* Saturday: Cyber (Terminal Green) */
        body.theme-6 {
            --primary: #00ff41;
            /* Classic Terminal Green */
            --secondary: #003B00;
            /* Dark Green Background vibe */
            --accent: #39ff14;
            /* Neon Green */
        }

        /* PREMIUM THEMES */
        /* League (Hextech/Prestige) */
        body.theme-7 {
            --primary: #C89B3C;
            --secondary: #005A82;
            --accent: #0AC8B9;
        }

        /* Anime (Vibrant Pop - Pink/Cyan) */
        body.theme-8 {
            --primary: #FF0055;
            --secondary: #00F0FF;
            --accent: #FFD166;
        }

        /* Cyberpunk (Yellow/Blue) */
        body.theme-9 {
            --primary: #facc15;
            --secondary: #3b82f6;
            --accent: #fde047;
        }

        /* Sakura (True Pink/White) */
        body.theme-10 {
            --primary: #ff80bf;
            --secondary: #ffffff;
            --accent: #ffcce6;
        }

        /* Sunday uses Default (:root) variables */

        /* Light Mode Styles (Base) */
        body.light-mode {
            background: #f8fafc;
            color: #1e293b;
            /* Default Light Theme (Indigo) */
            --primary: #4f46e5;
            --secondary: #0ea5e9;
            --accent: #8b5cf6;
        }

        /* Light Mode Theme Overrides */

        /* Monday: Nature Light (Forest) */
        body.light-mode.theme-1 {
            --primary: #059669;
            --secondary: #166534;
            --accent: #84cc16;
            background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
            /* Soft Mint/Honeydew */
        }

        /* Tuesday: Volcano Light (Brick/Orange) */
        body.light-mode.theme-2 {
            --primary: #dc2626;
            --secondary: #ea580c;
            --accent: #f87171;
            background: linear-gradient(135deg, #fff5f5 0%, #fff7ed 100%);
            /* Soft Rose/Orange */
        }

        /* Wednesday: Ocean Light (Teal/Blue) */
        body.light-mode.theme-3 {
            --primary: #0891b2;
            --secondary: #2563eb;
            --accent: #06b6d4;
            background: linear-gradient(135deg, #e0f2fe 0%, #e6fffa 100%);
            /* Pale Sky/Teal */
        }

        /* Thursday: Synthwave Light (Magenta/Violet) */
        body.light-mode.theme-4 {
            --primary: #c026d3;
            --secondary: #7c3aed;
            --accent: #e879f9;
            background: linear-gradient(135deg, #fae8ff 0%, #f3e8ff 100%);
            /* Pale Fuchsia/Violet */
        }

        /* Friday: Sunset Light (Burnt Orange) */
        body.light-mode.theme-5 {
            --primary: #d97706;
            --secondary: #dc2626;
            --accent: #f59e0b;
            background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
            /* Amber/Orange tint */
        }

        /* Saturday: Cyber Light (Digital Lime) */
        body.light-mode.theme-6 {
            --primary: #16a34a;
            --secondary: #15803d;
            --accent: #4ade80;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            /* Kept Mint/Green tint */
        }

        /* Premium Light Themes */

        /* League Light (Bronze/Navy) */
        body.light-mode.theme-7 {
            --primary: #a16207;
            --secondary: #1e3a8a;
            --accent: #0d9488;
            background: linear-gradient(135deg, #fffbeb 0%, #f0f9ff 100%);
            /* Amber/Sky pastel */
        }

        /* Anime Light (Crimson/Teal) */
        body.light-mode.theme-8 {
            --primary: #db2777;
            --secondary: #0d9488;
            --accent: #f472b6;
            background: linear-gradient(135deg, #fce7f3 0%, #ccfbf1 100%);
            /* Pink/Teal pastel */
        }

        /* Cyberpunk Light (Gold/Royal) */
        body.light-mode.theme-9 {
            --primary: #ca8a04;
            --secondary: #2563eb;
            --accent: #eab308;
            background: linear-gradient(135deg, #fefce8 0%, #e0f2fe 100%);
            /* Yellow/Blue pastel */
        }

        /* Sakura Light (Hot Pink/Rose) */
        body.light-mode.theme-10 {
            --primary: #ec4899;
            --secondary: #be123c;
            --accent: #f472b6;
            background: linear-gradient(135deg, #ffe4e6 0%, #fce7f3 100%);
            /* Rose/Pink pastel */
        }



        /* Default Light Mode Styles */
        body.light-mode {
            --primary: #4f46e5;
            --secondary: #64748b;
            --accent: #8b5cf6;
            --cursor-color: #0f172a;
            --cursor-glow: rgba(0, 0, 0, 0.1);
            color: #1e293b;
            background: #f8fafc;
        }

        body.light-mode .bg-animation {
            background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
        }

        body.light-mode .subtitle,
        body.light-mode .hero-description,
        body.light-mode .phil-intro {
            color: #475569;
        }

        body.light-mode .phil-card p,
        body.light-mode .project-card p,
        body.light-mode .skill-orb p,
        body.light-mode .edu-duration {
            color: #475569;
        }

        body.light-mode .section-title {
            background: linear-gradient(to bottom, #1e293b, #475569);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.light-mode .skill-orb h3,
        body.light-mode .project-card h3,
        body.light-mode .phil-card h3,
        body.light-mode .edu-card h3 {
            color: #1e293b;
        }

        body.light-mode .nav-link,
        body.light-mode .nav-logo {
            color: #1e293b;
        }

        body.light-mode .nav-link:hover {
            color: var(--primary);
        }

        body.light-mode .bg-orb {
            opacity: 0.2;
        }

        body.light-mode .grid-pattern {
            background-image:
                linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
        }

        body.light-mode .navbar {
            background: rgba(255, 255, 255, 0.8);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        body.light-mode .nav-logo,
        body.light-mode .nav-link {
            color: #1e293b;
        }

        body.light-mode .nav-link:hover {
            color: var(--primary);
        }

        body.light-mode .glitch {
            background: linear-gradient(120deg, #4f46e5 0%, #8b5cf6 25%, #a855f7 50%, #0ea5e9 75%, #4f46e5 100%);
            -webkit-background-clip: text;
            background-clip: text;
        }

        body.light-mode .subtitle,
        body.light-mode .hero-description {
            color: #475569;
        }

        body.light-mode .highlight-text {
            color: var(--primary);
            border-color: var(--primary);
        }

        body.light-mode .btn-primary {
            background: rgba(79, 70, 229, 0.1);
            color: #1e293b;
            border: 1px solid rgba(79, 70, 229, 0.2);
            box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
        }

        body.light-mode .btn-primary:hover {
            background: rgba(79, 70, 229, 0.15);
        }

        body.light-mode .section-title {
            background: linear-gradient(to bottom, #1e293b, #475569);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.light-mode .skill-orb,
        body.light-mode .project-card,
        body.light-mode .phil-card,
        body.light-mode .edu-card {
            background: rgba(255, 255, 255, 0.7);
            border-color: rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        body.light-mode .skill-orb:hover,
        body.light-mode .project-card:hover,
        body.light-mode .phil-card:hover,
        body.light-mode .edu-card:hover {
            box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
            border-color: rgba(79, 70, 229, 0.2);
        }

        body.light-mode .skill-orb h3,
        body.light-mode .project-card h3,
        body.light-mode .phil-card h3,
        body.light-mode .edu-card h3 {
            color: #1e293b;
        }

        body.light-mode .edu-degree,
        body.light-mode .edu-score {
            color: var(--primary);
        }

        body.light-mode .skill-orb p,
        body.light-mode .project-card p,
        body.light-mode .phil-card p,
        body.light-mode .edu-duration {
            color: #475569;
        }

        body.light-mode .tag,
        body.light-mode .tech-badge {
            background: rgba(79, 70, 229, 0.1);
            color: #1e293b;
            border-color: rgba(79, 70, 229, 0.2);
        }

        body.light-mode .terminal {
            background: rgba(30, 41, 59, 1);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        body.light-mode .social-btn {
            background: rgba(255, 255, 255, 0.5);
            color: #1e293b;
            border-color: rgba(0, 0, 0, 0.1);
        }

        body.light-mode .social-btn:hover {
            background: var(--primary);
            color: #fff;
        }

        body.light-mode .theme-toggle {
            background: rgba(0, 0, 0, 0.05);
            color: #1e293b;
            border-color: rgba(0, 0, 0, 0.1);
        }

        .menu-btn,
        .mobile-menu {
            display: none;
        }


        /* --- Consolidated Light Mode Styles --- */
        body.light-mode {
            --primary: #4f46e5;
            --secondary: #64748b;
            --accent: #8b5cf6;
            --cursor-color: #0f172a;
            --cursor-glow: rgba(0, 0, 0, 0.1);
            color: #1e293b;
            background: #f8fafc;
        }

        body.light-mode .bg-animation {
            background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
        }

        /* Essential Text Restores */
        body.light-mode p,
        body.light-mode li,
        body.light-mode span,
        body.light-mode div {
            color: #334155;
        }

        body.light-mode strong,
        body.light-mode b,
        body.light-mode h1,
        body.light-mode h2,
        body.light-mode h3,
        body.light-mode h4,
        body.light-mode h5,
        body.light-mode h6 {
            color: #0f172a;
        }

        /* Component Specific Overrides */
        body.light-mode .subtitle,
        body.light-mode .hero-description,
        body.light-mode .phil-intro {
            color: #475569;
        }

        body.light-mode .phil-card p,
        body.light-mode .project-card p,
        body.light-mode .skill-orb p,
        body.light-mode .edu-duration {
            color: #475569;
        }

        body.light-mode .section-title {
            background: linear-gradient(to bottom, #1e293b, #475569);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.light-mode .skill-orb h3,
        body.light-mode .project-card h3,
        body.light-mode .phil-card h3,
        body.light-mode .edu-card h3 {
            color: #1e293b;
        }

        body.light-mode .nav-link,
        body.light-mode .nav-logo {
            color: #1e293b;
        }

        body.light-mode .nav-link:hover {
            color: var(--primary);
        }

        body.light-mode .bg-orb {
            opacity: 0.15;
            filter: blur(80px);
        }

        body.light-mode .grid-pattern {
            background-image:
                linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
        }

        body.light-mode .navbar {
            background: rgba(255, 255, 255, 0.9);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        body.light-mode .glitch {
            background: linear-gradient(120deg, #4f46e5 0%, #8b5cf6 25%, #a855f7 50%, #0ea5e9 75%, #4f46e5 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        body.light-mode .highlight-text {
            color: var(--primary);
            border-color: var(--primary);
        }

        body.light-mode .btn-primary {
            background: rgba(79, 70, 229, 0.1);
            color: #1e293b;
            border: 1px solid rgba(79, 70, 229, 0.2);
            box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
        }

        body.light-mode .btn-primary:hover {
            background: rgba(79, 70, 229, 0.15);
        }

        /* Cards Backgrounds */
        body.light-mode .skill-orb,
        body.light-mode .project-card,
        body.light-mode .phil-card,
        body.light-mode .edu-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        body.light-mode .skill-orb:hover,
        body.light-mode .project-card:hover,
        body.light-mode .phil-card:hover,
        body.light-mode .edu-card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
            transform: translateY(-5px);
        }

        body.light-mode .edu-degree,
        body.light-mode .edu-score {
            color: var(--primary);
        }

        body.light-mode .tag,
        body.light-mode .tech-badge {
            background: #f1f5f9;
            color: #334155;
            border-color: #e2e8f0;
        }

        body.light-mode .terminal {
            background: #1e293b;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        /* Terminal text elements must remain light colored */
        body.light-mode .terminal .cmd {
            color: var(--success) !important;
        }

        body.light-mode .terminal .path {
            color: var(--info) !important;
        }

        body.light-mode .terminal .output {
            color: #cbd5e1 !important;
        }

        body.light-mode .terminal div,
        body.light-mode .terminal span {
            color: inherit !important;
        }

        body.light-mode .social-btn {
            background: #fff;
            color: #475569;
            border: 1px solid #e2e8f0;
        }

        body.light-mode .social-btn:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        body.light-mode .theme-toggle {
            background: #fff;
            color: #1e293b;
            border: 1px solid #e2e8f0;
        }

        /* Responsive Media Queries */
        @media (max-width: 768px) {

            /* Navbar & Menu */
            .navbar {
                padding: 1rem 1.5rem;
            }

            .menu-btn {
                display: block;
                cursor: pointer;
                z-index: 2005;
                position: fixed;
                top: 22px;
                right: 24px;
            }

            body.light-mode .bar {
                background: #1e293b;
            }

            .bar {
                width: 25px;
                height: 3px;
                background: #fff;
                margin: 5px 0;
                transition: 0.3s;
                border-radius: 2px;
            }

            .menu-btn.active .bar:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 6px);
            }

            .menu-btn.active .bar:nth-child(2) {
                opacity: 0;
            }

            .menu-btn.active .bar:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -6px);
            }

            /* Hide Desktop Nav */
            .nav-links {
                display: none;
            }

            /* Mobile Menu Overlay */
            .mobile-menu {
                display: flex;
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background: rgba(15, 23, 42, 0.40);
                backdrop-filter: blur(40px) saturate(180%);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 1.5rem;
                transition: 0.4s ease-in-out;
                z-index: 2000;
            }

            .mobile-menu.active {
                right: 0;
            }

            .mobile-link {
                font-size: 1.2rem;
                color: #fff;
                text-decoration: none;
                font-weight: 500;
                transition: color 0.3s;
            }

            .mobile-link:hover {
                color: var(--accent);
            }

            .mobile-btn {
                padding: 0.6rem 1.5rem;
                background: rgba(99, 102, 241, 0.2);
                border: 1px solid var(--primary);
                border-radius: 8px;
                color: #fff;
                text-decoration: none;
                font-size: 1rem;
            }

            /* Theme Toggle adjustment for mobile */
            .theme-toggle {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }

            /* Theme Pill adjustment for mobile */
            .theme-wrapper {
                right: 20px;
                bottom: 80px;
                /* Stacked above toggle (20px + 45px + 15px gap) */
            }

            /* Layout Adjustments */
            .hero-content {
                padding: 120px 20px 60px;
            }

            .glitch {
                font-size: 2rem;
                letter-spacing: 1px;
                white-space: normal;
            }

            .subtitle {
                font-size: 1rem;
            }

            .cta-buttons {
                flex-direction: column;
                width: 100%;
                gap: 1rem;
            }

            .btn {
                width: 100%;
                justify-content: center;
            }

            .section {
                padding: 4rem 1.5rem;
            }

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

            .skills-grid,
            .projects-grid,
            .edu-grid,
            .contact-links,
            .grid-layout {
                grid-template-columns: 1fr;
            }

            .grid-layout {
                display: flex;
                flex-direction: column;
                gap: 2rem;
            }

            .terminal {
                padding: 1rem;
                font-size: 0.85rem;
            }
        }