.custom_item-template-5 {
    padding-left: 10px; /* Changed from padding-right */
    overflow: hidden;
}

.custom_item-template-5 .swiper {

}

.custom_item-template-5 .services-box {
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.custom_item-template-5 .item .cover-box {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    opacity: 0.1;
    border-radius: 40px 0 30px 30px; /* Changed border-radius for LTR */
}

.custom_item-template-5 .item > a {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--margin);
    width: 100%;
}

.custom_item-template-5 .item p {
    font-size: 13px;
    text-align: justify;
    color: #545454;
    margin: 0;
}

.custom_item-template-5 .item span {
    color: #191919;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.custom_item-template-5 .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--margin);
}
.custom_item-template-5 .item img {
    border-radius: var(--border-radius_1);
    margin-bottom: var(--margin-2);
}

.custom_item-template-5 .cta-itmes {
    padding-left: var(--margin); /* Changed from padding-right */
}

.custom_item-template-5 .cta-container {
    background-color: var(--primary_1);
    border: var(--border-2);
    margin: 0;
    box-shadow: var(--box-shadow-1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--margin);
    border-radius: 0 80px 60px 60px; /* Changed border-radius for LTR */
}

.custom_item-template-5 .cta-container .cta-description {
    font-size: 16px;
    margin: 0;
    color: var(--text-color-light-1);
}

.custom_item-template-5 .cta-container img {
    width: 80px !important;
    height: 80px !important;
    background: #4caf50;
    border-radius: var(--border-radius_2);
    padding: 1.4rem;
}

.custom_item-template-5 .cta-container a {
    font-size: 16px;
    color: #fff !important;
    border-radius: var(--border-radius_2);
    justify-content: center;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
}

.custom_item-template-5 .cta-container a.whatsapp-cta {
    background: #2eb443;
}

.custom_item-template-5 .cta-container a.tel-cta {
    background: #296ca1;
}

.custom_item-template-5 .cta-container a svg {
    margin-right: 1rem; /* Changed from margin-left */
}

.custom_item-template-5 .cta-container span {
    font-size: 18px;
}

.custom_item-template-5 .cta-container .sv-info {
    margin-top: 1rem;
}

.custom_item-template-5 .cta-container .custom_item .item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 1.5rem 0rem 1rem;
    color: #000 !important;
}

@media (min-width: 992px) {
    .custom_item-template-5 {
        
    }

    .custom_item-template-5 .item span {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: var(--margin-2);
    }
    
    .custom_item-template-5 .item {
        
    }

    .custom_item-template-5 .item img {
        width: 7rem;
        height: 7rem;
        padding: var(--margin);
        border-radius: 20px;
    }
    
    .custom_item-template-5 .cta-container .cta-description {
        font-size: 14px;
        white-space: pre-wrap;
        line-height: 18px;
    }
    .custom_item-template-5 .cta-container .cta-header {
        color: var(--text-color-dark-2);
        font-size: 40px;
        font-weight: bold;
        line-height: 52px;
        margin-bottom: var(--margin-2);
    }

    .custom_item-template-5 .cta-container .cta-svg {
        width: 4rem;
        height: 4rem;
        margin: 0 2rem;
        color: var(--text-color-dark-2);
    }
}

@media (max-width: 991px) {
    .custom_item-template-5 {
        margin-top: var(--margin);
        padding-top: 3rem;
    }

    .custom_item-template-5 .item span {
        font-size: 14px;
    }
    
    .custom_item-template-5 .item {
        flex-direction: column;
        margin-right: 10px !important; /* Changed from margin-left */
    }

    .custom_item-template-5 .item img {
        width: 4.5rem;
        height: 4.5rem;
        padding: var(--margin-3);
    }

    .custom_item-template-5 .cta-container .cta-header {
        color: var(--text-color-dark-2);
        font-size: 26px;
        font-weight: bold;
        line-height: 32px;
        margin-bottom: var(--margin-2);
    }
    .custom_item-template-5 .cta-container .cta-description {
        font-size: 12px;
        line-height: 20px;
    }

    .custom_item-template-5 .cta-container .cta-svg {
        width: 3rem;
        height: 3rem;
        margin: 0 2rem;
        color: var(--text-color-dark-2);
    }
    .custom_item-template-5 .cta-container {
        padding: 3rem 2rem !important;
        margin-bottom: var(--margin);
    }
}