* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #ffffff;
    color: #16213e;
    overflow-x: hidden;
}



/*RESULTS HERO */

.results-hero {

    position: relative;

    height: 670px;

    background: url("../images/resultshero.jpg") center center/cover no-repeat;

    overflow: hidden;

}

.results-hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(90deg, rgba(4, 22, 58, .95)0%, rgba(7, 38, 90, .90)45%, rgba(7, 38, 90, .55)75%, rgba(7, 38, 90, .12)100%);

}

.results-hero-wrapper {

    position: relative;

    z-index: 5;

    height: 520px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.results-hero-content {

    max-width: 700px;

    color: #fff;
    position: relative;
    z-index: 10;
    margin-top: 110px;

}

.results-hero-tag {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 40px;

    background: rgba(243, 179, 33, .15);

    color: #f3b321;

    border: 1px solid rgba(243, 179, 33, .4);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 25px;

}

.results-hero-content h1 {

    font-family: "Poppins", sans-serif;

    font-size: 60px;

    line-height: 1.15;

    margin-bottom: 25px;

    font-weight: 700;

}

.results-hero-content p {

    font-size: 19px;

    line-height: 1.9;

    max-width: 620px;

    margin-bottom: 35px;

    color: rgba(255, 255, 255, .92);

}

/* BREADCRUMB */

.results-breadcrumb {

    display: flex;

    gap: 12px;

    align-items: center;

    font-size: 15px;

}

.results-breadcrumb a {

    color: #f3b321;

    font-weight: 600;

}

.results-breadcrumb span {

    color: #fff;

}

/* FLOATING CARD */

.results-hero-card {

    width: 310px;

    background: rgba(255, 255, 255, .10);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .18);

    border-radius: 22px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    gap: 28px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);

}

.results-mini-stat {

    text-align: center;

}

.results-mini-stat h2 {

    font-size: 58px;

    color: #fff;

    display: inline-block;

    font-weight: 700;

}

.results-mini-stat span {

    font-size: 58px;

    color: #f3b321;

    font-weight: 700;

}

.results-mini-stat small {

    display: block;

    margin-top: 10px;

    color: #d9e3f3;

    letter-spacing: 1px;

    font-size: 12px;

}

/* BOTTOM WAVE */

.results-hero-wave {

    position: absolute;

    right: 0;

    bottom: 0;

    width: 42%;

    height: 150px;

    z-index: 5;

}

.results-hero-wave svg {

    width: 100%;

    height: 100%;

}


@media(max-width:991px) {

    .results-hero {

        height: auto;

        padding: 110px 0 170px;

    }

    .results-hero-wrapper {

        height: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 50px;

    }

    .results-hero-content h1 {

        font-size: 46px;

    }

    .results-hero-card {

        width: 100%;

        max-width: 420px;

    }

}

@media(max-width:768px) {

    .results-hero {

        padding: 90px 0 160px;

    }

    .results-hero-content {
        margin-top: 0;
    }

    .results-hero-content h1 {

        font-size: 35px;

    }

    .results-hero-content p {

        font-size: 16px;

        line-height: 1.8;

    }

    .results-hero-card {

        padding: 28px;

    }

    .results-mini-stat h2,

    .results-mini-stat span {

        font-size: 44px;

    }

    .results-hero-wave {

        width: 75%;

        height: 110px;

    }

}

/* ACADEMIC PERFORMANCE OVERVIEW */

.results-overview-section {
    padding: 110px 0;
    background: #f8fafc;
}

.results-overview-header {
    max-width: 780px;
    margin: 0 auto 70px;
    text-align: center;
}

.results-overview-tag {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(243, 179, 33, .12);
    color: #f3b321;
    border: 1px solid rgba(243, 179, 33, .35);
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.results-overview-header h2 {
    font-family: "Poppins", sans-serif;
    font-size: 46px;
    line-height: 1.2;
    color: #08295d;
    margin-bottom: 22px;
}

.results-overview-header p {
    font-size: 17px;
    line-height: 1.9;
    color: #6f7a90;
}

.results-overview-statistics {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.results-overview-stat-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 22px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .07);
    transition: .35s;
    border-top: 4px solid #f3b321;
}

