/* =====================================================
   BACK-TO-SCHOOL ASSESSMENT PAGE
===================================================== */

.assessment-hero {
    min-height: 400px;
    padding: 55px 5%;
    background: #f7faff;

    display: grid;
    grid-template-columns: 25% 50% 25%;
    align-items: center;

    box-sizing: border-box;
}

/* Backpack */

.hero-backpack {
    font-size: 150px;
    text-align: center;
}

/* Hero Text */

.hero-message {
    text-align: center;
}

.hero-message h1 {
    margin: 0;
    color: #17479e;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
}

.hero-message h1 span {
    color: #3fa34d;
}

.hero-message h2 {
    margin: 20px 0 0;
    color: #d91b68;
    font-size: 42px;
}

.hero-message strong {
    color: #d91b68;
}


/* Assessment Circle */

.assessment-badge {
    width: 250px;
    height: 250px;

    margin: auto;

    border-radius: 50%;

    background: #10285c;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    font-size: 18px;
    font-weight: 700;

    border: 6px solid white;

    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.assessment-badge strong {
    color: #ffc400;
    font-size: 42px;
    margin: 5px 0;
}

.assessment-badge span {
    background: #4aaa2f;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 20px;
}


/* =====================================================
   INTRO BAR
===================================================== */

.assessment-intro {
    background: #ffc629;
    padding: 18px 20px;
    text-align: center;
}

.assessment-intro h2 {
    margin: 0;
    color: #173b7a;
    font-size: 28px;
}


/* =====================================================
   MAIN INFORMATION SECTION
===================================================== */

.assessment-main {
    background: white;
    padding: 55px 5%;
}

.assessment-columns {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 45px;
}

.info-panel {
    width: 100%;
}


/* Panel Titles */

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #10285c;
    color: white;

    padding: 14px 20px;

    border-radius: 10px;

    font-size: 22px;
    font-weight: 700;
}


/* Left Checklist */

.check-item {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    margin: 25px 5px;

    font-size: 18px;

    line-height: 1.5;
}

.check-item > span {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #4aaa2f;
    color: white;

    border-radius: 50%;

    font-weight: bold;
}

.check-item p {
    margin: 0;
}


/* Right Results */

.result-item {
    display: flex;

    gap: 15px;

    padding: 17px 5px;

    border-bottom: 1px solid #ddd;
}

.result-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 23px;

    background: #e9eef7;
}

.result-item h3 {
    margin: 0 0 5px;

    font-size: 21px;
}

.result-item p {
    margin: 0;

    font-size: 17px;

    line-height: 1.4;
}

.result-item.blue h3 {
    color: #1976d2;
}

.result-item.green h3 {
    color: #45a52d;
}

.result-item.purple h3 {
    color: #663399;
}

.result-item.orange h3 {
    color: #f47721;
}


/* =====================================================
   MATH LEVELS
===================================================== */

.math-level-section {
    max-width: 1200px;

    margin: 0 auto 45px;

    padding: 0 20px;
}

.section-banner {
    background: #10285c;

    color: white;

    text-align: center;

    padding: 14px;

    font-size: 28px;

    font-weight: 700;

    border-radius: 10px 10px 0 0;
}

.math-level-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: white;

    border-radius: 0 0 10px 10px;

    box-shadow: 0 4px 18px rgba(0,0,0,.10);
}

.math-level {
    text-align: center;

    padding: 25px 18px;

    border-right: 1px solid #ddd;
}

.math-level:last-child {
    border-right: none;
}

.math-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 8px;

    color: white;

    font-size: 28px;

    font-weight: bold;
}

.blue-icon {
    background: #1976d2;
}

.green-icon {
    background: #4aaa2f;
}

.purple-icon {
    background: #663399;
}

.orange-icon {
    background: #f47721;
}

.math-level h3 {
    margin: 8px 0;

    color: #17479e;

    font-size: 20px;
}

