        :root {
            --primary: #ffffff;
            --secondary: #000000;
            --accent: #0066ff;
            --accent-light: #4d94ff;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-bg-hover: rgba(255, 255, 255, 0.08);
            --glass-border: rgba(255, 255, 255, 0.1);
            --glass-border-hover: rgba(255, 255, 255, 0.2);
            --text-primary: #ffffff;
            --text-secondary: rgba(255, 255, 255, 0.6);
            --text-tertiary: rgba(255, 255, 255, 0.4);
            --gradient-1: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
            --gradient-2: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
            --gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
            --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.3);
        }

        /* Add this to your CSS */
        .fullscreen-dialog {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10001;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .fullscreen-dialog.active {
            opacity: 1;
            visibility: visible;
        }

        .dialog-content {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 40px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            transform: scale(0.9);
            transition: transform 0.3s ease;
            position: relative;
        }

        .fullscreen-dialog.active .dialog-content {
            transform: scale(1);
        }

        .dialog-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-2);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 20px;
            font-size: 1.5rem;
            color: var(--accent);
        }

        .dialog-content h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-primary);
        }

        .dialog-content p {
            color: var(--text-secondary);
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .countdown-timer {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: var(--gradient-1);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: white;
        }

        .dialog-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .dialog-btn {
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 0.95rem;
        }

        .dialog-btn.btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
        }

        .dialog-btn.btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
        }

        .dialog-btn.btn-secondary {
            background: var(--glass-bg);
            color: var(--text-primary);
            border: 1px solid var(--glass-border);
        }

        .dialog-btn.btn-secondary:hover {
            background: var(--glass-bg-hover);
            border-color: var(--glass-border-hover);
            transform: translateY(-2px);
        }

        /* Responsive adjustments */
        @media (max-width: 480px) {
            .dialog-content {
                padding: 30px 20px;
            }

            .dialog-content h3 {
                font-size: 1.3rem;
            }

            .dialog-buttons {
                flex-direction: column;
                width: 100%;
            }

            .dialog-btn {
                width: 100%;
            }
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--secondary);
            color: var(--text-primary);
            overflow-x: hidden;
            cursor: none;
            /* Hide default cursor */
            position: relative;
        }

        /* Ensure system cursor doesn't appear on interactive elements */
        a,
        button,
        .clickable,
        input[type="submit"],
        input[type="button"],
        .timeline-media-container {
            cursor: none !important;
        }

        /* Custom Cursor - Hide on mobile */
        .cursor {
            width: 20px;
            height: 20px;
            border: 2px solid var(--accent);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 100000;
            transition: all 0.1s ease;
            transform: translate(-50%, -50%);
        }

        .cursor-follower {
            width: 40px;
            height: 40px;
            background: rgba(0, 102, 255, 0.1);
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 99999;
            transition: all 0.3s ease;
            transform: translate(-50%, -50%);
        }

        .cursor.hover {
            width: 40px;
            height: 40px;
            background: rgba(0, 102, 255, 0.2);
            border-color: var(--accent-light);
        }

        /* Loading Screen */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--secondary);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.5s ease;
        }

        .loader-content {
            text-align: center;
        }

        .loader-text {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .loader-bar {
            width: 200px;
            height: 2px;
            background: rgba(255, 255, 255, 0.1);
            margin: 20px auto;
            overflow: hidden;
        }

        .loader-progress {
            height: 100%;
            background: var(--gradient-1);
            animation: loading 2s ease-in-out;
        }

        @keyframes loading {
            0% {
                width: 0%;
            }

            100% {
                width: 100%;
            }
        }

        /* Canvas Background */
        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 30px 50px;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            padding: 20px 50px;
            backdrop-filter: blur(20px);
            background: rgba(10, 10, 10, 0.8);
            border-bottom: 1px solid var(--glass-border);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            cursor: pointer;
        }

        .nav-links {
            display: flex;
            gap: 40px;
            list-style: none;
        }

        .nav-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
            padding: 5px 0;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-1);
            transition: width 0.3s ease;
        }

        .nav-link:hover::before {
            width: 100%;
        }

        .nav-link.active {
            color: var(--accent);
        }

        .nav-cta {
            padding: 10px 25px;
            background: var(--gradient-1);
            border-radius: 30px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
        }

        .nav-cta:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
            z-index: 1001;
        }

        .menu-toggle span {
            width: 25px;
            height: 2px;
            background: var(--text-primary);
            transition: all 0.3s ease;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 20px;
            position: relative;
        }

        .hero-container {
            max-width: 1400px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .hero-content {
            z-index: 2;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 20px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 50px;
            font-size: 0.85rem;
            margin-bottom: 30px;
            backdrop-filter: blur(10px);
        }

        .hero-badge i {
            color: var(--accent);
        }

        .hero h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(3rem, 8vw, 5.5rem);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px;
        }

        .hero .gradient-text {
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero .subtitle {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 300;
            color: var(--text-secondary);
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
        }

        .btn-secondary {
            background: var(--glass-bg);
            color: var(--text-primary);
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: var(--glass-bg-hover);
            border-color: var(--glass-border-hover);
            transform: translateY(-3px);
        }

        .hero-visual {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-card {
            width: 400px;
            height: 500px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            padding: 40px;
            position: relative;
            overflow: hidden;
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.3s ease;
        }

        .hero-card:hover {
            transform: perspective(1000px) rotateY(0deg);
        }

        .hero-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: var(--gradient-2);
            animation: rotate 10s linear infinite;
        }

        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .hero-card-content {
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .hero-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-top: 5px;
        }

        /* Section Styles */
        section {
            padding: 120px 20px;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .section-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .section-label {
            display: inline-block;
            padding: 5px 15px;
            background: rgba(0, 102, 255, 0.1);
            border: 1px solid rgba(0, 102, 255, 0.3);
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--accent);
            margin-bottom: 20px;
        }

        .section-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            margin-bottom: 20px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .about-content {
            position: relative;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 30px;
        }

        .about-highlights {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .highlight-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient-2);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 1.2rem;
        }

        .highlight-text h4 {
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .highlight-text p {
            font-size: 0.85rem;
            color: var(--text-tertiary);
        }

        .about-visual {
            position: relative;
        }

        .about-image-container {
            position: relative;
            width: 100%;
            height: 500px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            overflow: hidden;
        }

        .about-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .about-image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px;
            background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
        }

        .about-quote {
            font-style: italic;
            font-size: 1.1rem;
            color: var(--text-primary);
        }

        /* Projects Section */
        .projects-container {
            position: relative;
        }

        .projects-filter {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 50px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 25px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--gradient-1);
            color: white;
            border-color: transparent;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .project-card {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            overflow: hidden;
            transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
            cursor: pointer;
            position: relative;
        }

        .project-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: var(--shadow-xl);
            border-color: var(--glass-border-hover);
        }

        .project-image {
            height: 280px;
            position: relative;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .project-card:hover .project-image img {
            transform: scale(1.1);
        }

        .project-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: flex-end;
            padding: 30px;
        }

        .project-card:hover .project-overlay {
            opacity: 1;
        }

        .project-content {
            padding: 40px;
        }

        .project-category {
            display: inline-block;
            padding: 6px 16px;
            background: rgba(0, 102, 255, 0.1);
            border-radius: 100px;
            font-size: 0.75rem;
            color: var(--accent);
            margin-bottom: 20px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        @media (max-width: 768px) {
            .hero .subtitle {
                display: none;
            }
        }

        .project-title {
            font-family: 'Clash Display', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .project-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 30px;
            font-size: 1rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 30px;
        }

        .tag {
            padding: 5px 15px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            font-size: 0.8rem;
            color: var(--text-secondary);
            border: 1px solid var(--glass-border);
        }

        .project-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--accent);
            text-decoration: none;
            font-weight: 600;
            transition: gap 0.3s ease;
        }

        .project-link:hover {
            gap: 15px;
        }

        /* Research Section */
        .research-showcase {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 30px;
            padding: 60px;
            position: relative;
            overflow: hidden;
        }

        .research-showcase::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 300px;
            height: 300px;
            background: var(--gradient-1);
            border-radius: 50%;
            opacity: 0.1;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(180deg);
            }
        }

        .research-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .research-title {
            font-size: 2rem;
            font-weight: 700;
        }

        .research-status {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 20px;
            background: rgba(0, 255, 100, 0.1);
            border: 1px solid rgba(0, 255, 100, 0.3);
            border-radius: 20px;
            color: #00ff64;
        }

        .research-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 60px;
        }

        .research-description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-secondary);
        }

        .research-metrics {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .metric-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 25px;
            text-align: center;
        }

        .metric-value {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2.5rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .metric-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-top: 10px;
        }

        /* Skills Section */
        /* Skills Section */
        .skills-container {
            display: block;
            column-width: 350px;
            column-gap: 60px;
            /* Masonry-like layout using CSS columns */
        }

        .skill-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            padding: 50px 40px;
            margin-bottom: 60px;
            /* Gap for column layout */
            break-inside: avoid;
            /* Prevent card splitting */
            /* Increased vertical padding */
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .skill-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--gradient-1);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .skill-card:hover::before {
            transform: scaleX(1);
        }

        .skill-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .skill-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-2);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: var(--accent);
            margin-bottom: 30px;
        }

        .skill-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .skill-list {
            list-style: none;
        }

        .skill-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            /* Reduced from 20 to keep near bar */
        }

        .skill-name {
            font-weight: 500;
            font-size: 1.05rem;
        }

        .skill-level {
            font-family: 'JetBrains Mono', monospace;
            color: var(--text-tertiary);
            font-size: 0.9rem;
        }

        .skill-bar {
            height: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            overflow: hidden;
            margin-top: 5px;
            margin-bottom: 30px;
            /* Add space after bar */
        }

        .skill-progress {
            height: 100%;
            background: var(--gradient-1);
            border-radius: 10px;
            transition: width 1s ease;
        }

        /* Timeline Section */
        .timeline {
            position: relative;
            padding: 40px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--glass-border);
            transform: translateX(-50%);
        }

        .timeline-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 80px;
            position: relative;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .timeline-content {
            width: 45%;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            padding: 30px;
            position: relative;
        }

        .timeline-date {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: var(--secondary);
            padding: 10px 20px;
            border-radius: 20px;
            border: 1px solid var(--glass-border);
            font-weight: 600;
            color: var(--accent);
            z-index: 1;
        }

        .timeline-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .timeline-subtitle {
            color: var(--accent);
            margin-bottom: 15px;
        }

        .timeline-description {
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .contact-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            padding: 40px;
        }

        .contact-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .contact-description {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--gradient-2);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
            font-size: 1.2rem;
        }

        .contact-text h4 {
            font-size: 1rem;
            margin-bottom: 5px;
        }

        .contact-text p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .social-link {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--glass-bg);
            border-radius: 15px;
            border: 1px solid var(--glass-border);
            color: var(--text-primary);
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--gradient-1);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
        }

        .contact-form {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 25px;
            padding: 40px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 15px;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
            background: rgba(255, 255, 255, 0.05);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .form-submit {
            width: 100%;
            padding: 15px;
            background: var(--gradient-1);
            border: none;
            border-radius: 15px;
            color: white;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .form-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
        }

        /* Footer */
        footer {
            padding: 60px 20px 30px;
            text-align: center;
            background: rgba(0, 0, 0, 0.5);
            border-top: 1px solid var(--glass-border);
            width: 100%;
            box-sizing: border-box;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
        }

        .footer-logo {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
            display: inline-block;
        }

        .footer-text {
            color: var(--text-secondary);
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.95rem;
        }

        .footer-link:hover {
            color: var(--accent);
        }

        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid var(--glass-border);
            color: var(--text-tertiary);
            font-size: 0.9rem;
            margin-top: 20px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .about-grid {
                grid-template-columns: 1fr;
            }

            .research-content {
                grid-template-columns: 1fr;
            }

            .contact-container {
                grid-template-columns: 1fr;
            }

            .timeline::before {
                left: 30px;
            }

            .timeline-item {
                flex-direction: column !important;
                align-items: flex-start !important;
                padding-left: 60px;
            }

            .timeline-content {
                width: 100%;
            }

            .timeline-date {
                left: 30px;
            }
        }

        @media (max-width: 1024px) {
            .nav-cta {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            nav {
                padding: 20px;
            }

            /* Mobile menu implementation for phones and small tablets */
            .nav-links {
                display: flex;
                /* make visible on small screens (overrides desktop layout) */
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                height: 100vh;
                background: rgba(10, 10, 10, 0.95);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 24px;
                transition: right 0.3s ease;
                z-index: 10002;
                /* ensure nav sits above other UI */
                padding: 20px 0;
            }

            .nav-links.active {
                right: 0;
                display: flex;
            }

            /* Make anchor links clearly visible and easier to tap */
            .nav-links li {
                list-style: none;
                width: 100%;
                text-align: center;
            }

            .nav-links li a.nav-link {
                color: var(--text-primary) !important;
                display: block;
                width: 100%;
                padding: 14px 20px;
                font-size: 1.15rem;
                font-weight: 600;
            }

            .menu-toggle {
                display: flex;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .skills-container {
                grid-template-columns: 1fr;
            }

            .about-highlights {
                grid-template-columns: 1fr;
            }

            .hero-card {
                width: 100%;
                max-width: 350px;
                height: 450px;
            }
        }

        /* Additional mobile-specific fixes */
        @media (max-width: 480px) {

            /* Hide custom cursor on mobile */
            .cursor,
            .cursor-follower {
                display: none;
            }

            body {
                cursor: auto;
            }

            /* Adjust navigation for mobile */
            nav {
                padding: 15px 20px;
            }

            nav.scrolled {
                padding: 15px 20px;
            }

            .logo {
                font-size: 1.5rem;
            }

            /* Mobile menu implementation */
            .nav-links {
                display: flex;
                /* make visible on small screens (overrides earlier display:none) */
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                height: 100vh;
                background: rgba(10, 10, 10, 0.95);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 30px;
                transition: right 0.3s ease;
                z-index: 999;
            }

            .nav-links.active {
                right: 0;
                display: flex;
                /* ensure it remains visible after activating */
            }

            .nav-link {
                font-size: 1.2rem;
            }

            .nav-cta {
                margin-top: 20px;
            }

            /* Menu toggle animation */
            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }

            /* Adjust hero section for mobile */
            .hero {
                padding: 80px 15px;
            }

            .hero h1 {
                font-size: clamp(2.5rem, 7vw, 4rem);
            }

            .hero .subtitle {
                font-size: clamp(1rem, 2.5vw, 1.5rem);
            }

            .hero-buttons {
                justify-content: center;
            }

            .btn {
                padding: 12px 25px;
                font-size: 0.9rem;
            }

            /* Adjust sections for mobile */
            section {
                padding: 80px 15px;
            }

            .section-header {
                margin-bottom: 50px;
            }

            .section-title {
                font-size: clamp(2rem, 4vw, 3rem);
            }

            /* Adjust project cards for mobile */
            .project-content {
                padding: 25px;
            }

            .project-title {
                font-size: 1.5rem;
            }

            /* Adjust research section for mobile */
            .research-showcase {
                padding: 30px;
            }

            .research-title {
                font-size: 1.5rem;
            }

            /* Adjust skill cards for mobile */
            .skill-card {
                padding: 25px;
            }

            .skill-title {
                font-size: 1.2rem;
            }

            /* Adjust timeline for mobile */
            .timeline-item {
                margin-bottom: 50px;
            }

            .timeline-content {
                padding: 20px;
            }

            .timeline-title {
                font-size: 1.1rem;
            }

            /* Adjust contact section for mobile */
            .contact-card,
            .contact-form {
                padding: 25px;
            }

            .contact-title {
                font-size: 1.5rem;
            }

            /* Adjust footer for mobile */
            .footer-links {
                gap: 15px;
            }

            .footer-link {
                font-size: 0.85rem;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(50px);
            transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Timeline Media Carousel */
        .timeline-media-container {
            margin-top: 15px;
            width: 250px;
            height: 150px;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            border: 2px solid var(--glass-border);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .timeline-media-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
            border-color: var(--accent);
        }

        .timeline-carousel {
            width: 100%;
            height: 100%;
            position: relative;
        }

        /* FAB Image Styling */
        #ai-toggle-btn {
            overflow: hidden;
            /* Ensure image stays inside */
            padding: 0;
            /* Remove padding if any */
            border: 2px solid white;
            /* Optional: Clean border */
        }

        #ai-toggle-btn img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .timeline-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .timeline-img.active {
            opacity: 1;
        }

        .media-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.8rem;
            z-index: 2;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Modal */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 10002;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-modal.show {
            opacity: 1;
        }

        .modal-content {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 900px;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 10px;
            box-shadow: 0 0 50px rgba(0, 102, 255, 0.2);
            animation: zoom 0.4s;
            margin-top: 5%;
        }

        @keyframes zoom {
            from {
                transform: scale(0)
            }

            to {
                transform: scale(1)
            }
        }

        .close-modal {
            position: absolute;
            top: 30px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            transition: 0.3s;
            cursor: pointer;
        }

        .close-modal:hover,
        .close-modal:focus {
            color: var(--accent);
            text-decoration: none;
            cursor: pointer;
        }

        #caption {
            margin: auto;
            display: block;
            width: 80%;
            max-width: 700px;
            text-align: center;
            color: #ccc;
            padding: 10px 0;
            height: 150px;
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.2rem;
            margin-top: 20px;
        }

        /* Updated Timeline Layout */
        .timeline-content {
            display: flex;
            /* Side by side layout */
            align-items: center;
            /* Align to center */
            gap: 20px;
        }

        .timeline-media-container {
            width: 80px !important;
            /* Fixed small size */
            height: 80px !important;
            /* 1:1 ratio */
            flex-shrink: 0;
            margin-top: 0;
            /* Box alignment */
            border-radius: 12px;
            /* Slightly tighter radius for smaller size */
        }

        .timeline-text-wrapper {
            flex: 1;
        }

        /* Modal Navigation */
        .modal-nav-container {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 80vh;
            /* Match max height of image */
            position: relative;
            margin-top: 5%;
        }

        .modal-content {
            margin: 0;
            /* Nav container handles centering */
            max-height: 100%;
            max-width: 80%;
        }

        .modal-prev,
        .modal-next {
            cursor: pointer;
            position: absolute;
            top: 50%;
            width: auto;
            padding: 16px;
            margin-top: -50px;
            color: white;
            font-weight: bold;
            font-size: 30px;
            transition: 0.6s ease;
            border-radius: 3px 0 0 3px;
            user-select: none;
            -webkit-user-select: none;
            z-index: 10003;
            background: rgba(0, 0, 0, 0.3);
        }

        .modal-next {
            right: 5%;
            border-radius: 3px 0 0 3px;
        }

        .modal-prev {
            left: 5%;
            border-radius: 0 3px 3px 0;
        }

        .modal-prev:hover,
        .modal-next:hover {
            background-color: rgba(0, 0, 0, 0.8);
            color: var(--accent);
        }

        @media (max-width: 600px) {
            .timeline-content {
                flex-direction: column;
            }

            .timeline-media-container {
                width: 100% !important;
                /* Full width on mobile or keep side by side? Let's stack for mobile safety */
                height: 200px !important;
                margin-bottom: 15px;
            }
        }

        /* AI Chat Assistant Styles */
        #ai-assistant-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 10000;
            font-family: 'Space Grotesk', sans-serif;
        }

        #ai-toggle-btn {
            width: 60px;
            height: 60px;
            background: white;
            /* Changed to white for better contrast with colorful Lottie */
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            z-index: 2;
            overflow: hidden;
            /* Ensure animation doesn't spill */
        }

        #ai-toggle-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
        }

        #ai-notification-bubble {
            position: absolute;
            bottom: 90px;
            right: 0;
            background: white;
            color: #333;
            padding: 15px 25px;
            border-radius: 40px;
            font-size: 0.95rem;
            font-weight: 500;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
            opacity: 0;
            transform: translateY(10px) scale(0.9);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            pointer-events: none;
            z-index: 10001;
            border: 2px solid var(--accent);
        }

        /* Thought Bubble Dots */
        #ai-notification-bubble::before {
            content: '';
            position: absolute;
            bottom: -12px;
            right: 40px;
            width: 20px;
            height: 20px;
            background: white;
            border: 2px solid var(--accent);
            border-radius: 50%;
            z-index: -1;
        }

        #ai-notification-bubble::after {
            content: '';
            position: absolute;
            bottom: -28px;
            right: 25px;
            width: 12px;
            height: 12px;
            background: white;
            border: 2px solid var(--accent);
            border-radius: 50%;
            z-index: -2;
        }

        #ai-notification-bubble.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        #ai-chat-window {
            position: absolute;
            bottom: 80px;
            right: 0;
            width: 400px;
            height: 700px;
            max-height: 80vh;
            background: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transform-origin: bottom right;
            transform: scale(0.5) translate(20px, 20px);
            opacity: 0;
            clip-path: circle(0% at 100% 100%);
            transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.5s ease;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        }

        #ai-chat-window.open {
            transform: scale(1) translate(0, 0);
            opacity: 1;
            clip-path: circle(150% at 100% 100%);
        }

        .chat-header {
            background: var(--glass-bg);
            padding: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .chat-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            color: white;
        }

        .chat-title i {
            color: var(--accent);
        }

        #close-chat {
            background: none;
            border: none;
            color: #aaa;
            cursor: pointer;
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        #close-chat:hover {
            color: white;
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            /* Added gap */
        }

        @keyframes fadeInUpMessage {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .user-message,
        .bot-message {
            animation: fadeInUpMessage 0.3s ease-out forwards;
        }

        /* Walkthrough Controls */
        #walkthrough-controls {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(10, 10, 10, 0.9);
            backdrop-filter: blur(15px);
            border: 1px solid var(--accent);
            border-radius: 50px;
            padding: 10px 25px;
            display: flex;
            align-items: center;
            gap: 20px;
            z-index: 10005;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
            animation: fadeInUpMessage 0.5s ease-out;
        }

        .wt-status {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            color: white;
            min-width: 120px;
        }

        .wt-dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            box-shadow: 0 0 10px var(--accent);
            animation: pulse-dot 1.5s infinite;
        }

        @keyframes pulse-dot {
            0% {
                transform: scale(0.95);
                opacity: 0.7;
            }

            50% {
                transform: scale(1.2);
                opacity: 1;
            }

            100% {
                transform: scale(0.95);
                opacity: 0.7;
            }
        }

        .wt-buttons {
            display: flex;
            gap: 10px;
        }

        #wt-pause-btn,
        #wt-stop-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        #wt-stop-btn {
            border-radius: 20px;
            width: auto;
            padding: 0 15px;
            background: rgba(255, 50, 50, 0.2);
            border-color: rgba(255, 50, 50, 0.5);
        }

        #wt-stop-btn:hover {
            background: rgba(255, 50, 50, 0.4);
        }

        .bot-message,
        .user-message {
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.5;
            max-width: 85%;
            animation: slideIn 0.3s ease;
        }

        .bot-message {
            background: rgba(255, 255, 255, 0.1);
            color: #eee;
            align-self: flex-start;
            border-bottom-left-radius: 2px;
        }

        .user-message {
            background: var(--accent);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 2px;
        }

        /* Suggestion Chips (Replaces Input Area) */
        .chat-suggestions {
            padding: 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(5px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: auto;
        }

        .chat-chip {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 10px 18px;
            font-size: 0.9rem;
            color: white;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            white-space: nowrap;
            flex-grow: 1;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .chat-chip:hover {
            background: var(--accent);
            border-color: var(--accent);
            color: white;
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
        }

        /* Messages */
        .bot-message,
        .user-message {
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 0.9rem;
            line-height: 1.5;
            max-width: 85%;
            animation: slideIn 0.3s ease;
            white-space: pre-wrap;
            /* Preserve spaces and newlines */
            word-wrap: break-word;
            /* Prevent overflow */
        }

        .bot-message {
            background: rgba(255, 255, 255, 0.1);
            color: #eee;
            align-self: flex-start;
            border-bottom-left-radius: 2px;
        }

        .user-message {
            background: var(--accent);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 2px;
        }




        /* Typing Indicator */
        .typing-indicator {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            animation: bounce 1.4s infinite ease-in-out both;
        }

        .typing-dot:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-dot:nth-child(2) {
            animation-delay: -0.16s;
        }

        @keyframes bounce {

            0%,
            80%,
            100% {
                transform: scale(0);
            }

            40% {
                transform: scale(1);
            }
        }

        /* Enhanced Chat UI */
        #ai-chat-window {
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
        }

        .chat-input-container {
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .chat-input {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 12px;
        }

        .chat-input:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--accent);
            box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
        }

        .chat-send-btn {
            background: var(--gradient-1);
            box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
            transform: scale(0.95);
        }

        .chat-send-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
        }

        /* Message Bubbles Polishing */
        .bot-message {
            background: rgba(255, 255, 255, 0.08);
            /* Slightly lighter */
            border: 1px solid rgba(255, 255, 255, 0.05);
            color: #f0f0f0;
        }

        .user-message {
            background: var(--gradient-1);
            box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
        }




        .glitch-effect {
            animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both,
                glitch-flash 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both,
                ghost-flicker 0.2s infinite alternate;
            position: relative;
        }

        /* Realistic Ghost Glitch Keyframes */
        @keyframes glitch-skew {
            0% {
                transform: skew(0deg) translate(0);
            }

            20% {
                transform: skew(10deg) translate(-5px);
                filter: hue-rotate(90deg);
            }

            40% {
                transform: skew(-10deg) translate(5px);
                filter: contrast(1.5);
            }

            60% {
                transform: skew(5deg) translate(-2px);
            }

            80% {
                transform: skew(-5deg) translate(2px);
                filter: invert(0.1);
            }

            100% {
                transform: skew(0deg) translate(0);
            }
        }

        @keyframes glitch-flash {
            0% {
                opacity: 1;
                filter: brightness(1);
            }

            25% {
                opacity: 0.8;
                filter: brightness(3) contrast(2);
            }

            50% {
                opacity: 0.4;
                filter: brightness(0.5) sepia(1);
            }

            75% {
                opacity: 0.9;
                filter: brightness(2) saturate(3);
            }

            100% {
                opacity: 1;
                filter: brightness(1);
            }
        }

        @keyframes ghost-flicker {
            0% {
                opacity: 0.8;
                transform: translateX(0);
            }

            50% {
                opacity: 0.5;
                transform: translateX(10px);
            }

            100% {
                opacity: 0.8;
                transform: translateX(-10px);
            }
        }

        @keyframes ghost-float {
            0% {
                transform: translate(0, 0);
                opacity: 0.5;
            }

            33% {
                transform: translate(-15px, 10px);
                opacity: 0.3;
            }

            66% {
                transform: translate(20px, -5px);
                opacity: 0.4;
            }

            100% {
                transform: translate(-5px, -10px);
                opacity: 0.2;
            }
        }

        .glitch-ghost-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            z-index: 5;
            mix-blend-mode: screen;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .glitch-ghost-red {
            filter: saturate(5) hue-rotate(0deg) brightness(1.5);
            animation: ghost-float 0.4s infinite;
        }

        .glitch-ghost-blue {
            filter: saturate(5) hue-rotate(180deg) brightness(1.5);
            animation: ghost-float 0.5s infinite reverse;
        }

        .glitch-container {
            position: relative;
            display: inline-block;
            overflow: visible;
        }

        /* Glitch Entrance for Chat Window */
        @keyframes window-glitch-entrance {
            0% {
                clip-path: inset(50% 0 50% 0);
                transform: scale(0.8) translateX(-20px);
                filter: hue-rotate(90deg);
            }

            20% {
                clip-path: inset(10% 0 60% 0);
                transform: scale(0.9) translateX(20px);
            }

            40% {
                clip-path: inset(80% 0 5% 0);
                transform: scale(1.05) translateX(-10px);
                filter: invert(1);
            }

            60% {
                clip-path: inset(0 0 0 0);
                transform: scale(0.95) translateX(5px);
            }

            80% {
                transform: scale(1.02);
                filter: none;
            }

            100% {
                transform: scale(1);
                clip-path: inset(0 0 0 0);
            }
        }

        /* Achievement Cards */
        .achievements-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .achievement-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 30px;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .achievement-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border-color: var(--accent);
            background: var(--glass-bg-hover);
        }

        .achievement-icon {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 20px;
            background: var(--gradient-2);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .achievement-card:hover .achievement-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .achievement-date {
            font-size: 0.9rem;
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 10px;
            background: rgba(0, 102, 255, 0.1);
            padding: 5px 15px;
            border-radius: 20px;
        }

        .achievement-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text-primary);
        }

        .achievement-description {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Utilities Section */
        .utilities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .utility-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 35px 25px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .utility-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
            pointer-events: none;
        }

        .utility-card:hover {
            transform: translateY(-10px);
            background: rgba(30, 41, 59, 0.6);
            border-color: var(--accent);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        }

        .utility-icon {
            width: 70px;
            height: 70px;
            border-radius: 18px;
            background: rgba(56, 189, 248, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 2rem;
            color: var(--accent);
            transition: all 0.4s ease;
            border: 1px solid rgba(56, 189, 248, 0.1);
        }

        .utility-card:hover .utility-icon {
            background: var(--gradient-1);
            color: white;
            transform: rotate(-10deg) scale(1.1);
            border-color: transparent;
            box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
        }

        .utility-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .utility-desc {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* --- About Marquee Animation --- */
        .marquee-container {
            position: relative;
            overflow: hidden;
            width: 100%;
            background: var(--primary);
        }

        .marquee-content {
            display: flex;
            width: max-content;
            height: 100%;
            animation: scrollRightToLeft 30s linear infinite;
        }

        .about-marquee-img {
            height: 100%;
            width: auto;
            max-width: none;
            object-fit: cover;
            display: block;
        }

        @keyframes scrollRightToLeft {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }