.services{
    display: flex;
    margin-top: 64px;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}


.service{
    background-color: white;
    padding: 8px;
    border-radius: 24px;
    position: relative;
    cursor: pointer;

}

.service h2{
    color: var(--main);
    position: absolute;
    bottom: 16px;
    left: 16px;
    text-align: left;
    max-width: 80%;
}

.service button{
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    outline: none;
    border-radius: 20px;
    background-color: var(--main);
    cursor: pointer;

    width: 95px;
    height: 95px;

    > svg{
        width: 60px;
        height: 60px;
        object-fit: cover;
        transform: rotate(-45deg);
        transition: all .3s;
    }
}

.service:hover button svg{
    transform: translate(4px, -4px) rotate(-45deg);
}

.service .image-wrapper {
    width: 230px;
    height: 230px;
    background-color: #DEE9E6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service .image-wrapper img {
    width: 128px;
    height: 128px;
    /* margin-left: -64px; */
    object-fit: contain;
}

#appointment_holder img{
    width: 480px;
    border-radius: 24px;
    box-shadow: -32px 32px 0px var(--main);
    border: 8px solid #f9f9f9;
}

.service:has(.image-wrapper)  button{
    margin-top: 8px;
    margin-right: 8px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
}
@media (max-width: 650px){
    .service .image-wrapper{
        width: auto;
        height: auto;
        padding: 48px;
    }

    .service .image-wrapper img{
        width: 96px;
        height: 96px;
    }

    .service h2{
        font-size: 18px;
    }

    .service button{
        width: 48px !important;
        height: 48px !important;
    }

    .service button svg{
        width: 32px;
        height: 32px;
    }

    #appointment_holder img {
        max-width: 300px;
        box-shadow: -24px 24px 0px var(--main);

    }
}
