/* ========================================
   BCET Website - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #001e4e;
    --secondary-color: #c41e3a;
    --accent-gold: #d4af37;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #001e4e 0%, #003875 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--accent-gold);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 30, 78, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.navbar-nav .nav-link {
    color: var(--dark-text);
    font-weight: 600;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 30, 78, 0.05);
}

.navbar-nav .nav-link:hover::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: white;
    background: var(--gradient-primary);
}

.navbar-nav .nav-link.active::before {
    display: none;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 30, 78, 0.15);
    border-radius: 15px;
    padding: 15px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.dropdown-divider {
    margin: 10px 0;
    border-color: rgba(0, 30, 78, 0.1);
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 30, 78, 0.2);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 30, 78, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
}

.btn-gold-custom {
    background: var(--accent-gold);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold-custom:hover {
    background: #c19b2b;
    transform: translateY(-2px);
    color: white;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { bottom: -8px; }

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-sidebar.active { left: 0; }

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    padding: 25px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-sidebar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-sidebar-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-sidebar-content { padding: 20px 0; }

.mobile-nav-item { border-bottom: 1px solid #f0f0f0; }

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    padding-left: 30px;
}

.mobile-nav-link.active {
    background: rgba(0, 30, 78, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--accent-gold);
}

.mobile-nav-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--dark-text);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-dropdown-toggle.active { transform: rotate(180deg); }

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 30, 78, 0.02);
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active { max-height: 600px; }

.mobile-dropdown-item {
    display: block;
    padding: 15px 25px 15px 60px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-dropdown-item:hover {
    background: rgba(0, 30, 78, 0.05);
    color: var(--primary-color);
    border-left-color: var(--accent-gold);
}

.mobile-sidebar-footer {
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.mobile-sidebar-footer .btn {
    width: 100%;
    margin-bottom: 10px;
}

.mobile-contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #666;
    font-size: 0.875rem;
}

.mobile-contact-item i { color: var(--accent-gold); }

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.breadcrumb-item {
    font-size: 0.95rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-gold);
}

.breadcrumb-item.active {
    color: var(--accent-gold);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.section-badge {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 25px;
}

/* Cards */
.card-custom {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.card-custom:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 30, 78, 0.15);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 30, 78, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 30, 78, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: #001428;
    color: white;
    padding: 60px 0 20px;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
    
    .navbar-toggler {
        display: block !important;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .content-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-gold {
    color: var(--accent-gold);
}

.bg-light-custom {
    background: var(--light-bg);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

/* ========================================
   Homepage Specific Styles
   ======================================== */

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-meta {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta-item {
    color: rgba(255, 255, 255, 0.9);
}

.hero-meta-item strong {
    color: white;
    display: block;
    margin-bottom: 5px;
}

.hero-form-wrapper {
    position: relative;
}

.hero-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.hero-form label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
    display: block;
}

.hero-form .form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
}

.hero-form .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Qualification Section */
.qualification-section {
    padding: 100px 0;
    background: white;
}

.qualification-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.qualification-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 30, 78, 0.15);
}

.qualification-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.qualification-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.qualification-description {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--light-bg);
    padding: 100px 0;
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 30, 78, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.badge-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.badge-label {
    color: #666;
    font-size: 0.875rem;
}

.about-content {
    padding-left: 40px;
}

.about-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-features li {
    padding: 12px 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.about-features i {
    color: var(--accent-gold);
    margin-right: 15px;
    font-size: 1.25rem;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-item .stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 30, 78, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
}

.process-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.process-description {
    color: #666;
    line-height: 1.6;
}

/* Courses Section */
.courses-section {
    background: var(--light-bg);
    padding: 100px 0;
}

.course-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.course-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 30, 78, 0.15);
}

