/* Home Courses Section Styles */
.home-courses-section {
    padding: 80px 0;
    background: #f8fafc;
}

.shared-course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.shared-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.course-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shared-course-card:hover .course-image {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-badge.live {
    background: #fee2e2;
    color: #ef4444;
}

.course-badge.recorded {
    background: #e0e7ff;
    color: #4f46e5;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.course-price {
    display: flex;
    flex-direction: column;
}

.price-discount {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
}

.price-original {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.course-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: #4f46e5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-link i {
    transition: transform 0.3s ease;
}

.shared-course-card:hover .course-link i {
    transform: translateX(5px);
}
