        /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease-in-out;
        }

        /* Fix anchor scroll for sections hidden by navbar */
        #about,
        #skills,
        #experience,
        #projects,
        #education,
        #github-stats,
        #contact {
            scroll-margin-top: 80px;
        }

        /* Navigation Styles */
        .main-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            border-bottom: 1px solid var(--glass-border);
            box-shadow: var(--shadow-sm);
            z-index: 1000;
            transform: translateY(-100%);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .main-nav.visible {
            transform: translateY(0);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .nav-logo {
            font-weight: 700;
            color: var(--md-primary);
            text-decoration: none;
            font-size: 1.5rem;
            letter-spacing: -0.5px;
            transition: all 0.3s ease;
        }

        .nav-logo:hover {
            opacity: 0.8;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            gap: 8px;
        }

        .nav-link {
            color: var(--md-on-surface);
            text-decoration: none;
            padding: 16px 20px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 500;
            font-size: 0.95rem;
            border-radius: 8px;
            white-space: nowrap;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--md-primary);
            background-color: var(--md-surface-container-high);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            background: var(--md-surface-container);
            border: 1px solid var(--md-surface-container-high);
            border-radius: 8px;
            cursor: pointer;
            padding: 12px;
            transition: all 0.3s ease;
        }

        .hamburger:hover {
            background: var(--md-surface-container-high);
        }

        .hamburger-line {
            width: 25px;
            height: 3px;
            background: var(--md-on-surface);
            margin: 3px 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 2px;
        }

        .hamburger.open .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.open .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger.open .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* Focus styles for accessibility */
        .nav-link:focus,
        .contact-button:focus,
        .hamburger:focus {
            outline: 2px solid var(--md-primary);
            outline-offset: 2px;
        }

        :root {
            /* Premium HSL Color Palette */
            --hue: 210;
            --md-primary: hsl(var(--hue), 100%, 40%);
            --md-primary-container: hsl(var(--hue), 100%, 90%);
            --md-on-primary: #ffffff;
            --md-on-primary-container: hsl(var(--hue), 100%, 10%);

            --md-secondary: hsl(200, 20%, 40%);
            --md-secondary-container: hsl(200, 20%, 90%);
            --md-on-secondary: #ffffff;
            --md-on-secondary-container: hsl(200, 20%, 10%);

            --md-surface: hsl(var(--hue), 10%, 98%);
            --md-surface-container: hsl(var(--hue), 10%, 94%);
            --md-surface-container-high: hsl(var(--hue), 10%, 90%);

            --glass-bg: rgba(14, 15, 15, 0.11);
            --glass-border: rgba(255, 255, 255, 0.3);
            --glass-blur: blur(7.5px);

            /* Shadows */
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

            /* Light Mode Text */
            --md-on-surface: hsl(var(--hue), 10%, 10%);
            --md-on-surface-container: hsl(var(--hue), 10%, 20%);
        }

        html {
            scroll-behavior: smooth;
            overflow-x: hidden;
            overflow-y: auto;
            scroll-snap-type: y mandatory;
            overscroll-behavior: none;
        }

        body {
            margin: 0;
            background: var(--md-surface);
            color: var(--md-on-surface-container);
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }


        section {
            background: rgba(14, 15, 15, 0.11);
            backdrop-filter: blur(7.5px);
            margin: 80px auto;
            max-width: 92%;
            padding: 80px 40px;
            position: relative;
            overflow: hidden;
            border-radius: 32px;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-md);
            top: -18%;
        }

        /* Modern sections with Material Design */
        section {
            background: var(--glass-bg);
            backdrop-filter: var(--glass-blur);
            margin: 80px auto;
            max-width: 1100px;
            padding: 80px 40px;
            position: relative;
            overflow: hidden;
            border-radius: 32px;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-md);
        }

        /* Main content container */
        .main-content {
            position: relative;
            z-index: 1;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .main-content.visible {
            visibility: visible;
            opacity: 1;
        }

        /* Intro section */
        .intro {
            /* position: absolute; */
            position: fixed;
            top: 21%;
            bottom: 32%;
            left: 25%;
            right: 25%;
            width: fit-content;
            height: 48vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            z-index: 2;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .intro.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        /* Update other sections to ensure they're above intro after scroll */
        #header,
        #about,
        #skills,
        #experience,
        #projects,
        #education,
        #contact {
            position: relative;
            z-index: 20;
        }

        #header {
            margin-top: 20vh !important;
        }

        .intro-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            margin: 0 auto;
        }

        .intro-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            background: rgba(255, 255, 255, 0.01);
            backdrop-filter: blur(2px);
            padding: 40px;
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .intro-profile img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--md-primary);
            box-shadow: 0 0 30px rgba(0, 100, 149, 0.2);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .intro-content h1 {
            font-size: 2.5rem;
            margin: 0;
            color: var(--md-primary);
        }

        .scroll-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: var(--md-primary);
            color: var(--md-on-primary);
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .scroll-button:hover {
            transform: scale(1.1);
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
        }

        /* Header section styles */
        .header {
            height: 30vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin: 0 auto !important;
            padding: 0 !important;
            top: -16%;
        }

        .header h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            color: var(--md-primary);
        }

        .typing-text {
            font-size: 1.5rem;
            margin: 0;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--md-primary);
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
        }

        @keyframes typing {
            from {
                width: 0
            }

            to {
                width: 100%
            }
        }

        @keyframes blink-caret {

            from,
            to {
                border-color: transparent
            }

            50% {
                border-color: var(--md-primary)
            }
        }

        /* Skills section */
        .skills-categories {
            display: flow-root;
            flex-direction: column;
            gap: 3rem;
        }

        .skill-category h3 {
            color: var(--md-primary);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            text-align: center;
        }

        .skills-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            justify-content: center;
        }

        .skill-card {
            /* background: var(--md-surface-container); */
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-sm);
        }

        .skill-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-lg);
            border-color: var(--md-primary);
        }

        .skill-card i {
            font-size: 2.5rem;
            color: var(--md-primary);
            margin-bottom: 1rem;
        }

        .skill-card h4 {
            margin: 0.5rem 0;
            color: var(--md-on-surface-container);
        }

        .skill-level {
            font-size: 0.9rem;
            color: var(--md-secondary);
            margin-top: 0.5rem;
        }

        /* Projects section */
        .project-item {
            background: var(--md-surface-container-low);
            border-radius: 24px;
            padding: 32px;
            margin: 24px 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--md-surface-container-highest);
        }

        .project-item:hover {
            transform: translateY(-5px);
            background: var(--md-surface-container);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
                0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Contact Form */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            color: var(--md-on-surface);
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--md-surface-container-high);
            border-radius: 8px;
            background: var(--md-surface-container);
            color: var(--md-on-surface);
            font-family: inherit;
            font-size: 1rem;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--md-primary);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .social-links {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        /* Contact buttons */
        .contact-button {
            display: inline-block;
            padding: 16px 32px;
            background: var(--md-primary);
            color: var(--md-on-primary);
            border-radius: 100px;
            text-decoration: none;
            margin: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            font-weight: 500;
            letter-spacing: 0.5px;
            cursor: pointer;
        }

        .contact-button:hover {
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        /* Section headings */
        section h2 {
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: var(--md-primary);
            font-weight: 600;
            letter-spacing: -0.5px;
            text-align: center;
        }

        /* Dark mode toggle */
        .dark-mode-toggle {
            position: fixed;
            top: 24px;
            right: 24px;
            background: var(--md-surface-container);
            border: none;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            cursor: pointer;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            color: var(--md-primary);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .dark-mode-toggle:hover {
            background: var(--md-surface-container-high);
            transform: scale(1.1);
        }

        /* GitHub stats cards */
        .github-stats img {
            border-radius: 16px;
            margin: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--md-surface-container);
        }

        .github-stats img:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        /* Dark mode styles */
        body.dark-mode {
            /* Premium Dark mode colors */
            --hue: 210;
            --md-primary: hsl(var(--hue), 100%, 75%);
            --md-primary-container: hsl(var(--hue), 50%, 20%);
            --md-on-primary: hsl(var(--hue), 100%, 10%);

            --md-surface: hsl(var(--hue), 15%, 8%);
            --md-surface-container: hsl(var(--hue), 15%, 12%);
            --md-surface-container-high: hsl(var(--hue), 15%, 16%);

            --glass-bg: rgba(10, 12, 15, 0.85);
            --glass-border: rgba(255, 255, 255, 0.08);

            --md-on-surface: hsl(var(--hue), 10%, 90%);
            --md-on-surface-container: hsl(var(--hue), 10%, 80%);

            background: var(--md-surface);
            color: var(--md-on-surface);
        }

        body.dark-mode .main-nav {
            border-bottom: 1px solid var(--md-surface-container-high);
        }

        /* Dark mode specific adjustments */
        body.dark-mode .intro-content {
            background: rgba(30, 32, 34, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(2px);
        }

        body.dark-mode .skill-card {
            background: rgba(30, 32, 34, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        body.dark-mode .skill-card:hover {
            background: rgba(30, 32, 34, 0.08);
        }

        body.dark-mode .project-item {
            background: rgba(30, 32, 34, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        body.dark-mode .project-item:hover {
            background: rgba(30, 32, 34, 0.08);
        }

        body.dark-mode .experience-item {
            background: rgba(30, 32, 34, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        body.dark-mode .experience-item:hover {
            background: rgba(30, 32, 34, 0.08);
        }

        body.dark-mode .contact-button {
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
        }

        body.dark-mode .contact-button:hover {
            background: var(--md-primary);
            color: var(--md-on-primary);
            box-shadow: 0 8px 32px rgba(149, 204, 255, 0.2);
        }

        body.dark-mode .dark-mode-toggle {
            background: var(--md-surface-container-highest);
            color: var(--md-primary);
        }

        body.dark-mode .dark-mode-toggle:hover {
            background: var(--md-surface-container-high);
            color: var(--md-primary);
        }

        /* Update particles color for dark mode */
        body.dark-mode #bg-canvas {
            opacity: 0.8;
        }

        /* Dark mode section headings */
        body.dark-mode section h2 {
            color: var(--md-primary);
            text-shadow: 0 0 20px rgba(149, 204, 255, 0.1);
        }

        /* Dark mode date tags */
        body.dark-mode .date {
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
        }


        /* Dark mode text highlights */
        body.dark-mode ::selection {
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
        }

        /* Mobile Navigation */
        @media (max-width: 768px) {
            .nav-menu {
                position: fixed;
                top: 70px;
                left: 0;
                width: 100%;
                height: calc(100vh - 70px);
                background: var(--md-surface);
                border-right: 1px solid var(--md-surface-container-high);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transform: translateX(-100%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                border-radius: 0 16px 16px 0;
                gap: 8px;
            }

            .nav-menu.open {
                transform: translateX(0);
            }

            .hamburger {
                display: flex;
            }

            .nav-link {
                padding: 18px 24px;
                font-size: 1.1rem;
                width: 80%;
                text-align: center;
                border-radius: 20px;
            }

            .intro-content {
                padding: 30px;
            }

            .intro-profile img {
                width: 150px;
                height: 150px;
            }

            .intro-content h1 {
                font-size: 2rem;
            }

            .header h1 {
                font-size: 3rem;
            }

            .typing-text {
                font-size: 1.2rem;
            }

            section {
                padding: 32px 20px;
                margin: 32px 0;
                border-radius: 20px;
            }
        }

        @media (max-width: 480px) {
            .intro-content {
                padding: 20px;
            }

            .intro-profile img {
                width: 180px;
                height: 180px;
            }

            .intro-content h1 {
                font-size: 2rem;
            }

            .skill {
                padding: 20px;
            }

            section h2 {
                font-size: 2rem;
            }

            .contact-button {
                padding: 12px 24px;
            }
        }

        /* Loading States */
        .skeleton {
            background: linear-gradient(90deg, var(--md-surface-container-high) 25%, var(--md-surface-container) 50%, var(--md-surface-container-high) 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
            border-radius: 8px;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .github-card img {
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .github-card img.loaded {
            opacity: 1;
        }

        /* Micro-interactions */
        .contact-button:active {
            transform: translateY(1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .skill-card:active {
            transform: translateY(2px);
        }

        /* Enhanced hover effects */
        .project-card:hover .project-tech span {
            background: var(--md-primary);
            color: var(--md-on-primary);
        }

        /* Reduced motion support */
        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

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

        section {
            animation: fadeIn 0.6s ease-out forwards;
        }


        /* Experience section styling */
        .experience-item {
            margin-bottom: 40px;
            padding: 30px;
            background: transparent;
            backdrop-filter: blur(2px);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: transform 0.3s ease;
        }

        .experience-item:hover {
            backdrop-filter: blur(4px);
            transform: translateY(-5px);
            box-shadow: 0 0 20px rgba(0, 100, 149, 0.5);
        }

        .experience-item h3 {
            color: var(--md-on-surface-container);
            margin-bottom: 10px;
            text-align: center;
        }

        .experience-item h4 {
            color: var(--md-secondary);
            margin-bottom: 15px;
        }

        .date {
            display: inline-block;
            padding: 5px 10px;
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
            border-radius: 20px;
            font-size: 0.9rem;
            margin: 10px 0;
        }

        .experience-item ul {
            margin: 15px 0;
            padding-left: 20px;
        }

        .experience-item li {
            margin-bottom: 8px;
            line-height: 1.6;
        }

        /* Education section styling */
        .education-item {
            padding: 30px;
            background: transparent;
            backdrop-filter: blur(2px);
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 20px;
        }

        .education-item h3 {
            color: var(--md-primary);
            margin-bottom: 10px;
            text-align: center;
        }

        /* Add/update these styles */
        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        /* Timeline Experience Styling */
        .timeline {
            position: relative;
            padding: 2rem 0;
        }

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

        .timeline-item {
            position: relative;
            padding-left: 3rem;
            margin-bottom: 3rem;
        }

        .timeline-dot {
            position: absolute;
            left: -6px;
            top: 0;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--md-primary);
            border: 2px solid var(--md-surface);
        }

        .timeline-content {
            background: var(--md-surface-container);
            backdrop-filter: var(--glass-blur);
            border-radius: 20px;
            padding: 2rem;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: scale(1.01);
            box-shadow: var(--shadow-md);
        }

        .timeline-header {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-bottom: 1rem;
            gap: 0.5rem;
        }

        /* Projects Section Styling */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            justify-content: center;
        }

        .project-card {
            background: var(--md-surface-container);
            backdrop-filter: var(--glass-blur);
            border-radius: 24px;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border: 1px solid var(--glass-border);
            box-shadow: var(--shadow-sm);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .project-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: var(--shadow-lg);
            border-color: var(--md-primary);
        }

        .project-tech {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        .project-tech span {
            background: var(--md-primary-container);
            color: var(--md-on-primary-container);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .project-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .project-link {
            color: var(--md-primary);
            font-size: 1.25rem;
            transition: all 0.3s ease;
        }

        .project-link:hover {
            color: var(--md-secondary);
        }

        /* Certifications Section */
        .certifications-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            justify-content: center;
        }

        .cert-card {
            background: transparent;
            backdrop-filter: blur(2px);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.3s ease;
        }

        .cert-card:hover {
            backdrop-filter: blur(4px);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 100, 149, 0.5);
        }

        .cert-card h3 {
            color: var(--md-primary);
            margin-bottom: 0.5rem;
        }

        .cert-card p {
            color: var(--md-on-surface-container);
            margin-bottom: 1rem;
        }


        /* Tablet Responsive */
        @media (max-width: 1024px) {
            .nav-container {
                padding: 0 20px;
                height: 75px;
            }

            .nav-link {
                padding: 14px 16px;
                font-size: 0.9rem;
            }

            .nav-menu {
                gap: 4px;
            }

            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }

            .projects-grid,
            .certifications-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .nav-container {
                height: 70px;
                padding: 0 20px;
            }

            .nav-logo {
                font-size: 1.3rem;
            }

            .contact-button {
                padding: 14px 28px;
                min-width: 44px;
                min-height: 44px;
            }

            .form-group input,
            .form-group textarea {
                padding: 14px 16px;
            }

            .social-links {
                justify-content: center;
            }

            .timeline::before {
                left: 15px;
            }

            .timeline-item {
                padding-left: 2.5rem;
            }

            .timeline-dot {
                left: 9px;
            }

            .project-card {
                padding: 1.5rem;
            }
        }

        /* GitHub Stats Section */
        .github-stats {
            padding: 2rem 0;
            backdrop-filter: blur(4px);
        }

        .stats-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 2rem;
            justify-content: center;
        }

        .stats-sub-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            justify-content: center;
        }

        .github-card {
            flex: 1;
            min-width: 280px;
            max-width: 40%;
            height: auto;
            background: transparent;
            backdrop-filter: blur(2px);
            border-radius: 12px;
            padding: 0.75rem;
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.05);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .github-card:hover {
            backdrop-filter: blur(4px);
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 100, 149, 0.5);
        }

        .github-card img {
            width: 100%;
            height: auto;
            border-radius: 6px;
            display: block;
        }

        .snake-container {
            background: transparent;
            backdrop-filter: blur(2px);
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            overflow: hidden;
        }

        .snake-container img {
            width: 100%;
            height: auto;
            filter: drop-shadow(0 0 8px rgba(0, 100, 149, 0.15));
        }

        /* Dark mode adjustments */
        body.dark-mode .github-card,
        body.dark-mode .snake-container {
            background: rgba(30, 32, 34, 0.05);
            border-color: rgba(255, 255, 255, 0.02);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .stats-grid {
                flex-direction: column;
            }

            .stats-sub-grid {
                flex-direction: column;
            }
        }