.cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 80px 0;
      flex-wrap: wrap; /* mobile me cards next line me aa jayenge */
}

.card {
     width: 320px;
    min-height: 350px;
    margin: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: all .4s;
     text-align: center;
     padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 10px rgba(164, 201, 235, 0.724);
   
}

.card:hover {
    color: rgba(90, 7, 90, 0.886);
}

.card::before,
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(178, 190, 250, 0.619);
    z-index: -1;
    border-radius: 10px;
    transition: all .4s;
    
}

.card::after {
    background: #df9099;
    transform-origin: right bottom;
    transform: translate(10%, 10%) scale(0.3);
    border-radius: 50%;
    transition: all .4s;
}

.card:hover::after {

    transform: translate(0) scale(1);
    border-radius: 0;
    border-radius: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(243, 243, 243);
    z-index: -1;
    border-radius: 10px;
    transition: all .4s;
}

.card::after {
    background: rgb(152, 223, 214);;
    transform-origin: right bottom;
    transform: translate(10%, 10%) scale(0.3);
    border-radius: 50%;
    transition: all .4s;
}

.card:hover::after {

    transform: translate(0) scale(1);
    border-radius: 0;
    border-radius: 10px;
}

.card:hover::before {
    transform-origin: right bottom;
    transform: translate(10%, 10%) scale(0.3);
    border-radius: 50%;
    z-index: 1;
}