.results-overview-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .12);
}

.results-overview-stat-card h3 {
    font-size: 48px;
    font-family: "Poppins", sans-serif;
    color: #08295d;
    margin-bottom: 15px;
    line-height: 1;
}

.results-overview-stat-card h3 span {
    color: #f3b321;
    font-size: 30px;
}

.results-overview-stat-card span {
    font-size: 15px;
    color: #69758d;
    font-weight: 600;
}

@media(max-width:991px) {

    .results-overview-statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-overview-header h2 {
        font-size: 38px;
    }

}



@media(max-width:768px) {

    .results-overview-section {
        padding: 80px 0;
    }

    .results-overview-header {
        margin-bottom: 50px;
    }

    .results-overview-header h2 {
        font-size: 30px;
    }

    .results-overview-header p {
        font-size: 16px;
    }

    .results-overview-statistics {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .results-overview-stat-card {
        padding: 35px 20px;
    }

    .results-overview-stat-card h3 {
        font-size: 40px;
    }

}

/*RESULTS EXPLORER*/

.results-explorer-section {
    padding: 110px 0;
    background: #ffffff;
}

.results-explorer-header {
    max-width: 760px;
    margin: 0 auto 65px;
    text-align: center;
}

.results-explorer-tag {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    background: rgba(8, 41, 93, .08);
    color: #08295d;
    border: 1px solid rgba(8, 41, 93, .15);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.results-explorer-header h2 {
    font-family: "Poppins", sans-serif;
    font-size: 46px;
    color: #08295d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.results-explorer-header p {
    font-size: 17px;
    color: #68758b;
    line-height: 1.9;
}

.results-explorer-selector {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}

.results-explorer-btn {

    background: #fff;

    border: 2px solid #edf1f7;

    border-radius: 22px;

    padding: 35px;

    text-align: left;

    display: flex;

    align-items: center;

    gap: 25px;

    cursor: pointer;

    transition: .35s;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);

}

.results-explorer-btn:hover {

    transform: translateY(-8px);

    border-color: #f3b321;

}

.results-explorer-btn.active {

    background: #08295d;

    color: #fff;

    border-color: #08295d;

}

.results-explorer-btn.active small {

    color: rgba(255, 255, 255, .75);

}

.results-explorer-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    flex-shrink: 0;
    overflow: hidden;
}

.results-explorer-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
}

.results-explorer-btn h3 {

    font-size: 24px;

    margin-bottom: 8px;

    font-family: "Poppins", sans-serif;

}

.results-explorer-btn small {

    font-size: 14px;

    color: #7d879a;

    line-height: 1.7;

}

@media(max-width:991px) {

    .results-explorer-selector {

        grid-template-columns: 1fr;

    }

    .results-explorer-header h2 {

        font-size: 38px;

    }

}

@media(max-width:768px) {

    .results-explorer-section {

        padding: 80px 0;

    }

    .results-explorer-header {

        margin-bottom: 45px;

    }

    .results-explorer-header h2 {

        font-size: 30px;

    }

    .results-explorer-header p {

        font-size: 16px;

    }

    .results-explorer-btn {

        padding: 28px;

        gap: 18px;

    }

    .results-explorer-icon {

        width: 60px;

        height: 60px;

        font-size: 22px;

    }

    .results-explorer-btn h3 {

        font-size: 20px;

    }

}

/* SESSION SELECTOR */

.results-session-browser {

    padding: 30px 0 90px;

    background: #fff;

}

.results-session-header {

    text-align: center;

    max-width: 720px;

    margin: 0 auto 45px;

}

.results-session-tag {

    display: inline-block;

    padding: 10px 22px;

    background: #eef5ff;

    color: #0b4fa2;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 18px;

}

.results-session-header h2 {

    font-family: "Poppins", sans-serif;

    font-size: 42px;

    color: #08295d;

    margin-bottom: 18px;

}

