/* =========================================================
   INCEIF APEL Assessment Pages
   Master’s T-7 and PhD T-8
========================================================= */

.apel-assessment-page {
    --apel-navy: #071f63;
    --apel-blue: #004fd3;
    --apel-teal: #008795;
    --apel-teal-dark: #006f7c;
    --apel-green: #5aa300;
    --apel-soft-blue: #edf5ff;
    --apel-soft-teal: #eaf8f9;
    --apel-soft-green: #eef8e8;
    --apel-border: #dce8ee;
    --apel-text: #111827;
    --apel-white: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--apel-text);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.apel-assessment-page * {
    box-sizing: border-box;
}

.apel-assessment-page h1,
.apel-assessment-page h2,
.apel-assessment-page h3,
.apel-assessment-page h4,
.apel-assessment-page p {
    margin-top: 0;
}

.apel-assessment-page a {
    text-decoration: none !important;
}

.apel-assessment-container {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}

.apel-assessment-section {
    padding: 42px 0;
}

.apel-soft-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

/* Hero */
.apel-assessment-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.55) 68%, rgba(255,255,255,.18) 100%),
        radial-gradient(circle at 85% 35%, rgba(0,135,149,.24), transparent 32%),
        linear-gradient(135deg, #f5fbff 0%, #ffffff 55%, #eaf7f8 100%);
    border-bottom: 1px solid var(--apel-border);
}

.apel-assessment-hero.phd {
    background:
        linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 42%, rgba(255,255,255,.55) 68%, rgba(255,255,255,.18) 100%),
        radial-gradient(circle at 85% 35%, rgba(0,79,211,.22), transparent 32%),
        linear-gradient(135deg, #f6fbff 0%, #ffffff 55%, #edf5ff 100%);
}

.apel-assessment-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 36px;
    align-items: center;
    min-height: 390px;
}

.apel-assessment-hero-content {
    padding: 54px 0;
    max-width: 720px;
}

.apel-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--apel-soft-teal);
    color: var(--apel-teal);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.apel-assessment-hero-content h1 {
    color: var(--apel-navy);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 14px;
}

.apel-assessment-hero-content h2 {
    color: var(--apel-teal);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 18px;
}

.apel-t8-page .apel-assessment-hero-content h2 {
    color: var(--apel-blue);
}

.apel-assessment-hero-content p {
    max-width: 600px;
    color: #000;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.apel-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apel-hero-badges span {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    color: var(--apel-navy);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(7, 31, 99, .05);
}

.apel-assessment-summary-card {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--apel-border);
    border-radius: 18px;
    padding: 34px 32px;
    box-shadow: 0 18px 48px rgba(7, 31, 99, .09);
    backdrop-filter: blur(8px);
}

.apel-summary-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--apel-teal), var(--apel-blue));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 20px;
}

.apel-assessment-summary-card h3 {
    color: var(--apel-navy);
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 10px;
}

.apel-assessment-summary-card p {
    color: #000;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Headings */
.apel-section-heading {
    margin-bottom: 24px;
}

.apel-section-heading.centered {
    text-align: center;
}

.apel-section-heading h2 {
    color: var(--apel-navy);
    font-size: 31px;
    line-height: 1.25;
    font-weight: 900;
    margin-bottom: 8px;
}

.apel-section-heading span {
    display: block;
    width: 46px;
    height: 3px;
    background: var(--apel-teal);
}

.apel-section-heading.centered span {
    margin: 0 auto;
}

/* Highlights */
.apel-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.apel-highlight-card {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(7,31,99,.05);
}

.apel-highlight-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--apel-soft-teal);
    color: var(--apel-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
}

.apel-highlight-card h3 {
    color: var(--apel-navy);
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 8px;
}

.apel-highlight-card p {
    color: #000;
    margin-bottom: 0;
}

/* Test structure */
.apel-test-card {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(7,31,99,.06);
}

.apel-test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--apel-border);
    padding-bottom: 18px;
}

.apel-test-header h3 {
    color: var(--apel-navy);
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 4px;
}

.apel-test-header p {
    color: #000;
    margin-bottom: 0;
}

.apel-test-header span {
    background: linear-gradient(135deg, var(--apel-teal), var(--apel-blue));
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}

.apel-test-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.apel-subject-card {
    background: linear-gradient(180deg, #ffffff, #f8fcfd);
    border: 1px solid var(--apel-border);
    border-radius: 14px;
    padding: 22px 18px;
}

.apel-subject-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--apel-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
}

.apel-subject-card h4 {
    color: var(--apel-navy);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
}

