/* General Body and Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

.container {
    max-width: 1200px;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid #dee2e6;
}

/* Course Hero Section */
.course-hero-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.course-hero-modern .course-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.course-hero-modern .badge {
    font-size: 0.9rem;
    font-weight: 600;
}

.course-hero-modern .instructor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.course-hero-modern .instructor-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.course-hero-modern .course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #6c757d;
}

/* Main Content Sections */
.content-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.content-section h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* What you'll learn */
.outcomes-list-modern {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.outcomes-list-modern li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.outcomes-list-modern .bi {
    color: #20c997;
    font-size: 1.2rem;
}

/* Skills */
.skills-badges-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.skills-badges-modern .badge {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.9rem;
    padding: 0.5em 1em;
}

/* Syllabus Accordion */
.syllabus-accordion-modern .accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.syllabus-accordion-modern .accordion-button {
    font-weight: 600;
    border-radius: 12px !important;
}

.syllabus-accordion-modern .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.lesson-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.lesson-item-modern:last-child {
    border-bottom: none;
}

.lesson-type-badge-modern {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Reviews Section */
.review-card-modern {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.review-card-modern:last-child {
    border-bottom: none;
}

.review-avatar-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

/* Sidebar */
.sticky-sidebar-modern {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.sidebar-card .price {
    font-size: 2.5rem;
    font-weight: 700;
}

.progress-container {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background-color: #20c997;
}

.instructor-card-sidebar {
    text-align: center;
}

.instructor-card-sidebar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .sticky-sidebar-modern {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .course-hero-modern .course-cover {
        height: 250px;
    }
    .course-hero-modern, .content-section, .sidebar-card {
        padding: 1.5rem;
    }
}