* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.zylox-products-page {

    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #061d58;
    font-family: "Poppins", sans-serif;

}


.products-container {

    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

}


/* =========================================================
   HERO SECTION
========================================================= */

.products-hero {

    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* background: #061d58; */
    background-image: url(../images/Hero-4.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: 50%;

}


/* BACKGROUND IMAGE */

.products-hero-bg {

    position: absolute;
    inset: 0;
    background-image: url("https://zyloxelectronics.com/wp-content/uploads/2026/06/Emerging-Technology-Semiconductor-Solutions.webp");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);

}


/* DARK BLUE OVERLAY */

.products-hero-bg::after {

    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 17, 53, 0.96) 0%, rgba(6, 29, 88, 0.91) 43%, rgb(6 29 88 / 13%) 72%, rgb(3 15 44 / 68%) 100%)
}


/* TECH PATTERN */

.products-hero-pattern {

    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:

        radial-gradient(circle at 15% 25%,
            rgba(0, 200, 255, 0.55) 1px,
            transparent 1.5px),

        radial-gradient(circle at 80% 70%,
            rgba(37, 99, 235, 0.6) 1px,
            transparent 1.5px);

    background-size: 30px 30px, 42px 42px;
    pointer-events: none;

}


/* HERO CONTENT */

.products-hero-content {

    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 360px;
    gap: 60px;
    align-items: center;

}


/* HERO TEXT */

.products-hero-text {
    max-width: 760px;
}


.products-eyebrow {

    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #00c8ff;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.8px;

}


.products-eyebrow::before {

    content: "";
    width: 30px;
    height: 2px;
    background: #00c8ff;

}


.products-hero h1 {

    margin: 0 0 24px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.4px;

}


.products-hero h1 span {

    display: block;
    color: #3d7df5;

}


.products-hero p {

    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;

}


.products-hero-line {

    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;

}


.products-hero-line span {

    width: 55px;
    height: 2px;
    background: #2563eb;

}


.products-hero-line small {

    color: rgba(255, 255, 255, 0.5);
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;

}


/* =========================================================
   HERO SIDE CARDS
========================================================= */

.products-hero-side {

    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;

}


.hero-tech-card {

    min-height: 92px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    align-items: center;
    padding: 17px 19px;
    background:
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;

}


.hero-tech-card:hover {

    transform: translateX(-5px);
    background:
        rgba(37, 99, 235, 0.2);
    border-color:
        rgba(0, 200, 255, 0.55);

}


.hero-tech-card .material-symbols-outlined {

    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        rgba(37, 99, 235, 0.9);
    border-radius: 10px;
    color: #ffffff;
    font-size: 25px;

}


.hero-tech-card strong {

    align-self: end;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700;

}


.hero-tech-card small {

    align-self: start;
    color:
        rgba(255, 255, 255, 0.58);
    font-size: 11px;

}


/* =========================================================
   INTRO SECTION
========================================================= */

.products-intro {

    padding: 75px 0 45px;
    background: #ffffff;

}


.products-intro .products-container {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 430px;
    gap: 70px;
    align-items: end;

}


.products-intro-heading>span {

    display: block;
    margin-bottom: 12px;
    color: #2563eb;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;

}


.products-intro h2 {

    max-width: 650px;
    margin: 0;
    color: #061d58;
    font-family: "Roboto", sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;

}


.products-intro h2 strong {

    color: #2563eb;

}


.products-intro p {

    margin: 0;
    color: #63738a;
    font-size: 14px;
    line-height: 1.85;

}


/* =========================================================
   PRODUCT CATALOG
========================================================= */

