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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #0c1426 0%, #1a2332 50%, #2d1b69 100%);
            color: white;
            overflow-x: hidden;
        }

        .logo img {
            height: 40px; 
            width: auto;  
        }

        /* Animated background particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .particle {
            position: absolute;
            background: rgba(74, 144, 226, 0.3);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
            50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(12, 20, 38, 0.95);
            backdrop-filter: blur(15px);
            padding: 1rem 0;
            z-index: 1000;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(74, 144, 226, 0.1);
        }

        nav.scrolled {
            background: rgba(12, 20, 38, 0.98);
            backdrop-filter: blur(20px);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        }

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

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            background: linear-gradient(45deg, #4a90e2, #bd7ae0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            list-style: none;
        }
        .nav-links li a {
            color: white;
            text-decoration: none;
        }


        .nav-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #4a90e2;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(45deg, #4a90e2, #bd7ae0);
            transition: width 0.3s ease;
        }

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

        .theme-toggle {
            background: rgba(74, 144, 226, 0.2);
            border: 1px solid rgba(74, 144, 226, 0.3);
            border-radius: 50px;
            padding: 0.5rem;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: none;
        }

        .theme-toggle:hover {
            background: rgba(74, 144, 226, 0.3);
        }

        /* Mobile menu */
        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: white;
            margin: 4px 0;
            transition: 0.3s;
        }

        /* Main content */
        main {
            position: relative;
            z-index: 10;
        }

        section {
            min-height: 100vh;
            padding: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            max-width: 1200px;
            width: 100%;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            position: relative;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            animation: fadeInUp 1s ease-out;
        }

        .hero .name {
            background: linear-gradient(45deg, #4a90e2, #bd7ae0, #e91e63);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient 3s ease-in-out infinite;
            background-size: 300% 300%;
        }

        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .hero h2 {
            font-size: 2rem;
            color: #4a90e2;
            margin-bottom: 2rem;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero p {
            font-size: 1.2rem;
            line-height: 1.6;
            margin-bottom: 3rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .hero .code, .hero .design {
            color: #4a90e2;
            font-weight: bold;
        }

        .hero .design {
            color: #e91e63;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: linear-gradient(45deg, #4a90e2, #bd7ae0);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
        }

        .btn-secondary {
            background: rgba(74, 144, 226, 0.1);
            color: #4a90e2;
            border: 2px solid #4a90e2;
        }

        .btn-secondary:hover {
            background: #4a90e2;
            color: white;
            transform: translateY(-2px);
        }

        /* Social Links - Hide on scroll */
        .social-links {
            position: fixed;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            opacity: 1;
            transition: all 0.3s ease;
        }

        .social-links.hidden {
            opacity: 0;
            transform: translateY(-50%) translateX(-100px);
            pointer-events: none;
        }

        .social-container {
            backdrop-filter: blur(10px);
            border-radius: 25px;
            padding: 1rem;
        }

        .social-item {
            position: relative;
            margin: 0.5rem 0;
        }

        .social-item a {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            position: relative;
            overflow: hidden;
        }

        .social-item a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--hover-bg);
            opacity: 0;
            transition: opacity 0.3s ease;
            border-radius: 50%;
        }

        .social-item a i {
            position: relative;
            z-index: 2;
        }

        .social-name {
            position: absolute;
            left: 70px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--hover-bg);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .social-name::before {
            content: '';
            position: absolute;
            left: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 8px solid transparent;
            border-bottom: 8px solid transparent;
            border-right: 8px solid var(--hover-bg);
        }

        /* GitHub */
        .social-item:nth-child(1) {
            --hover-bg: #333;
        }

        .social-item:nth-child(1) a:hover {
            background: #333;
            color: white;
            border-color: #333;
            transform: translateX(5px);
        }

        .social-item:nth-child(1) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(1):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
        }

        /* LinkedIn */
        .social-item:nth-child(2) {
            --hover-bg: #0077b5;
        }

        .social-item:nth-child(2) a:hover {
            background: #0077b5;
            color: white;
            border-color: #0077b5;
            transform: translateX(5px);
        }

        .social-item:nth-child(2) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(2):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
        }

        /* Twitter */
        .social-item:nth-child(3) {
            --hover-bg: #000000; /* Black for X */
        }

        .social-item:nth-child(3) a:hover {
            background: #000000; /* Black hover */
            color: white;
            border-color: #000000;
            transform: translateX(5px);
        }

        .social-item:nth-child(3) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(3):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
        }


        /* Facebook */
        .social-item:nth-child(4) {
            --hover-bg: #1877f2;
        }

        .social-item:nth-child(4) a:hover {
            background: #1877f2;
            color: white;
            border-color: #1877f2;
            transform: translateX(5px);
        }

        .social-item:nth-child(4) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(4):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
        }

        /* Instagram */
        .social-item:nth-child(5) {
            --hover-bg: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
        }

        .social-item:nth-child(5) a:hover {
            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
            color: white;
            border-color: #e1306c;
            transform: translateX(5px);
        }

        .social-item:nth-child(5) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(5):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
        }

        .social-item:nth-child(5) .social-name::before {
            border-right-color: #f09433;
        }

        /* Email */
        .social-item:nth-child(6) {
            --hover-bg: #ea4335;
        }

        .social-item:nth-child(6) a:hover {
            background: #ea4335;
            color: white;
            border-color: #ea4335;
            transform: translateX(5px);
        }

        .social-item:nth-child(6) a:hover::before {
            opacity: 1;
        }

        .social-item:nth-child(6):hover .social-name {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(10px);
        }

        /* Demo content */
        .demo-content {
            padding: 2rem;
            color: white;
            text-align: center;
            margin-top: 10rem;
        }

        .demo-content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .demo-content p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Toggle Button - Only visible when social bar is hidden */
        .social-toggle {
            position: fixed;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(30, 41, 59, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 101;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-50%) translateX(-100px);
        }

        .social-toggle.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .social-links {
                left: 1rem;
            }
            
            .social-toggle {
                left: 1rem;
            }
            
            .social-name {
                display: none;
            }
        }


        




        


        /* About Section */
        .about {
            background: #1a2332;
            padding: 4rem 12rem;
        }

        .about h2 {
            text-align: center;
            font-size: 2rem;
            color: white;
            margin-bottom: 0.5rem;
        }

        .about > .container > p {
            text-align: center;
            color: #aaa;
            margin-bottom: 3rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            align-items: flex-start;
        }

        /* Image Wrapper */
        .about-image-wrapper {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .main-image {
            width: 350px;
            height: 386px;
            object-fit: cover;
            border-radius: 15px;
        }

        .small-images {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .small-images img {
            width: 84px;
            height: 84px;
            border-radius: 10px;
            object-fit: cover;
            border: 3px solid rgba(255, 255, 255, 0.3);
            transition: transform 0.3s, border-color 0.3s;
            cursor: pointer;
        }

        .small-images img.active {
            border-color: #0d78f3; /* Blue border for active image */
            transform: scale(1.05);
        }

        .small-images img:hover {
            transform: scale(1.15);
            border-color: #0d78f3;
        }

        /* Text Section */
        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: white;
        }

        .about-text p {
            color: #ddd;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        /* Stats */
        .about-stats {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
        }

        .stat {
            text-align: center;
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 12px;
        }

        .stat h3 {
            color: #4a90e2;
            font-size: 1.5rem;
        }

        .stat p {
            color: #bbb;
        }


        /* Default styles remain as they are */

        /* ✅ Tablet View (max-width: 992px) */
        @media (max-width: 992px) {
            .about-content {
                grid-template-columns: 1fr; /* Stack content vertically */
                text-align: center;
            }

            .about-image-wrapper {
                justify-content: center;
                flex-direction: column; /* Main image and small images in a column */
                align-items: center;
            }

            .main-image {
                width: 80%;
                height: auto;
            }

            .small-images {
                flex-direction: row; /* Display small images in a row */
                justify-content: center;
                flex-wrap: wrap;
                margin-top: 1rem;
            }

            .small-images img {
                width: 70px;
                height: 70px;
                transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s;
            }

            .about-text {
                margin-top: 2rem;
                text-align: center;
            }

            .about-stats {
                justify-content: center;
            }
        }

        /* ✅ Mobile View (max-width: 576px) */
        @media (max-width: 576px) {
            .about {
                padding: 2rem 1rem;
            }

            .main-image {
                width: 100%;
                height: auto;
            }

            .about-text h3 {
                font-size: 1.5rem;
            }

            .about-text p {
                font-size: 0.95rem;
            }

            .about-stats {
                flex-direction: column; /* Stats stacked on small screens */
                gap: 1rem;
            }

            .stat {
                width: 100%;
            }
        }







        /* Education Section */
        .education {
            background: rgba(12, 20, 38, 0.3);
        }

        .education h2 {
            text-align: center;
            font-size: 2.1rem;
            margin-bottom: 1rem;
            background: white;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .education > .container > p {
            text-align: center;
            opacity: 0.8;
            margin-bottom: 4rem;
        }

        /* Timeline Styles */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #4a90e2, #bd7ae0);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* .timeline-item {
            position: relative;
            margin: 3rem 0;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        } */


        /* Fade In Up Animation */
        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .timeline-item {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .timeline-item:nth-child(1) { animation-delay: 0.2s; }
        .timeline-item:nth-child(2) { animation-delay: 0.4s; }
        .timeline-item:nth-child(3) { animation-delay: 0.6s; }

        .timeline-item.left {
            padding-right: 57%;
        }

        .timeline-item.right {
            padding-left: 57%;
        }

        .timeline-content {
            background: rgba(74, 144, 226, 0.1);
            border: 2px solid #4a90e2;
            border-radius: 20px;
            padding: 1.0rem;
            position: relative;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: translateY(-10px);
            border-color: #bd7ae0;
            background: rgba(74, 144, 226, 0.15);
            box-shadow: 0 20px 40px rgba(74, 144, 226, 0.2);
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 50%;
            width: 0;
            height: 0;
            border: 15px solid transparent;
            transform: translateY(-50%);
        }

        .timeline-item.left .timeline-content::before {
            right: -30px;
            border-left-color: #4a90e2;
        }

        .timeline-item.right .timeline-content::before {
            left: -30px;
            border-right-color: #4a90e2;
        }

        .timeline-icon {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #4a90e2, #bd7ae0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            z-index: 10;
            border: 4px solid rgba(12, 20, 38, 1);
            box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
        }

        .timeline-date {
            color: #4a90e2;  /* match your theme color */
            font-weight: 600;
            font-size: 1rem;
            margin: 4px 0 12px 0;
        }

        .timeline-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: white;
        }

        .timeline-content h4 {
            color: #4a90e2;
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }

        .timeline-content .location {
            opacity: 0.7;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .timeline-content p {
            opacity: 0.9;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        /* .timeline-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        } */

        .timeline-tag {
            background: #4a90e2;
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 25px;
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .timeline-tag:hover {
            background: #bd7ae0;
            transform: scale(1.05);
        }

        .timeline-icon img {
            width: 70%; /* fits well inside the circle */
            height: 70%;
            object-fit: contain;
            border-radius: 0%; /* optional, if you want image also rounded */
        }

        .timeline-item:nth-child(2) .timeline-icon img {
            margin-top: 10px; /* Adjust value as needed */
        }


        .timeline-header-image {
            width: 100%;
            margin-bottom: 1rem; /* Space below the image */
            overflow: hidden;
            border-radius: 12px; /* Rounded corners for header image */
        }

        .timeline-header-image img {
            width: 100%;
            height: 200px; /* Adjust as needed */
            object-fit: cover; /* Crop image to fit */
            display: block;
        }





        /* Skills Section */
        .skills h2 {
            text-align: center;
            font-size: 2.1rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, rgb(255 255 255), rgb(255 255 255)) text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
        }

        .skills > .container > p {
            text-align: center;
            opacity: 0.8;
            margin-bottom: 4rem;
            font-size: 1.1rem;
        }

        /* Category Grid */
        .skills-categories {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

       .category-card {
            background: rgba(15, 20, 25, 0.8);
            border: 2px solid rgba(59, 130, 246, 0.3); /* Blue */
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .category-card::before {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
        }

        .category-card:hover {
            border-color: rgba(59, 130, 246, 0.6);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
        }

        .category-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            text-align: center;
            color: #ffffff;
            position: relative;
            z-index: 2;
        }

        .skills-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            position: relative;
            z-index: 2;
        }

        .skill-item {
            background: rgba(0, 0, 0, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 8px;
            padding: 0.6rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: fit-content;
        }

        .skill-item:hover {
            border-color: rgba(59, 130, 246, 0.5);
            background: rgba(59, 130, 246, 0.1);
        }

        .skill-item::before {
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
        }

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

        .skill-icon {
            font-size: 1.2rem;
            position: relative;
            z-index: 2;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .skill-name {
            font-size: 0.85rem;
            font-weight: 500;
            position: relative;
            z-index: 2;
            white-space: nowrap;
        }


        /* Icon base style */
        .skill-icon i {
            font-size: 1.2rem;
        }
        /* Frontend colors */
        .react-color { color: #61DAFB; }
        .nextjs-color { color: #6c6c6c; } /* Next.js official color is black */
        .redux-color { color: #764ABC; }
        .html-color { color: #E34F26; }
        .css-color { color: #1572B6; }
        .js-color { color: #F7DF1E; }
        .ts-color { color: #3178C6; } /* TypeScript blue */
        .bootstrap-color { color: #7952B3; }
        .materialui-color { color: #0081CB; }
        .tailwind-color { color: #38B2AC; }

        /* Backend colors */
        .nodejs-color { color: #339933; }
        .expressjs-color { color: #646464; } /* Express is mostly black */
        .mysql-color { color: #4479A1; }
        .mongodb-color { color: #47A248; }
        .firebase-color { color: #FFCA28; }

        /* Others */
        .github-color { color: #7a7a7a; }
        .vscode-color { color: #007ACC; }
        .visualstudio-color { color: #5C2D91; }
        .postman-color { color: #FF6C37; }
        .thunderclient-color { color: #FFAD1F; }
        .netlify-color { color: #00C7B7; }
        .figma-color { color: #F24E1E; }




        /* Responsive Design */
        @media (max-width: 768px) {
            .skills-categories {
                grid-template-columns: 1fr;
            }
            
            .skills h2 {
                font-size: 2rem;
            }
            
            .category-card {
                padding: 1.5rem;
            }
            
            .skills-grid {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            }
        }

        /* Animation for skill items */
        .skill-item {
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        .skill-item:nth-child(1) { animation-delay: 0.1s; }
        .skill-item:nth-child(2) { animation-delay: 0.2s; }
        .skill-item:nth-child(3) { animation-delay: 0.3s; }
        .skill-item:nth-child(4) { animation-delay: 0.4s; }
        .skill-item:nth-child(5) { animation-delay: 0.5s; }
        .skill-item:nth-child(6) { animation-delay: 0.6s; }
        .skill-item:nth-child(7) { animation-delay: 0.7s; }
        .skill-item:nth-child(8) { animation-delay: 0.8s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        /* Base hidden state */
        .skill-item {
            opacity: 0;
            transform: translateY(20px);
        }

        /* Animate when in view */
        .skill-item.animate {
            animation: fadeInUp 0.6s ease forwards;
        }

        /* Stagger delay */
        .skill-item.animate:nth-child(1) { animation-delay: 0.1s; }
        .skill-item.animate:nth-child(2) { animation-delay: 0.2s; }
        .skill-item.animate:nth-child(3) { animation-delay: 0.3s; }
        .skill-item.animate:nth-child(4) { animation-delay: 0.4s; }
        .skill-item.animate:nth-child(5) { animation-delay: 0.5s; }
        .skill-item.animate:nth-child(6) { animation-delay: 0.6s; }
        .skill-item.animate:nth-child(7) { animation-delay: 0.7s; }
        .skill-item.animate:nth-child(8) { animation-delay: 0.8s; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }



        
        .skill-item:hover .skill-icon i {
            animation: pulseGlow 1s infinite;
        }

        @keyframes pulseGlow {
            0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px currentColor); }
            50% { transform: scale(1.2); filter: drop-shadow(0 0 12px currentColor); }
        }






        /* Projects Section */
        .projects {
            background: rgba(12, 20, 38, 0.5);
            padding: 60px 20px;
        }
        .projects h2 {
            text-align: center;
            font-size: 2.1rem;
            margin-bottom: 1rem;
            background: white;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .projects > .container > p {
            text-align: center;
            opacity: 0.8;
            margin-bottom: 2rem;
        }
            /* Filter Buttons */
        .project-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2.5rem;
            flex-wrap: wrap;
        }
        .filter-btn {
            padding: 8px 18px;
            font-size: 0.9rem;
            color: #ffffff;
            background: transparent;
            border: 2px solid #2563eb;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        .filter-btn:hover {
            background: #2563eb;
            color: #fff;
        }
        .filter-btn.active {
            background: #3b82f6;
            border-color: #3b82f6;
            color: #fff;
        }
            /* Project Cards Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.4rem;
            padding-left: 60px;
            padding-right: 60px;
        }
            /* Project Card Styling */
        .project-card {
            background: rgba(74, 144, 226, 0.1);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 15px;
            overflow: hidden;
            transition: all 0.3s ease;
            max-width: 320px;
            margin: 10px auto;
        }
        .project-card:hover {
            transform: translateY(-8px);
            border-color: #4a90e2;
            box-shadow: 0 10px 25px rgba(74, 144, 226, 0.2);
        }
            /* Image Section */
        .project-image {
            width: 100%;
            height: 180px;
            background: linear-gradient(135deg, #4a90e2, #bd7ae0);
            overflow: hidden;
        }
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .project-card:hover .project-image img {
            transform: scale(1.1);
        }
            /* Project Content */
        .project-content {
            padding: 1rem;
        }
        .project-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: white;
        }
        .project-content p {
            opacity: 0.8;
            line-height: 1.4;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            display: -webkit-box;
            /* -webkit-line-clamp: 2; */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
            /* Tags */
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }
        .project-tag {
            background: #4a90e2;
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 12px;
            font-size: 0.75rem;
        }
            /* More link */
        .more-link {
            color: #ffffffff;
            font-weight: 500;
            cursor: pointer;
            display: inline-block;
            margin-bottom: 0.8rem;
        }
            /* Responsive */
        @media screen and (max-width: 1024px) {
        .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
            @media screen and (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
            }



            /* Modal Overlay */
            .modal {
                display: none;
                position: fixed;
                z-index: 1000;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.7);
                display: flex;
                justify-content: center;
                align-items: center;
                backdrop-filter: blur(4px);
                transition: opacity 0.3s ease;
            }

            /* Modal Content */
            .modal-content {
                background: #111827; 
                padding: 25px 30px;
                border-radius: 16px;
                max-width: 600px;
                width: 90%;
                color: #f0f0f0;
                position: relative;
                box-shadow: 0 15px 30px rgba(0,0,0,0.4);
                transform: scale(0.9);
                opacity: 0;
                animation: fadeInScale 0.3s forwards;
            }

            /* Modal Header */
            .modal-header h3 {
                font-size: 1.5rem;
                margin-bottom: 0.8rem;
                border-bottom: 1px solid #4a90e2;
                padding-bottom: 0.5rem;
            }

            /* Modal Body */
            .modal-body p {
                font-size: 1rem;
                line-height: 1.6;
                color: #d1d5db;
            }

            /* Modal Footer */
            .modal-footer {
                margin-top: 1.2rem;
                display: flex;
                justify-content: center;
                gap: 12px;
            }


            /* Paper Button */
            .paper-btn {
            padding: 10px 18px;
            background: #10b981; /* green */
            color: #fff;
            border-radius: 8px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            }
            .paper-btn:hover {
            background: #059669;
            transform: translateY(-2px);
            }


            
            /* Close Button */
            .modal-content .close {
                position: absolute;
                top: 12px;
                right: 18px;
                font-size: 1.6rem;
                cursor: pointer;
                color: #9ca3af;
                transition: color 0.3s ease;
            }
            .modal-content .close:hover {
                color: #ffffff;
            }

            /* GitHub Button */
            .github-btn {
                padding: 10px 18px;
                background: #3b82f6;
                color: #fff;
                border-radius: 8px;
                font-weight: 500;
                text-decoration: none;
                transition: all 0.3s ease;
            }
            .github-btn:hover {
                background: #2563eb;
                transform: translateY(-2px);
            }


            #modalPaper {
                font-weight: bold; /* makes the text bold */
            }

            #modalPaper a {
                color: #1e90ff; /* change link color */
                text-decoration: none; /* remove underline, optional */
            }

            #modalPaper a:hover {
                text-decoration: underline; /* underline on hover, optional */
            }


            
            /* Animation */
            @keyframes fadeInScale {
                from { opacity: 0; transform: scale(0.9); }
                to { opacity: 1; transform: scale(1); }
            }




            /* .github-btn {
                display: inline-block;
                margin-top: 1rem;
                padding: 8px 16px;
                background-color: #3b82f6;
                color: white;
                border-radius: 8px;
                text-decoration: none;
                font-weight: 500;
                transition: background 0.3s ease;
            }

            .github-btn:hover {
                background-color: #2563eb;
            } */












        /* Contact Section */
        .contact h2 {
            text-align: center;
            font-size: 2.1rem;
            margin-bottom: 1rem;
            background: white;
            /* background: linear-gradient(45deg, #4a90e2, #bd7ae0); */
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .contact > .container > p {
            text-align: center;
            opacity: 0.8;
            margin-bottom: 4rem;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }

        .contact-form {
            background: rgba(74, 144, 226, 0.1);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 20px;
            padding: 2rem;
        }

        .contact-form h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: white;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: rgba(12, 20, 38, 0.8);
            border: 1px solid rgba(74, 144, 226, 0.3);
            border-radius: 10px;
            color: white;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #4a90e2;
            box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

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

        .contact-info h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }

        .contact-info > p {
            text-align: left;
            margin-bottom: 2rem;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background: rgba(74, 144, 226, 0.1);
            border: 1px solid rgba(74, 144, 226, 0.2);
            border-radius: 15px;
            transition: all 0.3s ease;
        }

        .contact-item:hover {
            background: rgba(74, 144, 226, 0.15);
            transform: translateX(5px);
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, #4a90e2, #bd7ae0);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .contact-text h4 {
            margin-bottom: 0.5rem;
            color: white;
        }

        .contact-text p {
            opacity: 0.8;
            margin: 0;
        }

        .social-follow {
            margin-top: 2rem;
        }

        .social-follow h4 {
            margin-bottom: 1rem;
        }

        .social-buttons {
            display: flex;
            gap: 1rem;
        }

        .social-btn {
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .social-btn.github {
            background: #333;
        }

        .social-btn.linkedin {
            background: #0077b5;
        }

        .social-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }


        #formResult .success { color: #065f46; background:#ecfdf5; padding:10px; border-radius:6px; }
        #formResult .error   { color: #7f1d1d; background:#fff1f2; padding:10px; border-radius:6px; }

        /* Footer */
        footer {
            background: rgba(12, 20, 38, 0.9);
            padding: 1.3rem;
            text-align: center;
            border-top: 1px solid rgba(74, 144, 226, 0.2);
        }

        footer p {
            opacity: 0.8;
            margin-bottom: 1rem;
            font-size: 0.8rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.9rem;
            margin-top: -0.1rem;
            font-size: 0.8rem;
        }

        .footer-links a {
            color: #4a90e2;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #bd7ae0;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

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

            @media (max-width: 768px) {
                .nav-links {
                    display: none; /* Hide links by default on mobile */
                    flex-direction: column;
                    position: absolute;
                    top: 60px;
                    right: 20px;
                    background: #333;
                    width: 200px;
                    padding: 10px;
                    border-radius: 8px;
                }

                .nav-links.active {
                    display: flex; /* Show links when active */
                }

                .mobile-menu {
                    display: flex; /* Show hamburger icon */
                }
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero h2 {
                font-size: 1.5rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .about-stats {
                grid-template-columns: 1fr;
            }

            .contact-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

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

            .social-links {
                display: none;
            }

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

            section {
                padding: 1rem;
            }

            .skills-showcase {
                grid-template-columns: 1fr;
            }

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

            .timeline::before {
                left: 2rem;
            }

            .timeline-item {
                padding-left: 4rem !important;
                padding-right: 0 !important;
            }

            .timeline-icon {
                left: 2rem;
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .timeline-content::before {
                left: -15px !important;
                right: auto !important;
                border-right-color: #4a90e2 !important;
                border-left-color: transparent !important;
            }

            .timeline-date {
                text-align: left;
                left: 4.5rem;
            }
        }

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

            .hero h2 {
                font-size: 1.2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .contact-form {
                padding: 1.5rem;
            }

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

            .project-card {
                cursor: pointer;
            }
        }

        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.6);
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }
