
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;
}
/* ==========================================
   NARESH ENGINEERING CORPORATION
   QUALITY POLICY HERO
========================================== */

.quality-hero,
.quality-hero * {
    box-sizing: border-box;
}


/* MAIN HERO */

.quality-hero {

    position: relative;

    width: calc(100% - 30px);

    height: 535px;

    min-height: 450px;

    margin: 15px auto 0;

    overflow: hidden;

    border-radius: 23px;

    background: #183d66;

}


/* BACKGROUND IMAGE */

.quality-hero-image {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    z-index: 1;

}


/* EXISTING HEADER */

#site-header {

    position: relative;

    width: 100%;

    z-index: 10;

}


/* TABLET RESPONSIVE */

@media (max-width: 1000px) {

    .quality-hero {

        width: calc(100% - 24px);

        height: 480px;

        min-height: 420px;

        border-radius: 20px;

    }

}


/* MOBILE RESPONSIVE */

@media (max-width: 650px) {

    .quality-hero {

        width: calc(100% - 20px);

        height: 420px;

        min-height: 380px;

        margin-top: 10px;

        border-radius: 17px;

    }

    .quality-hero-image {

        object-position: center center;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .quality-hero {

        height: 370px;

        min-height: 370px;

    }

}

/* ==========================================
   QUALITY POLICY CONTENT SECTION
========================================== */

.nec-quality-content-section,
.nec-quality-content-section * {
    box-sizing: border-box;

}


/* MAIN SECTION */

.nec-quality-content-section {

    position: relative;

    width: calc(100% - 10px);

    max-width: 1300px;

    min-height: 500px;

    margin: 70px auto;

    padding: 10px 60px;

    border-radius: 30px;

    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(12, 18, 65, 0.85),
            rgba(12, 18, 65, 0.85)
        ),
        url("/images/quality-bg.jpeg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}


/* ==========================================
   MAIN CONTAINER
========================================== */

.nec-quality-content-container {

    width: 100%;

    min-height: 500px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) 350px;

    align-items: center;

    gap: 80px;

}


/* ==========================================
   LEFT CONTENT
========================================== */

.nec-quality-text {

    width: 100%;

    color: #ffffff;

}


.nec-quality-text h2 {

    margin: 0 0 10px;

    padding: 0;

    color: #ffffff;

    font-family: "league spartan", sans-serif;

    font-size: 35px;

    font-weight: 600;

    line-height: 1.3;

}


.nec-quality-text p {

    margin: 0 0 30px;

    padding: 0;

    color: #ffffff;

    font-family: "roboto", sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.85;

}


.nec-quality-text p:last-child {

    margin-bottom: 0;

}


.nec-quality-text strong {

    color: #ffffff;

    font-weight: 700;

}


/* ==========================================
   RIGHT SIDE IMAGE
========================================== */

.nec-quality-side-image {

    width: 100%;

    height: 450px;

    padding: 6px;

    background: #ffffff;

    border-radius: 25px;

    overflow: hidden;

}


.nec-quality-side-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    border-radius: 20px;

    transition: transform 0.5s ease;

}


/* IMAGE HOVER */

