.rows {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.card-wrapper {
    flex: 0 0 calc(25% - 20px);
    /* 4 cards per row with spacing */
    /*flex: 0 0 calc(33.333% - 20px);          4 cards per row with spacing */
    box-sizing: border-box;
}

/* Glossy card styling */
.glossy-card {
    background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, #ededed 4px, #f6f6f6 6px);
    /* background-image: repeating-linear-gradient(190deg, #f1f1f1, #fbfafa 7%, #f3f3f3 10%); */
    /* background-image: linear-gradient(225deg, #8abdf9 0%, #ffffff 45%, #f1fff8 100%); */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glossy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Content */
.card-content h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    font-weight: 600;
    color: #054072;
}

.card-content .desc {
    font-size: 0.95rem;
    color: #000;
    height: 100px;
    overflow: hidden;
}

/* Info box */
.info {
    font-size: 0.9rem;
    margin: 10px 0;
    color: #444;
}

.info i {
    margin-right: 6px;
    color: #007bff;
}

/* Button */
.explore-btn {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: linear-gradient(135deg, #5f7af2, #9b6edf);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.explore-btn {
    margin-top: 15px;
    margin-left: auto;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto;
}

@media screen and (max-width: 768px) {
    .card-wrapper {
        flex: 0 0 100%;
        /* 1 card per row on small screens */
    }
}