.products-catalog {

    padding: 20px 0 0px;
    background:
        linear-gradient(180deg,
            #f8fbfe 0%,
            #ffffff 100%);
}


.product-section {

    padding: 70px 0;
    border-bottom:
        1px solid #e4eaf2;

}


.product-section:first-child {

    padding-top: 45px;

}


.product-section:last-child {

    border-bottom: none;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.product-section-heading {

    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;

}


.product-section-number {

    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    border-radius: 50%;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.18);

}


.product-section-heading-content {

    min-width: 0;

}


.product-section-label {

    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

}


.product-section-title {

    margin: 0;
    color: #061d58;
    font-family: "Roboto", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;

}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-section-grid {

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;

}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {

    position: relative;
    min-width: 0;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0d1526;
    border:
        1px solid #1a2540;
    border-radius: 14px;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}


.product-card:hover {

    transform:
        translateY(-6px);
    border-color:
        #2563eb;
    box-shadow:
        0 18px 38px rgba(6, 29, 88, 0.14);

}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-card-image {

    position: relative;
    height: 225px;
    flex-shrink: 0;
    overflow: hidden;
    background: #16243c;

}


.product-card-image::after {

    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.28));

}


.product-card-image img {

    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.45s ease;

}


.product-card:hover .product-card-image img {

    transform:
        scale(1.055);

}


/* =========================================================
   CARD BODY
========================================================= */

.product-card-body {

    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 19px 19px 18px;

}


.product-card-category {

    margin-bottom: 8px;
    color: #00c8ff;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.3;
    text-transform: uppercase;

}


.product-card-title {

    margin: 0;
    color: #ffffff;

    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;

}


/* =========================================================
   CARD ACTIONS
========================================================= */

.product-card-actions {

    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 25px;

}


.product-enquire {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease;

}


.product-enquire:hover {

    background: #2563eb;
    border-color: #2563eb;

}


.product-arrow {

    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a2540;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;

}


.product-arrow:hover {

    background: #2563eb;
    transform:
        translateX(2px);

}


/* =========================================================
   MODAL
========================================================= */

.product-modal {

    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        rgba(3, 9, 23, 0.87);
    backdrop-filter:
        blur(6px);

}


.product-modal.active {

    display: flex;

}


.product-modal-box {

    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0d1526;
    border:
        1px solid #1a2540;
    border-radius: 17px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
    animation:
        productModalIn 0.28s ease;

}


@keyframes productModalIn {

    from {

        opacity: 0;

        transform:
            translateY(25px) scale(0.98);

    }

    to {

        opacity: 1;

        transform:
            translateY(0) scale(1);

    }

}


/* =========================================================
   MODAL IMAGE
========================================================= */

.product-modal-image {

    position: relative;

    height: 235px;

    overflow: hidden;

    background: #17233a;

}


.product-modal-image-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0.4));

}


.product-modal-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================================================
   MODAL CLOSE
========================================================= */

.product-modal-close {

    position: absolute;

    top: 14px;

    right: 14px;

    z-index: 10;

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(13, 21, 38, 0.92);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: #ffffff;

    font-size: 22px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease;

}


.product-modal-close:hover {

    background: #2563eb;

}


/* =========================================================
   MODAL BODY
========================================================= */

.product-modal-body {

    padding: 28px;

}


.product-modal-category {

    margin-bottom: 9px;

    color: #00c8ff;

    font-family: "Roboto", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

    text-transform: uppercase;

}


.product-modal-body h2 {

    margin: 0 0 18px;

    color: #ffffff;

    font-family: "Roboto", sans-serif;

    font-size: 34px;

    font-weight: 900;

    line-height: 1.2;

}


.product-modal-divider {

    width: 100%;

    height: 1px;

    margin-bottom: 18px;

    background: #1a2540;

}


.product-modal-label {

    margin-bottom: 9px;

    color: #607594;

    font-family: "Roboto", sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.7px;

    text-transform: uppercase;

}


.product-modal-body p {

    margin: 0;

    color: #9bb0cc;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    line-height: 1.75;

}


/* =========================================================
   MODAL FOOTER
========================================================= */

.product-modal-footer {

    margin-top: 23px;

    padding-top: 20px;

    border-top:
        1px solid #1a2540;

}


.product-quote-button {

    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #2563eb;

    border: none;

    border-radius: 8px;

    color: #ffffff;

    font-family: "Roboto", sans-serif;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease;

}


.product-quote-button:hover {

    background: #1d4ed8;

    transform:
        translateY(-1px);

}


.product-quote-button .material-symbols-outlined {

    font-size: 18px;

}