/* ==========================================================================
   JobOoro Global CSS
   Production-grade responsive design system
   --------------------------------------------------------------------------
   - No Bootstrap
   - No Bootstrap Icons
   - No JavaScript dependency
   - Responsive
   - Accessible
   - SEO-friendly layout
   - CLS-conscious
   - LCP-conscious
   - Mobile-first
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {

    /* Brand */
    --color-primary: #0b63ce;
    --color-primary-dark: #084b9f;
    --color-primary-light: #eaf3ff;

    --color-secondary: #0f172a;
    --color-secondary-light: #334155;

    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;
    --color-accent-light: #fff7e6;

    /* Semantic */
    --color-success: #15803d;
    --color-danger: #b91c1c;
    --color-warning: #b45309;
    --color-info: #0369a1;

    /* Background */
    --color-white: #ffffff;
    --color-background: #f8fafc;
    --color-background-muted: #f1f5f9;
    --color-background-dark: #0f172a;

    /* Text */
    --color-text: #172033;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-heading: #0f172a;

    /* Borders */
    --color-border: #e2e8f0;
    --color-border-dark: #cbd5e1;

    /* Layout */
    --container-width: 1180px;
    --container-wide: 1280px;
    --content-width: 760px;
    --reading-width: 720px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm:
        0 1px 3px rgba(15, 23, 42, 0.06);

    --shadow-md:
        0 8px 25px rgba(15, 23, 42, 0.08);

    --shadow-lg:
        0 18px 50px rgba(15, 23, 42, 0.12);

    /* Typography */
    --font-sans:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    --font-serif:
        Georgia,
        "Times New Roman",
        serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Motion */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;

    /* Focus */
    --focus-ring:
        0 0 0 3px rgba(11, 99, 206, 0.25);

    /* Z-index */
    --z-header: 1000;
    --z-dropdown: 1100;
    --z-modal: 2000;
}


/* ==========================================================================
   2. RESET
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;

    background: var(--color-white);
    color: var(--color-text);

    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: var(--color-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-primary-dark);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

ul,
ol {
    margin-top: 0;
}

::selection {
    background: var(--color-primary);
    color: var(--color-white);
}


/* ==========================================================================
   3. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
    outline: 3px solid rgba(11, 99, 206, 0.35);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0;
    left: 1rem;

    z-index: 9999;

    padding: 0.75rem 1rem;

    background: var(--color-secondary);
    color: var(--color-white);

    transform: translateY(-150%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(1rem);
}


/* ==========================================================================
   4. GLOBAL CONTAINER
   ========================================================================== */

.site-container {
    width: min(
        calc(100% - 2rem),
        var(--container-width)
    );

    margin-inline: auto;
}

.content-narrow {
    width: min(
        100%,
        var(--content-width)
    );
}


/* ==========================================================================
   5. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;

    color: var(--color-heading);

    font-weight: 750;
    line-height: 1.2;

    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(
        2.35rem,
        5vw,
        4.25rem
    );
}

h2 {
    font-size: clamp(
        1.8rem,
        3.5vw,
        2.8rem
    );
}

h3 {
    font-size: clamp(
        1.2rem,
        2vw,
        1.5rem
    );
}

.page-hero h1,
.cta-section h2 {
    letter-spacing: -0.04em;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 0.75rem;

    color: var(--color-primary);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.12em;
    line-height: 1.3;

    text-transform: uppercase;
}

.page-hero .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.section-heading {
    width: min(
        100%,
        820px
    );

    margin: 0 auto var(--space-12);
}

.section-heading > p:last-child {
    margin-bottom: 0;

    color: var(--color-text-muted);
    font-size: 1.05rem;
}


/* ==========================================================================
   6. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.5rem;

    margin-bottom: var(--space-8);

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}


/* ==========================================================================
   7. BUTTON SYSTEM
   ========================================================================== */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0.75rem 1.25rem;

    border: 1px solid transparent;
    border-radius: var(--radius-md);

    font-size: 0.98rem;
    font-weight: 700;

    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        box-shadow var(--transition-normal),
        transform var(--transition-normal);
}

.button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.button-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

.button-secondary {
    background: var(--color-white);
    border-color: var(--color-border);
    color: var(--color-secondary);
}

.button-secondary:hover {
    background: var(--color-background-muted);
    border-color: var(--color-border-dark);
    color: var(--color-secondary);
}

.page-hero .button-primary {
    background: var(--color-accent);
    color: #1e293b;
}

.page-hero .button-primary:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
}

.page-hero .button-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--color-white);
}

.page-hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}


/* ==========================================================================
   8. HERO
   ========================================================================== */

.page-hero {
    position: relative;

    overflow: hidden;

    padding: var(--space-12) 0 var(--space-16);

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.24),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #063b80 0%,
            #0b63ce 55%,
            #0a58b4 100%
        );

    color: var(--color-white);
}

.page-hero::after {
    content: "";

    position: absolute;

    right: -180px;
    bottom: -220px;

    width: 480px;
    height: 480px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    pointer-events: none;
}

