﻿
.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .timeline-movement {
        display:none;
    }

}
    @media (min-width: 768px) {
        .timeline:before {
            top: 352px;
            bottom: 145px;
            position: absolute;
            content: " ";
            width: 2px;
            left: 50%;
            border-left: 2px dashed #ee5936;
        }


        .timeline .timeline-movement.timeline-movement-top {
            height: 60px;
        }

        .timeline .timeline-badge.timeline-future-movement {
            background-color: #ffffff;
            height: 35px;
            width: 35px;
            font-size: 1.7em;
            top: -16px;
            margin-left: -18px;
        }


        .timeline-badge {
            color: #fff;
            width: 50px;
            height: 50px;
            font-size: 1.2em;
            text-align: center;
            position: absolute;
            /*    top: 20px;
*/ left: 50%;
            margin-left: -25px;
            background-color: #4997cd;
            z-index: 100;
            border-top-right-radius: 50%;
            border-top-left-radius: 50%;
            border-bottom-right-radius: 50%;
            border-bottom-left-radius: 50%;
        }

            .timeline-badge.timeline-filter-movement {
                background-color: #ffffff;
                font-size: 1.7em;
                height: 35px;
                margin-left: -16px;
                width: 36px;
                /* top: 40px;*/

                top: 320px;
            }

                .timeline-badge.timeline-filter-movement a {
                    color: #ee5936 !important;
                    cursor: default;
                }

            .timeline-badge.timeline-future-movement a i {
                color: #4997cd;
                font-size: .9em;
                top: 2px;
                left: 1px;
            }
    }



    .container .timeline .step-container:not(:first-child) {
        margin-top: -70px;
    }

    .step-container {
        display: flex;
        justify-content: flex-start;
        position: relative;
        z-index: 1;
    }

    .step {
        padding: 20px;
        width: 45%;
        box-sizing: border-box;
        position: relative;
    }

        .step h2 {
            color: #0056a3;
            font-size: 1.5em;
            margin: 0 0 10px;
        }

    .step-number {
        display: inline-block;
        margin-right: 5px;
        font-size: 52px;
        font-weight: bold;
        line-height: 0.9;
    }

    .highlight {
        color: #0056a3;
        font-weight: bold;
    }


    /* Triangle for left-aligned blocks */
    .step-container:nth-child(even) .step::after {
        content: "";
        position: absolute;
        top: 30px;
        right: -35px;
        width: 0;
        height: 0;
        border-top: 0px solid transparent;
        border-bottom: 35px solid transparent;
        border-left: 35px solid #f6f7fb;
    }

    /* Triangle for right-aligned blocks */
    .step-container:nth-child(odd) {
        justify-content: flex-end;
    }

        .step-container:nth-child(odd):not(:first-child) {
            margin-top: -105px !important;
        }


        .step-container:nth-child(odd) .step::after {
            content: "";
            position: absolute;
            top: 30px;
            left: -35px;
            width: 0;
            height: 0;
            border-top: 35px solid transparent;
            border-bottom: 0px solid transparent;
            border-right: 35px solid #f6f7fb;
        }

    /* Responsive layout for tablets and phones */
    @media (max-width: 768px) {
        .step-container {
            justify-content: center !important;
        }

        .step {
            width: 100%;
        }

            .step::after {
                display: none; /* Hide triangle on small screens */
            }

        .container .timeline .step-container:not(:first-child) {
            margin-top: unset;
        }

        .step-container:nth-child(odd):not(:first-child) {
            margin-top: unset !important;
        }
    }



    .step-header {
        display: flex;
        align-items: flex-start;
    }

    .step-number {
    }

    .step-title-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        font-size:1.2rem;
    }


    /*
.swirl {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

    .swirl img {
        display: block;
        max-width: 100%;
        height: auto;
    }*/

    /* Example positioning — adjust these as needed */






    /*@media (max-width: 768px) {
    .swirl {
        display: none;
    }
}*/

    /*Small devices (landscape phones, 576px and up)*/

    /*@media (min-width: 576px) {
            .swirl-1 {
                top: 439px;
                left: 48%;
                width: 600px;
            }

            .swirl-2 {
                top: 1336px;
                left: 14%;
                width: 700px;
            }

            .swirl-3 {
                top: 1012px;
                left: 67%;
                width: 600px;
            }

            .swirl-4 {
                top: 2051px;
                left: -3%;
                width: 700px;
                transform: rotate(187deg);
            }
        }*/

    /*Medium devices (tablets, 768px and up)*/
    /*@media (min-width: 768px) {
    .step-title-text {
        font-size: 1.125rem !important;
    }

    .swirl-1 {
        top: 651px;
        left: 44%;
        width: 600px;
    }

    .swirl-2 {
        top: 1973px;
        left: 0%;
        width: 700px;
        transform: rotate(391deg);
    }

    .swirl-3 {
        top: 1393px;
        left: 55%;
        width: 600px;
    }

    .swirl-4 {
        top: 3130px;
        left: -28%;
        width: 700px;
        transform: rotate(187deg);
    }
}*/

    /*Large devices (desktops, 992px and up)*/

    /*@media (min-width: 992px) {
    .swirl-1 {
        top: 506px;
        left: 46%;
        width: 600px;
    }

    .swirl-2 {
        top: 1576px;
        left: 0%;
        width: 700px;
    }

    .swirl-3 {
        top: 1193px;
        left: 62%;
        width: 600px;
    }

    .swirl-4 {
        top: 2345px;
        left: -13%;
        width: 700px;
        transform: rotate(187deg);
    }
}*/

    /*X-Large devices (large desktops, 1200px and up)*/
    /*@media (min-width: 1200px) {
    .swirl-1 {
        top: 439px;
        left: 48%;
        width: 600px;
    }

    .swirl-2 {
        top: 1336px;
        left: 14%;
        width: 700px;
    }

    .swirl-3 {
        top: 1012px;
        left: 67%;
        width: 600px;
    }

    .swirl-4 {
        top: 2030px;
        left: -6%;
        width: 700px;
        transform: rotate(187deg);
    }
}*/

    /*XX-Large devices (larger desktops, 1400px and up)*/
    /*@media (min-width: 1400px) {
    .swirl-1 {
        top: 439px;
        left: 48%;
        width: 600px;
    }

    .swirl-2 {
        top: 1336px;
        left: 28%;
        width: 700px;
    }

    .swirl-3 {
        top: 1012px;
        left: 62%;
        width: 600px;
    }

    .swirl-4 {
        top: 2030px;
        right: 52%;
        left: unset;
        width: 700px;
        transform: rotate(187deg);
    }
}*/


