/* ============================================================
   New Careers Page — scoped under .nc-page
   All page-specific classes prefixed: nc-
   Hero shell comes from the global .Hero_Section/.Hero_ImgWrapper/.Hero_Title
   system; the hero stats row and the two action buttons reuse
   .careers-hero__stats/.careers-stat*/
/*.careers-btn* from Careers.css (same
   component as the existing Careers page), so Careers.css is linked
alongside this file rather than duplicating those rules here.
============================================================ */
/* Color modifier for .Bluetitle (sizing/margin come from the shared rule in
   GeneralStyle.css; this only overrides color, same composition pattern as
   .PersonalPrimeTitle/.PersonalPrivateTitle on the segment pages) */
.nc-title--teal {
    color: #8BDC64;
    text-align: center;
}

/* ── 1. INTRO — "CAREERS AT EGBANK" kicker + two-column body ── */
.nc-intro {
    background: #fff;
}

.nc-intro__kicker {
    margin: 0 0 16px;
    text-align: center;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #003B70;
}

.nc-intro__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.nc-intro__desc {
    margin: 16px 0 24px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    color: #5F6674;
}

.nc-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.nc-intro__media {
    border-radius: 16px;
    overflow: hidden;
}

    .nc-intro__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ── 2. OUR PEOPLE: WHO WE ARE — light section, 3 icon/title/desc cards ──
   whoAreWeCardsCards block list (icon, title, description) */
.nc-people {
    background: #F7F9FB;
}

.nc-people__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nc-people-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 59, 112, 0.06);
}

.nc-people-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #8BDC64;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .nc-people-card__icon img {
        max-width: 55%;
        max-height: 55%;
        object-fit: contain;
    }

.nc-people-card__title {
    margin: 0;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #003B70;
}

.nc-people-card__desc {
    margin: 0;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #5F6674;
}

/* ── 3. FROM WHO WE ARE TO WHAT WE OFFER — navy section, panel inside ── */
.nc-perks {
    background: var(--primary-dark-blue, #003B70);
    text-align: center;
}

.nc-perks__desc {
    max-width: 760px;
    margin: 0 auto 32px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}

.nc-perks__panel {
    background: #0B4A7A;
    border-radius: 24px;
    padding: 36px;
    text-align: left;
}

.nc-perks__label {
    margin: 0 0 8px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.nc-perks__heading {
    margin: 0 0 16px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #8BDC64;
}

.nc-perks__panel-desc {
    margin: 0 0 32px;
    max-width: 900px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.nc-perks__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.nc-perks__item {
    flex: 1 1 0;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.nc-perks__item-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #8BDC64;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

    .nc-perks__item-icon img {
        max-width: 50%;
        max-height: 50%;
        object-fit: contain;
    }

.nc-perks__item-label {
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #8BDC64;
}

/* ── 4. OUR VALUE PROPOSITION — all cards shown at once on desktop (an
   incomplete last row centers itself, same pattern as .principles-grid on
   the segment pages); mobile switches to a horizontal scroll carousel with
   prev/next arrows. ── */
.nc-value {
    background: #fff;
}

.nc-value__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.nc-value-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    background: rgba(0, 196, 179, 0.06);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Prev/next arrows — same control as Cards.css's .cards-cards-nav /
   .cards-cards-nav__btn, reused here under this page's own nc- names.
   Hidden on desktop (the full grid needs no scrolling), shown on mobile. */
.nc-value__nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.nc-value__nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #003B70;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

    .nc-value__nav-btn.hidden {
        background: #DDDDDD;
        cursor: not-allowed;
    }

.nc-value-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #8BDC64;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

    .nc-value-card__icon img {
        max-width: 55%;
        max-height: 55%;
        object-fit: contain;
    }

.nc-value-card__title {
    margin: 0;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #003B70;
}

.nc-value-card__desc {
    margin: 0;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #5F6674;
}

/* ── 5. READY TO GROW WITH US — slim gradient CTA bar ── */
.nc-cta {
    background: #fff;
}

.nc-cta__bar {
    background: linear-gradient(115deg, #00C4B3 0%, #003B70 100%);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.nc-cta__title {
    margin: 0 0 8px;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: #fff;
}

.nc-cta__desc {
    margin: 0;
    font-family: 'Co Headline', sans-serif;
    font-weight: 300;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.nc-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    background: #8BDC64;
    color: #fff;
    font-family: 'Co Headline', sans-serif;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .nc-cta__btn:hover {
        opacity: 0.88;
        color: #fff;
    }

/* ── RTL ── */
.nc-page[dir="rtl"] .nc-intro__kicker,
.nc-page[dir="rtl"] .nc-perks,
.nc-page[dir="rtl"] .nc-perks__desc {
    text-align: center;
}

.nc-page[dir="rtl"] .nc-perks__panel {
    text-align: right;
}

/*.nc-page[dir="rtl"] .nc-cta__bar {
    flex-direction: row-reverse;
}*/

/* ── Responsive ── */
@media (max-width: 900px) {
    .nc-intro__body {
        grid-template-columns: 1fr;
    }

    .nc-intro__media {
        order: -1;
    }

    .nc-intro__actions {
        justify-content: center;
    }

    .nc-people__grid {
        grid-template-columns: 1fr;
    }

    .nc-perks__grid {
        flex-wrap: wrap;
    }

    .nc-perks__item {
        flex: 1 1 calc(50% - 20px);
    }

    .nc-value__track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

        .nc-value__track::-webkit-scrollbar {
            display: none;
        }

    .nc-value-card {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: start; 
    }

    .nc-value__nav {
        display: flex;
        flex-direction:row-reverse;
    }

    .nc-cta__bar {
        padding: 28px 24px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .nc-perks__panel {
        padding: 24px;
    }

    .nc-perks__item {
        flex: 1 1 100%;
    }

    .nc-cta__bar {
        padding: 24px 20px;
    }

    .nc-cta__title {
        font-size: 22px;
    }
}
