/* =========================================================
   RANK ENGINE ACADEMY
   RESULTS PAGE
========================================================= */


/* =========================================================
   RESULTS HERO
========================================================= */

.results-hero {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #03131f 0%,
            #061e2d 60%,
            #08283a 100%
        );

    color: #ffffff;
}


.results-hero-glow {

    position: absolute;

    width: 650px;
    height: 650px;

    right: -300px;
    top: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 137, 255, 0.15),
            transparent 68%
        );
}


.results-hero-container {

    position: relative;

    z-index: 2;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


.results-hero-content {

    max-width: 780px;
}


.results-hero-content .section-label {

    color: #ffd500;
}


.results-hero-content h1 {

    margin-top: 15px;

    font-size: clamp(
        45px,
        5vw,
        68px
    );

    line-height: 1.05;

    letter-spacing: -2.5px;
}


.results-hero-content h1 span {

    display: block;

    color: #ffd500;
}


.results-hero-content > p:last-child {

    max-width: 650px;

    margin-top: 22px;

    color: #a5b4be;

    font-size: 16px;

    line-height: 1.8;
}


/* HERO MARK */

.results-hero-mark {

    width: 170px;
    height: 170px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        2px solid #ffd500;

    transform: rotate(-8deg);
}


.results-hero-mark span {

    color: #8da0aa;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 3px;
}


.results-hero-mark strong {

    margin: 3px 0;

    color: #ffd500;

    font-size: 34px;
}


.results-hero-mark small {

    color: white;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;
}


/* =========================================================
   INTRO
========================================================= */

.results-intro {

    padding-top: 90px;

    padding-bottom: 55px;

    background: #ffffff;
}


.results-intro-content {

    max-width: 760px;
}


.results-intro-content .section-label {

    color: #167bc0;
}


.results-intro-content h2 {

    margin-top: 10px;

    color: #061b28;

    font-size: 46px;

    line-height: 1.08;

    letter-spacing: -1.8px;
}


.results-intro-content h2 span {

    color: #167bc0;
}


.results-intro-content > p:last-child {

    max-width: 700px;

    margin-top: 20px;

    color: #6c7c85;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   FEATURED RESULT
========================================================= */

.featured-result {

    padding-bottom: 100px;

    background: #ffffff;
}


.featured-result-card {

    position: relative;

    display: grid;

    grid-template-columns:
        1.3fr
        0.7fr;

    overflow: hidden;

    border-radius: 20px;

    background:
        #061b28;

    color: white;

    box-shadow:
        0 25px 70px
        rgba(
            3,
            19,
            31,
            0.15
        );
}


.featured-result-card::before {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    right: -180px;
    top: -180px;

    border-radius: 50%;

    border:
        1px solid
        rgba(
            255,
            213,
            0,
            0.15
        );
}


.featured-result-content {

    position: relative;

    z-index: 2;

    padding:
        55px
        55px
        55px
        60px;
}


.result-badge {

    display: inline-block;

    padding: 7px 12px;

    border-radius: 4px;

    background:
        rgba(
            255,
            213,
            0,
            0.12
        );

    color: #ffd500;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}


.result-exam {

    margin-top: 32px;

    color: #ffd500;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 3px;
}


.featured-result-content h2 {

    margin-top: 8px;

    color: white;

    font-size: 45px;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.result-class {

    margin-top: 8px;

    color: #8fa1ab;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;
}


.result-description {

    max-width: 620px;

    margin-top: 22px;

    color: #9eafb8;

    font-size: 14px;

    line-height: 1.8;
}


/* RESULT META */

.result-meta {

    display: flex;

    margin-top: 35px;

    gap: 0;
}


.result-meta > div {

    min-width: 120px;

    padding-right: 25px;

    margin-right: 25px;

    border-right:
        1px solid
        rgba(
            255,
            255,
            255,
            0.10
        );
}


.result-meta > div:last-child {

    border-right: none;

    margin-right: 0;
}


.result-meta span {

    display: block;

    color: #738893;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 2px;
}


.result-meta strong {

    display: block;

    margin-top: 6px;

    color: white;

    font-size: 18px;
}


.result-meta > div:first-child strong {

    color: #ffd500;
}


/* RESULT NOTE */

.result-note {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 30px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );
}


.result-note span {

    color: #ffd500;

    font-size: 17px;
}


.result-note p {

    color: #b4c0c5;

    font-size: 11px;

    font-weight: 600;
}


/* SCORE SIDE */

.featured-score {

    min-height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(
                255,
                213,
                0,
                0.10
            ),
            rgba(
                255,
                213,
                0,
                0.025
            )
        );
}


.score-circle {

    width: 230px;
    height: 230px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    border:
        2px solid
        #ffd500;

    box-shadow:
        0 0 0 15px
        rgba(
            255,
            213,
            0,
            0.04
        );

    text-align: center;
}


.score-circle span {

    color: #82959f;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 3px;
}


.score-circle strong {

    margin-top: 3px;

    color: white;

    font-size: 70px;

    line-height: 0.95;
}


.score-circle small {

    margin-top: 6px;

    color: #ffd500;

    font-size: 14px;

    font-weight: 800;
}


/* =========================================================
   RESULT PROOF
========================================================= */

.result-proof {

    padding-block: 100px;

    background:
        #f5f7f8;
}


.result-proof-heading {

    max-width: 700px;
}


.result-proof-heading .section-label {

    color: #167bc0;
}


.result-proof-heading h2 {

    margin-top: 10px;

    color: #061b28;

    font-size: 45px;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.result-proof-heading h2 span {

    color: #167bc0;
}


.result-proof-layout {

    display: grid;

    grid-template-columns:
        1fr
        0.75fr;

    gap: 70px;

    align-items: center;

    margin-top: 50px;
}


.result-proof-image {

    overflow: hidden;

    border-radius: 14px;

    background: #061b28;

    box-shadow:
        0 20px 50px
        rgba(
            3,
            19,
            31,
            0.12
        );
}


.result-proof-image img {

    display: block;

    width: 100%;

    height: auto;
}


.result-proof-text {

    max-width: 450px;
}


.proof-label {

    color: #167bc0;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 3px;
}


.result-proof-text h3 {

    margin-top: 15px;

    color: #061b28;

    font-size: 38px;

    line-height: 1.08;

    letter-spacing: -1px;
}


.result-proof-text > p {

    margin-top: 18px;

    color: #687983;

    font-size: 14px;

    line-height: 1.8;
}


.proof-highlight {

    display: flex;

    align-items: baseline;

    gap: 12px;

    margin-top: 30px;

    padding-top: 22px;

    border-top:
        1px solid #dfe4e7;
}


.proof-highlight strong {

    color: #061b28;

    font-size: 38px;

    line-height: 1;
}


.proof-highlight span {

    color: #167bc0;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   RESULT CATEGORIES
========================================================= */

.result-categories {

    padding-block: 100px;

    background: white;
}


.result-categories .section-heading {

    max-width: 700px;
}


.result-categories .section-heading .section-label {

    color: #167bc0;
}


.result-categories .section-heading h2 {

    margin-top: 10px;

    color: #061b28;

    font-size: 45px;

    line-height: 1.08;
}


.result-categories .section-heading h2 span {

    color: #167bc0;
}


.result-categories .section-heading > p:last-child {

    margin-top: 18px;

    color: #687983;

    font-size: 14px;

    line-height: 1.8;
}


.result-category-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 50px;
}


.result-category-card {

    position: relative;

    min-height: 230px;

    padding: 30px;

    border:
        1px solid #e1e6e9;

    border-radius: 14px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.result-category-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 45px
        rgba(
            3,
            19,
            31,
            0.08
        );
}


.category-number {

    color: #c7cfd3;

    font-size: 11px;

    font-weight: 900;
}


.result-category-card h3 {

    margin-top: 45px;

    color: #061b28;

    font-size: 21px;
}


.result-category-card p {

    max-width: 300px;

    margin-top: 10px;

    color: #6d7c84;

    font-size: 13px;

    line-height: 1.7;
}


.category-arrow {

    position: absolute;

    right: 30px;
    bottom: 25px;

    color: #167bc0;

    font-size: 20px;
}


/* =========================================================
   CTA
========================================================= */

.results-cta {

    padding-block: 90px;

    background: #ffd500;

    color: #061b28;

    text-align: center;
}


.results-cta .section-label {

    color: #061b28;

    opacity: 0.65;
}


.results-cta h2 {

    margin-top: 10px;

    font-size: 48px;

    line-height: 1.05;

    letter-spacing: -2px;
}


.results-cta h2 span {

    color: white;
}


.results-cta > .container > p:not(.section-label) {

    margin-top: 15px;

    color: #43545d;

    font-size: 14px;
}


.results-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    padding: 15px 25px;

    border-radius: 6px;

    background: #061b28;

    color: white;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;
}


.results-cta-button span {

    color: #ffd500;

    font-size: 17px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .results-hero-container {

        padding-block: 75px;
    }


    .featured-result-card {

        grid-template-columns: 1fr;
    }


    .featured-score {

        min-height: 300px;

        padding: 40px;
    }


    .result-proof-layout {

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .result-proof-text {

        max-width: 650px;
    }


    .result-category-grid {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .results-hero-container {

        flex-direction: column;

        align-items: flex-start;

        padding-block: 65px;
    }


    .results-hero-mark {

        align-self: center;

        width: 145px;
        height: 145px;
    }


    .results-hero-content h1 {

        font-size: 43px;

        letter-spacing: -1.8px;
    }


    .featured-result-content {

        padding: 40px 25px;
    }


    .featured-result-content h2 {

        font-size: 36px;
    }


    .result-meta {

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 20px;
    }


    .result-meta > div {

        min-width: 0;

        padding-right: 0;

        margin-right: 0;

        border-right: none;
    }


    .result-meta > div:last-child {

        grid-column: 1 / -1;
    }


    .score-circle {

        width: 190px;
        height: 190px;
    }


    .score-circle strong {

        font-size: 58px;
    }


    .results-cta h2 {

        font-size: 38px;
    }

}
/* =========================================
   ACHIEVEMENT SECTION
========================================= */

.achievement-section {
    padding: 100px 7%;
    background: #f7f9fb;
}

.achievement-container {
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-heading {
    margin-bottom: 55px;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #167bc0;
}

.achievement-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    color: #061b28;
    font-weight: 700;
}

.achievement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: #ffffff;
    border: 1px solid #e4e9ed;
    overflow: hidden;
}

/* Image */

.achievement-image {
    background: #061b28;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

.achievement-image img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    display: block;
}

/* Details */

.achievement-details {
    padding: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievement-tag {
    display: inline-block;
    width: fit-content;
    padding: 8px 14px;
    background: #ffd500;
    color: #061b28;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.achievement-rank {
    margin-bottom: 28px;
}

.rank-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #64727b;
}

.achievement-rank strong {
    display: block;
    font-size: clamp(70px, 8vw, 110px);
    line-height: 0.9;
    color: #061b28;
    font-weight: 800;
}

.achievement-details p {
    max-width: 430px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #596873;
}

.achievement-line {
    width: 60px;
    height: 4px;
    margin: 35px 0 18px;
    background: #167bc0;
}

.achievement-year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #167bc0;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .achievement-section {
        padding: 70px 5%;
    }

    .achievement-heading {
        margin-bottom: 35px;
    }

    .achievement-content {
        grid-template-columns: 1fr;
    }

    .achievement-image {
        padding: 25px;
    }

    .achievement-image img {
        height: 380px;
    }

    .achievement-details {
        padding: 40px 30px;
    }

    .achievement-rank strong {
        font-size: 75px;
    }
}
/* =========================================
   MORE MILESTONES
========================================= */

.milestones-section {
    padding: 100px 7%;
    background: #ffffff;
}

.milestones-container {
    max-width: 1200px;
    margin: 0 auto;
}

.milestones-heading {
    margin-bottom: 45px;
}

.milestones-heading h2 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    color: #061b28;
}


/* Grid */

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* Card */

.milestone-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #f7f9fb;
    border: 1px solid #e3e8ec;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(6, 27, 40, 0.12);
}


/* Image */

.milestone-image {
    width: 100%;
    height: 300px;
    background: #061b28;
    overflow: hidden;
}

.milestone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.milestone-card:hover .milestone-image img {
    transform: scale(1.04);
}


/* Bottom Information */

.milestone-info {
    position: relative;
    padding: 25px 25px 28px;
}

.milestone-number {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #167bc0;
}

.milestone-info h3 {
    margin: 0;
    padding-right: 35px;
    font-size: 22px;
    color: #061b28;
}

.milestone-arrow {
    position: absolute;
    right: 25px;
    bottom: 27px;
    font-size: 24px;
    color: #167bc0;
    transition: transform 0.3s ease;
}

.milestone-card:hover .milestone-arrow {
    transform: translateX(5px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .milestones-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .milestones-section {
        padding: 70px 5%;
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .milestone-image {
        height: 280px;
    }

}