:root {
    --black: #050505;
    --dark: #090a09;
    --card: #101210;

    --green: #b8ff3d;
    --green-dark: #6e9f20;

    --white: #f5f5f0;
    --gray: #858585;
    --gray-light: #b5b5b5;

    --border: rgba(255, 255, 255, 0.1);

    --font-main: "Manrope", sans-serif;
    --font-mono: "DM Mono", monospace;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-main);
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


img {
    max-width: 100%;
    display: block;
}


/* ================= BACKGROUND ================= */

.background-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
}


.background-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;

    opacity: 0.035;

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}


/* ================= CURSOR ================= */

.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 10000;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


.cursor {
    width: 7px;
    height: 7px;
    background: var(--green);
}


.cursor-follower {
    width: 35px;
    height: 35px;

    border: 1px solid rgba(184, 255, 61, 0.5);

    transition:
        width 0.3s ease,
        height 0.3s ease,
        background 0.3s ease;
}


.cursor-follower.cursor-hover {
    width: 55px;
    height: 55px;
    background: rgba(184, 255, 61, 0.08);
}


/* ================= SCROLL PROGRESS ================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--green);

    z-index: 10001;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1180px, calc(100% - 40px));
    height: 68px;

    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(20px);

    z-index: 5000;

    transition:
        height 0.3s ease,
        background 0.3s ease;
}


.navbar.scrolled {
    height: 60px;
    background: rgba(5, 5, 5, 0.92);
}


.logo {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -1px;
}


.logo span {
    color: var(--green);
}


.desktop-nav {
    display: flex;
    gap: 34px;
}


.nav-link {
    position: relative;

    color: var(--gray);
    font-size: 13px;

    transition: color 0.3s ease;
}


.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--green);

    transition: width 0.3s ease;
}


.nav-link:hover,
.nav-link.active {
    color: var(--white);
}


.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;

    padding: 11px 16px;

    border: 1px solid rgba(184, 255, 61, 0.35);
    border-radius: 10px;

    color: var(--green);

    transition: 0.3s ease;
}


.nav-cta:hover {
    background: var(--green);
    color: var(--black);
}


.nav-cta span {
    font-size: 16px;
}


.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    background: #050505;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;
}


.menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    background: var(--white);

    transition: 0.3s ease;
}


.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}


.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ================= MOBILE MENU ================= */

.mobile-menu {
    display: none;
}


/* ================= HERO ================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding:
        180px
        max(7vw, 40px)
        100px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    overflow: hidden;
}


.hero-content {
    position: relative;
    z-index: 2;
}


.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 26px;

    color: var(--green);

    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
}


.eyebrow-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 15px var(--green);
}


.hero-title {
    max-width: 850px;

    font-size: clamp(55px, 7vw, 105px);
    line-height: 0.93;

    letter-spacing: -5px;

    font-weight: 700;
}


.hero-title span {
    color: var(--green);
}


.hero-description {
    max-width: 590px;

    margin-top: 34px;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.8;
}


.hero-actions {
    display: flex;
    gap: 14px;

    margin-top: 38px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.btn-primary {
    background: var(--green);
    color: var(--black);
}


.btn-primary:hover {
    transform: translateY(-3px);
    background: #c8ff68;
}


.btn-secondary {
    border: 1px solid var(--border);
    color: var(--white);
}


.btn-secondary:hover {
    border-color: rgba(184, 255, 61, 0.4);
    color: var(--green);
}


.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 45px;

    color: #686868;

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.meta-line {
    width: 35px;
    height: 1px;

    background: #333;
}


.hero-code-wrapper {
    position: relative;
    z-index: 2;
}


.code-card {
    position: relative;

    border: 1px solid var(--border);
    border-radius: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(184, 255, 61, 0.06),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.5);

    transform-style: preserve-3d;
}


.code-card-header {
    height: 52px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}


.window-dots {
    display: flex;
    gap: 6px;
}


.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #3a3a3a;
}


.window-dots span:first-child {
    background: #b8ff3d;
}


.code-file {
    color: #555;

    font-family: var(--font-mono);
    font-size: 10px;
}


.code-content {
    padding: 34px 28px;

    overflow-x: auto;
}


.code-content pre {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 2;

    color: #c4c4c4;
}


.code-purple {
    color: #c792ea;
}


.code-green {
    color: var(--green);
}


.code-yellow {
    color: #e8d18c;
}


.hero-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.hero-orb-one {
    width: 350px;
    height: 350px;

    right: 5%;
    top: 15%;

    background: rgba(184, 255, 61, 0.07);
}


.hero-orb-two {
    width: 200px;
    height: 200px;

    left: 20%;
    bottom: 10%;

    background: rgba(184, 255, 61, 0.04);
}


.hero-scroll {
    position: absolute;

    bottom: 35px;
    left: max(7vw, 40px);

    display: flex;
    align-items: center;
    gap: 14px;

    color: #555;

    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
}


.scroll-line {
    width: 50px;
    height: 1px;

    background: #292929;

    overflow: hidden;
}


.scroll-line span {
    display: block;

    width: 40%;

    height: 100%;

    background: var(--green);

    animation: scrollLine 2s infinite;
}


@keyframes scrollLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}


/* ================= MARQUEE ================= */

