.journey-timeline-wrapper-b8f78032 {
    font-family: 'Playfair Display', serif;
    padding: 40px 20px;
    background-color: transparent;
    overflow: hidden;
}

.jt-grid-b8f78032 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .jt-grid-b8f78032 {
        grid-template-columns: 350px 1fr;
        gap: 80px;
    }
}

/* Left side layout */
.jt-left-col-b8f78032 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.jt-left-subtitle-b8f78032 {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #150F6D;
    margin-bottom: 10px;
}

.jt-left-title-b8f78032 {
    font-size: 42px;
    font-weight: 700;
    color: #C89B2C;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.jt-left-desc-b8f78032 {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

.jt-btn-b8f78032 {
    display: inline-block;
    background-color: #150F6D;
    color: #FFFFFF;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.jt-btn-b8f78032:hover {
    transform: translateY(-2px);
    background-color: #C89B2C;
    color: #FFFFFF;
}

/* Right side Timeline design */
.jt-right-col-b8f78032 {
    position: relative;
    padding: 20px 0;
}

.jt-timeline-b8f78032 {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0; /* Gap is managed by vertical line spacing */
}

/* Timeline Step styling */
.jt-step-item-b8f78032 {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
    width: 100%;
    min-height: 140px;
}

.jt-circle-b8f78032 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #150F6D;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    z-index: 5;
    box-shadow: 0px 4px 15px rgba(21, 15, 109, 0.2);
}

.jt-step-content-b8f78032 {
    background-color: transparent;
    padding: 10px 20px;
    flex-grow: 1;
}

.jt-step-title-b8f78032 {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
}

.jt-step-desc-b8f78032 {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Odd items: Circle on left, line goes right, then turns down */
.jt-item-left-b8f78032 {
    flex-direction: row;
    padding-left: 5%;
    padding-right: 5%;
}

.jt-item-left-b8f78032 .jt-step-content-b8f78032 {
    text-align: left;
    padding-left: 30px;
}

/* Even items: Circle on right, line goes left, then turns down */
.jt-item-right-b8f78032 {
    flex-direction: row-reverse;
    padding-left: 5%;
    padding-right: 5%;
}

.jt-item-right-b8f78032 .jt-step-content-b8f78032 {
    text-align: right;
    padding-right: 30px;
}

/* Sharp Right-Angled (Square) zigzag lines using CSS borders on desktop */
@media (min-width: 769px) {
    /* Horizontal lines connecting circles */
    .jt-step-item-b8f78032::before {
        content: '';
        position: absolute;
        top: 50%;
        height: 2px;
        border-top: 2px dotted #C89B2C;
        z-index: 1;
        pointer-events: none;
    }

    /* Odd items line goes from left circle to the right edge */
    .jt-item-left-b8f78032::before {
        left: calc(5% + 25px);
        right: 5%;
    }

    /* Even items line goes from right circle to the left edge */
    .jt-item-right-b8f78032::before {
        left: 5%;
        right: calc(5% + 25px);
    }

    /* Vertical connector lines going down to the next step */
    .jt-step-item-b8f78032::after {
        content: '';
        position: absolute;
        width: 2px;
        border-left: 2px dotted #C89B2C;
        z-index: 1;
        pointer-events: none;
    }

    /* Odd item goes down on the right side */
    .jt-item-left-b8f78032::after {
        top: 50%;
        bottom: -50%;
        right: 5%;
    }

    /* Even item goes down on the left side */
    .jt-item-right-b8f78032::after {
        top: 50%;
        bottom: -50%;
        left: 5%;
    }

    /* Hide vertical line on the very last item */
    .jt-step-item-b8f78032:last-child::after {
        display: none;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .jt-timeline-b8f78032::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        width: 2px;
        border-left: 2px dotted #C89B2C;
        z-index: 1;
    }

    .jt-step-item-b8f78032 {
        flex-direction: row !important;
        padding: 20px 0 !important;
        min-height: auto;
    }

    .jt-circle-b8f78032 {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-left: 0;
        z-index: 2;
    }

    .jt-step-content-b8f78032 {
        text-align: left !important;
        padding-left: 20px !important;
        padding-right: 0 !important;
    }
}
