.card {
    width: 250px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    margin: 16px;

    scale: 1;
    transition: scale 0.5s;
}
.card:hover{
    scale: 1.1;
    transition: scale 0.5s;
}
.card-logo {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 12px;
    margin-bottom: 18px;
}
.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}
/* Ensure content area centers elements and handles long titles */
.card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}
.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 100%;
}

/* Clamp title to 2 lines with ellipsis on overflow */
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-detail {
    padding: 8px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}
.card-detail:hover {
    background: #0056b3;
}
.card-btn {
    display: flex;
    justify-content: center;
}
.card-detail { align-self: center; }