/* Fluid Layout Engine & Global Typography Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    background-color: #f4f3ef;
    color: #111111;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* Fluid Scalable Container Architecture */
section {
    padding: clamp(3.5rem, 7vw, 9rem) clamp(1.2rem, 5vw, 4rem);
}

.tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blue-tag { color: #3b52df; }
.white-tag { color: rgba(255, 255, 255, 0.5); }

/* Header Navbar Frame */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem clamp(1.2rem, 5vw, 4rem);
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    background: #111;
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 3vw, 3rem);
}

.desktop-nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: opacity 0.25s ease;
}

.nav-cta {
    background: #111;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section Split Layout & Micro Interaction Animations */
.hero-section {
    padding-top: 11rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-main-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    font-size: clamp(2.4rem, 6.2vw, 5.2rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.5;
    color: #444;
    max-width: 580px;
}

.highlight-blue { color: #3b52df; }

/* Pure Frameless Floating Graphic Elements Execution */
.hero-visual-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pure-floating-image-wrapper {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: smoothOrganicFloat 5s ease-in-out infinite;
}

.hero-pure-floating-img {
    width: 90%;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes smoothOrganicFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.02); }
}

/* Secondary Intro Block */
.hero-intro-banner {
    margin-top: 6rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 4rem;
}

.intro-banner-left h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 900px;
}

.hero-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 2.5rem;
    margin-top: 5rem;
}

.footer-meta-item {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: #3b52df;
    border-radius: 50%;
}

