        /* --- General Styling --- */
        :root {
            --bg-color: #0f0e17;
            --primary-color: #ff8906;
            --secondary-color: #1f1e29;
            --text-color: #fffffe;
            --highlight-color: #e53170;
            --accent-color: #7f5af0;
            --subtle-color: rgba(255, 255, 255, 0.1);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
        }

        /* --- Light Theme Variables --- */
        [data-theme="light"] {
            --bg-color: #ffffff;
            --primary-color: #ff6b35;
            --secondary-color: #f8f9fa;
            --text-color: #2d3436;
            --highlight-color: #e84393;
            --accent-color: #6c5ce7;
            --subtle-color: rgba(0, 0, 0, 0.1);
            --glass-bg: rgba(255, 255, 255, 0.8);
            --glass-border: rgba(0, 0, 0, 0.1);
        }

        /* --- Light Theme Specific Adjustments --- */
        [data-theme="light"] .main-header {
            background: rgba(255, 255, 255, 0.85);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        [data-theme="light"] .main-header.scrolled {
            background: rgba(255, 255, 255, 0.95);
        }

        [data-theme="light"] #hero {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(108, 92, 231, 0.2) 100%);
        }

        [data-theme="light"] #hero::before {
            opacity: 0.1;
        }

        [data-theme="light"] .project-content {
            background: rgba(248, 249, 250, 0.8);
        }

        [data-theme="light"] .project-content p {
            color: rgba(45, 52, 54, 0.9);
        }

        [data-theme="light"] #contact {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(108, 92, 231, 0.2) 100%);
        }

        [data-theme="light"] #contact p {
            color: rgba(45, 52, 54, 0.8);
        }

        [data-theme="light"] #skills {
            background: linear-gradient(180deg, var(--bg-color) 0%, rgba(248, 249, 250, 0.95) 100%);
        }

        [data-theme="light"] footer {
            background-color: var(--bg-color);
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        [data-theme="light"] footer p {
            color: rgba(45, 52, 54, 0.7);
        }
        
        /* --- Theme Variables --- */
        :root[data-theme="dark"] {
            --bg-color: #0f0e17;
            --primary-color: #ff8906;
            --secondary-color: #1f1e29;
            --text-color: #fffffe;
            --highlight-color: #e53170;
            --accent-color: #7f5af0;
            --subtle-color: rgba(255, 255, 255, 0.1);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --glass-border: rgba(255, 255, 255, 0.1);
        }
        
        :root[data-theme="light"] {
            --bg-color: #f8f9fa;
            --primary-color: #ff6b00;
            --secondary-color: #e9ecef;
            --text-color: #212529;
            --highlight-color: #dc3545;
            --accent-color: #6f42c1;
            --subtle-color: rgba(0, 0, 0, 0.1);
            --glass-bg: rgba(255, 255, 255, 0.8);
            --glass-border: rgba(0, 0, 0, 0.1);
        }
        
        /* --- Glass Morphism Effect --- */
        .glass {
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        body {
            font-family: -appleacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
            margin: 0;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 30px;
        }

        h1, h2, h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
            font-weight: 700;
        }
        
        h1 {
            font-size: 3.5rem;
        }
        
        h2 {
            font-size: 2.5rem;
            text-align: center;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--secondary-color);
            position: relative;
            margin-bottom: 40px;
        }
        
        h2::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
        }

        section {
            padding: 100px 0;
            position: relative;
        }

        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        a:hover {
            color: var(--highlight-color);
        }

        /* --- Header & Navigation --- */
        .main-header {
            background: rgba(15, 14, 23, 0.85);
            padding: 1.2rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        /* --- Mobile Navigation Hamburger --- */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
            z-index: 102;
            transition: all 0.3s ease;
        }
        
        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--text-color);
            margin: 3px 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            border-radius: 2px;
        }
        
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        /* --- Mobile Navigation Menu --- */
        .mobile-nav {
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-right: 1px solid var(--glass-border);
            z-index: 101;
            transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            padding-top: 80px;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
        }
        
        .mobile-nav.active {
            left: 0;
        }
        
        .mobile-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mobile-nav ul li {
            margin: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .mobile-nav ul li a {
            display: block;
            padding: 20px 30px;
            color: var(--text-color);
            text-decoration: none;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .mobile-nav ul li a::before {
            content: '';
            position: absolute;
            left: -100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: left 0.4s ease;
            z-index: -1;
        }
        
        .mobile-nav ul li a:hover::before {
            left: 0;
        }
        
        .mobile-nav ul li a:hover {
            color: var(--text-color);
            transform: translateX(10px);
        }
        
        /* --- Mobile Overlay --- */
        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .main-header.scrolled {
            padding: 0.8rem 0;
            background: rgba(15, 14, 23, 0.95);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
        }

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

        .main-header .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--text-color);
            position: relative;
            transition: transform 0.3s ease;
        }
        
        .main-header .logo::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .main-header .logo:hover {
            transform: translateY(-2px);
        }
        
        .main-header .logo:hover::after {
            width: 100%;
        }

        .main-nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .main-nav ul li {
            margin-left: 30px;
            position: relative;
        }
        
        .main-nav ul li a {
            color: var(--text-color);
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
            padding: 5px 0;
            position: relative;
        }
        
        .main-nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .main-nav ul li a:hover::after {
            width: 100%;
        }

        /* --- Hero Section --- */
        #hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            background: linear-gradient(135deg, rgba(15, 14, 23, 0.8) 0%, rgba(127, 90, 240, 0.4) 100%);
            position: relative;
            overflow: hidden;
        }
        
        #hero .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
        }
        
        .hero-image-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .profile-image-container {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto 2rem;
            position: relative;
            border: 4px solid var(--primary-color);
            box-shadow: 0 0 25px rgba(255, 137, 6, 0.5), 
                        0 0 15px rgba(127, 90, 240, 0.5);
            overflow: hidden;
            animation: profile-pulse 4s infinite alternate;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: glow 3s ease-in-out infinite, float 6s ease-in-out infinite;
        }
        
        @keyframes profile-pulse {
            0% {
                box-shadow: 0 0 25px rgba(255, 137, 6, 0.5), 
                            0 0 15px rgba(127, 90, 240, 0.5);
            }
            100% {
                box-shadow: 0 0 35px rgba(255, 137, 6, 0.8), 
                            0 0 25px rgba(127, 90, 240, 0.8);
            }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        @keyframes glow {
            0%, 100% { 
                box-shadow: 0 0 25px rgba(255, 137, 6, 0.5), 
                            0 0 15px rgba(127, 90, 240, 0.5);
            }
            50% { 
                box-shadow: 0 0 35px rgba(255, 137, 6, 0.8), 
                            0 0 25px rgba(127, 90, 240, 0.8);
            }
        }
        
        .profile-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.5s ease;
            display: block;
            margin: 0 auto;
            display: block;
            margin: 0 auto;
        }
        
        .profile-image-container:hover .profile-image {
            transform: scale(1.05);
        }
        
        #particles-js {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }
        
        #hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2072&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.2;
            z-index: -2;
        }
        
        #hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        #hero p {
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 2rem;
        }
        
        .typing-effect {
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid var(--primary-color);
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
            display: inline-block;
            margin: 0;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--primary-color) }
        }

        .social-links {
            margin-top: 1rem;
        }

        .social-links a {
            margin: 0 15px;
            font-size: 1.2rem;
            font-weight: bold;
            padding: 10px 20px;
            border-radius: 30px;
            background: rgba(31, 30, 41, 0.7);
            display: inline-block;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }
        
        .social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            z-index: -1;
            border-radius: 30px;
        }
        
        .social-links a:hover {
            transform: translateY(-7px) scale(1.05);
            color: var(--text-color);
            box-shadow: 0 7px 25px rgba(255, 137, 6, 0.5), 0 5px 15px rgba(127, 90, 240, 0.4);
        }
        
        .social-links a:hover::before {
            width: 100%;
        }

        /* --- Projects Section --- */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .project-card {
            position: relative;
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 5px 15px rgba(0,0,0,0.2);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid var(--glass-border);
            transform-style: preserve-3d;
        }
        
        .project-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 137, 6, 0.08) 0%, 
                rgba(127, 90, 240, 0.08) 50%, 
                rgba(229, 49, 112, 0.08) 100%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            z-index: 1;
        }
        
        .project-card:hover::after {
            opacity: 1;
        }
        
        .project-card:hover {
            transform: translateY(-20px) scale(1.03) rotateX(2deg);
            box-shadow: 0 30px 60px rgba(15, 14, 23, 0.4), 
                        0 20px 40px rgba(127, 90, 240, 0.3),
                        0 10px 25px rgba(255, 137, 6, 0.4);
            border-color: var(--primary-color);
        }
        
        .project-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-bottom: 3px solid var(--primary-color);
            transition: all 0.5s ease;
            filter: brightness(0.9) contrast(1.1);
        }
        
        .project-card:hover img {
            transform: scale(1.08);
            filter: brightness(1.1) contrast(1.2) saturate(1.1);
        }
        
        .project-content {
            padding: 30px;
            position: relative;
            z-index: 2;
            background: rgba(31, 30, 41, 0.7);
            backdrop-filter: blur(10px);
        }
        
        .project-content h3 {
            margin-top: 0;
            margin-bottom: 15px;
            color: var(--text-color);
            font-size: 1.5rem;
            position: relative;
            padding-bottom: 15px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
        
        .project-content h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }
        
        .project-content p {
            margin-top: 20px;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.95);
            font-size: 1rem;
            line-height: 1.7;
            text-align: justify;
        }
        
        .tech-stack {
            margin-top: 15px;
            display: flex;
            flex-wrap: wrap;
        }
        
        .tech-tag {
            position: relative;
            background: linear-gradient(135deg, rgba(127, 90, 240, 0.2), rgba(255, 137, 6, 0.15));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: var(--text-color);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 0.85rem;
            margin-right: 10px;
            margin-bottom: 10px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            text-transform: uppercase;
            overflow: hidden;
        }
        
        /* Language-specific colors */
        .tech-tag.iot { background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.15)); }
        .tech-tag.hardware { background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 193, 7, 0.15)); }
        .tech-tag.cpp { background: linear-gradient(135deg, rgba(0, 121, 168, 0.2), rgba(0, 172, 193, 0.15)); }
        .tech-tag.php { background: linear-gradient(135deg, rgba(119, 136, 153, 0.2), rgba(108, 117, 125, 0.15)); }
        .tech-tag.laravel { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.15)); }
        .tech-tag.mysql { background: linear-gradient(135deg, rgba(0, 116, 162, 0.2), rgba(0, 116, 162, 0.15)); }
        .tech-tag.javascript { background: linear-gradient(135deg, rgba(247, 223, 30, 0.2), rgba(247, 223, 30, 0.15)); }
        .tech-tag.python { background: linear-gradient(135deg, rgba(55, 118, 171, 0.2), rgba(255, 212, 59, 0.15)); }
        .tech-tag.flask { background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.15)); }
        .tech-tag.firebase { background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 87, 34, 0.15)); }
        .tech-tag.crypto { background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(233, 30, 99, 0.15)); }
        .tech-tag.telegram { background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.15)); }
        .tech-tag.flutter { background: linear-gradient(135deg, rgba(2, 136, 209, 0.2), rgba(2, 136, 209, 0.15)); }
        .tech-tag.dart { background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.15)); }
        .tech-tag.mobile { background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.15)); }
        .tech-tag.java { background: linear-gradient(135deg, rgba(237, 28, 36, 0.2), rgba(237, 28, 36, 0.15)); }
        .tech-tag.javafx { background: linear-gradient(135deg, rgba(237, 28, 36, 0.2), rgba(255, 152, 0, 0.15)); }
        .tech-tag.desktop { background: linear-gradient(135deg, rgba(96, 125, 139, 0.2), rgba(96, 125, 139, 0.15)); }
        
        .tech-tag::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }
        
        .tech-tag:hover::before {
            left: 100%;
        }
        
        .tech-tag:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(127, 90, 240, 0.3), 0 4px 15px rgba(255, 137, 6, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .project-link {
            display: inline-block;
            margin-top: 20px;
            font-weight: bold;
            border: 2px solid var(--primary-color);
            padding: 10px 20px;
            border-radius: 30px;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }
        
        .project-link:hover {
            background-color: var(--primary-color);
            color: var(--text-color);
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(255, 137, 6, 0.5);
        }

        /* --- Skills Section --- */
        #skills {
            background: linear-gradient(180deg, var(--bg-color) 0%, rgba(31, 30, 41, 0.95) 100%);
            position: relative;
            overflow: hidden;
            padding: 80px 0;
        }
        
        #skills::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 80%, rgba(127, 90, 240, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255, 137, 6, 0.08) 0%, transparent 50%);
            z-index: -1;
        }

        .skills-intro {
            text-align: center;
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 50px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .skills-overview {
            display: grid;
            gap: 40px;
        }

        /* Skills Category */
        .skills-category {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 30px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .skills-category:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(127, 90, 240, 0.15);
        }

        .category-header {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(255, 137, 6, 0.2);
        }

        .category-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            box-shadow: 0 4px 16px rgba(127, 90, 240, 0.3);
        }

        .category-icon svg {
            width: 24px;
            height: 24px;
            color: white;
        }

        .category-header h3 {
            color: var(--text-color);
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0;
        }

        /* Skills Grid */
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .skill-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .skill-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
            border-color: var(--primary-color);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .skill-logo {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .skill-emoji {
            font-size: 1.8rem;
        }

        .skill-details {
            flex: 1;
        }

        .skill-details h4 {
            color: var(--text-color);
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0 0 5px 0;
        }

        .skill-details p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0 0 8px 0;
            line-height: 1.4;
        }

        .skill-level {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .skill-level.advanced {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
            border: 1px solid rgba(34, 197, 94, 0.3);
        }

        .skill-level.intermediate {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, 0.3);
        }

        .skill-level.beginner {
            background: rgba(59, 130, 246, 0.2);
            color: #3b82f6;
            border: 1px solid rgba(59, 130, 246, 0.3);
        }

        /* Tech Stack Grid */
        .tech-stack-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
        }

        .tech-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .tech-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
            border-color: var(--accent-color);
            box-shadow: 0 8px 20px rgba(255, 137, 6, 0.2);
        }

        .tech-logo {
            font-size: 1.5rem;
            margin-bottom: 8px;
            display: block;
        }

        .tech-name {
            color: var(--text-color);
            font-weight: 600;
            font-size: 0.95rem;
            display: block;
            margin-bottom: 4px;
        }

        .tech-desc {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.8rem;
            display: block;
        }

        /* Platform Grid */
        .platform-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .platform-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .platform-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-5px);
            border-color: var(--primary-color);
            box-shadow: 0 12px 30px rgba(127, 90, 240, 0.2);
        }

        .platform-icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }

        .platform-card h4 {
            color: var(--text-color);
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0 0 10px 0;
        }

        .platform-card p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0 0 15px 0;
            line-height: 1.5;
        }

        .platform-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
        }

        .platform-features span {
            background: rgba(255, 137, 6, 0.2);
            color: var(--accent-color);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
            border: 1px solid rgba(255, 137, 6, 0.3);
        }

        /* Tools Grid */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .tool-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .tool-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
            border-color: var(--primary-color);
            box-shadow: 0 8px 20px rgba(127, 90, 240, 0.2);
        }

        .tool-icon {
            font-size: 1.8rem;
        }

        .tool-name {
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.9rem;
        }

        /* Specialization Grid */
        .specialization-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        .specialty-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

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

        .specialty-card:hover::before {
            left: 100%;
        }

        .specialty-card:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-8px);
            border-color: var(--accent-color);
            box-shadow: 0 20px 40px rgba(255, 137, 6, 0.2);
        }

        .specialty-icon {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .specialty-card h4 {
            color: var(--primary-color);
            font-size: 1.3rem;
            font-weight: 700;
            margin: 0 0 15px 0;
        }

        .specialty-card p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0 0 20px 0;
        }

        .specialty-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
        }

        .specialty-tech span {
            background: rgba(255, 137, 6, 0.2);
            color: var(--accent-color);
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(255, 137, 6, 0.3);
        }

        .skills-category.full-width {
            grid-column: 1 / -1;
        }

        /* --- Playground Section --- */
        #playground {
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(15, 14, 23, 0.9) 0%, rgba(127, 90, 240, 0.1) 100%);
            position: relative;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        #playground::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.03;
            z-index: -1;
        }

        .playground-intro {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 50px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
        }

        .playground-container {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 0;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            max-width: 1200px;
            margin: 0 auto;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            /* Fallback for browsers that don't support backdrop-filter */
            background: rgba(255, 255, 255, 0.1);
        }

        /* Modern browsers with backdrop-filter support */
        @supports (backdrop-filter: blur(20px)) {
            .playground-container {
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
            }
        }

        /* Microsoft Edge specific fixes */
        @supports (-ms-ime-align: auto) {
            .playground-container {
                background: rgba(255, 255, 255, 0.15) !important;
                border: 2px solid rgba(255, 255, 255, 0.2) !important;
            }
            
            .playground-header {
                background: rgba(255, 255, 255, 0.1) !important;
            }
            
            .editor-panel, .preview-panel {
                background: rgba(255, 255, 255, 0.05) !important;
            }
        }

        /* Fallback for Internet Explorer and older Edge */
        @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
            .playground-container {
                background: rgba(255, 255, 255, 0.15) !important;
                border: 2px solid rgba(255, 255, 255, 0.2) !important;
            }
            
            .fadeIn {
                opacity: 1 !important;
                transform: translateY(0) !important;
            }
        }

        /* Force playground visibility for all browsers */
        #playground {
            display: block !important;
        }

        .playground-container {
            display: block !important;
        }

        .playground-header, .playground-content, .playground-features {
            display: block !important;
        }

        /* Fix for fade-in animation issues */
        #playground .fadeIn {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }

        /* Microsoft Edge animation fix */
        @supports (-ms-ime-align: auto) {
            .fadeIn {
                opacity: 1 !important;
                transform: translateY(0) !important;
                animation: none !important;
            }
        }

        .playground-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-wrap: wrap;
            gap: 20px;
        }

        .playground-tabs {
            display: flex;
            gap: 10px;
        }

        .tab-btn {
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: var(--text-color);
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .tab-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--primary-color);
        }

        .tab-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
        }

        .playground-controls {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }

        .example-selector {
            padding: 10px 15px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            color: var(--text-color);
            cursor: pointer;
            min-width: 150px;
        }

        .example-selector option {
            background: var(--secondary-color);
            color: var(--text-color);
        }

        .btn-run, .btn-reset {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-run {
            background: linear-gradient(135deg, #22c55e, #16a34a);
            color: white;
        }

        .btn-run:hover {
            background: linear-gradient(135deg, #16a34a, #22c55e);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
        }

        .btn-reset {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
        }

        .btn-reset:hover {
            background: linear-gradient(135deg, #dc2626, #ef4444);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
        }

        .playground-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            min-height: 500px;
        }

        .editor-panel {
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .editor-container {
            position: relative;
            height: 100%;
        }

        .editor-tab {
            display: none;
            height: 100%;
        }

        .editor-tab.active {
            display: block;
        }

        .code-editor {
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            border: none;
            color: var(--text-color);
            font-family: 'Fira Code', 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.5;
            padding: 20px;
            resize: none;
            outline: none;
            overflow-y: auto;
        }

        .code-editor::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .preview-panel {
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .preview-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .preview-title {
            color: var(--text-color);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .preview-frame {
            flex: 1;
            border: none;
            background: white;
            width: 100%;
            height: 100%;
            min-height: 450px;
        }

        .playground-features {
            margin-top: 50px;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .feature-item {
            text-align: center;
            padding: 30px 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            border: 1px solid var(--glass-border);
            transition: all 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(127, 90, 240, 0.2);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 1.5rem;
            color: white;
        }

        .feature-item h4 {
            color: var(--text-color);
            margin: 0 0 10px 0;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .feature-item p {
            color: rgba(255, 255, 255, 0.7);
            margin: 0;
            line-height: 1.6;
        }

        /* --- Contact Section --- */
        #contact {
            text-align: center;
            background: linear-gradient(135deg, rgba(15, 14, 23, 0.9) 0%, rgba(127, 90, 240, 0.3) 100%);
            padding: 80px 0;
            position: relative;
        }
        
        #contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1516387938699-a93567ec168e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2071&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.05;
            z-index: -1;
        }
        
        #contact h2 {
            margin-bottom: 30px;
        }
        
        #contact > .container > p {
            max-width: 700px;
            margin: 0 auto 50px;
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Contact Form */
        .contact-form-container {
            position: relative;
            z-index: 2;
            max-width: 600px;
            margin: 0 auto 60px auto;
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .contact-form-container h3 {
            text-align: center;
            color: var(--primary-color);
            margin-bottom: 30px;
            font-size: 1.8rem;
            font-weight: 600;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.95rem;
            margin-bottom: 5px;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 15px 18px;
            color: var(--text-color);
            font-size: 1rem;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 137, 6, 0.1);
            background: rgba(255, 255, 255, 0.15);
        }

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

        .form-group select {
            cursor: pointer;
        }

        .form-group select option {
            background: var(--secondary-color);
            color: var(--text-color);
        }

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

        .form-submit-btn {
            background: linear-gradient(135deg, #25d366, #22c55e);
            color: white;
            border: none;
            border-radius: 15px;
            padding: 18px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
        }

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

        .form-submit-btn:hover::before {
            left: 100%;
        }

        .form-submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
            background: linear-gradient(135deg, #22c55e, #25d366);
        }

        .form-submit-btn:active {
            transform: translateY(0);
        }

        .form-submit-btn i {
            font-size: 1.2rem;
        }

        /* Contact Methods Grid */
        .contact-methods {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 50px 0;
            max-width: 1000px;
            margin-left: auto;
            margin-right: auto;
        }

        .contact-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 40px 30px;
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: all 0.4s ease;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

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

        .contact-card:hover::before {
            left: 100%;
        }

        .contact-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(127, 90, 240, 0.2);
            border-color: var(--primary-color);
        }

        .contact-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 8px 25px rgba(127, 90, 240, 0.3);
        }

        .contact-icon svg {
            width: 32px;
            height: 32px;
            color: white;
        }

        .contact-card h3 {
            color: var(--text-color);
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0 0 15px 0;
        }

        .contact-card p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
            margin: 0 0 25px 0;
            line-height: 1.6;
        }

        /* Contact Buttons */
        .contact-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 1rem;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .contact-btn span {
            font-size: 1.1rem;
        }

        .whatsapp-btn {
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            border-color: #25D366;
        }

        .whatsapp-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
            background: linear-gradient(135deg, #128C7E, #25D366);
        }

        .email-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border-color: var(--primary-color);
        }

        .email-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 137, 6, 0.4);
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        }

        /* Social Contact Links */
        .social-contact-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .social-contact-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-color);
        }

        .instagram-btn:hover {
            background: linear-gradient(135deg, #833AB4, #E1306C);
            border-color: #E1306C;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
        }

        .github-btn:hover {
            background: linear-gradient(135deg, #333, #666);
            border-color: #666;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 102, 102, 0.3);
        }

        /* Contact Footer */
        .contact-footer {
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .contact-footer p {
            color: var(--primary-color);
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            animation: glow-text 3s ease-in-out infinite alternate;
        }

        @keyframes glow-text {
            from {
                text-shadow: 0 0 10px rgba(255, 137, 6, 0.5);
            }
            to {
                text-shadow: 0 0 20px rgba(255, 137, 6, 0.8), 0 0 30px rgba(127, 90, 240, 0.5);
            }
        }
        
        /* --- Footer --- */
        footer {
            text-align: center;
            padding: 30px 0;
            background-color: var(--bg-color);
            position: relative;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        footer p {
            margin: 0;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--text-color);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }
        
        .scroll-top::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .scroll-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .scroll-top:hover {
            transform: translateY(-8px) scale(1.1);
            box-shadow: 0 10px 25px rgba(255, 137, 6, 0.5), 0 8px 15px rgba(127, 90, 240, 0.3);
        }
        
        .scroll-top:hover::before {
            opacity: 1;
        }
        
        .scroll-top svg {
            width: 20px;
            height: 20px;
            transition: transform 0.3s ease;
        }
        
        .scroll-top:hover svg {
            transform: translateY(-3px);
        }

        /* --- Progress Bar --- */
        .progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.1);
            z-index: 9999;
        }
        
        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: width 0.3s ease;
        }

        /* --- Animate In Classes --- */
        .animate-in {
            opacity: 1 !important;
            transform: translateY(0) !important;
        }
        
        .fadeIn {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        /* --- Hover Effects --- */
        .social-links a:hover {
            animation: pulse 0.6s ease-in-out;
        }
        
        /* Hero CTA Buttons */
        .hero-cta {
            margin-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
        }
        
        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 12px 24px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--text-color);
            border: none;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 160px;
            justify-content: center;
        }
        
        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }
        
        .cta-button:hover::before {
            left: 100%;
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 137, 6, 0.4);
        }
        
        .cta-button.secondary {
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid var(--primary-color);
            backdrop-filter: blur(10px);
        }
        
        .cta-button.secondary:hover {
            background: rgba(255, 137, 6, 0.1);
            box-shadow: 0 10px 25px rgba(255, 137, 6, 0.2);
        }
        
        /* Image Fallback */
        .image-fallback {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 2rem;
            color: rgba(255, 255, 255, 0.6);
            height: 200px;
        }
        
        .image-fallback i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .image-fallback span {
            font-size: 0.9rem;
            text-align: center;
        }
        
        /* Focus Management */
        *:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }
        
        /* Skip Link */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 6px;
            background: var(--primary-color);
            color: var(--text-color);
            padding: 8px;
            text-decoration: none;
            border-radius: 0 0 8px 8px;
            z-index: 10001;
            transition: top 0.3s ease;
        }
        
        .skip-link:focus {
            top: 0;
        }
        
        @keyframes pulse {
            0% { transform: translateY(-7px) scale(1.05); }
            50% { transform: translateY(-10px) scale(1.1); }
            100% { transform: translateY(-7px) scale(1.05); }
        }
        
        /* --- Mobile Navigation --- */
        .mobile-nav-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 8px;
            z-index: 1002;
            border-radius: 6px;
            transition: background-color 0.3s ease;
            -webkit-tap-highlight-color: transparent;
        }
        
        .mobile-nav-toggle:active {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .hamburger-line {
            width: 25px;
            height: 3px;
            background-color: var(--text-color);
            margin: 3px 0;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-radius: 2px;
            transform-origin: center;
        }
        
        .mobile-nav-toggle.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .mobile-nav-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: translateX(-10px);
        }
        
        .mobile-nav-toggle.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            -webkit-tap-highlight-color: transparent;
        }
        
        .mobile-nav-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-nav-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 280px;
            height: 100vh;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-left: 1px solid var(--glass-border);
            z-index: 1000;
            transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 80px 0 0 0;
            box-shadow: -15px 0 40px rgba(0, 0, 0, 0.4);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .mobile-nav-menu.active {
            right: 0;
        }
        
        .mobile-nav-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .mobile-nav-menu ul li {
            margin: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }
        
        .mobile-nav-menu ul li:last-child {
            border-bottom: none;
        }
        
        .mobile-nav-menu ul li a {
            display: block;
            padding: 20px 30px;
            color: var(--text-color);
            font-size: 1.1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            position: relative;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
            min-height: 60px;
            display: flex;
            align-items: center;
        }
        
        .mobile-nav-menu ul li a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: width 0.3s ease;
            z-index: -1;
        }
        
        .mobile-nav-menu ul li a:hover::before,
        .mobile-nav-menu ul li a:active::before {
            width: 100%;
        }
        
        .mobile-nav-menu ul li a:hover,
        .mobile-nav-menu ul li a:active {
            color: var(--text-color);
            transform: translateX(10px);
        }

        /* --- General Mobile Optimizations --- */
        @media (max-width: 768px) {
            /* Prevent horizontal scrolling on mobile */
            html, body {
                overflow-x: hidden;
                max-width: 100%;
                box-sizing: border-box;
            }
            
            * {
                box-sizing: border-box;
            }
            
            /* Smooth scrolling and performance optimizations */
            * {
                -webkit-tap-highlight-color: transparent;
                -webkit-touch-callout: none;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }
            
            /* Re-enable text selection for content */
            p, li, h1, h2, h3, .project-content, .form-group input, .form-group textarea, .form-group select, .form-submit-btn {
                -webkit-user-select: text;
                -moz-user-select: text;
                -ms-user-select: text;
                user-select: text;
            }
            
            /* Enable button interactions on mobile */
            .form-submit-btn, .contact-btn, button {
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
                touch-action: manipulation;
            }
            
            /* Contact Form Mobile */
            .contact-form-container {
                margin: 0 auto 40px auto;
                padding: 25px 20px;
                border-radius: 15px;
            }
            
            .contact-form-container h3 {
                font-size: 1.5rem;
                margin-bottom: 25px;
            }
            
            .contact-form {
                gap: 20px;
            }
            
            .form-group label {
                font-size: 0.9rem;
            }
            
            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 12px 15px;
                font-size: 16px; /* Prevents zoom on iOS */
                border-radius: 10px;
            }
            
            .form-group textarea {
                min-height: 100px;
            }
            
            .form-submit-btn {
                padding: 15px 25px;
                font-size: 1rem;
                border-radius: 12px;
            }
            
            /* Smooth momentum scrolling for iOS */
            body {
                -webkit-overflow-scrolling: touch;
            }
            
            .container {
                padding: 0 15px;
            }
            
            h1 { 
                font-size: 2.2rem;
                line-height: 1.2;
            }
            
            h2 { 
                font-size: 1.8rem;
                margin-bottom: 30px;
            }
            
            /* Header Mobile */
            .main-header {
                padding: 0.8rem 0;
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
            }
            
            .main-header .container {
                justify-content: space-between;
                padding: 0 20px;
            }
            
            .main-header .logo {
                font-size: 1.5rem;
            }
            
            .main-nav {
                display: none;
            }
            
            .mobile-nav-toggle {
                display: flex;
            }
            
            /* Hero Mobile */
            #hero {
                padding: 100px 0 50px;
                min-height: 100vh;
                text-align: center;
                overflow-x: hidden;
            }
            
            #hero .container {
                max-width: 100%;
                width: 100%;
                padding: 0 15px;
                box-sizing: border-box;
                overflow: hidden;
            }
            
            .profile-image-container {
                width: 160px;
                height: 160px;
                margin-bottom: 1.5rem;
                /* Disable 3D transforms on mobile for better performance */
                transform: none !important;
                animation: none;
            }
            
            #hero h1 {
                font-size: 2rem;
                margin-bottom: 0.5rem;
            }
            
            #hero p {
                font-size: 0.95rem;
                margin-bottom: 1.5rem;
                line-height: 1.6;
                padding: 0 20px;
                max-width: 100%;
                width: 100%;
                word-wrap: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                -webkit-hyphens: auto;
                -moz-hyphens: auto;
                text-align: center;
            }
            
            .typing-container {
                max-width: 100%;
                width: 100%;
                overflow: hidden;
                text-align: center;
                padding: 0 20px;
                box-sizing: border-box;
            }
            
            #typing-text {
                max-width: 100%;
                word-wrap: break-word;
                overflow-wrap: break-word;
                white-space: normal;
            }
            
            /* Hero CTA Buttons Mobile */
            .hero-cta {
                margin-top: 1.5rem;
                flex-direction: column;
                align-items: center;
                gap: 0.8rem;
            }
            
            .cta-button {
                padding: 10px 20px;
                font-size: 0.9rem;
                border-radius: 25px;
                min-width: 180px;
                min-height: 44px;
                transition: all 0.2s ease;
            }
            
            .cta-button:active {
                transform: scale(0.95);
            }
            
            .cta-button.secondary {
                border-width: 1px;
            }
            
            .social-links {
                margin-top: 1.5rem;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }
            
            .social-links a {
                margin: 0;
                padding: 10px 18px;
                font-size: 0.9rem;
                border-radius: 25px;
                min-width: 120px;
                text-align: center;
                transition: all 0.3s ease;
                min-height: 44px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            
            .social-links a:active {
                transform: scale(0.95);
            }
            
            /* Projects Mobile - Enhanced Performance */
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 25px;
                margin-top: 30px;
                padding: 0;
            }
            
            .project-card {
                /* Disable 3D transforms and complex animations on mobile */
                transform: none !important;
                transform-style: auto !important;
                border-radius: 15px;
                overflow: hidden;
                transition: transform 0.2s ease, box-shadow 0.3s ease;
                margin: 0 auto;
                max-width: 100%;
                will-change: transform;
            }
            
            .project-card:hover,
            .project-card:active {
                transform: translateY(-4px) !important;
                box-shadow: 0 12px 30px rgba(15, 14, 23, 0.3), 
                            0 6px 20px rgba(127, 90, 240, 0.2);
            }
            
            .project-card:active {
                transform: translateY(-2px) scale(0.98) !important;
            }
            
            .project-card img {
                height: 180px;
                width: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
            }
            
            .project-card:hover img {
                transform: scale(1.03);
            }
            
            .project-content {
                padding: 20px;
            }
            
            .project-content h3 {
                font-size: 1.25rem;
                margin-bottom: 15px;
                line-height: 1.3;
            }
            
            .project-content p {
                font-size: 0.9rem;
                line-height: 1.6;
                margin-bottom: 15px;
                text-align: left;
            }
            
            .tech-stack {
                margin-top: 15px;
                display: flex;
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .tech-tag {
                padding: 6px 12px;
                font-size: 0.75rem;
                margin: 0;
                border-radius: 15px;
                white-space: nowrap;
                transition: all 0.2s ease;
                min-height: 28px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            
            .tech-tag:active {
                transform: scale(0.95);
            }
            
            .project-link {
                margin-top: 20px;
                padding: 10px 20px;
                font-size: 0.85rem;
                border-radius: 25px;
                display: inline-block;
                transition: all 0.2s ease;
                min-height: 44px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                text-decoration: none;
            }
            
            .project-link:active {
                transform: scale(0.95);
            }
            
            /* Skills Mobile */
            .skills-intro {
                font-size: 1rem;
                margin-bottom: 40px;
                padding: 0 10px;
            }

            .skills-overview {
                gap: 30px;
            }

            .skills-category {
                padding: 20px 15px;
                border-radius: 15px;
            }

            .category-header {
                margin-bottom: 20px;
                padding-bottom: 12px;
            }

            .category-icon {
                width: 40px;
                height: 40px;
                margin-right: 12px;
            }

            .category-icon svg {
                width: 20px;
                height: 20px;
            }

            .category-header h3 {
                font-size: 1.2rem;
            }

            /* Skills Grid Mobile */
            .skills-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .skill-card {
                padding: 15px;
                gap: 12px;
            }

            .skill-logo {
                width: 50px;
                height: 50px;
            }

            .skill-emoji {
                font-size: 1.5rem;
            }

            .skill-details h4 {
                font-size: 1rem;
            }

            .skill-details p {
                font-size: 0.85rem;
                margin-bottom: 6px;
            }

            .skill-level {
                padding: 3px 10px;
                font-size: 0.75rem;
            }

            /* Tech Stack Grid Mobile */
            .tech-stack-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 12px;
            }

            .tech-item {
                padding: 12px;
            }

            .tech-logo {
                font-size: 1.3rem;
                margin-bottom: 6px;
            }

            .tech-name {
                font-size: 0.9rem;
                margin-bottom: 3px;
            }

            .tech-desc {
                font-size: 0.75rem;
            }

            /* Platform Grid Mobile */
            .platform-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .platform-card {
                padding: 20px 15px;
            }

            .platform-icon {
                font-size: 2rem;
                margin-bottom: 12px;
            }

            .platform-card h4 {
                font-size: 1.1rem;
                margin-bottom: 8px;
            }

            .platform-card p {
                font-size: 0.85rem;
                margin-bottom: 12px;
            }

            .platform-features {
                gap: 6px;
            }

            .platform-features span {
                padding: 3px 8px;
                font-size: 0.7rem;
            }

            /* Tools Grid Mobile */
            .tools-grid {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 12px;
            }

            .tool-card {
                padding: 15px 10px;
                gap: 8px;
            }

            .tool-icon {
                font-size: 1.5rem;
            }

            .tool-name {
                font-size: 0.85rem;
            }

            /* Specialization Grid Mobile */
            .specialization-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .specialty-card {
                padding: 25px 20px;
            }

            .specialty-icon {
                font-size: 2.5rem;
                margin-bottom: 15px;
            }

            .specialty-card h4 {
                font-size: 1.2rem;
                margin-bottom: 12px;
            }

            .specialty-card p {
                font-size: 0.9rem;
                margin-bottom: 15px;
            }

            .specialty-tech {
                gap: 6px;
            }

            .specialty-tech span {
                padding: 4px 10px;
                font-size: 0.75rem;
            }
            
            /* Playground Mobile */
            #playground {
                padding: 50px 0;
            }

            .playground-intro {
                font-size: 1rem;
                margin-bottom: 30px;
                padding: 0 10px;
            }

            .playground-container {
                margin: 0 10px;
                border-radius: 15px;
            }

            .playground-header {
                flex-direction: column;
                padding: 15px 20px;
                gap: 15px;
            }

            .playground-tabs {
                width: 100%;
                justify-content: center;
            }

            .tab-btn {
                flex: 1;
                padding: 8px 15px;
                font-size: 0.9rem;
            }

            .playground-controls {
                width: 100%;
                justify-content: center;
                gap: 10px;
            }

            .example-selector {
                flex: 1;
                min-width: auto;
                padding: 8px 12px;
                font-size: 0.9rem;
            }

            .btn-run, .btn-reset {
                padding: 8px 15px;
                font-size: 0.9rem;
            }

            .playground-content {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            .editor-panel {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                min-height: 300px;
            }

            .code-editor {
                padding: 15px;
                font-size: 13px;
                min-height: 300px;
            }

            .preview-panel {
                min-height: 300px;
            }

            .preview-frame {
                min-height: 300px;
            }

            .feature-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 20px;
            }

            .feature-item {
                padding: 20px 15px;
            }

            .feature-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 15px;
                font-size: 1.3rem;
            }

            .feature-item h4 {
                font-size: 1.1rem;
                margin-bottom: 8px;
            }

            .feature-item p {
                font-size: 0.9rem;
            }
            
            /* Contact Mobile */
            #contact {
                padding: 50px 0;
                text-align: center;
            }
            
            #contact h2 {
                font-size: 1.8rem;
                margin-bottom: 20px;
            }
            
            #contact > .container > p {
                font-size: 0.95rem;
                margin-bottom: 35px;
                line-height: 1.6;
                padding: 0 10px;
            }

            .contact-methods {
                grid-template-columns: 1fr;
                gap: 20px;
                margin: 40px 0;
                padding: 0 15px;
            }

            .contact-card {
                padding: 30px 20px;
                border-radius: 15px;
            }

            .contact-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 15px;
            }

            .contact-icon svg {
                width: 28px;
                height: 28px;
            }

            .contact-card h3 {
                font-size: 1.2rem;
                margin-bottom: 10px;
            }

            .contact-card p {
                font-size: 0.9rem;
                margin-bottom: 20px;
            }

            .contact-btn {
                padding: 12px 20px;
                font-size: 0.9rem;
                min-height: 44px;
                width: 100%;
                justify-content: center;
            }

            .social-contact-links {
                gap: 10px;
            }

            .social-contact-btn {
                padding: 10px 15px;
                font-size: 0.85rem;
                min-height: 40px;
                width: 100%;
                justify-content: center;
            }

            .contact-footer {
                margin-top: 40px;
                padding-top: 20px;
            }

            .contact-footer p {
                font-size: 1rem;
            }
            
            /* Theme Toggle Mobile */
            .theme-toggle {
                top: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                z-index: 1002;
            }
            
            .theme-toggle-icon {
                width: 20px;
                height: 20px;
            }
            
            /* Scroll Top Mobile */
            .scroll-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
            
            .scroll-top svg {
                width: 16px;
                height: 16px;
            }
            
            /* Section Padding Mobile */
            section {
                padding: 50px 0;
            }
            
            /* Better focus states for accessibility */
            .mobile-nav-toggle:focus,
            .project-link:focus,
            .social-links a:focus,
            #contact .email-link:focus,
            .theme-toggle:focus {
                outline: 2px solid var(--primary-color);
                outline-offset: 2px;
            }
            
            /* Performance optimizations */
            .project-card::after {
                display: none; /* Disable overlay effects on mobile for better performance */
            }
            
            /* Disable particles on very small screens for performance */
            #particles-js {
                display: none;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }
            
            h1 { 
                font-size: 1.8rem; 
            }
            
            h2 { 
                font-size: 1.6rem; 
            }
            
            #hero {
                padding: 90px 0 40px;
                overflow-x: hidden;
            }
            
            #hero .container {
                max-width: 100%;
                width: 100%;
                padding: 0 10px;
                box-sizing: border-box;
                overflow: hidden;
            }
            
            #hero h1 {
                font-size: 1.8rem;
            }
            
            #hero p {
                font-size: 0.9rem;
                padding: 0 15px;
                max-width: 100%;
                width: 100%;
                word-wrap: break-word;
                overflow-wrap: break-word;
                line-height: 1.6;
            }
            
            .typing-container {
                max-width: 100%;
                width: 100%;
                overflow: hidden;
                text-align: center;
                padding: 0 15px;
                box-sizing: border-box;
            }
            
            .profile-image-container {
                width: 140px;
                height: 140px;
            }
            
            .projects-grid {
                padding: 0;
                gap: 20px;
            }
            
            .mobile-nav-menu {
                width: 250px;
            }
            
            .social-links {
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }
            
            .social-links a {
                width: 180px;
                padding: 8px 16px;
            }
            
            .project-content {
                padding: 15px;
            }
            
            .tech-stack {
                gap: 6px;
            }
            
            .tech-tag {
                padding: 4px 8px;
                font-size: 0.7rem;
            }
            
            /* Contact Form Small Mobile */
            .contact-form-container {
                padding: 20px 15px;
                margin: 0 auto 30px auto;
            }
            
            .contact-form-container h3 {
                font-size: 1.3rem;
                margin-bottom: 20px;
            }
            
            .form-group input,
            .form-group select,
            .form-group textarea {
                padding: 10px 12px;
                font-size: 16px;
            }
            
            .form-submit-btn {
                padding: 12px 20px;
                font-size: 0.95rem;
            }
            
            /* Extra small adjustments */
            .skill-category {
                padding: 20px 15px;
            }
            
            .skill-icon {
                width: 45px;
                height: 45px;
            }
            
            .skill-icon svg {
                width: 20px;
                height: 20px;
            }
            
            .skill-category h3 {
                font-size: 1.1rem;
            }
            
            .skill-item {
                padding: 12px;
            }
            
            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .tool-item {
                padding: 12px 8px;
            }
            
            .tool-icon {
                font-size: 1.3rem;
            }
            
            .tool-item span {
                font-size: 0.8rem;
            }
            
            .badge-item {
                padding: 5px 10px;
                font-size: 0.8rem;
            }
            
            .expertise-item {
                padding: 15px 12px;
            }
            
            .expertise-icon {
                font-size: 1.8rem;
            }
            
            #contact .email-link {
                font-size: 1rem;
                padding: 10px 20px;
            }
        }
        
        @media (max-width: 360px) {
            .container {
                padding: 0 8px;
            }
            
            h1 { 
                font-size: 1.6rem; 
            }
            
            h2 { 
                font-size: 1.4rem; 
            }
            
            #hero h1 {
                font-size: 1.6rem;
            }
            
            #hero p {
                font-size: 0.85rem;
                padding: 0 12px;
                max-width: 100%;
                width: 100%;
                word-wrap: break-word;
                overflow-wrap: break-word;
                line-height: 1.6;
                text-align: center;
            }
            
            .typing-container {
                max-width: 100%;
                width: 100%;
                overflow: hidden;
                text-align: center;
                padding: 0 12px;
                box-sizing: border-box;
            }
            
            #hero .container {
                max-width: 100%;
                width: 100%;
                padding: 0 8px;
                box-sizing: border-box;
                overflow: hidden;
            }
            
            .profile-image-container {
                width: 120px;
                height: 120px;
            }
            
            .mobile-nav-menu {
                width: 220px;
            }
            
            .social-links a {
                width: 160px;
                font-size: 0.85rem;
            }
        }

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

        .fadeIn {
            opacity: 0;
            animation: fadeIn 1s ease forwards;
        }

        .delay-1 {
            animation-delay: 0.2s;
        }

        .delay-2 {
            animation-delay: 0.4s;
        }

        .delay-3 {
            animation-delay: 0.6s;
        }

        /* --- Enhanced Animations --- */
        .animate-in {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.7s ease forwards;
        }

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

        /* --- Parallax Background --- */
        .parallax-bg {
            position: relative;
            overflow: hidden;
        }
        
        .parallax-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: inherit;
            transform: translateZ(-1px) scale(2);
            z-index: -1;
        }
        
        /* --- Theme Toggle Button --- */
        .theme-toggle {
            position: fixed;
            top: 15px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: var(--glass-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 2px solid var(--glass-border);
            border-radius: 50%;
            cursor: pointer;
            z-index: 1001;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }
        
        .theme-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 12px 35px rgba(255, 137, 6, 0.3);
            border-color: var(--primary-color);
        }
        
        .theme-toggle-icon {
            width: 24px;
            height: 24px;
            fill: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .theme-toggle:hover .theme-toggle-icon {
            transform: rotate(180deg);
        }
        
        /* Light theme specific adjustments */
        :root[data-theme="light"] .main-header {
            background: rgba(248, 249, 250, 0.9);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        }
        
        :root[data-theme="light"] .main-header.scrolled {
            background: rgba(248, 249, 250, 0.95);
        }
        
        :root[data-theme="light"] #hero {
            background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(111, 66, 193, 0.2) 100%);
        }
        
        :root[data-theme="light"] #hero::before {
            opacity: 0.1;
        }
        
        :root[data-theme="light"] .project-content {
            background: rgba(255, 255, 255, 0.8);
        }
        
        :root[data-theme="light"] .scroll-top {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        }