.marquee-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    overflow: hidden;
}


.marquee {
    padding: 25px 0;

    white-space: nowrap;
}


.marquee-content {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    animation: marquee 25s linear infinite;

    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;

    color: #666;
}


.marquee-content i {
    color: var(--green);
    font-style: normal;
}


@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}


/* ================= GENERAL SECTION ================= */

.section {
    width: min(1180px, calc(100% - 80px));

    margin: 0 auto;

    padding: 150px 0;
}


.section-label {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 75px;

    color: #666;

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
}


.section-label span {
    color: var(--green);
}


/* ================= ABOUT ================= */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}


.about-heading h2,
.skills-intro h2,
.work-heading h2,
.services-heading h2,
.journey-heading h2 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1;
    letter-spacing: -3px;
}


.about-heading h2 span,
.skills-intro h2 span,
.work-heading h2 span,
.services-heading h2 span,
.journey-heading h2 span {
    color: var(--green);
}


.about-content {
    padding-top: 10px;
}


.about-content p {
    color: var(--gray);

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 22px;
}


.about-content .large-text {
    color: var(--white);

    font-size: 21px;
    line-height: 1.6;
}


.about-signature {
    display: flex;
    flex-direction: column;

    margin-top: 45px;
}


.about-signature span {
    color: var(--green);

    font-family: var(--font-mono);
    font-size: 13px;
}


.about-signature small {
    margin-top: 7px;

    color: #555;

    font-family: var(--font-mono);
    font-size: 9px;
}


/* ================= STATS ================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    margin-top: 110px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.stat-item {
    padding: 38px 20px;

    border-right: 1px solid var(--border);
}


.stat-item:last-child {
    border-right: none;
}


.stat-number,
.stat-plus {
    color: var(--green);

    font-family: var(--font-mono);
    font-size: 48px;
}


.stat-item p {
    margin-top: 8px;

    color: #666;

    font-size: 11px;
}


/* ================= SKILLS ================= */

.skills-intro {
    max-width: 800px;

    margin-bottom: 85px;
}


.skills-list {
    border-top: 1px solid var(--border);
}


.skill-row {
    display: grid;

    grid-template-columns: 200px 1fr 80px;

    align-items: center;

    gap: 30px;

    min-height: 100px;

    border-bottom: 1px solid var(--border);
}


.skill-name {
    display: flex;
    gap: 18px;

    font-family: var(--font-mono);
    font-size: 13px;
}


.skill-name span {
    color: #444;
}


.skill-bar {
    width: 100%;
    height: 3px;

    background: #1b1b1b;

    overflow: hidden;
}


