/* Стили для таймлайна процесса работы */
.timeline-section {
    padding: 60px 0;
    position: relative;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, rgba(var(--primary-color-rgb), 0.2), rgba(var(--accent-color-rgb), 0.2));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(var(--primary-color-rgb), 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -13px;
}

.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-width: 10px;
    border-style: solid;
    top: 15px;
}

.left .timeline-content::after {
    border-color: transparent transparent transparent white;
    right: -20px;
}

.right .timeline-content::after {
    border-color: transparent white transparent transparent;
    left: -20px;
}

.timeline-step {
    display: block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    float: left;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-step {
    background-color: var(--accent-color);
    transform: rotate(360deg);
}

.timeline-content h3 {
    margin: 0 0 10px 60px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.timeline-content p {
    margin: 0 0 0 60px;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

@media screen and (max-width: 768px) {
    .timeline-section {
        padding: 40px 0;
    }
    
    .timeline-section h2 {
        margin-bottom: 30px;
        font-size: 24px;
    }
    
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 20px;
    }
    
    .right {
        left: 0;
    }
    
    .left::after, .right::after {
        left: 18px;
        width: 20px;
        height: 20px;
    }
    
    .left .timeline-content::after, .right .timeline-content::after {
        border-color: transparent white transparent transparent;
        left: -20px;
        right: auto;
    }
    
    .timeline-content {
        padding: 15px 20px;
    }
    
    .timeline-step {
        font-size: 18px;
        width: 36px;
        height: 36px;
        line-height: 36px;
    }
    
    .timeline-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .timeline-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .timeline-section {
        padding: 30px 0;
    }
    
    .timeline-section h2 {
        font-size: 22px;
    }
    
    .timeline-container::after {
        left: 21px;
    }
    
    .timeline-item {
        padding-left: 50px;
        padding-right: 15px;
    }
    
    .left::after, .right::after {
        left: 8px;
        width: 18px;
        height: 18px;
    }
    
    .timeline-content {
        padding: 12px 15px;
    }
    
    .timeline-step {
        font-size: 16px;
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
}
