.service__card {
    box-shadow: 0px 3px 20px rgba(186, 186, 171, 0.18);
    border-radius: 20px;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .service__card {
        border-radius: 30px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service .service__slider .slick-list {
        margin: -80px 0;
    }

    .service .service__slider {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .service .service__slider .slick-arrow {
        order: 1;
        margin-top: 40px;
    }

    .service .slick-track {
        display: flex;
    }

    .service .slick-slide {
        height: auto;
    }

    .service .slick-slide > div,
    .service .slick-slide > div > div {
        height: 100%;
    }

    .service .slick-slide>div>div {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .service .section__content {
        margin-bottom: 0;
    }

    .service .section__button {
        margin-top: 75px;
    }
}

.service__card__content {
    position: relative;
    z-index: 3;
    margin-bottom: 30px;
}

@media (min-width: 1025px) {
    .service__card__content {
        margin-bottom: 0;
    }
}

.service__link {
    text-decoration: none;
    display: block;
    text-align: center;
    background-color: var(--color-white);
    position: relative;
    padding: 40px 35px;
}

.service__link:before {
    content: "";
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transform-origin: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: var(--color-secondary);
    transition: transform 0.55s ease-in-out;
}

@media (min-width: 768px) {
    .service__link {
        padding: 45px 32px;
    }
}

@media (min-width: 1025px) {
    .service__link:before {
        display: block;
    }

    .service__link {
        padding: 55px 62px 95px;
        height: 100%;
        display: flex;
        justify-content: center;
    }

    .service__link:before {
        border-radius: 50%;
    }

    .service__link:hover:before {
        transform: translateY(-50%) scale(4);
    }

    .service__link:hover .service__more {
        transform: translateY(0);
        opacity: 1;
    }

    .service__link:hover .service__title,
    .service__link:hover .service__description,
    .service__link:hover p{
        color: var(--color-white);
    }

    .service__link:hover .service__icon {
        filter: grayscale(100%) brightness(500%);
    }

    .service__link:hover .service__more i {
        margin-left: 5px;
    }
}

.service__icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-tertiary);
    font-size: 50px;
    filter: brightness(1);
    transition: color 0.3s ease-in-out,
                filter 0.3s ease-in-out;
}

.service__icon img {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .service__icon {
        font-size: 34px;
        margin-bottom: 7px;
    }
}

@media (min-width: 1025px) {
    .service__icon {
        font-size: 40px;
    }
}

.service__title {
    margin-bottom: 12px;
    transition: color 0.3s ease-in-out;
}

@media (min-width: 1025px) {
    .service__title {
        font-size: 32px;
    }
}

.service__description {
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease-in-out;
}

.section__button--center {
    text-align: center;
}

.service__more {
    display: block;
    text-align: center;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 0.12em;
    width: 100%;
    transition: transform 0.25s ease-in-out,
                opacity 0.25s ease-in-out;

}

@media (min-width: 1025px) {
    .service__more {
        font-size: 16px;
        position: absolute;
        bottom: 40px;
        left: 0;
        width: 100%;
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        color: var(--color-white);
    }
}

.service__more i {
    font-size: 14px;
    display: inline-block;
    margin-left: 5px;
    transition: margin 0.25s ease-in-out;
}

@media (min-width: 1024px) {
    .service__more i {
        margin-left: -5px;
    }
}

.service__more i:after {
    color: var(--color-primary);
}

@media (min-width: 1024px) {
    .service__more i:before {
        color: var(--color-white);
    }
}

@keyframes brushInKeyframe {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
   
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes brushOutKeyframe {
    from {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
    
    to {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

.service .container {
    position: relative;
}

@media (max-width: 1024px) {
    .service__slider .slick-slide {
        padding: 20px 0;
    }
    
    .service .section__content .container {
        padding: 0;
        position: relative;
    }

    .service .section__content {
        margin-bottom: 0;
    }

    .service__slider {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        justify-content: center;
    }

    .service__slider .slick-arrow {
        order: 1;
    }

    .service__slider .slick-prev {
        margin-left: 15px;
    }

    .service__slider .slick-list {
        order: 0;
        margin-bottom: 40px;
    }

    .service .section__button {
        position: relative;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {

    .service .section__button .btn {
        padding: 16px 36px;
    }

    .service__slider .slick-list {
        margin: 0 -16px;
    }

    .service__slider [class*="col-"] {
        padding: 14px 16px;
    }

    .service__slider .slick-prev {
        margin-left: 0;
    }
}