:root {
    --primary: rgb(0, 169, 208);
    --dark: rgb(31, 40, 69);
    --white: #ffffff;
}

.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.timeline-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.timeline {
    position: relative;
}
.timeline-img {
    height: calc(100% - 40px);
    position: relative;
    border-radius: 8px;
}
.timeline-img img {
    position: absolute;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #1f2845;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-img img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 40, 69, 0.15);
}


.timeline-phase {
    position: relative;
    margin-bottom: 40px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(31, 40, 69, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-phase:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 40, 69, 0.15);
}

.phase-header {
    background: var(--dark);
    color: var(--white);
    padding: 20px 25px;
    position: relative;
}

.phase-header::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--white);
    z-index: 1;
}

.phase-title {
    color: var(--white) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.phase-days {
    font-size: 1rem;
    opacity: 0.9;
}

.phase-content {
    padding: 25px;
}

.phase-item {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
    position: relative;
}

.phase-item:last-child {
    margin-bottom: 0;
}

.phase-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary);
}

.item-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1.1rem;
}

.item-result {
    background: rgba(0, 169, 208, 0.1);
    padding: 12px 15px;
    border-radius: 6px;
    margin-top: 10px;
    border-left: 3px solid var(--primary);
    font-style: italic;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .phase-header::before {
        left: -30px;
        width: 16px;
        height: 16px;
    }

    .timeline-title {
        font-size: 2rem;
    }

    .timeline-subtitle {
        font-size: 1rem;
    }

    .phase-title {
        font-size: 1.3rem;
    }

    .guarantee-section {
        padding: 30px 20px;
    }

    .guarantee-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    .timeline-title {
        font-size: 1.8rem;
    }

    .phase-header {
        padding: 15px;
    }

    .phase-content {
        padding: 15px;
    }

    .guarantee-item {
        min-width: 100%;
    }
}
