/* General Body & Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #495057;
}

/* Navbar */
.navbar-brand strong {
    color: #0d6efd;
}
.navbar {
    border-bottom: 1px solid #dee2e6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.7)), url('https://placehold.co/1920x1080/6c757d/ffffff?text=Global+Campus') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    border-radius: 0 0 25px 25px;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-weight: 700;
}

/* Course Card */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Footer */
footer a {
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover {
    color: #adb5bd !important;
}

/* Dashboard Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    z-index: 100;
    padding: 56px 0 0; /* Match navbar height */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #343a40;
    color: #fff;
}
.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 56px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}
.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,.75);
}
.nav-link:hover {
    color: #fff;
}
.nav-link.active {
    color: #fff;
    background-color: #0d6efd;
}
.nav-link .fas {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}
.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    padding: .5rem 1rem;
    color: rgba(255,255,255,.5);
}

/* Main content area */
.main-content {
    margin-left: 260px;
    padding: 20px;
    padding-top: 76px; /* Navbar height + padding */
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: none;
        padding-top: 0;
    }
    .sidebar-sticky {
        height: auto;
    }
    .main-content {
        margin-left: 0;
        padding-top: 20px;
    }
    .top-navbar {
        position: static;
    }
}

/* Top Navbar in Dashboards */
.top-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 260px;
    z-index: 101;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .top-navbar {
        left: 0;
    }
}

