

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-contact-hero,
.nec-contact-hero * {
    box-sizing: border-box;
}


/* MAIN HERO */

.nec-contact-hero {

    position: relative;

    width: calc(100% - 30px);

    height: 530px;

    min-height: 450px;

    margin: 15px auto 0;

    overflow: hidden;

    border-radius: 22px;

    background: #102735;

}


/* CONTACT BANNER IMAGE */

.nec-contact-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 */

.nec-contact-hero #site-header {

    position: relative;

    z-index: 10;

    width: 100%;

}


/* ==========================================
   LARGE LAPTOP
========================================== */

@media (max-width: 1400px) {

    .nec-contact-hero {

        height: 500px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {

    .nec-contact-hero {

        width: calc(100% - 10px);

        height: 430px;

        min-height: 400px;

        border-radius: 19px;

    }

    .nec-contact-hero-image {

        object-position: center center;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

    .nec-contact-hero {

        width: calc(100% - 20px);

        height: 350px;

        min-height: 320px;

        margin-top: 10px;

        border-radius: 15px;

    }

    .nec-contact-hero-image {

        object-position: center center;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .nec-contact-hero {

        height: 300px;

        min-height: 300px;

    }

}

/* ==========================================
   CONTACT DETAILS & INQUIRY SECTION
========================================== */

.nec-contact-details-section,
.nec-contact-details-section * {
    box-sizing: border-box;
}


/* MAIN SECTION */

.nec-contact-details-section {

    width: 100%;
    padding: 50px 100px;
    margin: 0;
    background: #f9f8fc;
    font-family: "roboto", sans-serif;
    color: #111;

}


/* MAIN CONTAINER */

.nec-contact-details-container {

    width: calc(100% - 10px);
    max-width: 1400px;
    margin: 0 auto;

}


/* ==========================================
   ANIMATED HEADING
========================================== */

.nec-animated-heading-wrapper {

    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 25px;

}


.nec-animated-heading {

    width: 100%;
    margin: 0;
    padding: 0 10px;

    color: #263fa8;

    font-family: "roboto", sans-serif;
    font-size: clamp(30px, 3.7vw, 58px);
    font-weight: 700;
    line-height: 1.25;

    text-align: center;
    letter-spacing: 0.2px;

    opacity: 1;
    transform: translateY(0);

}


/* Heading fade animation */

.nec-animated-heading.nec-heading-hide {

    opacity: 0;
    transform: translateY(-18px);

}

.nec-animated-heading.nec-heading-show {

    animation: necHeadingEnter 0.65s ease forwards;

}


@keyframes necHeadingEnter {

    0% {

        opacity: 0;
        transform: translateY(18px);

    }

    100% {

        opacity: 1;
        transform: translateY(0);

    }

}


/* ==========================================
   TWO COLUMN LAYOUT
========================================== */

.nec-contact-details-grid {

    width: 100%;

    display: grid;

    grid-template-columns: 0.98fr 1.5fr;

    align-items: stretch;

    gap:50px;

}


/* ==========================================
   LEFT CONTACT PANEL
========================================== */

.nec-contact-info-panel {

    width: 100%;

    padding: 30px 25px;

    background: #f1f0f4;

    border-radius: 25px;

    display: flex;

    flex-direction: column;

    gap: 22px;

}


/* CONTACT CARD */

.nec-contact-info-card {

    width: 100%;

    min-height: 80px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 10px 13px;

    background: #ffffff;

    border-radius: 40px;

    text-decoration: none;

    color: #111111;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


/* CARD HOVER */

.nec-contact-info-card:hover {

    transform: translateX(4px);

    box-shadow: 0 5px 18px rgba(35, 60, 150, 0.10);

}


/* BLUE ICON CIRCLE */

.nec-contact-info-icon {

    width: 40px;

    height: 40px;

    min-width: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #4a5db0;

    color: #ffffff;

}


.nec-contact-info-icon svg {

    width: 20px;

    height: 20px;

    display: block;

}


/* CONTACT TEXT */

.nec-contact-info-text {

    flex: 1;

    min-width: 0;

}


.nec-contact-info-text h3 {

    margin: 0 0 5px;

    padding: 0;

    color: #111111;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.3;

}


.nec-contact-info-text p {

    margin: 0;

    padding: 0;

    color: #333333;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.65;

}


/* ADDRESS CARD */

.nec-address-card {

    align-items: flex-start;

    min-height: 110px;

}


.nec-address-card .nec-contact-info-icon {

    margin-top: 2px;

}


/* ==========================================
   RIGHT FORM AREA
========================================== */

.nec-contact-form-area {

    width: 100%;

    min-width: 0;

    padding: 5px 0 0;

}


/* FORM HEADING */

.nec-contact-form-title {

    display: inline-block;

    margin: 0 0 20px;

    padding: 0 0 15px;

    color: #111111;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.4;

    border-bottom: 2px solid #222222;

}


/* FORM */

.nec-contact-inquiry-form {

    width: 100%;

    margin: 0;

    padding: 0;

}


/* TWO INPUT ROW */

.nec-contact-form-row {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

}


/* FORM GROUP */

.nec-contact-form-group {

    width: 100%;

    min-width: 0;

    display: flex;

    flex-direction: column;

    margin-bottom: 20px;

}


/* LABEL */

.nec-contact-form-group label {

    margin: 0 0 13px;

    padding: 0;

    color: #26334b;

    font-size: 14px;

    font-weight: 500;

}


.nec-contact-form-group label span {

    color: #e02b2b;

}


/* INPUT */

.nec-contact-form-group input {

    width: 100%;

    height: 40px;

    padding: 0 14px;

    border: 1px solid #dcdce2;

    border-radius: 8px;

    outline: none;

    background: #ffffff;

    color: #222222;

    font-family: "league spartan", sans-serif;

    font-size: 15px;

    transition: border-color 0.3s ease;

}


/* TEXTAREA */

.nec-contact-form-group textarea {

    width: 100%;

    height: 150px;

    min-height: 150px;

    padding: 14px;

    border: 1px solid #dcdce2;

    border-radius: 8px;

    outline: none;

    resize: vertical;

    background: #ffffff;

    color: #222222;

    font-family: "league spartan", sans-serif;

    font-size: 14px;

    transition: border-color 0.3s ease;

}


/* PLACEHOLDER */

.nec-contact-form-group input::placeholder,
.nec-contact-form-group textarea::placeholder {

    color: #b1b1ba;

    opacity: 1;

}


/* INPUT FOCUS */

.nec-contact-form-group input:focus,
.nec-contact-form-group textarea:focus {

    border-color: #344db2;

    box-shadow: 0 0 0 3px rgba(52, 77, 178, 0.08);

}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.nec-contact-submit-btn {

    min-width: 150px;

    height: 42px;

    padding: 0 22px;

    border: none;

    border-radius: 4px;

    background: #263fa8;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;

}


.nec-contact-submit-btn:hover {

    background: #172c86;

    transform: translateY(-2px);

}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1400px) {

    .nec-contact-details-container {

        width: calc(100% - 70px);

    }

    .nec-contact-details-grid {

        grid-template-columns: 0.8fr 1.4fr;

        gap: 30px;

    }

    .nec-contact-info-panel {

        padding: 25px 18px;

        gap: 18px;

    }

    .nec-contact-info-text h3 {

        font-size: 16px;

    }

    .nec-contact-info-text p {

        font-size: 13px;

    }

    .nec-contact-form-title {

        font-size: 23px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) {

    .nec-contact-details-section {

        padding: 45px 0 55px;

    }

    .nec-contact-details-container {

        width: calc(100% - 45px);

    }

    .nec-contact-details-grid {

        grid-template-columns: 1fr;

        gap: 35px;

    }

    .nec-contact-info-panel {

        padding: 25px;

    }

    .nec-animated-heading-wrapper {

        min-height: 75px;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 650px) {

    .nec-contact-details-section {

        padding: 35px 0 45px;

    }

    .nec-contact-details-container {

        width: calc(100% - 28px);

    }

    .nec-animated-heading-wrapper {

        min-height: 85px;

        margin-bottom: 20px;

    }

    .nec-animated-heading {

        font-size: 25px;

        line-height: 1.35;

    }

    .nec-contact-details-grid {

        gap: 25px;

    }

    .nec-contact-info-panel {

        padding: 20px 15px;

        gap: 15px;

        border-radius: 20px;

    }

    .nec-contact-info-card {

        min-height: 70px;

        gap: 12px;

        padding: 10px 12px;

    }

    .nec-contact-info-icon {

        width: 40px;

        height: 40px;

        min-width: 40px;

    }

    .nec-contact-info-text h3 {

        font-size: 15px;

    }

    .nec-contact-info-text p {

        font-size: 13px;

        overflow-wrap: anywhere;

    }

    .nec-address-card {

        min-height: 95px;

    }

    .nec-contact-form-area {

        padding: 0 3px;

    }

    .nec-contact-form-title {

        font-size: 21px;

        margin-bottom: 22px;

    }

    .nec-contact-form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }

    .nec-contact-form-group {

        margin-bottom: 20px;

    }

    .nec-contact-form-group label {

        font-size: 13px;

        margin-bottom: 10px;

    }

    .nec-contact-form-group input {

        height: 47px;

        font-size: 13px;

    }

    .nec-contact-form-group textarea {

        height: 130px;

        min-height: 130px;

        font-size: 13px;

    }

    .nec-contact-submit-btn {

        width: 100%;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .nec-animated-heading {

        font-size: 22px;

    }

    .nec-contact-info-text h3 {

        font-size: 14px;

    }

    .nec-contact-info-text p {

        font-size: 12px;

    }

    .nec-contact-form-title {

        font-size: 19px;

    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .nec-contact-info-card,
    .nec-contact-submit-btn {

        transition: none;

    }

}

/* ==========================================
   GOOGLE MAP LOCATION SECTION
========================================== */

.nec-location-map-section {

    width: 100%;

    padding: 20px 0 50px;

    background: #f9f8fc;

}


/* MAP CONTAINER */

.nec-location-map-container {

    width: calc(100% - 100px);

    max-width: 1420px;

    height: 430px;

    margin: 0 auto;

    overflow: hidden;

}


/* GOOGLE MAP IFRAME */

.nec-location-map-container iframe {

    display: block;

    width: 100%;

    height: 100%;


    border-radius: 20px;

}


/* ==========================================
   LAPTOP RESPONSIVE
========================================== */

@media (max-width: 1200px) {

    .nec-location-map-container {

        width: calc(100% - 60px);

        height: 400px;

    }

}


/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 768px) {

    .nec-location-map-section {

        padding: 10px 0 55px;

    }

    .nec-location-map-container {

        width: calc(100% - 35px);

        height: 350px;

    }

}


/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 550px) {

    .nec-location-map-container {

        width: calc(100% - 24px);

        height: 300px;

    }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

    .nec-location-map-container {

        height: 260px;

    }

}
