/* ==========================================================================
   Course pages (CPL, ATPL, RTR, Airline Cadet Program, IGRUA, B.Sc. Aviation)
   One shared visual system, scoped under .cp so nothing leaks into other pages.
   Flow: hero -> jump nav -> overview + key facts -> eligibility -> curriculum ->
         roadmap -> why us -> enquiry.
   ========================================================================== */

.cp {
    --cp-navy: #09212b;
    --cp-navy-2: #0f2f3c;
    --cp-sky: #33bdff;
    --cp-sky-deep: #009ce3;
    --cp-sky-soft: rgba(51, 189, 255, 0.12);
    --cp-surface: #f6f9fc;
    --cp-text: #4e4e4e;
    --cp-muted: #6b7785;
    --cp-heading: #09212b;
    --cp-border: rgba(9, 33, 43, 0.07);
    --cp-shadow: 0 10px 30px rgba(9, 33, 43, 0.08);
    --cp-shadow-lg: 0 24px 60px rgba(9, 33, 43, 0.14);
    --cp-radius: 18px;
    --cp-radius-sm: 12px;
    --cp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --cp-sticky-top: 70px;
    --cp-subnav-h: 0px;

    color: var(--cp-text);
    overflow-x: clip;
}

.cp h2,
.cp h3 {
    font-family: "DM Serif Display", serif;
    color: var(--cp-heading);
    font-weight: 400;
    letter-spacing: 0;
}

.cp [id] {
    scroll-margin-top: calc(var(--cp-sticky-top) + var(--cp-subnav-h) + 16px);
}

/* ---------- Section shell ---------- */
.cp-section {
    position: relative;
    padding: clamp(56px, 7vw, 104px) 0;
    background: #fff;
}

.cp-section--light {
    background: var(--cp-surface);
}

.cp-section--navy {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(51, 189, 255, 0.18), transparent 60%),
        radial-gradient(700px 380px at 5% 110%, rgba(0, 156, 227, 0.14), transparent 60%),
        var(--cp-navy);
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.cp-section--navy h2,
.cp-section--navy h3 {
    color: #fff;
}

/* ---------- Section heads: eyebrow + h2 + lead ---------- */
.cp-head {
    max-width: 680px;
    margin: 0 auto clamp(36px, 4vw, 56px);
    text-align: center;
}

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cp-sky-deep);
}

.cp-eyebrow::before,
.cp-head .cp-eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.6;
}

.cp-section--navy .cp-eyebrow,
.cp-apply .cp-eyebrow {
    color: var(--cp-sky);
}

.cp-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.15;
}

.cp-lead {
    margin: 14px auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--cp-muted);
}

.cp-section--navy .cp-lead {
    color: rgba(255, 255, 255, 0.68);
}

/* ---------- Jump sub-nav (desktop / tablet) ---------- */
.cp-subnav {
    position: sticky;
    top: var(--cp-sticky-top);
    z-index: 90;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--cp-border);
    transition: box-shadow 0.3s var(--cp-ease);
}

.cp-subnav.is-stuck {
    box-shadow: 0 8px 24px rgba(9, 33, 43, 0.08);
}

.cp-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 60px;
}

.cp-subnav__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.cp-subnav__list::-webkit-scrollbar {
    display: none;
}

.cp-subnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 18px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--cp-muted);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.25s var(--cp-ease);
}

.cp-subnav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--cp-sky);
    transform: scaleX(0);
    transition: transform 0.3s var(--cp-ease);
}

.cp-subnav__link:hover,
.cp-subnav__link:focus-visible,
.cp-subnav__link.is-active {
    color: var(--cp-heading);
}

.cp-subnav__link.is-active::after {
    transform: scaleX(1);
}

.cp-subnav__cta {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .cp-subnav {
        display: none;
    }
}

