:root {
    --yellow: #F5A800;
    --deep-gold: #C47F00;
    --dark-gold: #FFF9EE;
    --black: #1A0F00;
    --cream: #FFF9EE;
    --rust: #B84B00;
    --terracotta: #C25A2A;
    --sand: #FFF9EE;
    --deep-red: #8B1A1A;
    --teal: #1A6B6B;
    --warm-white: #FFF9EE;
    --orange: #DD5C35;
    --yellow: #F1BE49;
    --green: #317039;
    --white: #FFF9EE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--warm-white);
    color: var(--black);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #317039;
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--yellow);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {

    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
}

.nav-logo-text .name {

    font-size: 1rem;
    font-weight: 700;
    color: var(--yellow);
}

.nav-logo-text .tag {
    font-size: 0.65rem;
    color: var(--sand);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--sand);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    transition: color 0.3s;
}

.ham-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 300;
}

.ham-btn {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* both images on top of each other */
.ham-btn div {
    position: absolute;
    top: 0;
    left: 0;
}

/* show hamburger by default */
.ham-btn div:nth-child(1) {
    opacity: 1;
}

/* hide close by default */
.ham-btn div:nth-child(2) {
    opacity: 0;
}

/* when open → hide hamburger */
.ham-btn.is-open div:nth-child(1) {
    opacity: 0;
}

/* when open → show close */
.ham-btn.is-open div:nth-child(2) {
    opacity: 1;
}


#mobileNav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

#mobileNav.is-open {
    display: flex;
}

#mobileNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.1rem 1.5rem;
    color: #1a2744;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, background 0.2s;
    text-align: center;
}

#mobileNav a:first-child {
    color: var(--yellow);
}

#mobileNav a:last-child {
    border-bottom: none;
}

#mobileNav a:hover,
#mobileNav a.active {
    background: rgba(241, 190, 73, 0.06);
    color: var(--yellow);
}



#mobileNav .nav-cta {
    margin: 0.8rem 6rem 1.2rem;
    background: var(--yellow) !important;
    color: var(--black) !important;
    border-radius: 22px !important;
    text-align: center;
    justify-content: center;
    padding: 15px 4rem;
    font-weight: 700 !important;
    border-bottom: none !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--yellow);
}

.nav-cta {
    background: var(--yellow) !important;
    color: var(--black) !important;
    border-radius: 15px !important;
    font-weight: 500 !important;
}

.nav-cta:hover {
    background: var(--deep-gold) !important;
    color: var(--black) !important;
}

/* ── HERO BANNER ── */
.projects-hero {
    padding-top: 72px;
    background: var(--yellow);
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.projects-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F5A800' stroke-opacity='0.06' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='35'/%3E%3Cpath d='M40 5 L75 40 L40 75 L5 40 Z'/%3E%3Cline x1='40' y1='5' x2='40' y2='75'/%3E%3Cline x1='5' y1='40' x2='75' y2='40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.projects-hero-inner {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    border: 1px solid rgba(245, 168, 0, 0.3);
    color: #f5f5f5;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 350;
    margin-bottom: 1.2rem;
    animation: fadeInUp 0.7s ease both;
}

.projects-hero h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 100;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.7s 0.1s ease both;

}

.projects-hero h1 em {
    font-family: "Bebas Neue", sans-serif;
    color: #317039;
    font-weight: 100;
    font-style: normal;
}

.projects-hero p {
    color: rgba(232, 213, 163, 0.7);
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.7;
    animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-border-top {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--yellow) 0, var(--yellow) 18px, var(--rust) 18px, var(--rust) 36px);
}

.hero-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--rust) 0, var(--rust) 18px, var(--yellow) 18px, var(--yellow) 36px);
}

/* ── PROJECTS COUNT ── */
.projects-count {
    background: var(--yellow);
    padding: 1rem 3rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.count-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--black);
}

.count-item .num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
}