/* Selected Work Section Layout */
.work-section {
    background: #111;
    color: #fff;
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-intro h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.intro-desc {
    max-width: 340px;
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
}

/* Project Cards Mechanics */
.project-featured { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.project-card {
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(350px, 50vh, 520px);
}

.green-bg { background-color: #1a3329; }
.orange-bg { background-color: #bc4621; }
.blue-bg { background-color: #1d33b3; }

.window-bar {
    display: flex;
    gap: 7px;
    margin-bottom: 2.5rem;
}
.window-bar span {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
}

.project-mockup h1,
.project-mockup .mockup-heading {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin: 1.5rem 0;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.mockup-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}

.project-details { display: flex; justify-content: space-between; margin-top: 1.5rem; }
.project-details h3 { font-size: 1.15rem; font-weight: 600; }
.project-details p { color: #777; font-size: 0.95rem; }
.project-year { color: #444; font-size: 0.95rem; font-weight: 600;}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
}

/* ── Work Section: Featured project (full-width) ──────── */
.work-featured-top {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ── Work Section: Remaining projects (2-column grid) ──── */
.work-grid-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.work-grid-secondary .work-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Secondary grid cards: equal height, regardless of content */
.work-grid-secondary .project-card {
    min-height: clamp(280px, 38vh, 380px);
    height: 100%;
}

.work-feature-card {
    cursor: pointer;
}

.work-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.work-explore-btn.is-hidden {
    display: none;
}

.work-explore-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: fit-content;
    margin: clamp(2.5rem, 5vw, 4rem) auto 0;
    padding: 0.75rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.work-explore-more:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
}

.work-explore-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cedb50;
}

/* ── Work Section: Project Detail Modal ───────────────── */
.work-modal-card { text-align: left; position: relative; }

.work-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0,0,0,0.06);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.work-modal-close:hover { background: #111; color: #fff; }

.work-modal-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a2eb5;
    margin: 0 0 0.8rem;
}

.work-modal-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 0.6rem;
}

.work-modal-year {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 1.5rem;
}

.work-modal-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.65;
    margin-bottom: 0;
}

.work-modal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.8rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.work-modal-link:hover { opacity: 0.8; }

/* Hidden by default — JS toggles a class to reveal only when a link exists */
.work-modal-link.is-hidden { display: none; }

/* Service Lines List */
.services-section { background: #f4f3ef; }
.services-header h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 500; letter-spacing: -1.5px;}
.services-sub { color: #555; font-size: 1.15rem; margin-top: 0.6rem; }
.services-list { border-top: 1px solid #d8d7d2; margin-top: 4rem; }

.service-row {
    display: flex;
    align-items: center;
    padding: 3rem 1.5rem;
    border-bottom: 1px solid #d8d7d2;
    cursor: pointer;
    transition: background-color 0.35s ease, padding-left 0.35s ease;
}

.service-num { font-size: 0.9rem; font-weight: 600; color: #888; width: 100px; }
.service-info { flex-grow: 1; }
.service-info h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 500; margin-bottom: 0.5rem; }
.service-info p { color: #555; font-size: 1.05rem; max-width: 600px; }
.row-arrow { font-size: 1.2rem; opacity: 0.2; }
.service-row:hover { background-color: #cedb50; padding-left: 2.5rem; }
.badge { font-size: 0.65rem; background: #111; color: #fff; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 700; margin-left: 0.8rem; display: inline-block; }

/* Process Section */
.process-section { background: #1a2eb5; color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 5rem); margin-top: 4rem; }
.proc-num { font-size: 0.8rem; font-weight: 700; opacity: 0.5; display: block; margin-bottom: 1.8rem; }
.process-card h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; margin-bottom: 1.2rem; }
.process-card p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.6; }

/* About Section Setup */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; }
.about-graphic { background: #e6e5df; border-radius: 16px; height: 450px; display: flex; align-items: center; justify-content: center; }
.sticker-make { background: #1a2eb5; color: #fff; padding: 2.2rem; font-size: 2.8rem; font-weight: 800; border-radius: 12px; transform: rotate(-8deg); }
.about-content h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 500; line-height: 1.15; margin-bottom: 2.5rem; letter-spacing: -1.5px; }
.about-content p { font-size: 1.1rem; color: #2b2b2b; line-height: 1.65; margin-bottom: 1.8rem; }
.text-link { color: #111; font-weight: 600; text-decoration: none; border-bottom: 2px solid #111; }

/* Contact Interface Design */
.contact-section { background: #111; color: #fff; }
.contact-container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 7rem); }
.contact-title { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -2.5px; margin-bottom: 2.5rem; }
.contact-desc { color: #777; max-width: 320px; margin-bottom: 5rem; font-size: 1.05rem; }

/* ==========================================================================
   SUPER USABLE & ULTRA HIGH-CONTRAST SELECTION CONTROL SYSTEM
   ========================================================================== */
.form-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom: 1px solid #222;
    padding-bottom: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group { margin-bottom: 3rem; display: flex; flex-direction: column; position: relative;}
.form-group label { font-size: 0.7rem; font-weight: 700; color: #888; margin-bottom: 0.8rem; letter-spacing: 1px;}

.form-group input, 
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #262626;
    padding: 0.8rem 0;
    color: #fff;
    font-size: 1.05rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Premium Dropdowns Fix - Custom Styling to override dark system components */
.form-group select {
    background: transparent;
    border: none;
    border-bottom: 1px solid #262626;
    padding: 0.8rem 0;
    color: #ffffff;
    font-size: 1.05rem;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff'><path d='M0 2l6 6 6-6H0z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) center;
}

/* Fixes legibility for selection lists completely across both operating system engines */
.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px;
    font-size: 1rem;
}

.form-group select option:disabled {
    color: #555555;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #cedb50;
}

.form-group textarea { resize: none; height: 90px; }
.disclaimer { font-size: 0.8rem; color: #444; margin-bottom: 2.5rem; }

.submit-btn {
    background: #cedb50;
    color: #111;
    border: none;
    padding: 1.3rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.btn-arrow { background: #111; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Aligned Horizontal Footer Layout */
.footer {
    background: #cedb50;
    color: #111;
    padding: 6rem clamp(1.2rem, 5vw, 4rem) 2.5rem clamp(1.2rem, 5vw, 4rem);
    width: 100%;
}

.footer-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 7rem; }
.footer-brand-side { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.8rem; }
.footer-logo h3, .footer-logo-name { font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; }
.black-logo-icon { background: #111; color: #cedb50; }

.footer-social-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.social-badge-link {
    text-decoration: none;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.25s ease, transform 0.25s ease;
}

.social-badge-link:hover { background: #111; color: #cedb50; transform: translateY(-2px); }

.footer-nav-horizontal { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding-top: 0.2rem; }
.footer-nav-link { font-size: clamp(1.8rem, 4.5vw, 3.8rem); font-weight: 400; text-decoration: none; color: #111; letter-spacing: -1px; transition: opacity 0.25s ease;}
.footer-nav-link:hover { opacity: 0.6; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(0,0,0,0.6);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
}

.back-to-top { color: #111; text-decoration: none; }

/* ═══════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════ */

/* ── Tablet landscape / small desktop (≤ 1024px) ────── */
@media (max-width: 1024px) {

    /* Header */
    .desktop-nav { gap: 1.5rem; }

    /* Hero */
    .hero-section { padding-top: 8rem; }
    .hero-main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text-side { order: 2; }
    .hero-visual-side {
        order: 1;
        justify-content: center;
    }
    .pure-floating-image-wrapper { max-width: 320px; }
    .hero-subtext { margin: 0 auto; }
    .tag { justify-content: center; }
    .hero-footer { justify-content: center; gap: 2rem; }

    /* Work */
    .section-intro { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .intro-desc { max-width: 100%; }

    /* Process */
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }
    .about-graphic { height: 360px; }
    .little-about-me-img { width: 60%; }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-desc { margin-bottom: 3rem; }

    /* Footer */
    .footer-top-row { flex-direction: column; gap: 3rem; margin-bottom: 4rem; }
    .footer-nav-horizontal {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1.2rem 2.5rem;
    }
    .footer-nav-link { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
}

/* ── Tablet portrait (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {

    /* Section padding tightened */
    section { padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 5vw, 2.5rem); }

    /* Header */
    header { padding: 1.5rem clamp(1.2rem, 4vw, 2rem); }
    .desktop-nav { gap: 1rem; }
    .desktop-nav a:not(.nav-cta) { font-size: 0.85rem; }

    /* Hero */
    .hero-section { padding-top: 7rem; min-height: auto; }
    .hero-footer { gap: 1.5rem; padding-top: 2rem; margin-top: 3rem; }
    .footer-meta-item { font-size: 0.68rem; }

    /* Work Section */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .work-grid-secondary {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .project-card { min-height: clamp(280px, 45vw, 400px); }
    .project-mockup h1 { font-size: clamp(1.6rem, 5vw, 2.8rem); }

    /* Services */
    .service-row { padding: 2rem 0.5rem; }
    .service-num { width: 60px; font-size: 0.8rem; }
    .service-info h3 { font-size: clamp(1.2rem, 3.5vw, 1.8rem); }
    .service-row:hover { padding-left: 1rem; }

    /* Process */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2.5rem;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-graphic {
        height: 280px;
        border-radius: 12px;
    }
    .little-about-me-img { width: 45%; }
    .about-content h2 { margin-bottom: 1.5rem; }

    /* Contact */
    .contact-container { gap: 3rem; }
    .contact-title { font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -1.5px; margin-bottom: 1.5rem; }
    .quick-response { display: none; }

    /* Form */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group { margin-bottom: 2rem; }
    .form-group textarea { height: 80px; }

    /* Footer */
    .footer { padding: 4rem clamp(1.2rem, 4vw, 2rem) 2rem; }
    .footer-nav-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-nav-link { font-size: 2rem; }
    .footer-top-row { margin-bottom: 3rem; }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        font-size: 0.75rem;
    }
}

/* ── Mobile (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {

    /* Header — hide nav links, keep CTA */
    header { padding: 1.2rem 1rem; }
    .desktop-nav { gap: 0.6rem; }
    .desktop-nav a:not(.nav-cta) { display: none; }
    .nav-cta { padding: 0.5rem 1rem; font-size: 0.82rem; }

    /* Hero */
    .hero-section { padding-top: 6rem; }
    .pure-floating-image-wrapper { max-width: 240px; }
    .hero-text { letter-spacing: -1.5px; }
    .hero-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    /* Work */
    .project-card {
        min-height: 280px;
        padding: 1.5rem;
    }
    .project-details {
        flex-direction: column;
        gap: 0.3rem;
        margin-top: 1rem;
    }
    .project-year { font-size: 0.85rem; }
    .project-mockup h1 { font-size: 1.5rem; letter-spacing: -0.5px; margin: 1rem 0; }
    .mockup-tag { font-size: 0.65rem; }
    .window-bar { margin-bottom: 1.5rem; }
    .work-feature-list { gap: 2rem; }
    .work-modal-card { padding: 2.2rem 1.6rem; }
    .work-modal-title { font-size: 1.5rem; }

    /* Services */
    .services-header h2 { letter-spacing: -1px; }
    .services-sub { font-size: 1rem; }
    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.8rem 0.5rem;
    }
    .service-num { width: auto; }
    .row-arrow { display: none; }
    .service-row:hover { padding-left: 0.5rem; }
    .badge { display: block; margin: 0.4rem 0 0 0; }

    /* About */
    .about-graphic { height: 220px; }
    .little-about-me-img { width: 50%; }
    .about-content p { font-size: 1rem; }

    /* Contact */
    .contact-section { padding: clamp(3rem, 7vw, 5rem) 1rem; }
    .contact-title { font-size: clamp(1.8rem, 9vw, 2.8rem); }
    .contact-desc { font-size: 0.95rem; margin-bottom: 2rem; }
    .form-header { font-size: 0.72rem; margin-bottom: 2rem; }
    .form-group label { font-size: 0.65rem; }
    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 0.95rem; }
    .submit-btn {
        padding: 1.1rem 1.8rem;
        font-size: 1rem;
    }
    .disclaimer { font-size: 0.75rem; margin-bottom: 1.8rem; }

    /* Footer */
    .footer { padding: 3rem 1rem 2rem; }
    .footer-logo h3 { font-size: 1.2rem; }
    .footer-nav-link { font-size: 1.6rem; }
    .footer-top-row { gap: 2rem; margin-bottom: 2.5rem; }
    .footer-social-ctas { gap: 0.5rem; }
    .social-badge-link { font-size: 0.75rem; padding: 0.45rem 0.9rem; }
    .footer-bottom { gap: 0.8rem; font-size: 0.7rem; }
}

/* ── Very small mobile (≤ 360px) ────────────────────── */
@media (max-width: 360px) {

    header { padding: 1rem; }
    .logo { font-size: 0.95rem; }

    .hero-section { padding-top: 5.5rem; }
    .pure-floating-image-wrapper { max-width: 200px; }

    .project-card { min-height: 240px; padding: 1.2rem; }
    .project-mockup h1 { font-size: 1.3rem; }

    .contact-title { font-size: 1.7rem; }

    .footer-nav-link { font-size: 1.4rem; }
    .footer-nav-horizontal { gap: 0.8rem; }
}



/* a little about me section */

.little-about-me-img {
    width: 50%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Ensure cards act as standard relative containers for absolute background components */
.project-card {
    border-radius: 16px;
    padding: clamp(2rem, 5vw, 4.5rem);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(350px, 50vh, 520px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1; /* Establishes standard layer hierarchy stacking context */
}

/* Base Solid Background Fallbacks */
.green-bg { background-color: #1a3329; }
.orange-bg { background-color: #bc4621; }
.blue-bg { background-color: #1d33b3; }

/* The background image handler engine */
.project-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Fills the container box bounds entirely without distortion */
    z-index: -1;           /* Sends the structural visual layer behind text overlays and CTA parameters */
    pointer-events: none;  /* Ensures clicking elements doesn't intercept child link nodes */
}


/* Smooth Pop-up Modal Design Layout */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #f4f3ef;
    color: #111;
    padding: 3.5rem;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-checkmark {
    font-size: 3rem;
    color: #3b52df;
    margin-bottom: 1.5rem;
}

.modal-card h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.modal-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.modal-close-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.modal-close-btn:hover {
    opacity: 0.8;
}

/* ── CTA Card (Work Section → Contact Link) ─────────── */
.cta-card {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.cta-card:hover::after {
    background: rgba(0, 0, 0, 0.08);
}

.cta-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2rem;
}

.cta-card-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 10px;
}

.cta-card-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}

.cta-card-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.cta-card:hover .cta-card-sub {
    color: rgba(255, 255, 255, 0.7);
}
/* ═══════════════════════════════════════════════════════
   SOCIAL SHARE BUTTONS
   ═══════════════════════════════════════════════════════ */

.share-block {
    margin-bottom: 3rem;
}

.share-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #aaa;
    font-family: inherit;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-twitter:hover  { background: rgba(0, 0, 0, 0.8);    color: #fff; border-color: rgba(255,255,255,0.2); }
.share-linkedin:hover { background: #0a66c2;                color: #fff; border-color: #0a66c2; }
.share-whatsapp:hover { background: #25d366;                color: #fff; border-color: #25d366; }
.share-copy:hover     { background: rgba(206,219,80,0.15);  color: #cedb50; border-color: rgba(206,219,80,0.4); }

.share-copy.copied {
    color: #42C590;
    border-color: rgba(66,197,144,0.5);
}

@media (max-width: 768px) {
    .share-block { margin-bottom: 2rem; }
    .share-buttons { gap: 0.5rem; }
    .share-btn { font-size: 0.74rem; padding: 0.5rem 0.9rem; }
}

@media (max-width: 480px) {
    .share-buttons { gap: 0.4rem; }
    .share-btn { font-size: 0.72rem; padding: 0.45rem 0.8rem; }
}
/* ═══════════════════════════════════════════════════════
   COMBOBOX — type-or-pick fields (service / budget / timeline)
   Matches existing input underline aesthetic.
═══════════════════════════════════════════════════════ */

.combo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* The text input inherits the same underline look as all other inputs */
.combo-wrapper .combo-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #262626;
    padding: 0.8rem 2rem 0.8rem 0;
    color: #fff;
    font-size: 1.05rem;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s ease;
    cursor: text;
}

.combo-wrapper .combo-input::placeholder {
    color: #555;
}

.combo-wrapper .combo-input:focus {
    border-color: #cedb50;
}

/* Chevron icon — right side */
.combo-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.combo-wrapper.is-open .combo-chevron {
    color: #cedb50;
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown list */
.combo-list {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    z-index: 200;
    list-style: none;
    padding: 0.4rem 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.combo-wrapper.is-open .combo-list {
    display: block;
    animation: comboFadeIn 0.15s ease;
}

@keyframes comboFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.combo-option {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #ccc;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.combo-option:hover,
.combo-option.is-active {
    background: #242424;
    color: #cedb50;
}

/* Hide options that don't match the typed filter */
.combo-option.is-hidden {
    display: none;
}

/* ═══════════════════════════════════════════════════════
   COMBOBOX — RESPONSIVE OVERRIDES
   Covers tablet (≤ 768px), mobile (≤ 480px), small (≤ 360px)
   Mirrors what the existing .form-group select rules do.
═══════════════════════════════════════════════════════ */

/* ── Tablet portrait (≤ 768px) ── */
@media (max-width: 768px) {
    /* combo-list needs extra top clearance on touch viewports */
    .combo-list {
        top: calc(100% + 8px);
        border-radius: 10px;
    }
    .combo-option {
        padding: 0.85rem 1rem; /* bigger tap targets */
    }
}

/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    /* match existing .form-group select font-size rule */
    .combo-wrapper .combo-input {
        font-size: 0.95rem;
    }
    /* full-bleed dropdown so it never clips */
    .combo-list {
        left: -1rem;
        right: -1rem;
        border-radius: 10px;
        top: calc(100% + 10px);
    }
    .combo-option {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* ── Very small mobile (≤ 360px) ── */
@media (max-width: 360px) {
    .combo-wrapper .combo-input {
        font-size: 0.9rem;
    }
    .combo-option {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }
}