/* =========================================================
   INCEIF APEL.C Page - Flatsome Compatible
========================================================= */

.apel-c-page {
    --apelc-navy: #071f63;
    --apelc-blue: #004fd3;
    --apelc-blue-dark: #003fb4;
    --apelc-teal: #008795;
    --apelc-teal-dark: #006f7c;
    --apelc-green: #5aa300;
    --apelc-olive: #86a800;
    --apelc-soft-teal: #eaf8f9;
    --apelc-light-blue: #edf5ff;
    --apelc-light-green: #eef8e8;
    --apelc-border: #dce8ee;
    --apelc-text: #111827;
    --apelc-white: #ffffff;

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

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

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

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

.apel-c-page img {
    max-width: 100%;
    display: block;
}

.apelc-container {
    width: min(1280px, calc(100% - 44px));
    margin: 0 auto;
}
.apel-small-btn {
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 5px;  
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all .25s ease;
 
}
.apelc-section {
    padding: 34px 0;
}

/* =========================================================
   Hero
========================================================= */

.apelc-hero {
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.98) 28%,
            rgba(255,255,255,.84) 42%,
            rgba(255,255,255,.18) 60%,
            rgba(255,255,255,.03) 100%
        ),
        url("/wp-content/themes/flatsome-child/apel/images/apel-c-hero.jpg") center right / cover no-repeat;
}

.apelc-hero-grid {
    min-height: 420px;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 24px;
    align-items: center;
}

.apelc-hero-content {
    max-width: 560px;
    padding: 48px 0;
}

.apelc-hero-content h1 {
    color: var(--apelc-navy);
    font-size: clamp(64px, 8vw, 114px);
    line-height: 0.92;
    letter-spacing: -3px;
    font-weight: 900;
    margin-bottom: 18px;
}

.apelc-hero-content h2 {
    color: var(--apelc-navy);
    font-size: clamp(28px, 3vw, 45px);
    line-height: 1.16;
    font-weight: 900;
    margin-bottom: 18px;
}

.apelc-hero-content h2 span {
    color: var(--apelc-teal);
}

.apelc-hero-line {
    width: 44px;
    height: 3px;
    background: var(--apelc-green);
    margin-bottom: 24px;
}

.apelc-hero-content p {
    color: #000;
    font-size: 16px;
    line-height: 1.8;
    max-width: 470px;
    margin-bottom: 0;
}

.apelc-hero-flow {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 34px;
}

.apelc-flow-card {
    width: 100%;
    max-width: 590px;
    background: rgba(255,255,255,.92);
    border-radius: 18px;
    padding: 24px 28px 18px;
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr;
    gap: 8px;
    align-items: center;
    box-shadow: 0 16px 38px rgba(0,0,0,.12);
    backdrop-filter: blur(7px);
}

.apelc-flow-item {
    text-align: center;
}

.apelc-flow-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.apelc-flow-icon.blue {*/
/*    background: var(--apelc-blue);*/
/*}*/

.apelc-flow-icon.teal {
    background: var(--apelc-teal);
}

.apelc-flow-icon.green {
    background: var(--apelc-green);
}

.apelc-flow-icon img {
  
    object-fit: contain;
    
}

.apelc-flow-item h3 {
    color: var(--apelc-navy);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 0;
}

.apelc-flow-arrow {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
}

.apelc-flow-arrow.blue {
    color: var(--apelc-blue);
}

.apelc-flow-arrow.green {
    color: var(--apelc-green);
}

/* =========================================================
   Headings
========================================================= */

.apelc-heading {
    margin-bottom: 12px;
}

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

.apelc-heading span {
    width: 42px;
    height: 3px;
    background: var(--apelc-green);
    display: block;
}

.apelc-heading.small h2 {
    font-size: 22px;
}

.apelc-section-intro {
    color: #000;
    font-size: 14.5px;
    margin-bottom: 24px;
}

/* =========================================================
   Source Cards
========================================================= */

.apelc-source-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.apelc-source-card {
    background: #ffffff;
    border: 1px solid var(--apelc-border);
    border-radius: 10px;
    min-height: 230px;
    padding: 28px 18px 24px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
    transition: all .25s ease;
}

.apelc-source-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 135, 149, .45);
    box-shadow: 0 18px 42px rgba(7, 31, 99, .11);
}

