/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", Arial, sans-serif;
    background: #0b0b0a;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* =========================================
   VARIABLES
========================================= */

:root {
    --dark: #0b0b0a;
    --dark-2: #141412;
    --dark-3: #1d1d19;

    --light: #efeee9;
    --light-2: #e5e3dd;

    --text-dark: #171714;
    --text-light: #ffffff;

    --muted: #888880;

    --border-dark: #2d2d27;
    --border-light: #cdcbc4;

    --gold: #b99a68;

    --mono: "DM Mono", monospace;
}



/* =========================================
   SIDEBAR
========================================= */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;

    width: 180px;
    height: 100vh;

    background: #090908;

    border-right: 1px solid var(--border-dark);

    padding: 35px 24px;

    display: flex;
    flex-direction: column;

    z-index: 100;
}



/* BRAND */

.sidebar-brand {
    display: flex;
    flex-direction: column;

    gap: 6px;

    margin-bottom: 65px;
}

.logo-box {
    width: 43px;
    height: 43px;

    border: 1px solid var(--gold);

    display: grid;
    place-items: center;

    color: var(--gold);

    font-family: var(--mono);

    font-size: 13px;

    margin-bottom: 10px;
}

.sidebar-brand strong {
    font-size: 12px;

    letter-spacing: 2px;
}

.sidebar-brand small {
    font-size: 7px;

    color: #777;

    letter-spacing: 1.5px;
}



/* NAVIGATION */

.navigation {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 6px;

    font-size: 10px;

    letter-spacing: 1px;

    color: #999;

    transition: 0.3s ease;
}

.nav-link span {
    font-family: var(--mono);

    color: #666;
}

.nav-link:hover {
    background: #151512;

    color: white;
}

.nav-link.active {
    background: #151512;

    color: white;
}

.nav-link.active span {
    color: var(--gold);
}



/* SOCIAL LINKS */

.social-links {
    margin-top: auto;

    display: flex;

    gap: 20px;
}

.social-links a {
    color: #888;

    font-weight: 700;

    transition: 0.3s;
}

.social-links a:hover {
    color: var(--gold);
}



/* =========================================
   MOBILE HEADER
========================================= */

.mobile-header {
    display: none;
}



/* =========================================
   MAIN
========================================= */

main {
    margin-left: 180px;
}



/* =========================================
   SECTIONS
========================================= */

.section-dark {
    background: var(--dark);
    color: white;
}

.section-light {
    background: var(--light);
    color: var(--text-dark);
}



/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    padding: 8vw;
}



/* BACKGROUND GRID */

.hero-grid {
    position: absolute;

    inset: 0;

    opacity: 0.09;

    background-image:
        linear-gradient(#aaa 1px, transparent 1px),
        linear-gradient(90deg, #aaa 1px, transparent 1px);

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 40%,
            transparent
        );
}



/* HERO CONTENT */

.hero-content {
    position: relative;

    z-index: 3;

    max-width: 650px;
}

.eyebrow {
    font-family: var(--mono);

    font-size: 31px;

    letter-spacing: 2px;

    color: var(--gold);

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(60px, 8vw, 120px);

    line-height: 0.88;

    letter-spacing: -6px;

    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--gold);
}



/* GOLD LINE */

.gold-line {
    width: 90%;

    border-top: 1px solid var(--gold);

    
}

.heroedu{
    font-size: 25px;
    margin-top: 0%;
    color: rgb(184, 178, 178);
}


/* HERO DESCRIPTION */

.hero-description {
    max-width: 370px;

    font-size: 15px;

    line-height: 1.7;

    color: #aaa;

    
}



/* BUTTON */

.main-button {
    display: inline-flex;

    align-items: center;

    gap: 35px;

    padding: 15px 18px;

    border: 1px solid #666;

    background: transparent;

    color: white;

    font-family: var(--mono);

    font-size: 10px;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: 0.3s ease;
}

.main-button:hover {
    background: var(--gold);

    color: #111;

    border-color: var(--gold);
}

.main-button span {
    font-size: 17px;
}



/* HERO IMAGE */

.hero-image {
    position: absolute;

    right: 4%;

    top: 7%;

    width: 53%;

    height: 86%;

    z-index: 1;

    overflow: hidden;
}

.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--dark) 0%,
            transparent 35%
        ),
        linear-gradient(
            0deg,
            var(--dark) 0%,
            transparent 25%
        );

    pointer-events: none;
}



