.service-page {
    padding-bottom: 6rem;
}

/* Services */
.services-section {
    background: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 52.5rem;
    padding: 2.4rem;
    transition: all .3s ease;
    background-image: url(../images/home/service-bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.service-card:hover {
    box-shadow: 0 1rem 2.4rem rgba(0, 113, 111, 0.14);
    background-image: url(../images/home/service-bg-hover.png);
}

.service-card:hover h3,
.service-card:hover p {
    color: #fff;
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-icon {
    position: absolute;
    top: 0rem;
    right: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((99 / 411) * 100%);
    height: auto;
    aspect-ratio: 1/1;
}

.service-icon img {
    object-fit: contain;
    transition: all .3s ease;
    width: 4.8rem;
    height: 4.8rem;
}

.service-card h3 {
    max-width: 17.4rem;
    min-height: 9rem;
    padding: 0 0 1.6rem;
    color: var(--main-color);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.25;
    border-bottom: .1rem solid #2B8080;
    transition: all .3s ease;
}

.service-card p {
    padding-top: 1.6rem;
    margin: 0 0 2.4rem;
    transition: all .3s ease;
}

.service-img {
    overflow: hidden;
    height: 25rem;
    border-radius: 1.2rem;
    margin-top: auto;
}

.service-img img {
    height: 100%;
    object-fit: cover;
}

.service-action {
    margin-top: 3.2rem;
}

@media (max-width: 1727px) {
    .service-card {
        padding: 1.6rem;
    }

    .service-card p {
        font-size: 1.4rem;
        margin: 0;
    }

    .service-card h3 {
        max-width: 13.4rem;
        font-size: 2.4rem;
    }

    .service-card h3 {
        min-height: 8.5rem;
    }

    .service-card {
        min-height: 44.5rem;
    }

    .service-img {
        height: 20rem;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 45rem));
        gap: 2.4rem;
        justify-content: center;
    }

    .service-card {
        width: 100%;
        max-width: 45rem;
    }

    .service-page {
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        max-width: 100%;
    }

    .service-card h3 {
        font-size: 2.4rem;
        min-height: 8rem;
    }

    .service-img {
        height: 22rem;
    }

}