.unit-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    transition: all 0.4s;
	padding-top:20px;
}
.unit-image {
    width: 100%;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    overflow: hidden;
	z-index:2;
    position: relative;
}
.unit-image img {
    width: 100%;
}
.unit-title {
    font-size: clamp(14px,2vw,16px);
    line-height: 32px;
    color: #212121;
    text-align: center;
    overflow: hidden;
    padding-bottom: 1.5rem;
}
.unit-item:hover .unit-image:after {height: 0;}
.unit-image:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 205, 0.138) 6.08%, rgba(0, 0, 205, 0.6) 75.1%);
    transition: 0.3s;
    bottom: 0;
}

.unit-item:hover .unit-title {
    color: var(--color3);
}
.unit-item:before{
	content: "";
	width: 84px;
	height: 8px;
	position: absolute;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.6s;
	background: var(--color3);
	border-radius: 40px 40px 0 0;
	left: 0;
	right: 0;
	top: 20px;
	margin: auto;
	transition: 0.3s;
}

.unit-item:hover:before {
    top: 0;
    opacity: 1;
}
.unit-title:after {
    content: "";
    width: 84px;
    height: 8px;
    background: var(--color3);
    display: table;
    margin: auto;
    border-radius: 0 0 40px 40px;
    opacity: 0;
    transition: 0.3s;
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
}

.unit-item:hover .unit-title:after {
    opacity: 1;
    bottom: 0;
}
.swiper-unit:not(.swiper-initialized) .swiper-slide {
  flex-shrink: unset;
    width: 195px;
    margin-left: 20px;
  flex: 0 0 195px;
}

@media screen and (max-width: 992px) {

}