/* =====================================
   GLOBAL
===================================== */

:root {
    --black: #111111;
    --dark: #171717;
    --dark-2: #202020;
    --white: #ffffff;
    --paper: #f4f3ef;
    --grey: #777777;
    --light-grey: #deddd8;
    --cyan: #00d9ff;
    --magenta: #ff18a8;
    --yellow: #ffd600;
    --container: min(1180px, calc(100% - 48px));
    --radius: 24px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}


a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}


/* =====================================
   HEADER
===================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        background .3s ease,
        box-shadow .3s ease;
}


.site-header.scrolled {
    background: rgba(17,17,17,.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(74, 77, 238, 0.12);
}


.nav-container {
    width: var(--container);
    margin: auto;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: flex;
    align-items: center;
    width: 210px;
    height: 100px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 160px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}


.desktop-nav { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
    color: white; 
} 

.desktop-nav > a:not(.contact-button) { 
    position: relative;
    font-size: 14px; 
    opacity: .85; 
    transition: opacity .2s ease;
    padding-bottom: 6px;
} 

/* Blue underline */
.desktop-nav > a:not(.contact-button)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #008cff;
    transition: width .3s ease;
}

/* Show underline on hover */
.desktop-nav > a:not(.contact-button):hover::after {
    width: 100%;
}

/* Active link */
.desktop-nav > a.active {
    opacity: 1;
}

/* Keep underline on active link */
.desktop-nav > a.active::after {
    width: 100%;
}


.mobile-menu-button {
    display: none;
    border: 0;
    background: none;
    color: white;
    font-size: 25px;
}


.mobile-menu {
    display: none;
}


/*HERO*/

.hero-video {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;

    display: flex;
    align-items: center;
}

/* Background Video */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:fill;
    z-index: 0;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    color: #ffffff;
}


/* Main heading */
.hero-content h1 {
    max-width: 800px;
    font-size: clamp(55px, 7vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 0 0 30px;
}



/*TABLET*/

@media (max-width: 900px) {
    .hero-video {
        height: 650px;
    }
    .hero-content {
        padding: 0 30px;
    }
}


/*MOBILE*/

@media (max-width: 600px) {
    .hero-video {
        height: 650px;
    }
    .hero-content {
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 55px;
    }
    .hero-content p {
        font-size: 16px;
    }
}


/*MACHINE CATALOGUE*/

.machine-catalogue {
    background: var(--paper);
    padding: 80px 0 120px;
}


.catalogue-container {
    width: var(--container);
    margin: auto;
}

/* FILTER */

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 220px 220px;
    gap: 14px;
    margin-bottom: 60px;
}


.search-box {
    height: 58px;
    background: white;
    border: 1px solid #deddd8;
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}


.search-box svg {
    width: 19px;
    height: 19px;
    margin-right: 12px;
    stroke: #777;
    fill: none;
    stroke-width: 2;
}


.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
}


.filter-bar select {
    height: 58px;
    border: 1px solid #deddd8;
    background: white;
    border-radius: 100px;
    padding: 0 20px;
    font-size: 15px;
    outline: none;
}


/*MACHINE GRID*/

.machine-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 28px;

}


/*.machine-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.machine-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 60px rgba(0,0,0,.10);
}*/

.machine-card-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}


.machine-card {
    width: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.machine-card-link:hover .machine-card {
    transform: translateY(-5px);
}

/*.card-link{
    display: block;
    text-decoration: none;
}*/
.machine-image {
    height: 70%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 50%,
            #303030,
            #111
        );
}


/* MACHINE VISUALS*/

.machine-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    pointer-events: none;
}

/* DTF */

.machine-body {
    position: absolute;
    height: 100%;
    border-radius: 8px;
}

/* UV */

.uv-printer {
    position: absolute;
    width: 75%;
    height: 55%;
    left: 12%;
    bottom: 17%;
}


.uv-top {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 22%;

    background: #777;

    transform: skewX(-20deg);

}


.uv-body {

    position: absolute;

    bottom: 0;

    width: 90%;

    left: 5%;

    height: 75%;

    background:
        linear-gradient(
            135deg,
            #888,
            #242424
        );

}


