.services-sec{
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.services-sec-header{
    width: 70%;
    margin: 0 auto;
}
.services-sec-header h1{
    display: flex;
    justify-content: center;
}
.services-sec-header hr{
    width: 9rem;
    border: solid 1px blue;
}


.services-sec-inner{
    padding-top: 3rem;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1rem;
}

.service{
    position: relative;
    width: 90%;
    min-height: 15rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    color: white;
}

.service-inner h3{
    font-size: 25px;
}
.service-inner hr{
    width: 25%;
    margin: 0;
    border: solid 1px rgb(3, 161, 235);
    margin-bottom: 2rem;
}
.service-inner p{
    margin-bottom: 2rem;
}

.service-button{
    width: 8rem;
    border: none;
    background-color: transparent;
    color: rgb(3, 161, 235);
    border-bottom: solid 2px rgb(3, 161, 235);
    padding-bottom: 1rem;      
}
.service-button a{
    color: rgb(3, 161, 235);
    font-weight: bold;
    text-decoration: none;
}

.service h3, hr, p, .service-button{
    z-index: 1;
}
.service-background-image-con{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    
}
.service-background-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.service-background-filter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(15, 55, 73,0.5);
    backdrop-filter: blur(3px);
    z-index: -1;
}


@media (max-width: 1150px) {
    .services-inner{
        width: 98%;
    }
}

@media (max-width: 800px) {
    .services-inner{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .service{
        width: 100%;
        padding: 0;
    }
    .service h3, p{
        margin-left: 5%;
        width: 95%;
    }
    .service hr{
        margin-left:  5%;
    }
    .service h3{
        font-size: 14px;
    }
    .service hr{
        width: 34%;
    }
    .service p{
        font-size: 14px;
    }
    
    .service-button a{
        font-size: 14px;
    }

    .services-header{
        font-size: 10px;
    }

}