/* Global Variables and Timeline Wrapper */
.angie-timeline-913ab951 {
    --line-color: #8f9fb2;
    --line-width: 2px;
    --timeline-gap: 60px;
    --marker-size: 32px;
    --marker-color: #e53e3e;
    --marker-bg: #ffffff;
    --box-bg: #f5f7fa;
    --box-radius: 12px;
    
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--timeline-gap);
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1000px;
    box-sizing: border-box;
}

/* Central Line */
.angie-timeline-913ab951::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--line-width);
    background-color: var(--line-color);
    z-index: 1;
}

/* Timeline Item (Row) */
.angie-timeline-item-913ab951 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Alternate Layout for Desktop */
.angie-timeline-item-913ab951.even {
    flex-direction: row-reverse;
}

/* Content Box */
.angie-timeline-content-913ab951 {
    width: calc(50% - (var(--marker-size) / 2) - 20px);
    background: var(--box-bg);
    padding: 24px;
    border-radius: var(--box-radius);
    text-align: right;
    box-sizing: border-box;
}

.angie-timeline-item-913ab951.even .angie-timeline-content-913ab951 {
    text-align: left;
}

/* Marker / Circle */
.angie-timeline-marker-913ab951 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--marker-size);
    height: var(--marker-size);
    border-radius: 50%;
    background: var(--marker-bg);
    border: 2px solid var(--marker-color);
    color: var(--marker-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 3;
    flex-shrink: 0;
}

/* Typography elements spacing */
.angie-timeline-title-913ab951 {
    margin: 0 0 10px 0;
}

.angie-timeline-desc-913ab951 {
    margin: 0;
    line-height: 1.6;
}

/* Responsive / Mobile (Tablet & Mobile) */
@media (max-width: 767px) {
    /* Move line to the left */
    .angie-timeline-913ab951::before {
        left: 20px;
        transform: none;
    }
    
    /* Make all items left-aligned */
    .angie-timeline-item-913ab951, 
    .angie-timeline-item-913ab951.even {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    /* Move marker to align with the line */
    .angie-timeline-marker-913ab951 {
        left: 20px;
        transform: translateX(-50%);
    }
    
    /* Content takes full width minus marker and gap */
    .angie-timeline-content-913ab951,
    .angie-timeline-item-913ab951.even .angie-timeline-content-913ab951 {
        width: calc(100% - 60px);
        margin-left: 60px;
        text-align: left; /* Always left align on mobile */
    }
}

/* Animations (Intersection Observer class) */
.angie-timeline-913ab951.animated .angie-timeline-item-913ab951 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state */
.angie-timeline-913ab951.animated .angie-timeline-item-913ab951.is-visible {
    opacity: 1;
    transform: translateY(0);
}