.apelc-source-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-source-icon.blue-light {
    background: var(--apelc-light-blue);
}

.apelc-source-icon.teal-light {
    background: var(--apelc-soft-teal);
}

.apelc-source-icon.green-light {
    background: var(--apelc-light-green);
}

.apelc-source-icon img {
  
    object-fit: contain;
}

.apelc-source-card h3 {
    color: var(--apelc-navy);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 900;
    min-height: 48px;
    margin-bottom: 10px;
}

.apelc-source-card p {
    color: #000;
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* =========================================================
   Credit + Eligibility
========================================================= */

.apelc-credit-eligibility {
    padding-top: 18px;
    padding-bottom: 28px;
}

.apelc-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 18px;
    align-items: start;
}

.apelc-credit-card {
    background: linear-gradient(135deg, #f4fbff, #ffffff);
    border: 1px solid var(--apelc-border);
    border-radius: 12px;
    padding: 24px 24px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    align-items: center;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
}

.apelc-credit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--apelc-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-credit-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.apelc-credit-content h3 {
    color: var(--apelc-blue);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 6px;
}

.apelc-credit-content p {
    color: #000;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.apelc-credit-content strong {
    color: var(--apelc-green);
}

.apelc-who-card {
    background: #ffffff;
    border: 1px solid var(--apelc-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
}

.apelc-who-card > h3 {
    color: var(--apelc-navy);
    font-size: 22px;
    font-weight: 900;
    padding: 10px 10px 12px;
    margin: 0;
}

.apelc-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.apelc-eligible,
.apelc-not-eligible {
    padding: 20px 22px;
}

.apelc-eligible {
    background: linear-gradient(135deg, #f5fbef, #ffffff);
}

.apelc-not-eligible {
    background: linear-gradient(135deg, #fff2f2, #ffffff);
}

.apelc-eligible h4 {
    color: var(--apelc-green);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 12px;
}

.apelc-not-eligible h4 {
    color: #d71920;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 12px;
}

.apelc-eligible ul,
.apelc-not-eligible ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apelc-eligible li,
.apelc-not-eligible li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.apelc-eligible li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--apelc-green);
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
}

.apelc-not-eligible li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d71920;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
}

/* =========================================================
   Programmes
========================================================= */

.apelc-programmes {
    padding-top: 24px;
    padding-bottom: 24px;
}

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

.apelc-programme-card {
    background: #ffffff;
    border: 1px solid var(--apelc-border);
    border-radius: 10px;
    min-height: 280px;
    padding: 24px 20px 22px;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
    transition: all .25s ease;
}

.apelc-programme-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 135, 149, .45);
    box-shadow: 0 18px 42px rgba(7, 31, 99, .11);
}

.apelc-programme-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-programme-icon.blue-light {
    background: var(--apelc-light-blue);
}

.apelc-programme-icon.teal-light {
    background: var(--apelc-soft-teal);
}

.apelc-programme-icon.green-light {
    background: var(--apelc-light-green);
}

.apelc-programme-icon img {

    object-fit: contain;
}

.apelc-programme-card h3 {
    color: var(--apelc-navy);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 900;
    min-height: 44px;
    margin-bottom: 14px;
}

.apelc-programme-card h4 {
    color: var(--apelc-teal);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.apelc-programme-card ul {
    margin: 0;
    padding-left: 18px;
}

.apelc-programme-card li {
    color: #000;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 6px;
}

.apelc-programme-line {
    width: 34px;
    height: 3px;
    margin-top: 16px;
}

.apelc-programme-line.blue {
    background: var(--apelc-blue);
}

.apelc-programme-line.teal {
    background: var(--apelc-teal);
}

.apelc-programme-line.green {
    background: var(--apelc-green);
}

/* =========================================================
   Methods + Journey
========================================================= */

.apelc-methods-journey {
    padding-top: 20px;
    padding-bottom: 24px;
}

.apelc-two-col {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 24px;
    align-items: start;
}

.apelc-methods-text,
.apelc-journey-text {
    color: #000;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.apelc-method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.apelc-method-card {
    background: #ffffff;
    border: 1px solid var(--apelc-border);
    border-radius: 10px;
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
}

.apelc-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-method-icon.teal-light {
    background: var(--apelc-soft-teal);
}

.apelc-method-icon.green-light {
    background: var(--apelc-light-green);
}

.apelc-method-icon img {
    object-fit: contain;
}

.apelc-method-content h3 {
    color: var(--apelc-navy);
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 6px;
}

.apelc-method-content p {
    color: #000;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 12px;
}

.apelc-small-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 900;
    transition: all .25s ease;
}

