        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #3b82f6;
            --primary-dark: #2563eb;
            --primary-light: #60a5fa;
            --secondary-color: #1e40af;
            --accent-color: #38bdf8;
            --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6, #38bdf8);
            --text-light: #f8fafc;
            --text-muted: #cbd5e1;
            --background-dark: #0f172a;
            --background-card: rgba(30, 41, 59, 0.8);
            --background-light: #1e293b;
            --border: #475569;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
            --glow: 0 0 20px rgba(59, 130, 246, 0.7);
            --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --border-radius: 16px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-light);
            background: var(--background-dark);
            overflow-x: hidden;
            font-weight: 400;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        /* Enhanced Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: var(--transition-smooth);
            border-bottom: 1px solid rgba(71, 85, 105, 0.3);
            transform: translateY(0);
        }

        .navbar.scrolled {
            padding: 0.8rem 0;
            background: rgba(15, 23, 42, 0.98);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

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

        .nav-logo a {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
            position: relative;
        }

        .nav-logo a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            transition: width 0.3s ease;
        }

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

        /* Desktop Navigation Menu - ALWAYS VISIBLE ON DESKTOP */
        .nav-menu {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 500;
            font-size: 1rem;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
            transition: left 0.6s ease;
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .nav-link:hover {
            color: var(--primary-color);
            background: rgba(59, 130, 246, 0.1);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
        }

        /* Hamburger Menu - HIDDEN ON DESKTOP */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            background: transparent;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 10px;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 1001;
            transition: var(--transition-smooth);
            background: rgba(59, 130, 246, 0.1);
        }
        @media (max-width: 768px) {
            .hamburger {
                display: flex !important; /* Force show on mobile */
                visibility: visible !important;
                opacity: 1 !important;
            }
        }
        .hamburger:hover {
            background: rgba(59, 130, 246, 0.2);
            transform: scale(1.05);
        }

        .hamburger span {
             display: block !important;
            width: 24px !important;
            height: 2px !important;
            background: var(--text-light) !important;
            margin: 4px 0 !important;
            transition: var(--transition-smooth);
            transform-origin: center;
            border-radius: 1px;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
            background: var(--primary-color);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0 !important;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
            background: var(--primary-color);
        }

        /* Hero Section */
        .hero {
            padding: 160px 0 100px;
            background: linear-gradient(135deg, 
                rgba(15, 23, 42, 0.9) 0%,
                rgba(30, 41, 59, 0.8) 50%,
                rgba(30, 64, 175, 0.6) 100%);
            color: white;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            width: 300%;
            height: 300%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translate(0, 0) rotate(0deg);
            }
            33% {
                transform: translate(-30px, -30px) rotate(120deg);
            }
            66% {
                transform: translate(30px, 30px) rotate(240deg);
            }
        }

        .hero-container {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            animation: fadeIn 1s ease-out;
        }

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

        .hero-content {
            animation: slideInLeft 1s ease-out 0.3s both;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .hero-title {
            font-size: 3.8rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #fff, var(--primary-light), #fff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
            display: inline-block;
        }

        .hero-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100px;
            height: 4px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
            animation: widthPulse 3s infinite;
        }

        @keyframes widthPulse {
            0%, 100% {
                width: 100px;
            }
            50% {
                width: 150px;
            }
        }

        .highlight {
            position: relative;
            display: inline-block;
            color: rgb(241, 238, 238) !important;
        }

        .highlight::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 10px;
            background: linear-gradient(45deg, 
                transparent 20%, 
                rgba(59, 130, 246, 0.3) 40%, 
                transparent 60%);
            z-index: -1;
            animation: highlightShimmer 3s infinite;
        }

        @keyframes highlightShimmer {
            0%, 100% {
                transform: translateX(-100%);
            }
            50% {
                transform: translateX(100%);
            }
        }

        .hero-description {
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

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

        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease-out 0.9s both;
        }

        .btn {
            padding: 15px 35px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition-smooth);
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.3), 
                transparent);
            transition: left 0.8s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
            transform: translateZ(0);
        }

        .btn-primary:hover {
            transform: translateY(-5px) translateZ(20px);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.6);
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--primary-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
        }

        .btn-resume {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
        }

        .btn-resume:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--primary-color);
            transform: translateY(-5px);
        }

        .hero-social {
            display: flex;
            gap: 1.5rem;
            animation: fadeInUp 1s ease-out 1.2s both;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: white;
            font-size: 1.4rem;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .social-link:hover::before {
            width: 100%;
            height: 100%;
        }

        .social-link i {
            position: relative;
            z-index: 1;
        }

        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
        }

        .social-link:hover i {
            color: white;
        }

        /* Enhanced Profile Image */
        .hero-image {
            animation: slideInRight 1s ease-out 0.3s both;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .profile-photo-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 350px;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.5s ease;
            opacity: 0;
            transform: scale(0.8) rotate(-10deg);
            animation: photoReveal 1.5s ease-out 0.5s forwards;
        }

        @keyframes photoReveal {
            0% {
                opacity: 0;
                transform: scale(0.8) rotate(-10deg);
                box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
            }
            50% {
                opacity: 0.7;
                transform: scale(1.05) rotate(5deg);
                box-shadow: 0 0 0 20px rgba(59, 130, 246, 0);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
                box-shadow: var(--shadow-lg);
            }
        }

        .profile-full-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 24px;
            transform: scale(1.01);
            transition: transform 0.6s ease;
        }

        .profile-photo-container:hover .profile-full-photo {
            transform: scale(1.05);
        }

        .stats-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .stats-card:hover {
            transform: translateY(-10px);
            box-shadow: 
                0 30px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .profile-info h3 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(45deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .profile-info p {
            color: var(--accent-color);
            font-size: 1.2rem;
            font-weight: 500;
            margin-bottom: 2rem;
        }

        .profile-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .stat {
            text-align: center;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .stat::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(59, 130, 246, 0.2), 
                transparent);
            transition: left 0.6s ease;
        }

        .stat:hover::before {
            left: 100%;
        }

        .stat:hover {
            background: rgba(59, 130, 246, 0.1);
            transform: translateY(-5px);
        }

        .stat-number {
            display: block;
            font-size: 2.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 0.5rem;
            line-height: 1;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Enhanced Sections */
        section {
            padding: 120px 0;
            position: relative;
            opacity:1 !important;
            transform: translateY(0) !important;
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        section.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section-title {
            text-align: center;
            font-size: 3.5rem;
            margin-bottom: 4rem;
            position: relative;
            background: linear-gradient(45deg, #fff, var(--primary-light));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 800;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
            animation: widthPulse 3s infinite;
        }

        /* Enhanced About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 4rem;
        }

        .personal-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .info-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
        }

        .info-item:hover {
            transform: translateY(-5px);
            border-color: rgba(59, 130, 246, 0.3);
            background: rgba(59, 130, 246, 0.05);
        }

        .info-item strong {
            display: block;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .about-content {
            background: var(--background-card);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            padding: 4rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
        }

        .about-content:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.2);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .about-description {
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 3rem;
            color: rgba(255, 255, 255, 0.9);
            padding: 2rem;
            background: rgba(30, 41, 59, 0.5);
            border-radius: 12px;
            border-left: 4px solid var(--primary-color);
        }

        /* Enhanced Hobbies */
        .hobbies {
            margin-bottom: 3rem;
        }

        .hobbies h4 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hobbies-list {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .hobby-tag {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(56, 189, 248, 0.2));
            color: var(--primary-light);
            padding: 0.8rem 1.5rem;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 500;
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

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

        .hobby-tag:hover::before {
            left: 100%;
        }

        .hobby-tag:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(56, 189, 248, 0.3));
            color: white;
        }

        /* Enhanced Personal Skills */
        .about-skills {
            margin-top: 3rem;
        }

        .about-skills h3 {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            padding:0;
            margin:0;
            align-items: stretch;
        }

        .skill-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 16px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
        }

        .skill-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
            transition: left 0.6s ease;
        }

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

        .skill-item:hover {
            transform: translateY(-10px) scale(1.05);
            border-color: var(--primary-color);
            background: rgba(59, 130, 246, 0.1);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
        }

        .skill-item::after {
            content: '✓';
            position: absolute;
            top: 10px;
            right: 10px;
            color: var(--primary-color);
            font-size: 1.2rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skill-item:hover::after {
            opacity: 1;
        }

        /* Enhanced Technical Skills */
        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .skills-category {
            background: var(--background-card);
            backdrop-filter: blur(20px);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }

        .skills-category::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--accent-gradient);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skills-category:hover::before {
            opacity: 1;
        }

        .skills-category:hover {
            transform: translateY(-10px);
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .skills-category h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: var(--primary-light);
            position: relative;
            display: inline-block;
            padding-bottom: 10px;
        }

        .skills-category h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent-gradient);
            border-radius: 2px;
        }

        /* Skill Bars Enhancement */
        .skill-bar {
            margin-bottom: 1.8rem;
        }

        .skill-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
            align-items: center;
        }

        .skill-name {
            font-weight: 600;
            color: white;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .skill-name::before {
            content: '▸';
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .skill-percent {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.1rem;
            background: rgba(59, 130, 246, 0.1);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
        }

        .skill-level {
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            overflow: hidden;
            position: relative;
        }

        .skill-progress {
            height: 100%;
            background: var(--accent-gradient);
            border-radius: 5px;
            width: 0;
            position: relative;
            overflow: hidden;
            animation: progressAnimation 1.5s ease-out forwards;
        }

        @keyframes progressAnimation {
            to {
                width: var(--target-width);
            }
        }

        .skill-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            100% {
                left: 100%;
            }
        }

        /* Enhanced Projects Section */
        .projects-grid {
            display: grid;
            gap: 3rem;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        }

        .project-card {
            background: var(--background-card);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            padding: 3rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--accent-gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.6s ease;
        }

        .project-card:hover::before {
            transform: scaleX(1);
        }

        .project-card:hover {
            transform: translateY(-20px) scale(1.02);
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 
                0 40px 80px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(59, 130, 246, 0.1);
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .project-header h3 {
            font-size: 1.8rem;
            color: white;
            font-weight: 700;
            line-height: 1.3;
        }

        .project-date {
            background: var(--accent-gradient);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .project-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2rem;
        }

        .tech-tag {
            background: rgba(59, 130, 246, 0.15);
            color: var(--primary-light);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            border: 1px solid rgba(59, 130, 246, 0.3);
            transition: var(--transition-smooth);
        }

        .tech-tag:hover {
            background: rgba(59, 130, 246, 0.3);
            transform: translateY(-2px);
        }

        .project-description {
            font-size: 1.1rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            padding-left: 1rem;
            border-left: 3px solid var(--primary-color);
        }

        .project-role {
            background: rgba(59, 130, 246, 0.1);
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            border: 1px solid rgba(59, 130, 246, 0.2);
        }

        .project-role strong {
            color: var(--primary-color);
            margin-right: 0.5rem;
        }

        .project-features {
            list-style: none;
            padding-left: 0;
        }

        .project-features li {
            padding: 0.5rem 0;
            padding-left: 2rem;
            position: relative;
            color: rgba(255, 255, 255, 0.8);
        }

        .project-features li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
        }

        /* Enhanced Education Section */
        .education-timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        .timeline-item {
            display: flex;
            margin-bottom: 3rem;
            position: relative;
            opacity: 1 !important;
            transform: translateX(0) !important;
            transition: all 0.8s ease;
        }

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

        .timeline-date {
            width: 120px;
            padding: 1rem;
            background: var(--accent-gradient);
            color: white;
            border-radius: 12px;
            font-weight: 700;
            text-align: center;
            margin-right: 2rem;
            position: relative;
            z-index: 2;
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
        }

        .timeline-content {
            flex: 1;
            background: var(--background-card);
            padding: 2.5rem;
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            transition: var(--transition-smooth);
        }

        .timeline-content:hover {
            transform: translateX(10px);
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

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

        .timeline-content h4 {
            font-size: 1.1rem;
            color: var(--primary-light);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .timeline-grade {
            font-size: 1.2rem;
            color: var(--accent-color);
            font-weight: 700;
            background: rgba(56, 189, 248, 0.1);
            padding: 0.8rem 1.2rem;
            border-radius: 10px;
            display: inline-block;
        }

        /* Enhanced Achievements Section */
        .achievements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
        }

        .achievement-category {
            background: var(--background-card);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition-smooth);
        }

        .achievement-category:hover {
            transform: translateY(-10px);
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .achievement-category h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: var(--primary-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .achievement-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .achievement-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: var(--transition-smooth);
            border: 1px solid transparent;
        }

        .achievement-item:hover {
            transform: translateX(10px);
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .achievement-item i {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-top: 0.2rem;
        }

        .achievement-item strong {
            display: block;
            color: white;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .achievement-item p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .certification-list {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

        .certification-item {
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: var(--transition-smooth);
            border: 1px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .certification-item:hover {
            transform: translateX(10px);
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .certification-item strong {
            display: block;
            color: white;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .certification-item span {
            color: var(--primary-light);
            font-size: 0.9rem;
            font-weight: 500;
        }

        .conference-item {
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            border: 1px solid transparent;
            transition: var(--transition-smooth);
        }

        .conference-item:hover {
            transform: translateX(10px);
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.2);
        }

        .conference-item strong {
            display: block;
            color: white;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
        }

        .conference-item p {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 0.8rem;
            line-height: 1.6;
        }

        .conference-item em {
            color: var(--accent-color);
            font-style: normal;
            font-weight: 500;
            display: block;
            padding-left: 1rem;
            border-left: 3px solid var(--accent-color);
        }

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

        .contact-info {
            padding: 3rem;
            background: var(--background-card);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.1);
            height: 100%;
        }

        .contact-info h3 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: white;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 800;
        }

        .contact-info p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
        }

        .contact-links {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

        .contact-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            text-decoration: none;
            color: white;
            transition: var(--transition-smooth);
            border: 1px solid transparent;
            font-weight: 500;
        }

        .contact-link:hover {
            transform: translateX(10px);
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.3);
            box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
        }

        .contact-link i {
            font-size: 1.3rem;
            color: var(--primary-color);
            width: 30px;
        }

        .contact-form {
            padding: 3rem;
            background: var(--background-card);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-group {
            margin-bottom: 2rem;
            position: relative;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1.2rem 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: white;
            font-size: 1rem;
            transition: var(--transition-smooth);
            resize: none;
            font-family: 'Inter', sans-serif;
        }

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

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background: rgba(59, 130, 246, 0.05);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
        }

        .form-group label {
            position: absolute;
            top: -10px;
            left: 1rem;
            background: var(--background-card);
            padding: 0 0.5rem;
            color: var(--primary-color);
            font-size: 0.9rem;
            font-weight: 500;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .form-group input:focus + label,
        .form-group textarea:focus + label {
            opacity: 1;
        }

        /* Footer */
        .footer {
            background: rgba(15, 23, 42, 0.95);
            padding: 3rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .footer p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--background-dark);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-circle {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(59, 130, 246, 0.2);
            border-top: 4px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--accent-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            opacity: 0;
            transform: translateY(20px);
            transition: var(--transition-smooth);
            z-index: 1000;
            box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
        }

        .back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .back-to-top:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
        }

        /* Scroll Progress Bar */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--accent-gradient);
            z-index: 1001;
            transition: width 0.1s ease;
        }

        /* ============================================
           MOBILE RESPONSIVE STYLES (ONLY FOR ≤ 768px)
           ============================================ */
        @media (max-width: 768px) {
            /* Show hamburger menu on mobile */
            .hamburger {
                display: flex!important;
                visibility: visible !important;
                opacity: 1 !important;
            }

            /* Hide desktop menu on mobile initially */
            .nav-menu {
                display: none !important;
            }

            /* Mobile sidebar menu - only shows when hamburger is clicked */
            .nav-menu.mobile-active {
                display: flex !important;
                position: fixed !important;
                top: 0;
                right: 0;
                width: 280px !important;
                height: 100vh;
                background: rgba(15, 23, 42, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                gap: 1rem;
                z-index: 999;
                padding: 80px 25px 40px !important;
                margin: 0;
                overflow-y: auto;
                box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
                border-left: 1px solid rgba(255, 255, 255, 0.1);
                animation: slideInRight 0.3s ease-out;
            }

            @keyframes slideInRight {
                from {
                    transform: translateX(100%);
                    opacity: 0;
                }
                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }

            /* Mobile menu overlay */
            .menu-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(5px);
                z-index: 998;
            }

            .menu-overlay.active {
                display: block;
            }

            /* Mobile navigation links */
            .nav-menu.mobile-active .nav-link {
                display: block !important;
                width: 100% !important;
                padding: 1rem 1.5rem !important;
                font-size: 1.1rem !important;
                color: rgba(255, 255, 255, 0.9) !important;
                text-decoration: none !important;
                border-radius: 10px !important;
                transition: all 0.3s ease !important;
                border: 1px solid rgba(255, 255, 255, 0.1) !important;
                background: rgba(255, 255, 255, 0.05) !important;
                text-align: left !important;
                font-weight: 500 !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            .nav-menu.mobile-active .nav-link:hover {
                background: rgba(59, 130, 246, 0.2) !important;
                color: white !important;
                transform: translateX(-5px) !important;
                border-color: rgba(59, 130, 246, 0.3) !important;
            }

            /* Prevent body scroll when menu is open */
            body.menu-open {
                overflow: hidden;
                position: fixed;
                width: 100%;
                height: 100%;
            }

            /* Hero section mobile adjustments */
            .hero-container {
                grid-template-columns: 1fr !important;
                gap: 2rem;
                text-align: center;
            }

            .hero-title {
                font-size: 2.5rem !important;
            }

            .hero-description {
                font-size: 1.1rem !important;
            }

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

            .btn {
                padding: 12px 24px !important;
            }

            .profile-photo-container {
                min-height: 300px;
                margin: 0 auto;
                max-width: 400px;
            }

            .stats-card {
                padding: 1.5rem !important;
            }

            .profile-stats {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 0.5rem;
            }

            .stat {
                padding: 0.8rem !important;
            }

            .stat-number {
                font-size: 2rem !important;
            }

            /* Section adjustments for mobile */
            .section-title {
                font-size: 2.5rem !important;
            }

            .about-content {
                padding: 2rem !important;
            }

            .contact-content {
                grid-template-columns: 1fr !important;
            }

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

            .achievements-grid {
                grid-template-columns: 1fr !important;
            }

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

            /* Timeline adjustments for mobile */
            .timeline-item {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }

            .timeline-date {
                margin-right: 0 !important;
                width: 100%;
                max-width: 200px;
            }
        }

        /* Extra small phones */
        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem !important;
            }

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

            .btn {
                width: 100%;
                max-width: 280px;
            }

            .profile-photo-container {
                min-height: 250px;
            }

            .profile-stats {
                grid-template-columns: 1fr !important;
            }

            .section-title {
                font-size: 2rem !important;
            }
            #education {
                opacity: 1 !important;
                transform: translateY(0) !important;
                visibility: visible !important;
                display: block !important;
            }

            #education .timeline-item {
                opacity: 1 !important;
                transform: translateX(0) !important;
                visibility: visible !important;
            }
        }

        /* DEBUG: Make sure hamburger is visible */
        .hamburger {
            border: 2px solid rgb(255, 255, 255) !important; /* For debugging */
        }

        .hamburger span {
            border: 1px solid rgb(255, 255, 255) !important; /* For debugging */
        }
        /* Specific fix for Areas of Interest boxes */
        .skills-category:last-child .skills-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1.5rem;
            justify-items: stretch; /* Make items fill cells evenly */
        }

        .skills-category:last-child .skill-item {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1.5rem 1rem;
            min-height: 120px;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        /* For the longer text item */
        .skills-category:last-child .skill-item:last-child {
            grid-column: 1 / -1; /* Make it span full width if needed */
            max-width: 100%;
        }
        /* Fix for all skill-item grids (Personal Skills & Areas of Interest) */
        .skills-grid, 
        .skills-category .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            justify-items: stretch; /* Make items stretch to fill cells */
            align-items: stretch; /* Consistent height */
        }

        /* Fix for all skill items */
        .skills-grid .skill-item,
        .skills-category .skills-grid .skill-item {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 1.5rem 1rem;
            min-height: 100px;
            width: 100%; /* Fill the grid cell completely */
            box-sizing: border-box;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        /* Hover effects for all skill items */
        .skills-grid .skill-item:hover,
        .skills-category .skills-grid .skill-item:hover {
            transform: translateY(-10px) scale(1.05);
            border-color: var(--primary-color);
            background: rgba(59, 130, 246, 0.1);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
        }
        @media (max-width: 768px) {
    /* Projects section mobile adjustments */
    .project-header {
        flex-direction: column !important; /* Stack title and date vertically */
        align-items: flex-start !important; /* Align items to the left */
        gap: 1rem !important; /* Add space between title and date */
        margin-bottom: 1.5rem !important;
    }
    
    .project-header h3 {
        width: 100% !important; /* Make title take full width */
        margin-bottom: 0 !important;
    }
    
    .project-date {
        align-self: flex-start !important; /* Align date to the left */
        margin-left: 0 !important; /* Remove any left margin */
        margin-top: 0.5rem !important; /* Add space above date */
    }
    @media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    display: flex !important; /* Use flex */
    align-items: center !important; /* Vertical center */
    justify-content: center !important; /* Horizontal center */
    min-height: 60px !important; /* Minimum height */
    padding: 0 20px !important;
    text-align: center;
    width: 100%;
  }
}


}