
/* =========================================================
   TRAINOTRACK SOLUTIONS — CAREERS PAGE
   Theme: Navy + Orange
   ========================================================= */

.cr-page {
    --navy: #12355c;
    --navy-dark: #00122b;
    --navy-deep: #061b36;
    --orange: #ff7612;
    --orange-light: #ff9b27;
    --orange-soft: #fff3e8;
    --text: #5a6e86;
    --border: #e3ecf4;
    --light-bg: #f8fbfe;
    position: relative;
    overflow: hidden;
    color: var(--text);
    background: #fff;
    font-family: inherit;
}

    .cr-page *,
    .cr-page *::before,
    .cr-page *::after {
        box-sizing: border-box;
    }

    .cr-page a {
        text-decoration: none;
    }

    .cr-page button {
        font: inherit;
    }

        .cr-page button:focus-visible,
        .cr-page a:focus-visible {
            outline: 3px solid var(--orange-light);
            outline-offset: 5px;
        }

    .cr-page svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.cr-grad {
    color: var(--orange);
    background: linear-gradient( 90deg, var(--orange), var(--orange-light) );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   EYEBROW
   ========================================================= */

.cr-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    line-height: 1.6;
    text-transform: uppercase;
}

    .cr-eyebrow i {
        display: block;
        width: 35px;
        height: 2px;
        flex: 0 0 35px;
        border-radius: 10px;
        background: currentColor;
    }

    .cr-eyebrow.center {
        justify-content: center;
    }

    .cr-eyebrow.light {
        color: var(--orange-light);
    }

/* =========================================================
   HERO SECTION
   ========================================================= */
/* ===== HERO ===== */
.cr-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 80px;
    color: #fff;
    background: #00122b url(../img/about/about.webp) center / cover no-repeat;
}

    .cr-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(89deg, rgb(0 14 41) 1.58%, rgb(0 14 41 / 42%) 99.36%);
    }

    .cr-hero .container {
        position: relative;
        z-index: 6
    }

.cr-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    width: 400px;
    height: 400px;
    will-change: transform
}

.cr-circle-1 {
    bottom: -80px;
    left: -250px;
    background: #f59f004f;
}

.cr-circle-2 {
    top: -50px;
    right: -250px;
    background: #ffffff1f;
}

.cr-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px,4.4vw,54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #fff
}

    .cr-hero h1 em {
        font-style: normal;
        color: var(--orange);
        background: linear-gradient(90deg, var(--orange), var(--orange-light));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.cr-hero h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #ffb15d
}

.cr-hero p {
    max-width: 540px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.85)
}

/* hero entrance on page load */
.cr-hero .col-lg-6:first-child > * {
    opacity: 0;
    animation: crUp .8s cubic-bezier(.2,.7,.2,1) forwards
}

.cr-hero .col-lg-6:first-child > :nth-child(1) {
    animation-delay: .1s
}

.cr-hero .col-lg-6:first-child > :nth-child(2) {
    animation-delay: .25s
}

.cr-hero .col-lg-6:first-child > :nth-child(3) {
    animation-delay: .4s
}

.cr-hero .col-lg-6:first-child > :nth-child(4) {
    animation-delay: .55s
}

@keyframes crUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

/* =========================================================
   OPENINGS SECTION
   ========================================================= */

.cr-way {
    position: relative;
    z-index: 4;
    margin-top: -38px;
    padding-bottom: 75px;
    scroll-margin-top: 30px;
}





.cr-way-wrap {
    position: relative;
    z-index: 1;
    padding: 25px clamp(20px, 2vw, 30px);
    border-radius: 25px;
    background: #fff;
}

   


.cr-head {
    max-width: 740px;
    margin: 0 auto 42px;
    text-align: center;
}

    .cr-head .cr-eyebrow {
        margin-bottom: 15px;
    }

.cr-title {
    margin: 0 0 17px;
    color: var(--navy);
    font-size: clamp(29px, 3.5vw, 43px);
    font-weight: 850;
    line-height: 1.17;
    letter-spacing: -1.3px;
}

    .cr-title span {
        display: block;
    }

.cr-lead {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text);
    font-size: 14.5px;
    line-height: 1.9;
}

/* Opening summary */

    .cr-openings-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 22px;
    padding: 22px 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(105deg, #f8fbfe, #fff8f1);
}

.cr-openings-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.cr-openings-intro h3 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
}

