a.card,
    a.card:hover {
  color: inherit;
  text-decoration: none;
    }
    .card {
        /* Add shadows to create the "card" effect */
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s;
        border-radius: 5px;
        /* 5px rounded corners */
    }
    /* On mouse-over, add a deeper shadow */
    
    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    }
    
    .cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 20px;
        grid-gap: 30px;
    }
    
    .card {
        background-color: #1c1b29;
        border-radius: 20px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.18);
    }
    
    .cont {
        position: relative;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    }
    
    /* img {
        width: 100%;
   
        display: block;
        border-radius: 20px 20px 0 0;
    } */
    
    .cont:hover {
        border-radius: 20px 20px 0 0;
        overflow: hidden;
    }
    /* [2] Transition property for smooth transformation of images */
    
    .cont img {
        width: 100%;
        transition: transform .5s ease;
        border-radius: 20px 20px 0 0;
        /* transition: transform .5s ease-out; */
    }
    /* [3] Finally, transforming the image when container gets hovered */
    
    .cont:hover img {
        transform: scale(1.2);
        border-radius: 20px 20px 0 0;
    }
    
    .cont:after {
        content: "";
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 20px 20px 0 0;
        opacity: 0.7;
    }
    
    .card1>.cont:after {
        background-image: linear-gradient( 135deg, #B621FE, #1FD1F9);
        /* #0100ec, #fb36f4); */
    }
    /* .card2>.cont:after {
        background-image: linear-gradient( 135deg, #2bdce3, #42ffdb);
    }
    
    .car3>.cont:after {
        background-image: linear-gradient( 135deg, #ffab1d, #f8501c);
    } */
    
    .details {
        padding: 20px 10px;
    }
    
    .details>h3 {
        color: #ffffff;
        font-weight: 600;
        font-size: 18px;
        margin: 10px 0 15px 0;
        text-align: center;
    }
    
    .details>p {
        color: #a0a0a0;
        font-size: 15px;
        line-height: 30px;
        font-weight: 400;
    }

 .crop {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    /* .crop img {
        width: 300px;
        height: 400px;
    } */
