:root {
            /* Colors */
            --bg-primary: #0A0E1A;
            /* Deep navy black — main background */
            --bg-secondary: #111827;
            /* Slightly lighter — card backgrounds */
            --bg-card: #1A2235;
            /* Card / section backgrounds */
            --accent: #4F8EF7;
            /* Electric blue — CTAs, highlights, underlines */
            --accent-glow: rgba(79, 142, 247, 0.12);
            /* Accent with 12% opacity — glow effects */
            --text-primary: #F0F4FF;
            /* Near white — headings */
            --text-secondary: #8B9AB5;
            /* Muted blue-grey — body text, labels */
            --text-muted: #4A5568;
            /* Very muted — dividers, placeholders */
            --border: #1E2D45;
            /* Subtle border color */
            --success: #10B981;
            /* Green — used sparingly for skill tags */

            /* Spacing */
            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 16px;
            --space-lg: 24px;
            --space-xl: 32px;
            --space-2xl: 48px;
            --space-3xl: 64px;
            --space-4xl: 96px;

            /* Border Radius */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 16px;
            --radius-pill: 999px;

            /* Transitions */
            --transition-fast: 0.2s ease;
            --transition-md: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-primary);
            color: var(--text-secondary);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--text-primary);
            font-weight: 700;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-fast);
        }

        ul {
            list-style: none;
        }

        button,
        .btn {
            cursor: pointer;
            border: none;
            font-family: inherit;
            font-weight: 600;
            border-radius: var(--radius-md);
            transition: var(--transition-md);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-sm);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
        }

        /* --- Sections --- */
        section {
            padding: var(--space-4xl) 0;
        }

        .section-header {
            margin-bottom: var(--space-3xl);
            text-align: center;
        }

        .section-header h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            margin-bottom: var(--space-sm);
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 3px;
            background: var(--accent);
            border-radius: var(--radius-pill);
        }

        /* --- Animations --- */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* --- Navigation --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(10, 14, 26, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            padding: var(--space-md) 0;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--accent);
            letter-spacing: -1px;
        }

        .nav-links {
            display: flex;
            gap: var(--space-xl);
        }

        .nav-links a {
            font-size: 0.95rem;
            font-weight: 500;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: var(--transition-md);
        }

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

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

        .hire-btn {
            background-color: var(--accent);
            color: white;
            padding: var(--space-sm) var(--space-lg);
            border-radius: var(--radius-pill);
        }

        .hire-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(79, 142, 247, 0.3);
        }

        /* Mobile Nav */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 25px;
            height: 2px;
            background: var(--text-primary);
            transition: var(--transition-fast);
        }

        /* --- Hero Section --- */
        #hero {
            height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: radial-gradient(circle at top right, var(--accent-glow), transparent 40%),
                radial-gradient(circle at bottom left, var(--accent-glow), transparent 40%);
        }

        .hero-bg-motifs {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            font-family: 'JetBrains Mono', monospace;
            pointer-events: none;
        }

        .motif {
            position: absolute;
            color: var(--text-primary);
            opacity: 0.04;
            font-size: 4rem;
            animation: float 20s linear infinite;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(10deg);
            }

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

        .hero-content {
            z-index: 1;
        }

        .hero-pretitle {
            color: var(--accent);
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-size: 0.9rem;
            display: block;
            margin-bottom: var(--space-md);
        }

        .hero-title {
            font-size: clamp(2.5rem, 8vw, 4.5rem);
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: var(--space-md);
            color: var(--text-primary);
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.5rem);
            margin-bottom: var(--space-xl);
            max-width: 600px;
        }

        .typewriter {
            display: inline-block;
            color: var(--accent);
            font-family: 'JetBrains Mono', monospace;
            border-right: 2px solid var(--accent);
            white-space: nowrap;
            overflow: hidden;
            animation: caret 0.75s step-end infinite;
        }

        @keyframes caret {

            from,
            to {
                border-color: transparent
            }

            50% {
                border-color: var(--accent)
            }
        }

        .hero-stats {
            display: flex;
            gap: var(--space-md);
            margin-bottom: var(--space-2xl);
            flex-wrap: wrap;
        }

        .stat-pill {
            background: var(--bg-card);
            padding: var(--space-sm) var(--space-lg);
            border-radius: var(--radius-pill);
            border: 1px solid var(--border);
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: var(--space-sm);
        }

        .hero-ctas {
            display: flex;
            gap: var(--space-lg);
        }

        .btn-primary {
            background: var(--accent);
            color: white;
            padding: var(--space-md) var(--space-2xl);
        }

        .btn-ghost {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
            padding: var(--space-md) var(--space-2xl);
        }

        .btn-ghost:hover {
            background: var(--bg-card);
            border-color: var(--accent);
        }

        .scroll-indicator {
            position: absolute;
            bottom: var(--space-xl);
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0) translateX(-50%);
            }

            40% {
                transform: translateY(-10px) translateX(-50%);
            }

            60% {
                transform: translateY(-5px) translateX(-50%);
            }
        }

        /* --- Numbers That Demonstrate Excellence --- */
        .stats-excellence {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: var(--space-2xl) 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            text-align: center;
            align-items: center;
        }

        .stat-item {
            padding: 0 var(--space-lg);
            position: relative;
        }

        .stat-item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: 0;
            top: 20%;
            height: 60%;
            width: 1px;
            background: var(--border);
        }

        .stat-number {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 800;
            color: var(--accent);
            line-height: 1;
            margin-bottom: var(--space-sm);
            font-family: 'JetBrains Mono', monospace;
            text-shadow: 0 0 20px var(--accent-glow);
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: var(--space-xl) 0;
            }

            .stat-item:not(:last-child)::after {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr;
                gap: var(--space-lg) 0;
            }
        }

        /* --- Industries We Serve --- */
        .industries-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: var(--space-xl);
            margin-top: var(--space-2xl);
        }

        .industry-card {
            background: var(--bg-card);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            transition: var(--transition-md);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .industry-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 30px rgba(79, 142, 247, 0.15);
        }

        .industry-icon {
            width: 40px;
            height: 40px;
            color: var(--accent);
            margin-bottom: var(--space-md);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .industry-icon svg {
            width: 100%;
            height: 100%;
        }

        .industry-card h3 {
            font-size: 1.2rem;
            margin-bottom: var(--space-sm);
            color: var(--text-primary);
        }

        .industry-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        @media (max-width: 1024px) {
            .industries-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

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

        /* --- About Section --- */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4xl);
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: var(--space-lg);
        }

        .about-text p {
            margin-bottom: var(--space-lg);
            font-size: 1.1rem;
        }

        .terminal-card {
            background: #0d1117;
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
        }

        .terminal-header {
            background: #161b22;
            padding: var(--space-sm) var(--space-md);
            display: flex;
            align-items: center;
            gap: 8px;
        }

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

        .dot-red {
            background: #ff5f56;
        }

        .dot-yellow {
            background: #ffbd2e;
        }

        .dot-green {
            background: #27c93f;
        }

        .terminal-body {
            padding: var(--space-lg);
            color: #c9d1d9;
        }

        .syntax-keyword {
            color: #ff7b72;
        }

        .syntax-class {
            color: #d2a8ff;
        }

        .syntax-string {
            color: #a5d6ff;
        }

        .syntax-comment {
            color: #8b949e;
        }

        .syntax-val {
            color: #79c0ff;
        }

        /* --- Skills Section --- */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: var(--space-xl);
        }

        .skills-card {
            background: var(--bg-card);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            border-top: 3px solid var(--accent);
            transition: var(--transition-md);
        }

        .skills-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border-color: var(--accent);
        }

        .skills-card h3 {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            margin-bottom: var(--space-lg);
            font-size: 1.25rem;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: var(--space-sm);
        }

        .skill-pill {
            background: var(--bg-secondary);
            color: var(--text-secondary);
            padding: var(--space-xs) var(--space-md);
            border-radius: var(--radius-pill);
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid var(--border);
        }

        /* --- Experience Section --- */
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding-left: var(--space-2xl);
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: var(--border);
        }

        .timeline-item {
            position: relative;
            margin-bottom: var(--space-4xl);
        }

        .timeline-dot {
            position: absolute;
            left: calc(-1 * var(--space-2xl) - 5px);
            top: 0;
            width: 12px;
            height: 12px;
            background: var(--accent);
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--bg-primary);
        }

        .timeline-dot.pulse::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--accent);
            animation: pulse-glow 2s infinite;
        }

        @keyframes pulse-glow {
            0% {
                transform: scale(1);
                opacity: 0.8;
            }

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

        .timeline-content {
            background: var(--bg-card);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
        }

        .timeline-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: var(--space-md);
            flex-wrap: wrap;
            gap: var(--space-sm);
        }

        .timeline-header h3 {
            font-size: 1.3rem;
            color: var(--text-primary);
        }

        .timeline-role {
            color: var(--accent);
            font-weight: 600;
            display: block;
            margin-bottom: var(--space-xs);
        }

        .timeline-date {
            background: var(--bg-secondary);
            padding: var(--space-xs) var(--space-md);
            border-radius: var(--radius-pill);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .timeline-desc {
            margin-bottom: var(--space-lg);
        }

        .timeline-desc li {
            margin-bottom: var(--space-sm);
            position: relative;
            padding-left: var(--space-lg);
        }

        .timeline-desc li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: var(--accent);
        }

        /* --- Projects Section --- */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: var(--space-2xl);
        }

        .project-card {
            background: var(--bg-card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition-md);
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .project-image {
            height: 200px;
            background: var(--bg-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .project-badge {
            position: absolute;
            top: var(--space-md);
            left: var(--space-md);
            background: var(--accent);
            color: white;
            padding: var(--space-xs) var(--space-md);
            border-radius: var(--radius-pill);
            font-size: 0.75rem;
            font-weight: 700;
        }

        .project-content {
            padding: var(--space-xl);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .project-content h3 {
            font-size: 1.5rem;
            margin-bottom: var(--space-sm);
        }

        .project-content p {
            margin-bottom: var(--space-lg);
            font-size: 0.95rem;
        }

        .project-highlights {
            margin-bottom: var(--space-lg);
            font-size: 0.9rem;
        }

        .project-highlights li {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            margin-bottom: 4px;
        }

        .project-highlights i {
            color: var(--success);
            font-style: normal;
        }

        .checkmark::before {
            content: '✓';
            font-weight: bold;
        }

        .project-tech {
            margin-top: auto;
            margin-bottom: var(--space-lg);
        }

        .view-details {
            color: var(--accent);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: var(--space-xs);
            font-size: 0.9rem;
        }

        /* Modal */
        dialog {
            background: var(--bg-card);
            color: var(--text-secondary);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-3xl);
            max-width: 700px;
            width: 90%;
            margin: auto;
        }

        dialog::backdrop {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(4px);
        }

        .close-modal {
            position: absolute;
            top: var(--space-lg);
            right: var(--space-lg);
            background: none;
            color: var(--text-primary);
            font-size: 1.5rem;
        }

        /* --- Education Section --- */
        .edu-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-xl);
        }

        .edu-card {
            background: var(--bg-card);
            padding: var(--space-xl);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            display: flex;
            gap: var(--space-lg);
            align-items: center;
        }

        .edu-icon {
            font-size: 2.5rem;
        }

        /* --- Contact Section --- */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-4xl);
        }

        .contact-info p {
            margin-bottom: var(--space-2xl);
            font-size: 1.1rem;
        }

        .contact-details {
            display: grid;
            gap: var(--space-lg);
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: var(--space-md);
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: var(--accent-glow);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }

        .contact-form {
            display: grid;
            gap: var(--space-md);
        }

        .form-group {
            display: grid;
            gap: var(--space-xs);
        }

        input,
        textarea {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            padding: var(--space-md);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-family: inherit;
            transition: var(--transition-fast);
        }

        input:focus,
        textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }

        textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-btn {
            background: var(--accent);
            color: white;
            padding: var(--space-md);
            font-size: 1rem;
        }

        .submit-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }

        .success-msg {
            display: none;
            color: var(--success);
            font-weight: 600;
            margin-top: var(--space-md);
        }

        /* --- Footer --- */
        footer {
            padding: var(--space-3xl) 0;
            border-top: 1px solid var(--border);
            text-align: center;
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-primary);
            margin-bottom: var(--space-md);
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: var(--space-xl);
            margin-bottom: var(--space-xl);
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        /* --- Responsive --- */
        @media (max-width: 1024px) {

            .about-grid,
            .contact-grid,
            .edu-grid {
                grid-template-columns: 1fr;
            }

            .hero-title {
                font-size: 3.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--bg-secondary);
                padding: var(--space-xl);
                border-bottom: 1px solid var(--border);
                z-index: 1001;
            }

            .nav-links.mobile-active {
                display: flex;
                animation: slideDown 0.3s ease forwards;
            }

            @keyframes slideDown {
                from {
                    transform: translateY(-10px);
                    opacity: 0;
                }

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

            .hire-btn {
                display: none;
                /* Hide in nav, maybe add to links later */
            }

            .menu-toggle {
                display: flex;
                z-index: 1002;
            }

            .menu-toggle.active span:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }

            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

            section {
                padding: var(--space-3xl) 0;
            }

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

            .hero-ctas {
                flex-direction: column;
            }

            .stat-pill {
                flex: 1 1 40%;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .container {
                padding: 0 var(--space-md);
            }
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }