


.text-danger {
    color: #E69B2B !important;
}
.opsl-card {

    border: none;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);

    transition: all 0.3s ease;

    overflow: hidden;

    /* cursor: pointer; */

    height: 100%;

    background: #fff;

    border-top: 5px solid var(--brand-red);

}

.opsl-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 50px rgba(0,0,0,0.15);

}

.opsl-card .card-body {

    padding: 40px;

    text-align: center;

}

.opsl-icon {

    font-size: 3rem;

    color: var(--brand-red);

    margin-bottom: 20px;

}




/* Tab Styles */
.main-tabs {
    border: none;
    gap: 0;
}

.main-tabs .nav-item {
    flex: 1;
}

.main-tabs .nav-link {
    border: 1px solid #ddd;
    color: var(--brand-gold);
    font-weight: 400;
    padding: 18px 20px;
    background: #fff;
    transition: all 0.3s;
    text-align: center;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.4;
}

.main-tabs .nav-item:first-child .nav-link {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.main-tabs .nav-item:nth-child(2) .nav-link {
    border-color: #DC681E;
    color: #DC681E;
}

.main-tabs .nav-item:last-child .nav-link {
    border-color: #E69B2B;
    color: #E69B2B;
}

.main-tabs .nav-link {
    width: 100%;
    height: 100%;
    font-size: 24px;
}

.main-tabs .nav-link:hover {
    color: var(--brand-red);
    background: #fff;
}

.main-tabs .nav-link.active {
    color: #fff !important;
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    font-weight: 600;
}

.main-tabs .nav-item:nth-child(2) .nav-link.active {
    background-color: #DC681E;
} 

.main-tabs .nav-item:last-child .nav-link.active {
    background-color: #E69B2B;
}

.main-tabs .nav-link small {
    display: block;
    font-size: 0.9rem;
    color: #E69B2B;
    margin-top: 2px;
    font-weight: 300;
}

.main-tabs .nav-link.active small {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
}

.sub-tabs {
    border: none;
    gap: 0;
    justify-content: center;
}

.sub-tabs .nav-item {
    margin-right: 0;
    width: 36%;
}

.sub-tabs .nav-link {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    color: #666;
    font-weight: 400;
    padding: 12px 40px;
    background: transparent;
    border-radius: 0;
    font-size: 15px;
    width: 100%;
}

.sub-tabs .nav-link:hover {
    color: var(--brand-dark);
    background: transparent;
}

.sub-tabs .nav-link.active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-dark);
    font-weight: 600;
    background: transparent;
}

.tab-content {
    padding: 30px 0;
}

.tab-content h5 {
    font-weight: 600;
}

.tab-content a {
    text-decoration: none;
}

.tab-content a:hover {
    text-decoration: underline;
}

/* Mobile Responsive for Tabs */
@media (max-width: 767.98px) {
    .main-tabs .nav-link {
        padding: 12px 10px;
        font-size: 18px;
    }

    .main-tabs .nav-link small {
        font-size: 0.65rem;
    }

    .sub-tabs .nav-link {
        padding: 10px 20px;
        font-size: 14px;
    }
}


#part-content {
    border-top: 2px solid var(--brand-red);
    padding-top: 20px;
}

.page-header {
    background: var(--bg-light);
    padding: 50px 0 0;
    margin-bottom: 40px;
    border-bottom: none;
}
.toc-item {
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 0;
}
.toc-item.active-toc {
    color: var(--brand-red) !important;
    font-weight: 600;
    background-color: #fff5f5;
    /* padding-left: 10px; */
}
