section.services {
    /*background-image: url("/images/background.jpg");*/
    position: relative;
    padding: 5rem 0px;
}
section.services .bg-image {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    top: 0;
}
section.services .row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
section.services .row .col-md-3 {
    flex: 1 1 250px;
    background: white;
}
section.services .service-item {
    background: white;
    padding: 12px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
section.services .service-item p {
    height: 300px;
}
section.services .col-md-3:nth-child(3) .service-item p {
    height: 280px;
}

section.services .service-icon {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

section.services .service-item:hover .service-icon {
    transform: rotate(-10deg) scale(1.1);
}
section.services .service-item:hover {
    transform: scale(1.02);
}

main {
    margin-top: 5rem;
}

.services .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
}
.services .service-card p,
.services .service-card h3 {
    position: relative;
}
.services .service-card p {
    color: white;
}

@media (max-width: 576px) {
    section.services .row .col-md-3 {
        background: unset;
    }
    section.services .service-item p {
        height: unset;
    }
}
