/* =========================================================
   New PTP landing page hero banner (v2/practical-training-programs/new-index-2026.blade.php).
   From the "practical-training-hero-banner" reference design. Every rule is scoped under .pt4 (the
   reference used generic class names such as .slab / .face / .bar / .shadow and :root variables).
   ========================================================= */

/* ---------- tokens (MYCPE ONE V5.0) ---------- */
.pt4 {
    --brand-50: #EBEEFD; --brand-100: #D8DEFC; --brand-200: #9CABF7; --brand-300: #758AF4;
    --brand-400: #4E69F1; --brand-500: #3A58EF; --brand-600: #314BD0; --brand-700: #283FB1;
    --brand-800: #12327B; --brand-900: #04092A;
    --gray-50: #F9FAFB; --gray-100: #F2F4F7; --gray-200: #EAECF0; --gray-300: #D0D5DD;
    --gray-500: #667085; --gray-600: #475467; --gray-700: #344054; --gray-900: #101828;
    --success: #12B76A; --warning: #F79009;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- button system (white variant, XL) ---------- */
.pt4 .mcpe-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 4px; border: 0; font-family: 'Inter', sans-serif; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; user-select: none;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.pt4 .mcpe-btn__icon { display: inline-flex; flex-shrink: 0; width: 20px; height: 20px; }
.pt4 .mcpe-btn__icon svg { display: block; width: 100%; height: 100%; }
.pt4 .mcpe-btn--xl { padding: 12px 20px; font-size: 16px; line-height: 24px; }
.pt4 .mcpe-btn--primary.mcpe-btn--white { background: #fff !important; color: #3A58EF !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.pt4 .mcpe-btn--primary.mcpe-btn--white:hover { background: #EDEEF2 !important; color: #334DD2 !important; box-shadow: 0 4px 10px rgba(16, 24, 40, .12); transform: translateY(-1px); }
.pt4 .mcpe-btn--primary.mcpe-btn--white:active { background: #DFE1E6 !important; color: #2C43B6 !important; transform: translateY(1px); }
.pt4 .mcpe-btn--secondary.mcpe-btn--white { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1px #fff; }
.pt4 .mcpe-btn--secondary.mcpe-btn--white:hover { background: rgba(255, 255, 255, .30) !important; }
.pt4 .mcpe-btn--secondary.mcpe-btn--white:active { background: rgba(255, 255, 255, .42) !important; }
.pt4 .mcpe-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, .5) !important; }
.pt4 .mcpe-btn--secondary.mcpe-btn--white:focus-visible { box-shadow: inset 0 0 0 1px #fff, 0 0 0 4px rgba(255, 255, 255, .5) !important; }

/* ---------- hero ---------- */
.pt4 {
    position: relative; isolation: isolate; overflow: hidden; font-family: var(--font); color: #fff;
    background:
        radial-gradient(900px 520px at 8% -10%, rgba(58, 88, 239, .55), transparent 60%),
        radial-gradient(760px 560px at 85% 55%, rgba(58, 88, 239, .45), transparent 62%),
        radial-gradient(700px 400px at 55% 115%, rgba(78, 105, 241, .35), transparent 60%),
        linear-gradient(180deg, #0E2B72 0%, var(--brand-800) 45%, var(--brand-900) 100%);
    padding: 72px 0;
}
.pt4 * { box-sizing: border-box; }
.pt4 > .container { max-width: 1320px; }
.pt4 .pt4-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 65% 45%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 65% 45%, #000 10%, transparent 75%); }

/* ---------- left column ---------- */
.pt4 .pt4-eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; background: #fff; border-radius: 500px; padding: 4px 16px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; color: #2A3343; }
.pt4 .pt4-eyebrow i { width: 24px; height: 24px; display: inline-flex; }
.pt4 .pt4-eyebrow i svg { width: 24px; height: 24px; }
.pt4 .pt4-title { font-family: var(--font); font-size: 48px; line-height: 60px; letter-spacing: -.96px; font-weight: 700; color: #fff; margin: 12px 0 0; }
.pt4 .pt4-points { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.pt4 .pt4-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 20px; line-height: 30px; font-weight: 400; color: #fff; }
.pt4 .pt4-points .ck { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pt4 .pt4-points .ck svg { width: 14px; height: 14px; }
.pt4 .pt4-cta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; }
.pt4 .pt4-cta .mcpe-btn__icon { transition: transform .2s; }
.pt4 .pt4-cta .mcpe-btn--primary:hover .mcpe-btn__icon { transform: translateX(4px); }

/* ---------- right : isometric layer stack ---------- */
.pt4 .pt4-wrap { position: relative; max-width: 640px; margin-left: auto; }
.pt4 .pt4-holder { position: relative; width: 100%; height: 640px; }
.pt4 .pt4-stage { position: absolute; left: 0; top: 0; width: 640px; height: 640px; transform-origin: 0 0; }
.pt4 .pt4-halo { position: absolute; left: 232px; top: 50%; width: 560px; height: 560px; margin: -290px 0 0 -280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 150, 255, .38), rgba(58, 88, 239, .12) 45%, transparent 70%); filter: blur(10px); pointer-events: none; animation: p4Breathe 7s ease-in-out infinite; }
@keyframes p4Breathe { 50% { transform: scale(1.08); opacity: .85; } }
.pt4 .pt4-beam { position: absolute; left: 232px; top: 3%; width: 2px; height: 94%; margin-left: -1px; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(156, 171, 247, .9) 20%, rgba(156, 171, 247, .9) 80%, transparent); }
.pt4 .pt4-beam::after { content: ""; position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px rgba(156, 171, 247, .9); animation: p4Pulse 3.6s ease-in-out infinite; }
@keyframes p4Pulse { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

.pt4 .iso {
    --rx: 60deg; --rz: -34deg;
    position: absolute; left: 232px; top: 432px; width: 0; height: 0;
    transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz));
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.pt4 .floor {
    position: absolute; left: -230px; top: -170px; width: 460px; height: 340px; border-radius: 30px; transform: translateZ(-70px);
    background:
        linear-gradient(rgba(156, 171, 247, .28) 1px, transparent 1px) 0 0/34px 34px,
        linear-gradient(90deg, rgba(156, 171, 247, .28) 1px, transparent 1px) 0 0/34px 34px,
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(58, 88, 239, .12));
    border: 1px solid rgba(156, 171, 247, .5); box-shadow: 0 0 60px rgba(58, 88, 239, .5);
}
.pt4 .slab {
    position: absolute; left: -150px; top: -105px; width: 300px; height: 210px; transform-style: preserve-3d;
    transform: translateZ(var(--z, 0px)); animation: p4Fan 1s cubic-bezier(.2, .8, .2, 1) var(--td, 0s) both;
}
.pt4 .slab::before { content: ""; position: absolute; inset: 0; border-radius: 22px; background: #5F77EE; transform: translateZ(-10px); }
.pt4 .slab .shadow { position: absolute; inset: 6px; border-radius: 26px; background: rgba(6, 16, 70, .32); filter: blur(22px); transform: translateZ(-46px); }
.pt4 .face { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(145deg, #FFFFFF 0%, #EEF2FF 100%); overflow: hidden;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 36px 2px rgba(156, 171, 247, .55); }
.pt4 .face i, .pt4 .face b, .pt4 .face span, .pt4 .face svg { position: absolute; }
.pt4 .face .bar { border-radius: 8px; }

/* labels: flat overlay positioned from each slab's on-screen edge */
.pt4 .lab {
    position: absolute; z-index: 5; white-space: nowrap; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 12px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
    font: 600 14px/20px var(--font); backdrop-filter: blur(6px);
    animation: p4Up .7s 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
.pt4 .lab::before { content: ""; position: absolute; right: 100%; top: 50%; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6)); }
.pt4 .lab em { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }

@keyframes p4Fan { from { transform: translateZ(0px); } }

/* ---- face content: certificate ---- */
.pt4 .f-cert .brand-logo { left: 20px; top: 40px; height: 18px; width: auto; }
.pt4 .f-cert .vt { left: 128px; bottom: 36px; font: 700 10.5px/1 var(--font); color: #067647; background: #ECFDF3; border: 1px solid #ABEFC6; border-radius: 20px; padding: 5px 9px; }
.pt4 .f-cert .chips { left: 20px; top: 116px; display: flex; gap: 6px; position: absolute; }
.pt4 .f-cert .chips b { position: static; font: 600 10.5px/1 var(--font); color: var(--brand-600); background: var(--brand-50); border-radius: 20px; padding: 6px 9px; }
.pt4 .f-cert .sig { left: 20px; bottom: 20px; width: 96px; height: 28px; }
.pt4 .f-cert .sig path { fill: none; stroke: var(--brand-800); stroke-width: 1.6; stroke-linecap: round; }
.pt4 .f-cert .seal { position: absolute; right: 22px; bottom: 20px; width: 66px; height: 66px; border-radius: 50%; background: conic-gradient(from 0deg, var(--brand-500), var(--brand-300), var(--brand-400), var(--brand-500)); box-shadow: 0 8px 18px rgba(58, 88, 239, .4); display: flex; align-items: center; justify-content: center; }
.pt4 .f-cert .seal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.pt4 .f-cert .seal svg { position: relative; width: 26px; height: 26px; color: var(--brand-500); }
.pt4 .slab .f-cert .seal { animation: p4Stamp .7s .3s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes p4Stamp { from { transform: scale(2.2) rotate(-24deg); opacity: 0; } }
.pt4 .f-cert .sig path { stroke-dashoffset: 0; }
.pt4 .slab .f-cert .sig path { stroke-dasharray: 140; stroke-dashoffset: 0; animation: p4Draw2 1.2s .5s ease both; }
@keyframes p4Draw2 { from { stroke-dashoffset: 140; } to { stroke-dashoffset: 0; } }

/* ---- job-ready skills ---- */
.pt4 .f-skill .srow { position: absolute; left: 20px; width: 176px; height: 30px; }
.pt4 .f-skill .lb { position: static; display: block; height: 6px; border-radius: 6px; background: #D0D5DD; margin-bottom: 7px; }
.pt4 .f-skill .tr { position: static; display: block; height: 9px; border-radius: 9px; background: #E4E7EC; overflow: hidden; }
.pt4 .f-skill .tr u { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #4E69F1, #3A58EF); transform-origin: left; animation: p4Grow 1.1s calc(.9s + var(--i) * .2s) cubic-bezier(.2, .8, .2, 1) both; }
.pt4 .f-skill .jr { position: absolute; right: 22px; bottom: 22px; width: 76px; height: 76px; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--brand-500), var(--brand-300), var(--brand-400), var(--brand-500)); box-shadow: 0 8px 18px rgba(58, 88, 239, .4); display: flex; align-items: center; justify-content: center;
    animation: p4Stamp .7s 1s cubic-bezier(.2, 1.4, .4, 1) both; }
.pt4 .f-skill .jr::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.pt4 .f-skill .jr svg { position: relative; width: 30px; height: 30px; color: var(--brand-500); }
@keyframes p4Grow { from { transform: scaleX(0); } }

/* a little extra room for the bullet text next to the visual */
@media (min-width: 992px) { .pt4 .pt4-copy { padding-right: 8px; } }
/* desktop: a wider text column keeps every bullet on one line */
@media (min-width: 1200px) { .pt4 .pt4-copy { flex: 0 0 auto; width: 53%; } .pt4 .pt4-vis { flex: 0 0 auto; width: 47%; } }

/* ---- expert insights ---- */
.pt4 .f-exp .eav { left: 20px; top: 22px; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-400), var(--brand-600)); color: #fff; display: flex; align-items: center; justify-content: center; position: absolute; }
.pt4 .f-exp .eav svg { position: static; width: 22px; height: 22px; }
.pt4 .f-exp .eav u { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--success); border: 2px solid #fff; }
.pt4 .f-exp .ins { right: 22px; top: 24px; width: 38px; height: 38px; border-radius: 50%; background: #FFFAEB; color: #F79009; border: 1px solid #FEDF89; display: flex; align-items: center; justify-content: center; position: absolute; }
.pt4 .f-exp .ins svg { position: static; width: 20px; height: 20px; }
.pt4 .f-exp .bub { position: absolute; border-radius: 12px 12px 12px 3px; padding: 9px 11px; background: var(--gray-100); animation: p4Bub .5s calc(.2s + var(--i) * .6s) ease both; }
.pt4 .f-exp .bub.me { border-radius: 12px 12px 3px 12px; background: var(--brand-500); }
.pt4 .f-exp .bub .ln { position: static; display: block; height: 6px; border-radius: 6px; background: #D0D5DD; margin-bottom: 6px; }
.pt4 .f-exp .bub .ln:last-child { margin-bottom: 0; }
.pt4 .f-exp .bub.me .ln { background: rgba(255, 255, 255, .65); }
.pt4 .f-exp .meter { left: 20px; bottom: 18px; width: 260px; height: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; position: absolute; }
.pt4 .f-exp .meter b { position: relative; display: block; height: 8px; border-radius: 8px; background: var(--gray-200); overflow: hidden; }
.pt4 .f-exp .meter b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-400), var(--brand-500)); transform-origin: left; animation: p4Grow .5s calc(1.9s + var(--i) * .25s) ease both; }
@keyframes p4Slide { from { opacity: 0; transform: translateX(-10px); } }
@keyframes p4Bub { from { opacity: 0; transform: translateY(10px); } }

.pt4 .lab0 { left: 437px; top: 78px; } .pt4 .lab1 { left: 437px; top: 189px; } .pt4 .lab2 { left: 437px; top: 300px; } .pt4 .lab3 { left: 437px; top: 411px; }

/* ---- CPE credits ---- */
.pt4 .f-cpe .pill { right: 18px; top: 15px; font: 700 10.5px/1 var(--font); color: var(--brand-600); background: var(--brand-50); border-radius: 20px; padding: 5px 9px; }
.pt4 .f-cpe .ring { left: 20px; top: 56px; width: 84px; height: 84px; }
.pt4 .f-cpe .ring circle { fill: none; stroke-width: 9; }
.pt4 .f-cpe .ring .trk { stroke: var(--brand-50); }
.pt4 .f-cpe .ring .bar { stroke: url(#pt4-ring-gradient); stroke-linecap: round; stroke-dasharray: 207.3; stroke-dashoffset: 51.8; transform: rotate(-90deg); transform-origin: center; animation: p4RingF 1.3s .3s cubic-bezier(.2, .8, .2, 1) both; }
.pt4 .f-cpe .cpt { position: absolute; left: 20px; top: 56px; width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; font: 800 17px/1 var(--font); letter-spacing: .02em; color: var(--brand-800); }
.pt4 .f-cpe .cr { position: absolute; left: 124px; width: 156px; height: 18px; display: flex; align-items: center; gap: 9px; animation: p4Slide .5s calc(.3s + var(--i) * .25s) ease both; }
.pt4 .f-cpe .cr u { position: static; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-500); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 16px; text-decoration: none; }
.pt4 .f-cpe .cr u svg { position: static; width: 9px; height: 9px; }
.pt4 .f-cpe .cr .ln { position: static; display: block; height: 7px; border-radius: 7px; background: #D0D5DD; }
.pt4 .f-cpe .track { position: absolute; left: 20px; bottom: 22px; width: 260px; height: 9px; border-radius: 9px; background: #E4E7EC; overflow: hidden; }
.pt4 .f-cpe .track u { display: block; height: 100%; width: 72%; border-radius: 9px; background: linear-gradient(90deg, var(--brand-400), var(--brand-500)); transform-origin: left; animation: p4Grow 1.2s .8s cubic-bezier(.2, .8, .2, 1) both; text-decoration: none; }
@keyframes p4RingF { from { stroke-dashoffset: 207.3; } }

.pt4 .f-exp .eav2 { left: 44px; top: 30px; width: 34px; height: 34px; background: linear-gradient(135deg, var(--brand-300), var(--brand-500)); opacity: .95; }
.pt4 .f-exp .eav2 svg { width: 18px; height: 18px; }
.pt4 .f-exp .eav { z-index: 1; }

/* narrow columns: hide the side labels */
.pt4 .pt4-wrap.is-compact .lab { display: none; }

/* entrance */
.pt4 .pt4-copy > * { animation: p4Up .8s cubic-bezier(.2, .8, .2, 1) both; }
.pt4 .pt4-copy > *:nth-child(2) { animation-delay: .08s; } .pt4 .pt4-copy > *:nth-child(3) { animation-delay: .16s; } .pt4 .pt4-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes p4Up { from { opacity: 0; transform: translateY(22px); } }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .pt4 .pt4-title { font-size: 40px; line-height: 48px; letter-spacing: -.8px; }
    .pt4 .pt4-wrap { margin: 8px auto 0; }
}
@media (max-width: 575.98px) {
    .pt4 { padding: 44px 0 52px; }
    .pt4 .pt4-title { font-size: 32px; line-height: 40px; letter-spacing: -.64px; }
    .pt4 .pt4-points li { font-size: 18px; line-height: 27px; } .pt4 .pt4-points .ck { margin-top: 0; }
    .pt4 .pt4-cta { gap: 16px; } .pt4 .pt4-cta .mcpe-btn { width: 100%; }
}
/* practical-training-programs-landing-page.css forces every "section h1" to 24px / centred and every section
   to 46px vertical padding (all !important) below 768px - keep the reference sizes for this hero. */
@media (max-width: 767.98px) {
    section.pt4 { padding-block: 72px !important; }
    section.pt4 .pt4-title {
        font-size: 40px !important; line-height: 48px !important; letter-spacing: -.8px;
        text-align: left; margin: 12px 0 0 !important;
    }
}
@media (max-width: 575.98px) {
    section.pt4 { padding-top: 44px !important; padding-bottom: 52px !important; }
    section.pt4 .pt4-title { font-size: 32px !important; line-height: 40px !important; letter-spacing: -.64px; }
}
@media (prefers-reduced-motion: reduce) {
    .pt4 *, .pt4 *::before, .pt4 *::after { animation: none !important; transition: none !important; }
}
