.featured-courses {
    background: linear-gradient(to bottom, #f1f9ff, #cfe8ff);
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0b2239;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 40px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}
.courses-button {
    margin-top: 24px;
}

.course-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: left;
    min-width: 250px;
    scroll-snap-align: start;
}


.course-number {
    display: inline-block;
    background: #007bff;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 10px;
}


.course-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}


.course-duration {
    color: #2563eb;
    font-size: 0.9rem;
    margin-bottom: 10px;
}


.course-desc {
    font-size: 0.85rem;
    color: #4b5563;
}

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 480px) {
    .courses-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
    }
    .course-card {
        flex: 0 0 80%;
    }
}