/* ONYX homepage hero. Load AFTER main_styles.css, responsive.css and homemeta.css.
   All visual rules are scoped to .onyx-hero; the existing header is preserved. */
.onyx-hero {
    --onyx-header-clearance: 210px;
    --onyx-navy: #062d46;
    --onyx-teal: #0998af;
    --onyx-yellow: #ffcc08;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    min-height: 860px;
    overflow: hidden;
    background: #074569;
    color: #fff;
    font-family: inherit;
    text-align: left;
}
.onyx-hero *, .onyx-hero *::before, .onyx-hero *::after { box-sizing: border-box; }
.onyx-hero [hidden] { display: none !important; }
.onyx-hero .onyx-hero__container { width: 89%; max-width: 1440px; margin: 0 auto; }
.onyx-hero .onyx-hero__backgrounds,
.onyx-hero .onyx-hero__background,
.onyx-hero .onyx-hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.onyx-hero .onyx-hero__backgrounds { z-index: -3; overflow: hidden; }
.onyx-hero .onyx-hero__background {
    display: block;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 650ms ease;
}
.onyx-hero .onyx-hero__background.is-active { opacity: 1; }
.onyx-hero .onyx-hero__shade {
    z-index: -2;
    background: linear-gradient(90deg, rgba(0,43,76,.97) 0%, rgba(0,63,102,.87) 29%, rgba(0,65,103,.53) 49%, rgba(0,49,76,.12) 77%, rgba(0,35,55,.12) 100%);
}
.onyx-hero .onyx-hero__main {
    position: relative;
    z-index: 2;
    padding-top: var(--onyx-header-clearance);
    padding-bottom: 40px;
}
/* Grid layers reserve space for the longest caption to avoid jumps between slides. */
.onyx-hero .onyx-hero__slides { display: grid; width: 100%; max-width: 750px; }
.onyx-hero .onyx-hero__slide {
    grid-area: 1 / 1;
    align-self: start;
    min-width: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.onyx-hero .onyx-hero__slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; }
