/* =========================================
   HOW IT WORKS
========================================= */

.netrvis-how-section {
    width: 100%;
    padding: 80px 0;
    background: #ffffff;
}

.netrvis-how-section .section-heading,
.netrvis-applications-section .section-heading {
    width: 100%;
    margin-bottom: 45px;
    text-align: center;
}

.netrvis-how-section .section-heading h2,
.netrvis-applications-section .section-heading h2 {
    margin: 0;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
}


/* =========================================
   HOW IT WORKS FLOW
========================================= */

.netrvis-flow {
    width: 100%;

    display: flex;
    align-items: stretch;
    justify-content: center;

    gap: 20px;
}

.netrvis-flow-step {
    flex: 1;
    min-width: 0;

    padding: 32px 28px;

    background: #f7f9fb;
    border: 1px solid #e1e5e8;
    border-radius: 10px;

    text-align: left;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.netrvis-flow-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.netrvis-flow-step h3 {
    margin: 0 0 15px;

    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;

    color: #0878d1;
}

.netrvis-flow-step p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #333333;
}


/* =========================================
   FLOW ARROWS
========================================= */

.netrvis-flow-arrow {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    color: #0878d1;
}


/* =========================================
   TARGET APPLICATIONS
========================================= */

.netrvis-applications-section {
    width: 100%;
    padding: 80px 0;
    background: #f7f9fb;
}

.netrvis-applications-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================
   APPLICATION CARD
========================================= */

.netrvis-application-card {
    width: 100%;
    min-width: 0;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.netrvis-application-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}


/* =========================================
   APPLICATION IMAGE
   ORIGINAL RATIO: 300 × 350
========================================= */

.netrvis-application-card img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 300px;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================================
   APPLICATION TITLE
========================================= */

.netrvis-application-card h3 {
    margin: 0;

    padding: 20px;

    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;

    text-align: center;

    color: #222222;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .netrvis-how-section,
    .netrvis-applications-section {
        padding: 70px 0;
    }

    .netrvis-how-section .section-heading,
    .netrvis-applications-section .section-heading {
        margin-bottom: 35px;
    }

    .netrvis-how-section .section-heading h2,
    .netrvis-applications-section .section-heading h2 {
        font-size: 32px;
    }


    /* How It Works */

    .netrvis-flow {
        gap: 15px;
    }

    .netrvis-flow-step {
        padding: 28px 22px;
    }

    .netrvis-flow-step h3 {
        font-size: 20px;
    }

    .netrvis-flow-step p {
        font-size: 15px;
    }


    /* Target Applications */

    .netrvis-applications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .netrvis-how-section,
    .netrvis-applications-section {
        padding: 55px 0;
    }

    .netrvis-how-section .section-heading,
    .netrvis-applications-section .section-heading {
        margin-bottom: 30px;
    }

    .netrvis-how-section .section-heading h2,
    .netrvis-applications-section .section-heading h2 {
        font-size: 28px;
    }


    /* -----------------------------------------
       HOW IT WORKS
       ONE STEP PER ROW
    ----------------------------------------- */

    .netrvis-flow {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
    }

    .netrvis-flow-step {
        width: 100%;
        flex: none;

        padding: 25px 20px;
    }

    .netrvis-flow-step h3 {
        font-size: 20px;
    }

    .netrvis-flow-step p {
        font-size: 15px;
        line-height: 1.65;
    }


    /* -----------------------------------------
       VERTICAL ARROWS
    ----------------------------------------- */

    .netrvis-flow-arrow {
        width: 100%;
        height: 28px;

        flex: none;

        font-size: 26px;

        transform: rotate(90deg);
    }


    /* -----------------------------------------
       TARGET APPLICATIONS
       ONE CARD PER ROW
    ----------------------------------------- */

    .netrvis-applications-grid {
        width: 100%;

        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .netrvis-application-card {
        width: 100%;
    }


    /* -----------------------------------------
       APPLICATION IMAGE
       NO CROP / NO STRETCH
    ----------------------------------------- */

    .netrvis-application-card img {
        width: 100%;
        height: auto;

        max-width: 300px;
    }

    .netrvis-application-card h3 {
        padding: 18px 20px;
        font-size: 17px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .netrvis-how-section,
    .netrvis-applications-section {
        padding: 45px 0;
    }

    .netrvis-how-section .section-heading h2,
    .netrvis-applications-section .section-heading h2 {
        font-size: 26px;
    }


    /* How It Works */

    .netrvis-flow-step {
        padding: 22px 18px;
    }

    .netrvis-flow-step h3 {
        font-size: 19px;
    }

    .netrvis-flow-step p {
        font-size: 15px;
    }


    /* Applications */

    .netrvis-applications-grid {
        gap: 14px;
    }

    .netrvis-application-card img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .netrvis-application-card h3 {
        padding: 16px 15px;
        font-size: 16px;
    }
}


/* =========================================
   NETHRAVIS IN ACTION
========================================= */
/* 
.netrvis-action-section {
    padding: 70px 0;
    background: #fff;
}

.netrvis-action-heading {
    text-align: center;
    margin-bottom: 45px;
}

.netrvis-action-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #101b35;
    margin-bottom: 15px;
}

.netrvis-action-heading h2 span {
    color: #1d63d8;
}

.netrvis-action-heading h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #77af10;
    margin: 12px auto 0;
}

.netrvis-action-heading p {
    font-size: 17px;
    line-height: 1.6;
    color: #27334f;
    margin: 0;
}
 */

/* Four cards
.netrvis-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
} */


/* Card */
/* .netrvis-action-card {
    text-align: center;
    overflow: hidden;
} */


/* Image */
/* .netrvis-action-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.netrvis-action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */


/* Label */
/* .netrvis-action-label {
    padding: 14px 10px;
    border-radius: 0 0 16px 16px;
}

.netrvis-action-label h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #101b35;
} */


/* Label backgrounds
.original-label {
    background: #eaf3ff;
}

.depth-label {
    background: #e2faee;
}

.rgb-label {
    background: #fff7d9;
}

.ir-label {
    background: #f0e6ff;
} */


/* Description */
/* .netrvis-action-card > p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #27334f;
} */


/* =========================================
   TABLET
========================================= */

/* @media (max-width: 991px) {

    .netrvis-action-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .netrvis-action-image {
        height: 240px;
    }

}
 */

/* =========================================
   MOBILE
========================================= */
/* 
@media (max-width: 600px) {

    .netrvis-action-section {
        padding: 50px 15px;
    }

    .netrvis-action-heading h2 {
        font-size: 28px;
    }

    .netrvis-action-heading p {
        font-size: 14px;
    }

    .netrvis-action-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .netrvis-action-image {
        height: 250px;
    }

    .netrvis-action-label h3 {
        font-size: 20px;
    }

    .netrvis-action-card > p {
        font-size: 14px;
    }

} */


/* =========================================
   NETHRAVIS IN ACTION
========================================= */

.netrvis-action-section {
    width: 100%;
    padding: 70px 0;
    background: #ffffff;
}


/* SECTION HEADING */

.netrvis-action-heading {
    text-align: center;
    margin-bottom: 45px;
}

.netrvis-action-heading h2 {
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
    color: #101b35;
    margin: 0 0 15px;
}

.netrvis-action-heading h2 span {
    color: #1d63d8;
}

.netrvis-action-heading h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #77af10;
    margin: 12px auto 0;
}


/* =========================================
   COMPARISON GRID
   Controls gap BETWEEN comparison 1 & 2
========================================= */

.netrvis-comparison-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
    align-items: start;
}