.count-item .lbl {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ── PROJECTS SECTION ── */
.projects-section {
    padding: 5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── PROJECT CARD ── */
.project-card {
    margin-bottom: 6rem;
    position: relative;
}

.project-card:last-child {
    margin-bottom: 0;
}

/* Alternate layout */
.project-card.left .card-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.project-card.right .card-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.project-card.right .card-visual {
    order: 2;
}

.project-card.right .card-content {
    order: 1;
}

/* Visual side */
.card-visual {
    position: relative;
}

.card-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s;
}

.card-img-wrap:hover {
    transform: scale(1.02);
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-number {
    position: absolute;
    top: -24px;
    left: -18px;
    font-family: "Bebas Neue", sans-serif;
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    color: var(--yellow);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.project-card.right .card-number {
    left: auto;
    right: -18px;
}

/* Tag badge */
.card-tag {
    position: absolute;
    bottom: -14px;
    left: 24px;
    background: var(--yellow);
    color: var(--black);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(245, 168, 0, 0.4);
    z-index: 2;
}

.project-card.right .card-tag {
    left: auto;
    right: 24px;
}

/* Content side */
.card-content {
    padding: 1rem 0;
}

.card-project-label {
    color: #E07B18;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rust);
    margin-bottom: 1rem;
}

.card-project-label::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--rust);
    border-radius: 2px;
}

.card-title {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.card-title em {
    font-style: normal;
    font-family: "Bebas Neue", sans-serif;
    color: #317039;
    font-weight: 100;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--rust);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.card-desc {
    color: #5A3E28;
    line-height: 1.85;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.card-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: #4A3228;
    line-height: 1.5;
}

.highlight-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
    margin-top: 5px;
    flex-shrink: 0;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--yellow);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1.5px solid var(--yellow);
    transition: all 0.3s;
    cursor: pointer;
}

.card-btn:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 168, 0, 0.3);
}

/* Color accent per project */
.proj-maa .card-tag {
    background: #C0392B;
    color: white;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.4);
}

.proj-maa .card-project-label {
    color: #E07B18;
}

.proj-maa .card-project-label::before {
    color: #E07B18;
}

.proj-maa .highlight-item .dot {
    background: #C0392B;
}

.proj-maa .card-btn {
    color: #C0392B;
    border-color: #C0392B;
}

.proj-maa .card-btn:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35);
}

.proj-ashmita .card-tag {
    background: var(--purple);
    color: white;
    box-shadow: 0 4px 16px rgba(107, 47, 160, 0.4);
}

.proj-ashmita .card-project-label {
    color: #E07B18;
}

.proj-ashmita .card-project-label::before {
    background: #E07B18;
}

.proj-ashmita .highlight-item .dot {
    background: var(--purple);
}

.proj-ashmita .card-btn {
    color: #FF2FB5;
    border-color: #FF2FB5;
}

.proj-ashmita .card-btn:hover {
    background: var(--purple);
    color: #FF2FB5;
    box-shadow: 0 8px 24px rgba(107, 47, 160, 0.35);
}

.proj-ramat .card-tag {
    background: #E07B18;
    color: white;
    box-shadow: 0 4px 16px rgba(224, 123, 24, 0.4);
}

.proj-ramat .card-project-label {
    color: #E07B18;
}

.proj-ramat .card-project-label::before {
    background: #E07B18;
}

.proj-ramat .highlight-item .dot {
    background: #E07B18;
}

.proj-ramat .card-btn {
    color: #C27627;
    border-color: #C27627;
}

.proj-ramat .card-btn:hover {
    background: white;
    color: #C27627;
    box-shadow: 0 8px 24px rgba(224, 123, 24, 0.35);
}

/* ── DIVIDER ── */
.proj-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 4rem 0;
    color: var(--sand);
}

.proj-divider::before,
.proj-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--sand), transparent);
}

.proj-divider span {
    font-size: 1.2rem;
    color: var(--yellow);
}

/* ── CTA BANNER ── */
.cta-banner {
    background: var(--black);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--yellow);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F5A800' stroke-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3Cline x1='5' y1='30' x2='55' y2='30'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--cream);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-banner h2 em {
    font-family: "Bebas Neue", sans-serif;
    color: #317039;
    font-weight: 100;
    font-style: normal;
}

.cta-banner p {
    color: rgba(232, 213, 163, 0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    background: var(--yellow);
    color: var(--black);
    padding: 14px 34px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(245, 168, 0, 0.35);
}

.btn-gold:hover {
    background: var(--deep-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 168, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--yellow);
    padding: 13px 34px;
    border-radius: 8px;
    border: 1.5px solid var(--yellow);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(245, 168, 0, 0.1);
}

/* ─── FOOTER WRAPPER ─────────────────────────────── */
.footer-up {
    background: var(--cream);
}

.footer-up img {
    display: block;
    width: 100%;
}

.site-footer {
    margin-top: -4px;
    background: var(--green);
    color: var(--white);

    padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
}



/* ─── MAIN GRID ──────────────────────────────────── */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 3px 2fr;
    gap: 0 clamp(32px, 5vw, 72px);
    position: relative;
    z-index: 1;
}

