*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --ink: #0e0e0e;
            --paper: #f5f2ec;
            --cream: #ede9e0;
            --accent: #c8392b;
            --accent-soft: #f0dbd9;
            --muted: #7a7570;
            --rule: #d4cfc6;
            --white: #ffffff;
            --serif: 'Playfair Display', Georgia, serif;
            --sans: 'DM Sans', system-ui, sans-serif;
        }
        html { scroll-behavior: smooth; }
        body {
            background: var(--paper);
            color: var(--ink);
            font-family: var(--sans);
            font-weight: 300;
            line-height: 1.7;
            overflow-x: hidden;
        }
        /* ── HEADER ── */
        header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.2rem 3rem;
            background: var(--paper);
            border-bottom: 1px solid var(--rule);
            backdrop-filter: blur(6px);
        }
        .logo a {
            text-decoration: none;
            display: flex;
            align-items: center;
        }
        .logo svg text {
            font-family: var(--serif);
            font-weight: 900;
            fill: var(--ink);
            letter-spacing: -1px;
        }
        nav { display: flex; gap: 2rem; align-items: center; }
        nav a {
            text-decoration: none;
            font-family: var(--sans);
            font-size: 0.78rem;
            font-weight: 400;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--muted);
            transition: color 0.25s;
            position: relative;
        }
        nav a::after {
            content: '';
            position: absolute;
            bottom: -3px; left: 0;
            width: 0; height: 1px;
            background: var(--accent);
            transition: width 0.3s;
        }
        nav a:hover { color: var(--ink); }
        nav a:hover::after { width: 100%; }
        .menu-icon {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--ink);
        }
        /* ── MAIN ── */
        main { padding-top: 72px; }
        section {
            padding: 6rem 3rem;
            border-bottom: 1px solid var(--rule);
            max-width: 1200px;
            margin: 0 auto;
        }
        /* ── HOME ── */
        #home {
            min-height: calc(100vh - 72px);
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            gap: 0;
            padding: 0;
            max-width: 100%;
            border-bottom: none;
        }
        .home-headline {
            grid-column: 1 / -1;
            padding: 5rem 3rem 3rem;
            border-bottom: 1px solid var(--rule);
            position: relative;
            overflow: hidden;
        }
        .home-headline::before {
            content: 'MYA';
            position: absolute;
            right: -0.05em;
            top: -0.1em;
            font-family: var(--serif);
            font-size: clamp(8rem, 22vw, 22rem);
            font-weight: 900;
            color: transparent;
            -webkit-text-stroke: 1px var(--rule);
            line-height: 1;
            pointer-events: none;
            user-select: none;
        }
        .home-headline .eyebrow {
            font-size: 0.72rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent);
            font-weight: 500;
            margin-bottom: 1.2rem;
        }
        .home-headline h1 {
            font-family: var(--serif);
            font-size: clamp(2.8rem, 6vw, 5.5rem);
            font-weight: 700;
            line-height: 1.08;
            letter-spacing: -0.02em;
            color: var(--ink);
            position: relative;
            z-index: 1;
            max-width: 700px;
        }
        .home-headline h1 em {
            font-style: italic;
            color: var(--accent);
        }
        .home-headline .sub {
            font-size: 1rem;
            color: var(--muted);
            max-width: 480px;
            margin-top: 1.5rem;
            position: relative;
            z-index: 1;
        }
        .learn-more {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            text-decoration: none;
            font-size: 0.82rem;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--accent);
            margin-top: 1.8rem;
            position: relative;
            z-index: 1;
        }
        .learn-more::after {
            content: '→';
            transition: transform 0.25s;
        }
        .learn-more:hover::after { transform: translateX(4px); }
        .home-card {
            padding: 3rem;
            border-right: 1px solid var(--rule);
            animation: fadeUp 0.7s both;
        }
        .home-card:last-child { border-right: none; }
        .home-card .card-num {
            font-family: var(--serif);
            font-size: 3rem;
            font-weight: 900;
            color: var(--rule);
            line-height: 1;
            margin-bottom: 1rem;
        }
        .home-card h3 {
            font-family: var(--serif);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .home-card h3 i { color: var(--accent); font-size: 1rem; }
        .home-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
        .home-card .learn-more { margin-top: 1.2rem; }
        /* ── SECTION HEADERS ── */
        .section-label {
            font-size: 0.7rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent);
            font-weight: 500;
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .section-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--rule);
            max-width: 60px;
        }
        section h2 {
            font-family: var(--serif);
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.1;
            margin-bottom: 2rem;
        }
        /* ── ABOUT ── */
        #about {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }
        #about .about-left {}
        #about .about-right {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        .stat-block {
            padding: 1.5rem;
            background: var(--cream);
            border-left: 3px solid var(--accent);
        }
        .stat-block .num {
            font-family: var(--serif);
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--ink);
            line-height: 1;
        }
        .stat-block .label {
            font-size: 0.8rem;
            color: var(--muted);
            letter-spacing: 0.05em;
            margin-top: 0.2rem;
        }
        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1.5rem;
        }
        .tag {
            font-size: 0.72rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 500;
            padding: 0.35rem 0.8rem;
            border: 1px solid var(--rule);
            color: var(--muted);
            transition: all 0.25s;
        }
        .tag:hover {
            background: var(--ink);
            color: var(--paper);
            border-color: var(--ink);
        }
        /* ── EDUCATION ── */
        #education { max-width: 1200px; }
        .edu-entry {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 2rem;
            padding: 2.5rem 0;
            border-bottom: 1px solid var(--rule);
            align-items: start;
        }
        .edu-entry:first-of-type { border-top: 1px solid var(--rule); }
        .edu-year {
            font-family: var(--serif);
            font-size: 0.85rem;
            color: var(--muted);
            font-style: italic;
            padding-top: 0.15rem;
        }
        .edu-content h3 {
            font-family: var(--serif);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }
        .edu-content .institution {
            font-size: 0.82rem;
            color: var(--accent);
            font-weight: 500;
            letter-spacing: 0.05em;
            margin-bottom: 0.6rem;
        }
        .edu-content p { font-size: 0.9rem; color: var(--muted); }
        /* ── PROJECTS ── */
        #projects { max-width: 1200px; }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border: 1px solid var(--rule);
            margin-top: 2rem;
        }
        .project-card {
            padding: 2rem;
            border-right: 1px solid var(--rule);
            border-bottom: 1px solid var(--rule);
            transition: background 0.3s;
            cursor: pointer;
        }
        .project-card:hover { background: var(--cream); }
        .project-card:nth-child(3n) { border-right: none; }
        .project-card:nth-last-child(-n+3) { border-bottom: none; }
        .project-icon {
            width: 40px; height: 40px;
            background: var(--accent-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.2rem;
        }
        .project-icon i { color: var(--accent); font-size: 1.1rem; }
        .project-card h3 {
            font-family: var(--serif);
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .project-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
        .project-card .proj-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.3rem;
            margin-top: 1rem;
        }
        .project-card .proj-tag {
            font-size: 0.65rem;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            padding: 0.2rem 0.55rem;
            background: var(--paper);
            border: 1px solid var(--rule);
            color: var(--muted);
        }
        /* ── EXPERIENCE ── */
        #experience { max-width: 1200px; }
        .exp-entry {
            display: grid;
            grid-template-columns: 200px 1fr;
            gap: 3rem;
            padding: 2.5rem 0;
            border-bottom: 1px solid var(--rule);
        }
        .exp-entry:first-of-type { border-top: 1px solid var(--rule); }
        .exp-meta {}
        .exp-period {
            font-size: 0.78rem;
            color: var(--muted);
            letter-spacing: 0.05em;
            margin-bottom: 0.3rem;
        }
        .exp-company {
            font-family: var(--serif);
            font-size: 1rem;
            font-weight: 700;
        }
        .exp-content h3 {
            font-family: var(--serif);
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--accent);
        }
        .exp-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
        .exp-content ul {
            list-style: none;
            margin-top: 0.8rem;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        .exp-content ul li {
            font-size: 0.88rem;
            color: var(--muted);
            padding-left: 1rem;
            position: relative;
        }
        .exp-content ul li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--accent);
        }
        /* ── CONTACT ── */
        #contact {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
        }
        #contact h2 { margin-bottom: 0.8rem; }
        #contact .contact-sub { font-size: 1rem; color: var(--muted); max-width: 360px; margin-bottom: 2rem; }
        .contact-links {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .contact-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
            color: var(--ink);
            font-size: 0.9rem;
            padding: 1rem 1.2rem;
            border: 1px solid var(--rule);
            transition: all 0.25s;
        }
        .contact-link:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .contact-link i { font-size: 1.1rem; }
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .form-group label {
            display: block;
            font-size: 0.72rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            font-weight: 500;
            color: var(--muted);
            margin-bottom: 0.4rem;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.8rem 1rem;
            background: var(--white);
            border: 1px solid var(--rule);
            color: var(--ink);
            font-family: var(--sans);
            font-size: 0.9rem;
            font-weight: 300;
            outline: none;
            transition: border-color 0.25s;
            resize: vertical;
        }
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--accent);
        }
        .btn-submit {
            padding: 0.9rem 2rem;
            background: var(--ink);
            color: var(--paper);
            border: none;
            font-family: var(--sans);
            font-size: 0.78rem;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.25s;
            align-self: flex-start;
        }
        .btn-submit:hover { background: var(--accent); }
        /* ── FOOTER ── */
        footer {
            padding: 2rem 3rem;
            border-top: 1px solid var(--rule);
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 100%;
        }
        footer p {
            font-size: 0.8rem;
            color: var(--muted);
        }
        .footer-nav { display: flex; gap: 1.5rem; }
        .footer-nav a {
            font-size: 0.75rem;
            text-decoration: none;
            color: var(--muted);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            transition: color 0.25s;
        }
        .footer-nav a:hover { color: var(--accent); }
        /* ── ANIMATIONS ── */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(24px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .home-headline { animation: fadeUp 0.6s both; }
        .home-card:nth-child(2) { animation-delay: 0.15s; }
        .home-card:nth-child(3) { animation-delay: 0.3s; }
        /* ── MOBILE MENU ── */
        @media (max-width: 768px) {
            header { padding: 1rem 1.5rem; }
            .menu-icon { display: block; }
            #menu {
                display: none;
                position: fixed;
                top: 64px; left: 0; right: 0;
                background: var(--paper);
                flex-direction: column;
                align-items: flex-start;
                padding: 2rem 1.5rem;
                border-bottom: 1px solid var(--rule);
                gap: 1.5rem;
                z-index: 99;
            }
            #menu.open { display: flex; }
            #menu a { font-size: 0.9rem; }
            #home {
                grid-template-columns: 1fr;
                min-height: auto;
            }
            .home-card { border-right: none; border-bottom: 1px solid var(--rule); }
            section { padding: 4rem 1.5rem; }
            #about, #contact {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .projects-grid { grid-template-columns: 1fr; }
            .project-card { border-right: none; }
            .project-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
            .project-card:last-child { border-bottom: none; }
            .edu-entry, .exp-entry { grid-template-columns: 1fr; gap: 0.5rem; }
            .exp-entry { gap: 1rem; }
        }