.skill-progress {
    width: 0;
    height: 100%;

    background: var(--green);

    transition: width 1.4s cubic-bezier(.16, 1, .3, 1);
}


.skill-percent {
    color: #666;

    font-family: var(--font-mono);
    font-size: 10px;

    text-align: right;
}


/* ================= WORK ================= */

.work-heading {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 55px;
}


.work-heading p {
    color: var(--gray);

    font-size: 14px;
    line-height: 1.8;
}


.project-filters {
    display: flex;
    gap: 8px;

    margin-bottom: 35px;
}


.filter-btn {
    padding: 9px 15px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: transparent;

    color: #777;

    font-size: 11px;

    cursor: pointer;

    transition: 0.3s ease;
}


.filter-btn:hover,
.filter-btn.active {
    background: var(--green);
    border-color: var(--green);

    color: var(--black);
}


.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}


/* ================= PROJECT CARDS ================= */

.project-card {
    min-width: 0;

    border: 1px solid var(--border);
    border-radius: 18px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.015);

    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        border-color 0.4s ease;
}


.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(184, 255, 61, 0.28);
}


.project-card.hidden {
    display: none;
}


.project-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(184, 255, 61, 0.12),
            transparent 55%
        ),
        #0d0f0d;
}


.project-image img {
    width: 100%;
    height: 100%;

    object-fit: fit;

    transition:
        transform 0.8s cubic-bezier(.16, 1, .3, 1),
        filter 0.5s ease;
}


.project-card:hover .project-image img {
    transform: scale(1.06);

    filter: brightness(0.65);
}


.project-image-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px;

    opacity: 0;

    background: rgba(0, 0, 0, 0.35);

    color: var(--green);

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;

    transition: opacity 0.4s ease;
}


.project-card:hover .project-image-overlay {
    opacity: 1;
}


.project-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid rgba(184, 255, 61, 0.4);
    border-radius: 50%;
}


.project-info {
    padding: 30px;
}


.project-info > div:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
}


.project-number {
    color: #444;

    font-family: var(--font-mono);
    font-size: 10px;
}


.project-info h3 {
    font-size: 24px;
    letter-spacing: -1px;
}


.project-type {
    display: block;

    margin-top: 9px;

    color: var(--green);

    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.project-info p {
    margin-top: 20px;

    color: #777;

    font-size: 13px;
    line-height: 1.8;
}


.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 22px;
}


.project-tags span {
    padding: 6px 9px;

    border: 1px solid var(--border);
    border-radius: 5px;

    color: #666;

    font-family: var(--font-mono);
    font-size: 9px;
}


.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 25px;

    color: var(--white);

    font-family: var(--font-mono);
    font-size: 10px;

    transition: color 0.3s ease;
}


.project-link:hover {
    color: var(--green);
}


.project-link span {
    color: var(--green);
}


/* ================= SERVICES ================= */

.services-heading {
    max-width: 850px;

    margin-bottom: 75px;
}


.services-list {
    border-top: 1px solid var(--border);
}


.service-item {
    display: grid;

    grid-template-columns: 80px 1fr 60px;

    align-items: center;

    gap: 30px;

    min-height: 155px;

    border-bottom: 1px solid var(--border);

    transition: padding 0.4s ease;
}


.service-item:hover {
    padding-left: 20px;
}


.service-number {
    color: #444;

    font-family: var(--font-mono);
    font-size: 10px;
}


.service-title h3 {
    font-size: 26px;

    letter-spacing: -1px;
}


.service-title p {
    max-width: 550px;

    margin-top: 9px;

    color: #666;

    font-size: 13px;
    line-height: 1.7;
}


.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--green);

    transition: 0.3s ease;
}


.service-item:hover .service-icon {
    background: var(--green);
    color: var(--black);
}


/* ================= JOURNEY ================= */

.journey-heading {
    max-width: 850px;

    margin-bottom: 100px;
}


.journey-heading p {
    max-width: 600px;

    margin-top: 28px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.8;
}


