:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --dark-color: #1e1e2f;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #fff;
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
}

.logo img {
    height: 50px;
    margin-left: 10px;
}

.logo span {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Navigation */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: var(--primary-color);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown.open .dropdown-toggle {
    background-color: #f7f7f7;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark-color);
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--light-color);
}

.dropdown-menu i {
    margin-left: 10px;
    width: 20px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Sidebar (Mobile) */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--danger-color);
}

.sidebar-user {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-user img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark-color);
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.sidebar-nav a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.sidebar-nav i {
    margin-left: 10px;
    width: 20px;
}

.sidebar-nav .divider {
    height: 1px;
    background-color: #eee;
    margin: 10px 0;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Cards Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.course-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 20px;
}

.course-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-title a {
    text-decoration: none;
    color: var(--dark-color);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 15px 0;
}

.course-level {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.level-beginner {
    background-color: #d4edda;
    color: #155724;
}

.level-intermediate {
    background-color: #fff3cd;
    color: #856404;
}

.level-advanced {
    background-color: #f8d7da;
    color: #721c24;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-color);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
}

/* Dashboard Admin Custom */
.main-content {
    padding: 30px 20px;
    background: linear-gradient(135deg, #f4f6fb 0%, #e8f0ff 100%);
    min-height: calc(100vh - 100px);
}

.page-header {
    margin-bottom: 30px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f0ff;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1c2541;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #5a6076;
    font-weight: 500;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8f0ff;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon.blue { background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%); }
.stat-icon.green { background: linear-gradient(135deg, #3bbf91 0%, #2ba77a 100%); }
.stat-icon.orange { background: linear-gradient(135deg, #f8961e 0%, #e67e22 100%); }
.stat-icon.red { background: linear-gradient(135deg, #f72585 0%, #e91e63 100%); }

.stat-details h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: #2c3862;
    font-weight: 600;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1e2a57;
    line-height: 1.2;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.action-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #111;
    transition: all 0.3s ease;
    border: 1px solid #e8f0ff;
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #4361ee;
}

.action-card i {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.action-card:hover i {
    color: #3f37c9;
}

.action-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #0e1c3d;
    font-weight: 600;
}

.action-card p {
    font-size: 0.95rem;
    color: #5a6076;
    line-height: 1.5;
}

.recent-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.recent-users, .recent-courses {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border: 1px solid #e8f0ff;
}

.recent-users h2, .recent-courses h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #1e2a57;
    font-weight: 700;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
}

.table th, .table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e8ecf8;
    text-align: left;
    font-size: 0.95rem;
}

.table thead th {
    background: linear-gradient(135deg, #f2f5fc 0%, #e8f0ff 100%);
    color: #2f3b65;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background-color: #f8fafe;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { background-color: #daf6e6; color: #10714f; }
.badge-warning { background-color: #fff3cd; color: #856404; }

.course-info strong {
    color: #1c264d;
    font-weight: 600;
}

/* Admin profile page styles */
.admin-profile .card {
    border: 1px solid #e2e7f9;
    border-radius: 12px;
    box-shadow: 0 3px 18px rgba(18, 54, 106, 0.08);
    transition: box-shadow 0.3s ease;
}

.admin-profile .card:hover {
    box-shadow: 0 6px 25px rgba(18, 54, 106, 0.12);
}

.admin-profile .card-header {
    background: linear-gradient(135deg, #f7f9ff 0%, #e8f0ff 100%);
    border-bottom: 1px solid #e2e7f9;
    font-weight: 700;
    color: #243a72;
    padding: 16px 20px;
}

.admin-profile .card-body {
    padding: 24px;
}

.admin-profile .form-control-file {
    border: 1px solid #cdd7ee;
    padding: 10px 12px;
    border-radius: 8px;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-profile .form-control-file:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.admin-profile .img-thumbnail {
    border-radius: 12px;
    border: 2px solid #d8e2f5;
    transition: transform 0.3s ease;
}

.admin-profile .img-thumbnail:hover {
    transform: scale(1.05);
}

.admin-profile .badge-success {
    background-color: #e0f6ea;
    color: #0f8056;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.admin-profile .col-md-8, .admin-profile .col-md-4 {
    padding: 12px;
}

.admin-profile .page-header {
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.admin-profile .breadcrumb {
    padding: 0;
    background: transparent;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.admin-profile .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
    padding: 0 8px;
}

.admin-profile .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-profile .btn-primary {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    border: none;
}

.admin-profile .btn-primary:hover {
    background: linear-gradient(135deg, #3f37c9 0%, #2e2a9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.admin-profile .form-group label {
    font-weight: 600;
    color: #2b3a72;
    margin-bottom: 8px;
}

.admin-profile .form-control {
    border-radius: 8px;
    border: 1px solid #d8e0f2;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-profile .form-control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.12);
}

/* Responsive enhancements */
@media (max-width: 991px) {
    .admin-profile .col-md-8, .admin-profile .col-md-4 {
        padding: 8px;
    }
    .admin-profile .card-body {
        padding: 16px;
    }
    .admin-profile .page-header {
        padding: 16px;
        margin-bottom: 20px;
    }
    .admin-profile .form-actions {
        flex-direction: column;
    }
    .admin-profile .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .admin-profile .col-md-8, .admin-profile .col-md-4 {
        padding: 4px;
    }
    .admin-profile .card-header {
        padding: 12px 16px;
        font-size: 1.1rem;
    }
    .admin-profile .img-thumbnail {
        width: 100px;
        height: 100px;
    }
    .admin-profile .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}


.dashboard {
    background: linear-gradient(135deg, #f4f6fb 0%, #e8f0ff 100%);
    padding-bottom: 40px;
}

.dashboard .dashboard-header {
    margin-bottom: 24px;
}

.dashboard .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #6a7391;
    margin-top: 10px;
}

.dashboard .breadcrumb a {
    color: #4f5bb6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dashboard .breadcrumb a:hover {
    color: #4361ee;
}

.dashboard .form-container {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 25px rgba(35, 52, 96, 0.1);
    border: 1px solid #ebf1ff;
    transition: box-shadow 0.3s ease;
}

.dashboard .form-container:hover {
    box-shadow: 0 10px 35px rgba(35, 52, 96, 0.15);
}

.dashboard .form-group {
    margin-bottom: 20px;
}

.dashboard .form-group label {
    font-weight: 700;
    color: #2b3a72;
    margin-bottom: 8px;
    display: inline-block;
    font-size: 0.95rem;
}

.dashboard .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d8e0f2;
    border-radius: 10px;
    color: #2d3972;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
}

.dashboard .form-control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.dashboard .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
}

.dashboard .form-row .form-group {
    flex: 1;
    min-width: 280px;
    margin: 12px;
}

.dashboard .icon-preview,
.dashboard .image-preview,
.dashboard .tips-card {
    border: 2px solid #dee6f7;
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(135deg, #f9fbff 0%, #f0f4ff 100%);
    margin-top: 8px;
}

.dashboard .tips-card {
    margin-top: 28px;
    border-left: 5px solid #4361ee;
    position: relative;
}

.dashboard .tips-card::before {
    content: "💡";
    position: absolute;
    top: -10px;
    left: 10px;
    background: #4361ee;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dashboard .tips-card h4 {
    margin-bottom: 12px;
    color: #23417a;
    font-weight: 700;
    font-size: 1.1rem;
}

.dashboard .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.dashboard .form-actions .btn {
    min-width: 180px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.dashboard .btn-primary {
    background: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
    color: white;
}

.dashboard .btn-primary:hover {
    background: linear-gradient(135deg, #3f37c9 0%, #2e2a9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.dashboard .btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.dashboard .btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .dashboard .form-container {
        padding: 20px;
        border-radius: 12px;
    }
    .dashboard .form-row {
        margin: -8px;
    }
    .dashboard .form-row .form-group {
        margin: 8px;
        min-width: 100%;
    }
    .dashboard .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .dashboard .form-actions .btn {
        min-width: auto;
        width: 100%;
    }
    .dashboard .icon-preview,
    .dashboard .image-preview,
    .dashboard .tips-card {
        padding: 14px;
        border-radius: 10px;
    }
    .dashboard .tips-card::before {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .dashboard .form-container {
        padding: 16px;
        margin: 0 -10px;
        border-radius: 10px;
    }
    .dashboard .form-group {
        margin-bottom: 16px;
    }
    .dashboard .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .dashboard .form-group label {
        font-size: 0.9rem;
    }
    .dashboard .tips-card {
        margin-top: 20px;
        padding: 12px;
    }
    .dashboard .tips-card h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }
    .page-header {
        margin-bottom: 20px;
        padding: 16px;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .page-subtitle {
        font-size: 1rem;
    }
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .action-card {
        padding: 14px;
        text-align: center;
    }
    .action-card i {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    .recent-items-grid {
        gap: 16px;
    }
    .recent-users, .recent-courses {
        padding: 16px;
    }
    .table th, .table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 10px;
    }
    .page-header {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 12px;
    }
    .page-header h1 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    .page-subtitle {
        font-size: 0.9rem;
    }
    .stat-card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-details h3 {
        font-size: 0.9rem;
    }
    .action-card {
        padding: 12px;
        border-radius: 10px;
    }
    .action-card h3 {
        font-size: 0.95rem;
    }
    .action-card p {
        font-size: 0.85rem;
    }
    .recent-users h2, .recent-courses h2 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .table {
        font-size: 0.85rem;
    }
    .table th, .table td {
        padding: 8px 6px;
    }
    .badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-rating {
    color: #ffc107;
    margin: 10px 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
}

/* Course Player Styles */
.course-player {
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f6fb 0%, #e8f0ff 100%);
    padding: 20px 0;
}

.course-header {
    background: #fff;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.course-header h1 {
    font-size: 2.5rem;
    color: #1e2a57;
    margin-bottom: 15px;
    font-weight: 700;
}

.course-info {
    display: flex;
    gap: 30px;
    color: #6c757d;
    font-size: 1.1rem;
}

.course-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.lessons-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.lessons-sidebar h3 {
    font-size: 1.3rem;
    color: #1e2a57;
    margin-bottom: 20px;
    font-weight: 700;
}

.lessons-list {
    max-height: 600px;
    overflow-y: auto;
}

.lesson-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lesson-item:hover {
    background: #f8f9ff;
    border-color: #4361ee;
}

.lesson-item.active {
    background: #e8f0ff;
    border-color: #4361ee;
}

.lesson-item.completed {
    background: #f0f9f0;
    border-color: #4cc9f0;
}

.lesson-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4361ee;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.lesson-item.completed .lesson-number {
    background: #4cc9f0;
}

.lesson-info h4 {
    font-size: 1rem;
    color: #1e2a57;
    margin-bottom: 5px;
    font-weight: 600;
}

.lesson-duration {
    color: #6c757d;
    font-size: 0.9rem;
}

.lesson-status {
    margin-left: auto;
    color: #4cc9f0;
    font-size: 1.2rem;
}

.player-main {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.course-video-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8f0ff;
}

.course-video-container h3 {
    font-size: 1.4rem;
    color: #1e2a57;
    margin-bottom: 15px;
    font-weight: 700;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.lesson-content {
    margin-bottom: 20px;
}

.lesson-content h2 {
    font-size: 1.5rem;
    color: #1e2a57;
    margin-bottom: 15px;
    font-weight: 700;
}

.lesson-actions {
    display: flex;
    justify-content: center;
}

.lesson-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .player-layout {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .course-header {
        padding: 20px 0;
    }
    
    .course-header h1 {
        font-size: 2rem;
    }
    
    .course-info {
        flex-direction: column;
        gap: 10px;
        font-size: 1rem;
    }
    
    .player-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lessons-sidebar {
        position: static;
        order: 2;
    }
    
    .lessons-list {
        max-height: 400px;
    }
    
    .player-main {
        order: 1;
    }
    
    .course-video-container h3 {
        font-size: 1.2rem;
    }
    
    .lesson-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .course-player {
        padding: 10px 0;
    }
    
    .course-header {
        padding: 15px 0;
        margin-bottom: 20px;
    }
    
    .course-header h1 {
        font-size: 1.8rem;
    }
    
    .course-info {
        font-size: 0.95rem;
    }
    
    .lessons-sidebar {
        padding: 15px;
    }
    
    .lessons-sidebar h3 {
        font-size: 1.1rem;
    }
    
    .lesson-item {
        padding: 12px;
        gap: 12px;
    }
    
    .lesson-info h4 {
        font-size: 0.95rem;
    }
    
    .player-main {
        padding: 15px;
    }
    
    .lesson-content h2 {
        font-size: 1.2rem;
    }
    
    .lesson-actions .btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}