.course-header {
    background: var(--gradient-primary);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.course-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 15px;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-body {
    padding: 40px 30px;
}

.course-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.course-partner {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.course-description {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 25px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.course-features li {
    padding: 10px 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
}

.course-features i {
    color: var(--accent-gold);
    margin-right: 12px;
    font-size: 1.1rem;
}

.course-meta {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.875rem;
}

.meta-item i {
    color: var(--accent-gold);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.course-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Homepage */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-form {
        padding: 30px 20px;
    }
}

/* ========================================
   LMS Specific Styles
   ======================================== */

/* LMS Login Page */
.lms-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.lms-login-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /*bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;*/
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
    z-index: 1;
}

.login-left {
    background: var(--gradient-primary);
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.login-left > * {
    position: relative;
    z-index: 2;
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.login-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.login-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    text-align: center;
    margin-bottom: 30px;
}

.login-features {
    list-style: none;
    padding: 0;
}

.login-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.login-features i {
    color: var(--accent-gold);
    margin-right: 15px;
    font-size: 1.25rem;
}

.login-right {
    padding: 60px 50px;
}

.login-form-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.login-form .form-control {
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
}

.login-form .form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.login-form label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

/* LMS Dashboard */
.lms-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    overflow-y: auto;
    z-index: 1000;
}

.lms-sidebar-logo {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.lms-sidebar-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.lms-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lms-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.lms-menu li a:hover,
.lms-menu li a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 30px;
}

.lms-menu li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.lms-main {
    margin-left: 260px;
    min-height: 100vh;
    background: var(--light-bg);
}

.lms-topbar {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lms-content {
    padding: 30px;
}

.welcome-card {
    background: var(--gradient-primary);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-widget-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 30, 78, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-widget-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-widget-label {
    color: #666;
    font-size: 0.95rem;
}

.lms-course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.lms-course-header {
    background: var(--gradient-primary);
    padding: 20px;
    color: white;
}

.lms-course-body {
    padding: 20px;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.progress-bar {
    background: var(--accent-gold);
}

/* ===============================================
   Course Detail Page Styles
   =============================================== */

.course-detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00132d 100%);
    color: white;
    padding: 60px 0;
    margin-top: 80px;
}

.course-header-content {
    position: relative;
}

.course-badge-large {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.course-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.course-institution {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.course-institution i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.course-quick-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-info-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.course-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-header-icon i {
    font-size: 12rem;
    opacity: 0.2;
}

/* Course Navigation Tabs */
.course-nav-tabs {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.course-pills {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.course-pills .nav-link {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.course-pills .nav-link:hover {
    background: rgba(0, 30, 78, 0.05);
}

.course-pills .nav-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Course Content */
.course-detail-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.content-card h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.content-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-card .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.feature-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.assessment-list {
    list-style: none;
    padding: 0;
}

.assessment-list li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-gold);
    border-radius: 5px;
}

/* Modules List */
.modules-list {
    margin-top: 2rem;
}

.module-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.module-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.module-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #00132d);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.module-content h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.module-content p {
    color: #666;
    margin-bottom: 1rem;
}

.module-credits {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.total-credits {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
}

/* Learning Outcomes */
.outcomes-list {
    margin-top: 2rem;
}

.outcome-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.outcome-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.outcome-item p {
    margin: 0;
    padding-top: 8px;
    color: #555;
    line-height: 1.8;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.requirements-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

/* Instructor Profile */
.instructor-profile {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    align-items: flex-start;
}

.instructor-avatar {
    flex-shrink: 0;
}

.instructor-avatar i {
    font-size: 6rem;
    color: var(--primary-color);
}

.instructor-info h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.instructor-bio {
    color: #666;
    line-height: 1.8;
}

/* Testimonials */
.testimonials-list {
    margin-top: 2rem;
}

.testimonial-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--accent-gold);
    margin-right: 0.25rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-color);
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* Sidebar */
.course-sidebar {
    position: sticky;
    top: 180px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.enrollment-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00132d 100%);
    color: white;
}

.course-price-large {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.course-info-list {
    list-style: none;
    padding: 0;
}

.course-info-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-info-list li:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-weight: 600;
}

.info-label i {
    color: var(--primary-color);
}

.info-value {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* Related Courses */
.related-courses-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-course-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-course-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-course-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.related-course-info h5 {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.related-course-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00132d 100%);
    color: white;
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.btn-gold-custom {
    background: var(--accent-gold);
    color: var(--primary-color);
    border: 2px solid var(--accent-gold);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-gold-custom:hover {
    background: transparent;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* ===============================================
   Additional LMS Page Styles
   =============================================== */

/* Assignments Page */
.assignments-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.assignment-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.assignment-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.assignment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.assignment-course {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.assignment-course i {
    font-size: 1.2rem;
}

.assignment-body {
    margin-bottom: 1.5rem;
}

.assignment-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.assignment-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.assignment-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.assignment-due-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #856404;
    margin-top: 1rem;
}

.assignment-overdue {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #721c24;
    margin-top: 1rem;
}

.assignment-submitted {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0c5460;
    margin-top: 1rem;
}

.assignment-grade {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.grade-display {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.grade-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.grade-points {
    font-size: 1.2rem;
    color: #666;
}

.grade-feedback strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.grade-feedback p {
    color: #555;
    line-height: 1.8;
}

.assignment-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Progress Page */
.progress-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.progress-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.course-progress-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.progress-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.module-progress-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-completed {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.milestone-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.milestone-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Milestone Cards */
.milestone-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.milestone-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.milestone-card.achieved {
    background: linear-gradient(135deg, #d4edda 0%, #e9f7ec 100%);
    border-left: 4px solid #28a745;
}

.milestone-card.pending {
    background: #f8f9fa;
    border-left: 4px solid #e0e0e0;
}

.milestone-card .milestone-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.milestone-card.achieved .milestone-icon {
    background: #28a745;
    color: white;
}

.milestone-card.pending .milestone-icon {
    background: #e0e0e0;
    color: #666;
}

.milestone-info {
    flex: 1;
}

.milestone-info h6 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.milestone-info small {
    color: #666;
    font-size: 0.85rem;
}

.milestone-check {
    font-size: 1.5rem;
    color: #28a745;
    flex-shrink: 0;
}

/* Grade Distribution */
.grade-distribution {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.grade-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grade-bar .grade-label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.grade-bar .progress {
    height: 30px;
    border-radius: 8px;
    background: #f0f0f0;
}

.grade-bar .progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    border-radius: 8px;
}

/* Study Stats */
.study-stats {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.study-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.study-stats .stat-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.study-stats .stat-item i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.study-stats .stat-item span {
    color: var(--dark-text);
    font-size: 1rem;
    flex: 1;
}

.study-stats .stat-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Grade Item */
.grade-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.grade-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Calendar Page */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.calendar-day-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.calendar-day {
    background: white;
    min-height: 100px;
    padding: 0.5rem;
    position: relative;
}

.calendar-day.other-month {
    background: #f8f9fa;
    color: #adb5bd;
}

.calendar-day.today {
    background: #fff3cd;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-event {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.event-assignment {
    background: #ffc107;
    color: #000;
}

.event-class {
    background: #17a2b8;
    color: #fff;
}

.event-exam {
    background: #dc3545;
    color: #fff;
}

.event-announcement {
    background: #28a745;
    color: #fff;
}

.events-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

/* Messages Page */
.messages-layout {
    display: grid;
    grid-template-columns: 250px 350px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 200px);
}

.messages-folders,
.messages-list,
.message-view {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.folder-item,
.conversation-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.folder-item:hover,
.conversation-item:hover {
    background: #f8f9fa;
}

.folder-item.active,
.conversation-item.active {
    background: var(--primary-color);
    color: white;
}

.conversation-item.unread {
    background: #e7f3ff;
    border-left: 4px solid var(--primary-color);
}

.message-bubble {
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.message-sent {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.message-received {
    background: #f8f9fa;
    color: #333;
}

.message-compose {
    background: white;
    border-top: 2px solid #e9ecef;
    padding: 1.5rem;
}

/* Notifications Page */
.notifications-container {
    max-width: 900px;
}

.notification-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.notification-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.notification-item.unread {
    background: #e7f3ff;
    border-left: 4px solid var(--primary-color);
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-icon.grade {
    background: #d4edda;
    color: #28a745;
}

.notification-icon.assignment {
    background: #fff3cd;
    color: #ffc107;
}

.notification-icon.announcement {
    background: #d1ecf1;
    color: #17a2b8;
}

.notification-icon.message {
    background: #cce5ff;
    color: #004085;
}

.notification-icon.system {
    background: #f8d7da;
    color: #721c24;
}

.notification-icon.achievement {
    background: #ffeaa7;
    color: #d63031;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.notification-text {
    color: #666;
    margin-bottom: 0.5rem;
}

.notification-time {
    font-size: 0.85rem;
    color: #999;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Profile Page */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00132d 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.profile-stat {
    text-align: center;
}

.profile-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.profile-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.profile-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-label {
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-value {
    color: var(--primary-color);
    font-weight: 600;
}

.course-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.achievement-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Settings Page */
.settings-container {
    max-width: 900px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.setting-toggle {
    position: relative;
    width: 60px;
    height: 30px;
}

.setting-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 30px;
    transition: 0.4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.session-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.session-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.danger-zone {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.danger-zone h5 {
    color: #721c24;
    margin-bottom: 1rem;
}

/* Stat Cards */
.bg-warning-light {
    background: #fff3cd !important;
}

.bg-info-light {
    background: #d1ecf1 !important;
}

.bg-success-light {
    background: #d4edda !important;
}

.bg-warning {
    background: #ffc107 !important;
}

.bg-info {
    background: #17a2b8 !important;
}

.bg-success {
    background: #28a745 !important;
}

/* Badges */
.badge-success {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-info {
    background: #17a2b8;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-warning {
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.badge-danger {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

/* Topbar */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-left .page-title {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    color: #666;
    transition: color 0.3s ease;
}

.notification-icon:hover {
    color: var(--primary-color);
}

.notification-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.user-dropdown:hover {
    background: #f8f9fa;
}

.user-dropdown i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.user-name {
    font-weight: 600;
    color: var(--dark-text);
}

.user-dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown .dropdown-content a:hover {
    background: #f8f9fa;
    padding-left: 1.5rem;
}

.user-dropdown .dropdown-content a i {
    font-size: 1rem;
    color: var(--accent-gold);
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-card .stat-label {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 30, 78, 0.05);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Responsive LMS */
@media (max-width: 991px) {
    .lms-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .lms-sidebar.active {
        transform: translateX(0);
    }

    .lms-main {
        margin-left: 0;
    }

    .login-card {
        margin: 20px;
    }

    .login-left,
    .login-right {
        padding: 40px 30px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .messages-layout {
        grid-template-columns: 1fr;
    }

    .messages-folders,
    .messages-list {
        display: none;
    }
}

@media (max-width: 768px) {
    .login-title {
        font-size: 2rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .topbar-left .page-title {
        font-size: 1.25rem;
    }

    .user-name {
        display: none;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .assignment-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .assignment-footer {
        flex-direction: column;
    }

    .assignment-footer .btn {
        width: 100%;
    }

    .milestone-card {
        flex-direction: column;
        text-align: center;
    }

    .milestone-info {
        text-align: center;
    }

    .study-stats .stat-item {
        flex-direction: column;
        text-align: center;
    }

    .grade-distribution {
        margin-top: 1rem;
    }
}