.math-level p {
    margin: 0;

    font-size: 16px;

    line-height: 1.4;
}


/* =====================================================
   TEST DETAILS + BENEFITS
===================================================== */

.details-section {
    max-width: 1200px;

    margin: 0 auto 45px;

    padding: 0 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.details-box,
.benefits-box {
    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.details-box {
    background: #f7faff;
}

.benefits-box {
    background: #fff7d8;
}

.details-box h2,
.benefits-box h2 {
    margin-top: 0;

    color: #10285c;

    font-size: 25px;
}


/* Test Details */

.detail-row {
    display: flex;

    align-items: center;

    gap: 15px;

    margin: 15px 0;

    font-size: 17px;
}

.detail-row strong {
    width: 110px;

    color: #17479e;
}

.detail-row span {
    color: #222;
}

.timed-test {
    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid #ddd;

    text-align: center;

    font-size: 16px;

    color: #17315f;
}


/* Benefits */

.benefits-box ul {
    list-style: none;

    padding: 0;

    margin: 15px 0;
}

.benefits-box li {
    margin: 16px 0;

    font-size: 18px;
}

.benefits-box li::before {
    content: "✓";

    display: inline-flex;

    justify-content: center;
    align-items: center;

    width: 23px;
    height: 23px;

    margin-right: 10px;

    background: #4aaa2f;

    color: white;

    border-radius: 50%;

    font-size: 14px;

    font-weight: bold;
}


/* =====================================================
   CALL TO ACTION
===================================================== */

.assessment-cta {
    background: #df1765;

    color: white;

    text-align: center;

    padding: 35px 20px;
}

.assessment-cta h2 {
    margin: 0 0 20px;

    font-size: 30px;
}

.assessment-cta a {
    display: inline-block;

    padding: 14px 30px;

    background: white;

    color: #df1765;

    border-radius: 8px;

    text-decoration: none;

    font-size: 18px;

    font-weight: bold;

    transition: .2s ease;
}

.assessment-cta a:hover {
    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}


/* =====================================================
   FOOTER
===================================================== */

.assessment-footer {
    background: #17479e;

    color: white;

    text-align: center;

    padding: 18px;
}

.assessment-footer p {
    margin: 0;

    font-size: 15px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .assessment-hero {
        grid-template-columns: 1fr;

        gap: 25px;

        padding: 45px 20px;
    }

    .hero-backpack {
        font-size: 90px;
    }

    .assessment-badge {
        width: 220px;
        height: 220px;
    }

    .assessment-columns {
        grid-template-columns: 1fr;
    }

    .math-level-grid {
        grid-template-columns: 1fr 1fr;
    }

    .details-section {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .assessment-hero {
        padding: 35px 15px;
    }

    .hero-backpack {
        font-size: 70px;
    }

    .hero-message h1 {
        font-size: 34px;
    }

    .hero-message h1 span {
        font-size: 44px;
    }

    .hero-message h2 {
        font-size: 28px;
    }

    .assessment-badge {
        width: 190px;
        height: 190px;

        font-size: 14px;
    }

    .assessment-badge strong {
        font-size: 32px;
    }

    .assessment-badge span {
        font-size: 15px;
        padding: 8px 15px;
    }

    .assessment-intro h2 {
        font-size: 20px;
    }

    .assessment-main {
        padding: 35px 15px;
    }

    .panel-title {
        font-size: 18px;
    }

    .check-item {
        font-size: 16px;
    }

    .result-item h3 {
        font-size: 18px;
    }

    .result-item p {
        font-size: 15px;
    }

    .math-level-grid {
        grid-template-columns: 1fr;
    }

    .math-level {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .section-banner {
        font-size: 21px;
    }

    .details-section {
        padding: 0 15px;
    }

    .details-box,
    .benefits-box {
        padding: 22px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .detail-row strong {
        width: auto;
    }

    .assessment-cta h2 {
        font-size: 23px;
    }

}