
/* === Course Cards Modern (from courses.php) === */
.course-card-modern {
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 18px rgba(142,23,81,0.10);
    position: relative;
}
.course-card-modern:hover {
    box-shadow: 0 10px 32px rgba(142,23,81,0.13), 0 2px 8px rgba(142,23,81,0.07);
    transform: translateY(-7px) scale(1.02);
}
.course-image-wrapper {
    height: 210px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.course-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s;
}
.course-card-modern:hover .course-image-wrapper img {
    transform: scale(1.06);
}
.course-price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: linear-gradient(90deg,#8E1751 60%,#BD3A77 100%);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
    border-radius: 1.2rem;
    padding: 0.35em 1.1em;
    box-shadow: 0 2px 8px rgba(142,23,81,0.13);
    letter-spacing: 0.5px;
    border: 2px solid #fff;
}
.course-price-badge.discount {
    background: linear-gradient(90deg,#d32f2f 60%,#ff6f61 100%);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
    border-radius: 1.2rem;
    padding: 0.35em 1.1em;
    box-shadow: 0 2px 8px rgba(211,47,47,0.13);
    border: 2px solid #fff;
}
.course-card-modern .card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #8E1751;
    margin-bottom: 0.5rem;
    text-align: center;
}
.course-card-modern .card-body {
    padding-bottom: 1.2rem;
}
.course-card-modern .btn {
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.7rem;
}
.course-card-modern .teacher-pic {
    width:36px;height:36px;object-fit:cover;border-radius:50%;margin-left:0.5rem;
}
.course-card-modern .course-meta {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 0.3rem;
    text-align: center;
}
.course-card-modern .course-meta strong {
    color: #8E1751;
    font-weight: 700;
} 