/* =========================================
   EACH COMPARISON
   Original + Depth = NO GAP
========================================= */

.netrvis-comparison {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}


/* =========================================
   COMPARISON ITEM
========================================= */

.netrvis-comparison-item {
    width: 100%;
    min-width: 0;
    text-align: center;
    overflow: hidden;
}


/* =========================================
   IMAGE
========================================= */

.netrvis-action-image {
    width: 100%;
    overflow: hidden;
}

.netrvis-action-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}


/* =========================================
   OUTER CORNERS
========================================= */

.netrvis-comparison-item:first-child .netrvis-action-image {
    border-radius: 14px 0 0 14px;
}

.netrvis-comparison-item:last-child .netrvis-action-image {
    border-radius: 0 14px 14px 0;
}


/* =========================================
   LABEL
========================================= */

.netrvis-comparison-item h3 {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #101b35;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .netrvis-action-section {
        padding: 60px 0;
    }

    .netrvis-action-heading {
        margin-bottom: 40px;
    }

    .netrvis-action-heading h2 {
        font-size: 32px;
    }

    /* Comparison 1 and 2 become separate rows */
    .netrvis-comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Original + Depth still have NO gap */
    .netrvis-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .netrvis-action-image {
        height: 250px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .netrvis-action-section {
        padding: 50px 15px;
    }

    .netrvis-action-heading {
        margin-bottom: 30px;
    }

    .netrvis-action-heading h2 {
        font-size: 28px;
    }

    .netrvis-comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Original + Depth touch each other */
    .netrvis-comparison {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .netrvis-action-image {
        height: 160px;
    }

    .netrvis-comparison-item h3 {
        margin-top: 8px;
        font-size: 16px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .netrvis-action-section {
        padding: 45px 12px;
    }

    .netrvis-action-heading h2 {
        font-size: 26px;
    }

    .netrvis-action-image {
        height: 135px;
    }

    .netrvis-comparison-item h3 {
        font-size: 15px;
    }
}