/*სერვისები სია */
.service-grid {
    transform: translateX(-10px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    margin-left: 20px;
}

.service_item {
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
    opacity: 0.9;
    position: relative;
}

.service_item:hover {
    transform: translateY(-2px);
}

.service_item:hover > a{
    display: none;
}

.service_item:hover > .service_item_hover{
    display: grid;
}

.service_item > h3{
    margin-top: auto;
    font-size: medium;
}

.service_item img {
    max-width: 50%;
    height: auto;
}

.service_item a{
    font-size: 50px;
}



.service_item_hover{
    position: absolute;
    width: 70%;
    height: 50%;
    bottom: 18px;
    left: 15%;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)); 
    display: none;
}

.service_item_hover > a{
    max-height: 30px;
    height: 100%;
    border-radius: 8px;
    position: relative;
    padding: 8px;
    font-size: 25px;
    top: 55%;
    transform: translateY(-50%);
    margin-top: 0;
    background-color: rgba(0, 0, 50, 0.05);
}

.service_item_hover > a:hover{
    background-color: rgba(0, 0, 50, 0.1);
}

@media (max-width: 500px) {
    .service-grid{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));    
        gap: 10px;
    }
    .service_item > h3{
        font-size: small;
    }
    .service_item_hover{
        width: 90%;
        left: 5%;
    }
}