.uv-legs {

    position: absolute;

    bottom: -12%;

    left: 10%;

    width: 75%;

    height: 15%;

    background: #080808;

}


/* FLATBED */

.flatbed-machine {

    position: absolute;

    width: 80%;

    height: 60%;

    left: 10%;

    bottom: 13%;

}


.flatbed-table {

    position: absolute;

    width: 80%;

    height: 25%;

    top: 20%;

    left: 10%;

    background: #111;

    border: 3px solid #666;

}


.flatbed-rail {

    position: absolute;

    width: 90%;

    height: 5%;

    top: 12%;

    left: 5%;

    background: #aaa;

}


.flatbed-head {

    position: absolute;

    width: 12%;

    height: 30%;

    top: 0;

    right: 17%;

    background: #ddd;

}


.flatbed-base {

    position: absolute;

    bottom: 0;

    width: 100%;

    height: 30%;

    background: #202020;

}


/* SOLVENT */

.solvent-machine {

    position: absolute;

    width: 80%;

    height: 50%;

    left: 10%;

    bottom: 18%;

}


.solvent-body {

    position: absolute;

    bottom: 0;

    width: 100%;

    height: 65%;

    background:
        linear-gradient(
            135deg,
            #777,
            #181818
        );

}


.solvent-roll {

    position: absolute;

    width: 100%;

    height: 18%;

    top: 10%;

    background: #080808;

}


.solvent-head {

    position: absolute;

    width: 15%;

    height: 30%;

    top: 0;

    right: 20%;

    background: #ccc;

}


/* EZEE */

.ezee-frame {

    position: absolute;

    width: 78%;

    height: 55%;

    left: 11%;

    bottom: 15%;

}


.ezee-roll {

    position: absolute;

    width: 75%;

    height: 15%;

    left: 13%;

    top: 20%;

    background: #aaa;

    border-radius: 50px;

}


.ezee-table {

    position: absolute;

    width: 100%;

    height: 45%;

    bottom: 10%;

    background:
        linear-gradient(
            145deg,
            #777,
            #202020
        );

}


.ezee-legs {

    position: absolute;

    width: 80%;

    height: 12%;

    bottom: 0;

    left: 10%;

    background: #111;

}


/* CUTTERS */

.cutting-table,
.pk-machine,
.bk-machine,
.tk-machine,
.ak-machine,
.bkf-machine,
.auto-machine {

    position: absolute;

    width: 80%;

    height: 55%;

    left: 10%;

    bottom: 15%;

}


.cutting-surface,
.pk-base,
.bk-base,
.tk-base,
.ak-base,
.bkf-base,
.auto-base {

    position: absolute;

    width: 100%;

    height: 55%;

    bottom: 0;

    background:
        linear-gradient(
            135deg,
            #777,
            #171717
        );

    border-radius: 5px;

}


.cutting-rail,
.pk-rail {

    position: absolute;

    width: 100%;

    height: 5%;

    top: 10%;

    background: #aaa;

}


.cutting-head,
.bk-head,
.tk-head,
.ak-head,
.bkf-head,
.auto-head {

    position: absolute;

    width: 15%;

    height: 30%;

    top: 2%;

    right: 15%;

    background:
        linear-gradient(
            #ddd,
            #555
        );

    z-index: 2;

}


.cutting-legs {

    position: absolute;

    bottom: -8%;

    width: 85%;

    left: 7%;

    height: 12%;

    background: #111;

}


/* LASER */

.laser-box {

    position: absolute;

    width: 60%;

    height: 60%;

    left: 20%;

    bottom: 15%;

}


.laser-platform {

    position: absolute;

    bottom: 0;

    width: 100%;

    height: 15%;

    background: #151515;

}


.laser-column {

    position: absolute;

    left: 45%;

    height: 80%;

    width: 10%;

    background: #777;

}


.laser-head {

    position: absolute;

    top: 10%;

    left: 20%;

    width: 60%;

    height: 20%;

    background: #ddd;

}


/* LIYU */

.liyu-machine,
.hybrid-machine,
.qtex-machine,
.qr-machine,
.pct-machine,
.pctuv-machine {

    position: absolute;

    width: 78%;

    height: 55%;

    left: 11%;

    bottom: 16%;

}


