/* Start custom CSS for wd_text_block, class: .elementor-element-199aa6f */.services-wrapper{
    display:flex;
    gap:25px;
    margin-bottom:30px;
}

.service-card{
    flex:1;
    background:#fff;
    display:flex;
    align-items:center; /* vertical center */
    padding:35px 40px;
    min-height:260px;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    position:relative;
    overflow:hidden;
}

.center-card{
    max-width:850px;
    margin:0 auto;
}

.service-icon{
    width:160px;
    flex-shrink:0;
    display:flex;
    justify-content:center;
    align-items:center;
}

.service-icon img{
    width:130px;
    height:auto;
}

.service-content{
    flex:1;
    padding-left:30px;
}

.service-content h2{
    font-size:24px;
    margin:0 0 15px;
    line-height:1.2;
}

.service-content p{
    font-size:16px;
    line-height:1.7;
    margin:0;
    color:#555;
}

.btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 28px;
    border:1px solid #ddd;
    border-radius:40px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
}

/* Background card */
.bg-card{
    background-size:cover;
    background-position:center;
    color:#fff;
}

.bg-card h2,
.bg-card p{
    color:#fff;
}

.bg-card .overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
}

.bg-card .service-icon,
.bg-card .service-content{
    position:relative;
    z-index:2;
}

/* Mobile */
@media(max-width:768px){

    .services-wrapper{
        flex-direction:column;
    }

    .service-card{
        flex-direction:column;
        text-align:center;
        min-height:auto;
        padding:25px;
    }

    .service-content{
        padding-left:0;
        padding-top:15px;
    }

    .service-icon img{
        width:110px;
    }
}
.service-card{
    position:relative;
    overflow:hidden;
    background:#fff;
    transition:all .4s ease;
}

/* Background Layer */
.service-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:all .4s ease;
    z-index:1;
}

/* Different image for each card */
.facility-card::before{
    background-image:url('https://leopardtransactions.com/wp-content/uploads/2026/06/2728aee1606bd49d510334839407f509.jpg');
}

.moh-card::before{
    background-image:url('https://leopardtransactions.com/wp-content/uploads/2026/06/2728aee1606bd49d510334839407f509.jpg');
}

.doh-card::before{
    background-image:url('https://leopardtransactions.com/wp-content/uploads/2026/06/2728aee1606bd49d510334839407f509.jpg');
}

/* Dark overlay */
.service-card::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    transition:.4s;
    z-index:2;
}

/* Show image on hover */
.service-card:hover::before,
.service-card:hover::after{
    opacity:1;
}

/* Keep content above image */
.service-icon,
.service-content{
    position:relative;
    z-index:3;
}

/* White text on hover */
.service-card:hover h2,
.service-card:hover p{
    color:#fff;
}
.btn{
    display:inline-block;
    padding:12px 30px;
    background:#2737c8;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    font-weight:600;
    border:none;
    transition:.3s;
}

.btn:hover{
    background:#1e2ca5;
    color:#fff;
}
.service-card:hover .btn{
    background:#2737c8;
    color:#fff;
    border:none;
}
.service-card::before{
    transform:scale(1);
}

.service-card:hover::before{
    transform:scale(1.08);
}/* End custom CSS */