.intro {
    padding-top: calc((3.1 * 100vw) / 100);
    .intro-details {
        background-size: contain;
        background-repeat: no-repeat;
        width: calc((82.73 * 100vw) / 100);
        background-position: top right, top left;
        padding-inline: calc((11.15 * 100vw) / 100);
        background-image: url("../media/patterns/intro-right.svg"), url("../media/patterns/intro-left.svg");
        div {
            img {
                width: calc((.8 * 100vw) / 100);
                &:last-of-type {
                    transform: rotateY(180deg);
                }
            }
            h6 {
                font-weight: 700;
                color: var(--secondary-color);
                font-family: var(--tajawal-font);
                font-size: calc((1.04 * 100vw) / 100);
                margin-inline: calc((.52 * 100vw) / 100);
            }
            + img {
                width: calc((3.6 * 100vw) / 100);
                margin-block: calc((.42 * 100vw) / 100) calc((.7 * 100vw) / 100);
            }
            &.en-mode img {
                &:first-of-type {
                    transform: rotateY(180deg);
                }
                &:last-of-type {
                    transform: unset;
                }
            }
        }
        h2 {
            font-weight: 700;
            line-height: 150%;
            font-family: var(--neo-font);
            color: var(--secondary-color);
            font-size: calc((2.1 * 100vw) / 100);
            margin-bottom: calc((.83 * 100vw) / 100);
        }
        p {
            text-align: center;
            color: var(--secondary-color);
            font-family: var(--tajawal-font);
            font-size: calc((1.25 * 100vw) / 100);
            margin-bottom: calc((1.04 * 100vw) / 100);
            + img {
                position: absolute;
                top: calc((2.05 * 100vw) / 100);
                left: calc((2.3 * 100vw) / 100);
                width: calc((3.6 * 100vw) / 100);
                &.en-mode {
                    top: calc((4.05 * 100vw) / 100);
                }
            }
        }
    }
    .intro-view {
        button {
            margin-bottom: calc((1.9 * 100vw) / 100);
            border-radius: calc((.52 * 100vw) / 100);
            background-color: var(--secondary-color);
            padding: calc((.81 * 100vw) / 100) calc((1.41 * 100vw) / 100);
            img {
                width: calc((1.51 * 100vw) / 100);
                margin-inline-end: calc((.83 * 100vw) / 100);
            }
            p {
                font-weight: 700;
                margin-bottom: unset;
                font-family: var(--tajawal-font);
                font-size: calc((1.25 * 100vw) / 100);
            }
            img,
            p {
                z-index: 1;
                position: relative;
            }
        }
        .intro-view-content {
            background-repeat: no-repeat;
            height: calc((29 * 100vw) / 100);
            background-position: left calc((.1 * 100vw) / 100), right calc((.24 * 100vw) / 100), center;
            background-image: url("../media/patterns/intro-half-left.svg"), url("../media/patterns/intro-half-right.svg"), url("../media/images/intro-layer.svg");
            background-size: calc((3.4 * 100vw) / 100) calc((7 * 100vw) / 100), calc((4 * 100vw) / 100) calc((6.5 * 100vw) / 100), calc((173.3 * 100vw) / 100) calc((22.92 * 100vw) / 100);
            h4 {
                font-weight: 500;
                position: relative;
                font-family: var(--neo-font);
                font-size: calc((2.1 * 100vw) / 100);
                padding-bottom: calc(.9 * 100vw / 100);
                &::before,
                &::after {
                    top: 100%;
                    right: 28%;
                    content: "";
                    position: absolute;
                    height: calc(.2 * 100vw / 100);
                    border-radius: calc(.42 * 100vw / 100);
                }
                &::before {
                    background-color: #D9D9D9;
                    width: calc(8.65 * 100vw / 100);
                }
                &::after {
                    width: calc(5.43 * 100vw / 100);
                    background-color: var(--secondary-color);
                }
            }
        }
    }
    @media screen and (max-width: 991px) {
        & {
            padding-top: 18px;
            .intro-details {
                width: unset;
                padding-inline: 16px;
                div {
                    img {
                        display: none;
                    }
                    h6 {
                        font-size: 16px;
                        margin-inline: 8px;
                    }
                    + img {
                        width: 36px;
                        margin-block: 8px 12px;
                    }
                }
                h2 {
                    font-size: 24px;
                    margin-bottom: 8px;
                }
                p {
                    font-size: 16px;
                    margin-bottom: 8px;
                    + img {
                        top: 20px;
                        left: 20px;
                        width: 50px;
                        &.en-mode {
                            top: 20px;
                        }
                    }
                }
            }
            .intro-view {
                button {
                    padding: 8px 12px;
                    margin-bottom: 12px;
                    border-radius: 12px;
                    img {
                        width: 20px;
                        margin-inline-end: 8px;
                    }
                    p {
                        font-size: 16px;
                    }
                }
                .intro-view-content {
                    height: 107px;
                    h4 {
                        font-size: 16px;
                        text-align: center;
                        padding-bottom: 6px;
                        &::before,
                        &::after {
                            right: 50%;
                            height: 2px;
                            border-radius: 100px;
                            transform: translateX(50%);
                        }
                        &::before {
                            width: 65px;
                        }
                        &::after {
                            width: 30px;
                        }
                    }
                }
            }
        }
    }
    @media screen and (min-width: 768px) and (max-width: 991px) {
        & .intro-view .intro-view-content {
            height: 224px;
        }
    }
}
.journey {
    position: relative;
    top: calc((-6 * 100vw) / 100);
    margin-bottom: calc((7.75 * 100vw) / 100);
    padding-inline: calc((4.84 * 100vw) / 100);
    > li {
        display: flex;
        position: relative;
        align-items: start;
        justify-content: space-between;
        padding-top: calc((10.83 * 100vw) / 100);
        .journey-media {
            width: calc((43.83 * 100vw) / 100);
            img {
                width: 100%;
                border-radius: calc((.5 * 100vw) / 100);
                border: 7.247px solid rgba(0, 0, 0, 0.10);
            }
        }
        .journey-contents {
            display: flex;
            align-items: start;
            justify-content: space-between;
            width: calc((43.83 * 100vw) / 100);
            .journey-content {
                &:not(:first-of-type) {
                    margin-top: calc((4.7 * 100vw) / 100);
                    margin-inline-start: calc((2.03 * 100vw) / 100);
                }
                ul li {
                    &:not(:first-of-type) {
                        margin-top: calc((3.6 * 100vw) / 100);
                    }
                    .journey-card {
                        color: #333;
                        background-color: #FFF;
                        font-family: var(--tajawal-font);
                        width: calc((20.4 * 100vw) / 100);
                        border-radius: calc((.52 * 100vw) / 100);
                        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
                        padding: calc((1.51 * 100vw) / 100) calc((1.1 * 100vw) / 100);
                        h6 {
                            font-weight: 700;
                            text-align: center;
                            margin-bottom: unset;
                            font-size: calc((1.04 * 100vw) / 100);
                        }
                        p {
                            text-align: justify;
                            margin-bottom: unset;
                            font-size: calc((.83 * 100vw) / 100);
                            margin-top: calc((.52 * 100vw) / 100);
                        }
                    }
                }
            }
        }
        .step {
            top: 0;
            right: 50%;
            height: 100%;
            position: absolute;
            text-align: center;
            transform: translateX(50%);
            width: calc((4.9 * 100vw) / 100);
            padding-top: calc((5.5 * 100vw) / 100);
            div {
                display: flex;
                align-items: center;
                justify-content: center;
                h5 {
                    right: 50%;
                    color: #CDCDCD;
                    font-weight: 700;
                    line-height: 150%;
                    position: absolute;
                    text-align: center;
                    margin-bottom: unset;
                    transform: translateX(115%);
                    font-family: var(--neo-font);
                    width: calc((13.5 * 100vw) / 100);
                    font-size: calc((1.25 * 100vw) / 100);
                    &.left {
                        left: 50%;
                        right: unset;
                        transform: translateX(-115%);
                    }
                }
                img {
                    z-index: 1;
                    position: relative;
                    width: calc((2.24 * 100vw) / 100);
                    &.cloned {
                        display: inline-block;
                    }
                    &.un-active,
                    &.active {
                        display: none;
                    }
                }
            }
            &::before,
            &::after {
                content: "";
                top: 0;
                right: 50%;
                height: 100%;
                position: absolute;
                transform: translateX(50%);
                width: calc((.3 * 100vw) / 100);
            }
            &::before {
                background-color: #E5E5E5;
            }
            &::after {
                height: 0;
                transition: height 1s ease-in-out;
                background-color: var(--secondary-color);
            }
        }
        &:first-of-type::before {
            content: "";
            right: 50%;
            width: 25px;
            top: -12.5px;
            height: 25px;
            position: absolute;
            border-radius: 50%;
            transform: translateX(50%);
            background-color: #E5E5E5;
        }
        &:last-of-type {
            padding-bottom: calc((2.3 * 100vw) / 100);
            &::before {
                content: "";
                right: 50%;
                width: 25px;
                z-index: -1;
                height: 25px;
                bottom: -12.5px;
                position: absolute;
                border-radius: 50%;
                transform: translateX(50%);
                background-color: #E5E5E5;
                transition: background-color 0s 1.1s ease-in-out;
            }
        }
        &.un-active {
            &:first-of-type::before {
                background-color: var(--secondary-color);
            }
            .step {
                h5 {
                    color: var(--secondary-color);
                }
                img {
                    &.cloned,
                    &.active {
                        display: none;
                    }
                    &.un-active {
                        display: inline-block;
                    }
                }
                &::after {
                    height: 100%;
                }
            }
        }
        &.active {
            &:first-of-type::before,
            &:last-of-type::before {
                background-color: var(--secondary-color);
            }
            .step {
                h5 {
                    color: var(--primary-color);
                }
                img {
                    &.cloned,
                    &.un-active {
                        display: none;
                    }
                    &.active {
                        display: inline-block;
                    }
                }
                &::after {
                    height: 100%;
                }
            }
        }
    }
    @media screen and (max-width: 991px) {
        & {
            top: unset;
            margin-bottom: 400px;
            padding-inline: 16px;
            > li {
                padding-top: 100px;
                align-items: center;
                .journey-media {
                    width: 45%;
                }
                .journey-contents {
                    width: 45%;
                    display: block;
                    .journey-content {
                        &:not(:first-of-type) {
                            margin-top: 8px;
                            margin-inline-start: unset;
                        }
                        ul li {
                            &:not(:first-of-type) {
                                margin-top: 8px;
                            }
                            .journey-card {
                                width: 100%;
                                padding: 12px;
                                h6 {
                                    font-size: 13px;
                                }
                                p {
                                    font-size: 11px;
                                    margin-top: 8px;
                                }
                            }
                        }
                    }
                }
                .step {
                    padding-top: 36px;
                    div {
                        h5 {
                            width: 150px;
                            font-size: 14px;
                        }
                        img {
                            width: 24px;
                        }
                    }
                }
                &:first-of-type::before {
                    top: -5px;
                    width: 10px;
                    height: 10px;
                }
                &:last-of-type {
                    padding-bottom: 16px;
                    &::before {
                        bottom: -5px;
                        width: 10px;
                        height: 10px;
                    }
                }
            }
        }
    }
}