/* ─── DIVIDER ────────────────────────────────────── */
.footer-divider {
    background: var(--white-line);
    width: 1.5px;
    align-self: stretch;
    margin-top: 12px;
}

/* ─── LEFT COLUMN ────────────────────────────────── */
.footer-brand {
    padding-bottom: 40px;
}

.footer-headline {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 100;
    font-size: clamp(52px, 9vw, 100px);
    line-height: 0.92;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.footer-headline span {
    color: var(--gold);
    display: inline-block;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--white-dim);
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--yellow);
}

/* ─── RIGHT SECTION ──────────────────────────────── */
.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding-bottom: 40px;
}

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 2px solid var(--white);
    padding-bottom: 6px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    text-decoration: none;
    color: var(--white-dim);
    font-size: clamp(11px, 1.15vw, 13px);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

/* ─── SOCIAL ICONS ───────────────────────────────── */
.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.social-icon:hover {
    border-color: var(--yellow);
    background: var(--yellow);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

/* ─── BOTTOM BAR ─────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid var(--white-line);
    margin-top: 8px;
    padding: 22px 0;
    position: relative;
    z-index: 1;
}

.footer-address {
    color: var(--white-dim);
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.65;
}

/* ─── RESPONSIVE ─────────────────────────────────── */

/* Tablet: ~768px */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 3px 1.6fr;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-divider {
        display: none;
    }

    .footer-brand {
        border-bottom: 1px solid var(--white-line);
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .footer-right {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 32px;
    }
}

/* Mobile: ~480px */
@media (max-width: 480px) {
    .footer-right {
        grid-template-columns: 1fr;
        gap: 32px;
    }


}

@media (max-width: 360px) {
    .footer-headline {
        font-size: 44px;
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .project-card.left .card-inner,
    .project-card.right .card-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-card.right .card-visual {
        order: 1;
    }

    .project-card.right .card-content {
        order: 2;
    }

    .projects-section {
        padding: 3rem 1.5rem;
    }

    .card-number {
        font-size: 5rem;
        top: -16px;
        left: -10px;
    }

    .project-card.right .card-number {
        left: auto;
        right: -10px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 1.2rem;
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    .projects-hero {
        min-height: 260px;
    }

    .projects-count {
        gap: 1.5rem;
        padding: 1rem 1.2rem;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .projects-section {
        padding: 2.5rem 1.2rem;
    }

    .project-card {
        margin-bottom: 4rem;
    }

    .card-title {
        font-size: 1.6rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.2rem;
    }

    .cta-banner {
        padding: 3.5rem 1.2rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-gold,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .projects-hero h1 {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1.4rem;
    }

    .footer-links {
        gap: 0.8rem;
    }
}

/* ====== HAMBURGER + MOBILE NAV ====== */
.ham-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 300;
}

.ham-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #F5A800;
    border-radius: 2px;
    transition: transform .28s ease, opacity .28s ease;
    transform-origin: 0 50%;
}

.ham-btn.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -1px);
}

.ham-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.ham-btn.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 1px);
}

#mobileNav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid var(--yellow);
    flex-direction: column;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

#mobileNav.is-open {
    display: flex;
}

#mobileNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1.1rem 1.5rem;
    color: #1a2744;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.2s, background 0.2s;
    text-align: center;
}

#mobileNav a:last-child {
    border-bottom: none;
}

#mobileNav a:hover,
#mobileNav a.active {
    color: #F5A800;
}


@media (max-width: 768px) {
    nav {
        height: 64px !important;
        padding: 0 1.2rem !important;
    }

    .ham-btn {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }
}

/* ====== END HAMBURGER ====== */

/* ── RESPONSIVE projects ── */
@media (max-width: 900px) {

    .project-card.left .card-inner,
    .project-card.right .card-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card.right .card-visual {
        order: 1;
    }

    .project-card.right .card-content {
        order: 2;
    }

    .projects-section {
        padding: 3rem 1.5rem;
    }

    .card-number {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        min-height: 240px;
    }

    .projects-count {
        gap: 1.2rem;
        padding: .9rem 1.2rem;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .projects-section {
        padding: 2.5rem 1.2rem;
    }

    .project-card {
        margin-bottom: 3.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 3rem 1.2rem;
        text-align: center;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .projects-hero h1 {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-desc {
        font-size: .87rem;
    }

    .footer-links {
        gap: .7rem;
    }
}

@media (max-width: 360px) {
    .projects-hero h1 {
        font-size: 1.4rem;
    }

    .card-title {
        font-size: 1.2rem;
    }
}