 .card{
        width:100%;
        height: 300px;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all .25s ease;
        color:var(--co1);
    }
    .card p,h2{
     color:var(--co1); 
    }
    .card:hover{
        transform: scale(0.9);
    }
    .card:hover:after{
        height: 280px;
    }
    .card:hover .con-text p{
        margin-bottom: 8px;
        opacity: 1;
    }
    .card:hover img{
        transform: scale(1.25);
    }
    .card:hover .ul{
        transform: translate(0);
        opacity: 1;
    }
    .card:after{
        width: 100%;
        content: '';
        left: 0px;
        bottom: 0px;
        height: 150px;
        position: absolute;
        background: linear-gradient(180deg, rgba(0,0,0,0),rgba(0,0,0,1), 100%);
        z-index: 20;
        transition: all .25s ease;

    }
    .card img{
        height: 100%;
        z-index: 10;
        transition: all 0.25s ease;
    }
    .card .con-text{
        z-index: 30;
        position: absolute;
        bottom: 0px;
        color: #fff;
        padding: 20px;
        padding-bottom: 30px;
    }
    .card .con-text p{
        font-size: .8rem;
        opacity: 0;
        margin-bottom: -170px;
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-direction: column;
    }
    .card .con-text p button{
        padding: 7px 17px;
        border-radius: 12px;
        background: transparent;
        border: 2px solid #fff;
        color: #fff;
        margin-top: 10px;
        margin-left: auto;
        cursor: pointer;
        transition: all 0.25 ease;
        font-size: 0.75rem;
        outline: none;
    }
    .card .con-text p button:hover{
        background: #fff;
        color:#000;
    }
    
    @media (max-width:960px){
        .card{
            height:150px;
        }
    }