.mh-page-wrapper {
    width: 75%;
    margin: 0 auto;
}

.mh-video-wrapper {
    width: 100%;
    margin: 20px auto 0;
}

.mh-video-wrapper video {
    display: block;
    width: 80%;
    height: auto;
    aspect-ratio: 1050 / 460;
    object-fit: cover;
    border-radius: 12px;
}

.mh-video-wrapper .video-js {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1050 / 460;
}

.form-card {
    border: none;
    border-radius: 16px;
    transition: all .3s ease;
    cursor: pointer;
    overflow: hidden;
}

.form-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.student-icon {
    background: #fff;
    color: #4f2683;
}

.teacher-icon {
    background: #fff;
    color: #4f2683;
}

.open-icon {
    font-size: 20px;
    color: #6c757d;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding: 20px
}

.step-card {
    position: relative;
    background: #4F2683;
    border: 1px solid #4F2683;
    border-radius: 14px;
    padding: 22px;
    min-height: 220px;
    transition: .3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #4F2683;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4F2683;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step-card h3 {
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #fff;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    font-size: 28px;
    color: #4F2683;
    z-index: 5;
}

.step-card:last-child .step-arrow {
    display: none;
}

.bottom-box {
    margin-top: 32px;
    padding: 28px;
    background: #4F2683;
    border: 3px solid #4F2683;
    color: #fff;
    text-align: center;
    font-size: 18px;
    border-radius: 2px;
    margin-bottom: 30px
}

@media (max-width:991px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width:576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: auto;
    }

    .step-card h3 {
        font-size: 24px;
    }

    .bottom-box {
        padding: 22px 15px;
        font-size: 16px;
    }
}

.mh-page-wrapper {
    width: 75%;
    margin: 0 auto;
}

.mh-video-wrapper {
    width: 100%;
    margin: 20px auto 0;
}

.mh-video-wrapper .video-js {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1050 / 460;
    border-radius: 14px;
    overflow: hidden;
}

.mh-container {
    width: 100%;
    margin: 40px auto 0;
    padding-bottom: 40px;
}

.mh-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 35px 45px;
    display: flex;
    align-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, #f7f2fb 0%, #ffffff 60%, #f3eafa 100%);
    border: 1px solid #e8dff0;
    box-shadow: 0 8px 25px rgba(79, 38, 131, 0.08);
    transition: 0.3s ease;
}

.mh-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(79, 38, 131, 0.14);
}

.mh-feature-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
}

.mh-feature-icon {
    width: 115px;
    height: 115px;
    min-width: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(79, 38, 131, 0.10);
}

.mh-feature-icon img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.mh-feature-info {
    max-width: 700px;
}

.mh-feature-badge {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 7px;
    border-radius: 20px;
    background: #eee5f7;
    color: #4F2683;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mh-feature-title {
    margin: 0 0 8px;
    color: #4F2683;
    font-size: 29px;
    font-weight: 700;
}

.mh-feature-text {
    margin: 0 0 18px;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.mh-feature-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 25px;
    background: #4F2683;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.mh-feature-link:hover {
    background: #3D1D66;
    color: #ffffff !important;
    transform: translateX(3px);
}

.mh-feature-link span {
    font-size: 17px;
}

.mh-feature-decoration {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -90px;
    border-radius: 50%;
    background: rgba(79, 38, 131, 0.06);
}

.mh-card {
    height: 100%;
    min-height: 255px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #ede7f2;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(79, 38, 131, 0.06);
    transition: 0.3s ease;
}

.mh-card:hover {
    transform: translateY(-6px);
    border-color: #d9c8e7;
    box-shadow: 0 13px 30px rgba(79, 38, 131, 0.13);
}

.mh-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f7f2fb;
    transition: 0.3s ease;
}

.mh-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.mh-card:hover .mh-icon {
    background: #eee5f7;
    transform: scale(1.05);
}

.mh-title {
    margin: 0 0 7px;
    color: #4F2683;
    font-size: 18px;
    font-weight: 700;
}

.mh-text {
    min-height: 40px;
    margin: 0 0 14px;
    color: #7a8694;
    font-size: 13px;
    line-height: 1.5;
}

.mh-link {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 22px;
    background: #f0e8f8;
    color: #4F2683 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.mh-link:hover {
    background: #4F2683;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(79, 38, 131, 0.18);
}

@media (max-width: 1199px) {
    .mh-page-wrapper {
        width: 85%;
    }
}

@media (max-width: 991px) {
    .mh-page-wrapper {
        width: 90%;
    }

    .mh-feature-card {
        padding: 30px;
    }

    .mh-feature-icon {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }

    .mh-feature-icon img {
        width: 58px;
        height: 58px;
    }

    .mh-feature-title {
        font-size: 25px;
    }

    .mh-card {
        min-height: 245px;
    }
}

