#services{
    min-height: 100vh;
    width: 100vw;
    background: url("../Img/bg2.jpg"); 
    transition: 0.4s;

}
.service-heading{
    padding-top: 120px;
    margin :0 100px;
    position: relative;
    display: flex;
}
.service-heading h1{
    font-weight: 100;
    color: #254379;
    font-size: 45px;
    width: 60%;
    float: left;
}
#services button{
    float: right;
    position: absolute;
    right: 0;
    color: white;
    background-color: #84B6E2;
    padding: 15px 50px;
     margin-left: 50px; 
}
.inner-service{
    font-family: 'Inter', sans-serif;
    margin: 0 100px;

    display: flex;
    width: 80%;
}
.inner-service .service{
    padding: 25px;
    margin: 0 auto;
    height: 375px;
    width: 33%;
    position: relative;
}
.inner-service div:nth-child(1){
    margin-left: 0px; padding-left: 0px;
}
.inner-service div:nth-child(3){
    margin-right: 0px; padding-right: 0px; float:right
}
.inner-service .service img{
    height: 375px;
    display: block;
    margin: 0 ;
    width: 100%;
}
.card{
    position: relative;
    width: 100%;
    height: 375px;
    border: 1px solid #254379;
    border-top: 0px;
    padding: 60px 30px;
}
.card p{
    color: #4068B1;
    padding: 10px 0;
}
.card button{
    bottom: 10px;
    position: absolute;
}
.card h3, h5{
    padding-top: 10px;
    color: #254379;
}
.card h5{
    padding-top: 53px;
}
.service .caption{
    z-index: 600;
    position: absolute;
    bottom: 5px;
    left:  20px;
    font-size: 25px;
    color: #fff;
}
@media only screen and (max-width: 500px) {
    .service-heading{
        flex-direction: column;
        padding-top: 20px;
        margin: 0 20px;
    }
    .service-heading button{
        position: relative;
        top: 110px;        
    }
    .service-heading h1{
        width: 100%;
        font-size: 30px;
        padding-top: 40px;
    }
    
    .inner-service{
        padding-top:30px ;
        margin: 10px;
        flex-direction: column;
        width: 100%;
    }
    .inner-service .service{
        height: 450px;
        margin-top: 20px ;
        width: 100%;
    }
    .inner-service .service img{
        height: 450px;
    }
    .inner-service div:nth-child(1){
        padding: 25px;
        margin: 0px ;
        margin-top: 30px;
    }
    .inner-service div:nth-child(3){
        padding: 25px;
        margin: 20px auto 10px auto;
    }
}
@media only screen and (max-width: 380px) {
    .service-heading h1{
        width: 100%;
        font-size: 30px;
        padding-top: 80px;
        margin-top: 50px;
    }
    .service-heading button{
        position: relative;
        top: 200px;        
    }
}