.cr-opening-count {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.cr-count-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 118, 18, .18);
    border-radius: 12px;
    color: var(--orange);
    background: var(--orange-soft);
    font-size: 17px;
    font-weight: 850;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.cr-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--cr-delay, 0ms);
}

    .cr-reveal.in-view {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================================
   JOB ACCORDION
   ========================================================= */

.cr-jobs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.cr-job {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: #fff;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

    .cr-job:hover {
        border-color: rgba(255, 118, 18, .35);
        box-shadow: 0 12px 30px rgba(18, 53, 92, .06);
    }

    .cr-job.open {
        border-color: rgba(255, 118, 18, .55);
        box-shadow: 0 16px 38px rgba(18, 53, 92, .09);
    }

.cr-job-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 19px;
    width: 100%;
    padding: 22px 25px;
    border: 0;
    text-align: left;
    cursor: pointer;
    background: #fff;
    transition: background .3s ease;
}

    .cr-job-head:hover,
    .cr-job.open .cr-job-head {
        background: linear-gradient( 100deg, rgba(255, 243, 232, .7), #fff 70% );
    }

.cr-job-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    padding: 13px;
    border: 1px solid rgba(255, 118, 18, .14);
    border-radius: 15px;
    color: var(--orange);
    background: var(--orange-soft);
    transition: color .3s ease, background .3s ease, transform .3s ease;
}

.cr-job:hover .cr-job-icon,
.cr-job.open .cr-job-icon {
    color: #fff;
    background: linear-gradient( 135deg, var(--orange), var(--orange-light) );
    transform: scale(1.04);
}

.cr-job-heading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.cr-job-category {
    margin-bottom: 5px;
    color: var(--orange);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.35px;
    line-height: 1.6;
}

.cr-job-title {
    display: block;
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.4;
    transition: color .3s ease;
}

.cr-job:hover .cr-job-title,
.cr-job.open .cr-job-title {
    color: #0a2a4e;
}

.cr-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin: 0;
    color: var(--text);
    font-size: 12px;
    line-height: 1.7;
}

    .cr-job-meta > span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

.cr-meta-icon {
    color: var(--orange);
    font-size: 8px;
}

.cr-meta-divider {
    color: #b9c7d5;
}

/* Animated plus / minus */

.cr-job-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    margin-left: auto;
    border: 1px solid rgba(255, 118, 18, .17);
    border-radius: 11px;
    background: var(--orange-soft);
    transition: transform .35s ease, background .3s ease, border-color .3s ease;
}

    .cr-job-toggle span {
        position: absolute;
        width: 13px;
        height: 2px;
        border-radius: 3px;
        background: var(--orange);
        transition: transform .3s ease, background .3s ease;
    }

        .cr-job-toggle span:last-child {
            transform: rotate(90deg);
        }

.cr-job.open .cr-job-toggle {
    transform: rotate(180deg);
    border-color: var(--orange);
    background: var(--orange);
}

    .cr-job.open .cr-job-toggle span {
        background: #fff;
    }

        .cr-job.open .cr-job-toggle span:last-child {
            transform: rotate(0deg);
        }

/* Smooth accordion height */

.cr-job-body {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .38s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .38s;
}

.cr-job.open .cr-job-body {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .38s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}

.cr-job-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .3s ease, padding .3s ease;
}

.cr-job.open .cr-job-inner {
    padding: 20px 25px 25px 98px;
    opacity: 1;
    transform: translateY(0);
    transition-delay: .08s;
}

.cr-job-inner h4 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 850;
}

.cr-job-inner > p {
    margin: 0;
    color: var(--text);
    font-size: 13.5px;
    line-height: 1.9;
}

.cr-job-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.cr-job-fit {
    max-width: 380px;
    color: #728198;
    font-size: 11px;
    line-height: 1.7;
}

.cr-job-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 43px;
    padding: 11px 19px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient( 100deg, var(--orange), var(--orange-light) );
    box-shadow: 0 8px 18px rgba(255, 118, 18, .18);
    font-size: 12px;
    font-weight: 850;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .cr-job-apply span,
    .cr-cta-link span {
        font-size: 17px;
        transition: transform .3s ease;
    }

    .cr-job-apply:hover,
    .cr-cta-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 13px 24px rgba(255, 118, 18, .27);
    }

        .cr-job-apply:hover span,
        .cr-cta-link:hover span {
            transform: translateX(3px);
        }

/* =========================================================
   BOTTOM CALL TO ACTION
   ========================================================= */

.cr-bottom-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
    padding: 25px;
    border: 1px solid rgba(255, 118, 18, .20);
    border-radius: 18px;
    background: linear-gradient( 110deg, #fff7ef, #fff 65% );
}

.cr-cta-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient( 135deg, var(--orange), var(--orange-light) );
    box-shadow: 0 9px 22px rgba(255, 118, 18, .20);
    font-size: 22px;
    animation: crStarPulse 3s ease-in-out infinite;
}

.cr-cta-content {
    flex: 1;
    min-width: 0;
}

    .cr-cta-content h3 {
        margin: 0 0 5px;
        color: var(--navy);
        font-size: 17px;
        font-weight: 850;
        line-height: 1.5;
    }

    .cr-cta-content p {
        margin: 0;
        color: var(--text);
        font-size: 12px;
        line-height: 1.8;
    }

