/* ============================================
   PACKAGE DETAIL CSS - Knowledge Wave India
   Colors: #0A210F #14591D #99AA38 #392F5A #F6F8FF
   ============================================ */

/* ========== PACKAGE DETAIL AREA ========== */
.package-detail-area {
    padding: 80px 0;
    background: #F6F8FF;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.col-lg-8 {
    flex: 0 0 calc(66.667% - 15px);
    max-width: calc(66.667% - 15px);
}

.col-lg-4 {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
}

/* ========== THUMBNAIL ========== */
.package-detail-thumb {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.package-detail-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== CONTENT ========== */
.package-detail-content {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.package-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.package-meta .rating {
    color: #FFD700;
    font-size: 14px;
}

.package-meta .rating i {
    margin-right: 3px;
}

.package-detail-content .title {
    font-size: 32px;
    font-weight: 800;
    color: #0A210F;
    margin: 0 0 25px;
}

/* ========== TABS ========== */
.detail-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: 14px 24px;
    border: none;
    background: none;
    font-size: 15px;
    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 {
    color: #99AA38;
    border-bottom-color: #99AA38;
}

.tab-btn:hover {
    color: #99AA38;
}

/* ========== TAB PANELS ========== */
.tab-panel {
    display: none;
}

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

.overview-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* ========== CURRICULUM ========== */
.curriculum-title {
    font-size: 22px;
    color: #0A210F;
    margin: 0 0 20px;
    font-weight: 700;
}

.curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

.curriculum-header i {
    color: #99AA38;
    font-size: 14px;
}

.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: 14px 20px 14px 35px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.lesson-item:hover {
    background: rgba(153,170,56,0.05);
    color: #99AA38;
}

.lesson-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========== INSTRUCTOR ========== */
.instructor-detail {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.instructor-thumb {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.instructor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-name {
    font-size: 22px;
    color: #0A210F;
    margin: 0 0 5px;
}

.instructor-role {
    display: block;
    color: #99AA38;
    font-weight: 500;
    margin-bottom: 12px;
}

.instructor-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ========== SIDEBAR ========== */
.package-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

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

.price {
    font-size: 36px;
    font-weight: 800;
    color: #99AA38;
    margin: 0;
}

/* ========== INFO LIST ========== */
.info-wrap h5 {
    font-size: 18px;
    color: #0A210F;
    margin: 0 0 18px;
    font-weight: 600;
}

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

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

.info-list li:last-child {
    border-bottom: none;
}

.info-list li img {
    width: 22px;
    height: 22px;
}

.info-list li span {
    margin-left: auto;
    font-weight: 600;
    color: #0A210F;
}

/* ========== PAYMENT ========== */
.payment-wrap {
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.payment-wrap h5 {
    font-size: 16px;
    color: #0A210F;
    margin: 0 0 12px;
    font-weight: 600;
}

.payment-wrap img {
    width: 100%;
}

/* ========== ENROLL ========== */
.enroll-wrap {
    margin-top: 20px;
}

.btn-enroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #99AA38;
    color: #0A210F;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 25px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: transparent;
    color: #99AA38;
    border-color: #99AA38;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(153,170,56,0.3);
}

.btn-enroll svg {
    transition: transform 0.3s ease;
}

.btn-enroll:hover svg {
    transform: translateX(5px);
}

/* ========== SCROLL TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #99AA38;
    color: #0A210F;
    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(153,170,56,0.4);
    transition: all 0.3s ease;
}

.scroll-top.show { display: flex; }
.scroll-top:hover { background: #0A210F; color: #99AA38; transform: translateY(-5px); }

/* ========== RESPONSIVE ========== */

@media (max-width: 991.98px) {
    .col-lg-8,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .package-detail-area {
        padding: 60px 0;
    }
    
    .package-sidebar {
        position: static;
    }
    
    .instructor-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .package-detail-area {
        padding: 40px 0;
    }
    
    .package-detail-content {
        padding: 25px;
    }
    
    .package-detail-content .title {
        font-size: 26px;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .price {
        font-size: 28px;
    }
}

@media (max-width: 575.98px) {
    .package-detail-content {
        padding: 20px;
    }
    
    .package-detail-content .title {
        font-size: 22px;
    }
    
    .detail-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .instructor-thumb {
        width: 120px;
        height: 120px;
    }
}