.course-heading {
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-heading-content {
    position: relative;
    text-align: center;
}

.course-heading-content h1 {
    background-color: #0b0b0b;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    padding: 1px;
}

.course-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.course-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.course-content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.course-content ul li {
    color: #34495e;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.course-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #3498db;
}

.course-sidebar {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.instructor-info {
    text-align: center;
    margin-bottom: 30px;
}

.instructor-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #3498db;
}

.instructor-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.instructor-info p {
    color: #7f8c8d;
    font-size: 14px;
}

.course-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.course-features {
    list-style-type: none;
    padding-left: 0;
}

.course-features li {
    color: #34495e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.course-features li i {
    color: #3498db;
    margin-right: 10px;
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .course-sidebar {
        margin-top: 40px;
    }
}

#enrollModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#enrollModal .modal-header {
    background-color: #f8f9fa;
    border-bottom: none;
    padding: 20px 30px;
}

#enrollModal .modal-title {
    font-weight: 600;
    color: #2c3e50;
}

#enrollModal .modal-body {
    padding: 30px;
}

#enrollModal .form-group label {
    font-weight: 500;
    color: #34495e;
}

#enrollModal .form-control {
    border-radius: 5px;
}

#enrollModal .btn-primary {
    background-color: #3498db;
    border-color: #3498db;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#enrollModal .btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

#loadingSpinner, #successMessage {
    padding: 20px;
}

#successMessage i {
    color: #2ecc71;
}
