/* Single Course Styling */
.single-course-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.course-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.course-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 16px;
    color: #666;
}

.course-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.course-main-content {
    flex: 2;
    min-width: 300px;
}

.course-sidebar {
    flex: 1;
    min-width: 280px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.course-description, .course-objectives, .course-audience {
    margin-bottom: 30px;
}

.course-description h2, .course-objectives h2, .course-audience h2,
.course-pricing h2, .course-enrollment h2, .course-details-box h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.pricing-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table td:last-child {
    text-align: right;
    font-weight: bold;
}

.course-enrollment {
    margin: 25px 0;
}

.enroll-button {
    display: inline-block;
    background-color: #0073aa;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s;
}

.enroll-button:hover {
    background-color: #005177;
}

.course-details-box {
    margin-top: 30px;
}

.course-details-box ul {
    padding-left: 0;
    list-style-type: none;
}

.course-details-box li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.course-details-box li:last-child {
    border-bottom: none;
}

.course-not-found, .course-error {
    text-align: center;
    padding: 40px 20px;
}

.course-not-found h1, .course-error h1 {
    color: #d32f2f;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-content-container {
        flex-direction: column;
    }

    .course-main-content, .course-sidebar {
        width: 100%;
    }
}

/* Navigation breadcrumbs styling */
.wrapper-nav {
    margin-bottom: 30px;
}

.nav-bar {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-li {
    margin-right: 10px;
    position: relative;
}

.nav-li:not(:last-child):after {
    content: '›';
    margin-left: 10px;
    color: #999;
}

.nav-li a {
    text-decoration: none;
    color: #0073aa;
}

.nav-li a:hover {
    text-decoration: underline;
}

.nav-li.current {
    color: #666;
}