.servicesFirst{
    height: 50vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.servicesFirst::before{
    content: '';
    position: absolute;
    height: inherit;
    width: 100%;
    background-image: url('/assets/images/services/services.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.servicesFirst h2{
    text-transform: uppercase;
    font-size: 50px;
    color: #000000c2;
    letter-spacing: 1px;
    word-spacing: 2px;
    padding: 0 4rem;
}

.servicesSecond{
    padding: 4rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.insideServicesSecond{
    height: 80%;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.serviceCard{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin: 4rem 0;
    border-radius: 1rem;
    padding: 4rem 0;
}

.serviceCard h2{
    text-transform: uppercase;
    font-size: 35px;
    color: #000000c2;
    letter-spacing: 1px;
    word-spacing: 2px;
    margin-bottom: 1rem;
    padding: 0 2rem;
}

.serviceCard p{
    font-size: 16px;
    word-spacing: 1px;
    color: #000000ad;
    padding: 0 2rem;
    text-align: justify;
}

.s2, .s4, .s6, .s7, .s9{
    text-align: end;
}

.serviceCard img {
    height: 15rem;
    width: 25rem;
}

@media screen and (max-width:1100px){
    .servicesFirst h2 {
        font-size: 45px;
    }    
    .serviceCard h2 {
        font-size: 32px;
    }
}

@media screen and (max-width:1030px){
    .servicesFirst {
        margin-top: 4rem;
    }
}

@media screen and (max-width:770px){
    .servicesFirst h2 {
        font-size: 38px;
    }
    .servicesSecond {
        padding-top: 2rem;
    }
    .serviceCard {
        flex-direction: column;
        margin: 2rem 0;
    }
    .serviceCard img {
        align-self: center;
        margin-top: 2rem;
    }
    .s2, .s4, .s6, .s7, .s9{
        text-align: start;
    }

    .s2 img , .s4 img , .s6 img , .s7 img , .s9 img{
        margin-bottom: 2rem;
    }

    .serviceCard h2 {
        font-size: 28px;
    }
    .serviceCard p {
        font-size: 14px;
    }

}

@media screen and (max-width:480px){
    .servicesFirst h2 {
        font-size: 36px;
        padding: 0;
        padding-left: 2rem;
    }
    .serviceCard h2 {
        font-size: 24px;
    }
    .serviceCard p {
        font-size: 13px;
    }
    .serviceCard img {
        width: 22rem;
    }
}

@media screen and (max-width:380px){
    .serviceCard img {
        width: 18rem;
    }
}