.liyu-cover {

    position: absolute;

    width: 80%;

    height: 30%;

    top: 0;

    left: 10%;

    background: #ddd;

}


.liyu-body,
.hybrid-body,
.qtex-body,
.qr-body,
.pct-body,
.pctuv-body {

    position: absolute;

    width: 100%;

    height: 55%;

    bottom: 0;

    background:
        linear-gradient(
            135deg,
            #ddd,
            #333
        );

}


.liyu-stand,
.hybrid-stand,
.qtex-base,
.qr-base,
.pct-base,
.pctuv-base {

    position: absolute;

    bottom: -10%;

    left: 10%;

    width: 80%;

    height: 12%;

    background: #111;

}


/* OTHER MACHINE STYLES */

.kcl-machine,
.q3-machine,
.eq3-machine,
.mingda-machine,
.curing-machine,
.co2-machine,
.cnc-machine,
.fiber-machine {

    position: absolute;

    width: 80%;

    height: 55%;

    left: 10%;

    bottom: 15%;

}


.kcl-table,
.q3-body,
.eq3-body,
.mingda-bed,
.curing-body,
.co2-body,
.cnc-table,
.fiber-table {

    position: absolute;

    bottom: 0;

    width: 100%;

    height: 60%;

    background:
        linear-gradient(
            135deg,
            #777,
            #181818
        );

}


.kcl-head,
.mingda-head,
.curing-top,
.co2-window,
.cnc-head,
.fiber-head {

    position: absolute;

    width: 18%;

    height: 30%;

    top: 5%;

    right: 15%;

    background: #ddd;

}


.kcl-base,
.q3-base,
.eq3-base,
.mingda-frame,
.curing-base,
.co2-base,
.cnc-base,
.fiber-base {

    position: absolute;

    width: 85%;

    height: 12%;

    left: 7%;

    bottom: -10%;

    background: #111;

}


/* =====================================
   MACHINE CONTENT
===================================== */

.machine-content {

    padding: 28px 30px 32px;

}


.machine-brand {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #888;

}


.machine-content h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 28px;

    line-height: 1.05;

    letter-spacing: -.04em;

    margin: 9px 0 12px;

}


.machine-content p {

    color: #666;

    font-size: 14px;

    line-height: 1.65;

    max-width: 480px;

}


.machine-link {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 23px;

    padding-top: 17px;

    border-top: 1px solid #e5e4df;

    font-size: 13px;

    font-weight: 600;

}


.machine-link span {

    font-size: 22px;

    font-weight: 400;

}


/* =====================================
   CTA
===================================== */

.machine-cta {

    background: var(--black);

    color: white;

    padding: 80px 0;

}


.cta-inner {

    width: var(--container);

    margin: auto;

    display: flex;

    align-items: center;

    gap: 30px;

}


.cta-icon {

    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: white;

    color: black;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;

}


.cta-inner h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(35px, 5vw, 60px);

    line-height: .95;

    letter-spacing: -.05em;

    max-width: 700px;

}


.cta-button {

    display: inline-flex;

    margin-top: 25px;

    border: 1px solid rgba(255,255,255,.4);

    border-radius: 100px;

    padding: 14px 20px;

    gap: 15px;

    transition: .25s ease;

}


.cta-button:hover {

    background: white;

    color: black;

}


/* =====================================
   FAQ
===================================== */

.faq-section {

    background: var(--paper);

    padding: 120px 0;

}


.faq-container {

    width: var(--container);

    margin: auto;

    max-width: 1000px;

}


.section-label {

    font-size: 11px;

    letter-spacing: 2px;

    font-weight: 700;

    color: #777;

    margin-bottom: 20px;

}


.faq-container > h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(45px, 6vw, 80px);

    letter-spacing: -.06em;

    line-height: .9;

    margin-bottom: 70px;

}


.faq-list {

    border-top: 1px solid #ccc;

}


.faq-item {

    border-bottom: 1px solid #ccc;

}