/* IMAGE PLACEHOLDER */

.image-container {
    background:
        linear-gradient(
            135deg,
            #20201d,
            #11110f 55%,
            #292720
        );

    position: relative;
}

.image-placeholder {
    display: grid;

    place-items: center;
}

.placeholder-text {
    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 5;

    text-align: center;

    color: var(--gold);

    font-family: var(--mono);

    font-size: 11px;

    letter-spacing: 1px;
}

.placeholder-text small {
    display: block;

    margin-top: 8px;

    color: #777;

    font-size: 8px;
}



/* SCROLL */

.scroll-indicator {
    position: absolute;

    bottom: 35px;

    right: 6%;

    z-index: 5;

    font-family: var(--mono);

    font-size: 10px;

    color: #777;

    letter-spacing: 2px;
}

.scroll-indicator span {
    color: var(--gold);

    margin-left: 10px;
}



/* =========================================
   ABOUT
========================================= */

.about {
    padding: 110px 8vw;
}
/*edit needed*/
.blackline{
    width: 90%;

    border-top: 1px solid var(--gold);
}


/* SECTION LABEL */

.section-label {
    display: flex;

    align-items: flex-start;

    gap: 22px;

    margin-bottom: 60px;
}

.section-label span {
    color: var(--gold);

    font-family: var(--mono);

    font-size: 11px;
}

.section-label strong {
    font-size: 35px;

    letter-spacing: 2px;
}

.section-label p {
    margin-left: auto;

    color: #888;

    font-size: 25px;

    line-height: 1.6;
}



/* ABOUT GRID */

.about-grid {
    display: grid;

    grid-template-columns:
        1fr
        1.2fr
        1fr;

    gap: 6vw;

    align-items: center;
}



/* ABOUT TITLE */

.about-heading h2 {
    font-size: clamp(50px, 4.5vw, 78px);

    line-height: 0.95;

    letter-spacing: -3px;
}

.about-heading em {
    color: var(--gold);

    font-style: normal;
}



/* ABOUT TEXT */

.about-content {
    color: #555;

    font-size: 17px;

    line-height: 1.8;
}

.about-content .large-text {
    font-size: 20px;
    font-weight: bold;

    color: #222;

    line-height: 1.65;

    margin-bottom: 20px;
}



/* STATS */

.stats {
    display: flex;

    margin-top: 45px;

    border-top: 1px solid var(--border-light);
}

.stat {
    flex: 1;

    padding: 22px 12px 0 0;

    border-right: 1px solid var(--border-light);
}

.stat + .stat {
    padding-left: 15px;
}

.stat strong {
    display: block;

    font-size: 40px;

    color: #111;

    margin-bottom: 6px;
}

.stat span {
    font-family: var(--mono);

    font-size: 15px;

    color: #777;
}



/* ABOUT IMAGE */

.about-image {
    height: 470px;

    overflow: hidden;
}



/* =========================================
   PROJECTS
========================================= */

/* =========================================
   PROJECTS — ALTERNATING FULL WIDTH
========================================= */

.projects {
    padding: 110px 0;
    background: var(--dark);
    color: #fff;
}

/* Section heading */

.projects .section-heading {
    padding: 0 7vw;
    margin-bottom: 70px;
}

.projects .section-heading span {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 75px;
}

.projects .section-heading h2 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 0.9;
    letter-spacing: -4px;
    margin-top: 18px;
}

