/* ─────────────────────────────────────────────────────────
   FOR COMPANIES PAGE - SOLUTIONS
   Follows Stenzo minimal, cinematic, premium design language.
───────────────────────────────────────────────────────── */

body.for-talent-page {
    background-color: #1a1a1c !important;
}

/* Transparent Navbar at top */
body.for-talent-page .snav:not(.has-open-menu):not(.is-scrolled) {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: none !important;
}

/* ── Dark Footer overrides ────────────────────────────────── */
body.for-talent-page footer {
    background: rgba(53, 54, 59, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.for-talent-page .sfooter-copyright {
    box-shadow: none !important;
}

body.for-talent-page .sfooter-heading {
    color: rgba(255, 255, 255, 0.9) !important;
}

body.for-talent-page .sfooter-list a {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.for-talent-page .sfooter-list a:hover,
body.for-talent-page .sfooter-list a.is-active {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.for-talent-page .sfooter-big-text {
    color: rgb(219, 74, 43) !important;
}

body.for-talent-page .sfooter-logo svg rect {
    stroke: rgba(255, 255, 255, 0.9) !important;
    fill: transparent !important;
}

body.for-talent-page .sfooter-logo svg circle {
    fill: rgba(255, 255, 255, 0.9) !important;
    stroke: transparent !important;
}

/* ── Dark CTA overrides ────────────────────────────────── */
body.for-talent-page .stenzo-final-cta {
    background: rgba(53, 54, 59, 0.95) !important;
}

/* ── Dark Navbar overrides ────────────────────────────────── */
body.for-talent-page .snav__mega-item.is-active,
body.for-talent-page .snav__mobile-sublink.is-active {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

body.for-talent-page .snav__mega-item.is-active .snav__mega-item-title,
body.for-talent-page .snav__mega-item.is-active .snav__mega-item-desc,
body.for-talent-page .snav__mobile-sublink.is-active {
    color: #ffffff !important;
}

.for-talent-page {
    min-height: 100vh;
    color: #ffffff;
}

/* ══════════════════════════════════════════
   HERO (Consistent with Stenzo standards)
══════════════════════════════════════════ */
.fc-hero {
    padding: 180px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.fc-hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.fc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-peach);
    border: 1px solid var(--color-peach-border);
    color: var(--color-dark);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

.fc-hero-title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    font-weight: var(--text-title-weight);
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.fc-hero-desc {
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 650px;
    margin: 0;
}

.fc-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ══════════════════════════════════════════
   LARGE SECTIONS WRAPPER
══════════════════════════════════════════ */
.fc-section-wrap {
    padding: 0 24px;
    max-width: 1440px;
    margin: 0 auto 120px;
}

.fc-large-section {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 720px;
    padding: 80px 60px;
}

.fc-section-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex: 1;
}

.fc-content-stacked {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 60px;
}

.fc-content-left,
.fc-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fc-col-primary {
    max-width: 540px;
}

.fc-content-left.fc-col-primary {
    align-items: flex-start;
}

.fc-content-right.fc-col-primary {
    align-items: flex-start;
}

.fc-content-left.fc-col-flow {
    align-items: flex-start;
}

.fc-content-right.fc-col-flow {
    align-items: flex-end;
}

/* Shared Meta */
.fc-section-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.fc-section-num {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.fc-section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.fc-meta-light .fc-section-num {
    color: rgba(255, 255, 255, 0.6);
}

.fc-meta-light .fc-section-eyebrow {
    color: #ffffff;
}

.fc-section-glass .fc-section-num {
    color: rgba(0, 0, 0, 0.4);
}

.fc-section-glass .fc-section-eyebrow {
    color: #14142d;
}

/* Titles and Descs */
.fc-section-title {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.1;
    font-weight: var(--text-title-weight);
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.fc-section-desc {
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.fc-title-dark {
    color: #14142d;
}

.fc-desc-dark {
    color: rgba(33, 34, 47, 0.75);
}

.fc-section-header-center {
    max-width: 700px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ══════════════════════════════════════════
   SECTION 01: RECRUITMENT
══════════════════════════════════════════ */
.fc-section-recruitment {
    background-color: #000;
}

.fc-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.fc-section-recruitment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* ══════════════════════════════════════════
   FLOWING CONTENT STYLES
══════════════════════════════════════════ */
.fc-flow-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

/* Base Flow Container */
.fc-flow-bottom {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.fc-flow-content {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
}

.fc-flow-wrapper.is-paused .fc-flow-content {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .fc-flow-content {
        animation: none !important;
        flex-wrap: wrap;
        width: 100%;
    }

    .fc-flow-item[aria-hidden="true"] {
        display: none;
    }
}

/* Horizontal Left to Right */
.fc-flow-horizontal-right .fc-flow-content {
    animation: flow-right 30s linear infinite;
    gap: 80px;
    padding-right: 80px;
}

@keyframes flow-right {
    0% {
        transform: translateX(calc(-50% - 40px));
    }

    100% {
        transform: translateX(0);
    }
}

/* Horizontal Right to Left */
.fc-flow-horizontal-left .fc-flow-content {
    animation: flow-left 30s linear infinite;
    gap: 80px;
    padding-right: 80px;
}

@keyframes flow-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

/* Vertical Top to Down */
.fc-flow-vertical {
    height: 400px;
    flex-direction: column;
}

.fc-flow-vertical .fc-flow-content {
    flex-direction: column;
    width: 100%;
    height: max-content;
    animation: flow-down 25s linear infinite;
    gap: 60px;
    padding-bottom: 60px;
}

@keyframes flow-down {
    0% {
        transform: translateY(calc(-50% - 30px));
    }

    100% {
        transform: translateY(0);
    }
}

/* Flow Items */
.fc-flow-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 320px;
    flex-shrink: 0;
}

/* Typography Scale */
.fc-flow-label,
.fc-flow-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: var(--text-title-weight);
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
}

.fc-flow-value,
.fc-flow-desc {
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.fc-flow-item-light .fc-flow-title {
    color: #ffffff;
}

.fc-flow-item-light .fc-flow-desc {
    color: rgba(255, 255, 255, 0.9);
}

.fc-flow-item-dark .fc-flow-title {
    color: #14142d;
}

.fc-flow-item-dark .fc-flow-desc {
    color: rgba(33, 34, 47, 0.75);
}

/* Control Buttons */
.fc-control-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #14142d;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.fc-control-btn:hover {
    transform: scale(1.05);
    background-color: #ffffff;
}

.fc-control-btn svg {
    width: 20px;
    height: 20px;
}

.fc-control-blue {
    bottom: 100px;
    /* Above marquee */
}

.fc-control-glass {
    bottom: 100px;
    /* Above marquee */
}

/* ══════════════════════════════════════════
   SECTION 02: TALENT ACQUISITION (BLUE)
══════════════════════════════════════════ */
.fc-section-blue {
    background: linear-gradient(145deg, #789EF7 0%, #6F96F4 55%, #648CF0 100%);
    box-shadow: 0 18px 40px rgba(62, 91, 160, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ══════════════════════════════════════════
   SECTION 03: STAFFING (GLASS)
══════════════════════════════════════════ */
.fc-section-glass {
    background: radial-gradient(92.09% 124.47% at 50% 99.24%, rgba(33, 34, 43, 0.6) 58.91%, rgba(18, 20, 27, 0.6) 100%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.fc-marquee-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-section-glass .fc-marquee-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.fc-marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .fc-marquee {
        animation: none;
    }
}

.fc-marquee-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.fc-marquee-light {
    color: rgba(255, 255, 255, 0.7);
}

.fc-marquee-dark {
    color: rgba(0, 0, 0, 0.4);
}

.fc-dot {
    opacity: 0.5;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE DESIGN
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .fc-section-content {
        flex-direction: column;
        gap: 60px;
    }

    .fc-content-left,
    .fc-content-right {
        max-width: 100%;
    }

    .fc-col-primary {
        order: 1;
    }

    .fc-col-flow {
        order: 2;
    }
}

@media (max-width: 768px) {
    .fc-hero {
        padding: 140px 16px 60px;
    }

    .fc-hero-title {
        font-size: 36px;
    }

    .fc-large-section {
        padding: 40px 24px 240px;
        border-radius: 24px;
        min-height: auto;
    }

    .fc-section-title {
        font-size: 28px;
    }

    /* Adjust typography sizing for smaller screens in flows */
    .fc-flow-value,
    .fc-flow-desc {
        font-size: 18px;
    }

    @keyframes flow-left-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 20px));
        }
    }

    @keyframes flow-right-mobile {
        0% {
            transform: translateX(calc(-50% - 20px));
        }

        100% {
            transform: translateX(0);
        }
    }

    /* 1. First div (Recruitment): Keep it horizontal, but adjust item size */
    .fc-flow-horizontal-right .fc-flow-content {
        gap: 40px;
        padding-right: 40px;
        animation-name: flow-right-mobile;
    }

    .fc-flow-horizontal-left .fc-flow-content {
        gap: 40px;
        padding-right: 40px;
        animation-name: flow-left-mobile;
    }

    .fc-flow-item {
        width: 80vw;
        max-width: 320px;
    }

    .fc-section-content {
        position: static;
    }

    .fc-section-content>* {
        position: relative;
        z-index: 2;
    }

    /* 2 & 3. Convert vertical flow to horizontal bottom flow */
    .fc-col-flow {
        position: static !important;
        width: 100%;
        height: 0;
    }

    .fc-flow-vertical {
        position: absolute;
        bottom: 80px;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        z-index: 2;
    }

    .fc-flow-vertical .fc-flow-content {
        flex-direction: row;
        width: max-content;
        height: auto;
        animation: flow-left-mobile 30s linear infinite;
        /* Horizontal scrolling */
        gap: 40px;
        padding-bottom: 0;
        padding-right: 40px;
    }

    /* Hide marquees in 2nd and 3rd divs for mobile */
    .fc-section-blue .fc-marquee-wrapper,
    .fc-section-glass .fc-marquee-wrapper {
        display: none;
    }

    /* Keep control buttons visible and reposition above hidden marquees */
    .fc-control-btn {
        width: 40px;
        height: 40px;
        bottom: 24px;
        right: 24px;
    }

    .fc-control-btn svg {
        width: 16px;
        height: 16px;
    }

    .fc-control-blue,
    .fc-control-glass {
        bottom: 24px;
    }
}