.program-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    height: 100%;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #df622c, #ff8c42);
    z-index: 2;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(223, 98, 44, 0.15);
    border-color: #df622c;
}

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.card-header {
    position: relative;
}

.card-image {
    height: 160px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

.card-link:hover .card-image img {
    transform: scale(1.1);
}

/* Removed card-tags section */
.card-tags {
    display: none;
}

.card-body {
    padding: 20px 25px 0 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(223, 98, 44, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    width: fit-content;
}

.badge-icon {
    font-size: 1rem;
    margin-right: 6px;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #df622c;
    letter-spacing: 0.5px;
}

.program-name {
    margin: 0 0 15px 0;
    font-size: 1rem;
    line-height: 1.3;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

.card-link:hover .program-name {
    color: #df622c;
}

.program-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #df622c;
    transition: width 0.3s ease;
}

.card-link:hover .program-name::after {
    width: 100%;
}

/* Compact stats styles */
.program-stats.compact-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.program-stats.compact-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.program-stats.compact-stats .stat-icon {
    font-size: 1rem;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.program-stats.compact-stats .stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.program-stats.compact-stats .stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.program-stats.compact-stats .stat-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.program-highlights {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #555;
}

.highlight-dot {
    width: 6px;
    height: 6px;
    background: #df622c;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-footer {
    padding: 20px 25px;
    background: rgba(248, 249, 250, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.program-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(90deg, #df622c, #ff8c42);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(223, 98, 44, 0.2);
}

.card-link:hover .program-cta {
    background: linear-gradient(90deg, #ff8c42, #df622c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(223, 98, 44, 0.3);
}

.program-cta span {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.card-link:hover .cta-arrow {
    transform: translateX(5px);
}

/* Card hover state indicators */
.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(223, 98, 44, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

.card-link:hover::before {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .program-stats.compact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .program-stats.compact-stats .stat {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    .program-name {
        font-size: 1.3rem;
    }
    
    .program-stats.compact-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .program-stats.compact-stats .stat {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .card-image {
        height: 140px;
    }
    
    .card-body {
        padding: 15px 20px 0 20px;
    }
    
    .program-stats.compact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }
    
    .program-stats.compact-stats .stat {
        flex-direction: row;
        text-align: left;
    }
    
    .card-footer {
        padding: 15px 20px;
    }
    
    .program-cta {
        padding: 12px 16px;
    }
    
    .program-cta span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .program-card {
        border-radius: 12px;
    }
    
    .card-image {
        height: 120px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .program-stats.compact-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .program-stats.compact-stats .stat {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .program-name {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .program-badge {
        margin-bottom: 12px;
        padding: 5px 10px;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .highlight {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .program-highlights {
        padding-top: 12px;
    }
}

@media (max-width: 400px) {
    .program-stats.compact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .program-stats.compact-stats .stat {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 4px;
    }
    
    .program-stats.compact-stats .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .program-stats.compact-stats .stat-label {
        font-size: 0.65rem;
    }
    
    .program-stats.compact-stats .stat-value {
        font-size: 0.75rem;
    }
}

/* Animation for card entrance */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.program-card {
    animation: cardEntrance 0.6s ease-out;
}

/* Ensure all interactive elements are clickable */
.card-link * {
    pointer-events: none;
}

.card-link {
    pointer-events: all;
}

/* Additional utility for better spacing */
.program-stats.compact-stats .stat:last-child {
    margin-bottom: 0;
}