.loyalty-steps {
    padding: 10rem 0 5rem;
}

.loyalty-steps .package-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4rem 0;
    gap: 7rem 0;
    overflow: hidden;
}

.loyalty-steps .package-single {
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.loyalty-steps .package-single h3 {
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 9;
}

.loyalty-steps .package-single h3 {
    font-weight: 500;
    margin: 0;
}

.loyalty-steps .package-single:nth-child(2n+2) h3 {
    top: -5rem;
    order: 2;
}

.loyalty-steps .package-single:nth-child(2n+1) h3 {
    bottom: -5rem;
    order: 0;
}

.loyalty-steps .package-single h3 strong {
    font-size: 5.5rem;
    font-weight: 800;
}

.loyalty-steps .package-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 1;
    position: relative;
    padding: 5rem 0;
}

.loyalty-steps .icon-single {
    background-color: #FFE500;
    border-radius: 50%;
    padding: 6rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalty-steps .package-icon::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.loyalty-steps .package-single:nth-child(2n+1) .package-icon::before {
    background-image: url(../../assets/images/step_1_arrow.svg);
}

.loyalty-steps .package-single:nth-child(2n+2) .package-icon::before {
    background-image: url(../../assets/images/step_2_arrow.svg);
}

.loyalty-steps .icon-single::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    display: flex;
    background: #fff;
    transform: translateY(-50%) translateX(-50%);
}

.loyalty-steps .icon-single::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    transform: translateY(-50%) translateX(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
}

.loyalty-steps .package-single:nth-child(2n+2) .icon-single::after {
    clip-path: polygon(50% 75%, 0 95%, 100% 95%);
    top: 25%;
}

.loyalty-steps .package-single:nth-child(2n+1) .icon-single::after {
    clip-path: polygon(50% 25%, -10% 0%, 110% 0%);
    -webkit-clip-path: polygon(50% 25%, -10% 0%, 110% 0%);
    top: 75%;
}

.loyalty-steps .package-single:nth-child(2n+2) .icon-single::before {
    background-image: url(../../assets/images/step_1_bg.png);
    top: 52%;
}

.loyalty-steps .package-single:nth-child(2n+1) .icon-single::before {
    background-image: url(../../assets/images/step_2_bg.png);
    top: 48%;
}

.loyalty-steps .icon-single img {
    max-width: 15rem;
    height: auto;
}

.loyalty-steps .package-title {
    max-width: 75%;
    text-align: center;
    margin: 0 auto;
}

.loyalty-steps .package-single:nth-child(2n+1) .package-title {
    order: 2;
}

.loyalty-steps .package-single:nth-child(2n+2) .package-title {
    order: 0;
}

.loyalty-steps .package-title h5 {
    margin: 0 0 1rem;
    font-weight: 600;
}

.loyalty-steps .package-title p {
    font-weight: 400;
}

@media (max-width:1199px) {
    .loyalty-steps .package-single {
        width: 50%;
    }

    .loyalty-steps .icon-single {
        padding: 4rem;
    }
}

@media (max-width:768px) {
    .loyalty-steps {
        padding: 6rem 0 3rem;
    }

    .loyalty-steps .package-row {
        gap: 0;
        padding: 0;
    }

    .loyalty-steps .package-single {
        width: 100%;
    }

    .loyalty-steps .icon-single {
        padding: 3rem;
    }

    .loyalty-steps .package-single:nth-child(2n+2) h3 {
        top: auto;
        bottom: -8rem;
        order: 0;
    }

    .loyalty-steps .package-single:nth-child(2n+1) h3 {
        bottom: -8rem;
    }

    .loyalty-steps .package-single:nth-child(2n+2) .package-title {
        order: 2;
    }

    .loyalty-steps .package-single:nth-child(2n+2) .icon-single::after {
        clip-path: polygon(50% 25%, -10% 0%, 110% 0%);
        -webkit-clip-path: polygon(50% 25%, -10% 0%, 110% 0%);
        top: 75%;
    }

    .loyalty-steps .package-single:nth-child(2n+2) .icon-single::before {
        background-image: url(../../assets/images/step_2_bg.png);
        top: 48%;
    }

    .loyalty-steps .package-single:nth-child(2n+2) .package-icon::before {
        background-image: url(../../assets/images/step_1_arrow.svg);
    }
}