.servicesHoverCard{
    /* display: none; */
    position: absolute;
    width: 420px;
    height: 400px;
    left: 0;
    right: 400px;
    top: 104px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0px 0px 20px #c6c6c67e;
    color: black;
    z-index: 100;
    /* display: grid; */
    display: none;
    grid-template-columns: auto ;
    border-radius: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.showCard2{
    display: grid;
}
.displayNone{
    display: none !important;
}

.servicesHoverCard .cardBox h2{
   margin-top: 20px;
   margin-bottom: 20px;
   margin-left: 30px;
}

.servicesHoverCard .cardBox a{
    color: #444;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    margin-left: 30px;
}
.servicesHoverCard .cardBox a:hover{
    color: #ff554b;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    margin-left: 30px;
}

.servicesHoverCard .cardBox .imgAndSeeAll{
    position: relative;
}
.servicesHoverCard .cardBox .imgAndSeeAll a{
    /* margin-top: 68px; */
    margin-top: 44px;
    color:#FF554B;
}
.servicesHoverCard .cardBox .imgAndSeeAll img{
    position: absolute;
    width: 180px;
    bottom: -50px;
    right: -10px;
}

#closeNavServicesHoverCard{
    position: absolute;
    width: 30px;
    height: 30px;
    right: 10px;
    top: 10px;
    border: none;
    background-color:#FF554B;
    border-radius: 100px;
}
#closeNavServicesHoverCard span{
    position: absolute;
    left: 0;right: 0;
    top: 0;bottom: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    background: url("./icons/plus-icon.png") center center no-repeat;
    background-size: contain;
    filter: invert(1);
    transform: rotate(45deg);
}

@media only screen and (max-width: 1280px) {
    .servicesHoverCard{
        top: 155px !important;
        /* background-color: red; */
    }
}
@media only screen and (max-width: 952px) {
    .servicesHoverCard{
        /* top: 112px !important; */
        width: 360px;
        height: fit-content;
        /* background-color: red; */
    }
    .servicesHoverCard .cardBox h2{
        margin-top: 12px;
        margin-bottom: 12px;
        margin-left: 16px;
        font-size: 1.3rem;
     }
     
     .servicesHoverCard .cardBox a{
         margin-top: 10px;
         margin-left: 16px;
         font-size: 0.9rem;
     }
     .servicesHoverCard .cardBox .imgAndSeeAll img{
        width: 120px;
        bottom: -50px;
        right: 0px;
    }
}
@media only screen and (max-width: 800px) {
    .servicesHoverCard{
        position: fixed;
       top: 158px !important;
       z-index: 9999;
    }
}

@media only screen and (max-width: 650px) {
    /* .servicesHoverCard{
        width: 400px;
        height: 290px;
    }
    .servicesHoverCard .centery{
        height: 290px !important;
    } */
        
    .servicesHoverCard .cardBox h2{
        margin-top: 12px;
        margin-bottom: 12px;
        margin-left: 16px;
        font-size: 1rem;
     }
     
     .servicesHoverCard .cardBox a{
         margin-top: 10px;
         margin-left: 16px;
         font-size: 0.6rem;
     }
     .servicesHoverCard .cardBox .imgAndSeeAll img{
        width: 80px;
        bottom: -30px;
        right: 0px;
    }

    #closeNavServicesHoverCard{
        width: 24px;
        height: 24px;
        right: 8px;
        top: 8px;
    }
    #closeNavServicesHoverCard span{
        width: 18px;
        height: 18px;
    }
}

@media only screen and (max-width: 410px) {
.servicesHoverCard{
     width: 95%;
     height: fit-content;
     overflow: hidden;
     position: relative;
     padding-bottom: 20px;
         } 
    .servicesHoverCard .cardBox .imgAndSeeAll a{
        /* margin-top: 68px; */
        margin-top: 20px;
        /* background-color: red; */
        margin-bottom: 10px;
        color:#FF554B;
    }
    .servicesHoverCard .cardBox .imgAndSeeAll img{
        position: absolute;
        width: 180px;
        bottom: -30px;
        right: -10px;
    }   
}
@media screen and (max-width: 768px) and (min-width: 320px) {   
.servicesHoverCard .cardBox .imgAndSeeAll {
    position: relative;
 }
    }