.ifag-timeline-wrapper {
    position: relative;
    padding-left: 10px;
    margin: 20px 0;
}

.ifag-timeline-line {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 15px;
    width: 2px;
    background-color: #ce2139;
    opacity: 0.15;
}

.ifag-timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ifag-timeline-step {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.ifag-timeline-step:hover {
    transform: translateX(10px);
}

.ifag-timeline-step-dot-container {
    width: 12px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.ifag-timeline-step-dot {
    width: 12px;
    height: 12px;
    background-color: #ce2139;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(206, 33, 57, 0.1);
    transition: all 0.3s ease;
}

.ifag-timeline-step:hover .ifag-timeline-step-dot {
    box-shadow: 0 0 0 8px rgba(206, 33, 57, 0.2);
}

.ifag-timeline-step-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ifag-timeline-step-label {
    font-size: 10px;
    font-weight: 700;
    color: #ce2139;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ifag-timeline-step-title {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.ifag-timeline-step-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* --- ANIMATION ENTRANCE --- */
@keyframes timelineEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ifag-timeline-step {
    animation: timelineEntrance 0.8s ease backwards;
}

/* Staggered delay for each step */
.ifag-timeline-step:nth-child(1) { animation-delay: 0.1s; }
.ifag-timeline-step:nth-child(2) { animation-delay: 0.2s; }
.ifag-timeline-step:nth-child(3) { animation-delay: 0.3s; }
.ifag-timeline-step:nth-child(4) { animation-delay: 0.4s; }
.ifag-timeline-step:nth-child(5) { animation-delay: 0.5s; }
.ifag-timeline-step:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
    .ifag-timeline-steps {
        gap: 20px;
    }
    .ifag-timeline-step:hover {
        transform: none;
    }
}
