.sloopa-timeline-wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.sloopa-timeline-inner {
    background-color: #ffffff;
    padding: 65px 0 75px;
}

.sloopa-text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sloopa-timelines-inner {
    border-left: 5px solid #ccc;
    position: relative;
    margin-left: 10px;
}

.sloopa-timeline-white-bar {
    position: absolute;
    top: 0;
    left: -5px;
    width: 5px;
    height: 70px;
    background-color: #fff;
}

.sloopa-timeline-circle {
    position: absolute;
    bottom: -15px;
    left: -18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
}

.sloopa-media {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.sloopa-timeline-img-wrap {
    background: url(../img/timeline-connect.png) center repeat-x;
    margin-right: 1.5rem;
}

.sloopa-second-timeline .sloopa-timeline-img-wrap {
    margin-right: 0;
    margin-left: 1.5rem;
}

.sloopa-media-img {
    max-width: 140px;
    max-height: 140px;
    border-radius: 16px;
    object-fit: cover;
}

.sloopa-media-img-ml-1 {
    margin-left: 80px;
}

.sloopa-media-img-ml-2 {
    margin-left: 120px;
}

.sloopa-media-img-ml-3 {
    margin-left: 160px;
}

.sloopa-media-body {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.sloopa-media-body:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

.sloopa-media-body-ml-1 {
    margin-left: 15px;
}

.sloopa-media-body-ml-2 {
    margin-left: 15px;
}

.sloopa-media-body-ml-3 {
    margin-left: 15px;
}

.sloopa-text-green {
    color: #009999;
}

.sloopa-text-red {
    color: #d9653f;
}

.sloopa-timeline-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    display: flex;
}

.sloopa-timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.sloopa-first-timeline {
    justify-content: flex-start;
}

.sloopa-second-timeline {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.sloopa-third-timeline {
    justify-content: flex-start;
}