.results-session-header p {

    color: #667085;

    line-height: 1.8;

    font-size: 17px;

}

.results-session-slider {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 22px;

}

.results-session-btn {

    width: 170px;

    padding: 24px;

    border: none;

    border-radius: 18px;

    cursor: pointer;

    background: #f8fbff;

    transition: .35s;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);

}

.results-session-btn:hover {

    transform: translateY(-6px);

}

.results-session-btn span {

    display: block;

    font-size: 24px;

    font-weight: 700;

    color: #08295d;

    margin-bottom: 8px;

}

.results-session-btn small {

    color: #667085;

}

.results-session-btn.active {

    background: #08295d;

}

.results-session-btn.active span {

    color: #fff;

}

.results-session-btn.active small {

    color: #dce8ff;

}

@media(max-width:768px) {

    .results-session-browser {

        padding: 20px 0 70px;

    }

    .results-session-header h2 {

        font-size: 30px;

    }

    .results-session-slider {

        flex-direction: column;

        align-items: center;

    }

    .results-session-btn {

        width: 100%;

        max-width: 350px;

    }

}

/* SESSION SECTION HIDDEN */

.results-session-browser {
    display: none;
    opacity: 0;

    visibility: hidden;

    transform: translateY(60px);

    max-height: 0;

    overflow: hidden;

    transition: opacity .6s ease, transform .6s ease, max-height .8s ease;

}

.results-session-browser.show {
    display: block;

    animation: fadeUp .5s ease;
    opacity: 1;

    visibility: visible;

    transform: translateY(0);

    max-height: 900px;

}

/* RESULT VIEWER */

.results-viewer-section {

    padding: 90px 0 120px;

    background: #f8fafc;

}

.results-viewer-card {

    display: grid;

    grid-template-columns: 490px 1fr;

    gap: 55px;

    background: #fff;

    border-radius: 30px;

    padding: 45px;

    box-shadow: 0 30px 80px rgba(15, 23, 42, .08);

    overflow: hidden;

    position: relative;

}

.results-viewer-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 7px;

    background: linear-gradient(90deg, #003f88, #f3b321);

}

/* IMAGE */

.results-viewer-image {

    position: relative;

}

.results-viewer-image img {

    width: 100%;

    height: 100%;

    min-height: 520px;

    object-fit: cover;

    border-radius: 24px;

    display: block;

}

/* RIBBON */

.results-viewer-ribbon {

    position: absolute;

    top: 20px;

    left: 20px;

    background: #f3b321;

    color: #00296b;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    padding: 10px 18px;

    border-radius: 40px;

    z-index: 5;

}

/* CONTENT */

.results-viewer-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.results-viewer-badge {

    display: inline-block;

    padding: 9px 20px;

    border-radius: 40px;

    background: #eef5ff;

    color: #003f88;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 18px;

}

.results-viewer-content h2 {

    font-family: "Poppins", sans-serif;

    font-size: 42px;

    color: #08295d;

    margin-bottom: 35px;

}

/* META GRID */

.results-viewer-meta {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-bottom: 40px;

}

.results-viewer-meta div {

    background: #f7f9fc;

    padding: 22px;

    border-radius: 18px;

    border: 1px solid #edf1f6;

}

.results-viewer-meta small {

    display: block;

    color: #7b8794;

    margin-bottom: 8px;

    font-size: 13px;

}

.results-viewer-meta strong {

    color: #08295d;

    font-size: 18px;

    font-weight: 700;

}

/* SUBJECT GRID */

.results-subject-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-bottom: 40px;

}

.results-subject-card {

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #ffffff;

    border: 1px solid #edf1f6;

    border-radius: 16px;

    padding: 18px 20px;

    transition: .35s;

}

.results-subject-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);

}

.results-subject-card span {

    font-weight: 600;

    color: #374151;

}

.results-subject-card strong {

    width: 52px;

    height: 40px;

    border-radius: 10px;

    background: #003f88;

    color: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 15px;

}

