/* Courses */
.th-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}
.th-chip-link {
    padding: 0.5rem 1.1rem;
    border: 1px solid #CBD5E1;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--th-navy);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.th-chip-link:hover {
    border-color: var(--th-orange);
    color: var(--th-orange-dark);
    transform: translateY(-2px);
}
.th-cat {
    scroll-margin-top: 110px;
}
.th-cat-head {
    margin-bottom: 1.5rem;
}
.th-cat-head h2 {
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
}
.th-cat-head p {
    max-width: 46rem;
    margin: 0;
    color: #475569;
}
.th-course-card {
    display: flex;
    flex-direction: column;
}
.th-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.th-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: #EEF4FF;
    color: var(--th-blue);
    font-size: 0.8rem;
    font-weight: 600;
}
.th-badge-orange {
    background: #FFF7ED;
    color: var(--th-orange-dark);
}
.th-title-link {
    color: inherit;
    text-decoration: none;
}
.th-title-link:hover {
    color: var(--th-blue);
}
.th-price {
    margin: 0.2rem 0 1rem;
}
.th-price-now {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--th-navy);
}
.th-price del {
    margin-left: 0.5rem;
    font-size: 0.95rem;
    color: #94A3B8;
}
.th-price small {
    display: block;
    font-size: 0.85rem;
    color: #64748B;
}
.th-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}


/* Course detail */
.th-course-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}
.th-course-hero-badges .th-badge {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}
.th-course-body h2 {
    margin: 2rem 0 0.8rem;
    font-size: 1.5rem;
}
.th-course-body h2:first-child {
    margin-top: 0;
}
.th-course-body h3 {
    margin: 1.6rem 0 0.6rem;
    font-size: 1.15rem;
}
.th-course-body p {
    line-height: 1.8;
    color: #475569;
}
.th-fee-title {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #64748B;
}
.th-fee-price {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--th-navy);
}
.th-fee-price del {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #94A3B8;
}
.th-installments {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #E2E8F0;
}
.th-installments li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #E2E8F0;
    color: #475569;
}
.th-installments li strong {
    color: var(--th-navy);
}
.th-fee-note {
    font-size: 0.88rem;
    color: #64748B;
}
@media (min-width: 992px) {
    .th-fee-card {
        position: sticky;
        top: 110px;
    }
}



/* Course detail (upgrade) */
.th-block {
    margin-top: 2.6rem;
}
.th-block > h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.th-check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.th-check-grid li {
    position: relative;
    padding: 0.9rem 1rem 0.9rem 3rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-weight: 500;
    color: #334155;
}
.th-check-grid li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1rem;
    width: 1.3rem;
    height: 1.3rem;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--th-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.th-soft-panel {
    height: 100%;
    padding: 1.5rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
}
.th-soft-panel h3 {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.th-soft-panel .th-list {
    margin-bottom: 0;
}
.th-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.th-tools li {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #EEF4FF;
    color: var(--th-blue);
    font-size: 0.92rem;
    font-weight: 600;
}
.th-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.th-steps li {
    padding: 1.2rem 1rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    counter-increment: step;
}
.th-steps li::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E3A8A, #2563EB);
    color: #FFFFFF;
    font-weight: 700;
}
.th-steps strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--th-navy);
}
.th-steps span {
    font-size: 0.9rem;
    color: #64748B;
}
.th-facts {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #E2E8F0;
}
.th-facts li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E2E8F0;
}
.th-facts svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--th-blue);
}
.th-facts small {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #94A3B8;
}
.th-facts strong {
    color: var(--th-navy);
}
.th-pill-ok {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: #ECFDF5;
    color: #047857;
    font-size: 0.85rem;
    font-weight: 600;
}
.th-pill-ok svg {
    width: 16px;
    height: 16px;
}
.accordion-button:not(.collapsed) {
    background: #EEF4FF;
    color: var(--th-navy);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.15);
}
@media (max-width: 767.98px) {
    .th-check-grid { grid-template-columns: 1fr; }
    .th-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .th-steps { grid-template-columns: 1fr; }
}


/* Sidebar card sirf apne content jitna lamba */
.th-fee-card {
    height: auto;
}

/* FAQ (example jaisa) */
#course-faq .accordion-item {
    margin-bottom: 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    overflow: hidden;
}
#course-faq .accordion-button {
    padding: 1.1rem 1.3rem;
    background: #FFFFFF;
    color: var(--th-navy);
    font-weight: 600;
    box-shadow: none;
}
#course-faq .accordion-button:not(.collapsed) {
    background: #E3EEF9;
    color: var(--th-navy);
}
#course-faq .accordion-body {
    padding: 1.2rem 1.3rem;
    line-height: 1.8;
    color: #475569;
}