/* ---------- Buttons ---------- */
.cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(135deg, var(--cp-sky), var(--cp-sky-deep));
    box-shadow: 0 10px 24px rgba(0, 156, 227, 0.28);
    text-decoration: none;
    transition: transform 0.25s var(--cp-ease), box-shadow 0.25s var(--cp-ease);
}

.cp-btn:hover,
.cp-btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 156, 227, 0.36);
}

.cp-btn:focus-visible,
.cp-subnav__link:focus-visible,
.cp-fab:focus-visible {
    outline: 3px solid rgba(51, 189, 255, 0.5);
    outline-offset: 3px;
}

.cp-btn i {
    font-size: 1.2em;
    transition: transform 0.25s var(--cp-ease);
}

.cp-btn:hover i {
    transform: translateX(3px);
}

.cp-btn--sm {
    padding: 10px 20px;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(0, 156, 227, 0.24);
}

/* ---------- Overview ---------- */
.cp-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.cp-media {
    position: relative;
    margin: 0;
    padding: 0 0 22px 22px;
}

.cp-media::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72%;
    height: 78%;
    border-radius: 24px;
    background:
        radial-gradient(circle, rgba(51, 189, 255, 0.35) 1.5px, transparent 1.6px) 0 0 / 16px 16px,
        var(--cp-sky-soft);
}

.cp-media img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--cp-shadow-lg);
}

.cp-media__badge {
    position: absolute;
    right: -14px;
    top: 28px;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--cp-navy);
    color: var(--cp-sky);
    font-size: 30px;
    box-shadow: var(--cp-shadow-lg);
}

.cp-overview__body h2 {
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.15;
}

.cp-overview__lead {
    margin: 0 0 16px;
    padding-left: 18px;
    border-left: 3px solid var(--cp-sky);
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--cp-heading);
}

.cp-overview__text {
    margin: 0 0 24px;
    line-height: 1.8;
    color: var(--cp-muted);
}

/* Sentences of one paragraph shown as an ordered set of points */
.cp-points {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.cp-points li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--cp-radius-sm);
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    line-height: 1.65;
    color: var(--cp-text);
}

.cp-points i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 20px;
    color: var(--cp-sky-deep);
}

.cp-checks {
    display: grid;
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.cp-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--cp-heading);
}

.cp-checks i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cp-sky-soft);
    color: var(--cp-sky-deep);
    font-size: 18px;
}

/* ---------- Key facts strip ---------- */
.cp-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(48px, 6vw, 80px) 0 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 22px;
    box-shadow: var(--cp-shadow);
    overflow: hidden;
}

.cp-fact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    position: relative;
}

.cp-fact + .cp-fact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--cp-border);
}

.cp-fact__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--cp-sky-soft), rgba(0, 156, 227, 0.06));
    color: var(--cp-sky-deep);
    font-size: 26px;
}

.cp-fact__label {
    display: block;
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-fact__value {
    display: block;
    font-weight: 400;
    margin: 0;
    font-family: "DM Serif Display", serif;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--cp-heading);
}

/* ---------- Eligibility: icon checklist cards ---------- */
.cp-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}

.cp-check-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 28px 24px 26px;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: 0 4px 14px rgba(9, 33, 43, 0.04);
    transition: transform 0.3s var(--cp-ease), box-shadow 0.3s var(--cp-ease), border-color 0.3s var(--cp-ease);
}

.cp-check-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow);
    border-color: rgba(51, 189, 255, 0.35);
}

.cp-check-card__tick {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    color: #22b07d;
}

.cp-check-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--cp-navy);
    color: var(--cp-sky);
    font-size: 26px;
}

.cp-check-card h3 {
    margin: 4px 0 0;
    font-size: 1.3rem;
}

.cp-check-card p {
    margin: 0;
    line-height: 1.65;
    color: var(--cp-muted);
}

.cp-check-card--simple p {
    padding-right: 20px;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--cp-heading);
}

