
/* Slider Height */
#courseSidebarSlider,
#courseSidebarSlider .carousel-inner,
#courseSidebarSlider .carousel-item {
    height: 620px;
}

/* Center all slide content */
#courseSidebarSlider .carousel-item > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* First Slide Image */
#courseSidebarSlider .carousel-item:first-child img {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
}

/* Enroll Card */
#courseSidebarSlider .enroll-card {
    width: 100%;
    max-width: 360px;
    margin: auto;
}

/* Navigation Icons */
#courseSidebarSlider .carousel-control-prev-icon,
#courseSidebarSlider .carousel-control-next-icon {
    background-color: rgba(0,0,0,.5);
    border-radius: 50%;
    padding: 18px;
}
/* Course header */
.course-header {
    margin-top: 40px;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(135deg, #05285d, #087d87);
    padding: 50px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.breadcrumb-custom {
    font-size: 13px;
    opacity: .8;
}

.breadcrumb-custom a {
    color: #fff;
    text-decoration: none;
}

.course-header h1 {
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
}

.course-header p {
    opacity: .9;
    max-width: 650px;
    margin-top: 10px;
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.header-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.header-meta i {
    color: #ffc107;
}

/* Content */
.content-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    margin-top: 30px;
}

.content-card h4 {
    font-weight: 700;
    color: #0c1d4f;
    margin-bottom: 18px;
}

.highlight-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: #444;
}

.highlight-list i {
    color: #0b8b96;
    margin-top: 3px;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: #0c1d4f;
}

.accordion-button:not(.collapsed) {
    background: #eaf8fa;
    color: #087d87;
    box-shadow: none;
}

.accordion-item {
    border: 1px solid #eef1f5;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
}

.accordion-body {
    color: #555;
    font-size: 14.5px;
}

/* Sidebar */
.enroll-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    position: sticky;
    top: 100px;
}

.course-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;}

.enroll-body {
    padding: 25px;
}

.enroll-price {
    font-size: 30px;
    font-weight: 800;
    color: #087d87;
}

.enroll-price span {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
    margin-left: 8px;
}

.btn-enroll {
    background: #0c1d4f;
    color: #fff;
    border-radius: 30px;
    padding: 12px;
    width: 100%;
    font-weight: 600;
    border: none;
    transition: .3s;
}

.btn-enroll:hover {
    background: #0b8b96;
    color: #fff;
}

.enroll-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
}

.enroll-list i {
    color: #0b8b96;
}

.trainer-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    border-top: 1px solid #eef1f5;
    padding-top: 15px;
}

.trainer-mini img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.trainer-mini h6 {
    margin-bottom: 0;
    font-weight: 700;
    color: #0c1d4f;
}

.trainer-mini span {
    font-size: 12.5px;
    color: #0b8b96;
    font-weight: 600;
}

/* Course-details page also uses the larger footer-banner top margin */
.footer-banner {
    margin-top: 45px;
}

@media (max-width: 992px) {
    .course-header {
        padding: 30px 25px;
    }

    .course-header h1 {
        font-size: 26px;
    }

    .enroll-card {
        position: static;
        margin-top: 30px;
    }
}