</style>
</head>
<body>
<!-- ===== HEADER ===== -->
<header>
    <div class="logo">
        <a href="#home">
            <svg width="72" height="40">
                <text x="0" y="33" fill="var(--ink)" font-size="32" font-family="'Playfair Display', serif" font-weight="900">MYA</text>
            </svg>
        </a>
    </div>
    <i class="bi bi-list menu-icon" onclick="toggleMenu()" aria-label="Menu"></i>
    <nav id="menu">
        <a href="#home" onclick="closeMenu()">Home</a>
        <a href="#about" onclick="closeMenu()">About</a>
        <a href="#education" onclick="closeMenu()">Education</a>
        <a href="#projects" onclick="closeMenu()">Projects</a>
        <a href="#experience" onclick="closeMenu()">Experience</a>
        <a href="#contact" onclick="closeMenu()">Contact</a>
    </nav>
</header>
<!-- ===== MAIN ===== -->
<main>
    <!-- HOME -->
    <section id="home">
        <div class="home-headline">
            <p class="eyebrow">Web Developer &amp; Designer</p>
            <h1>Crafting <em>digital</em><br>experiences with<br>purpose.</h1>
            <p class="sub">Hello — I'm MYA. I build responsive, thoughtfully designed interfaces that balance aesthetics and function.</p>
            <a href="#about" class="learn-more">Learn more about me</a>
        </div>
        <div class="home-card">
            <div class="card-num">01</div>
            <h3><i class="bi bi-mortarboard"></i> Education</h3>
            <p>Master of Computer Science from a leading university, with a focus on human–computer interaction and software systems.</p>
            <a href="#education" class="learn-more">View education</a>
        </div>
        <div class="home-card">
            <div class="card-num">02</div>
            <h3><i class="bi bi-code-slash"></i> Top Projects</h3>
            <p>Expertise spanning web apps, interactive dashboards, and creative portfolios — built to perform and delight.</p>
            <a href="#projects" class="learn-more">View projects</a>
        </div>
    </section>
    <!-- ABOUT -->
    <section id="about">
        <div class="about-left">
            <p class="section-label">About Me</p>
            <h2>Developer.<br><em style="font-style:italic; color:var(--accent)">Designer.</em><br>Builder.</h2>
            <p style="color:var(--muted); font-size:0.95rem; max-width:440px; margin-bottom:1.5rem;">
                I'm a full-stack developer with a deep passion for clean user interfaces and elegant code. I believe the best digital products are born at the intersection of technical precision and creative intuition.
            </p>
            <p style="color:var(--muted); font-size:0.95rem; max-width:440px;">
                When I'm not coding, you'll find me sketching UI concepts, reading about design systems, or exploring the latest in web technology.
            </p>
            <div class="skill-tags" style="margin-top:1.8rem;">
                <span class="tag">HTML / CSS</span>
                <span class="tag">JavaScript</span>
                <span class="tag">React</span>
                <span class="tag">Node.js</span>
                <span class="tag">Figma</span>
                <span class="tag">Git</span>
                <span class="tag">SQL</span>
                <span class="tag">REST APIs</span>
            </div>
        </div>
        <div class="about-right">
            <div style="display:grid; grid-template-columns:1fr 1fr; gap:1rem;">
                <div class="stat-block">
                    <div class="num">3+</div>
                    <div class="label">Years of Experience</div>
                </div>
                <div class="stat-block">
                    <div class="num">20+</div>
                    <div class="label">Projects Completed</div>
                </div>
                <div class="stat-block">
                    <div class="num">10+</div>
                    <div class="label">Happy Clients</div>
                </div>
                <div class="stat-block">
                    <div class="num">5</div>
                    <div class="label">Technologies Mastered</div>
                </div>
            </div>
            <div style="padding:2rem; background:var(--cream); border-left:3px solid var(--accent); margin-top:0.5rem;">
                <p style="font-family:var(--serif); font-size:1.05rem; font-style:italic; color:var(--ink); line-height:1.7;">
                    "Good design is not just what it looks like — it's how it works, how it feels, and how it makes people feel."
                </p>
            </div>
        </div>
    </section>
    <!-- EDUCATION -->
    <section id="education">
        <p class="section-label">Education</p>
        <h2>Academic<br>Background</h2>
        <div class="edu-entry">
            <div class="edu-year">2022 – 2024</div>
            <div class="edu-content">
                <h3>Master of Computer Science</h3>
                <div class="institution">University Name · City, Country</div>
                <p>Specialized in Human–Computer Interaction and Software Engineering. Thesis on adaptive UI systems for accessibility-first design. GPA: 3.9/4.0</p>
            </div>
        </div>
        <div class="edu-entry">
            <div class="edu-year">2018 – 2022</div>
            <div class="edu-content">
                <h3>Bachelor of Science in Computer Science</h3>
                <div class="institution">University Name · City, Country</div>
                <p>Core coursework in algorithms, data structures, web development, and database systems. Graduated with honours.</p>
            </div>
        </div>
        <div class="edu-entry">
            <div class="edu-year">2023</div>
            <div class="edu-content">
                <h3>UX Design Professional Certificate</h3>
                <div class="institution">Google · Online</div>
                <p>Completed a 6-course program covering design thinking, prototyping, user research, and usability testing.</p>
            </div>
        </div>
    </section>
    <!-- PROJECTS -->
    <section id="projects">
        <p class="section-label">Projects</p>
        <h2>Selected<br>Work</h2>
        <div class="projects-grid">
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-bar-chart-line"></i></div>
                <h3>Analytics Dashboard</h3>
                <p>A real-time data visualization platform with interactive charts, custom filters, and CSV export functionality.</p>
                <div class="proj-tags">
                    <span class="proj-tag">React</span>
                    <span class="proj-tag">D3.js</span>
                    <span class="proj-tag">Node</span>
                </div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-bag-heart"></i></div>
                <h3>E-Commerce Platform</h3>
                <p>Full-stack shopping experience with auth, cart management, Stripe integration, and an admin panel.</p>
                <div class="proj-tags">
                    <span class="proj-tag">Next.js</span>
                    <span class="proj-tag">Stripe</span>
                    <span class="proj-tag">MongoDB</span>
                </div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-chat-dots"></i></div>
                <h3>Real-Time Chat App</h3>
                <p>Instant messaging application with rooms, typing indicators, and persistent message history.</p>
                <div class="proj-tags">
                    <span class="proj-tag">Socket.io</span>
                    <span class="proj-tag">Express</span>
                    <span class="proj-tag">Redis</span>
                </div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-cpu"></i></div>
                <h3>AI Writing Assistant</h3>
                <p>A writing tool that uses LLM APIs to suggest edits, rephrase text, and summarize documents.</p>
                <div class="proj-tags">
                    <span class="proj-tag">Python</span>
                    <span class="proj-tag">FastAPI</span>
                    <span class="proj-tag">OpenAI</span>
                </div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-map"></i></div>
                <h3>Travel Planner</h3>
                <p>An itinerary builder with map integration, budget tracking, and shareable trip links.</p>
                <div class="proj-tags">
                    <span class="proj-tag">Vue.js</span>
                    <span class="proj-tag">Mapbox</span>
                    <span class="proj-tag">Firebase</span>
                </div>
            </div>
            <div class="project-card">
                <div class="project-icon"><i class="bi bi-person-badge"></i></div>
                <h3>Developer Portfolio</h3>
                <p>This very site — designed and coded from scratch with a focus on editorial typography and clean layout.</p>
                <div class="proj-tags">
                    <span class="proj-tag">HTML</span>
                    <span class="proj-tag">CSS</span>
                    <span class="proj-tag">JS</span>
                </div>
            </div>
        </div>
    </section>
    <!-- EXPERIENCE -->
    <section id="experience">
        <p class="section-label">Experience</p>
        <h2>Work<br>History</h2>
        <div class="exp-entry">
            <div class="exp-meta">
                <div class="exp-period">Jan 2024 – Present</div>
                <div class="exp-company">Company Name</div>
            </div>
            <div class="exp-content">
                <h3>Frontend Developer</h3>
                <p>Leading the frontend architecture for a SaaS platform serving 50,000+ users. Collaborate closely with design and product teams to ship features weekly.</p>
                <ul>
                    <li>Rebuilt core dashboard in React, reducing load time by 40%</li>
                    <li>Established the company's first design system with 60+ components</li>
                    <li>Mentored two junior developers through code reviews and pair programming</li>
                </ul>
            </div>
        </div>
        <div class="exp-entry">
            <div class="exp-meta">
                <div class="exp-period">Jun 2022 – Dec 2023</div>
                <div class="exp-company">Agency Name</div>
            </div>
            <div class="exp-content">
                <h3>Junior Web Developer</h3>
                <p>Developed and maintained client websites across various industries — from small businesses to large-scale e-commerce operations.</p>
                <ul>
                    <li>Delivered 12+ client projects on time and within scope</li>
                    <li>Implemented accessibility improvements (WCAG 2.1 AA compliance)</li>
                    <li>Integrated third-party APIs including payment gateways and CRM systems</li>
                </ul>
            </div>
        </div>
        <div class="exp-entry">
            <div class="exp-meta">
                <div class="exp-period">Summer 2021</div>
                <div class="exp-company">Startup Name</div>
            </div>
            <div class="exp-content">
                <h3>UI/UX Design Intern</h3>
                <p>Supported the product team by prototyping new features in Figma and conducting usability tests with real users.</p>
                <ul>
                    <li>Designed 3 new feature flows from wireframe to high-fidelity mockup</li>
                    <li>Ran 8 user interviews to validate design decisions</li>
                </ul>
            </div>
        </div>
    </section>
    <!-- CONTACT -->
    <section id="contact">
        <div>
            <p class="section-label">Contact</p>
            <h2>Let's work<br>together.</h2>
            <p class="contact-sub">Have a project in mind, or just want to say hello? I'd love to hear from you.</p>
            
                <a href="https://github.com/muhammad-yousuf-arshad" class="contact-link" target="_blank" rel="noopener">
                    <i class="bi bi-github"></i>
                    Let's connect on GitHub
                </a>
                <a href="https://linkedin.com/in/muhammad-yousuf-arshad" class="contact-link" target="_blank" rel="noopener">
                    <i class="bi bi-linkedin"></i>
                    Let's connect on LinkedIn
                </a>
                <a href="https://x.com/M_Yousuf_Arshad" class="contact-link" target="_blank" rel="noopener">
                    <i class="bi bi-twitter-x"></i>
                    Follow me on X (formerly Twitter)
                </a>
        </div>
        <div>
            <div class="contact-form">
                <div class="form-group">
                    <label for="name">Your Name</label>
                    <input type="text" id="name" placeholder="Jane Smith">
                </div>
                <div class="form-group">
                    <label for="email">Email Address</label>
                    <input type="email" id="email" placeholder="jane@example.com">
                </div>
                <div class="form-group">
                    <label for="message">Message</label>
                    <textarea id="message" rows="5" placeholder="Tell me about your project…"></textarea>
                </div>
                <button class="btn-submit" onclick="handleSubmit()">Send Message →</button>
                <p id="form-msg" style="font-size:0.82rem; color:var(--accent); display:none;">Message sent! I'll be in touch soon.</p>
            </div>
        </div>
    </section>
