section#services {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 5rem;
    display: block;
}

section#services h2,
section#services h3 {
    margin-bottom: 5rem;
}

section#services div.container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}


section#services div.container a.service {
    height: 320px;
    width: 250px;
    border: 1px solid #000;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
    transition: var(--default-transition)
}

section#services div.container a.service:hover {
    transform: var(--default-transform);
}

section#services div.container a.service>article>button {
    border-radius: 4px;
    padding: .5rem 2rem;
    margin-top: 1rem;
    background: #1f598717;
    border: unset;
}

section#services div.container a.service:hover>article>button,
section#services div.container a.service article>button:hover {
    color: #000000;
    background: #1f598740;
}

section#services div.container article {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

section#services div.container article figure.illustration {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: inset 0px -2px 4px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

section#services div.container article figure.illustration img {
    width: 60px;
}

section#services div.container article figure.proliferation {
    display: inline;
    vertical-align: middle;
}

section#services div.container article figure.proliferation img {
    display: unset;
}

section#services div.container article div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section#services div.container a.service:hover {
    border: 2px solid var(--secondary-color);
}

section#services div.container article span.name {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

section#services div.container article span.name::after {
    content: "";
    border-bottom: 2px solid var(--secondary-color);
    width: 100px;
    display: block;
    margin-top: 10px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

section#services div.container article span.desc {
    margin-top: 10px;
}


section#services .swiper {
    width: 100%;
    height: 100%;
    padding: 15px 0;
}

section#services.swip {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 30px;
    display: block;
}

section#services.swip {
    margin-bottom: 2rem;
}

section#services.swip h2 {
    margin-bottom: 1rem;
}

section#services.swip div.container {
    padding: unset;
}


section#services .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    flex-wrap: wrap;
}


section#services .swiper-slide.is-mobile,
section#services.swip>h2.is-mobile {
    display: none;
}

section#services div.swiper-pagination {
    display: none;
}

section#services.swip div.container .swiper-button-next,
section#services.swip div.container .swiper-button-prev {
    color: #000;
}



@media (max-width: 640px) {
    section#services .swiper-slide.is-mobile {
        display: flex;
    }

    section#services .swiper-slide.is-desktop,
    section#services.swip>h2.is-desktop {
        display: none;
    }

    section#services.swip>h2.is-mobile {
        display: block;
    }
}
