* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #059669;
    --secondary-color: #64748b;
    --accent-color: #F59E0B;
    --background-light: #ffffff;
    --background-dark: #f8fafc;
    --text-light: #1e293b;
    --text-dark: #475569;
    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Marketing Category Colors */
    --seo-color: #059669;
    --social-media-color: #3B82F6;
    --content-marketing-color: #8B5CF6;
    --email-marketing-color: #EC4899;
    --analytics-color: #DC2626;
    --ppc-color: #EA580C;
    --strategy-color: #9333EA;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Tajawal', 'Inter', sans-serif;
    background-color: var(--background-light);
    color: var(--text-light);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--background-light);
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-signup, .btn-login {
    padding: 0.75rem 1.5rem;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-signup {
    background: white;
    color: #3B82F6;
}

.btn-login {
    background: transparent;
    color: white;
}

.btn-signup:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-login:hover {
    background: white;
    color: #3B82F6;
    transform: translateY(-2px);
}

/* App Container */
.app-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Desktop Sidebar */
.desktop-sidebar {
    width: 320px;
    background: var(--background-light);
    border-left: 1px solid var(--border-light);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: calc(100vh - 80px);
    overflow-y: auto;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.sidebar-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3B82F6;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-tracker-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.progress-tracker-btn:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    transform: translateY(-2px);
}

.filter-section {
    margin-bottom: 2rem;
}

.border-section {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.filter-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background-color: #f0f9ff;
    transform: translateX(-5px);
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    margin-left: 0.75rem;
    accent-color: #3B82F6;
}

.filter-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Expert Path Styles */
.expert-path {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.expert-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expert-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.expert-step.completed {
    background: var(--success-color);
    color: white;
}

.expert-step.active {
    background: #3B82F6;
    color: white;
    transform: scale(1.05);
}

.step-number {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-text {
    font-weight: 500;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.results-button, .reset-button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.results-button {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
}

.results-button:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    transform: translateY(-2px);
}

.reset-button {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--border-light);
}

.reset-button:hover {
    background: #f0f9ff;
    color: var(--text-light);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--background-dark);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.expert-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.level-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.level-progress {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon .material-symbols-outlined {
    font-size: 2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Specializations Section */
.specializations-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.specialization-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.specialization-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.specialization-card.seo {
    border-top-color: var(--seo-color);
}

.specialization-card.social-media {
    border-top-color: var(--social-media-color);
}

.specialization-card.content {
    border-top-color: var(--content-marketing-color);
}

.specialization-card.analytics {
    border-top-color: var(--analytics-color);
}

.specialization-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.specialization-icon .material-symbols-outlined {
    font-size: 2.5rem;
}

.specialization-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.specialization-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f0f9ff;
    color: #3B82F6;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Course Card */
.course-card {
    background: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image {
    transform: scale(1.05);
}

.certification-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.course-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.course-status.completed {
    background: var(--success-color);
    color: white;
}

.course-status.in-progress {
    background: var(--warning-color);
    color: white;
}

.certification-badge.free-cert {
    background: var(--success-color);
    color: white;
}

.certification-badge.no-cert {
    background: var(--secondary-color);
    color: white;
}

.certification-badge.audit {
    background: var(--warning-color);
    color: white;
}

.certification-badge.paid {
    background: #3B82F6;
    color: white;
}

.course-details {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.course-duration, .course-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.duration-icon, .platform-icon {
    font-size: 1.1rem;
}

.course-certification {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-tag, .category-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-tag.free {
    background: #d1fae5;
    color: #065f46;
}

.cert-tag.no-cert {
    background: #e2e8f0;
    color: #475569;
}

.cert-tag.audit {
    background: #fef3c7;
    color: #92400e;
}

.cert-tag.paid {
    background: #dbeafe;
    color: #1e40af;
}

/* Marketing Category Tag Colors */
.category-tag.seo {
    background: #d1fae5;
    color: var(--seo-color);
}

.category-tag.social-media {
    background: #dbeafe;
    color: var(--social-media-color);
}

.category-tag.content-marketing {
    background: #f3e8ff;
    color: var(--content-marketing-color);
}

.category-tag.email-marketing {
    background: #fce7f3;
    color: var(--email-marketing-color);
}

.category-tag.analytics {
    background: #fee2e2;
    color: var(--analytics-color);
}

.category-tag.ppc {
    background: #ffedd5;
    color: var(--ppc-color);
}

.category-tag.strategy {
    background: #f3e8ff;
    color: var(--strategy-color);
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-preview, .btn-enroll {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-preview {
    background: var(--warning-color);
    color: white;
}

.btn-preview:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-enroll {
    background: var(--success-color);
    color: white;
}

.btn-enroll:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Progress Tracker */
.progress-tracker {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    min-width: 500px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.progress-tracker.active {
    display: block;
}

.progress-content {
    position: relative;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #3B82F6;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.skill-categories {
    margin: 2rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-category {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #3B82F6;
}

.skill-category .material-symbols-outlined {
    font-size: 2rem;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

.skill-category span {
    display: block;
    font-weight: 600;
    color: var(--text-light);
}

.btn-close-progress {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Course Modal Styles */
.course-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.course-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--background-light);
    border-radius: 12px;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.course-info-sidebar {
    width: 400px;
    padding: 2rem;
    border-left: 1px solid var(--border-light);
    background: #f0f9ff;
    overflow-y: auto;
}

.course-meta-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span:last-child {
    color: var(--text-light);
    font-weight: 500;
}

.course-description-full {
    margin-bottom: 2rem;
}

.course-description-full h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.course-description-full p {
    color: var(--text-dark);
    line-height: 1.6;
}

.course-skills {
    margin-bottom: 2rem;
}

.course-skills h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #1E40AF);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: #f0f9ff;
    color: var(--text-light);
}

.btn-progress {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.btn-progress:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    transform: translateY(-2px);
}

.course-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000;
}

#courseFrame {
    flex: 1;
    width: 100%;
    border: none;
}

.viewer-controls {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--background-light);
    border-top: 1px solid var(--border-light);
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f0f9ff;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.control-btn:hover {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--secondary-color);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-top: 1px solid var(--border-light);
    margin-top: 4rem;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.separator {
    color: #64748b;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-label {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #475569;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: #3B82F6;
    transform: translateY(-2px);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--success-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
}

.notification-success {
    background: var(--success-color);
}

.notification-error {
    background: var(--error-color);
}

.notification-info {
    background: #3B82F6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }
    
    .desktop-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-left: none;
        border-bottom: 1px solid var(--border-light);
    }
    
    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .specializations-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .course-info-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--border-light);
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .main-nav {
        gap: 1rem;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn-signup, .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .specializations-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .course-info-sidebar {
        padding: 1rem;
    }
    
    .viewer-controls {
        padding: 1rem;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .desktop-sidebar {
        padding: 1rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .course-certification {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .progress-tracker {
        min-width: 90%;
        margin: 0 5%;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
}