.card {
    height: 250px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    transition: 0.5s;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.card:hover {
    height: 350px;
    margin: 40px 0;
}
.card .imgbox {
    position: absolute;
    inset: 20px 20px 50px 20px;
    border-radius: 20px;
    transition: 0.5s;
    z-index: 10;
}
.card:hover .imgbox {
    inset: -50px 60px 250px 60px;
    box-shadow: 0 0 0 10px #2cb676;
}
.card .imgbox::before,
.card .imgbox::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: transparent;
    transform: translateY(-100px);
    opacity: 0;
    transition: 0.5;
    pointer-events: none;
}

.card .imgbox::before {
    left: -30px;
    border-top-right-radius: 100%;
    box-shadow: 5px -5px 0 4px #2cb676;
}
.card .imgbox::after {
    right: -30px;
    border-top-left-radius: 100%;
    box-shadow: -5px -5px 0 4px #2cb676;
}
.card:hover .imgbox::before,
.card:hover .imgbox::after {
    transform: translateY(50px);
    opacity: 1;
    background: white;
}
.card img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 15px;
    object-fit: contain;
}

.card h2 {
    font-weight: 600;
    position: absolute;
    color: #333;
    transition: 0.5;
    bottom: 8px;
}
.card:hover h2 {
    bottom: -25px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 0 10px #2cb676;
}
.card .content {
    visibility: hidden;
    padding: 40px;
    transition: 0.5;
    opacity: 0;
    text-align: center;
    position: relative;
    transform: translateY(-50px);
}
.card:hover .content {
    visibility: visible;
    opacity: 1;
    transform: translateY(40px);
}
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}
/* .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}
 */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    opacity: 0.5;
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: white;
    opacity: 1;
}
