/* ============================================
   COURSE DETAIL CSS - Knowledge Wave India
   Colors: #7AC74F #FDFFFC #F7B32B #FF2E00 #140F2D
   ============================================ */

.course-detail-area {
    padding: 50px 0 70px;
    background: #FDFFFC;
}

/* ========== TOP ROW ========== */
.course-top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.course-video-col {
    flex: 1;
}

.course-video-wrap {
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #7AC74F, #140F2D);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(253, 255, 252, 0.7);
}

.video-placeholder i {
    font-size: 70px;
    color: #F7B32B;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder i:hover {
    transform: scale(1.1);
    color: #FDFFFC;
}

.video-placeholder span {
    font-size: 16px;
    font-weight: 500;
}

/* ========== SIDEBAR ========== */
.course-sidebar-col {
    flex: 0 0 320px;
}

.course-sidebar {
    background: #FDFFFC;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(122, 199, 79, 0.1);
    position: sticky;
    top: 100px;
}

.price-wrap {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.price {
    font-size: 34px;
    font-weight: 800;
    color: #7AC74F;
    margin: 0;
}

.info-wrap h5 {
    font-size: 16px;
    color: #140F2D;
    margin: 0 0 15px;
}

.info-list { list-style: none; padding: 0; margin: 0; }

.info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.info-list li:last-child { border-bottom: none; }
.info-list li i { width: 20px; font-size: 14px; color: #7AC74F; text-align: center; }
.info-list li span { margin-left: auto; font-weight: 600; color: #140F2D; }

.enroll-wrap { margin-top: 20px; }

.btn-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #F7B32B;
    color: #140F2D;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #F7B32B;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: transparent;
    color: #F7B32B;
    border-color: #F7B32B;
}

.btn-enroll i { font-size: 12px; transition: transform 0.3s ease; }
.btn-enroll:hover i { transform: translateX(4px); }

/* ========== INSTRUCTOR ========== */
.course-instructor {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #FDFFFC;
    border-radius: 15px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(122, 199, 79, 0.08);
}

.instructor-thumb {
    width: 55px;
    height: 55px;
    background: rgba(122, 199, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #7AC74F;
}

.instructor-info h4 {
    font-size: 17px;
    color: #140F2D;
    margin: 0 0 3px;
}

.instructor-info span {
    font-size: 13px;
    color: #7AC74F;
    font-weight: 500;
}

/* ========== TABS ========== */
.course-tabs-wrap {
    background: #FDFFFC;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(122, 199, 79, 0.08);
}

.course-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-item { margin-bottom: -2px; }

.tab-btn {
    padding: 12px 22px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tab-btn.active, .tab-btn:hover {
    color: #7AC74F;
    border-bottom-color: #7AC74F;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ========== OVERVIEW ========== */
.overview-content h3 {
    font-size: 20px;
    color: #140F2D;
    margin: 0 0 15px;
}

.overview-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.learn-list {
    list-style: none;
    padding: 0;
}

.learn-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: #333;
}

.learn-list li i { color: #7AC74F; font-size: 18px; }

/* ========== CURRICULUM ========== */
.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.curriculum-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.curriculum-header {
    width: 100%;
    text-align: left;
    padding: 15px 18px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #140F2D;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
}

.curriculum-header i { color: #7AC74F; font-size: 13px; }
.curriculum-body { display: none; border-top: 1px solid #e0e0e0; }
.curriculum-item.active .curriculum-body { display: block; }

.lesson-list { list-style: none; padding: 0; margin: 0; }

.lesson-item {
    padding: 12px 18px 12px 35px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.lesson-item:last-child { border-bottom: none; }

.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #7AC74F; color: #FDFFFC;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 18px; z-index: 999;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(122, 199, 79, 0.4);
    transition: all 0.3s ease;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: #140F2D; color: #7AC74F; transform: translateY(-5px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .course-top-row { flex-direction: column; }
    .course-sidebar-col { flex: unset; }
    .course-sidebar { position: static; }
}

@media (max-width: 767.98px) {
    .course-detail-area { padding: 35px 0 50px; }
    .course-tabs-wrap { padding: 20px; }
    .tab-btn { padding: 10px 16px; font-size: 13px; }
}

@media (max-width: 575.98px) {
    .course-sidebar-col { flex: unset; }
    .video-placeholder i { font-size: 50px; }
}