.about-hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, 0.85fr);

    align-items: center;

    gap: clamp(
        2rem,
        6vw,
        5rem
    );
}

.page-hero-content {
    max-width: 720px;
}

.page-hero h1 {
    margin-bottom: 1.5rem;

    color: var(--color-white);
}

.page-hero-description {
    max-width: 680px;

    margin-bottom: 2rem;

    color: rgba(255, 255, 255, 0.86);

    font-size: clamp(
        1rem,
        1.5vw,
        1.15rem
    );

    line-height: 1.8;
}

.page-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 0.8rem;
}

.about-hero-media {
    display: flex;

    align-items: center;
    justify-content: center;
}

.about-hero-media img {
    width: min(
        100%,
        600px
    );

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 45px rgba(0, 0, 0, 0.16)
        );
}


/* ==========================================================================
   9. CONTENT SECTIONS
   ========================================================================== */

.content-section {
    padding: clamp(
        4rem,
        8vw,
        7rem
    ) 0;

    background: var(--color-white);
}

.content-section-muted {
    background: var(--color-background);
}

.two-column-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: clamp(
        2rem,
        7vw,
        6rem
    );
}

.content-media {
    width: 100%;
}

.content-media img {
    width: 100%;

    max-width: 620px;

    margin-inline: auto;

    border-radius: var(--radius-xl);

    object-fit: cover;

    box-shadow: var(--shadow-lg);
}

.content-narrow h2 {
    margin-bottom: 1.5rem;
}

.content-narrow p {
    color: var(--color-text-muted);
}

.content-narrow p:last-child {
    margin-bottom: 0;
}

.content-narrow a {
    font-weight: 600;
}


/* ==========================================================================
   10. CARD SYSTEM
   ========================================================================== */

.card-grid {
    display: grid;

    gap: 1.5rem;
}

.card-grid-3 {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
}

.card-grid-2 {
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );
}

.card {
    height: 100%;

    background: var(--color-white);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.card:hover {
    border-color: rgba(11, 99, 206, 0.2);

    box-shadow: var(--shadow-md);

    transform: translateY(-3px);
}

.card-body {
    height: 100%;

    padding: clamp(
        1.5rem,
        3vw,
        2rem
    );
}

.card-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 1.25rem;

    border-radius: 50%;

    background: var(--color-primary-light);

    color: var(--color-primary);

    font-size: 0.8rem;
    font-weight: 800;
}

.card-label {
    margin-bottom: 0.4rem;

    color: var(--color-primary) !important;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card h3 {
    margin-bottom: 0.8rem;
}

.card p {
    margin-bottom: 1.25rem;

    color: var(--color-text-muted);
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    font-weight: 700;

    text-decoration: none;
}

.text-link::after {
    content: "→";

    transition:
        transform var(--transition-fast);
}

.text-link:hover::after {
    transform: translateX(4px);
}


/* ==========================================================================
   11. STATISTICS
   ========================================================================== */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1rem;
}

.stat-card {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 170px;

    padding: 1.75rem;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    background: var(--color-white);

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.stat-card strong {
    display: block;

    margin-bottom: 0.5rem;

    color: var(--color-primary);

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    font-weight: 800;

    letter-spacing: -0.04em;

    line-height: 1.1;
}

.stat-card span {
    color: var(--color-text-muted);

    font-size: 0.92rem;
    font-weight: 600;
}


/* ==========================================================================
   12. JOB SEEKER LINK LIST
   ========================================================================== */

.link-list {
    display: grid;

    gap: 0.75rem;

    margin-top: 2rem;
}

.list-link {
    display: flex;

    flex-direction: column;

    gap: 0.2rem;

    padding: 1rem 1.1rem;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-md);

    background: var(--color-white);

    color: var(--color-text);

    text-decoration: none;

    transition:
        border-color var(--transition-normal),
        background-color var(--transition-normal),
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.list-link:hover {
    border-color: rgba(11, 99, 206, 0.3);

    background: var(--color-primary-light);

    color: var(--color-text);

    transform: translateX(4px);

    box-shadow: var(--shadow-sm);
}

.list-link strong {
    color: var(--color-heading);

    font-size: 0.98rem;
}

.list-link span {
    color: var(--color-text-muted);

    font-size: 0.88rem;
}


/* ==========================================================================
   13. EMPLOYER FEATURE
   ========================================================================== */

.employer-feature {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(280px, 0.7fr);

    align-items: center;

    gap: clamp(
        2rem,
        6vw,
        5rem
    );
}

.employer-callout {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fafc
        );
}

.employer-callout .card-body {
    padding: 2rem;
}

.employer-callout h3 {
    margin-bottom: 1rem;
}

.employer-callout p {
    color: var(--color-text-muted);
}


/* ==========================================================================
   14. RESOURCE GRID
   ========================================================================== */

.resource-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 1rem;
}