.timeline {
    position: relative;
}


.timeline::before {
    content: "";

    position: absolute;

    left: 24px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--border);
}


.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 50px;

    padding-bottom: 80px;
}


.timeline-item:last-child {
    padding-bottom: 0;
}


.timeline-marker {
    position: relative;
    z-index: 2;

    width: 49px;
    height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--black);

    color: var(--green);

    font-family: var(--font-mono);
    font-size: 10px;
}


.timeline-content {
    padding-top: 5px;
}


.timeline-content > span {
    color: #555;

    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
}


.timeline-content h3 {
    margin-top: 12px;

    font-size: 30px;

    letter-spacing: -1px;
}


.timeline-content p {
    max-width: 620px;

    margin-top: 12px;

    color: #777;

    font-size: 13px;
    line-height: 1.8;
}


/* ================= CONTACT ================= */

.contact-box {
    position: relative;

    min-height: 500px;

    padding: 80px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(184, 255, 61, 0.08),
            transparent 40%
        ),
        #090b09;
}


.contact-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}


.contact-eyebrow {
    color: var(--green);

    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
}


.contact-content h2 {
    margin-top: 20px;

    font-size: clamp(55px, 7vw, 95px);
    line-height: 0.95;

    letter-spacing: -5px;
}


.contact-content h2 span {
    color: var(--green);
}


.contact-content p {
    max-width: 550px;

    margin-top: 30px;

    color: #777;

    font-size: 14px;
    line-height: 1.8;
}


.contact-content .btn {
    margin-top: 35px;
}


.contact-orb {
    position: absolute;

    right: -100px;
    bottom: -180px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(184, 255, 61, 0.08);

    filter: blur(80px);
}


/* ================= FOOTER ================= */

.footer {
    width: min(1180px, calc(100% - 80px));

    margin: auto;

    padding: 50px 0 35px;

    border-top: 1px solid var(--border);
}


.footer-top {
    display: grid;

    grid-template-columns: 1fr auto auto;

    align-items: start;

    gap: 80px;
}


.footer-brand p {
    max-width: 220px;

    margin-top: 15px;

    color: #555;

    font-size: 11px;
    line-height: 1.7;
}


.footer-links {
    display: flex;
    gap: 25px;
}


.footer-links a {
    color: #666;

    font-size: 11px;

    transition: color 0.3s ease;
}


.footer-links a:hover {
    color: var(--green);
}


.footer-socials {
    display: flex;
    gap: 10px;
}


.footer-socials a {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #777;

    transition: 0.3s ease;
}


.footer-socials a:hover {
    border-color: var(--green);
    color: var(--green);
}


.footer-bottom {
    display: flex;
    justify-content: space-between;

    margin-top: 65px;
    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: #444;

    font-family: var(--font-mono);
    font-size: 9px;
}


