/* Core RTL and Layout Styles for Service Cards Grid */

.sc-grid-7d7f9b5f {
    display: grid;
    direction: rtl;
    width: 100%;
}

.sc-card-7d7f9b5f {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .sc-card-7d7f9b5f {
        transition: none !important;
        transform: none !important;
    }
}

.sc-card-7d7f9b5f:hover {
    transform: translateY(-6px);
}

/* Number positioning */
.sc-number-7d7f9b5f {
    position: absolute;
    font-weight: 700;
    line-height: 1;
    user-select: none;
    transition: color 0.3s ease;
}

/* Image alignment configurations */
.sc-img-wrapper-7d7f9b5f {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
}

.sc-card-img-7d7f9b5f {
    width: 100%;
    height: 100%;
}

/* RTL Image placements */
.sc-img-pos-right .sc-img-wrapper-7d7f9b5f {
    align-self: flex-start;
}
.sc-img-pos-left .sc-img-wrapper-7d7f9b5f {
    align-self: flex-end;
}
.sc-img-pos-center .sc-img-wrapper-7d7f9b5f {
    align-self: center;
}

.sc-title-7d7f9b5f {
    margin-top: 0;
    transition: color 0.3s ease;
}

.sc-desc-7d7f9b5f {
    margin-top: 0;
    line-height: 1.6;
}

/* Link and SVG animations */
.sc-link-container-7d7f9b5f {
    margin-top: auto;
}

.sc-link-7d7f9b5f {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sc-icon-7d7f9b5f {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sc-icon-7d7f9b5f i,
.sc-icon-7d7f9b5f svg {
    transition: transform 0.3s ease, fill 0.3s ease, color 0.3s ease;
}

/* Default arrow behavior for RTL: points left, shifts left on hover */
.sc-card-7d7f9b5f:hover .sc-icon-7d7f9b5f {
    transform: translateX(-6px);
}
