/* @import url("https://fonts.googleapis.com/css?family=Poppins");
html, body {
  font-family: "Poppins", sans-serif;
} */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.flip-no-scroll {
    overflow: hidden;
}

 .cont {
    background: white;
    padding: 2em;
    min-height: 50vh;
    display: flex;
} 

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

/*==========================
    CARD
==========================*/

 /* .blend-image,
.flip-card-bg img {
    filter: brightness(250%) grayscale(100%); 
    mix-blend-mode: screen;
}  */

 .center-image,
.flip-card-bg img {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    object-fit: cover;
} 

.slick-slide {
    padding: 2em 0.5em;
}

.flip-card-slider {
    margin: auto;
    width: 100%;
}

.flip-card {
    background: #fff;
    display: flex;
    padding: 2em;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: 350px;
    box-shadow: 0 30px 50px -25px rgba(0,0,0,.25);
}

.flip-card>*{
    transition: opacity .35s;
}

.flip-card-open>*{
    opacity:0;
}

.flip-card-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
    /* background:#f6c24a; */
    z-index:-1;
    text-align:left;
}

.flip-card-bg::after{
    content:"";
    position:absolute;
    inset:0;
     background:linear-gradient(to top,#fff 0,rgba(255,255,255,0) 70%); 
}

.flip-card-category{
    text-transform:uppercase;
    color:#fff;
    background:black;
    font-size:.85em;
    font-weight:600;
    padding:.2em .5em .25em;
}

.flip-card-title{
    text-transform:uppercase;
    margin:.5em 0;
    color:black;
}

.flip-card-duration{
    color:#6f7070;
}

/*==========================
    MODAL
==========================*/

.flip-modal-wrapper,
.flip-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:99999;
}

.flip-modal-wrapper{
    display:flex;
}

.flip-overlay{
    /* background:rgba(0,0,0,.5); */
    transition:opacity .15s ease;
}

.flip-modal{
    overflow:hidden;
    position:relative;
    margin:auto;
    width:90vw;
    height:90vh;
    max-width:500px;
    background:#fff;
    border-radius:20px;
    z-index:100000;
}

.flip-modal-scroll{
    height:inherit;
    overflow:auto;
    border-radius:inherit;
    position:relative;
    z-index:1;
}

.flip-modal-close{
    background:transparent;
    border:none;
    margin-bottom:auto;
    color:black;
    position:absolute;
    top:0;
    right:0;
    padding:2em;
    z-index:2;
    cursor:pointer;
}

.flip-modal-header{
    text-align:center;
    position:relative;
    display:flex;
    padding:.5em;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    min-height:300px;
    z-index:1;
}

.flip-modal-content{
    padding:2em;
    color:#666;
    line-height:1.5;
}

/*==========================
    STATES
==========================*/

[data-modal-state="closed"] .flip-modal-wrapper{
    pointer-events:none;
}

[data-modal-state="closed"] .flip-overlay{
    pointer-events:none;
    opacity:0;
}

[data-modal-state="closed"] .flip-modal{
    opacity:0;
}

[data-modal-state="opening"] .flip-modal-header,
[data-modal-state="opening"] .flip-modal-content,
[data-modal-state="opening"] .flip-modal-close,
[data-modal-state="closing"] .flip-modal-header,
[data-modal-state="closing"] .flip-modal-content,
[data-modal-state="closing"] .flip-modal-close{
    opacity:0;
}

[data-modal-state="opening"] .flip-overlay{
    transition:opacity .5s ease;
}

[data-modal-state="closing"] .flip-overlay{
    opacity:0;
    transition:opacity .5s ease;
}

[data-modal-state="open"] .flip-modal-header,
[data-modal-state="open"] .flip-modal-content{
    transition:opacity .45s;
}


.slick-prev:before,
.slick-next:before {
    color: #000 !important;
    opacity: 1;
}

/* old css end here */



















 *,
*::before,
*::after{
    box-sizing:border-box;
}

.flip-no-scroll{
    overflow:hidden;
} 

/*==========================
        MAIN SECTION
==========================*/

.cont{
    background:#fff;
    padding:2em;
    min-height:50vh;
    display:flex;
}

.icon{
    display:inline-block;
    width:1em;
    height:1em;
    stroke-width:0;
    stroke:currentColor;
    fill:currentColor;
} 

