.ezs-zigzag {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #010914;
    padding: 60px 20px;
    direction: rtl;
}

.ezs-zigzag__line {
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #A4763F;
    z-index: 1;
    overflow: hidden;
}

.ezs-zigzag__line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #ff6b35;
    transition: height 0.3s ease-out;
    z-index: 2;
}

.ezs-zigzag__items {
    position: relative;
    z-index: 2;
}

.ezs-zigzag__item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    min-height: 200px;
}

.ezs-zigzag__item:last-child {
    margin-bottom: 0;
}

.ezs-zigzag__item--left {
    flex-direction: row;
    padding-right: calc(50% + 40px);
    padding-left: 0;
    text-align: right;
}

.ezs-zigzag__item--right {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
    padding-right: 0;
    text-align: left;
}

.ezs-zigzag__number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 2px solid #A4763F;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 0 15px rgba(164, 118, 63, 0.3);
}

.ezs-zigzag__content {
    width: 100%;
}

.ezs-zigzag__img {
    margin-bottom: 15px;
}

.ezs-zigzag__img img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.ezs-zigzag__title {
    color: #A4763F;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.ezs-zigzag__desc {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.8;
}

.ezs-zigzag__desc p {
    margin: 0 0 10px 0;
}

.ezs-zigzag__desc p:last-child {
    margin-bottom: 0;
}

/* Scroll animation states */
.ezs-zigzag__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ezs-zigzag__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .ezs-zigzag__line {
        left: 25px;
        transform: none;
    }

    .ezs-zigzag__item--left,
    .ezs-zigzag__item--right {
        padding-right: 0;
        padding-left: 60px;
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }

    .ezs-zigzag__number {
        left: 25px;
        transform: translate(-50%, -50%);
    }

    .ezs-zigzag__title {
        font-size: 22px;
    }

    .ezs-zigzag__desc {
        font-size: 14px;
    }
}
