/* Base styles and variables for the demo */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

.course-content {
    font-family: 'Lora', Georgia, serif;
    line-height: 1.8;
    color: #334155;
}

.course-content h1,
.course-content h2,
.course-content h3,
.course-content h4 {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
    font-weight: 700;
}

/* Animations & Transitions */
.interactive-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

/* Sidebar transitions (Responsive) */
.sidebar-transition {
    transition: transform 0.3s ease-in-out;
}

/* Module / Lesson header banner */
.welcome-header {
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    background: #0a0a0a;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
}

/* Lesson section heading accent */
.lesson-section-header {
    background: #0a0a0a;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.4);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

/* Hero image */
.hero-image {
    width: 100%;
    height: 100%;
    max-width: 500px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Lesson header h2 always white */
.lesson-section-header h2 {
    color: #f8fafc !important;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .course-content {
        font-size: 1.05rem; /* Larger text for readability on mobile */
    }

    .hero-container {
        order: 1;
        margin-top: 20px;
        justify-content: center;
    }

    .hero-image {
        margin-top: 20px;
    }
}
