.journey-timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    font-family: inherit;
    padding: 40px 0;
}

.journey-header {
    text-align: center;
    margin-bottom: 50px;
}

.journey-header-title {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.journey-header-subtitle {
    font-size: 1.1rem;
    margin: 0;
}

.journey-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Center line */
.journey-line {
    position: absolute;
    width: 2px;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E0D0E2;
    z-index: 1;
}

.journey-items {
    position: relative;
    z-index: 2;
}

/* Item bases */
.journey-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.journey-item::after {
    content: "";
    display: table;
    clear: both;
}

/* Dots along center line */
.journey-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #7A2B7F;
    border-radius: 50%;
    top: 30px;
    z-index: 3;
}

/* Alternating sides layout */
.journey-side-left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.journey-side-left .journey-dot {
    right: -6px;
}

.journey-side-right {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.journey-side-right .journey-dot {
    left: -6px;
}

/* Alignment of inner card tags */
.journey-side-left .journey-card {
    float: right;
}
.journey-side-right .journey-card {
    float: left;
}

/* Card Styling */
.journey-card {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    text-align: left;
}

/* Card inside tags */
.journey-card-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    background-color: #F4EEF4;
    color: #3D1540;
    margin-bottom: 12px;
}

.journey-card-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.journey-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666666;
}

/* Hover Pulse Animation */
@keyframes journeySubtlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.03), 0 0 0 0px rgba(122, 43, 127, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06), 0 0 0 8px rgba(122, 43, 127, 0.1);
    }
    100% {
        transform: scale(1.02);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06), 0 0 0 12px rgba(122, 43, 127, 0);
    }
}

.journey-card.has-pulse-effect:hover {
    animation: journeySubtlePulse 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Mobile Responsiveness */
@media screen and (max-width: 767px) {
    .journey-line {
        left: 20px;
    }
    .journey-item {
        width: 100%;
        left: 0 !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .journey-side-left .journey-card,
    .journey-side-right .journey-card {
        float: none;
        max-width: 100%;
    }
    .journey-dot {
        left: 14px !important;
        right: auto !important;
    }
}