.cp-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    border-radius: var(--cp-radius-sm);
    background: var(--cp-sky-soft);
    color: var(--cp-heading);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cp-note i {
    flex-shrink: 0;
    font-size: 20px;
    color: var(--cp-sky-deep);
}

.cp-note--center {
    max-width: 720px;
    margin: 32px auto 0;
}

/* ---------- Curriculum modules ---------- */
.cp-modules {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
}

.cp-module {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 22px;
    box-shadow: var(--cp-shadow);
    overflow: hidden;
}

.cp-module__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    background: linear-gradient(135deg, var(--cp-navy), var(--cp-navy-2));
    color: #fff;
}

.cp-module--sky .cp-module__head {
    background: linear-gradient(135deg, var(--cp-sky-deep), var(--cp-sky));
}

.cp-module__step {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 24px;
    color: #fff;
}

.cp-module__title {
    flex: 1 1 150px;
    min-width: 0;
}

.cp-module__title h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: #fff;
}

.cp-module__title small {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.cp-module__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--cp-navy);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cp-module__badge i {
    color: var(--cp-sky-deep);
    font-size: 1.05rem;
}

.cp-module__badge img {
    display: block;
    height: 26px;
    width: auto;
    max-width: 96px;
    object-fit: contain;
}

.cp-module__badge--logo {
    padding: 4px 14px;
}

.cp-module__badge--logo img {
    width: 110px;
    height: 38px;
    max-width: none;
}

.cp-module__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    padding: 26px;
}

.cp-module__intro {
    margin: 0;
    line-height: 1.65;
    color: var(--cp-muted);
}

.cp-module__label {
    margin: 0 0 -6px;
    font-family: "Roboto", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

.cp-module__body .cp-note {
    margin-top: auto;
}

/* subject chips */
.cp-subjects {
    display: grid;
    grid-template-columns: repeat(var(--subject-cols, 1), minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-subjects li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--cp-radius-sm);
    background: var(--cp-surface);
    border: 1px solid transparent;
    font-weight: 500;
    color: var(--cp-heading);
    line-height: 1.4;
    transition: border-color 0.25s var(--cp-ease), background 0.25s var(--cp-ease);
}

.cp-subjects li:hover {
    background: #fff;
    border-color: rgba(51, 189, 255, 0.35);
}

.cp-subjects i {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff;
    color: var(--cp-sky-deep);
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(9, 33, 43, 0.06);
}

.cp-subjects--two {
    --subject-cols: 2;
}

.cp-modules--3 {
    --cols: 3;
}

.cp-modules--single {
    --cols: 1;
    max-width: 820px;
    margin: 0 auto;
}

.cp-grid--3 {
    --cols: 3;
}

/* big numbers */
.cp-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cp-stat {
    padding: 20px 16px;
    border-radius: 14px;
    background: var(--cp-surface);
    text-align: center;
}

.cp-stat strong {
    display: block;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-size: 2.3rem;
    line-height: 1;
    color: var(--cp-heading);
}

.cp-stat:first-child strong {
    color: var(--cp-sky-deep);
}

.cp-stat span {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cp-muted);
}

/* Sequence of modules (rounds, years): arrow connectors between cards */
.cp-modules--sequence .cp-module {
    overflow: visible;
}

.cp-modules--sequence .cp-module__head {
    border-radius: 21px 21px 0 0;
}

@media (min-width: 992px) {
    .cp-modules--sequence > :not(:last-child) .cp-module::after {
        content: "";
        position: absolute;
        top: 40px;
        right: -22px;
        z-index: 2;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--cp-sky);
        box-shadow: 0 0 0 5px var(--cp-surface);
    }

    .cp-section:not(.cp-section--light) .cp-modules--sequence > :not(:last-child) .cp-module::after {
        box-shadow: 0 0 0 5px #fff;
    }
}

/* Selection stages: compact vertical stepper */
.cp-stepper {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-stepper::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(var(--cp-sky), rgba(51, 189, 255, 0.15));
}

