/* ===================================================================
   ZIGZAG TIMELINE — Alternating image+text rows with dashed connectors
   Uses: --red, --black, --muted from :root (portfolio-grid.css / style.css)
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ── Timeline Wrapper ── */
.flow-card-wrapper * {

    box-sizing: border-box;
    line-height: 1;
}

.zz-timeline {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.line-left {
    left: 0%;
    right: unset;
    width: 0;
    height: 100%;
    border-width: 0 2px 0 0;
}

.line-mid {
    top: 50%;

    width: 100%;
    border-width: 2px 0 0 0;
}

.line-right {
    right: 0%;
    left: unset;
    width: 0;
    height: 100%;
    border-width: 0 2px 0 0;
}

/* ═══════════════════════════════════════════
   Row — alternating image/text positions
   ═══════════════════════════════════════════ */
.zz-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.zz-row--left {
    flex-direction: row;
    /* img left, text right */
}

.zz-row--right {
    flex-direction: row-reverse;
    /* img right, text left */
}

/* ── Image Column ── */
.zz-img-col {
    flex: 0 0 320px;
    max-width: 320px;
    position: relative;
}

.zz-img-col img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

.zz-img-col img:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.13);
}

/* ── Text Column ── */
.zz-text-col {
    flex: 1 1 0%;
    color: var(--black, #080808);
    font-size: 1.05rem;
    line-height: 1.75;
    font-family: Inter, Arial, sans-serif;
}

.zz-text-col p {
    margin: 0 0 10px;
}

.zz-text-col p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   Dashed Connector  (Z-shape path)
   ─── from image center → horizontal → down to next image center
   ═══════════════════════════════════════════ */
.zz-connector {
    position: relative;
    height: 80px;
    width: 100%;
}

/* Vertical segment — start (drops down from current image) */
.zz-connector__v-start {
    position: absolute;
    top: 0;
    width: 0;
    height: 30px;
    border-left: 2.5px dashed var(--red, #ff3026);
    opacity: 0.6;
}

/* Horizontal segment — crosses from one side to the other */
.zz-connector__h {
    position: absolute;
    top: 30px;
    height: 0;
    border-top: 2.5px dashed var(--red, #ff3026);
    opacity: 0.6;
}

/* Vertical segment — end (drops down to next image) */
.zz-connector__v-end {
    position: absolute;
    top: 30px;
    width: 0;
    height: 50px;
    border-left: 2.5px dashed var(--red, #ff3026);
    opacity: 0.6;
}

/* ── Left-to-Right connector (current img left → next img right) ── */
.zz-connector--ltr .zz-connector__v-start {
    left: 160px;
    /* center of left image column (320/2) */
}

.zz-connector--ltr .zz-connector__h {
    left: 160px;
    right: 160px;
}

.zz-connector--ltr .zz-connector__v-end {
    right: 160px;
}

/* ── Right-to-Left connector (current img right → next img left) ── */
.zz-connector--rtl .zz-connector__v-start {
    right: 160px;
    /* center of right image column */
}

.zz-connector--rtl .zz-connector__h {
    left: 160px;
    right: 160px;
}

.zz-connector--rtl .zz-connector__v-end {
    left: 160px;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .zz-row {
        gap: 24px;
    }

    .zz-img-col {
        flex: 0 0 240px;
        max-width: 240px;
    }

    /* Adjust connector centers for smaller image */
    .zz-connector--ltr .zz-connector__v-start,
    .zz-connector--rtl .zz-connector__h {
        left: 120px;
    }

    .zz-connector--ltr .zz-connector__h {
        left: 120px;
        right: 120px;
    }

    .zz-connector--ltr .zz-connector__v-end,
    .zz-connector--rtl .zz-connector__h {
        right: 120px;
    }

    .zz-connector--rtl .zz-connector__v-start {
        right: 120px;
    }

    .zz-connector--rtl .zz-connector__h {
        left: 120px;
        right: 120px;
    }

    .zz-connector--rtl .zz-connector__v-end {
        left: 120px;
    }

    .zz-text-col {
        font-size: 0.97rem;
    }
}

@media (max-width: 680px) {

    .zz-row,
    .zz-row--left,
    .zz-row--right {
        flex-direction: column !important;
        gap: 16px;
        text-align: center;
    }

    .zz-img-col {
        flex: 0 0 auto;
        max-width: 80%;
        margin: 0 auto;
    }

    .zz-text-col {
        font-size: 0.93rem;
        padding: 0 8px;
    }

    /* On mobile: simple vertical dashed line centered */
    .zz-connector {
        height: 50px;
    }

    .zz-connector__v-start,
    .zz-connector__v-end {
        display: none;
    }

    .zz-connector__h {
        /* Convert horizontal to vertical centered line */
        top: 0;
        left: 50% !important;
        right: auto !important;
        width: 0 !important;
        height: 100%;
        border-top: none;
        border-left: 2.5px dashed var(--red, #ff3026);
    }
}

/* ======================================================================
// NEW
========================================================================*/
.markineers-flow-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 108px 0;
    box-sizing: border-box;
}

.flow-card-wrapper {
    position: relative;
    width: 100%;
}

.timeline-card-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-card-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

.flow-card-wrapper>img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
}

.dash-line {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    border-color: #e52521;
    border-style: dashed;
}



/* ============================================================
// CUSTOM PAGES STYLES
=============================================================*/
.markineers-flow-container * {
    font-family: "Poppins", sans-serif;
}

.markineers-flow-container img {
    position: relative;
    z-index: 4;
    max-width: 100%;
    height: auto;
}

.who-are-we-flow .line-step-1 {
    top: 8%;
    right: 0;
    width: 32%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-2-step-1 {
    top: 8%;
    right: 0;
    width: 0;
    height: 92%;
    border-width: 0 2px 0 0;
}

.who-are-we-flow .line-3-step-1 {
    top: 99%;
    right: 0;
    width: 100%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-4-step-1 {
    top: 99%;
    left: 0%;
    width: 0;
    height: 15%;
    border-width: 0 0 0 2px;
}

.img-card-1 {
    margin: 16px 0 40px;
}

.who-are-we-flow .line-step-2 {
    top: -14%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 116%;
}

.who-are-we-flow .line-2-step-2 {
    top: 101%;
    left: 0;
    width: 8%;
    border-width: 2px 0px 0px 0px;
}

.who-are-we-flow .line-3-step-2 {
    top: 101%;
    left: 8%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 19%;
}

.who-are-we-flow .line-4-step-2 {
    top: 120%;
    left: 8%;
    width: 92%;
    border-width: 2px 0px 0px 0px;
}



.who-are-we-flow .line-2-step-3 {
    top: -13%;
    right: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 41%;
}

.line-hr {
    width: 70%;
    height: 2px;
    background: var(--red);
    display: inline-block;
    float: right;
    transform: translateY(24px);
}

.line-step-2-to-3 {
    bottom: 0;
    left: 0;
    width: 0;
    height: 28%;
    border-width: 0 0 0 2px;
}

.who-are-we-flow .line-step-3 {
    top: -13%;
    right: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 30%;
}

.who-are-we-flow .line-2-step-3 {
    top: 18%;
    right: 0;
    width: 45%;
    border-width: 2px 0 0 0;
}



.who-are-we-flow .line-3-step-3 {
    top: 97%;
    left: 0;
    width: 45%;
    border-width: 2px 0 0 0;
}


.who-are-we-flow .line-step-3-to-4 {
    top: 27.5%;
    right: 0;
    width: 0;
    height: 72.5%;
    border-width: 0 2px 0 0;
}

.who-are-we-flow .line-4-step-3 {
    top: 97%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 83%;
}

.card-4 .card-text {
    flex: 3;
}

.img-card-4 {
    place-content: end;
    flex: 2;
}

.img-card-4 img {
    margin-top: -80px !important;
}

.card-4 .card-text {
    font-size: 40px;
    padding: 40px;

}

@media screen and (max-width : 768px) {
    .card-4 .card-text {
        order: 2;
    }

    .img-card-4 {
        order: 1;
    }
}

.who-are-we-flow .line-step-4 {
    top: 15%;
    left: 0;
    width: 100%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-2-step-4 {
    top: 15%;
    right: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 74%;
}

.who-are-we-flow .line-3-step-4 {
    top: 90%;
    right: 0;
    width: 100%;
    border-width: 2px 0 0 0;
}

.circular-line-parent {

    aspect-ratio: 1 / 1;
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translate(-50%, 0%);
    transform-origin: center;
    top: -5%;
}

.circular-line {

    border: 1px solid var(--red);
    border-radius: 50%;
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translate(-50%);
}

.circle-line-1 {

    width: 160px;
    height: 160px;
    opacity: 0.2;
}

.circle-line-2 {

    width: 120px;
    height: 120px;
    opacity: 0.4;
}

.circle-line-3 {

    width: 80px;
    height: 80px;
    opacity: 0.6;
}


/*================================ DOUBLE CARDS ==================================*/
.card-2-content,
.card-4-content,
.card-5-content {
    width: 80%;
}

.who-are-we-flow .line-step-5 {
    top: -12%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 32%;
}

.who-are-we-flow .line-2-step-5 {
    top: 20%;
    left: 0;
    width: 32%;
    border-width: 2px 0px 0px 0px;
}

.who-are-we-flow .line-3-step-5 {
    top: 20%;
    left: 32%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 19%;
}

.who-are-we-flow .line-4-step-5 {
    top: 50%;
    right: -8%;
    width: 60%;
    border-width: 2px 0px 0px 0px;
    height: 0;
}

.who-are-we-flow .line-5-step-5 {
    top: 50%;
    right: -8%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 54%;
}

/*=============================== STEP 6 =================================*/
.who-are-we-flow .line-step-6 {
    top: -3%;
    right: -8%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 54%;
}

.who-are-we-flow .line-2-step-6 {
    top: 52.5%;
    right: -8%;
    width: 108%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-3-step-6 {
    top: 53.5%;
    left: 0%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 50%;
}

/*=============================== STEP 6 =================================*/
.who-are-we-flow .line-2-step-7 {

    top: 59%;
    left: 0%;
    width: 72%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-step-7 {
    top: -3%;
    left: 0%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 61%;
}

.who-are-we-flow .line-4-step-7 {
    top: 26%;
    right: 0%;
    width: 30%;
    border-width: 2px 0 0 0;
}

.who-are-we-flow .line-3-step-7 {
    top: 26%;
    right: 30%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 36%;
}

/***********************************************************************/
.hr-line {
    border-width: 2px 0 0 0;
}

.vert-line {
    width: 0;
    border-width: 0px 0px 0px 2px;
}

/*************************************************************************/


.flow-card-wrapper .pos-relative {
    margin: 20px 0 40px;
    width: 100%;
    display: grid;
    place-content: center;
}

.flow-card-wrapper p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* ============================================================
   RESPONSIVE STYLES (768px and below)
   ============================================================ */
@media screen and (max-width: 768px) {
    .markineers-flow-container {
        padding: 40px 16px !important;
    }

    /* Hide absolute positioned zigzag dashed lines on mobile */
    .markineers-flow-container .dash-line {
        display: none !important;
    }

    /* Add a clean, continuous vertical dashed connector line between cards on mobile */
    .flow-card-wrapper {
        position: relative;
        margin-bottom: 50px !important;
    }

    .flow-card-wrapper:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -45px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 40px;
        border-left: 2px dashed #e52521;
        z-index: 1;
    }

    /* Adjust typography sizes for readability on mobile screens */
    .markineers-flow-container .font-60 {
        font-size: 32px !important;
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }

    .markineers-flow-container .font-40 {
        font-size: 24px !important;
    }

    .markineers-flow-container .font-32 {
        font-size: 20px !important;
    }

    .markineers-flow-container .font-28 {
        font-size: 16px !important;
    }

    /* Simplify margins and paddings */
    .markineers-flow-container .margin-40,
    .markineers-flow-container .margin-32 {
        margin: 20px 0 !important;
    }

    /* Card 4 - Stack layout vertically */
    .card-4>.d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 24px;
        padding-top: 24px !important;
    }

    .img-card-4 img {
        margin-top: 0 !important;
        /* Reset negative margin on mobile */
    }

    .card-4 .card-text {
        font-size: 20px !important;
        padding: 0 !important;
        text-align: center;
    }

    /* Card 2, 4, 5 - Stack side-by-side elements vertically */
    .card-2 .d-flex,
    .card-4 .d-flex,
    .card-5 .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        width: 100% !important;
        gap: 24px;
    }

    .card-2-content,
    .card-4-content,
    .card-5-content {
        width: 100% !important;
        gap: 32px !important;
    }

    .card-content-1,
    .card-content-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card-content-1 .card-text,
    .card-content-2 .card-text {
        margin: 16px 0 !important;
    }

    /* Circular line container placement adjustment */
    .circular-line-parent {
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/*==================================================================
// WHY MARKINEERS
===================================================================*/


.why-markineers-flow .line-step-1 {
    top: -4%;
    width: 50%;
    left: 50%;
}

.why-markineers-flow .line-2-step-1 {
    top: -4%;
    right: 0;
    width: 0;
    height: 105%;
    border-width: 0 2px 0 0;
}

.why-markineers-flow .line-3-step-1 {
    top: 100%;
    right: 0;
    width: 100%;
    border-width: 2px 0 0 0;
}

.why-markineers-flow .line-step-2 {
    top: -40%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 58%;
}

.why-markineers-flow .line-2-step-2 {
    top: 20%;
    left: 0;
    width: 49%;
    border-width: 2px 0px 0px 0px;
}

.why-markineers-flow .line-3-step-2 {
    top: 20%;
    left: 49%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 19%;
}

.why-markineers-flow .line-4-step-2 {
    top: 70%;
    left: 50%;
    width: 49%;
    border-width: 2px 0px 0px 0px;
}

.why-markineers-flow .line-5-step-2 {
    top: 70%;
    right: 0%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 68%;
}

.why-markineers-flow .line-2-step-3 {
    top: 40%;
    right: 0;
    width: 96%;
}

.why-markineers-flow .line-step-3 {
    top: -32%;
    right: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 72%;
}

.why-markineers-flow .line-4-step-3 {
    top: 40%;
    left: 4%;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 80%;
}

.why-markineers-flow .line-step-4 {
    top: 4%;
    left: 4%;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 49%;

}

.why-markineers-flow .line-2-step-4 {
    top: 54%;
    left: 4%;
    width: 30%;
    border-width: 2px 0 0 0;
}

.why-markineers-flow .line-3-step-4 {
    top: 34%;
    left: 24%;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 10%;
}

.why-markineers-flow .line-4-step-4 {
    top: 34%;
    left: 24%;
    width: 76%;
    border-width: 2px 0 0 0;
}

.why-markineers-flow .line-5-step-4 {
    top: 34%;
    right: 0%;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 60%;
}

.why-markineers-flow .line-6-step-4 {
    top: 94%;
    right: 0;
    width: 100%;
    border-width: 2px 0 0 0;
}

.why-markineers-flow .card-4 .card-text {

    padding: unset;
}

.why-markineers-flow .line-step-5 {
    top: -52%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 72%;
}

.why-markineers-flow .line-2-step-5 {
    top: 20%;
    left: 0%;
    width: 40%;
    border-width: 2px 0px 0px 0px;
    height: 0;
}

.why-markineers-flow .line-3-step-5 {
    top: 30%;
    left: 35%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 38%;
}

.why-markineers-flow .line-4-step-5 {
    top: 68%;
    left: 35%;
    width: 64%;
    border-width: 2px 0px 0px 0px;
    height: 0;
}

.why-markineers-flow .line-5-step-5 {
    top: 68%;
    right: 0%;
    width: 0;
    border-width: 0px 0px 0px 2px;
    height: 38%;
}

.why-markineers-flow .line-step-6 {
    top: -68%;
    height: 132%;
}

.why-markineers-flow .line-2-step-6 {
    top: 64%;
    right: 0;
    width: 20%;
}

.lead-gen-flow .logoTitle {
    margin-top: 98px;
}

.lead-gen-flow .logoTitle h3 {
    margin-top: 34%;
    font-size: 48px;
    font-weight: 600;
}

.lead-gen-flow .img-card-1 {
    margin: 0;
}

.lead-gen-flow .line-step-1 {
    top: 71%;
    left: 48%;
    width: 0;
    height: 31%;
    border-width: 0 2px 0 0;
    z-index: 5;
}

.lead-gen-flow .line-2-step-1 {
    top: 102%;
    left: 48%;
    width: 156%;
    border-width: 2px 0 0 0;
}

.lead-gen-flow .line-3-step-1 {
    top: 102%;
    right: -104%;
    width: 0;
    height: 96%;
    border-width: 0 2px 0 0;
}

.lead-gen-flow .line-step-2 {
    top: 50%;
    right: -5%;

    width: 25%;
    border-width: 2px 0px 0px 0px;
}

.lead-gen-flow .line-2-step-2 {
    top: 50%;
    left: 0%;
    width: 25%;
    border-width: 2px 0px 0px 0px;
}

.lead-gen-flow .line-3-step-2 {
    top: 50%;
    left: 0;
    width: 0;
    border-width: 0px 2px 0px 0px;
    height: 72%;
}

.lead-gen-flow .card-3 .card-text {
    width: 96%;
    gap: 8px;
}

.lead-gen-flow .line-step-3 {
    top: -38%;
    height: 89%;
}

.lead-gen-flow .line-3-step-3 {
    top: 50%;
    height: 67%;
}

.lead-gen-flow .line-step-4 {
    top: -21%;
    right: 0;
}

.lead-gen-flow .line-2-step-4 {
    height: 90%;
    top: -21%;
}

.lead-gen-flow .line-3-step-4 {
    top: 70%;
    width: 24%;
}

.lead-gen-flow .line-4-step-4 {
    top: 70%;
    left: 24%;
    height: 30%;
}

.lead-gen-flow .card-4 {
    margin-top: 25%;
}

.lead-gen-flow .card-4 .card-text {
    position: absolute;
    left: 0;
    top: 0;
}

.branding-arch-flow .line-step-1 {
    top: 1%;
    left: 50%;
    width: 166%;
}

.branding-arch-flow .line-2-step-1 {
    top: 1%;
    right: -116%
}

.branding-arch-flow .card-1 .card-text {
    margin-top: 26%;
}

.branding-arch-flow .card-2-content {
    width: 100%;
}

.branding-arch-flow .line-step-2 {
    top: -3%;
    height: 30%;
}

.branding-arch-flow .line-2-step-2 {
    top: 27%;
    right: 0;
}

.branding-arch-flow .line-3-step-2 {
    top: 27%;
    height: 68%;
    right: 0;
}

.branding-arch-flow .line-step-3 {
    top: -122%;
    height: 170%;
}

.branding-arch-flow .line-2-step-3 {
    width: 46%
}

.branding-arch-flow .line-3-step-3 {
    top: -16%;
    left: 50%;
}

.branding-arch-flow .line-4-step-3 {
    top: -16%;
    left: 50%;
    width: 50%;
}

.branding-arch-flow .line-5-step-3 {
    top: -13%;
}

.branding-arch-flow .img-card-4 img {
    margin-top: unset !important;
}

.branding-arch-flow .line-step-4 {
    top: -62%;
    height: 100%;
}

.branding-arch-flow .line-2-step-4 {
    top: 38%;
    right: 0%;
    width: 37%;

}

.branding-arch-flow .line-3-step-4 {
    top: 38%;
    left: 50%;

    height: 86%;
}

.branding-arch-flow .line-4-step-4 {
    top: 124%;
    right: 50%;
    width: 50%;
}

.cooperation-mech-flow .line-step-1 {
    left: 50%;
    top: 50%;
    height: 60%;
}

.cooperation-mech-flow .line-2-step-1 {
    top: 112%;
    left: 50%;
    width: 50%;
}

.cooperation-mech-flow .line-3-step-1 {
    top: 112%;
}

.cooperation-mech-flow .line-step-2 {
    top: 21%;
    height: 62%;
}

.cooperation-mech-flow .line-2-step-2 {
    top: 84%;
    right: 0;
}

.cooperation-mech-flow .line-3-step-2 {
    top: 86%;
    height: 96%;
}

.cooperation-mech-flow .line-step-3 {
    top: 0;
    left: 0;
    width: 50%;
}

.cooperation-mech-flow .line-2-step-3 {
    top: 1%;
    left: 50%;
    height: 64%;
}

.cooperation-mech-flow .line-3-step-3 {
    top: 62%;
    left: 50%;
    width: 50%;
}

.cooperation-mech-flow .line-4-step-3 {
    top: 62%;
    height: 50%;
}

.cooperation-mech-flow .img-card-4 img {
    margin-top: unset !important;
}

.cooperation-mech-flow .line-step-4 {
    top: -50%;
    right: 0;
    height: 24%;
}

.cooperation-mech-flow .line-2-step-4 {
    top: -24%;
    right: 0;
    width: 22%;
}

.cooperation-mech-flow .line-3-step-4 {
    top: -24%;
    left: 78%;
}

.cooperation-mech-flow .line-4-step-4 {
    top: 42%;
    right: 24%;

    width: 72%;
}

.engineered-workflows-flow .line-step-1 {
    right: -4%;
    top: 9%;
    width: 16%;
}

.engineered-workflows-flow .line-2-step-1 {
    right: -4%;
    top: 9%;
}

.engineered-workflows-flow .line-step-2 {
    right: -4%;
    top: -58%;
    height: 58%;
}

.engineered-workflows-flow .line-2-step-2 {
    right: -4%;
    top: 0%;
    width: 54%;
}

.engineered-workflows-flow .line-3-step-2 {
    top: 0%;
    right: 50%;
    height: 14%;
}

.engineered-workflows-flow .line-4-step-2 {
    top: 14%;
    width: 50%;
    right: 50%;
}

.engineered-workflows-flow .line-5-step-2 {
    top: 14%;
    right: 0%;
    height: 100%;
}

.engineered-workflows-flow .img-card-3 img {
    margin-left: -6%;
    padding: 7%;
}

.engineered-workflows-flow .img-card-3 {
    margin: 20px 0 0;
}

.engineered-workflows-flow .line-step-3 {
    top: -60%;
    height: 80%;
}

.engineered-workflows-flow .line-2-step-3 {
    top: 24%;
    width: 50%;
}

.engineered-workflows-flow .line-3-step-3 {
    top: 76%;
    width: 50%;
    left: 50%;
}

.engineered-workflows-flow .line-4-step-3 {
    top: 80%;
}

.engineered-workflows-flow .line-step-4 {
    top: -20%;
}

.engineered-workflows-flow .card-4 .card-text {
    margin-bottom: -4%;
}