.projects .section-heading > p {
    max-width: 260px;
    color: #888;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   PROJECT ROW
========================================= */

.project-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* =========================================
   INDIVIDUAL PROJECT
========================================= */

.project-card {
    width: 100%;
    min-height: 85vh;

    display: grid;
    grid-template-columns: 62% 38%;

    background: var(--dark-2);
    border: none;
    border-top: 1px solid var(--border-dark);

    overflow: hidden;
}


/* =========================================
   PROJECT IMAGE
========================================= */

.project-card .project-image {
    position: relative;

    width: 100%;
    height: 85vh;

    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease,
        filter 0.8s ease;
}


/* Image hover */

.project-card:hover .project-image img {
    transform: scale(1.04);
}


/* =========================================
   PROJECT DETAILS
========================================= */

.project-card .project-info {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 70px 7vw 70px 5vw;

    background: var(--dark-2);
}


/* Project number */

.project-card .project-info > span {
    display: block;

    color: var(--gold);
    font-family: var(--mono);

    font-family: "Manrope", Arial, sans-serif;
    font-weight: bolder;
    font-size: 30px;
    letter-spacing: 2px;

    margin-bottom: 0px;
}


/* Project title */

.project-card .project-info h3 {
    font-size: clamp(28px, 3vw, 46px);

    font-weight: 500;

    line-height: 1.05;

    letter-spacing: -1.5px;

    margin: 0 0 22px;
}


/* Project description */

.project-card .project-info p {
    
    max-width: 360px;

    color: #888;

    font-size: 20px;

    line-height: 1.8;

    margin: 0;
}


/* Arrow */

.project-card .project-info b {
    position: absolute;

    right: 7vw;
    bottom: 65px;

    color: var(--gold);

    font-size: 24px;

    font-weight: 400;

    transition: transform 0.3s ease;
}

.project-card:hover .project-info b {
    transform: translateX(8px);
}


/* =========================================
   ALTERNATING PROJECTS
========================================= */

/*
   Project 1
   IMAGE LEFT | DETAILS RIGHT
*/

.project-card:nth-child(odd) {
    grid-template-columns: 62% 38%;
}


/*
   Project 2
   DETAILS LEFT | IMAGE RIGHT
*/

.project-card:nth-child(even) {
    grid-template-columns: 38% 62%;
}

.project-card:nth-child(even) .project-image {
    order: 2;
}

.project-card:nth-child(even) .project-info {
    order: 1;

    padding-left: 7vw;
    padding-right: 5vw;
}


/*
   Project 3
   IMAGE LEFT | DETAILS RIGHT

   Project 4
   DETAILS LEFT | IMAGE RIGHT
*/


/* =========================================
   PROJECT IMAGE NUMBER OVERLAY
========================================= */

.project-card .project-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 60%,
            rgba(0, 0, 0, 0.25)
        );

    pointer-events: none;
}


/* =========================================
   FEATURED PROJECT
========================================= */

/*
   Disable the old featured-project layout
   if it exists in the HTML.
*/




/* FEATURED PROJECT */

.featured-project {
    position: relative;

    margin-top: 14px;

    overflow: hidden;
}

.featured-image {
    height: 440px;

    overflow: hidden;
}

.featured-project img {
    transition: transform 0.7s ease;
}

.featured-project:hover img {
    transform: scale(1.50);
}

.featured-info {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    padding: 35px;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.95)
        );
}

.featured-info span {
    color: var(--gold);

    font-family: var(--mono);

    font-size: 9px;
}

.featured-info h3 {
    font-size: 25px;

    margin: 8px 0;
}

.featured-info p {
    color: #aaa;

    font-size: 11px;
}
/* =========================================
   PROJECTS — SMALL MOBILE
========================================= */

@media (max-width: 520px) {

    .project-card .project-image {
        height: 48vh;
        min-height: 280px;
    }

    .project-card .project-info {
        min-height: 330px;
        padding: 45px 20px;
    }

    .project-card .project-info h3 {
        font-size: 28px;
    }

    .project-card .project-info p {
        font-size: 11px;
    }

    .project-card .project-info b {
        right: 20px;
        bottom: 30px;
    }
}



/* =========================================
   EXPERTISE
========================================= */

.expertise {
    padding: 110px 7vw;
}

.light-heading > p {
    color: #777;
}



/* SKILLS */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border-light);
}

.skill {
    min-height: 190px;

    padding: 28px;

    border-right: 1px solid var(--border-light);

    border-bottom: 1px solid var(--border-light);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: 0.3s ease;
}

.skill:nth-child(3n + 1) {
    border-left: 1px solid var(--border-light);
}

.skill:hover {
    background: #e3e1db;
}

.skill i {
    font-family: var(--mono);

    font-size: 13px;

    color: #999;

    font-style: normal;
}

.skill strong {
    font-size: 28px;

    line-height: 1.05;
}

.skill span {
    font-family: var(--mono);

    font-size: 18px;

    color: #888;
}



/* =========================================
   EXPERIENCE
========================================= */

.experience {
    padding: 110px 7vw;
}

.timeline {
    border-top: 1px solid var(--border-dark);
}

.section-heading {

    font-size: 25px;
}

.timeline-item {
    display: grid;

    grid-template-columns: 28% 1fr;

    gap: 30px;

    padding: 38px 0;

    border-bottom: 1px solid var(--border-dark);
}

