/* --== Service Main ==-- */
.service-main{
    margin-top: 0;
    display: grid;
}
/* --== Section Wise Design ==-- */
/* ---=== Service Section ===--- */
#service{
    padding: 50px 20px;
}
.service{
    padding: 40px 10px 10px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.service-card{
    padding: 25px 20px 20px 20px;
    width: 220px;
    height: 300px;
    border-radius: 0 30px;
    border-top: solid var(--primary) 3px;
    transition: all 0.4s ease-in-out;
}
.service-img{
    height: 100px;
    width: 150px;
    margin: auto;
    border-radius: 0 20px;
    border-bottom: solid var(--primary) 3px;
    box-shadow: 0 4px 8px rgba(253, 253, 253, 0.509);
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}
.service-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.service-card h3{
    margin: 25px 0 10px 0;
    font-size: 22px;
    font-weight: 400;
    color: var(--secondary);
}
.service-card p{
    font-size: 14px;
    font-weight: 400;
}
.service-card:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.509);
}
.service-card:hover .service-img{
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.509);
    transform: scale(1.08);
}
/* --== Mobile Design ==-- */
@media(max-width: 768px){
    .service{
        padding: 10px;
    }
    .service-card{
        padding: 20px 15px;
        height: 260px;
        width: 200px;
    }
    .service-img{
        height: 80px;
        width: 120px;
    }
    .service-card h3{
        font-size: 16px;
    }
    .service-card p{
        font-size: 12px;
        text-align: center;
    }
}
/* --== End of Service Section ==-- */