.results-more-subjects {

    grid-column: 1 / -1;

    text-align: center;

    padding: 18px;

    border: 2px dashed #d6e4ff;

    border-radius: 16px;

    background: #f8fbff;

    color: #003f88;

    font-weight: 700;

    font-size: 15px;

}

/* BUTTON */

.results-full-btn {

    align-self: flex-start;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 16px 34px;

    border: none;

    cursor: pointer;

    border-radius: 50px;

    background: linear-gradient(135deg, #003f88, #0059c7);

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    transition: .35s;

}

.results-full-btn:hover {

    transform: translateY(-5px);

    box-shadow: 0 18px 35px rgba(0, 63, 136, .30);

}

.results-full-btn i {

    transition: .35s;

}

.results-full-btn:hover i {

    transform: translateX(5px);

}

.results-viewer-card.flash {

    animation: premiumFlash .7s ease;

}

@keyframes premiumFlash {

    0% {

        transform: scale(.98);

        box-shadow: 0 0 0 rgba(0, 0, 0, 0);

    }

    50% {

        transform: scale(1.015);

        box-shadow: 0 25px 60px rgba(0, 63, 136, .18);

    }

    100% {

        transform: scale(1);

        box-shadow: 0 30px 80px rgba(15, 23, 42, .08);

    }

}

.results-empty {

    grid-column: 1/-1;

    padding: 50px;

    text-align: center;

    border: 2px dashed #d9e4f2;

    border-radius: 20px;

    color: #6b7280;

    font-size: 17px;

}


@media(max-width:991px) {

    .results-viewer-card {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 35px;

    }

    .results-viewer-image img {

        min-height: 420px;

    }

    .results-viewer-content h2 {

        font-size: 34px;

    }

}

@media(max-width:768px) {

    .results-viewer-section {

        padding: 70px 0;

    }

    .results-viewer-card {

        padding: 22px;

        border-radius: 22px;

    }

    .results-viewer-image img {

        min-height: 320px;

    }

    .results-viewer-content h2 {

        font-size: 28px;

        margin-bottom: 25px;

    }

    .results-viewer-meta {

        grid-template-columns: 1fr;

    }

    .results-subject-grid {

        grid-template-columns: 1fr;

    }

    .results-full-btn {

        width: 100%;

        justify-content: center;

    }

}

/*OTHER SUCCESSFUL CANDIDATES*/

.results-candidates-section {

    padding: 0 0 120px;

    background: #f8fafc;

}

.results-candidates-header {

    text-align: center;

    max-width: 720px;

    margin: 0 auto 60px;

}

.results-candidates-tag {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 50px;

    background: #eef5ff;

    color: #0b4fa2;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 18px;

}

.results-candidates-header h2 {

    font-family: "Poppins", sans-serif;

    font-size: 40px;

    color: #08295d;

    margin-bottom: 18px;

}

.results-candidates-header p {

    color: #667085;

    line-height: 1.8;

}

.results-candidates-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(260px, 280px));
    justify-content: center;

    gap: 28px;

}

.results-candidate-card {

    background: #fff;

    border-radius: 22px;

    overflow: hidden;

    box-shadow: 0 20px 40px rgba(15, 23, 42, .08);

    transition: .35s;

    cursor: pointer;

}

.results-candidate-card:hover {

    transform: translateY(-8px);

}

.results-candidate-card img {

    width: 100%;

    height: 280px;

    object-fit: cover;
    object-position: top center;

    display: block;

}

.results-candidate-content {

    padding: 24px;

}

.results-candidate-content h3 {

    font-size: 22px;

    color: #08295d;

    margin-bottom: 12px;

}

.results-candidate-content p {

    color: #667085;

    margin-bottom: 10px;

}

.results-candidate-score {

    display: inline-block;

    margin-top: 8px;

    padding: 8px 16px;

    border-radius: 40px;

    background: #003f88;

    color: #fff;

    font-weight: 600;

    font-size: 14px;

}

