/* START SERVICES STYLE*/
.services {
    background-color: var(--bg-color);
}

.services .all-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
}

.services .all-services .service {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.services .all-services .service::before,
.services .all-services .service::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 0;
    background-color: var(--main-color);
    transition: var(--transition);
}

.services .all-services .service::before {
    top: 0;
    left: 0;
}

.services .all-services .service::after {
    bottom: 0;
    right: 0;
}

.services .all-services .service:hover:before,
.services .all-services .service:hover::after {
    height: 100%;
}

.services .all-services .service:hover {
    transform: translateY(-10px);
}

.services .all-services .service img {
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
}

.services .all-services .service h3 {
    color: var(--main-color);
}

/* END SERVICES STYLE*/