.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.box-title {
    position: relative;
    width: 100%;
    text-align: center;
}

.box-title:before {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    margin: auto;
    content: '';
    background: #CCC;
}

.box-title h2 {
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 15px;
    color: #333;
    background: #fff;
    border: 1px solid #999;
    border-radius: 3px;
    line-height: 1;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.swiper {
    width: 100%;
    padding: 20px 0 50px;
}

/* Дополнительные стили */
.services-box {
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services-card {
    overflow: hidden;
}

/* Убираем отступы у изображений */
.services-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-card-top img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.services-card:hover img {
    transform: scale(1.1);
}

/* Текстовые стили */
.services-card-body {
    text-align: center;
    padding: 10px 5px;
    height: 40px;
}

.services-card-title {
    color: #069;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-card-title:hover {
    color: var(--main-color, #0077cc); /* Основной цвет */
}

.swiper-button-next, .swiper-button-prev {
    background: rgba(0,0,0,0.7);
    border-radius: 3px;
    padding: 0 7px;
}

.swiper-button-next:after,
.swiper-button-next:before,
.swiper-button-prev:after,
.swiper-button-prev:before {
    color: #FFF;
    font-size: 1.1rem;
}