.nec-quality-side-image:hover img {

    transform: scale(1.025);

}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1400px) {

    .nec-quality-content-section {

        width: calc(100% - 100px);

        padding: 45px;

    }

    .nec-quality-content-container {

        grid-template-columns: minmax(0, 1fr) 350px;

        gap: 35px;

    }

    .nec-quality-text h2 {

        font-size: 34px;

    }

    .nec-quality-text p {

        font-size: 15px;

        line-height: 1.85;

        margin-bottom: 22px;

    }

    .nec-quality-side-image {

        height: 460px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {

    .nec-quality-content-section {

        width: calc(100% - 50px);

        min-height: auto;

        margin: 45px auto;

        padding: 35px;

        border-radius: 25px;

    }

    .nec-quality-content-container {

        min-height: auto;

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .nec-quality-text h2 {

        font-size: 32px;

    }

    .nec-quality-text p {

        font-size: 16px;

        line-height: 1.85;

    }

    .nec-quality-side-image {

        width: 100%;

        height: auto;

        aspect-ratio: 16 / 9;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

    .nec-quality-content-section {

        width: calc(100% - 24px);

        margin: 30px auto;

        padding: 25px 20px;

        border-radius: 20px;

    }

    .nec-quality-content-container {

        gap: 25px;

    }

    .nec-quality-text h2 {

        font-size: 26px;

        margin-bottom: 15px;

    }

    .nec-quality-text p {

        font-size: 14px;

        line-height: 1.8;

        margin-bottom: 18px;

    }

    .nec-quality-side-image {

        height: 380px;

        aspect-ratio: auto;

        padding: 5px;

        border-radius: 17px;

    }

    .nec-quality-side-image img {

        border-radius: 13px;

    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .nec-quality-content-section {

        padding: 22px 15px;

    }

    .nec-quality-text h2 {

        font-size: 23px;

    }

    .nec-quality-text p {

        font-size: 13px;

    }

    .nec-quality-side-image {

        height: 320px;

    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .nec-quality-side-image img {

        transition: none;

    }

}

/* ==========================================
   NARESH ENGINEERING CORPORATION
   INQUIRY SECTION
========================================== */

.nec-inquiry-section,
.nec-inquiry-section * {
    box-sizing: border-box;
}


/* MAIN SECTION */

.nec-inquiry-section {

    width: 100%;

    padding: 0 100px 50px 100px;

    margin: 0;

    

    font-family: "roboto", sans-serif;

    color: #111111;

}


/* MAIN CONTAINER */

.nec-inquiry-container {

    width: calc(100% - 10px);

    max-width: 1400px;

    margin: 0 auto;

}


/* ==========================================
   SECTION HEADING
========================================== */

.nec-inquiry-heading {

    width: 100%;

    text-align: center;

    margin-bottom: 20px;

}


.nec-inquiry-heading h2 {

    margin: 0 0 10px;

    padding: 0;

    color: #080808;

    font-family: "league spartan", sans-serif;

    font-size: 30px;

    font-weight: 600;

    line-height: 1.4;

}


.nec-inquiry-heading p {

    margin: 0 auto;

    max-width: 1600px;

    color: #252525;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.8;

}


/* ==========================================
   MAIN TWO COLUMN LAYOUT
========================================== */

.nec-inquiry-main {

    width: 100%;

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    align-items: center;

    gap: 40px;

}


/* ==========================================
   LEFT IMAGE
========================================== */

.nec-inquiry-image {

    width: 100%;

    height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: visible;

}


.nec-inquiry-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center;

}


/* ==========================================
   RIGHT FORM WRAPPER
========================================== */

.nec-inquiry-form-wrapper {

    width: 100%;

    min-width: 0;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 11px;

}


/* FORM */

.nec-inquiry-form {

    width: 100%;

    margin: 0;

    padding: 0;

}


/* FORM HEADING */

.nec-inquiry-form h3 {

    margin: 0 0 19px;

    padding: 0;

    color: #111111;

    font-family: "Poppins", sans-serif;

    font-size: 20px;

    font-weight: 600;

    line-height: 1.4;

}


/* ==========================================
   FORM ROW
========================================== */

.nec-form-row {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 15px;

}


/* FORM GROUP */

.nec-form-group {

    width: 100%;

    margin-bottom: 25px;

    display: flex;

    flex-direction: column;

}


/* LABEL */

.nec-form-group label {

    margin-bottom: 11px;

    color: #303c50;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 400;

}


/* INPUT */

.nec-form-group input {

    width: 100%;

    height: 40px;

    padding: 0 14px;

    border: 1px solid #dce2eb;

    border-radius: 3px;

    outline: none;

    background: #ffffff;

    color: #222222;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    transition: border-color 0.3s ease;

}


/* TEXTAREA */

.nec-form-group textarea {

    width: 100%;

    height: 170px;

    min-height: 170px;

    padding: 12px 14px;

    border: none;

    border-radius: 3px;

    outline: none;

    resize: vertical;

    background: #f7f7f7;

    color: #222222;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    transition: border-color 0.3s ease;

}


/* PLACEHOLDER */

.nec-form-group input::placeholder,
.nec-form-group textarea::placeholder {

    color: #9aa5b5;

    opacity: 1;

}


/* INPUT FOCUS */

.nec-form-group input:focus,
.nec-form-group textarea:focus {

    border-color: #263da8;

}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.nec-inquiry-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 150px;

    height: 41px;

    padding: 0 22px;

    border: none;

    border-radius: 3px;

    background: #263da8;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.nec-inquiry-submit:hover {

    background: #172c88;

    transform: translateY(-2px);

}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1400px) {

    .nec-inquiry-container {

        width: calc(100% - 60px);

    }

    .nec-inquiry-main {

        gap: 30px;

    }

    .nec-inquiry-image {

        height: 500px;

    }

    .nec-inquiry-form-wrapper {

        padding: 25px;

    }

    .nec-inquiry-heading h2 {

        font-size: 27px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {

    .nec-inquiry-section {

        padding: 35px 0 45px;

    }

    .nec-inquiry-container {

        width: calc(100% - 40px);

    }

    .nec-inquiry-main {

        grid-template-columns: 1fr;

        gap: 30px;

    }

    .nec-inquiry-image {

        height: 430px;

    }

    .nec-inquiry-heading p {

        font-size: 14px;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

    .nec-inquiry-section {

        padding: 30px 0 40px;

    }

    .nec-inquiry-container {

        width: calc(100% - 30px);

    }

    .nec-inquiry-heading {

        margin-bottom: 25px;

    }

    .nec-inquiry-heading h2 {

        font-size: 23px;

        line-height: 1.4;

    }

    .nec-inquiry-heading p {

        font-size: 13px;

        line-height: 1.75;

    }

    .nec-inquiry-main {

        gap: 22px;

    }

    .nec-inquiry-image {

        height: 300px;

    }

    .nec-inquiry-form-wrapper {

        padding: 22px 17px;

        border-radius: 9px;

    }

    .nec-inquiry-form h3 {

        font-size: 18px;

    }

    .nec-form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .nec-form-group {

        margin-bottom: 19px;

    }

    .nec-form-group input {

        height: 43px;

    }

    .nec-form-group textarea {

        height: 140px;

        min-height: 140px;

    }

    .nec-inquiry-submit {

        width: 100%;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .nec-inquiry-container {

        width: calc(100% - 24px);

    }

    .nec-inquiry-heading h2 {

        font-size: 21px;

    }

    .nec-inquiry-image {

        height: 250px;

    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .nec-inquiry-submit,
    .nec-form-group input,
    .nec-form-group textarea {

        transition: none;

    }

}
