/* --== Plans Main ==-- */
.plans-main{
    margin-top: 0;
    background: lightgray;
    padding: 10px;
    display: grid;
    gap: 10px;
}

/* --== Section Wise Design ==-- */

/* ---=== Plans Section ===--- */
#plans{
    background: var(--light);
    padding: 50px 20px;
    /* display: none; */
}
.plans{
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 300px));
    gap: 20px;
    justify-content: center;
    /* background: var(--secondary); */
}

.plan-card{
    background: rgba(128, 128, 128, 0.954);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.309);

    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.plan-bg{
    width: 100%;
    height: 100%;
    border-top-right-radius: 400px;
    position: absolute;
    bottom: -320px;
    left: -200px;
    background-image: linear-gradient(to right bottom, var(--primary), var(--info));
    transition: all 0.8s ease-in-out;
}

.plan-card:hover .plan-bg{
    bottom: 0;
    left: 0;
    border-top-right-radius: 0;
}

.plan-fg{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}
.plan-icon i{
    font-size: 30px;
    color: var(--light);
    margin-top: 10px;
}
.plan-name{
    font-size: 24px;
    font-weight: 500;
    color: var(--secondary);
}
.price{
    font-size: 18px;
    font-weight: 400;
    color: var(--light);
    padding: 0 0 5px 0;
    border-bottom: solid var(--primary) 2px;
}
.plan-card ul{
    list-style-type: none;
    line-height: 2;
    padding: 0;
    flex-grow: 1;
    width: 100%;
}
.plan-card ul li{
    font-size: 14px;
    font-weight: 400;
    color: var(--light);
}

.btn{
    text-decoration: none;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--light);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}


.plan-card:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.509);
    transform: scale(1.06);
}


/* --== Mobile Design ==-- */
@media(max-width: 768px){
    .plans{
        grid-template-columns: repeat(auto-fit, minmax(100px, 250px));
    }
    .plan-card{
        padding: 15px;
        gap: 15px;
    }
    .plan-name{
        font-size: 22px;
    }
    .price{
        font-size: 16px;
    }
    .plan-card ul li{
        font-size: 13px;
    }
    .btn{
        font-size: 14px;
        padding: 8px 16px;
    }
}
/* --== End of Service Section ==-- */