/* ================= BACK TO TOP ================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: #0b0b0b;

    color: var(--green);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s ease;

    z-index: 4000;
}


.back-to-top.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* ================= REVEAL ================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.16, 1, .3, 1);
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .desktop-nav,
    .nav-cta {
        display: none;
    }


    .menu-toggle {
        display: flex;
    }


    .mobile-menu {
        position: fixed;

        top: 96px;
        left: 20px;
        right: 20px;

        display: block;

        padding: 12px;

        background: #050505;

        border: 1px solid var(--border);
        border-radius: 16px;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 4999;
    }


    .mobile-menu.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }


    .mobile-menu nav {
        display: flex;
        flex-direction: column;
    }


    .mobile-menu nav a {
        padding: 17px;

        border-radius: 10px;

        color: #aaa;

        font-size: 14px;

        transition: 0.3s ease;
    }


    .mobile-menu nav a:hover {
        background: rgba(184, 255, 61, 0.06);
        color: var(--green);
    }


    .mobile-menu-footer {
        display: flex;
        justify-content: space-between;

        padding: 18px 17px 10px;

        color: #444;

        font-family: var(--font-mono);
        font-size: 8px;
        letter-spacing: 1px;
        text-transform: uppercase;
    }


    .hero {
        grid-template-columns: 1fr;

        padding-top: 150px;

        gap: 60px;
    }


    .hero-code-wrapper {
        max-width: 650px;
    }


    .about-grid,
    .work-heading {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .projects-grid {
        grid-template-columns: 1fr;
    }


    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .stat-item:nth-child(2) {
        border-right: none;
    }


    .skill-row {
        grid-template-columns: 150px 1fr 65px;
    }


    .contact-box {
        padding: 60px 45px;
    }


    .footer-top {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .footer-links {
        flex-wrap: wrap;
    }

}


@media (max-width: 600px) {

    .navbar {
        top: 12px;

        width: calc(100% - 24px);

        height: 58px;

        padding: 0 14px;

        border-radius: 14px;
    }


    .navbar.scrolled {
        height: 58px;
    }


    .mobile-menu {
        top: 82px;

        left: 12px;
        right: 12px;
    }


    .hero {
        min-height: auto;

        padding:
            145px
            20px
            90px;
    }


    .hero-title {
        font-size: clamp(48px, 14vw, 72px);

        letter-spacing: -3px;
    }


    .hero-description {
        font-size: 14px;

        line-height: 1.75;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .btn {
        width: 100%;
    }


    .hero-meta {
        flex-wrap: wrap;

        line-height: 1.7;
    }


    .hero-code-wrapper {
        width: 100%;
    }


    .code-content {
        padding: 24px 18px;
    }


    .code-content pre {
        font-size: 9px;
    }


    .section {
        width: calc(100% - 40px);

        padding: 100px 0;
    }


    .section-label {
        margin-bottom: 50px;
    }


    .about-heading h2,
    .skills-intro h2,
    .work-heading h2,
    .services-heading h2,
    .journey-heading h2 {
        font-size: 45px;

        letter-spacing: -2px;
    }


    .about-content .large-text {
        font-size: 18px;
    }


    .stats-grid {
        margin-top: 70px;
    }


    .stat-item {
        padding: 28px 12px;
    }


    .stat-number,
    .stat-plus {
        font-size: 36px;
    }


    .skill-row {
        grid-template-columns: 1fr 60px;

        gap: 12px;

        padding: 22px 0;
    }


    .skill-name {
        grid-column: 1 / -1;
    }


    .skill-percent {
        grid-column: 2;
        grid-row: 2;
    }


    .skill-bar {
        grid-column: 1;
        grid-row: 2;
    }


    .project-info {
        padding: 24px;
    }


    .project-info h3 {
        font-size: 21px;
    }


    .project-image {
        aspect-ratio: 16 / 11;
    }


    .service-item {
        grid-template-columns: 45px 1fr;

        gap: 20px;

        padding: 28px 0;
    }


    .service-icon {
        display: none;
    }


    .service-title h3 {
        font-size: 22px;
    }


    .timeline-item {
        gap: 25px;

        grid-template-columns: 45px 1fr;
    }


    .timeline-marker {
        width: 45px;
        height: 45px;
    }


    .timeline::before {
        left: 22px;
    }


    .timeline-content h3 {
        font-size: 24px;
    }


    .contact-box {
        min-height: 450px;

        padding: 45px 25px;

        border-radius: 18px;
    }


    .contact-content h2 {
        font-size: 55px;

        letter-spacing: -3px;
    }


    .footer {
        width: calc(100% - 40px);
    }


    .footer-bottom {
        flex-direction: column;

        gap: 10px;

        line-height: 1.7;
    }


    .cursor,
    .cursor-follower {
        display: none;
    }


    .project-image-overlay {
        opacity: 1;

        align-items: flex-end;

        background:
            linear-gradient(
                transparent,
                rgba(0, 0, 0, 0.45)
            );
    }

}


@media (hover: none) {

    .cursor,
    .cursor-follower {
        display: none;
    }

}