.apelc-small-btn.blue {
    color: var(--apelc-blue) !important;
    border: 1px solid var(--apelc-blue);
}

.apelc-small-btn.green {
    color: var(--apelc-green) !important;
    border: 1px solid var(--apelc-green);
}

.apelc-small-btn:hover {
    background: var(--apelc-navy);
    border-color: var(--apelc-navy);
    color: #ffffff !important;
}

.apelc-journey {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.apelc-journey::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 8%;
    right: 8%;
    border-top: 1px dashed #a5c1cf;
    z-index: 0;
}

.apelc-journey-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.apelc-journey-no {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-journey-no.blue {
    background: var(--apelc-blue);
}

.apelc-journey-no.teal {
    background: var(--apelc-teal);
}

.apelc-journey-no.teal-dark {
    background: var(--apelc-teal-dark);
}

.apelc-journey-no.green {
    background: var(--apelc-green);
}

.apelc-journey-no.olive {
    background: var(--apelc-olive);
}

.apelc-journey-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f3f8fb;
    border: 1px solid #dfeaf0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-journey-icon img {
    /*width: 36px;*/
    /*height: 36px;*/
    object-fit: contain;
}

.apelc-journey-item h3 {
    color: var(--apelc-navy);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 900;
    min-height: 34px;
    margin-bottom: 6px;
}

.apelc-journey-item p {
    color: #000;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 0;
}

/* =========================================================
   Bottom
========================================================= */

.apelc-bottom {
    padding-top: 20px;
    padding-bottom: 24px;
}

.apelc-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 18px;
}

.apelc-bottom-card {
    background: #ffffff;
    border: 1px solid var(--apelc-border);
    border-radius: 10px;
    padding: 22px 22px;
    box-shadow: 0 8px 22px rgba(7, 31, 99, .04);
}

.apelc-fee-intro {
    font-size: 14px;
    color: #000;
    margin-bottom: 14px;
}

.apelc-table-wrap {
    overflow-x: auto;
}

.apelc-fee-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.apelc-fee-table th,
.apelc-fee-table td {
    border: 1px solid #cddde4;
    padding: 9px 12px;
    text-align: left;
}

.apelc-fee-table th {
    background: #dff2f4;
    color: var(--apelc-navy);
    font-weight: 900;
}

.apelc-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
}



.apelc-faq details {
    border-bottom: 1px solid #e3edf2;
    padding: 10px 0;
}

.apelc-faq summary {
    cursor: pointer;
    color: var(--apelc-navy);
    font-size: 14px;
    font-weight: 800;
    list-style: none;
    position: relative;
    padding-right: 20px;
}

.apelc-faq summary::-webkit-details-marker {
    display: none;
}

.apelc-faq summary::after {
    content: "⌄";
    position: absolute;
    right: 0;
    top: -1px;
    color: var(--apelc-blue);
}

.apelc-faq details[open] summary::after {
    content: "⌃";
}

.apelc-faq p {
    color: #000;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 8px 0 0;
}

.apelc-view-faq {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--apelc-navy) !important;
    font-size: 14px;
    font-weight: 900;
    margin-top: 10px;
}

/* =========================================================
   Contact
========================================================= */

.apelc-contact-section {
    padding: 0 0 46px;
}

.apelc-contact-box {
    background: linear-gradient(135deg, #005aa7 0%, #00798e 50%, #00697d 100%);
    border-radius: 10px;
    padding: 28px 42px;
    display: grid;
    grid-template-columns: 96px 1.3fr 1.2fr auto;
    gap: 30px;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 100, 120, .20);
}

