/* =========================================================
   GLOBAL OVERFLOW / BOX MODEL FIX
========================================================= */



img {
    max-width: 100%;
}

a,
button,
input,
textarea,
select {
    max-width: 100%;
}


/* =========================================================
   =========================================================
   CNC PRODUCTS
   =========================================================
   ========================================================= */

.cnx-products {
    width: 100%;
    max-width: 100%;
    padding: 75px 4%;
    background: #fff;
    overflow: hidden;
}

.cnx-products-wrap {
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
    min-width: 0;
}

.cnx-products-head {
    display: flex;
    align-items: flex-end;
    margin-bottom: 36px;
    min-width: 0;
}

.cnx-products-intro {
    width: 100%;
    max-width: 650px;
    min-width: 0;
}

.cnx-red-line {
    display: block;
    width: 47px;
    height: 4px;
    background: #990000;
    margin-bottom: 16px;
}

.cnx-eyebrow {
    color: #990000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
}

.cnx-main-title {
    margin: 0 0 14px;
    color: #222334;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.cnx-main-description {
    margin: 0;
    color: #747783;
    font-size: 17px;
    line-height: 1.55;
    overflow-wrap: break-word;
}


/* =========================================================
   CNC PRODUCT GRID
========================================================= */

.cnx-featured-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   CNC PRODUCT CARD
========================================================= */

