.ct-760-timeline-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

/* The central line */
.ct-760-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    background-color: #E0E0E0;
    width: 2px;
    z-index: 0;
}

/* Individual step container */
.ct-760-step {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ct-760-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Number circle */
.ct-760-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Content box */
.ct-760-content {
    width: 45%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.ct-760-title {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.ct-760-desc {
    margin: 0;
    line-height: 1.5;
}

/* Desktop: Alternating Layout */
@media (min-width: 768px) {
    /* Odd steps: Content Left */
    .ct-760-step:nth-child(odd) {
        justify-content: flex-start;
    }
    .ct-760-step:nth-child(odd) .ct-760-content {
        margin-right: 55%; /* Push to left side */
        text-align: right;
    }

    /* Even steps: Content Right */
    .ct-760-step:nth-child(even) {
        justify-content: flex-end;
    }
    .ct-760-step:nth-child(even) .ct-760-content {
        margin-left: 55%; /* Push to right side */
        text-align: left;
    }
}

/* Mobile: Stacked Layout */
@media (max-width: 767px) {
    .ct-760-line {
        left: 20px; /* Move line to left */
        transform: none;
    }

    .ct-760-step {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .ct-760-number {
        left: 20px; /* Align number with line */
        transform: translateX(-50%);
        top: 0; /* Align with top of content */
    }

    .ct-760-content {
        width: calc(100% - 60px); /* Full width minus spacing */
        margin-left: 60px !important; /* Push content to right of number */
        margin-right: 0 !important;
        text-align: left !important;
    }
}

/* Hover Effects */
.ct-760-step:hover .ct-760-content {
    transform: scale(1.02);
}
