@import "../component-pagination/style.css";

.home-service{
    z-index: 1;
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--color-gray-6) 58%, white 58%);
    overflow: hidden;
    >.container{
        >h3{
            color: var(--color-primary-1);
            margin-bottom: 24px;
        }
        >h2{
            margin-bottom: 84px;
        }
    }
}
@media screen and (width < 768px) {
    .home-service > .container > h2{
        margin-bottom: 60px;
    }
}
@media screen and (width < 576px) {
    .home-service{
        padding: 60px 0;
    }
}
.home-service-swiper{
    margin-bottom: 84px;
    overflow: visible;
}
@media screen and (width < 768px) {
    .home-service-swiper{
        margin-bottom: 60px;
    }
}

.home-service-swiper-card{
    aspect-ratio: 3 / 4;
    position: relative;
    >img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    >p{
        position: absolute;
        top: -24px;
        left: 0;
        padding: 0 14px 0 16px;
        border-right: 2px solid var(--color-primary-1);
        color: var(--color-primary-1);
    }
    >h5{
        position: absolute;
        bottom: -24px;
        right: 0;
        padding: 16px 24px 16px 68px;
        background-color: var(--color-gray-1);
        color: white;
        clip-path: polygon(
            56px 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}

.home-service-swiper-change-page{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media screen and (width < 576px) {
    .home-service-swiper-change-page{
        flex-direction: column;
        gap: 40px;
        justify-content: center;
    }
}