/* Make all course cards equal height */
.owl-courses-item .item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 420px;   /* Same height for all cards */
}

/* Same image size */
.owl-courses-item .item img {
    width: 100%;
    height: 220px;
     object-fit: contain;   /* Shows the full image */
    background: #fff; 
}

/* Content area */
.owl-courses-item .down-content {
    flex: 1;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Same title area */
.owl-courses-item .down-content h4 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;      /* Keeps all titles equal height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Hide unused info section if empty */
.owl-courses-item .info {
    display: none;
}