/* Custom Elementor Agenda Timeline Widget */
.catw-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.catw-wrapper *,
.catw-wrapper *::before,
.catw-wrapper *::after {
    box-sizing: border-box;
}

.catw-heading {
    margin: 0 0 70px;
    text-align: center;
    line-height: 1.2;
}

.catw-timeline {
    position: relative;
    width: 100%;
    padding: 0 12px;
}

.catw-line {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 25px;
    height: 2px;
    background: #8a8a8a;
    z-index: 0;
}

.catw-items {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.catw-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catw-number {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    background: #2F94E6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 22px;
    position: relative;
    z-index: 3;
}

.catw-card {
    width: 210px;
    min-height: 134px;
    max-width: 100%;
    padding: 24px 16px;
    border-radius: 16px;
    background: #2F94E6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 7px 16px rgba(30, 120, 200, .30);
    transition: transform .2s ease, box-shadow .2s ease;
}

.catw-card:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(30, 120, 200, .35);
}

.catw-arrow {
    position: absolute;
    top: 13px;
    right: -22px;
    color: #8a8a8a;
    font-size: 22px;
    line-height: 1;
    z-index: 4;
    pointer-events: none;
}

/* Tablet */
@media (max-width: 1024px) {
    .catw-heading {
        margin-bottom: 55px;
    }

    .catw-items {
        gap: 16px;
    }

    .catw-card {
        font-size: 16px;
        padding: 20px 12px;
    }

    .catw-arrow {
        right: -15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .catw-heading {
        margin-bottom: 35px;
    }

    .catw-timeline {
        padding: 0;
    }

    .catw-line {
        left: 25px;
        right: auto;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }

    .catw-items {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .catw-item {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
    }

    .catw-number {
        width: 50px;
        height: 50px;
        flex: 0 0 50px;
        margin: 0;
    }

    .catw-card {
        flex: 1 1 auto;
        width: auto !important;
        min-height: 100px;
        text-align: left;
        justify-content: flex-start;
    }

    .catw-arrow {
        display: none;
    }
}
