
    /* Card Processing animation support */
/* Prevent flash before animation */
.card-processing-2-section .why-top-left .headline-5,
.card-processing-2-section .why-top-left h2,
.card-processing-2-section .why-top-right .body-medium,
.card-processing-2-section .why-top-right svg,
.card-processing-2-section .processing-1-card {
    opacity: 0;
}

/* Smooth hover transitions */
.processing-1-card {
    transition: transform 0.3s ease;
}

.card-processing-2-section {
background: var(--primary);
color: #fff;

}
.card-processing-2-section .container {
}

/* TOP AREA */
.card-processing-2-section .why-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
    align-items: start;
    margin-bottom: 70px;
}

.card-processing-2-section .why-top-left h2 {
    margin-top: 10px;
}

.card-processing-2-section .why-top-right {
    max-width: 700px;
    /* width: clamp(320px, 27.2vw, 522px); */
    width: 100%;
    text-align: left;
    position: relative;
}
.card-processing-2-section .why-top-right svg{
    position: absolute;
    top: 150px;
    right: -75px;
}



.processing-2-card-container{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.processing-2-card {
     position: relative;
    border-radius: 14px; /* remove normal rounding */
    background: url('/assets/images/homepage/service-card-pattern.svg') center;
    border: 1px solid rgba(75, 90, 96, 0.5);
    overflow: hidden;
    /* clip-path: polygon(4.5% 0, cut top-left 100% 0, 100% calc(100% - 21%), reach bottom-right cut start calc(100% - 4.5%) 100%, cut bottom-right 0 100%, 0 21% back to top-left cut end); */
    clip-path: polygon(9% 0, /* cut top-left */ 100% 0, 100% calc(100% - 21%), /* reach bottom-right cut start */ calc(100% - 8.6%) 100%, /* cut bottom-right */ 0 100%, 0 21% /* back to top-left cut end */);
}

.card-processing-2-section .card-background-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Text container */
.card-processing-2-section .card-content {
    max-width: 1100px;
    width: 60%;
    padding-top: 100px;
    /* padding-top: 115px; */
    padding-bottom: 37px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 2;
}
 .card-processing-2-section .card-content .body-medium{
        max-width: 700px;
    }
.card-processing-2-section .card-content:lang(en){
    margin-left: 50px;

}
.card-processing-2-section .card-content:lang(ar){
    margin-right: 50px;
}

.card-processing-2-section .card-content{
    color: var(--gayser);
}

.card-processing-2-section .card-image {
    position: absolute;
   max-width: 700px;
   height: 100%;
   top: 0;
   right: 0;
    
}

.card-processing-2-section .card-image:lang(ar){
  right: unset;
  left: 0;  
}
@media(max-width:1280px){
    .processing-2-header{
        margin-bottom: 80px;
    }
    
    .card-processing-2-section .card-content{
        margin-inline: 32px;
        padding-top: 80px;
    }
}
@media(max-width:1024px){
    .card-processing-2-section .card-content{
        width: 100%;
    }
    .card-processing-2-section .card-content:lang(ar){
        margin-right: 20px;
    }
    .card-processing-2-section .why-top{
        gap: 20px;
    }
    .processing-2-header{
        flex-direction: column;
        align-items: start;
        margin-bottom: 130px;
    }
    .processing-2-header-right{
        align-self: flex-end;
    }
    .processing-2-header-right svg{
        width: 100%;
        top: 85px;
        right: -13px;
    }
    .card-processing-2-section{
        grid-template-columns: repeat(1, 1fr);
    }
    .processing-2-header-right p{
        max-width: 356px;
    }
   /*  */
    .card-processing-2-section .why-top{
        flex-direction: column;
        gap: 40px;
    }
    .card-processing-2-section .why-top-right{
        width: 100%;
    }
    .card-processing-2-section .why-top-right svg{
        top: 65px;
        width: 100%;
        right: -16px;
    }
    .processing-2-header{
        flex-direction: column;
        align-items: start;
        margin-bottom: 130px;
    }
    .processing-2-header-right{
        align-self: flex-end;
    }
    .processing-2-header-right svg{
        width: 100%;
        top: 85px;
        right: -13px;
    }
    .card-processing-2-section{
        grid-template-columns: repeat(1, 1fr);
    }
    .processing-2-header-right p{
        max-width: 356px;
    }
   .card-processing-2-section .card-image{
     width: 180px;
     height: unset;
   }
   .card-processing-2-section .card-content{
        margin-inline: 16px;
        padding-top: 150px;
    }
}

@media(max-width:768px){
    .processing-2-card{
        clip-path: polygon(9.1% 0, /* cut top-left */ 100% 0, 100% calc(100% - 20%), /* reach bottom-right cut start */ calc(100% - 8.5%) 100%, /* cut bottom-right */ 0 100%, 0 21% /* back to top-left cut end */);
    }
    .processing-2-card .body-medium{
        max-width: calc(100% - 40px);
    }    
    .card-processing-2-section .card-content .body-medium{
        max-width: 90%;
    }
    .card-processing-2-section .card-content:lang(en){
        margin-left: 24px;
    }
    .card-processing-2-section .card-content:lang(en){
        margin-right: 24px;
    }
}