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

        :root {
            /* Color Palette */
            --primary: #6366f1; /* Modern Indigo */
            --primary-glow: rgba(99, 102, 241, 0.4);
            --bg-base: #f8fafc;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --white: #ffffff;
            --card-bg: rgba(255, 255, 255, 0.85);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius: 16px;
        }

         @media (prefers-color-scheme: dark) {
            :root {
                --bg-base: #0f172a;
                --text-main: #f1f5f9;
                --text-muted: #94a3b8;
                --white: #1e293b;
                --card-bg: rgba(30, 41, 59, 0.75);
            }
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, sans-serif;
            background-color: transparent; 
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
        }

         /* --- Animated Background --- */
        .bg-animation-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
            overflow: hidden;
            pointer-events: none;
            background: var(--bg-base);
        }

        .bg-glow {
            position: absolute;
            width: 60vw;
            height: 60vw;
            background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.4;
            animation: moveGlow 25s infinite alternate ease-in-out;
        }

        .bg-glow-2 {
            position: absolute;
            top: 40%;
            right: -10%;
            width: 50vw;
            height: 50vw;
            background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.3;
            animation: moveGlow 35s infinite alternate-reverse ease-in-out;
        }

        /* --- Floating Shapes & Icons Layer --- */
        .floating-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1.5; /* Above glow, below content */
            pointer-events: none;
            overflow: hidden;
        }

        .float-item {
            position: absolute;
            opacity: 0.7;
            color: var(--primary);
            animation: floatAnim 15s infinite ease-in-out;
        }

        .blob {
            width: 150px;
            height: 150px;
            background: var(--primary);
            filter: blur(40px);
            border-radius: 50%;
            opacity: 0.03;
        }

        @keyframes moveGlow {
            0% { transform: translate(-10%, -10%) scale(1); }
            50% { transform: translate(20%, 15%) scale(1.1); }
            100% { transform: translate(-5%, 25%) scale(1); }
        }

        @keyframes floatAnim {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(30px, -50px) rotate(15deg); }
            66% { transform: translate(-20px, 20px) rotate(-15deg); }
        }

        /* Positioning specific floating items */
        .f1 { top: 15%; left: 10%; animation-duration: 18s; }
        .f2 { top: 65%; left: 85%; animation-duration: 22s; animation-delay: -5s; }
        .f3 { top: 80%; left: 20%; animation-duration: 25s; animation-delay: -2s; }
        .f4 { top: 25%; left: 75%; animation-duration: 20s; }
        .f5 { top: 45%; left: 5%;  animation-duration: 28s; animation-delay: -10s; }
        .f6 { top: 10%; left: 50%; animation-duration: 15s; }

        /* --- Textured Background Layer (Box-Box Grid) --- */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%236366f1' stroke-width='1' stroke-opacity='0.1'%3E%3Cpath d='M0 40L40 40M40 0L40 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 100%;
            pointer-events: none;
            z-index: -1;
        }

        h1, h2, h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }

        ul {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

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

        section {
            padding: 80px 0;
            opacity: 0;
            transform: translateY(30px);
            transition: 0.8s ease-out;
        }

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

        /* --- Navigation --- */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 1rem 0;
            background: rgba(var(--bg-base), 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

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

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: -1px;
            z-index: 1001;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* --- MOBILE NAVIGATION STYLES --- */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-main);
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background: var(--white);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 2.5rem;
                box-shadow: -10px 0 30px rgba(0,0,0,0.1);
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                z-index: 1000;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links a {
                font-size: 1.25rem;
                font-weight: 600;
            }
        }

        /* --- Hero Section --- */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding-top: 0; 
            gap: 1.5rem;
            opacity: 1; 
            transform: none;
        }

        .hero-content {
            animation: heroFadeUp 1s ease-out forwards;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

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

        .hero h1 {
            font-size: clamp(2.5rem, 7vw, 5rem);
            font-weight: 800;
            letter-spacing: -0.04em;
            margin-bottom: 0.5rem;
            color: var(--text-main);
        }

        .hero .role-text {
            font-size: clamp(1.25rem, 4vw, 2.25rem);
            font-weight: 400;
            color: var(--primary);
            cursor: default;
            position: relative;
            display: inline-block;
            transition: var(--transition);
        }

        .hero .role-text:hover {
            color: var(--primary);
            text-shadow: 0 0 15px var(--primary-glow);
        }

        .hero .role-text::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: var(--transition);
            transform: translateX(-50%);
        }

        .hero .role-text:hover::after {
            width: 100%;
        }

        .hero-btns {
            display: flex;
            gap: 1rem;
            margin-top: 2.5rem;
            justify-content: center;
            align-items: center;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            padding: 14px 36px;
            background: var(--primary);
            color: white;
            border-radius: 12px;
            font-weight: 600;
            box-shadow: 0 10px 25px -10px var(--primary);
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn-primary:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 35px -12px var(--primary);
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            padding: 14px 36px;
            background: transparent;
            color: var(--text-main);
            border: 2px solid var(--text-main);
            border-radius: 12px;
            font-weight: 600;
            transition: var(--transition);
        }

        .btn-secondary:hover {
            background: var(--text-main);
            color: var(--bg-base);
            transform: translateY(-4px);
        }

        @media (max-width: 640px) {

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

            .hero-btns {
                flex-direction: column;
                width: 100%;
                max-width: 280px;
                margin-left: auto;
                margin-right: auto;
                align-items: center;
            }
            .btn-primary, .btn-secondary {
                gap: 0.8rem;
                width: 100%;
                justify-content: center;
            }
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        /* --- SKILLS SECTION --- */
        .skills-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 1.5rem;
            margin-bottom: 4rem;
        }

        .skill-item {
            background: var(--card-bg);
            padding: 2rem 1rem;
            border-radius: var(--radius);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .skill-item:hover {
            transform: translateY(-8px);
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        }

        .skill-item i {
            color: var(--text-muted);
            margin-bottom: 1rem;
            transition: var(--transition);
        }

        .skill-item:hover i {
            color: var(--primary);
            transform: scale(1.1);
        }

        .skill-name {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-main);
        }

        .skill-level {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary);
            margin-top: 0.5rem;
            font-weight: 700;
            opacity: 0.8;
        }

        .learning-section {
            background: rgba(99, 102, 241, 0.05);
            padding: 2rem;
            border-radius: var(--radius);
            border: 1px dashed var(--primary);
            text-align: center;
        }

        .learning-section h3 {
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .learning-grid {
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .learning-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 500;
            color: var(--text-muted);
        }

        /* --- PROJECTS SECTION --- */
        .projects-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .project-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 640px) {
            .project-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (min-width: 1024px) {
            .project-grid { grid-template-columns: repeat(3, 1fr); }
        }

        .project-card {
            background: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

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

        .project-media {
            position: relative;
            width: 100%;
            padding-top: 56.25%; 
            overflow: hidden;
            background: #e2e8f0;
        }

        .project-media img, 
        .project-media video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .project-card:hover .project-media img,
        .project-card:hover .project-media video {
            transform: scale(1.05);
        }

        .project-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .project-content h3 {
            font-size: 1.25rem;
            margin-bottom: 0.75rem;
            color: var(--text-main);
        }

        .project-content p {
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .project-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: auto;
        }

        .project-btn {
            flex: 1;
            padding: 10px 12px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: var(--transition);
        }

        .btn-github {
            background: rgba(30, 41, 59, 0.05);
            color: var(--text-main);
            border: 1px solid rgba(30, 41, 59, 0.1);
        }

        .btn-github:hover {
            background: var(--text-main);
            color: var(--white);
        }

        .btn-demo {
            background: var(--primary);
            color: var(--white);
            border: 1px solid var(--primary);
        }

        .btn-demo:hover {
            background: transparent;
            color: var(--primary);
        }

        /* --- CONTACT SECTION --- */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            max-width: 900px;
            margin: 0 auto;
        }

        @media (min-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr 1fr;
                align-items: center;
            }
        }

        .contact-info {
            text-align: center;
        }

        @media (min-width: 1024px) {
            .contact-info {
                text-align: left;
            }
        }

        .contact-info h2 {
            font-size: clamp(2rem, 5vw, 2.75rem);
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .contact-info p {
            color: var(--text-muted);
            margin-bottom: 2rem;
            font-size: 1.1rem;
        }

        .email-direct {
            display: inline-flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .email-link {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            justify-content: center;
        }

        @media (min-width: 1024px) {
            .email-link {
                justify-content: flex-start;
            }
        }

        .email-link:hover {
            opacity: 0.8;
            transform: translateX(5px);
        }

        .contact-form {
            background: var(--card-bg);
            padding: 2.5rem;
            border-radius: var(--radius);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
        }

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

        .form-group label {
            display: block;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            color: var(--text-main);
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            border-radius: 10px;
            border: 1.5px solid rgba(100, 116, 139, 0.2);
            background: rgba(255, 255, 255, 0.5);
            color: var(--text-main);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }

        @media (prefers-color-scheme: dark) {
            .form-control {
                background: rgba(15, 23, 42, 0.5);
            }
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
            box-shadow: 0 0 0 4px var(--primary-glow);
        }

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

        .submit-btn {
            width: 100%;
            justify-content: center;
            font-family: inherit;
        }

        @media (max-width: 640px){
            .contact-info h2{
                font-size: 1.5rem;
            }
         }

        /* --- Footer Styles --- */
        footer {
            padding: 5rem 0 3rem;
            background: var(--white);
            text-align: center;
            border-top: 1px solid rgba(0,0,0,0.05);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .social-icon {
            color: var(--text-muted);
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: rgba(99, 102, 241, 0.05);
        }

        .social-icon:hover {
            color: var(--text-muted);
            background: var(--white);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px -5px var(--primary-glow);
        }

        .signature {
            font-size: 1.1rem;
            color: var(--text-main);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .brand-name {
            font-family: 'Dancing Script', cursive;
            font-size: 2.2rem;
            color: var(--primary);
            letter-spacing: 1px;
            display: inline-block;
            transition: var(--transition);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
            position: relative;
            padding: 0 5px;
            transform: scale(1.05) rotate(-2deg);
            text-shadow: 0 0 15px var(--primary-glow);
        }

        .brand-name::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary);
            transform: scaleX(0);
            transition: transform 0.4s ease;
            transform-origin: right;
            opacity: 0.5;
            transform: scaleX(1);
            transform-origin: left;
        }

        .copyright {
            margin-top: 1rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            letter-spacing: 0.5px;
        }

        @media (max-width: 768px) {
            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
            .social-links {
                gap: 1rem;
            }
        }