</main>
<!-- ===== FOOTER ===== -->
<footer>
    <p>© 2026 MYA Portfolio. All rights reserved.</p>
    <nav class="footer-nav">
        <a href="#home">Home</a>
        <a href="#projects">Projects</a>
        <a href="#contact">Contact</a>
    </nav>
</footer>
<script>
// ===== TOGGLE MENU =====
function toggleMenu() {
    document.getElementById("menu").classList.toggle("open");
}
// ===== CLOSE MENU =====
function closeMenu() {
    document.getElementById("menu").classList.remove("open");
}
// ===== CLICK OUTSIDE CLOSE (FIXED) =====
document.addEventListener("click", function (e) {
    const nav = document.getElementById("menu");
    const icon = document.querySelector(".menu-icon");
    if (nav && icon && !nav.contains(e.target) && !icon.contains(e.target)) {
        nav.classList.remove("open");
    }
});
// ===== SMOOTH SCROLL =====
document.querySelectorAll('nav a[href^="#"]').forEach(link => {
    link.addEventListener("click", function (e) {
        e.preventDefault();
        closeMenu();
        const targetId = this.getAttribute("href");
        if (targetId === "#home") {
            window.scrollTo({ top: 0, behavior: "smooth" });
            return;
        }
        const target = document.querySelector(targetId);
        if (target) {
            window.scrollTo({
                top: target.offsetTop - 70,
                behavior: "smooth"
            });
        }
    });
});
// ===== CONTACT FORM =====
function handleSubmit() {
    const name = document.getElementById("name").value.trim();
    const email = document.getElementById("email").value.trim();
    const msg = document.getElementById("message").value.trim();
    if (!name || !email || !msg) {
        alert("Please fill all fields");
        return;
    }
    const success = document.getElementById("form-msg");
    success.style.display = "block";
    document.getElementById("name").value = "";
    document.getElementById("email").value = "";
    document.getElementById("message").value = "";
    setTimeout(() => {
        success.style.display = "none";
    }, 4000);
}
