.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: white;
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.program-card:hover .card-image img {
    transform: scale(1.05);
}

.card-title {
    padding: 16px 16px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: var(--dark-color);
    background: var(--white);
    line-height: 1.4;
}

.filter-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 35px;
}

.filter-container form {
    margin: 0;
}

.age-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 240px;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 14px;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: 0.2s ease;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-image: url("data:image/svg+xml;utf8,<svg fill='%231C75BC' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.age-select:hover {
    background-color: var(--primary-light);
}
