.services-card-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
}

.services-section{
    height: max-content;
    margin-bottom: 10vw;
    margin-top: 36vh;
}
.services-bg{
    position:absolute;
    z-index: -1;
    object-fit: cover;
    top: 12vh;
    left: 0;
    width:100%;
    height: auto;
}
h1{
    font-size: 3vw;
    text-align: center;
    color: var(--light-blue);
}
.service-card{
    background-color: var(--dark-blue);
    border-radius: 5vw;
    height: max-content;
    padding: 2vw;
}

.service-card>img{
    position:absolute;
    z-index: 2;
    width:15vw;
    height:auto;
}

.service-card>h2{
    position:relative;
    color: var(--light-blue);
    font-size: 2vw;
    margin-bottom:0;
    margin-top: 0;
    height:2vw;
}

.service-card:nth-child(even)>img{
    right: 3vw;
}
.service-card:nth-child(odd)>img{
    left: 3vw;
}

.service-card:nth-child(even){
    padding-right: 10vw;
    text-align: right;
}

.service-card:nth-child(odd){
    padding-left: 10vw;
}

.splash-img{
    width:16vw !important;
    animation: rotate 8s infinite;
    animation-timing-function: ease-in-out;
}

.part-img{
    transition:0.25s;
}

.part-img:hover{
    transform: scale(1.1) rotate(-10deg);
    transition: 0.25s;
}

p{
    font-size: 1.3vw;
}

@keyframes rotate {
    0% {
      transform: rotate(-25deg)
    }
    50% {
      transform: rotate(25deg)
    }
    100% {
        transform: rotate(-25deg)
      }
}




@media (max-width:996px){
    .services-card-container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 10vw;
    }
    .services-bg{
        position:absolute;
        z-index: -1;
        object-fit: cover;
        top: 17vw;
        left: 0;
        width:100%;
    }
    .service-card{
        background-color: var(--dark-blue);
        border-radius: 8vw;
        /* height: 50vw; */
        padding: 4vw;
    }
    .services-section{
        height: max-content;
        margin-bottom: 10vw;
        margin-top: 50vw;
        
    }
    .service-card>img{
        position:absolute;
        z-index: 2;
        width:25vw;
        height:auto;
    }
    .splash-img{
        width:26vw !important;
        animation: rotate 8s infinite;
        animation-timing-function: ease-in-out;
    }
    .service-card:nth-child(even)>img{
        right: 5vw;
    }
    .service-card:nth-child(odd)>img{
        left: 5vw;
    }
    .service-card:nth-child(odd){
        margin-left: 20vw;
    }
    .service-card:nth-child(even){
        margin-right: 20vw;
    }
    h1{
        font-size: 8vw;
    }
    .service-card>h2{
        font-size: 5vw;
        height: 5vw;
    }
    p{
        font-size: 3vw;
    }
}