/*==========================
        CARD SLIDER
==========================*/

 .flip-card-slider{
    width:100%;
    margin:auto;
}

.slick-slide{
    padding:2em .5em;
} 

/*==========================
            CARD
==========================*/

 .flip-card{
    background:#fff;
    display:flex;
    padding:2em;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-end;
    border-radius:20px;
    overflow:hidden;
    position:relative;
    z-index:1;
    height:350px;
    cursor:pointer;
    box-shadow:0 30px 50px -25px rgba(0,0,0,.25);
}

.flip-card>*{
    transition:opacity .35s;
}

.flip-card-open>*{
    opacity:0;
} 

/*==========================
        CARD IMAGE
==========================*/

 .flip-card-bg{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:-1;
}

.flip-card-bg img{
    width:100%;
    min-height:100%;
    position:absolute;
    top:50%;
    left:0;
    transform:translateY(-50%);
    object-fit:cover;
}

.flip-card-bg::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        #fff 0,
        rgba(255,255,255,0) 70%
    );
} 

/*==========================
        CARD TEXT
==========================*/

 .flip-card-category{
    text-transform:uppercase;
    color:#fff;
    background:#000;
    font-size:.85em;
    font-weight:600;
    padding:.2em .5em .25em;
}

.flip-card-title{
    text-transform:uppercase;
    margin:.5em 0;
    color:#000;
}

.flip-card-duration{
    color:#6f7070;
} 

/*==========================
            MODAL
==========================*/

 .flip-modal-wrapper,
.flip-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:99999;
}

.flip-modal-wrapper{
    display:flex;
}

.flip-overlay{
    background:rgba(0,0,0,.5);
    transition:opacity .15s ease;
}

.flip-modal{
    overflow:hidden;
    position:relative;
    margin:auto;
    width:90vw;
    height:90vh;
    max-width:500px;
    background:#fff;
    border-radius:20px;
}

.flip-modal-scroll{
    height:100%;
    overflow:auto;
    border-radius:inherit;
    position:relative;
}

.flip-modal-close{
    background:transparent;
    border:none;
    color:#000;
    position:absolute;
    top:0;
    right:0;
    padding:2em;
    z-index:5;
    cursor:pointer;
}

.flip-modal-header{
    text-align:center;
    position:relative;
    display:flex;
    padding:.5em;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    min-height:300px;
    z-index:1;
}

.flip-modal-header .flip-card-bg{
    z-index:-1;
}

.flip-modal-content{
    padding:2em;
    color:#666;
    line-height:1.5;
} 

/*==========================
        MODAL STATES
==========================*/
 
[data-modal-state="closed"] .flip-modal-wrapper{
    pointer-events:none;
}

[data-modal-state="closed"] .flip-overlay{
    pointer-events:none;
    opacity:0;
}

[data-modal-state="closed"] .flip-modal{
    opacity:0;
}

[data-modal-state="opening"] .flip-modal-header,
[data-modal-state="opening"] .flip-modal-content,
[data-modal-state="opening"] .flip-modal-close,
[data-modal-state="closing"] .flip-modal-header,
[data-modal-state="closing"] .flip-modal-content,
[data-modal-state="closing"] .flip-modal-close{
    opacity:0;
}

[data-modal-state="opening"] .flip-overlay{
    transition:opacity .5s ease;
}

[data-modal-state="closing"] .flip-overlay{
    opacity:0;
    transition:opacity .5s ease;
}

[data-modal-state="open"] .flip-modal-header,
[data-modal-state="open"] .flip-modal-content{
    transition:opacity .45s;
} 

/*==========================
        SLICK ARROWS
==========================*/

 .slick-prev:before,
.slick-next:before{
    color:#000 !important;
    opacity:1;
} 

/*==========================
        RESPONSIVE
==========================*/

 @media(max-width:768px){

    .cont{
        padding:1em;
    }

    .flip-card{
        height:320px;
    }

    .flip-modal{
        width:95vw;
        height:85vh;
    }

}

@media(max-width:480px){

    .flip-card{
        height:280px;
    }

    .flip-modal-content{
        padding:1.2em;
    }

} 



  .read-more-wrapper {
    margin-top: 35px;
    text-align: center;
}

.service-read-more {
    display: inline-block;
    padding: 12px 35px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px; 
    /* transition: all 0.3s ease; */
} 