.apel-subject-card ul,
.apel-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apel-subject-card li {
    color: #000;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 8px;
}

/* Info Cards */
.apel-two-column,
.apel-component-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.apel-info-card {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(7,31,99,.06);
}

.apel-info-card.wide {
    grid-column: 1 / -1;
}

.apel-card-top {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.apel-card-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--apel-soft-teal);
    color: var(--apel-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.apel-card-top h3 {
    color: var(--apel-navy);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.apel-card-top p {
    color: var(--apel-teal);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 0;
}

.apel-check-list li {
    position: relative;
    padding-left: 34px;
    color: #000;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.apel-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--apel-teal);
    color: #ffffff;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
    font-weight: 900;
}

.apel-download-btn {
    display: inline-flex;
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 7px;
    background: var(--apel-blue);
    color: #ffffff !important;
    font-weight: 900;
}

/* Flow */
.apel-process-flow {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 12px 34px rgba(7,31,99,.05);
}

.apel-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.apel-flow-step {
    position: relative;
    text-align: center;
    padding: 24px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fcfd);
    border: 1px solid var(--apel-border);
}

.apel-flow-no {
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--apel-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.apel-flow-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--apel-soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.apel-flow-step h3 {
    color: var(--apel-navy);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.apel-flow-step p {
    color: #000;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Fees */
.apel-fee-panel {
    background: linear-gradient(135deg, #f4fbff, #ffffff);
    border: 1px solid var(--apel-border);
    border-radius: 18px;
    padding: 34px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 12px 34px rgba(7,31,99,.06);
}

.apel-fee-panel.phd {
    background: linear-gradient(135deg, #f6fbff, #ffffff);
}

.apel-fee-content p {
    color: #000;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}

.apel-fee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.apel-fee-card {
    background: #ffffff;
    border: 1px solid var(--apel-border);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 10px 28px rgba(7,31,99,.05);
}

.apel-fee-card span {
    display: block;
    color: var(--apel-teal);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.apel-t8-page .apel-fee-card span {
    color: var(--apel-blue);
}

.apel-fee-card strong {
    display: block;
    color: var(--apel-navy);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 12px;
}

.apel-fee-card p {
    color: #000;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Contact */
.apel-assessment-contact {
    padding: 0 0 48px;
}

.apel-contact-box {
    background: linear-gradient(135deg, #008895 0%, #007986 44%, #00667e 100%);
    border-radius: 14px;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    color: #ffffff;
}

.apel-t8-page .apel-contact-box {
    background: linear-gradient(135deg, #004fd3 0%, #007986 55%, #00667e 100%);
}

.apel-contact-box h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 6px;
}

.apel-contact-box p {
    color: #ffffff;
    margin-bottom: 0;
}

.apel-back-btn,
.apel-contact-btn {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 7px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.apel-back-btn {
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.6);
}

.apel-contact-btn {
    background: #ffffff;
    color: #006f7c !important;
}

/* Hover */
.apel-highlight-card,
.apel-subject-card,
.apel-info-card,
.apel-flow-step,
.apel-fee-card {
    transition: all .25s ease;
}

.apel-highlight-card:hover,
.apel-subject-card:hover,
.apel-info-card:hover,
.apel-flow-step:hover,
.apel-fee-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,135,149,.45);
    box-shadow: 0 18px 42px rgba(7,31,99,.11);
}

/* Responsive */
@media (max-width: 1024px) {
    .apel-assessment-hero-grid,
    .apel-fee-panel {
        grid-template-columns: 1fr;
    }

    .apel-test-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .apel-flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .apel-contact-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .apel-assessment-container {
        width: min(100% - 28px, 1280px);
    }

    .apel-assessment-section {
        padding: 34px 0;
    }

    .apel-highlight-grid,
    .apel-two-column,
    .apel-component-grid,
    .apel-fee-grid {
        grid-template-columns: 1fr;
    }

    .apel-info-card.wide {
        grid-column: auto;
    }

    .apel-test-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .apel-assessment-hero-content h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }
}

@media (max-width: 560px) {
    .apel-assessment-container {
        width: min(100% - 24px, 1280px);
    }

    .apel-test-grid,
    .apel-flow-steps {
        grid-template-columns: 1fr;
    }

    .apel-card-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apel-card-icon {
        margin: 0 auto;
    }

    .apel-fee-panel,
    .apel-process-flow,
    .apel-test-card {
        padding: 24px 20px;
    }

    .apel-fee-card strong {
        font-size: 32px;
    }
}