/* FULL RESULT MODAL */

.results-modal {

    position: fixed;

    inset: 0;

    background: rgba(7, 18, 38, .75);

    backdrop-filter: blur(10px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 9999;

}

.results-modal.show {

    opacity: 1;

    visibility: visible;

}

.results-modal-card {

    width: 100%;

    max-width: 900px;

    max-height: 92vh;

    overflow-y: auto;

    background: #fff;

    border-radius: 24px;

    position: relative;

    animation: modalUp .45s ease;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);

}

.results-modal-header {

    display: flex;

    align-items: center;

    gap: 30px;

    padding: 40px;

    border-bottom: 1px solid #edf1f6;

}

.results-modal-header img {

    width: 140px;

    height: 170px;

    object-fit: cover;

    border-radius: 18px;

    border: 4px solid #eef5ff;

}

.results-modal-header h2 {

    font-size: 34px;

    color: #08295d;

    margin-bottom: 12px;

    font-family: "Poppins", sans-serif;

}

.results-modal-header p {

    color: #6b7280;

    margin-bottom: 16px;

}

.results-modal-header span {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: #eef5ff;

    color: #003f88;

    font-weight: 700;

    font-size: 13px;

}

.results-modal-info {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    padding: 35px 40px;

}

.results-modal-info div {

    background: #f8fbff;

    border: 1px solid #edf1f6;

    border-radius: 18px;

    padding: 20px;

}

.results-modal-info small {

    display: block;

    color: #7b8794;

    margin-bottom: 8px;

}

.results-modal-info strong {

    color: #08295d;

    font-size: 18px;

}

.results-modal-table {

    width: calc(100% - 80px);

    margin: 0 auto 35px;

    border-collapse: collapse;

}

.results-modal-table th {

    background: #003f88;

    color: #fff;

    padding: 16px;

    text-align: left;

    font-weight: 600;

}

.results-modal-table td {

    padding: 15px 18px;

    border-bottom: 1px solid #edf1f6;

    font-size: 15px;

}

.results-modal-table tbody tr:nth-child(even) {

    background: #fafcff;

}

.results-modal-table td:last-child {

    text-align: center;

    font-weight: 700;

    color: #003f88;

}

.results-modal-actions {

    display: flex;

    justify-content: flex-end;

    gap: 16px;

    padding: 0 40px 40px;

}

.results-modal-actions button {

    border: none;

    cursor: pointer;

    padding: 14px 28px;

    border-radius: 50px;

    background: #003f88;

    color: #fff;

    font-weight: 600;

    transition: .3s;

}

.results-modal-actions button:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(0, 63, 136, .25);

}

.results-modal-close {

    position: absolute;

    top: 18px;

    right: 18px;

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    background: #eef5ff;

    color: #003f88;

    font-size: 20px;

    transition: .3s;

}

.results-modal-close:hover {

    background: #003f88;

    color: #fff;

}

@keyframes modalUp {

    from {

        opacity: 0;

        transform: translateY(40px) scale(.96);

    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);

    }

}


@media(max-width:768px) {

    .results-modal {

        padding: 15px;

    }

    .results-modal-card {

        border-radius: 18px;

    }

    .results-modal-header {

        flex-direction: column;

        text-align: center;

        padding: 28px 22px;

    }

    .results-modal-header img {

        width: 120px;

        height: 145px;

    }

    .results-modal-header h2 {

        font-size: 28px;

    }

    .results-modal-info {

        grid-template-columns: 1fr;

        padding: 22px;

    }

    .results-modal-table {

        width: calc(100% - 30px);

        font-size: 14px;

    }

    .results-modal-actions {

        flex-direction: column;

        padding: 0 22px 22px;

    }

    .results-modal-actions button {

        width: 100%;

    }

}

.results-full-btn.disabled {

    opacity: .45;

    cursor: not-allowed;

    pointer-events: none;

}

#viewFullResult.disabled,
#viewFullResult:disabled {

    opacity: .45;

    cursor: not-allowed;

    pointer-events: none;

}