.apelc-contact-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-contact-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.apelc-contact-title h2 {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 8px;
}

.apelc-contact-title p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.apelc-contact-info {
    border-left: 1px solid rgba(255,255,255,.35);
    padding-left: 28px;
}

.apelc-contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 14px;
    margin: 0 0 8px;
}

.apelc-contact-info p:last-child {
    margin-bottom: 0;
}

.apelc-contact-info img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.apelc-contact-btn {
    min-width: 148px;
    min-height: 54px;
    padding: 14px 24px;
    background: #ffffff;
    color: #006f7c !important;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 900;
    transition: all .25s ease;
}

.apelc-contact-btn:hover {
    transform: translateY(-2px);
    background: #f4fcfd;
}

/* =========================================================
   Flatsome Compatibility
========================================================= */

.apel-c-page .row,
.apel-c-page .col,
.apel-c-page .col-inner {
    margin-top: 0;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1180px) {
    .apelc-source-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .apelc-journey {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 24px;
    }

    .apelc-journey::before {
        display: none;
    }
}

@media (max-width: 980px) {
    .apelc-hero-grid {
        grid-template-columns: 1fr;
    }

    .apelc-hero-flow {
        justify-content: flex-start;
        padding-bottom: 26px;
    }

    .apelc-split-grid,
    .apelc-two-col,
    .apelc-bottom-grid {
        grid-template-columns: 1fr;
    }

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

    .apelc-contact-icon {
        margin: 0 auto;
    }

    .apelc-contact-info {
        border-left: 0;
        padding-left: 0;
        max-width: 390px;
        margin: 0 auto;
        text-align: left;
    }

    .apelc-contact-btn {
        margin: 0 auto;
    }
}

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

    .apelc-hero {
        min-height: auto;
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,1) 0%,
                rgba(255,255,255,.95) 52%,
                rgba(255,255,255,.48) 100%
            ),
            url("/wp-content/themes/flatsome-child/apel/images/apel-c-hero.jpg") center right / cover no-repeat;
    }

    .apelc-hero-grid {
        min-height: auto;
    }

    .apelc-flow-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 22px 18px;
    }

    .apelc-flow-arrow {
        transform: rotate(90deg);
        font-size: 28px;
    }

    .apelc-source-grid,
    .apelc-programme-grid,
    .apelc-method-grid,
    .apelc-journey,
    .apelc-who-grid {
        grid-template-columns: 1fr;
    }

    .apelc-credit-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apelc-credit-icon {
        margin: 0 auto;
    }

    .apelc-method-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apelc-method-icon {
        margin: 0 auto;
    }
}

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

    .apelc-hero-content h1 {
        font-size: 64px;
        letter-spacing: -1px;
    }

    .apelc-contact-box {
        padding: 28px 22px;
    }

    .apelc-contact-title h2 {
        font-size: 25px;
    }
}
/* =========================================================
   APEL.C FAQ List Styling
========================================================= */

.apelc-faq-apply .apelc-faq-content {
    padding: 10px 0 4px;
}

.apelc-faq-apply .apelc-faq-content > p {
    color: #111827;
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.apelc-faq-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 9px;
}

.apelc-faq-list li {
    position: relative;
    background: linear-gradient(135deg, #f7fcfd, #ffffff);
    border: 1px solid #dce8ee;
    border-radius: 8px;
    padding: 10px 12px 10px 40px;
    color: #111827;
    font-size: 13.5px;
    line-height: 1.55;
    box-shadow: 0 6px 16px rgba(7, 31, 99, .04);
}

.apelc-faq-list li::before {
    content: "✓";
    position: absolute;
    left: 13px;
    top: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #008795;
    color: #ffffff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    font-weight: 900;
}

.apelc-faq-note {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
    background: linear-gradient(135deg, #fff7ed, #ffffff);
    border: 1px solid #f1d2a8;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 12px;
}

.apelc-faq-note span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.apelc-faq-note p {
    color: #5c3b00;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
    margin: 0;
}
/* =========================================================
   APEL.C Popup Modal
========================================================= */

.apelc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.apelc-modal.is-open {
    display: flex;
}

.apelc-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 31, 99, 0.72);
    backdrop-filter: blur(4px);
}

