h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: 2px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition:
        transform 0.18s,
        box-shadow 0.18s;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-title {
    font-size: 1.25rem;
    margin: 18px 0 8px 0;
    color: #222;
    font-weight: 600;
}
.card-link {
    margin-bottom: 18px;
    color: #4f8cff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.card-link:hover {
    color: #1a5fd6;
    text-decoration: none;
}
