﻿.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    scroll-behavior: smooth;
}

    .scrolling-wrapper::-webkit-scrollbar {
        height: 8px;
    }

    .scrolling-wrapper::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }
.badge-free {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #fff;
    color: #28a745;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.card-scroll {
    flex: 0 0 auto;
    width: 260px;
    height: 280px;
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-in-out;
}

    .card-scroll:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .card-scroll img {
        width: 70px;
        height: auto;
        margin-bottom: 15px;
    }

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    white-space: normal;
    line-height: 1.4;
}

.card-footer {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
}
.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    padding: 20px;
    gap: 20px;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-scroll {
    position: relative;
    flex: 0 0 250px;
    background: linear-gradient(to bottom right, #6a11cb, #2575fc);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 20px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .card-scroll:hover {
        transform: translateY(-5px);
    }

.badge-free {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #fff;
    color: #28a745;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quiz-image {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}

.quiz-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.quiz-description {
    font-size: 0.9rem;
    color: #f0f0f0;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