.faq-question {

    width: 100%;

    border: 0;

    background: none;

    padding: 25px 0;

    display: flex;

    justify-content: space-between;

    text-align: left;

    font-size: 18px;

    cursor: pointer;

}


.faq-plus {

    font-size: 26px;

    transition: transform .3s ease;

}


.faq-item.active .faq-plus {

    transform: rotate(45deg);

}


.faq-answer {

    display: none;

    padding: 0 40px 25px 0;

    color: #666;

    max-width: 700px;

}


.faq-item.active .faq-answer {

    display: block;

}


/* =====================================
   QUOTE FORM
===================================== */

.quote-section {

    padding: 120px 0;

    color: white;

    background:

        radial-gradient(
            circle at 20% 40%,
            rgba(0,217,255,.3),
            transparent 28%
        ),

        radial-gradient(
            circle at 80% 60%,
            rgba(255,24,168,.28),
            transparent 30%
        ),

        linear-gradient(
            120deg,
            #111,
            #181818
        );

}


.quote-container {

    width: var(--container);

    margin: auto;

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 90px;

}


.quote-copy h2 {

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(42px, 5vw, 70px);

    line-height: .95;

    letter-spacing: -.06em;

}


.quote-form {

    display: flex;

    flex-direction: column;

    gap: 24px;

}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


.form-field {

    display: flex;

    flex-direction: column;

    gap: 9px;

}


.form-field label {

    font-size: 12px;

    color: rgba(255,255,255,.7);

}


.form-field input,
.form-field textarea {

    width: 100%;

    border: 1px solid rgba(255,255,255,.25);

    background: rgba(255,255,255,.06);

    color: white;

    padding: 16px;

    outline: none;

    border-radius: 6px;

}


.form-field input::placeholder,
.form-field textarea::placeholder {

    color: rgba(255,255,255,.45);

}


.form-field textarea {

    min-height: 140px;

    resize: vertical;

}


.submit-button {

    align-self: flex-start;

    border: 1px solid rgba(255,255,255,.4);

    background: white;

    color: black;

    padding: 15px 22px;

    border-radius: 100px;

    cursor: pointer;

    display: flex;

    gap: 15px;

    align-items: center;

    transition: .25s ease;

}


.submit-button:hover {

    transform: translateY(-2px);
    background-color: #263E90;
    color: #ccc;

}


/*FOOTER*/

.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: 80px;
    padding-left: 80PX;
    padding-right: 80PX;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 70px;
}

.footer-brand img {
    width: 145px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 350px;
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-column a {
    color: #999999;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-column p {
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}


.address-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.address-link:hover {
    color: #777;
    text-decoration: underline;
}



/*FOOTER BOTTOM*/

.footer-bottom {
    border-top: 1px solid #292929;
    padding: 25px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom p {
    color: #666666;
    font-size: 12px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.social-links a {
    color: #888888;
    font-size: 12px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--white);
}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 900px) {


    .desktop-nav {
        display: none;
    }


    .mobile-menu-button {
        display: block;
    }


    .mobile-menu {

        position: absolute;

        top: 88px;

        left: 0;

        width: 100%;

        background: #111;

        padding: 25px;

        flex-direction: column;

        gap: 20px;

    }


    .mobile-menu.open {
        display: flex;
    }


    .mobile-menu a {
        color: white;
    }


    .mobile-contact {

        border: 1px solid #555;

        padding: 13px;

        border-radius: 100px;

        text-align: center;

    }


    .machine-grid {

        grid-template-columns: 1fr;

    }


    .filter-bar {

        grid-template-columns: 1fr;

    }


    .quote-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .footer-main {

        grid-template-columns: 1fr 1fr;

    }

}


@media (max-width: 600px) {


    :root {
        --container: min(100% - 30px, 1180px);
    }


    .machines-hero {

        min-height: 600px;

    }


    .hero-inner h1 {

        font-size: 53px;

    }


    .machine-image {

        height: 280px;

    }


    .machine-content {

        padding: 22px;

    }


    .machine-content h2 {

        font-size: 24px;

    }


    .cta-inner {

        align-items: flex-start;

        flex-direction: column;

    }


    .form-row {

        grid-template-columns: 1fr;

    }


    .footer-main {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }

}