
    .course-section {
    padding: 100px 0;
}

.program-info {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem; /* keeps spacing neat above tabs */
}

       
       .term-tabs {
            background: var(--orange);
            padding: 10px;
            border-radius: 6px 6px 0 0;
        }

        .term-tabs .nav-link {
            color: var(--white);
            font-weight: 600;
            margin-right: 12px;
            border-radius: 4px;
            padding: 8px 18px;
        }

        .term-tabs .nav-link.active {
            background: var(--white);
            color: #000;
        }

        .curriculum-wrapper h2 {
            font-weight: 600;
            color: var(--teal);
            margin-bottom: 20px;
        }

        .curriculum-wrapper h4 {
            font-weight: 600;
            color: var(--teal);
            margin-bottom: 15px;
        }

        /* Table text */
        .curriculum-wrapper table {
            font-size: 1.05rem;
            line-height: 1.7;
            color: var(--text-secondary);
        }

        .curriculum-wrapper table td {
            vertical-align: middle;

        }

        .curriculum-wrapper table th {
            vertical-align: middle;
            line-height: 1.4;
            padding-top: 12px;
            padding-bottom: 12px;
        }


        /* ===== Term Content ===== */
        .term-content {
            display: none;
            border: 1px solid #dee2e6;
            padding: 30px;
            animation: fadeIn 0.4s ease-in-out;
        }

        /* ===== Animation ===== */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Limit width on large screens only */
        @media (min-width: 1200px) {
            .curriculum-wrapper {
                max-width: 1000px;
                /* adjust: 900px–1100px as you like */
            }
        }

        /* ===== Mobile Fix ===== */
        @media (max-width: 576px) {
            .term-tabs .nav-link {
                margin-bottom: 6px;
            }
        }

        @media screen and (max-width: 480px) {

            .curriculum-wrapper {
                padding: 0 15px;
            }

            /* .curriculum-wrapper h2 {
                font-size: 1.3rem;
            }

            .curriculum-wrapper h4 {
                font-size: 1.1rem;
            } */

            .curriculum-wrapper table {
                font-size: 0.9rem;
            }

            .term-tabs .nav-link {
                /* font-size: 0.85rem; */
                padding: 6px 12px;
            }
            .program-info {
        font-size: 0.95rem;
    }
        }
