
/* Crypto Cards animation support */
/* Prevent flash before animation */
.what-we-offer-1-card {
    opacity: 0;
}

/* Smooth hover transitions */
.what-we-offer-1-card {
    transition: transform 0.3s ease;
}


.what-we-offer-1-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    
}

.what-we-offer-1-card {
     position: relative;
    border-radius: 0; /* 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(9% 0, /* cut top-left */ 100% 0, 100% calc(100% - 20.6%), /* reach bottom-right cut start */ calc(100% - 8.7%) 100%, /* cut bottom-right */ 0 100%, 0 22% /* back to top-left cut end */);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    
}

.what-we-offer-1-cards .card-background-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* Full-width last card */
.what-we-offer-1-cards .card-3 {
    grid-column: 1 / -1;
    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 */);

}

/* Text container */
.what-we-offer-1-cards .card-content {
    max-width: 575px;
    padding-top: 100px;
    /* padding-top: 115px; */
    padding-bottom: 50px;
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.what-we-offer-1-cards .card-content:lang(en){
    margin-left: 50px;
}
.what-we-offer-1-cards .card-content:lang(ar){
    margin-right: 50px;
}
/* Placeholder for image part */
.what-we-offer-1-cards .card-image {
    position: absolute;
    z-index: -1;
    right: 0;
    top: 0;
    max-width: 450px;
    width: 60%;

}
.what-we-offer-1-cards .card-image:lang(ar){
    right: unset;
    left: 0;
}
.what-we-offer-1-card {
    aspect-ratio:4.5/3;
}
.what-we-offer-1-card:lang(ar){
  border-top-right-radius:10px; 
  border-bottom-left-radius: 10px;
}
.what-we-offer-1-card.card-3 {
   aspect-ratio:unset;
}
.what-we-offer-1-cards .card-2 .card-image {}
.what-we-offer-1-cards .card-3 .card-image {
   max-width: 700px;
   height: 100%;
   top: 0;
   right: -0;
    
}
.what-we-offer-1-cards .card-3 .card-image:lang(ar){
  right: unset;
  left: 0;
}
@media(max-width:1280px){
    .what-we-offer-1-cards .card-content{
        margin-inline: 32px;
        padding-top: 80px;
    }
}
@media(max-width:768px){
    .what-we-offer-1-card .card-content:lang(en){
        margin-left: 24px;
    }
    .what-we-offer-1-card .card-content:lang(ar){
        margin-right: 24px;
    }
    .what-we-offer-1-cards{
        grid-template-columns: repeat(1, 1fr);
    }
    .what-we-offer-1-header-right p{
        max-width: 356px;
    }
    .what-we-offer-1-cards .card-3 .card-image{
        top: 0;
        height: unset;
        width: 50%
    }
    
    .what-we-offer-1-cards .card-content{
        padding-bottom: 20px;
        gap: 16px;
    }
    .what-we-offer-1-card{
        aspect-ratio:unset;
    }
    .what-we-offer-1-card .headline-3{
        margin-bottom: 16px;
    }
}
@media(max-width:410px){
     .what-we-offer-1-cards .card-content p{
        font-size: 14px;
        line-height: 18px;
     }
     .what-we-offer-1-cards:nth-child(1) .card-content,
     .what-we-offer-1-cards:nth-child(2) .card-content{
        padding-top: 100px;
     }
}
