/* ========================= GLOBAL ========================= */
body {
    overflow-x: hidden;
}
*, *::before, *::after {
    box-sizing: border-box;
}
.home-page {
    overflow-x: hidden;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}


.home-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}


.home-page h2 {
    text-transform: uppercase;
    color: #0095da;
    font-weight: 700;
    margin-bottom: 20px;
}


/* ========================= BUTTON ========================= */
.home-page .primary-btn {
    background: #818285;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    width: fit-content;     /* 🔥 KEY FIX */
    align-self: flex-start;
    transition: 0.3s;
}


.home-page .primary-btn:hover {
    background: #007cc3;
    border: 1px solid #fff;
}


/* ========================================================= */
/* ========================= HERO =========================== */
/* ========================================================= */


/* ================= HERO WRAPPER ================= */
/* ================= HERO ================= */
.home-page .hero-slider {
    position: relative;
    overflow: hidden;
}


/* SLIDE */
.home-page .slide {
    height: 520px;
    display: flex !important;
}


/* CONTAINER */
.home-page .hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}


/* ================= LEFT (BLUE PANEL) ================= */
.home-page .hero-left {
    width: 55%;
    height: 100%;
    background: #007CC3;
    color: #fff;


    display: flex;
    flex-direction: column;
    justify-content: center;


    padding: 60px 50px;


    clip-path: polygon(0 0, 85% 0, 70% 100%, 0% 100%);
}


/* TEXT */
.home-page .hero-left h1 {
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
    max-width: 75%;
}


.home-page .hero-left p {
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 75%;
}


/* BUTTON */
.home-page .primary-btn {
    display: inline-block;
    width: auto;
    background: #818285;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
}


/* ================= RIGHT IMAGE ================= */
.home-page .hero-right {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.home-page .hero-right img {
    width: 480px;
    height: 520px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}



/* ================= ARROWS ================= */
.home-page .slick-prev,
.home-page .slick-next {
    width: 35px;
    height: 35px;
    background: #818285;
    border-radius: 50%;
    z-index: 10;
    top: 45%;
    transform: translateY(-50%);
}


.home-page .slick-prev { left: 15px !important; }
.home-page .slick-next { right: 15px !important; }


.home-page .slick-prev:before,
.home-page .slick-next:before {
    color: #fff;
    font-size: 18px;
}



/* ================= TABLET ================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .home-page .slide {
        height: 450px;
    }

    .home-page .hero-left {
        width: 52%;
        padding: 35px 35px;
    }

    .home-page .hero-left h1 {
        font-size: 32px;
        max-width: 90%;
    }

    .home-page .hero-left p {
        font-size: 15px;
        max-width: 85%;
    }

    .home-page .hero-right {
        width: 48%;
    }

    .home-page .hero-right img {
        width: 100%;
        height: 400px;
        object-fit: contain;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .home-page .slide {
        height: 520px !important;
        min-height: 520px;
        display: flex !important;
        overflow: hidden;
    }

    .home-page .hero-container {
        flex-direction: column;
        height: 100%;
        min-height: 0;
        align-items: stretch;
        text-align: center;
    }

    /* BLUE TEXT PANEL */
    .home-page .hero-left {
        order: 2;
        width: 100%;
        height: 300px;
        box-sizing: border-box;
        clip-path: none;
        padding: 15px 20px;
        align-items: center;
        justify-content: center;
        flex: 0 0 300px;
        box-sizing: border-box;
    }

    .home-page .hero-left h1 {
        font-size: clamp(22px, 5.5vw, 30px);
        line-height: 1.25;
        max-width: 100%;
        margin: 0 0 12px;
    }

    .home-page .hero-left p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 100%;
        margin: 0 0 18px;
    }

    /* PRODUCT IMAGE */
    .home-page .hero-right {
        order: 1;
        width: 100%;
        height: 220px;
        box-sizing: border-box;
        padding: 10px 35px;
        flex: 0 0 220px;
    }

    .home-page .hero-right img {
        display: block;
        width: 100%;
        max-width: 320px;
        height: 200px;
        max-height: none;
        object-fit: contain;
        margin: 0 auto;
    }

    /* CTA */
    .home-page .primary-btn {
        display: inline-block;
        align-self: center;
        padding: 11px 24px;
        font-size: 14px;
    }

    /* SLIDER ARROWS */
    .home-page .slick-prev,
    .home-page .slick-next {
        width: 30px;
        height: 30px;
        top: 25%;
        transform: translateY(-50%);
    }

    .home-page .slick-prev {
        left: 5px !important;
    }

    .home-page .slick-next {
        right: 5px !important;
    }

    .home-page .slick-prev:before,
    .home-page .slick-next:before {
        font-size: 16px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
    .home-page .hero-left {
        padding: 22px 18px 25px;
    }

    .home-page .hero-left h1 {
        font-size: 23px;
    }

    .home-page .hero-left p {
        font-size: 13px;
    }

    .home-page .hero-right img {
        max-width: 260px;
        max-height: 190px;
    }
}



/* ========================================================= */
/* ===================== ICON BOX =========================== */
/* ========================================================= */