.timeline-year {
    font-family: var(--mono);

    font-size: 17px;

    color: var(--gold);
     
    display: flex;
    align-items: center;
}

.timeline-item h3 {
    font-size: 30px;

    margin-bottom: 5px;
}

.timeline-item h4 {
    font-size: 15px;

    font-weight: 500;

    color: #888;

    margin-bottom: 13px;
}

.timeline-item p {
    max-width: 520px;

    font-size: 15px;

    line-height: 1.7;

    color: #777;
}



/* =========================================
   CONTACT
========================================= */

/* =========================
   CONTACT — PORTFOLIO 1 STYLE
========================= */

.contact {
    min-height: 100vh;

    background:#efeee9;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;
}


/* Subtle gold architectural lines */

.contact::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(185, 154, 104, 0.5) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(185, 154, 104, 0.5) 1px,
            transparent 1px
        );

    background-size: 100px 100px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 50%,
            transparent
        );
}


/* Contact content */

.contact-inner {
    position: relative;

    z-index: 2;

    width: min(900px, 90%);

    padding: 100px 0;
}


/* Section number */

.contact-label {
    display: block;

    color: black;

    font-weight: 500;

    font-family: var(--mono);

    font-size: 30px;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


/* Main heading */

.contact h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(50px, 8vw, 105px);

    line-height: 0.95;

    font-weight: 500;

    letter-spacing: -3px;

    margin: 35px 0 55px;

    color: #0e0d0d;
}


/* Gold accent */

.contact h2::after {
    content: "";

    display: block;

    width: 70px;

    height: 1px;

    background: var(--gold);

    margin: 35px auto 0;
}


/* Email */