/* .service-read-more:hover {
    background: #d4a900;
    color: #111;
} */






















    

/* *,
*::before,
*::after {
    box-sizing:border-box;
}


.no-scroll{
    overflow:hidden;
}




.cont{

    background:white;
    padding:2em;
    min-height:50vh;
    display:flex;

}



.icon{

    display:inline-block;
    width:1em;
    height:1em;
    stroke-width:0;
    stroke:currentColor;
    fill:currentColor;

}





.card__background img{

    width:100%;
    min-height:100%;

    position:absolute;

    top:50%;
    left:0;

    transform:translateY(-50%);

    object-fit:cover;

    filter:brightness(250%) grayscale(100%);

    mix-blend-mode:screen;

}






.slick-slide{

    padding:2em .5em;

}


.card-slider{

    width:100%;
    margin:auto;

}







.card{

    background:#fff;

    display:flex;

    padding:2em;

    flex-direction:column;

    align-items:flex-start;

    justify-content:flex-end;

    border-radius:20px;

    overflow:hidden;

    position:relative;

    z-index:1;

    height:350px;

    cursor:pointer;

    box-shadow:0 30px 50px -25px rgba(0,0,0,.25);

}



.card > *{

    transition:opacity 350ms;

}



.card--opened > *{

    opacity:0;

}






.card__background{

    position:absolute;

    inset:0;

    overflow:hidden;

    background:#2fd4dc;

    z-index:-1;

}



.card__background::after{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to top,
        #fff 0,
        rgba(255,255,255,0) 70%
    );

}






.card__category{

    text-transform:uppercase;

    color:#fff;

    background:#2fd4dc;

    font-size:.85em;

    font-weight:600;

    padding:.2em .5em .25em;

}



.card__title{

    text-transform:uppercase;

    margin:.5em 0;

    color:black;

}



.card__duration{

    color:#6f7070;

}







.modal-wrapper,
.overlay{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:100%;

    z-index:10;

}



.modal-wrapper{

    display:flex;

}



 .overlay{

     background:rgba(0,0,0,.5); 

    transition:opacity .3s ease;

} 







.modal{

    overflow:hidden;

    position:relative;

    margin:auto;

    width:90vw;

    height:90vh;

    max-width:500px;

    background:#fff;

    border-radius:20px;

}





.modal__scroll-area{

    height:100%;

    overflow:auto;

    border-radius:inherit;

    position:relative;

    z-index:1;

}







.modal__close-button{

    background:transparent;

    border:none;

    color:#2e5f80;

    position:absolute;

    top:0;

    right:0;

    padding:2em;

    cursor:pointer;

    z-index:5;

}








.modal__header{

    text-align:center;

    position:relative;

    display:flex;

    padding:.5em;

    flex-direction:column;

    justify-content:flex-end;

    align-items:center;

    min-height:300px;

    z-index:1;

}





.modal__header .card__background{

    z-index:-1;

}





.modal__content{

    padding:2em;

    color:#666;

    line-height:1.6;

}








[data-modal-state="closed"] .modal-wrapper{

    pointer-events:none;

}


[data-modal-state="closed"] .overlay{

    pointer-events:none;

}



[data-modal-state="closed"] .modal{

    opacity:0;

}



[data-modal-state="closed"] .overlay{

    opacity:0;

}






[data-modal-state="opening"] .modal__header,

[data-modal-state="opening"] .modal__content,

[data-modal-state="opening"] .modal__close-button,

[data-modal-state="closing"] .modal__header,

[data-modal-state="closing"] .modal__content,

[data-modal-state="closing"] .modal__close-button{

    opacity:0;

}





[data-modal-state="opening"] .overlay{

    transition:opacity .5s ease;

}





[data-modal-state="closing"] .overlay{

    opacity:0;

    transition:opacity .5s ease;

}





[data-modal-state="open"] .modal__header,

[data-modal-state="open"] .modal__content{

    transition:opacity .45s;

}







@media(max-width:768px){

    .cont{

        padding:1em;

    }


    .card{

        height:320px;

    }


    .modal{

        width:95vw;

        height:85vh;

    }


}


@media(max-width:480px){

    .card{

        height:300px;

    }


    .modal__content{

        padding:1.2em;

    }


}


.slick-prev:before,
.slick-next:before {
    color: #000 !important;
    opacity: 1;
} */
