.service-container {
    width:100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap:30px;
}
.service-container .card{
    position: relative;
    width:500px;
    height: 250px;
    padding:15px;
    background-color: #FFF;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
    border-radius: 12px;
}
.service-container  .card h2{
    z-index: 1;
    position:absolute;
    bottom: 25px;
    right: 130px;
    font-size: 2rem;
    font-weight: 700;
    color:#fff;
    pointer-events: none;
    transition: .2s ease;
    text-shadow: 0 0 15px rgba(0,0,0,.5);
}
.service-container .card p{
    z-index: 1;
    position: absolute;
    bottom: 30px;
    right: 130px;
    width:150px;
    color:#fff;
    opacity: 0;
    font-size:1rem;
    text-align:center;
    letter-spacing:1px;
    line-height: 1.8em;
    transition: .2s ease;
}
.service-container .card span{
    z-index: 1;
    position: absolute;
    top: 65px;
    right:35px;
    color:#333;
    font-size:1rem;
    letter-spacing:1px;
    writing-mode:vertical-lr;
    transition: .2s ease;
    opacity: 1;

}
.service-container .card .pic{
    z-index: 100;
    width:395px;
    height: 220px;
    background-image: url(../IMG/banner1.PNG);
    background-size: cover;
    filter:grayscale(100%);
    transition: .3s ease;
    border-radius: 12px;
}
.service-container .card button{
    position: absolute;
    right: 30px;
    bottom:40px;
    width:30px;
    height: 30px;
    background-color: #da4d1d;
    border:none;
    border-radius: 30px;
    cursor: pointer;
    outline:none;
    opacity: 1;
    transition: .3s ease;
}
.service-container .card:hover button{
    transform: scale(16.5);
    opacity: .5;
}
.service-container .card:hover h2{
    bottom: 150px;
    right: 50px;
}
.service-container .card:hover p{
    opacity: 1;
    right:60px;
}
.service-container .card:hover span{
    opacity: 0;
    top:80px;
}
.service-container .card:hover .pic{
    filter: grayscale(0);
    width: 470px;
}
.service-container .card2 pic{
    background-image: url(../IMG/img2.jpg);
    transition: .3s ease;
}
@media (max-width:900px){
    .service-container{
        padding: 0% 15%;
    }
}