    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Manrope', Arial, sans-serif;
        background: #000000;
        color: #333;
        line-height: 1.6;
    }

    /* Container */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Header */
    header {
        background: rgba(23, 23, 23, 0.95);
        color: #ffffff;
        padding: 20px 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        transition: transform 0.28s ease, opacity 0.28s ease;
        will-change: transform;
    }

    .header-hidden {
        transform: translateY(-110%);
        opacity: 0.98;
    }

    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hamburger toggle (hidden on desktop) */
    .nav-toggle {
        display: none;
        background: transparent;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .hamburger {
        display: block;
        width: 28px;
        height: 2px;
        background: #fff;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        left: 0;
        width: 28px;
        height: 2px;
        background: #fff;
        transition: transform 0.18s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    /* When nav open, slightly transform the hamburger */
    header.nav-open .hamburger {
        background: transparent;
    }

    header.nav-open .hamburger::before {
        transform: translateY(8px) rotate(45deg);
    }

    header.nav-open .hamburger::after {
        transform: translateY(-8px) rotate(-45deg);
    }

    header h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #d70f0f;
        position: relative;
        font-family: 'Courier New', Courier, monospace;
        margin-bottom: 5px;
    }

    header h1::before {
        position: absolute;
        top: -30px;
        left: 0;
        background: #24283b;
        color: #a9b1d6;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 13px;
        font-family: 'Courier New', Courier, monospace;
    }

    /* Navigation */
    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        font-family: 'Courier New', Courier, monospace;
    }

    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    nav ul li a:hover {
        background: #00fff2;
        color: #333;
        transform: translateY(-2px);
    }

    /* Main Content */
    main {
        margin-top: 80px;
    }

    /* Sections */
    section {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 0;
    }

    .section-content {
        background: #1a1b26;
        border-radius: 8px;
        padding: 50px 40px 40px 40px;
        margin: 20px 0;
        border: 1px solid #292e42;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .section-content::before {
        content: 'dzakir@linux: ~/portfolio';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: #24283b;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #cd0707;
        font-size: 13px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 600;
        border-bottom: 1px solid #1f2335;
    }

    .section-content::after {
        content: '—  ◻  ✕';
        position: absolute;
        top: 6px;
        right: 15px;
        color: #a9b1d6;
        font-size: 14px;
        letter-spacing: 6px;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        text-align: center;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* About Section */
    #about .section-content {
        display: flex;
        align-items: center;
        gap: 100px;
    }

    .profile-img {
        width: 400px;
        height: 400px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        object-fit: cover;
    }

    .profile-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        opacity: 80%;
    }

    .masked-image {
        mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 60%, rgba(113, 113, 113, 0) 100%);
        -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 60%, rgba(67, 67, 67, 0) 100%);
    }

    .about-text {
        font-size: 1.2rem;
        color: #fff;
        max-width: 600px;
        margin: 0 auto;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

    .about-text p {
        margin-bottom: 15px;
    }

    /* Skills */
    .skills {
        margin-top: 30px;
    }

    .skills h3 {
        color: #fff;
        margin-bottom: 20px;
    }

    .skill-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .skill-item {
        background: rgba(0, 255, 242, 0.2);
        color: #fff;
        padding: 8px 16px;
        border-radius: 20px;
        border: 1px solid rgba(0, 255, 242, 0.5);
    }

    /* Projects Section */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-top: 20px;
    }

    .project {
        background: #1a1b26;
        border-radius: 8px;
        padding: 40px 30px 30px 30px;
        border: 1px solid #292e42;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .project::before {
        content: '~/projects';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 25px;
        background: #24283b;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #a9b1d6;
        font-size: 11px;
        font-family: 'Courier New', Courier, monospace;
        border-bottom: 1px solid #1f2335;
    }

    .project::after {
        content: '✕';
        position: absolute;
        top: 5px;
        right: 15px;
        color: #ff5f56;
        font-size: 12px;
    }

    /* Project thumbnail */
    .project-thumb {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 16px;
        background: #222;
        display: block;
    }

    .project:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    .project-detail-link {
        display: inline-block;
        margin-top: 12px;
        background: linear-gradient(45deg, #373737);
        color: #e9e9e9;
        padding: 8px 14px;
        border-radius: 18px;
        font-weight: 600;
        text-decoration: none;
        transition: none;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }


    .project-detail-link:hover {
        background: linear-gradient(45deg, #00fff2);
        color: #111111;
        box-shadow: 0 6px 18px rgb(0, 255, 208);
        transform: none;
    }

    /* Social links (Connect section) - large square buttons */
    .social-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
        align-items: center;
        margin-top: 12px;
    }

    .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(180deg, rgba(198, 20, 20, 0.705), rgba(27, 145, 74, 0.01));
        color: #fff;
        text-decoration: none;
        padding: 18px;
        border-radius: 12px;
        height: 120px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
        transition: transform 0.18s ease, box-shadow 0.18s ease;
        font-size: 20px;
    }

    .social-link i {
        font-size: 34px;
    }

    .social-link:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    }

    @media (max-width: 480px) {
        .social-link {
            height: 84px;
            font-size: 18px;
            padding: 14px;
        }

        .social-link i {
            font-size: 26px;
        }
    }

    .project-status {
        position: absolute;
        top: 45px;
        right: 30px;
        font-size: 0.9rem;
        font-weight: bold;
        font-family: 'Courier New', Courier, monospace;
        text-transform: uppercase;
        background: transparent;
        padding: 0;
        border: none;
        letter-spacing: 1px;
    }

    .project-status::before {
        content: '[ ';
        color: #a9b1d6;
    }

    .project-status::after {
        content: ' ]';
        color: #a9b1d6;
    }

    .project.completed .project-status {
        color: #22c55e;
    }

    .project.current .project-status {
        color: #eab308;
    }

    .project.current:hover .project-status {
        animation: blink 1s step-end infinite;
    }

    @keyframes blink {
        50% {
            opacity: 0;
        }
    }

    .project h3 {
        color: #00fff2;
        margin-bottom: 15px;
        font-size: 1.5rem;
        padding-right: 120px;
    }

    .project p {
        color: #fff;
        margin-bottom: 15px;
    }

    .project-tech {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tech-tag {
        background: rgba(102, 126, 234, 0.3);
        color: #fff;
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .contact-form {
        max-width: 600px;
        margin: 0 auto;
    }

    .form-group {
        margin-bottom: 20px;
    }

    label {
        display: block;
        margin-bottom: 8px;
        color: #fff;
        font-weight: 500;
    }

    input,
    textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1rem;
        font-family: 'Manrope', Arial, sans-serif;
    }

    input::placeholder,
    textarea::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    input:focus,
    textarea:focus {
        outline: none;
        border-color: #00fff2;
        box-shadow: 0 0 10px rgba(0, 255, 242, 0.3);
    }

    textarea {
        height: 120px;
        resize: vertical;
    }

    .submit-btn {
        background: linear-gradient(45deg, #00fff2);
        color: #333;
        padding: 12px 30px;
        border: none;
        border-radius: 25px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: block;
        margin: 0 auto;
        font-family: 'Manrope', Arial, sans-serif;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 255, 242, 0.4);
    }

    /* Footer */
    footer {
        background: rgba(80, 94, 117, 0.95);
        color: #fff;
        text-align: center;
        padding: 20px 0;
        margin-top: 50px;
    }

    /* Animations */
    .word {
        @apply block px-3 py-1 rounded-md text-white whitespace-nowrap;
    }

    .word-current {
        @apply bg-sky-400;
    }

    .word-next {
        @apply bg-emerald-400;
    }

    .word-track {
        display: grid;
    }

    .slide-down {
        animation: slideDown 0.6s ease-in forwards;
    }

    .slide-up {
        animation: slideUp 0.6s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(0);
            opacity: 1;
        }

        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }

    @keyframes slideUp {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Modal: project detail */
    .project-modal {
        position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
    }

    .project-modal[aria-hidden="false"] {
        display: flex;
    }

    .project-modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .project-modal-content {
        position: relative;
        max-width: 820px;
        width: calc(100% - 40px);
        background: #1a1b26;
        border-radius: 8px;
        padding: 50px 20px 20px 20px;
        z-index: 1;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
        border: 1px solid #292e42;
    }

    .project-modal-content::before {
        content: 'dzakir@linux: ~/project-details';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px;
        background: #24283b;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #a9b1d6;
        font-size: 13px;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 600;
        border-bottom: 1px solid #1f2335;
    }

    .project-modal-content::after {
        content: '—  ◻';
        position: absolute;
        top: 6px;
        right: 40px;
        color: #a9b1d6;
        font-size: 14px;
        letter-spacing: 6px;
    }

    .project-modal-close {
        position: absolute;
        right: 15px;
        top: 6px;
        background: transparent;
        border: none;
        color: #ff5f56;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }

    .project-modal-body {
        color: #fff;
    }

    .project-modal-thumb {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 16px;
        background: #222;
    }

    .project-modal-tech {
        margin-top: 12px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .project-modal-tech .tech-tag {
        transform: none;
    }



    /* Mobile Responsive */
    @media (max-width: 768px) {
        #about .section-content {
            flex-direction: column;
            align-items: center;
            gap: 30px;
            text-align: center;
        }

        /* Keep title and hamburger on one row for mobile */
        header .container {
            flex-direction: row;
            gap: 10px;
            align-items: center;
            justify-content: space-between;
        }

        nav ul {
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        }

        /* show hamburger, hide nav by default */
        .nav-toggle {
            display: inline-block;
        }

        .nav-menu {
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
            background: rgba(23, 23, 23, 0.98);
            padding: 12px 20px 18px;
            transform-origin: top;
            transform: translateY(-10px);
            opacity: 0;
            visibility: hidden;
            transition: transform 0.22s ease, opacity 0.22s ease;
        }

        header.nav-open .nav-menu {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .nav-menu ul {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .nav-menu ul li a {
            display: block;
            padding: 10px 14px;
            width: 100%;
            text-align: center;
        }

        h2 {
            font-size: 2rem;
        }

        .section-content {
            padding: 20px;
            margin: 10px;
        }

        .profile-img {
            width: 150px;
            height: 150px;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .profile-img img {
            width: 180px;
            object-fit: cover;
        }

        .projects-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .project h3 {
            padding-right: 0;
            margin-bottom: 10px;
        }

        .project-status {
            position: static;
            display: inline-block;
            margin-bottom: 15px;
        }

        .about-text {
            font-size: 1.1rem;
        }

        .skills {
            align-items: center;
            margin-top: 20px;
        }
    }

    @media (max-width: 480px) {
        header h1 {
            font-size: 1.5rem;
        }

        nav ul {
            gap: 5px;
        }

        nav ul li a {
            padding: 6px 12px;
            font-size: 0.9rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        .section-content {
            padding: 15px;
        }

        .profile-img {
            width: 120px;
            height: 120px;
        }

        .profile-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .about-text {
            font-size: 1rem;
        }

        .project {
            padding: 20px;
        }
    }

    .glow-blue {
        filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.8));
        transition: filter 0.3s ease;
        animation: glow-pulse 3s infinite;
    }

    .glow-blue:hover {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 1));
        animation: none;
    }

    @keyframes glow-pulse {

        0%,
        100% {
            filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.8));
        }

        50% {
            filter: drop-shadow(0 0 30px rgba(0, 191, 255, 1));
        }
    }