.apelc-modal-box {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
    animation: apelcModalIn .25s ease;
}

@keyframes apelcModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.apelc-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 4;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #ffffff;
    font-size: 26px;
    line-height: 38px;
    cursor: pointer;
    transition: all .25s ease;
}

.apelc-modal-close:hover {
    background: #ffffff;
    color: #071f63;
}

.apelc-modal-header {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    padding: 30px 34px;
    color: #ffffff;
    border-radius: 16px 16px 0 0;
}

.apelc-modal-header.blue {
    background: linear-gradient(135deg, #004fd3, #00798e);
}

.apelc-modal-header.green {
    background: linear-gradient(135deg, #5aa300, #008795);
}

.apelc-modal-icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.apelc-modal-header h2 {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
    margin: 0 44px 6px 0;
}

.apelc-modal-header p {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    opacity: .96;
}

.apelc-modal-body {
    padding: 30px 34px 34px;
}

.apelc-modal-body > p {
    color: #111827;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.apelc-modal-demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.apelc-modal-demo-card {
    background: linear-gradient(135deg, #f7fcfd, #ffffff);
    border: 1px solid #dce8ee;
    border-radius: 12px;
    padding: 18px;
}

.apelc-modal-demo-card h3 {
    color: #071f63;
    font-size: 17px;
    font-weight: 900;
    margin-bottom: 8px;
}

.apelc-modal-demo-card p {
    color: #111827;
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

.apelc-modal-note {
    background: linear-gradient(135deg, #edf5ff, #ffffff);
    border: 1px solid #cbdcf5;
    border-left: 5px solid #004fd3;
    border-radius: 10px;
    padding: 14px 16px;
    color: #071f63;
    font-size: 14px;
    line-height: 1.65;
}

.apelc-modal-note.green {
    background: linear-gradient(135deg, #eef8e8, #ffffff);
    border-color: #cfe6c2;
    border-left-color: #5aa300;
}

body.apelc-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .apelc-modal {
        padding: 14px;
    }

    .apelc-modal-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 28px 22px;
    }

    .apelc-modal-icon {
        margin: 0 auto;
    }

    .apelc-modal-header h2 {
        font-size: 24px;
        margin-right: 34px;
        margin-left: 34px;
    }

    .apelc-modal-body {
        padding: 24px 20px 28px;
    }

    .apelc-modal-demo-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   APEL.C Student Guidebook CTA
========================================================= */

.apelc-guidebook-cta {
    margin-top: 26px;
    background: linear-gradient(135deg, #f4fbff 0%, #ffffff 55%, #eef8e8 100%);
    border: 1px solid #dce8ee;
    border-radius: 14px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 28px rgba(7, 31, 99, .06);
}

.apelc-guidebook-content {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 16px;
    align-items: center;
}

.apelc-guidebook-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-guidebook-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.apelc-guidebook-content h3 {
    color: #071f63;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 4px;
}

.apelc-guidebook-content p {
    color: #111827;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.apelc-guidebook-btn {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 7px;
    background: linear-gradient(135deg, #004fd3, #008795);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: all .25s ease;
    box-shadow: 0 10px 22px rgba(0, 79, 211, .18);
}

.apelc-guidebook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 79, 211, .25);
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .apelc-guidebook-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apelc-guidebook-content {
        grid-template-columns: 1fr;
    }

    .apelc-guidebook-icon {
        margin: 0 auto;
    }

    .apelc-guidebook-btn {
        justify-content: center;
        width: 100%;
    }
}
/* =========================================================
   Improved APEL.C Assessment Fees Table
========================================================= */

.apelc-fee-card-wrap {
    /*margin-top: 18px;*/
    background: linear-gradient(135deg, #f7fcfd, #ffffff);
    border: 1px solid #dce8ee;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(7, 31, 99, .06);
}

.apelc-fee-summary {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.apelc-fee-summary-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #edf5ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apelc-fee-summary-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.apelc-fee-summary h3 {
    color: #071f63;
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 4px;
}

.apelc-fee-summary p {
    color: #111827;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.apelc-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #cddde4;
    background: #ffffff;
}

.apelc-fee-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    margin: 0;
    overflow: hidden;
}

.apelc-fee-table th {
    background: linear-gradient(135deg, #004fd3, #008795);
    color: #ffffff;
    
    padding: 14px 16px;
    text-align: center;
    border: none;
    white-space: nowrap;
}

.apelc-fee-table th:first-child {
    width: 40%;
}

.apelc-fee-table td {
    padding: 15px 16px;
    border: none;
    border-bottom: 1px solid #e5eef3;
    vertical-align: middle;
    background: #ffffff;
    padding-left:10px !important;
}

.apelc-fee-table tbody tr:nth-child(even) td {
    background: #f8fcfd;
}

.apelc-fee-table tbody tr:hover td {
    background: #eefbfc;
}

.apelc-fee-table tbody tr:last-child td {
    border-bottom: none;
}

.apelc-fee-table td strong {
    display: block;
    color: #071f63;
    font-size: 14.5px;
    font-weight: 900;
    margin-bottom: 3px;
}

.apelc-fee-table td span {
    display: block;
    color: #5d6978;
    font-size: 12.5px;
    line-height: 1.45;
}

.apelc-fee-price {
    display: inline-flex !important;
    width: max-content;
    min-width: 82px;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf8f9;
    color: #008795 !important;
    font-size: 14px !important;
    font-weight: 900;
}

.apelc-fee-price.usd {
    background: #edf5ff;
    color: #004fd3 !important;
}

.apelc-fee-note {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #edf5ff;
    border: 1px solid #cbdcf5;
}

.apelc-fee-note img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.apelc-fee-note p {
    color: #071f63;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 640px) {
    .apelc-fee-summary {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apelc-fee-summary-icon {
        margin: 0 auto;
    }

    .apelc-fee-table {
        min-width: 640px;
    }
}
/* =========================================================
   Mobile Responsive Fee Table - Card Layout
========================================================= */

@media (max-width: 640px) {

    .apelc-table-wrap {
        overflow-x: visible;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .apelc-fee-table {
        width: 100%;
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0 14px;
    }

    .apelc-fee-table thead {
        display: none;
    }

    .apelc-fee-table,
    .apelc-fee-table tbody,
    .apelc-fee-table tr,
    .apelc-fee-table td {
        display: block;
        width: 100%;
    }

    .apelc-fee-table tr {
        background: #ffffff;
        border: 1px solid #dce8ee;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 8px 22px rgba(7, 31, 99, .06);
        overflow: hidden;
    }

    .apelc-fee-table td {
        background: transparent !important;
        border: none;
        border-bottom: 1px solid #e5eef3;
        padding: 12px 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .apelc-fee-table td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .apelc-fee-table td:first-child {
        padding-top: 0;
    }

    .apelc-fee-table td:first-child strong {
        color: #071f63;
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 4px;
    }

    .apelc-fee-table td:first-child span {
        color: #5d6978;
        font-size: 13px;
        line-height: 1.5;
    }

    .apelc-fee-table td:nth-child(2)::before {
        content: "Malaysian Student";
        display: block;
        color: #071f63;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .3px;
        margin-bottom: 6px;
    }

    .apelc-fee-table td:nth-child(3)::before {
        content: "International Student";
        display: block;
        color: #071f63;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .3px;
        margin-bottom: 6px;
    }

    .apelc-fee-price {
        width: max-content;
        min-width: 92px;
        padding: 8px 14px;
        font-size: 15px !important;
    }

    .apelc-fee-note {
        grid-template-columns: 24px 1fr;
        align-items: start;
    }
}
/* Center pricing columns: Malaysian + International */
.apelc-fee-table th:nth-child(2),
.apelc-fee-table th:nth-child(3),
.apelc-fee-table td:nth-child(2),
.apelc-fee-table td:nth-child(3) {
    text-align: center;
}

/* Center the price pill itself */
.apelc-fee-table td:nth-child(2) .apelc-fee-price,
.apelc-fee-table td:nth-child(3) .apelc-fee-price {
    margin-left: auto;
    margin-right: auto;
}
.apelc-guidebook-cta p {margin-bottom: 0px !important;}