@media (max-width: 575px) {
    .mh-page-wrapper {
        width: 94%;
    }

    .mh-video-wrapper {
        margin-top: 15px;
    }

    .mh-video-wrapper .video-js {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .mh-container {
        margin-top: 25px;
        padding-bottom: 25px;
    }

    .mh-feature-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .mh-feature-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .mh-feature-icon {
        width: 85px;
        height: 85px;
        min-width: 85px;
    }

    .mh-feature-icon img {
        width: 52px;
        height: 52px;
    }

    .mh-feature-title {
        font-size: 23px;
    }

    .mh-feature-text {
        font-size: 14px;
    }

    .mh-feature-link {
        padding: 9px 18px;
    }

    .mh-card {
        min-height: 235px;
        padding: 22px 15px;
    }

    .mh-title {
        font-size: 17px;
    }
}

.read-more summary {
    list-style: none;
    cursor: pointer;
    color: #0d6efd;
    font-weight: 400;
    margin-top: 20px;
    user-select: none;
}

.read-more summary:hover {
    text-decoration: underline;
}

.read-more summary::-webkit-details-marker {
    display: none;
}

.read-more:not([open]) .content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
}

.read-more summary::after {
    content: "Read More";
}

.read-more[open] summary::after {
    content: "Read Less";
}

h2,
h3 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th,
td {
    padding: 12px;
    text-align: left;
}

th {
    background: #f2f2f2;
}

/* ===========================
           Assessment Modal — Enhanced
           =========================== */
#assessment-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(79, 38, 131, 0.25);
}

.am-header {
    background: linear-gradient(135deg, #4F2683 0%, #6B3FA0 100%);
    padding: 32px 40px 28px;
    text-align: center;
    position: relative;
}

.am-header .btn-close {
    position: absolute;
    top: 18px;
    right: 20px;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
}

.am-header h3 {
    color: #fff;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 6px;
}

.am-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 0;
}

.am-progress-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.am-progress-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.am-progress-dot.done {
    background: #28a745;
    border-color: #28a745;
}

.am-progress-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.am-body {
    padding: 32px 36px 20px;
    background: #faf8fc;
}

.am-group-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px 24px;
    height: 100%;
    text-align: center;
    border: 1px solid #ede7f2;
    box-shadow: 0 8px 22px rgba(79, 38, 131, 0.06);
    transition: all 0.3s ease;
}

.am-group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(79, 38, 131, 0.14);
    border-color: rgba(79, 38, 131, 0.2);
}

.am-group-card.completed {
    border-color: #28a745;
    background: #f4fbf6;
}

.am-group-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eee5f7;
    color: #4F2683;
}

.am-group-card.completed .am-group-badge {
    background: #d9f4e2;
    color: #1e7e34;
}

.am-group-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #f7f2fb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.am-group-card:hover .am-group-icon {
    background: #eee5f7;
    transform: scale(1.06);
}

.am-group-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.am-group-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #4F2683;
    margin-bottom: 14px;
    min-height: 42px;
}

.am-take-test-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    background: #fff;
    color: #3D1D66;
    transition: all 0.25s ease;
    text-decoration: none;
}

.am-take-test-btn:hover {
    background: #3D1D66;
    color: #fff !important;
}

.am-take-test-btn.is-done {
    background: #f4fbf6;
    border-color: #28a745;
    color: #fff;
    cursor: default;
}

.am-take-test-btn.is-done:hover {
    background: #28a745;
    color: #fff;
    cursor: default;
}

.am-actions {
    padding: 8px 36px 28px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #faf8fc;
}

.am-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.am-action-btn.download {
    background: #fff;
    /* color: #4F2683; */
    border: 1.5px solid #4F2683;
}

.am-action-btn.download:hover {
    background: #4F2683;
    color: #fff !important;
}

.am-action-btn.outline {
    background: #fff;
    color: #4F2683;
    border: 1.5px solid #4F2683;
}

.am-action-btn.outline:hover {
    background: #4F2683;
    color: #fff !important;
}

.am-ai-banner {
    margin: 0 36px 30px;
    padding: 18px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eee5f7 0%, #f7f2fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    flex-wrap: wrap;
}

.am-ai-banner img {
    width: 36px;
    height: 36px;
}

.am-ai-banner span {
    font-size: 16px;
    font-weight: 600;
    color: #4F2683;
}

.am-ai-banner a {
    color: #0077B3;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .am-header {
        padding: 26px 20px 22px;
    }

    .am-header h3 {
        font-size: 21px;
    }

    .am-body {
        padding: 24px 18px 10px;
    }

    .am-actions {
        padding: 8px 18px 24px;
    }

    .am-ai-banner {
        margin: 0 18px 24px;
        flex-direction: column;
    }
}
.am-group-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.am-group-list li {
    font-size: 13.5px;
    color: #6c757d;
    padding: 6px 0 6px 18px;
    position: relative;
}

.am-group-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 6px;
    color: #4F2683;
    font-weight: 700;
    font-size: 16px;
}