/* =================================== */
/* JOURNEY PAGE STYLES (Timeline)      */
/* =================================== */

/* The main wrapper holding the line */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* The vertical center line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #C5A059; /* Gold line */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Each milestone block */
.timeline-block {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Place left blocks to the left, right blocks to the right */
.timeline-block:first-child {
    margin-top: 0;
}

/* Left side blocks */
.timeline-block:nth-child(odd) {
    left: 0;
}

/* Right side blocks */
.timeline-block:nth-child(even) {
    left: 50%;
}

/* The Gold Dot on the line */
.timeline-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    right: -7px;
    background-color: #fff;
    border: 3px solid #C5A059;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

/* Fix dot position for right side */
.timeline-block:nth-child(even) .timeline-dot {
    left: -7px;
}

/* The text box */
.timeline-content {
    padding: 25px 30px;
    background-color: #fff;
    position: relative;
    border-radius: 4px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: #C5A059;
}

.timeline-year {
    display: inline-block;
    background-color: #0A2342;
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Mobile Responsive for Timeline */
@media screen and (max-width: 768px) {
    /* Move the line to the far left */
    .timeline-container::after {
        left: 20px;
    }

    /* Make all blocks full width */
    .timeline-block {
        width: 100%;
        padding-left: 55px;
        padding-right: 15px;
    }

    /* Ensure all blocks act like left-aligned blocks */
    .timeline-block:nth-child(even) {
        left: 0;
    }

    /* Adjust dot positions for mobile */
    .timeline-block:nth-child(odd) .timeline-dot,
    .timeline-block:nth-child(even) .timeline-dot {
        left: 14px;
        right: auto;
    }
}