
html,
body {
    background-color: #FAF9FE !important;
     width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Main website sections */
section,
main,
footer,
.wrapper,
.container {
    background-color: #FAF9FE;
}

/* Common page backgrounds */
.nec-export-page,
.nec-machine-section,
.nec-content-section,
.nec-products-section,
.nec-faq-section {
    background-color: #FAF9FE !important;
}

.nec-products-hero,
.nec-products-hero * {
    box-sizing: border-box;
}


/* MAIN HERO */

.nec-products-hero {

    position: relative;

    width: calc(100% - 30px);

    height: clamp(450px, 46vw, 760px);

    min-height: 450px;

    margin: 15px auto 0;

    overflow: hidden;

    border-radius: 22px;

    background: #eaf2f7;

}


/* HERO IMAGE */

.nec-products-hero-img {

    display: block;

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

}


/* ==========================================
   LARGE LAPTOP
========================================== */

@media (max-width: 1400px) {

    .nec-products-hero {

        height: 650px;

    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .nec-products-hero {

        width: calc(100% - 24px);

        height: 500px;

        min-height: 400px;

        border-radius: 18px;

    }

    .nec-products-hero-img {

        object-position: center center;

    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .nec-products-hero {

        width: calc(100% - 20px);

        height: 380px;

        min-height: 320px;

        margin-top: 10px;

        border-radius: 14px;

    }

    .nec-products-hero-img {

        object-position: center center;

    }

}


/* SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .nec-products-hero {

        height: 320px;

        min-height: 320px;

    }

}

/* ==========================================
   INJECTION MOULDING MACHINE SECTION
========================================== */

.nec-injection-section,
.nec-injection-section * {
    box-sizing: border-box;
}


/* MAIN SECTION */

.nec-injection-section {

    width: 100%;

    padding: 60px 100px;

    background: #f9f9fb;

    font-family: "League Spartan", sans-serif;

    overflow: hidden;

}


/* MAIN CONTAINER */

.nec-injection-container {

    width: calc(100% - 10px);

    max-width: 140  0px;

    margin: 0 auto;

}


/* ==========================================
   HEADING
========================================== */

.nec-injection-heading {

    width: 100%;

    text-align: center;

    margin-bottom: 20px;

}


.nec-injection-heading h2 {

    margin: 0;

    padding: 0;

    color: #263fa8;

    font-family: "League spartan", sans-serif;

    font-size: 75px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: 0.3px;

}


/* ==========================================
   DESCRIPTION
========================================== */

.nec-injection-description {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    text-align: center;

}


.nec-injection-description p {

    margin: 0;

    padding: 0;

    color: #171717;
    font-family: "roboto", sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.7;

}


.nec-injection-description strong {

    font-weight: 700;

}


/* ==========================================
   CTA BUTTON
========================================== */

.nec-injection-button-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 20px;

}


.nec-injection-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 280px;

    min-height: 50px;

    padding: 15px 28px;

    border-radius: 12px;

    background: #08a9e9;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    font-style: italic;

    text-align: center;

    text-decoration: none;

    transition: all 0.3s ease;

}


.nec-injection-button:hover {

    background: #263fa8;

    color: #ffffff;

    transform: translateY(-4px);

    box-shadow: 0 8px 20px rgba(38, 63, 168, 0.18);

}


/* ==========================================
   MACHINE IMAGE + FEATURES LAYOUT
========================================== */

.nec-injection-machine-layout {

    width: 100%;

    display: grid;

    grid-template-columns: 1fr 2.8fr 1fr;

    align-items: end;

    gap: 15px;

    margin-top: 70px;

}


/* ==========================================
   MACHINE IMAGE
========================================== */

.nec-injection-machine-image {

    width: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

}


.nec-injection-machine-image img {

    display: block;

    width: 100%;

    max-width: 850px;

    height: auto;

    object-fit: contain;

    object-position: center bottom;

}


/* ==========================================
   FEATURES
========================================== */

.nec-injection-features {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding-bottom: 10px;

}


.nec-injection-feature {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #526477;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.5;

    white-space: nowrap;

}


/* BLUE CHECK ICON */

.nec-feature-check {

    width: 13px;

    height: 13px;

    min-width: 13px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1.5px solid #35bce9;

    border-radius: 50%;

    color: #35bce9;

    font-size: 9px;

    font-weight: 700;

    line-height: 1;

}


/* LEFT FEATURES */

.nec-left-features {

    align-items: flex-start;

}


/* RIGHT FEATURES */

.nec-right-features {

    align-items: flex-start;

}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1300px) {

    .nec-injection-container {

        width: calc(100% - 65px);

    }

    .nec-injection-machine-layout {

        grid-template-columns: 0.85fr 2.5fr 0.85fr;

        gap: 10px;

    }

    .nec-injection-feature {

        font-size: 15px;

    }

    .nec-injection-machine-image img {

        max-width: 750px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .nec-injection-section {

        padding: 35px 0 50px;

    }

    .nec-injection-container {

        width: calc(100% - 40px);

    }

    .nec-injection-machine-layout {

        grid-template-columns: 1fr 1fr;

        align-items: center;

        gap: 20px;

    }

    .nec-injection-machine-image {

        grid-column: 1 / -1;

        grid-row: 1;

    }

    .nec-injection-machine-image img {

        max-width: 650px;

    }

    .nec-injection-features {

        padding: 0;

        gap: 12px;

    }

    .nec-left-features {

        grid-column: 1;

        grid-row: 2;

    }

    .nec-right-features {

        grid-column: 2;

        grid-row: 2;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .nec-injection-section {

        padding: 30px 0 40px;

    }

    .nec-injection-container {

        width: calc(100% - 28px);

    }

    .nec-injection-heading {

        margin-bottom: 18px;

    }

    .nec-injection-heading h2 {

        font-size: 29px;

        line-height: 1.3;

    }

    .nec-injection-description p {

        font-size: 13px;

        line-height: 1.8;

    }

    .nec-injection-button-wrapper {

        margin-top: 20px;

    }

    .nec-injection-button {

        min-width: 0;

        min-height: 50px;

        padding: 13px 20px;

        font-size: 13px;

    }

    .nec-injection-machine-layout {

        grid-template-columns: 1fr 1fr;

        gap: 18px 10px;

        margin-top: 28px;

    }

    .nec-injection-machine-image img {

        width: 100%;

        max-width: 100%;

    }

    .nec-injection-feature {

        gap: 7px;

        font-size: 12px;

        white-space: normal;

    }

    .nec-feature-check {

        width: 14px;

        height: 14px;

        min-width: 14px;

        font-size: 10px;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .nec-injection-heading h2 {

        font-size: 25px;

    }

    .nec-injection-feature {

        font-size: 11px;

    }

}
/* RIGHT SIDE FEATURES ALIGNMENT */

.nec-right-features {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    text-align: right;
}

.nec-right-features .nec-injection-feature {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    width: max-content;
}



/* ==========================================
   NEC COMPLETE SPECIFICATION TABLE
========================================== */

.nec-machine-specs,
.nec-machine-specs * {
    box-sizing: border-box;
}

.nec-machine-specs {
    width: 100%;
    padding: 50px 100px;
    background: #faf9fc;
    font-family: Arial, sans-serif;
}

/* Hide radio inputs */

.nec-machine-specs input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Main layout */

.nec-spec-layout {
    width: calc(100% - 10px);
    max-width: 1400px;
    margin: auto;

    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

/* ==========================================
   LEFT SIDE TABS
========================================== */

.nec-spec-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nec-spec-tabs label {
    display: flex;
    align-items: center;

    min-height: 50px;
    padding: 12px;

    background: #f0f0f0;
    border: 1px solid #e5e5e5;

    color: #232323;
    font-size: 16px;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.25s ease;
}

.nec-spec-tabs label:hover {
    background: #e0f2f9;
    border-color: #8edaf3;
    color: #203c9d;
}

/* Active tabs */

#spec-injection:checked ~ .nec-spec-layout
.nec-spec-tabs label:nth-child(1),

#spec-locking:checked ~ .nec-spec-layout
.nec-spec-tabs label:nth-child(2),

#spec-electrical:checked ~ .nec-spec-layout
.nec-spec-tabs label:nth-child(3),

#spec-general:checked ~ .nec-spec-layout
.nec-spec-tabs label:nth-child(4) {

    background: #293d9e;
    color: #fff;
    border-color: #293d9e;
}


/* ==========================================
   TABLE PANELS
========================================== */

.nec-spec-tables {
    width: 100%;
    min-width: 0;
}

.nec-spec-panel {
    display: none;
    width: 100%;
    animation: necTableFade 0.3s ease;
}

#spec-injection:checked ~ .nec-spec-layout
.injection-panel,

#spec-locking:checked ~ .nec-spec-layout
.locking-panel,

#spec-electrical:checked ~ .nec-spec-layout
.electrical-panel,

#spec-general:checked ~ .nec-spec-layout
.general-panel {
    display: block;
}

@keyframes necTableFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ==========================================
   TABLE SCROLL
========================================== */

.nec-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;
    scrollbar-color: #293d9e #eeeeee;
}

.nec-table-scroll::-webkit-scrollbar {
    height: 6px;
}

.nec-table-scroll::-webkit-scrollbar-track {
    background: #eee;
}

.nec-table-scroll::-webkit-scrollbar-thumb {
    background: #293d9e;
    border-radius: 10px;
}


/* ==========================================
   TABLE DESIGN
========================================== */

.nec-data-table {
    width: 100%;
    min-width: 900px;

    border-collapse: collapse;
    border-spacing: 0;

    color: #252525;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
}

.nec-data-table th,
.nec-data-table td {
    border: 1px solid #e0e3e9;
    padding: 10px 8px;
    vertical-align: middle;
    line-height: 1.5;
}

/* Default table header */

.nec-data-table thead th {
    background: #faf9fc;
    color: #303030;
    font-weight: 600;
    white-space: nowrap;
}

/* Injection table header */

.injection-table {
    min-width: 1300px;
}

.injection-table thead th {
    padding: 9px 5px;
}

.injection-table tbody td {
    white-space: nowrap;
}

/* Description column */

.nec-data-table tbody td:nth-child(2) {
    text-align: left;
    min-width: 170px;
    white-space: normal;
}

/* First column */

.nec-data-table tbody td:first-child {
    min-width: 45px;
}

/* Alternate row backgrounds */

.nec-data-table tbody tr:nth-child(odd) td {
    background: #c9c9c9;
}

.nec-data-table tbody tr:nth-child(even) td {
    background: #e3e3e3;
}

/* Hover effect */

.nec-data-table tbody tr:hover td {
    background: #d8eafa;
}

/* Purple heading for C and D */

.nec-data-table thead .purple-heading th {
    background: #392397;
    color: #fff;
    padding: 12px 10px;
    font-weight: 600;
}

/* Locking table */

.locking-panel .nec-data-table {
    min-width: 850px;
}

/* Electrical table */

.electrical-panel .nec-data-table,
.general-panel .nec-data-table {
    min-width: 850px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media(max-width: 900px) {

    .nec-spec-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nec-spec-tabs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
    }

    .nec-spec-tabs label {
        justify-content: center;
        text-align: center;
        padding: 10px 5px;
        font-size: 12px;
    }

}

@media(max-width: 550px) {

    .nec-machine-specs {
        padding: 15px 0 30px;
    }

    .nec-spec-layout {
        width: calc(100% - 20px);
    }

    .nec-spec-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .nec-spec-tabs label {
        min-height: 42px;
        font-size: 12px;
    }

    .nec-data-table {
        font-size: 10px;
    }

    .nec-data-table th,
    .nec-data-table td {
        padding: 8px 6px;
    }

}

/* =====================================
   NEC ABOUT CONTENT SECTION
===================================== */

.nec-about-content {
    box-sizing: border-box;
    width: 100%;
    background: #f8f9fb;
    padding: 0 1px;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.nec-content-container {
    width: 87%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 13px;
    box-sizing: border-box;
}

.nec-content-container h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #080808;
    margin: 0 0 27px;
}

.nec-content-container p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #111;
    margin: 0 0 22px;
}

.nec-content-container strong {
    font-weight: 700;
}

.nec-content-container a {
    color: #2448a5;
    font-weight: 700;
    text-decoration: none;
}

.nec-content-container a:hover {
    text-decoration: underline;
}

/* WHY CHOOSE SECTION */

.nec-content-container h2:nth-of-type(2) {
    margin-top: 28px;
    margin-bottom: 28px;
}

.nec-choose-item {
    margin-bottom: 23px;
}

.nec-choose-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #080808;
    margin-bottom: 2px;
}

.nec-choose-item p {
    margin: 0;
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .nec-about-content {
        padding: 15px 0 25px;
    }

    .nec-content-container {
        padding: 0 15px;
    }

    .nec-content-container h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .nec-content-container p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .nec-content-container h2:nth-of-type(2) {
        margin-top: 22px;
        margin-bottom: 20px;
    }

    .nec-choose-item {
        margin-bottom: 18px;
    }

    .nec-choose-item strong {
        font-size: 14px;
    }
}

/* =====================================
   NEC CONTENT SECTION
===================================== */

.nec-content-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0 100px;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    font-size: 15px;
    line-height: 1.65;
}

