/* --- Enhanced Course Outline Styling --- */
.course-timeline {
    position: relative;
    padding-left: 40px; 
}

.course-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 15px;
    bottom: 15px;
    width: 3px;
    background-color: #e0e0e0;
    border-radius: 2px;
}

#course-outline .module {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: none; 
}

#course-outline .module:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

#course-outline .module::before {
    content: '';
    position: absolute;
    left: -39px; 
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--light-text);
    border: 4px solid var(--secondary-color);
    z-index: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#course-outline .module:hover::before {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

#course-outline .module h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

#course-outline .module h3 i {
    color: var(--accent-color);
    font-size: 1.1em;
}

#course-outline .module h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

#course-outline .module ul {
    list-style: none;
    padding-left: 5px;
}

#course-outline .module ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.6rem;
    color: #555;
}

#course-outline .module ul li::before {
    content: '\f058'; /* Font Awesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    opacity: 0.7;
}

.module-outcome {
    margin-top: 2rem;
    padding: 20px;
    background-color: #f8faff;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.module-outcome h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    border-bottom: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    font-weight: 700;
}
.module-outcome p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #444;
}

/* Responsive adjustments for the timeline */
@media (max-width: 768px) {
    .course-timeline {
        padding-left: 0;
    }
    .course-timeline::before,
    #course-outline .module::before {
        display: none;
    }
}