.resource-card {
    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    min-height: 150px;

    padding: 1.5rem;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    background: var(--color-white);

    color: var(--color-text);

    text-decoration: none;

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.resource-card:hover {
    color: var(--color-text);

    border-color: rgba(11, 99, 206, 0.3);

    box-shadow: var(--shadow-md);

    transform: translateY(-3px);
}

.resource-card strong {
    color: var(--color-heading);

    font-size: 1rem;
}

.resource-card span {
    color: var(--color-text-muted);

    font-size: 0.9rem;

    line-height: 1.6;
}


/* ==========================================================================
   15. CTA
   ========================================================================== */

.cta-section {
    position: relative;

    overflow: hidden;

    padding: clamp(
        4rem,
        8vw,
        6rem
    ) 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #063b80,
            #0b63ce
        );

    color: var(--color-white);
}

.cta-content {
    width: min(
        100%,
        800px
    );

    margin-inline: auto;

    text-align: center;
}

.cta-content .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.cta-content h2 {
    margin-bottom: 1.25rem;

    color: var(--color-white);
}

.cta-content > p:not(.eyebrow) {
    max-width: 680px;

    margin-inline: auto;
    margin-bottom: 2rem;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1.05rem;
}

.cta-content .page-hero-actions {
    justify-content: center;
}

.cta-content .button-secondary {
    background: transparent;

    border-color: rgba(255, 255, 255, 0.5);

    color: var(--color-white);
}

.cta-content .button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: var(--color-white);
}


/* ==========================================================================
   16. GLOBAL CONTENT LINKS
   ========================================================================== */

.content-section a:not(.button):not(.card):not(.list-link):not(.resource-card) {
    color: var(--color-primary);

    font-weight: 600;
}

.content-section a:not(.button):not(.card):not(.list-link):not(.resource-card):hover {
    color: var(--color-primary-dark);
}


/* ==========================================================================
   17. RESPONSIVE TABLET
   ========================================================================== */

@media (max-width: 1024px) {

    .about-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.8fr);
    }

    .two-column-layout {
        gap: 3rem;
    }

    .card-grid-3 {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .resource-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .stats-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .employer-feature {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.7fr);
    }
}


/* ==========================================================================
   18. RESPONSIVE MOBILE
   ========================================================================== */

@media (max-width: 767px) {

    html {
        scroll-behavior: auto;
    }

    .site-container {
        width: min(
            calc(100% - 1.5rem),
            var(--container-width)
        );
    }

    .page-hero {
        padding: 2rem 0 4rem;
    }

    .about-hero-grid {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 2.5rem;
    }

    .page-hero h1 {
        font-size: clamp(
            2.2rem,
            10vw,
            3rem
        );
    }

    .page-hero-description {
        font-size: 1rem;
    }

    .about-hero-media {
        order: 2;
    }

    .about-hero-media img {
        width: min(
            100%,
            460px
        );
    }

    .page-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .page-hero-actions .button {
        width: 100%;
    }

    .content-section {
        padding: 4rem 0;
    }

    .two-column-layout {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 2.5rem;
    }

    .content-media {
        order: 2;
    }

    .content-narrow {
        order: 1;
    }

    .content-media img {
        max-width: 100%;
    }

    .card-grid-2,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 0.75rem;
    }

    .stat-card {
        min-height: 140px;

        padding: 1.25rem 0.75rem;
    }

    .stat-card strong {
        font-size: 2rem;
    }

    .employer-feature {
        display: flex;

        flex-direction: column;

        align-items: stretch;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        margin-bottom: 1.5rem;
    }
}


/* ==========================================================================
   19. SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {

    .site-container {
        width: min(
            calc(100% - 1.25rem),
            var(--container-width)
        );
    }

    h2 {
        font-size: 1.8rem;
    }

    .content-section {
        padding: 3.5rem 0;
    }

    .card-body {
        padding: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 125px;
    }

    .page-hero-actions {
        gap: 0.65rem;
    }

    .button {
        min-height: 46px;

        padding-inline: 1rem;
    }

    .list-link {
        padding: 0.9rem;
    }
}


/* ==========================================================================
   20. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .button:hover,
    .card:hover,
    .resource-card:hover,
    .list-link:hover {
        transform: none;
    }
}


/* ==========================================================================
   21. HIGH CONTRAST / FORCED COLORS
   ========================================================================== */

@media (forced-colors: active) {

    .button,
    .card,
    .stat-card,
    .resource-card,
    .list-link {
        border: 1px solid CanvasText;
    }

    .button-primary {
        background: ButtonFace;
        color: ButtonText;
    }

    a {
        text-decoration: underline;
    }
}


/* ==========================================================================
   22. PRINT
   ========================================================================== */

@media print {

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .page-hero,
    .cta-section {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .page-hero h1,
    .page-hero-description,
    .cta-content h2,
    .cta-content > p {
        color: #000000 !important;
    }

    .page-hero-media,
    .about-hero-media,
    .content-media,
    .button {
        display: none !important;
    }

    a {
        color: #000000 !important;
        text-decoration: underline;
    }

    .content-section {
        padding: 1.5rem 0;
    }

    .card,
    .stat-card,
    .resource-card {
        break-inside: avoid;
    }
}