.nec-content-section h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 24px 0 24px;
}

.nec-content-section p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    margin: 24px 0;
    color: #111;
}

.nec-content-section ul {
    padding-left: 38px;
    margin: 20px 0 26px;
}

.nec-content-section li {
    font-size: 15px;
    line-height: 1.65;
    padding-left: 0;
    margin-bottom: 0;
    color: #111;
}

.nec-content-section li::marker {
    color: #888;
}

.nec-content-section strong {
    font-weight: 700;
}

.nec-content-section a {
    color: #173fa6;
    text-decoration: none;
    font-weight: 700;
}

.nec-content-section a:hover {
    text-decoration: underline;
}


/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 768px) {

    .nec-content-section h2 {
        font-size: 24px;
        margin: 20px 0;
    }

    .nec-content-section p,
    .nec-content-section li {
        font-size: 14px;
    }

    .nec-content-section ul {
        padding-left: 25px;
    }

}

/* =====================================
   NEC FAQ SECTION
===================================== */

.nec-faq-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 100px;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.nec-faq-section h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin: 0 0 28px;
}

.nec-faq-item {
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
}

.nec-faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #111;
    margin: 0 0 3px;
}

.nec-faq-item p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #111;
    margin: 0;
}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1024px) {

    .nec-content-section,
    .nec-faq-section {
        padding: 0 40px;
    }

}

@media (max-width: 768px) {

    .nec-content-section,
    .nec-faq-section {
        padding: 0 18px;
    }

    .nec-faq-section h2 {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .nec-faq-item h3 {
        font-size: 14px;
    }

    .nec-faq-item p {
        font-size: 14px;
    }

    .nec-faq-item {
        margin-bottom: 20px;
    }

}


.nec-injection-heading h1{
    font-family: "League Spartan", sans-serif;
    font-size: clamp(32px, 5vw, 75px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.3px;
    color: #263fa8;
    margin-bottom: 10px;
    margin-top: 10px;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {

    .nec-injection-heading h1 {
        font-size: 29px;
        line-height: 1.3;
    }

}

@media (max-width: 380px) {

    .nec-injection-heading h1 {
        font-size: 25px;
    }

}