/* * {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
} */

.card-wrapper {
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.card-list .card-item {
    list-style: none;
}

/* .card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
} */
/* Khung card New*/
.card-list .card-item .card-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 2px solid transparent;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: 0.35s ease;
    animation: floatCard 4s ease-in-out infinite;
}
/* Hiệu ứng nổi nhẹ */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}
/* Hover: nổi lên nhẹ, border xanh New*/
.card-list .card-item .card-link:hover{
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(83,114,240,0.25);
    border-image: linear-gradient(45deg, #5372f0, #8fd3f4) 1;
}
/* Logo New */
.card-list .card-link .card-image {
    max-width: 80%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: 0.3s ease;
}
/* Hover: logo trở lại màu + sáng hơn New */
.card-list .card-link:hover .card-image {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.08);
}

/* Khung card */
.card-list .card-item .card-link:active {
    cursor: grabbing;
}

/* .card-list .card-item .card-link:hover {
    border-color: #5372f0;
} */

/* .card-list .card-link .card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
} */

.card-list .card-link .badge {
    color: blue;
    margin: 16px 0 18px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    background: #dde4ff;
    width: fit-content;
    border-radius: 50px;
}

.card-list .card-link .card-title {
    font-size: 16px;
    color: #000;
    font-weight: 100;
}

.card-list .card-link .card-button {
    height: 35px;
    width: 35px;
    color: #5372f0;
    border-radius: 50%;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    transform: rotate(-45deg);
    border: 2px solid #5382f0;
    transition: 0.4s ease;
}

.card-list .card-link:hover .card-button {
    color: #fff;
    background: #5372f0;
}

/* Pagination cách slider ra */
.card-wrapper .swiper-pagination {
    position: relative;
    margin-top: 20px !important; /* đẩy xuống */
}

.card-wrapper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #9db3ff;
    opacity: 0.5;
    transition: 0.25s ease;
}

.card-wrapper .swiper-pagination-bullet-active {
    width: 14px;
    height: 14px;
    background: #5372f0;
    opacity: 1
}

.card-wrapper .swiper-slide-button {
    color: #5372f0;
    margin-top: -35px;
    display: none;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        margin: 0 10px 25px;
    }

    .card-wrapper .swiper-slide-button {
        display: none;
    }
}