.onyx-hero .onyx-hero__eyebrow {
    max-width: 690px;
    margin: 0 0 19px;
    color: #e3f1f7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.onyx-hero .onyx-hero__title {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(48px, 5.25vw, 84px);
    font-weight: 800;
    font-style: normal;
    line-height: 1.03;
    letter-spacing: -2px;
    text-align: left;
    text-transform: none;
    overflow-wrap: break-word;
}
.onyx-hero .onyx-hero__title a,
.onyx-hero .onyx-hero__title a:hover { color: inherit; text-decoration: none; }
.onyx-hero .onyx-hero__title-line { display: block; color: inherit; }
.onyx-hero .onyx-hero__highlight {
    padding: .01em .13em .04em;
    border-radius: 9px;
    background: linear-gradient(105deg, #ffe429, #ffbd08);
    color: #042c43;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.onyx-hero .onyx-hero__description {
    max-width: 630px;
    margin: 19px 0 0;
    color: #e5f1f8;
    font-size: clamp(16px, 1.3vw, 21px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .1px;
}
/* The five shared benefit cards. Each card is one valid, clickable link. */
.onyx-hero .onyx-hero__benefits {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 1240px;
    margin-top: 28px;
}
.onyx-hero .onyx-hero__benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 145px;
    padding: 20px 16px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 15px;
    background: linear-gradient(145deg, #fff 35%, #e7f8fc 100%);
    box-shadow: 0 8px 24px rgba(0,31,53,.16);
    color: #0c223c;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.onyx-hero .onyx-hero__benefit:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(0,31,53,.25); color: #0c223c; text-decoration: none; }
.onyx-hero .onyx-hero__benefit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    color: #fff;
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.12);
}
.onyx-hero .onyx-hero__benefit-icon svg { display: block; width: 45px; height: 45px; }
.onyx-hero .onyx-hero__benefit-icon--green { background: linear-gradient(135deg, #20c967, #0c9a46); }
.onyx-hero .onyx-hero__benefit-icon--gold { background: linear-gradient(135deg, #ffc716, #efa600); }
.onyx-hero .onyx-hero__benefit-icon--blue { background: linear-gradient(135deg, #119ed9, #0065b3); }
.onyx-hero .onyx-hero__benefit-icon--purple { background: linear-gradient(135deg, #6651f4, #3221c2); }
.onyx-hero .onyx-hero__benefit-content { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-width: 0; }
.onyx-hero .onyx-hero__benefit-title { display: block; color: #102039; font-size: 18px; font-weight: 700; line-height: 1.24; }
.onyx-hero .onyx-hero__benefit-link { display: inline-flex; align-items: center; gap: 5px; color: #11637b; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.onyx-hero .onyx-hero__benefit-link svg { width: 15px; height: 15px; }
/* Curved footer: the course button on the left and five process icons on the right. */
.onyx-hero .onyx-hero__wave { position: absolute; z-index: 0; bottom: -1px; left: 0; display: block; width: 100%; height: 300px; pointer-events: none; }
.onyx-hero .onyx-hero__footer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(290px, 390px) minmax(0, 1fr);
    align-items: end;
    gap: clamp(35px, 6vw, 110px);
    padding-top: 10px;
    padding-bottom: 35px;
    min-height: 142px;
}
.onyx-hero .onyx-hero__courses {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    align-self: center;
    min-height: 66px;
    padding: 15px 27px;
    border: 1px solid #ffcb08;
    border-radius: 999px;
    background: linear-gradient(105deg, #ffbc00, #ffe424 70%, #ffcc00);
    color: #052c43;
    box-shadow: 0 7px 20px rgba(255,194,0,.1);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 180ms ease;
}
.onyx-hero .onyx-hero__courses:hover { color: #052c43; text-decoration: none; transform: translateY(-2px); }
.onyx-hero .onyx-hero__courses svg { flex: 0 0 26px; width: 26px; height: 26px; }
.onyx-hero .onyx-hero__courses svg:first-child { flex-basis: 34px; width: 34px; height: 34px; }
.onyx-hero .onyx-hero__process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 0; margin: 0; padding: 0; list-style: none; }
.onyx-hero .onyx-hero__process-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; min-height: 99px; margin: 0; padding: 0 10px; color: #123951; font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: .35px; text-align: center; text-transform: uppercase; }
.onyx-hero .onyx-hero__process-item + .onyx-hero__process-item::before { content: ''; position: absolute; bottom: 0; left: 0; width: 1px; height: 58px; background: #9bdce7; }
.onyx-hero .onyx-hero__process-item svg { display: block; width: 43px; height: 43px; color: #138eaa; }
/* Compact controls keep the main caption and cards clear. */
.onyx-hero .onyx-hero__controls { position: absolute; z-index: 3; top: var(--onyx-header-clearance); right: 2%; display: flex; align-items: center; gap: 5px; }
.onyx-hero .onyx-hero__control { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; padding: 8px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(2,41,65,.65); color: #fff; cursor: pointer; }
.onyx-hero .onyx-hero__control:hover { background: #087d98; }
.onyx-hero .onyx-hero__control:disabled { opacity: .55; cursor: default; }
.onyx-hero .onyx-hero__control svg { width: 20px; height: 20px; }
.onyx-hero .onyx-hero__play-icon { display: none; }
.onyx-hero .onyx-hero__toggle.is-paused .onyx-hero__pause-icon { display: none; }
.onyx-hero .onyx-hero__toggle.is-paused .onyx-hero__play-icon { display: block; }
.onyx-hero a:focus-visible, .onyx-hero button:focus-visible { outline: 3px solid #ffdc20; outline-offset: 5px; }
.onyx-hero .onyx-hero__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#onyx-popular-courses { scroll-margin-top: 180px; }
@media (min-width: 1800px) {
    .onyx-hero .onyx-hero__container { max-width: 1600px; }
    .onyx-hero .onyx-hero__slides { max-width: 810px; }
    .onyx-hero .onyx-hero__benefits { max-width: 1320px; }
    .onyx-hero .onyx-hero__benefit-title { font-size: 20px; }
}
@media (max-width: 1199px) {
    .onyx-hero { min-height: 0; }
    .onyx-hero .onyx-hero__container { width: 88%; }
    .onyx-hero .onyx-hero__slides { max-width: 660px; }
    .onyx-hero .onyx-hero__title { font-size: clamp(48px, 5.5vw, 66px); }
    .onyx-hero .onyx-hero__description { max-width: 590px; font-size: 18px; }
    .onyx-hero .onyx-hero__benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
    .onyx-hero .onyx-hero__benefit { gap: 10px; padding: 18px 12px; min-height: 134px; }
    .onyx-hero .onyx-hero__benefit-icon { flex-basis: 54px; width: 54px; height: 54px; }
    .onyx-hero .onyx-hero__benefit-icon svg { width: 34px; height: 34px; }
    .onyx-hero .onyx-hero__benefit-title { font-size: 16px; }
    .onyx-hero .onyx-hero__benefit-link { font-size: 10px; }
    .onyx-hero .onyx-hero__footer { grid-template-columns: 290px minmax(0,1fr); gap: 24px; }
    .onyx-hero .onyx-hero__courses { padding: 15px 20px; gap: 10px; font-size: 14px; }
    .onyx-hero .onyx-hero__process-item { padding: 0 5px; font-size: 10px; }
    .onyx-hero .onyx-hero__process-item svg { width: 37px; height: 37px; }
}
@media (max-width: 991px) {
    .onyx-hero { --onyx-header-clearance: 160px; }
    .onyx-hero .onyx-hero__main { padding-bottom: 35px; }
    .onyx-hero .onyx-hero__slides { max-width: 590px; }
    .onyx-hero .onyx-hero__title { font-size: 57px; letter-spacing: -1.5px; }
    .onyx-hero .onyx-hero__eyebrow { max-width: 480px; padding-right: 50px; font-size: 11px; }
    .onyx-hero .onyx-hero__benefits { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 620px; }
    .onyx-hero .onyx-hero__benefit { gap: 17px; min-height: 116px; padding: 18px; }
    .onyx-hero .onyx-hero__benefit-icon { flex-basis: 60px; width: 60px; height: 60px; }
    .onyx-hero .onyx-hero__benefit-title { font-size: 18px; }
    .onyx-hero .onyx-hero__benefit-content { gap: 9px; }
    .onyx-hero .onyx-hero__footer { grid-template-columns: 1fr; gap: 26px; padding-top: 48px; padding-bottom: 34px; }
    .onyx-hero .onyx-hero__courses { justify-self: start; min-width: 300px; font-size: 15px; }
    .onyx-hero .onyx-hero__process { width: 100%; }
    .onyx-hero .onyx-hero__process-item { font-size: 11px; }
    .onyx-hero .onyx-hero__wave { height: 310px; }
    .onyx-hero .onyx-hero__shade { background: linear-gradient(90deg, rgba(0,43,76,.96), rgba(0,56,90,.84) 55%, rgba(0,49,76,.38)); }
    .onyx-hero .onyx-hero__controls { right: 3%; }
    .onyx-hero .onyx-hero__control { width: 34px; height: 34px; padding: 6px; }
}
@media (max-width: 575px) {
    .onyx-hero { --onyx-header-clearance: 140px; }
    .onyx-hero .onyx-hero__container { width: calc(100% - 36px); }
    .onyx-hero .onyx-hero__main { padding-top: calc(var(--onyx-header-clearance) + 50px); padding-bottom: 26px; }
    .onyx-hero .onyx-hero__title { font-size: clamp(34px, 9.5vw, 52px); letter-spacing: -1px; line-height: 1.1; }
    .onyx-hero .onyx-hero__highlight { border-radius: 5px; }
    .onyx-hero .onyx-hero__eyebrow { max-width: 100%; margin-bottom: 15px; padding: 0; font-size: 10px; line-height: 1.6; letter-spacing: 1.15px; }
    .onyx-hero .onyx-hero__description { margin-top: 18px; font-size: 16px; line-height: 1.6; }
    .onyx-hero .onyx-hero__background { object-position: 62% center; }
    .onyx-hero .onyx-hero__benefits { gap: 10px; margin-top: 23px; }
    .onyx-hero .onyx-hero__benefit { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; min-height: 182px; padding: 15px 12px; border-radius: 12px; }
    .onyx-hero .onyx-hero__benefit-icon { flex: 0 0 49px; width: 49px; height: 49px; }
    .onyx-hero .onyx-hero__benefit-icon svg { width: 30px; height: 30px; }
    .onyx-hero .onyx-hero__benefit-content { flex: 1; justify-content: space-between; width: 100%; gap: 11px; }
    .onyx-hero .onyx-hero__benefit-title { font-size: 16px; line-height: 1.3; }
    .onyx-hero .onyx-hero__benefit-link { font-size: 10px; }
    .onyx-hero .onyx-hero__footer { gap: 22px; padding-top: 46px; padding-bottom: 30px; }
    .onyx-hero .onyx-hero__courses { justify-self: stretch; min-width: 0; min-height: 60px; padding: 13px 17px; font-size: 14px; }
    .onyx-hero .onyx-hero__process { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 24px; }
    .onyx-hero .onyx-hero__process-item { min-height: 85px; gap: 9px; padding: 0 5px; font-size: 10px; }
    .onyx-hero .onyx-hero__process-item:nth-child(4)::before { display: none; }
    .onyx-hero .onyx-hero__process-item svg { width: 34px; height: 34px; }
    .onyx-hero .onyx-hero__wave { height: 410px; }
    .onyx-hero .onyx-hero__controls { top: var(--onyx-header-clearance); right: 18px; }
    #onyx-popular-courses { scroll-margin-top: 120px; }
}
@media (max-width: 359px) {
    .onyx-hero .onyx-hero__benefits { grid-template-columns: 1fr; }
    .onyx-hero .onyx-hero__benefit { flex-direction: row; align-items: center; min-height: 106px; padding: 16px; }
    .onyx-hero .onyx-hero__benefit-content { flex: 1; gap: 9px; }
    .onyx-hero .onyx-hero__courses { font-size: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .onyx-hero *, .onyx-hero *::before, .onyx-hero *::after { transition: none !important; animation: none !important; }
}
/* Longer course headings use a slightly smaller scale than the three-line CSSD title. */
@media (min-width: 992px) {
    .onyx-hero .onyx-hero__slide:not(:first-child) .onyx-hero__title { font-size: clamp(46px, 4.2vw, 67px); line-height: 1.1; }
}
@media (min-width: 992px) {
    .onyx-hero .onyx-hero__slide:nth-child(4) .onyx-hero__title { font-size: clamp(44px, 3.8vw, 60px); }
}
/* On tablet and phones the stacked footer sits on a solid light surface. */
@media (max-width: 991px) {
    .onyx-hero .onyx-hero__wave { display: none; }
    .onyx-hero .onyx-hero__footer::before {
        content: '';
        position: absolute;
        z-index: -1;
        top: -8px;
        bottom: -1px;
        left: calc(50% - 50vw);
        width: 100vw;
        border-radius: 50% 50% 0 0 / 35px 35px 0 0;
        background: #effaff;
        pointer-events: none;
    }
}

/* Fifth benefit: partner-company job placement support. */
.onyx-hero .onyx-hero__benefit-icon--magenta { background: linear-gradient(135deg, #e95794, #b52367); }
.onyx-hero .onyx-hero__benefit--placement .onyx-hero__benefit-title { font-size: 16px; line-height: 1.25; }


.header_side {    border-radius: 0px 0px 22px 20px; }
.header {border-radius: 0px 0px 22px 20px;}
