/* RESET & BASE STYLES */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }
        
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        
        body {
            background-color: #0A0A0A;
            color: #E0E0E0;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            opacity: 0; /* Initially hidden, revealed by JS after preloader */
            transition: opacity 0.5s ease-in-out;
        }
        body.loaded {
            opacity: 1;
        }

        /* CANVAS BACKGROUND */
        #canvas-background {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.7; /* Subtle transparency */
        }
        #smooth-content {
        background-color: var(--bg-color); /* Or any other opaque background */
        position: relative; /* For z-indexing context if needed for child elements */
        z-index: 1; /* Ensure content is above the background canvas */
        }
        
        /* PRELOADER */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #0A0A0A;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            opacity: 1;
            visibility: visible;
            transition: opacity 1 ease-out 0.5s, visibility 0s linear 1s; /* Delay fade out, then hide */
        }
        
        .preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .preloader .logo-text {
            font-size: 4rem;
            font-weight: 800;
            color: #fff;
            /* Simple pulse for preloader logo */
            animation: pulse 1.5s infinite ease-in-out;
        }
        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.7; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(1); opacity: 0.7;}
        }
        
        /* Basic fade-in for hero elements (can be more specific if needed) */
        @keyframes basic-fade-in-up {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* NAVIGATION */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 1.8rem 2.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out, padding 0.4s ease-in-out;
        }
        
        nav.scrolled {
            background-color: rgba(10, 10, 10, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            padding: 1.2rem 2.5rem;
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.6rem;
            letter-spacing: -1px;
            color: #FFFFFF;
        }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
        }
        
        .nav-links a {
            color: #B0B0B0;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
            transition: color 0.3s ease;
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #ffffff;
            transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .nav-links a:hover,
        .nav-links a.active {
            color: #ffffff;
        }
        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.6rem;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }
        
        /* SECTIONS GENERAL */
        section {
            min-height: 100vh;
            padding: 8rem 2.5rem 6rem;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            opacity: 0; /* Initially hidden for scroll reveal */
            transform: translateY(40px); /* Initial state for scroll reveal */
            transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
        }
        
        section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .section-title {
            font-size: 3.2rem;
            margin-bottom: 4.5rem;
            font-weight: 800;
            letter-spacing: -2px;
            position: relative;
            display: inline-block;
            color: #FFFFFF;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -15px;
            width: 0px; /* Initial state */
            height: 4px;
            background-color: #ffffff;
            transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s; /* Animate width when section is visible */
        }

        section.visible .section-title::after {
            width: 70px; /* Target width */
        }
        
        /* HERO SECTION - visible by default, items inside animate */
        .hero {
            opacity: 1; /* Hero section itself is visible */
            transform: translateY(0); /* No initial transform needed for the section */
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-top: 0; 
            padding-bottom: 0;
            position: relative;
            z-index: 1;
        }
        
        .hero-content > * { /* Target direct children for animation */
            opacity: 0;
            animation: basic-fade-in-up 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
        }
        /* Stagger hero content animations with delay */
        .hero-subtitle { animation-delay: 0.6s; }
        .hero-title { animation-delay: 0.8s; }
        .hero-description { animation-delay: 1.0s; }
        .cta-button { animation-delay: 1.2s; }
        .scroll-indicator { animation-delay: 1.5s;}


        .hero-content { max-width: 800px; }
        .hero-subtitle { font-size: 1.3rem; font-weight: 500; margin-bottom: 1.2rem; color: #C0C0C0; }
        .hero-title { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 2.2rem; letter-spacing: -0.04em; color: #FFFFFF; }
        .hero-description { font-size: 1.25rem; line-height: 1.75; margin-bottom: 3rem; color: #A0A0A0; }
        .cta-button {
            display: inline-block; padding: 1.2rem 2.5rem; background-color: #ffffff; color: #0A0A0A;
            text-decoration: none; font-weight: 600; font-size: 1.05rem; border-radius: 6px;
            transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1);
            position: relative;
        }
        .cta-button:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 14px 28px rgba(255, 255, 255, 0.12); }
        
        .scroll-indicator {
            position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; align-items: center;
        }
        .scroll-indicator span { font-size: 0.85rem; margin-bottom: 0.6rem; color: #909090; }
        .scroll-indicator .mouse {
            width: 26px; height: 46px; border: 2px solid #707070; border-radius: 20px;
            display: flex; justify-content: center; padding-top: 7px; 
        }
        .scroll-indicator .mouse::before {
            content: ''; width: 3px; height: 7px; background-color: #707070; border-radius: 2px;
            animation: scroll 2.2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
        }
        @keyframes scroll {
            0% { transform: translateY(0px); opacity: 1; }
            50% { transform: translateY(12px); opacity: 0.2; }
            100% { transform: translateY(0px); opacity: 1; }
        }
        
        /* ABOUT SECTION, PROJECTS, CONTACT, FOOTER, MOBILE NAV & RESPONSIVE STYLES */
        /* --- Paste all remaining CSS from the previous correct "Gemini's Touch" response here --- */
        /* Ensure this includes: */
        /* - About Section styles */
        /* - Projects Section styles */
        /* - Contact Section styles */
        /* - Footer styles */
        /* - Mobile Navigation styles (.mobile-nav, .mobile-nav-close, etc.) */
        /* - All @media query responsive styles */

        /* (The full CSS is too long to repeat, but it's the one with .g-fade-up changed to simple opacity/transform transitions on section elements and NO custom cursor CSS) */

        /* ABOUT SECTION */
        .about-content {
            display: grid;
            grid-template-columns: 0.8fr 1.2fr; 
            gap: 5rem; 
            align-items: flex-start; 
        }
        
        .about-image-wrapper { 
            perspective: 1200px;
        }

        .about-image {
            width: 100%;
            max-width: 400px; 
            aspect-ratio: 1/1.1; 
            background-color: #151515;
            border-radius: 8px; 
            overflow: hidden;
            position: relative;
            box-shadow: 0 18px 35px rgba(0,0,0,0.25);
            transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .about-image:hover {
            transform: scale(1.04) rotateY(3deg) rotateX(1deg) translateY(-5px); 
            box-shadow: 0 28px 45px rgba(0,0,0,0.3);
        }
        
        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(0.8); 
            transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), filter 0.4s ease;
        }
        
        .about-image:hover img {
            transform: scale(1.08);
            filter: saturate(1);
        }
        
        .about-text h3 {
            font-size: 2.2rem; 
            margin-bottom: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #F5F5F5;
        }
        
        .about-text p {
            font-size: 1.05rem;
            line-height: 1.9; 
            margin-bottom: 1.8rem;
            color: #A0A0A0;
        }
        
        .skills-container { 
            margin-top: 2.5rem;
        }
        .skills-container h4 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: #D0D0D0;
            font-weight: 600;
        }

        .skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.9rem; 
        }
        
        .skill {
            padding: 0.7rem 1.4rem; 
            background-color: rgba(255, 255, 255, 0.04); 
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            color: #C0C0C0;
            transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
        }
        
        .skill:hover {
            transform: translateY(-2px) scale(1.02); /* Subtler hover */
            background-color: rgba(255, 255, 255, 0.05);
            border-color: rgba(255,255,255,0.15);
            box-shadow: 0 6px 18px rgba(255,255,255,0.06);
            color: #FFFFFF;
        }
        
        /* PROJECTS SECTION */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
            gap: 3rem; 
        }
        
        .project-card {
            background-color: rgba(18, 18, 18, 0.9); /* Slight transparency */
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.07);
            border-radius: 10px; 
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        .project-card:hover {
            transform: translateY(-14px) scale(1.025);
            box-shadow: 0 22px 45px rgba(0, 0, 0, 0.3);
            border-color: rgba(255,255,255,0.18);
        }
        
        .project-image {
            height: 230px; 
            background-color: #181818;
            overflow: hidden;
        }
        
        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); 
        }
        
        .project-card:hover .project-image img {
            transform: scale(1.1);
        }
        
        .project-content {
            padding: 1.8rem; 
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .project-title {
            font-size: 1.6rem;
            margin-bottom: 0.6rem;
            font-weight: 700;
            color: #F0F0F0;
        }
        
        .project-category {
            color: #888888;
            font-size: 0.8rem;
            margin-bottom: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 500;
        }
        
        .project-description {
            color: #A0A0A0;
            font-size: 0.98rem;
            line-height: 1.65;
            margin-bottom: 1.8rem;
            flex-grow: 1;
        }
        
        .project-link {
            display: inline-block;
            color: #E0E0E0;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            position: relative;
            transition: color 0.3s ease;
            align-self: flex-start;
        }
        .project-link:hover {
            color: #ffffff;
        }
        
        .project-link::after {
            content: '→';
            margin-left: 0.6rem;
            transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: inline-block; 
        }
        
        .project-link:hover::after {
            transform: translateX(7px);
        }
        
        /* CONTACT SECTION */
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1.1fr; 
            gap: 5rem;
        }
        
        .contact-info h3 {
            font-size: 2.2rem;
            margin-bottom: 1.8rem;
            letter-spacing: -0.5px;
             color: #F5F5F5;
        }
        
        .contact-info p.intro-text { 
            font-size: 1.05rem;
            line-height: 1.9;
            margin-bottom: 3rem; 
            color: #A0A0A0;
        }
        
        .contact-method {
            display: flex;
            align-items: center;
            margin-bottom: 2rem; 
            transition: transform 0.3s cubic-bezier(0.19,1,.22,1);
        }
        .contact-method:hover {
            transform: translateX(6px);
        }
        
        .contact-icon {
            min-width: 48px; 
            width: 48px; 
            height: 48px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.06);
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 1.4rem; 
            transition: background-color 0.3s ease;
        }
        .contact-method:hover .contact-icon {
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .contact-icon i {
            font-size: 1.4rem; 
            color: #E0E0E0;
        }
        
        .contact-method-info h4 {
            font-size: 1.15rem;
            margin-bottom: 0.4rem; 
            font-weight: 600;
            color: #D0D0D0;
        }
        
        .contact-method-info p, .contact-method-info a {
            font-size: 0.95rem;
            color: #909090;
            margin-bottom: 0;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .contact-method-info a:hover {
            color: #E0E0E0;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
        }
        
        .form-group {
            margin-bottom: 1.8rem; 
            position: relative;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.7rem; 
            font-size: 0.9rem;
            font-weight: 500;
            color: #B0B0B0;
        }
        
        .form-control {
            width: 100%;
            padding: 1.2rem; 
            background-color: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            color: #E0E0E0;
            font-size: 1rem;
            transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .form-control:focus {
            outline: none;
            border-color: rgba(255, 255, 255, 0.5);
            background-color: rgba(255,255,255,0.04);
            box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
        }
        
        textarea.form-control {
            min-height: 160px;
            resize: vertical;
        }
        
        .submit-btn {
            display: inline-block;
            padding: 1.2rem 2.5rem; 
            background-color: #ffffff;
            color: #0A0A0A;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.05rem;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s cubic-bezier(0.19, 1, 0.22, 1);
            align-self: flex-start;
            margin-top: 0.5rem;
        }
        
        .submit-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
        }
        
        /* FOOTER */
        footer {
            padding: 5rem 2rem 3.5rem; 
            text-align: center;
            background-color: #080808; 
            border-top: 1px solid rgba(255,255,255,0.04);
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer-logo {
            font-weight: 700;
            font-size: 1.6rem; 
            letter-spacing: -1px;
            margin-bottom: 1.8rem;
            color: #FFFFFF;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.8rem; 
            margin-bottom: 3rem; 
        }
        
        .social-link {
            width: 48px; 
            height: 48px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.3s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s cubic-bezier(0.19,1,.22,1);
        }
        
        .social-link:hover {
            transform: translateY(-6px) scale(1.12);
            background-color: rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 16px rgba(255,255,255,0.05);
        }
        
        .social-link i {
            font-size: 1.4rem; 
            color: #D0D0D0;
            transition: color 0.3s ease;
        }
        .social-link:hover i {
            color: #FFFFFF;
        }
        
        .footer-nav {
            display: flex;
            justify-content: center;
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        
        .footer-nav a {
            color: #909090;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s ease;
        }
        
        .footer-nav a:hover {
            color: #E0E0E0;
        }
        
        .copyright {
            font-size: 0.9rem;
            color: #606060; 
        }
        
        /* MOBILE NAVIGATION */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -100%; 
            width: clamp(280px, 75vw, 350px); 
            height: 100vh;
            background-color: rgba(12, 12, 12, 0.98); 
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            padding: 2.5rem;
            transition: right 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
            z-index: 10001; 
            display: flex;
            flex-direction: column;
            box-shadow: -8px 0 25px rgba(0,0,0,0.25);
        }
        
        .mobile-nav.active {
            right: 0;
        }
        
        .mobile-nav-close {
            align-self: flex-end;
            background: none;
            border: none;
            color: #B0B0B0;
            font-size: 1.9rem;
            margin-bottom: 2.5rem;
            cursor: pointer;
            padding: 0.5rem;
            transition: color 0.3s ease, transform 0.3s ease;
        }
        .mobile-nav-close:hover {
            color: #FFFFFF;
            transform: rotate(90deg);
        }
        
        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 1.2rem; 
        }
        
        .mobile-nav-links a {
            color: #C0C0C0;
            text-decoration: none;
            font-size: 1.3rem; 
            font-weight: 500;
            padding: 1rem 0.5rem; 
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
            transition: color 0.3s ease, background-color 0.3s ease, padding-left 0.3s ease;
            border-left: 4px solid transparent; 
        }
        .mobile-nav-links a:last-child {
            border-bottom: none;
        }
        .mobile-nav-links a:hover {
            color: #ffffff;
            background-color: rgba(255,255,255,0.04);
            padding-left: 1rem;
        }
        .mobile-nav-links a.active {
            color: #ffffff;
            font-weight: 600;
            background-color: rgba(255,255,255,0.06);
            border-left-color: #fff;
            padding-left: 1rem;
        }


        @media (max-width: 992px) {
            .section-title { font-size: 2.8rem; }
            .hero-title { font-size: clamp(2.8rem, 7vw, 4.5rem); }
            .about-content, .contact-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }
            .about-image-wrapper { margin: 0 auto 2rem; }
        }
        
        @media (max-width: 768px) {
            html { font-size: 15px; } 
            nav { padding: 1.5rem 1.8rem; }
            nav.scrolled { padding: 1rem 1.8rem; }
            .logo { font-size: 1.4rem; }
            .section-title { font-size: 2.4rem; margin-bottom: 3.5rem;}
            .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
            .hero-subtitle { font-size: 1.15rem; }
            .hero-description { font-size: 1.1rem; }
            
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
        }
        
        @media (max-width: 576px) {
            html { font-size: 14.5px; }
            section { padding: 6rem 1.5rem 4rem; }
            .hero-title { font-size: clamp(2.2rem, 12vw, 3rem); }
            .hero-description { font-size: 1rem; }
            
            .about-text h3, .contact-info h3 { font-size: 2rem; }
            .section-title { font-size: 2.1rem; }
             .cta-button, .submit-btn {
                width: 100%;
                text-align: center;
                padding: 1.1rem 1.5rem;
            }
            .projects-grid { grid-template-columns: 1fr; gap: 2.5rem;}
            .contact-content { grid-template-columns: 1fr; gap: 3rem;} /* Force single column */
            .footer-nav { flex-direction: column; gap: 1rem; }
        }