.services .title {
    text-align: center;
    font-size: 50px;
    font: var(normal normal normal 50px/1.4em'suez one', serif);
    color: rgb(39, 36, 67);
    background: var(--white);
    padding: 2rem 3rem;

}

.services .service-card{
    display: grid;
    grid-template-columns: 30% 70% ;
    gap: 1rem;
    padding:4rem 3rem;
    background: var(  --second-card);
    box-shadow: rgb(9 9 9 / 8%) 5px 20px 20px 0px;
    overflow: hidden;

}
.services .service-card.mt{
    padding-top:8rem ;
}
.services .service-card-white {
    background: var(--white);
    grid-template-columns: 70% 30% ;
}
 
.services  .service-card .service-detail,
.services  .service-card .service-img {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem 0;
 
}

.services .service-card .service-detail p {
    height: 100%;
    display: flex;
    line-height: 1.6em;
    font-size: 18px;
    margin: auto; 
    text-align: center;


}

.services .service-card .service-detail a {
    color: var(--active);
    font-weight: bold;
    cursor: pointer;
    border: 1px solid var(--active);
    width: fit-content;
    padding: 0.3rem 4rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-self: center;
    box-shadow: rgb(209 206 206 / 35%) 0px 5px 15px;
}

.services .service-card  .service-detail a:hover {
    border: 1px solid var(--white);
    color: var(--white);
    background-color: var(--active);


}

.service-detail-main{
    display: grid!important;
    justify-content: center!important;
    gap: 1rem;
    padding: 1rem;
    margin: 0 2rem;
    background:var(--white)
}
.service-detail-main img{
    height: 16rem;
    width: 16rem;
    margin: auto;
}

 
.services .service-card .service-img img {
    transform: rotate(0.5deg);
    height: 100%;
    width: 100%;
    box-shadow: rgb(213 206 206 / 74%) 0px 2px 8px 0px;
    border-radius: 1rem;


}


.services {
    margin: 0rem 2rem;
}

.services .service-card img:hover {
    -webkit-filter: sepia(0);
    filter: sepia(0);
}



.services .service-card div {
    
    
}
.services .service-card div a{
    margin: 1rem auto;
}
.services .service-card div h2 {
    text-align: center;
}

.services   .sub-title{
    background: var(--white);
    text-align: center;
    padding: 0 8rem;
    line-height: 1.6em;
    font-size: 18px;
    font-family: "poppins", sans-serif;
}

.services .service-card div img {
    height: 100%;
    width: 100%;
}


@media only screen and (max-width: 920px) {

    .services {
       
        margin: 0rem!important;
        display: grid!important;
        
    }
    .service-detail-main{
        margin: 0rem!important;
    }

 

    .services .title {
        font-size: 24px!important;
        font-weight: 700!important;
        padding: 2rem 0rem;
    }

    .services .service-card {
       padding: 1rem 0rem!important;
        display: grid !important;  
        grid-template-rows: repeat(2,fit) !important;
        grid-template-columns: 1fr!important;
        position: relative!important;
        box-shadow: rgb(117 119 121 / 20%) 1px 13px 24px!important;
    }
   
    .services  .service-card-white div{
        display: grid!important;
      
        margin:0rem 1rem!important;
        
    }
    .services .service-card .service-detail{
        grid-row: 2;
     
    }
    .services .service-card .service-img{
        grid-row: 1!important;
        /* grid-template-rows: repeat(2, calc((60vh - 12px)/2)); */
    }

    .services .service-card p {
        width: 100%!important;
        padding: 0rem 1rem!important;
        text-align: center!important;
        justify-items: center!important;
    }

    .services .service-card img {
        max-width: 100%;
        height: auto!important; 
        margin: 0rem auto!important;
        box-shadow: none !important;
        background: linear-gradient(180deg, rgba(0, 204, 153, 0.05) 0%, rgba(0, 204, 153, 0) 100%);
    }

    .services .sub-title{

        padding: 0 0.5rem!important;

    }
    .services .service-card.mt{
        padding-top:4rem!important ;
    }
    .services .service-card .service-img .small {
        width: 90%;
    }
}