.cp-stepper li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    color: var(--cp-heading);
    line-height: 1.4;
}

.cp-stepper i {
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cp-sky);
    color: var(--cp-sky-deep);
    font-size: 17px;
}

/* ---------- Roadmap timeline ---------- */
.cp-timeline {
    --steps: 5;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--steps), minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.cp-timeline::before {
    content: "";
    position: absolute;
    top: 31px;
    left: calc(50% / var(--steps));
    right: calc(50% / var(--steps));
    height: 2px;
    background: linear-gradient(90deg, var(--cp-sky), rgba(51, 189, 255, 0.25));
}

.cp-step {
    position: relative;
    text-align: center;
}

.cp-step__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--cp-navy);
    border: 2px solid var(--cp-sky);
    box-shadow: 0 0 0 8px rgba(51, 189, 255, 0.1);
    font-family: "DM Serif Display", serif;
    font-size: 1.35rem;
    color: #fff;
    transition: background 0.3s var(--cp-ease), transform 0.3s var(--cp-ease);
}

.cp-step:hover .cp-step__num {
    background: var(--cp-sky-deep);
    transform: translateY(-3px);
}

.cp-step__card {
    height: calc(100% - 86px);
    padding: 24px 20px;
    border-radius: var(--cp-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s var(--cp-ease), border-color 0.3s var(--cp-ease);
}

.cp-step:hover .cp-step__card {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(51, 189, 255, 0.35);
}

.cp-step__icon {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    color: var(--cp-sky);
}

.cp-step h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.cp-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.66);
}

/* ---------- Feature / benefit cards ---------- */
.cp-feature {
    position: relative;
    height: 100%;
    padding: 30px 26px;
    border-radius: var(--cp-radius);
    background: #fff;
    border: 1px solid var(--cp-border);
    box-shadow: 0 4px 14px rgba(9, 33, 43, 0.04);
    overflow: hidden;
    transition: transform 0.3s var(--cp-ease), box-shadow 0.3s var(--cp-ease);
}

.cp-feature::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cp-sky), var(--cp-sky-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--cp-ease);
}

.cp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow);
}

.cp-feature:hover::after {
    transform: scaleX(1);
}

.cp-feature__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--cp-sky-soft);
    color: var(--cp-sky-deep);
    font-size: 28px;
}

.cp-feature h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.cp-feature p {
    margin: 0;
    line-height: 1.65;
    color: var(--cp-muted);
}

.cp-section--light .cp-feature,
.cp-section--light .cp-check-card {
    background: #fff;
}

/* ---------- Enquiry / apply ---------- */
.cp-apply {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 3vw, 40px) clamp(28px, 4vw, 64px);
    align-items: end;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(28px, 4.5vw, 64px);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(51, 189, 255, 0.22), transparent 60%),
        linear-gradient(140deg, var(--cp-navy), var(--cp-navy-2));
    box-shadow: var(--cp-shadow-lg);
    color: rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.cp-apply__form {
    grid-column: 1 / -1;
}

.cp-apply__intro {
    position: relative;
    z-index: 1;
}

.cp-apply__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(51, 189, 255, 0.16);
    color: var(--cp-sky);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cp-apply__badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ddc97;
    box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.2);
}

.cp-apply__intro h2 {
    margin: 0 0 16px;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    color: #fff;
}

.cp-apply__intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.cp-apply__facts {
    position: relative;
    z-index: 1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
}

