/*===========================
        SERVICES
============================*/

.service-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 20px 40px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.service-card:hover{

    transform:translateY(-12px);

}

.service-image{

    height:240px;

    overflow:hidden;

}

.service-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.service-card:hover img{

    transform:scale(1.08);

}

.service-content{

    padding:30px;

}

.service-content h3{

    color:var(--primary);

    margin-bottom:20px;

}

.btn-service{

    margin-top:20px;

    border:none;

    background:none;

    color:var(--secondary);

    font-weight:700;

}

/*===========================
        DRAWER
============================*/

.service-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.6);

    backdrop-filter:blur(5px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;

}

.service-overlay.active{

    opacity:1;

    visibility:visible;

}

.service-drawer{

    position:absolute;

    right:-900px;

    top:0;

    width:750px;

    max-width:100%;

    height:100%;

    background:#fff;

    transition:.5s;

    display:flex;

    flex-direction:column;

}

.service-overlay.active .service-drawer{

    right:0;

}

.drawer-close{

    position:absolute;

    top:25px;

    right:25px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:#fff;

    box-shadow:0 10px 20px rgba(0,0,0,.15);

    z-index:20;

}

.drawer-close:hover{

    background:var(--secondary);

    color:#fff;

}

.service-drawer img{

    width:100%;

    height:300px;

    object-fit:cover;

}

.drawer-body{

    padding:40px;

    overflow-y:auto;

    flex:1;

}

.drawer-body h2{

    color:var(--primary);

    margin-bottom:30px;

}

.drawer-body p{

    line-height:1.9;

    text-align:justify;

}

.drawer-footer{

    margin-top:40px;

}

.drawer-body::-webkit-scrollbar{

    width:8px;

}

.drawer-body::-webkit-scrollbar-thumb{

    background:var(--secondary);

    border-radius:20px;

}