.contact .email {
    display: inline-block;
    color: #0e0d0d;
    font-family: var(--mono);

    font-size: 23px;
    font-weight: 500;

    letter-spacing: 2px;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 8px;

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.contact .email:hover {
    color: rgb(69, 71, 69);

    border-color: #fff;
}


/* Social links */

.contact .socials {
    display: flex;

    justify-content: center;

    gap: 35px;

    margin-top: 50px;

    font-family: var(--mono);

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.contact .socials a {
    color: rgba(2, 2, 2, 0.667);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}


.contact .socials a:hover {
    color: rgb(69, 71, 69);

    transform: translateY(-3px);
}


/* Copyright */

.contact .copy {
    font-family: var(--mono);

    font-size: 8px;

    color: #666;

    letter-spacing: 1px;

    margin-top: 80px;
}

.contact .no{
    color: #090908;
}

/* =========================
   CONTACT — MOBILE
========================= */

@media (max-width: 900px) {

    .contact {
        min-height: 80vh;
    }

    .contact-inner {
        width: 90%;

        padding: 80px 0;
    }

    .contact h2 {
        font-size: clamp(45px, 12vw, 80px);

        letter-spacing: -2px;

        margin: 30px 0 45px;
    }

    .contact .socials {
        gap: 25px;

        flex-wrap: wrap;
    }
}




@media (max-width: 560px) {

    .contact-inner {
        padding: 70px 0;
    }

    .contact h2 {
        font-size: 46px;

        line-height: 0.98;

        letter-spacing: -1px;
    }

    .contact .email {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .contact .socials {
        gap: 18px;

        margin-top: 40px;
    }

    .contact .socials a {
        font-size: 9px;
    }

    .contact .copy {
        margin-top: 60px;
    }
}


/* =========================================
   CONTACT BACKGROUND IMAGE
   ========================================= */

.contact {
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(20, 20, 20, 0.15),
            rgba(20, 20, 20, 0.15)
        ),
        url("assets/images/buildings-fog.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Keep contact text above the image */
.contact-inner {
    position: relative;
    z-index: 2;
}

/* Subtle architectural gold grid */
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(185, 154, 104, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(185, 154, 104, 0.08) 1px,
            transparent 1px
        );

    background-size: 80px 80px;
    z-index: 1;
}

/* Slight image movement on hover */
.contact {
    background-attachment: fixed;
}

@media (max-width: 900px) {
    .contact {
        background-attachment: scroll;
        background-position: center;
    }
}

/* Instagram icon — perfectly aligned with text */
.contact .socials .instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    color: #090908;
    
}

.contact .socials .instagram-link img {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.contact .socials .instagram-link span {
    display: inline-block;
    line-height: 1;
}

/* WhatsApp icon — perfectly aligned with phone number */
.contact .socials .whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
    color: #090908;
    
}

.contact .socials .whatsapp-link img {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.contact .socials .whatsapp-link span {
    display: inline-block;
    line-height: 1;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: #090908;

    border-top: 1px solid var(--border-dark);

    padding: 20px 7vw;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    font-family: var(--mono);

    font-size: 9px;

    letter-spacing: 1px;

    color: #777;
}

footer a {
    color: var(--gold);
}



/* =========================================
   SCROLL ANIMATION
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .sidebar {
        display: none;
    }

    main {
        margin-left: 0;
    }


    /* MOBILE HEADER */

    .mobile-header {
        display: flex;

        position: fixed;

        top: 0;
        left: 0;
        right: 0;

        height: 70px;

        padding: 14px 20px;

        align-items: center;

        justify-content: space-between;

        background: rgba(9, 9, 8, 0.95);

        border-bottom: 1px solid var(--border-dark);

        z-index: 100;
    }

    .mobile-brand {
        display: flex;

        align-items: center;

        gap: 10px;
    }

    .mobile-brand .logo-box {
        width: 36px;
        height: 36px;

        margin: 0;
    }

    .mobile-brand strong {
        display: block;

        font-size: 10px;

        letter-spacing: 1px;
    }

    .mobile-brand small {
        display: block;

        font-size: 6px;

        color: #777;

        letter-spacing: 1px;

        margin-top: 2px;
    }


    /* MENU BUTTON */

    .mobile-menu-btn {
        width: 35px;

        background: transparent;

        border: none;

        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;

        border-top: 1px solid var(--gold);

        margin: 7px 0;
    }


    /* HERO */

    .hero { 
        min-height: 100svh;
        padding: 85px 24px 55px;
        align-items: flex-end; }

    .hero-image {
        top: 70px;

        right: 0;

        width: 100%;

        height: 65%;

        opacity: 0.42;
    }

    .hero-image::after {
        background:
            linear-gradient(
                0deg,
                var(--dark),
                transparent 70%
            );
    }

    .hero-content {
        margin-top: 8vh;
        position: relative;
        z-index: 3;
    }

    .hero h1 {
        font-size: clamp(52px, 13vw, 82px);

        line-height: 0.92;
        letter-spacing: -3px;
    }

    .hero p {
        margin-top: 18px;

        max-width: 300px;
    }

    

    /* SECTIONS */

    .about,
    .projects,
    .expertise,
    .experience,
    .contact {
        padding: 75px 24px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image {
        height: 380px;
    }


    /* PROJECTS */

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 25px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large .project-image,
    .project-image {
        height: 350px;
    }

    .featured-image {
        height: 350px;
    }


    /* SKILLS */

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .skill:nth-child(3n + 1) {
        border-left: none;
    }

    .skill:nth-child(odd) {
        border-left: 1px solid var(--border-light);
    }


    /* EXPERIENCE */

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    footer {
        padding: 20px 24px;

        flex-wrap: wrap;
    }
}



/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 520px) {

    .hero h1 {
        font-size: 53px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill {
        border-left: 1px solid var(--border-light) !important;
    }

    .stats {
        gap: 0;
    }

    .stat strong {
        font-size: 21px;
    }

    .stat span {
        font-size: 7px;
    }

    .featured-info {
        padding: 25px;
    }

    .featured-info h3 {
        font-size: 20px;
    }

}
/* =========================================
   PROJECTS — MOBILE REDESIGN
========================================= */

@media (max-width: 900px) {

    /* Projects section */

    .projects {
        padding: 80px 0 70px;
        overflow: hidden;
    }


    /* Section heading */

    .projects .section-heading {
        padding: 0 24px;
        margin-bottom: 45px;
    }

    .projects .section-heading h2 {
        font-size: 48px;
        line-height: 0.95;
        letter-spacing: -2px;
    }

    .projects .section-heading > p {
        max-width: 300px;
        margin-top: 20px;
    }


    /* =====================================
       PROJECT LIST
    ===================================== */

    .project-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }


    /* =====================================
       PROJECT CARD
    ===================================== */

    .project-card,
    .project-card:nth-child(odd),
    .project-card:nth-child(even) {

        display: flex;

        flex-direction: column;

        width: 100%;

        min-height: auto;

        margin: 0;

        border-top: 1px solid var(--border-dark);

        background: var(--dark-2);

        overflow: hidden;
    }


    /* =====================================
       IMAGE
    ===================================== */

    .project-card .project-image,
    .project-card:nth-child(even) .project-image {

        order: 1;

        width: 100%;

        height: 330px;

        min-height: 330px;

        overflow: hidden;

        position: relative;
    }


    .project-card .project-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        transform: scale(1);

        transition: transform 0.7s ease;
    }


    .project-card:hover .project-image img {

        transform: scale(1.03);
    }


    /* Dark image overlay */

    .project-card .project-image::after {

        content: "";

        position: absolute;

        inset: 0;

        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.05),
                rgba(0,0,0,0.35)
            );

        pointer-events: none;
    }


    /* =====================================
       PROJECT DETAILS
    ===================================== */

    .project-card .project-info,
    .project-card:nth-child(even) .project-info {

        order: 2;

        width: 100%;

        min-height: auto;

        padding: 32px 24px 42px;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;

        background: var(--dark-2);
    }


    /* Project number */

    .project-card .project-info > span {

        display: block;

        color: var(--gold);

        font-family: var(--mono);

        font-size: 9px;

        letter-spacing: 2px;

        margin-bottom: 14px;
    }


    /* Project title */

    .project-card .project-info h3 {

        font-size: 29px;

        line-height: 1.05;

        letter-spacing: -1px;

        font-weight: 500;

        margin: 0 0 15px;

        max-width: 90%;
    }


    /* Description */

    .project-card .project-info p {

        max-width: 100%;

        margin: 0;

        color: #888;

        font-size: 11px;

        line-height: 1.8;

    }


    /* =====================================
       ARROW
    ===================================== */

    .project-card .project-info b {

        position: static;

        align-self: flex-end;

        margin-top: 25px;

        color: var(--gold);

        font-size: 22px;

        font-weight: 400;

        line-height: 1;

        transition: transform 0.3s ease;
    }


    .project-card:hover .project-info b {

        transform: translateX(5px);
    }


    /* =====================================
       PROJECT SEPARATION
    ===================================== */

    .project-card + .project-card {

        border-top: 1px solid #292925;
    }


    /* =====================================
       FEATURED PROJECT
    ===================================== */

    .featured-project {

        margin-top: 30px;

        border-top: 1px solid var(--border-dark);

        overflow: hidden;
    }

    .featured-image {

        width: 100%;

        height: 360px;

        overflow: hidden;
    }

    .featured-project img {

        width: 100%;

        height: 100%;

        object-fit: cover;
    }

    .featured-info {

        padding: 30px 24px;

        position: static;

        background: var(--dark-2);
    }

    .featured-info span {

        color: var(--gold);

        font-family: var(--mono);

        font-size: 9px;

        letter-spacing: 1px;
    }

    .featured-info h3 {

        font-size: 25px;

        margin: 10px 0;
    }

    .featured-info p {

        color: #888;

        font-size: 11px;

        line-height: 1.8;

        max-width: 100%;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 520px) {

    .projects {

        padding-top: 65px;

        padding-bottom: 60px;
    }


    .projects .section-heading {

        padding: 0 20px;

        margin-bottom: 35px;
    }


    .projects .section-heading h2 {

        font-size: 42px;

        letter-spacing: -2px;
    }


    /* Project image */

    .project-card .project-image,
    .project-card:nth-child(even) .project-image {

        height: 280px;

        min-height: 280px;
    }


    /* Project information */

    .project-card .project-info,
    .project-card:nth-child(even) .project-info {

        padding: 28px 20px 36px;
    }


    .project-card .project-info > span {

        font-size: 8px;

        margin-bottom: 12px;
    }


    .project-card .project-info h3 {

        font-size: 26px;

        margin-bottom: 13px;
    }


    .project-card .project-info p {

        font-size: 10.5px;

        line-height: 1.75;
    }


    .project-card .project-info b {

        margin-top: 22px;

        font-size: 20px;
    }


    /* Featured */

    .featured-image {

        height: 300px;
    }


    .featured-info {

        padding: 25px 20px 30px;
    }


    .featured-info h3 {

        font-size: 22px;
    }

    .hero { min-height: 100svh; padding: 80px 20px 45px; } .hero-content { margin-top: 4vh; } .hero h1 { font-size: clamp(46px, 14vw, 68px); line-height: 0.94; letter-spacing: -2px; }
}