.cp-apply__facts li {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-apply__facts span {
    display: block;
    margin: 0 0 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.cp-apply__facts strong {
    display: block;
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.cp-apply__form {
    position: relative;
    z-index: 1;
    padding: clamp(22px, 3vw, 40px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ---------- Floating apply pill (mobile) ---------- */
.cp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 98;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--cp-sky), var(--cp-sky-deep));
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 156, 227, 0.4);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s var(--cp-ease), transform 0.3s var(--cp-ease);
}

.cp-fab:hover,
.cp-fab:focus-visible {
    color: #fff;
}

.cp-fab.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .cp-fab {
        display: inline-flex;
    }

    /* keep the global back-to-top button clear of the pill */
    body:has(.cp-fab) .back-to-top {
        bottom: 76px;
        right: 20px;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .cp-grid {
        --cols: 2;
    }

    .cp-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-fact:nth-child(3)::before {
        display: none;
    }

    .cp-fact:nth-child(n + 3) {
        border-top: 1px solid var(--cp-border);
    }

    .cp-subjects--two {
        --subject-cols: 1;
    }

    .cp-check-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .cp-check-card__icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        font-size: 22px;
        border-radius: 14px;
    }

    .cp-check-card__tick {
        top: 16px;
        right: 16px;
        font-size: 18px;
    }

    .cp-check-card h3 {
        margin: 0 24px 4px 0;
        font-size: 1.15rem;
    }
}

@media (max-width: 991.98px) {
    .cp-overview,
    .cp-apply {
        grid-template-columns: minmax(0, 1fr);
    }

    .cp-media {
        max-width: 620px;
        margin: 0 auto;
    }

    .cp-modules {
        --cols: 1;
    }

    .cp-subjects--two {
        --subject-cols: 2;
    }

    /* Timeline turns vertical: line on the left, number circles on it */
    .cp-timeline {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        max-width: 640px;
        margin: 0 auto;
    }

    .cp-timeline::before {
        display: none;
    }

    .cp-step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 27px;
        top: 56px;
        bottom: -18px;
        width: 2px;
        background: linear-gradient(180deg, var(--cp-sky), rgba(51, 189, 255, 0.25));
    }

    .cp-step {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 18px;
        align-items: start;
        text-align: left;
    }

    .cp-step__num {
        width: 56px;
        height: 56px;
        margin: 0;
        font-size: 1.15rem;
        box-shadow: 0 0 0 6px var(--cp-navy);
    }

    .cp-step__card {
        height: auto;
        padding: 18px 20px;
    }

    .cp-step__icon {
        float: right;
        margin: 0 0 0 12px;
        font-size: 24px;
    }
}

@media (max-width: 767.98px) {
    .cp-grid {
        --cols: 1;
        gap: 16px;
    }

    .cp-grid--tight-sm {
        --cols: 2;
        gap: 12px;
    }

    .cp-feature {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 16px;
        padding: 20px;
    }

    .cp-feature__icon {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        margin: 0;
        font-size: 22px;
        border-radius: 14px;
    }

    .cp-feature h3 {
        margin-bottom: 6px;
        font-size: 1.15rem;
    }

    .cp-facts {
        border-radius: 18px;
    }

    .cp-fact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 16px;
    }

    .cp-fact__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 20px;
    }

    .cp-fact__value {
        font-size: 1.08rem;
    }

    .cp-media {
        padding: 0 0 14px 14px;
    }

    .cp-media__badge {
        right: -6px;
        top: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
        border-radius: 14px;
    }

    .cp-module__head {
        padding: 20px;
        gap: 14px;
        flex-wrap: wrap;
    }

    .cp-module__badge {
        margin-left: 58px;
    }

    .cp-module__step {
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .cp-module__title h3 {
        font-size: 1.3rem;
    }

    .cp-module__body {
        padding: 20px;
    }

    .cp-subjects--two {
        --subject-cols: 1;
    }

    .cp-stat strong {
        font-size: 1.9rem;
    }

    .cp-apply {
        padding: 26px 18px 18px;
        border-radius: 22px;
    }

    .cp-apply__form {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .cp-btn--block-sm {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cp-module .cp-subjects {
        --subject-cols: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp *,
    .cp *::before,
    .cp *::after,
    .cp-fab {
        transition: none !important;
    }

    .cp-check-card:hover,
    .cp-feature:hover,
    .cp-btn:hover,
    .cp-step:hover .cp-step__num {
        transform: none;
    }
}