/* ================= ICON BOX ================= */
.home-page .icon-box-section {
    padding: 60px 0;
}


.home-page .icon-box-wrapper {
    display: flex;
    gap: 30px; /* 🔥 IMPORTANT FIX */
}


.home-page .icon-box {
    flex: 1;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 2px 4px 12px #00000014;
    text-align: center;
    position: relative;
    transition: 0.3s ease;
}


.home-page .icon-box img {
    width: 70px;
    margin-top: -35px;
}


.home-page .icon-box h3 {
    font-size: 20px;
    margin-top: 10px;
}


.home-page .icon-box p {
    font-size: 15px;
}


/* hover */
.home-page .icon-box:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 30px #0000001a;
}


/* ICON MOBILE */
@media (max-width: 768px) {


    .home-page .icon-box-wrapper {
        flex-direction: column;   /* 🔥 ONLY THIS NEEDED */
        gap: 20px;
        padding: 0 15px;          /* 🔥 prevent edge overflow */
    }


    .home-page .icon-box {
        width: 100%;
    }


}
@media (max-width: 768px) {
    .home-page .icon-box-section {
        padding: 40px 10px;   /* reduce side push */
    }
}


/* ========================================================= */
/* ======================= ABOUT ============================ */
/* ========================================================= */


.home-page #about-ntex {
    padding: 60px 0;
    background: #e9e9e9;
}


.home-page #about-ntex .row {
    display: flex;
    align-items: center;
    gap: 30px;
}


.home-page #about-ntex .text-col {
    flex: 1.5;
}


.home-page #about-ntex .image-col {
    flex: 1;
    text-align: center;
}


.home-page #about-ntex .logo {
    max-width: 100%;
}


/* ABOUT MOBILE */
@media (max-width: 768px) {
    .home-page #about-ntex .row {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================================================= */
/* ===================== INDUSTRIES ========================= */
/* ========================================================= */


.home-page .mv-section {
    padding: 60px 20px;
}


.home-page .mv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.home-page .mv-card {
    min-height: 300px;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
}


.home-page .mv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}


.home-page .mv-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}


/* INDUSTRIES MOBILE */
@media (max-width: 768px) {
    .home-page .mv-container {
        grid-template-columns: 1fr;
    }
}



/* ================= PRODUCTS SECTION ================= */

.home-page .products-section {
    padding: 40px 0 60px;
    background: #e9e9e9;
    overflow: hidden;
}

.home-page .products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.home-page .products-header h2 {
    color: #007CC3;
}

/* ================= PRODUCTS SLIDER ================= */

.home-page .products-slider {
    display: flex;
    align-items: stretch;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-page .products-slider::-webkit-scrollbar {
    display: none;
}

.home-page .products-wrapper {
    overflow: hidden;
}

/* ================= PRODUCT CARD ================= */

.home-page .product-card {
    flex: 0 0 calc((100% - 60px) / 4);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 12px 12px 20px;
    min-height: 420px;
    min-width: 0;
}

/* Product image area */

.home-page .product-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Product title */

.home-page .product-card h3 {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 4px;
    padding: 0 8px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    color: #252525;
}

/* ================= CTA BUTTON ================= */

.home-page .product-card .product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    min-height: 48px;
    box-sizing: border-box;
    margin-top: auto;
    padding: 12px 20px;
    background: #fff;
    color: #007CC3;
    border: 1px solid #007CC3;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    transition: background 0.25s ease,
                color 0.25s ease,
                border-color 0.25s ease;
}

.home-page .product-card .product-cta:hover {
    background: #007CC3;
    color: #fff;
    border-color: #007CC3;
}

/* ================= TABLET & MOBILE ================= */

@media (max-width: 768px) {
    .home-page .products-section {
        padding: 30px 0 40px;
    }

    .home-page .products-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .home-page .products-slider {
        gap: 16px;
    }

    .home-page .product-card {
        flex-basis: 280px;
        min-height: 440px;
        padding: 12px 12px 20px;
    }

    .home-page .product-card img {
        height: 220px;
    }

    .home-page .product-card h3 {
        font-size: 21px;
        min-height: 60px;
    }

    .home-page .product-card .product-cta {
        width: 190px;
        min-height: 54px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .home-page .product-card {
        flex-basis: 260px;
        min-height: 420px;
    }

    .home-page .product-card img {
        height: 200px;
    }
}



/* ========================================================= */
/* ========================= MAP ============================ */
/* ========================================================= */


.home-page #global-reach {
    padding: 60px 0;
}


.home-page #global-reach img {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: auto;
}


/* ========================================================= */
/* ================= HERO ARROWS ============================ */
/* ========================================================= */
.home-page .slick-prev,
.home-page .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);


    width: 38px;
    height: 38px;
    background: #818285;
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;
}


/* positions */
.home-page .slick-prev {
    left: 15px;
}


.home-page .slick-next {
    right: 15px;
}


/* icon */
.home-page .slick-prev:before,
.home-page .slick-next:before {
    color: #fff;
    font-size: 18px;
    opacity: 1;
}


/* hover */
.home-page .slick-prev:hover,
.home-page .slick-next:hover {
    background: #0095da;
}

