/* Main Content Styles */
.main-content {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
    background: #f8fafc;
}

/* Courses Section */
.courses-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gradient-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(to right, #0070f3, #6b46c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

/* Course Filters */
.course-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: white;
    border: 2px solid #e5e7eb;
    color: #4b5563;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0070f3;
    border-color: #0070f3;
    color: white;
}

/* Course Cards */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.course-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-header {
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0.75rem;
    color: #0070f3;
    font-size: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
}

.course-level,
.course-duration {
    padding: 0.25rem 0.75rem;
    background: #e5e7eb;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #4b5563;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.course-content p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.course-info {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.course-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.course-info i {
    color: #0070f3;
}

.course-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.course-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0070f3;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
}

.course-btn:hover {
    background: #0051a2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gradient-title {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }
}