.cr-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    min-height: 44px;
    padding: 12px 17px;
    border-radius: 10px;
    color: #fff !important;
    background: var(--navy);
    font-size: 12px;
    font-weight: 800;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

    .cr-cta-link:hover {
        background: #194777;
    }

/* =========================================================
   RESPONSIVE — TABLETS
   ========================================================= */

@media (max-width: 991.98px) {
    .cr-hero {
        min-height: auto;
        padding: 70px 0 95px;
    }

    .cr-hero-content {
        max-width: 700px;
    }

    .cr-hero-visual {
        min-height: 350px;
        max-width: 520px;
        margin: 0 auto;
    }

    .cr-hero-title {
        font-size: clamp(42px, 7vw, 65px);
    }

    .cr-hero-bottom {
        padding-right: 24px;
        padding-left: 24px;
    }

    .cr-way {
        margin-top: -32px;
    }

    .cr-way-wrap {
        padding: 35px 25px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 767.98px) {
    .cr-hero {
        padding: 55px 0 85px;
        background-position: 58% center;
    }

    .cr-hero-overlay {
        background: linear-gradient( 100deg, rgba(0, 14, 41, .97), rgba(0, 18, 43, .88) );
    }

    .cr-hero-title {
        margin-bottom: 19px;
        font-size: clamp(39px, 10vw, 57px);
        letter-spacing: -1.7px;
    }

    .cr-hero-subtitle {
        font-size: 17px;
    }

    .cr-hero-description {
        font-size: 13.5px;
        line-height: 1.85;
    }

    .cr-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .cr-hero-visual {
        min-height: 320px;
        margin-top: 5px;
    }

    .cr-visual-card-main {
        padding: 25px;
    }

    .cr-orbit-one {
        width: 265px;
        height: 265px;
    }

    .cr-orbit-two {
        width: 310px;
        height: 310px;
    }

    .cr-float-card-top {
        top: 30px;
        right: 0;
    }

    .cr-float-card-bottom {
        bottom: 27px;
        left: 0;
    }

    .cr-star-one {
        top: 35px;
        left: 20px;
    }

    .cr-way {
        padding-bottom: 45px;
    }

    .cr-way-wrap {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .cr-head {
        margin-bottom: 28px;
    }

    .cr-title {
        font-size: clamp(28px, 7vw, 36px);
        letter-spacing: -.8px;
    }

    .cr-lead {
        font-size: 13px;
        line-height: 1.85;
    }

    .cr-openings-intro {
        align-items: flex-start;
        padding: 17px;
    }

        .cr-openings-intro h3 {
            font-size: 15px;
        }

    .cr-opening-count {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
        font-size: 9px;
    }

    .cr-count-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .cr-jobs {
        gap: 12px;
    }

    .cr-job-head {
        gap: 12px;
        padding: 18px 14px;
    }

    .cr-job-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        padding: 10px;
        border-radius: 12px;
    }

    .cr-job-category {
        font-size: 8px;
        letter-spacing: .8px;
    }

    .cr-job-title {
        font-size: 17px;
    }

    .cr-job-meta {
        gap: 4px 8px;
        font-size: 10px;
    }

    .cr-job-toggle {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 9px;
    }

        .cr-job-toggle span {
            width: 11px;
        }

    .cr-job-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .cr-job.open .cr-job-inner {
        padding: 0 16px 20px;
    }

    .cr-job-inner > p {
        font-size: 12.5px;
    }

    .cr-job-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .cr-job-fit {
        max-width: none;
    }

    .cr-bottom-cta {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        padding: 19px;
    }

    .cr-cta-symbol {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 19px;
    }

    .cr-cta-content {
        flex: 1 1 calc(100% - 60px);
    }

        .cr-cta-content h3 {
            font-size: 15px;
        }

        .cr-cta-content p {
            font-size: 11px;
        }

    .cr-cta-link {
        margin-left: 56px;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {
    .cr-hero-title {
        font-size: 38px;
    }

    .cr-eyebrow {
        gap: 8px;
        font-size: 10px;
        letter-spacing: 1px;
    }

        .cr-eyebrow i {
            width: 24px;
            flex-basis: 24px;
        }

    .cr-job-head {
        gap: 9px;
        padding: 15px 10px;
    }

    .cr-job-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        padding: 9px;
    }

    .cr-job-title {
        font-size: 15px;
    }

    .cr-job-meta {
        font-size: 9px;
    }

    .cr-job-toggle {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .cr-job-category {
        font-size: 7px;
    }

    .cr-visual-card-main {
        width: 82%;
        padding: 22px;
    }

    .cr-float-card {
        padding: 10px;
        font-size: 10px;
    }
}

/* =========================================================
   ACCESSIBILITY — REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .cr-page *,
    .cr-page *::before,
    .cr-page *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .cr-page .cr-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .cr-page .cr-hero-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    .cr-page .cr-visual-card-main {
        transform: none !important;
    }
}