.cnx-machine-card {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    min-width: 0;
    width: 100%;
    min-height: 285px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f6f8;
    border: 1px solid #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.cnx-machine-card:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}


/* =========================================================
   CNC PRODUCT DETAILS
========================================================= */

.cnx-machine-details {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: 28px 25px;
    color: #fff;
    background: #222334;
    overflow: hidden;
}

.cnx-card-line {
    display: block;
    width: 42px;
    height: 3px;
    background: #990000;
    margin-bottom: 20px;
}

.cnx-machine-name {
    margin: 0 0 17px;
    color: #fff;
    font-size: 26px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.cnx-machine-text {
    max-width: 230px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}


/* =========================================================
   CNC PRODUCT BUTTON
========================================================= */

.cnx-machine-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    padding: 13px 23px;
    margin-top: 23px;
    border-radius: 30px;
    background: #990000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.cnx-machine-btn:hover {
    color: #fff;
    background: #222334;
    border-color: #990000;
}


/* =========================================================
   CNC PRODUCT IMAGES
========================================================= */

.cnx-machine-visual,
.cnx-machine-visual1,
.cnx-machine-visual2,
.cnx-machine-visual3,
.cnx-machine-visual4,
.cnx-machine-visual5,
.cnx-machine-visual6,
.cnx-machine-visual7,
.cnx-machine-visual8,
.cnx-machine-visual9 {
    min-width: 0;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.cnx-machine-visual img,
.cnx-machine-visual1 img,
.cnx-machine-visual2 img,
.cnx-machine-visual3 img,
.cnx-machine-visual4 img,
.cnx-machine-visual5 img,
.cnx-machine-visual6 img,
.cnx-machine-visual7 img,
.cnx-machine-visual8 img,
.cnx-machine-visual9 img {
    display: block;
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.20);
    transform-origin: center center;
    transition: transform 0.35s ease;
}


/* Individual image sizes */

.cnx-machine-visual img {
    width: 94%;
    height: 94%;
    transform-origin: center left;
    rotate: 1deg;
}

.cnx-machine-visual1 img {
    width: 89%;
    height: 94%;
}

.cnx-machine-visual2 img {
    width: 95%;
    height: 94%;
}

.cnx-machine-visual3 img {
    width: 90%;
    height: 94%;
}

.cnx-machine-visual4 img {
    width: 94%;
    height: 94%;
}

.cnx-machine-visual5 img {
    width: 94%;
    height: 94%;
}

.cnx-machine-visual6 img {
    width: 98%;
    height: 94%;
}

.cnx-machine-visual7 img {
    width: 97%;
    height: 94%;
}

.cnx-machine-visual8 img {
    width: 90%;
    height: 94%;
}

.cnx-machine-visual9 img {
    width: 94%;
    height: 94%;
}


/* =========================================================
   OUR TOOLS
========================================================= */

.tol-tools {
    width: 100%;
    max-width: 100%;
    padding: 75px 4%;
    background: #fff;
    overflow: hidden;
}

.tol-tools-wrap {
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
    min-width: 0;
}


/* =========================================================
   TOOLS HEADER
========================================================= */

.tol-tools-head {
    display: flex;
    align-items: flex-end;
    margin-bottom: 36px;
    min-width: 0;
}

.tol-tools-intro {
    width: 100%;
    max-width: 650px;
    min-width: 0;
}

.tol-red-line {
    display: block;
    width: 47px;
    height: 4px;
    background: #990000;
    margin-bottom: 16px;
}

.tol-eyebrow {
    color: #990000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
}

.tol-main-title {
    margin: 0 0 14px;
    color: #222334;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.tol-main-description {
    margin: 0;
    color: #747783;
    font-size: 17px;
    line-height: 1.55;
    overflow-wrap: break-word;
}


/* =========================================================
   TOOLS GRID
========================================================= */

.tol-tools-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   TOOL CARD
========================================================= */

.tol-tool-card {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    min-width: 0;
    width: 100%;
    min-height: 285px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f6f8;
    border: 1px solid #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.tol-tool-card:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}


/* =========================================================
   TOOL DETAILS
========================================================= */

.tol-tool-details {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: 28px 25px;
    color: #fff;
    background: #222334;
    overflow: hidden;
}

.tol-card-line {
    display: block;
    width: 42px;
    height: 3px;
    background: #990000;
    margin-bottom: 20px;
}

.tol-tool-name {
    margin: 0 0 17px;
    color: #fff;
    font-size: 26px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.tol-tool-text {
    max-width: 230px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}


/* =========================================================
   TOOL BUTTON
========================================================= */

.tol-tool-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    padding: 13px 23px;
    margin-top: 23px;
    border-radius: 30px;
    background: #990000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.tol-tool-btn:hover {
    color: #fff;
    background: #222334;
    border-color: #990000;
}


/* =========================================================
   TOOL IMAGES
========================================================= */

.tol-tool-visual,
.tol-tool-visual1,
.tol-tool-visual2,
.tol-tool-visual3,
.tol-tool-visual4,
.tol-tool-visual5,
.tol-tool-visual6,
.tol-tool-visual7,
.tol-tool-visual8,
.tol-tool-visual9 {
    min-width: 0;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.tol-tool-visual img,
.tol-tool-visual1 img,
.tol-tool-visual2 img,
.tol-tool-visual3 img,
.tol-tool-visual4 img,
.tol-tool-visual5 img,
.tol-tool-visual6 img,
.tol-tool-visual7 img,
.tol-tool-visual8 img,
.tol-tool-visual9 img {
    display: block;
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.20);
    transform-origin: center center;
    transition: transform 0.35s ease;
}

.tol-tool-visual img {
    width: 94%;
    height: 94%;
}

.tol-tool-visual1 img {
    width: 89%;
    height: 94%;
}

.tol-tool-visual2 img {
    width: 95%;
    height: 94%;
}

.tol-tool-visual3 img {
    width: 83%;
    height: 94%;
}

.tol-tool-visual4 img {
    width: 94%;
    height: 94%;
}

.tol-tool-visual5 img {
    width: 94%;
    height: 94%;
}

.tol-tool-visual6 img {
    width: 98%;
    height: 94%;
}

.tol-tool-visual7 img {
    width: 97%;
    height: 94%;
}

.tol-tool-visual8 img {
    width: 90%;
    height: 94%;
}

.tol-tool-visual9 img {
    width: 94%;
    height: 94%;
}


/* =========================================================
   LASER CUTTING
========================================================= */

.lct-laser {
    width: 100%;
    max-width: 100%;
    padding: 75px 4%;
    background: #fff;
    overflow: hidden;
}

.lct-laser-wrap {
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
    min-width: 0;
}


/* =========================================================
   LASER HEADER
========================================================= */

.lct-laser-head {
    display: flex;
    align-items: flex-end;
    margin-bottom: 36px;
    min-width: 0;
}

.lct-laser-intro {
    width: 100%;
    max-width: 650px;
    min-width: 0;
}

.lct-red-line {
    display: block;
    width: 47px;
    height: 4px;
    background: #990000;
    margin-bottom: 16px;
}

.lct-eyebrow {
    color: #990000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
}

.lct-main-title {
    margin: 0 0 14px;
    color: #222334;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.lct-main-description {
    margin: 0;
    color: #747783;
    font-size: 17px;
    line-height: 1.55;
    overflow-wrap: break-word;
}


/* =========================================================
   LASER GRID
========================================================= */

.lct-laser-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* =========================================================
   LASER CARD
========================================================= */

.lct-laser-card {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    min-width: 0;
    width: 100%;
    min-height: 285px;
    overflow: hidden;
    border-radius: 18px;
    background: #f5f6f8;
    border: 1px solid #222;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.lct-laser-card:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}


/* =========================================================
   LASER DETAILS
========================================================= */

.lct-laser-details {
    position: relative;
    min-width: 0;
    width: 100%;
    padding: 28px 25px;
    color: #fff;
    background: #222334;
    overflow: hidden;
}

.lct-card-line {
    display: block;
    width: 42px;
    height: 3px;
    background: #990000;
    margin-bottom: 20px;
}

.lct-laser-name {
    margin: 0 0 17px;
    color: #fff;
    font-size: 26px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.lct-laser-text {
    max-width: 230px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.48;
    overflow-wrap: anywhere;
}


/* =========================================================
   LASER BUTTON
========================================================= */

.lct-laser-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 125px;
    padding: 13px 23px;
    margin-top: 23px;
    border-radius: 30px;
    background: #990000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.lct-laser-btn:hover {
    color: #fff;
    background: #222334;
    border-color: #990000;
}


/* =========================================================
   LASER IMAGES
========================================================= */

.lct-laser-visual,
.lct-laser-visual1,
.lct-laser-visual2,
.lct-laser-visual3,
.lct-laser-visual4 {
    min-width: 0;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.lct-laser-visual img,
.lct-laser-visual1 img,
.lct-laser-visual2 img,
.lct-laser-visual3 img,
.lct-laser-visual4 img {
    display: block;
    max-width: 150%;
    object-fit: contain;
    transform: scale(1.20);
    transform-origin: center center;
    transition: transform 0.35s ease;
}

.lct-laser-visual img {
    width: 94%;
    height: 94%;
}

.lct-laser-visual1 img {
    width: 140%;
    height: 89%;
}

.lct-laser-visual2 img {
    width: 140%;
    height: 95%;
}

.lct-laser-visual3 img {
    width: 92%;
    height: 92%;
}

.lct-laser-visual4 img {
    width: 94%;
    height: 94%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1250px) {

    .cnx-featured-grid,
    .tol-tools-grid,
    .lct-laser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .cnx-products,
    .tol-tools,
    .lct-laser {
        padding: 55px 22px;
    }

    .cnx-featured-grid,
    .tol-tools-grid,
    .lct-laser-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 550px) {

    .cnx-products,
    .tol-tools,
    .lct-laser {
        padding: 45px 15px;
    }

    .cnx-main-title,
    .tol-main-title,
    .lct-main-title {
        font-size: 34px;
    }

    .cnx-main-description,
    .tol-main-description,
    .lct-main-description {
        font-size: 15px;
    }

    .cnx-machine-card,
    .tol-tool-card,
    .lct-laser-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-width: 0;
    }

    .cnx-machine-details,
    .tol-tool-details,
    .lct-laser-details {
        width: 100%;
        min-width: 0;
        min-height: 275px;
    }

    .cnx-machine-visual,
    .cnx-machine-visual1,
    .cnx-machine-visual2,
    .cnx-machine-visual3,
    .cnx-machine-visual4,
    .cnx-machine-visual5,
    .cnx-machine-visual6,
    .cnx-machine-visual7,
    .cnx-machine-visual8,
    .cnx-machine-visual9,
    .tol-tool-visual,
    .tol-tool-visual1,
    .tol-tool-visual2,
    .tol-tool-visual3,
    .tol-tool-visual4,
    .tol-tool-visual5,
    .tol-tool-visual6,
    .tol-tool-visual7,
    .tol-tool-visual8,
    .tol-tool-visual9,
    .lct-laser-visual,
    .lct-laser-visual1,
    .lct-laser-visual2,
    .lct-laser-visual3,
    .lct-laser-visual4 {
        width: 100%;
        height: 270px;
        min-height: 270px;
        min-width: 0;
        flex-shrink: 0;
    }
}