﻿/* ============================================================
   CAREER.CSS – Career Page Stylesheet
   Insoft Research & Development
   Light + Dark theme support | Glassmorphism | Responsive
   ============================================================ */

/* ---------- 1. CSS VARIABLES (Light + Dark) ---------- */
:root,
[data-bs-theme="light"] {
    /* Brand */
    --si-primary: #6366f1;
    --si-secondary: #eff2fc;
    --si-danger: #ef4444;
    --si-success: #22c55e;
    --si-info: #4c82f7;
    --si-warning: #ffba08;
    /* Neutrals */
    --si-gray-100: #f3f6ff;
    --si-gray-200: #eff2fc;
    --si-gray-300: #e2e5f1;
    --si-gray-400: #d4d7e5;
    --si-gray-500: #b4b7c9;
    --si-gray-600: #9397ad;
    --si-gray-700: #565973;
    --si-gray-800: #33354d;
    --si-gray-900: #0b0f19;
    /* Body */
    --si-body-bg: #ffffff;
    --si-body-color: #565973;
    --si-heading-color: #0b0f19;
    --si-border-color: #e2e5f1;
    /* Glass / Cards */
    --si-glass-bg: rgba(255, 255, 255, 0.55);
    --si-glass-border: rgba(255, 255, 255, 0.25);
    --si-glass-shadow: 0 8px 32px rgba(11, 15, 25, 0.08);
    /* Box shadows */
    --si-box-shadow: 0 0.275rem 1.25rem rgba(11, 15, 25, 0.05), 0 0.25rem 0.5625rem rgba(11, 15, 25, 0.03);
    --si-box-shadow-lg: 0 0.3rem 1.525rem -0.375rem rgba(11, 15, 25, 0.1), 0 0.25rem 0.8125rem -0.125rem rgba(11, 15, 25, 0.06);
    /* Misc */
    --si-border-radius: 0.75rem;
    --si-font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --si-alternate-color: #F0F6FA;
}

[data-bs-theme="dark"] {
    /* Body */
    --si-body-bg: #0B131F;
    --si-body-color: rgba(255, 255, 255, 0.72);
    --si-heading-color: #ffffff;
    --si-border-color: rgba(255, 255, 255, 0.10);
    /* Glass */
    --si-glass-bg: rgba(255, 255, 255, 0.04);
    --si-glass-border: rgba(255, 255, 255, 0.06);
    --si-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
    /* Shadows */
    --si-box-shadow: 0 0.275rem 1.25rem rgba(0, 0, 0, 0.30), 0 0.25rem 0.5625rem rgba(0, 0, 0, 0.20);
    --si-box-shadow-lg: 0 0.3rem 1.525rem -0.375rem rgba(0, 0, 0, 0.50), 0 0.25rem 0.8125rem -0.125rem rgba(0, 0, 0, 0.30);
    /* Neutrals (dark) */
    --si-gray-100: #1f2233;
    --si-gray-200: #2a2d42;
    --si-gray-300: #3a3d57;
    --si-gray-400: #565973;
    --si-gray-500: #9397ad;
    --si-gray-600: #b4b7c9;
    --si-gray-700: #d4d7e5;
    --si-gray-800: #eff2fc;
    --si-gray-900: #ffffff;
    /* Brand colors stay, but we keep them consistent */
    --si-primary: #818cf8;
    --si-danger: #f87171;
    --si-alternate-color: #16222F;
}

/* ---------- 2. BASE RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--si-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--si-body-color);
    background-color: var(--si-body-bg);
}

a {
    color: var(--si-primary);
    text-decoration: none;
}

    a:hover {
        color: var(--si-primary);
        text-decoration: none;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/*.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}*/

/* ---------- 3. UTILITY CLASSES ---------- */
.section-badge-career {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--si-glass-bg);
    box-shadow: var(--si-glass-shadow);
    border: 1px solid var(--si-glass-border);
    backdrop-filter: blur(12px);
    color: var(--si-body-color);
}

    .section-badge-career i {
        color: var(--si-primary);
    }

.section-title-career {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--si-heading-color);
    margin-bottom: 0.75rem;
}

    .section-title-career span {
        color: var(--si-primary);
    }

.glass-card-career {
    background: var(--si-glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--si-glass-border);
    border-radius: var(--si-border-radius);
    box-shadow: var(--si-glass-shadow);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.4s ease, background 0.4s ease;
}

    .glass-card-career:hover {
        transform: translateY(-6px);
        box-shadow: var(--si-box-shadow-lg);
    }

/* Reveal animation */
.reveal-career {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .reveal-career.active {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-career.delay-1 {
        transition-delay: 0.1s;
    }

    .reveal-career.delay-2 {
        transition-delay: 0.2s;
    }

    .reveal-career.delay-3 {
        transition-delay: 0.3s;
    }

    .reveal-career.delay-4 {
        transition-delay: 0.4s;
    }

    .reveal-career.delay-5 {
        transition-delay: 0.5s;
    }

/* ---------- 5. HERO SECTION ---------- */
.Heroimg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b0f19 0%, #076BA7 50%, #f30000 100%);
    overflow: hidden;
    padding: 4rem 0;
}

    .Heroimg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15), transparent 50%), radial-gradient(circle at 80% 50%, rgba(239, 68, 68, 0.10), transparent 50%);
        pointer-events: none;
        z-index: 1;
    }

    .Heroimg .container {
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .Heroimg h1 {
        font-size: clamp(2.4rem, 6vw, 4.5rem);
        font-weight: 800;
        color: #ffffff;
        text-shadow: 0 4px 30px rgba(0,0,0,0.3);
        margin-bottom: 0.5rem;
        letter-spacing: -0.02em;
    }

        .Heroimg h1::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: var(--si-primary);
            margin: 1rem auto 1.5rem;
            border-radius: 4px;
        }

    .Heroimg p {
        font-size: clamp(1rem, 1.3vw, 1.3rem);
        color: rgba(255,255,255,0.8);
        max-width: 600px;
        margin: 0 auto;
        font-weight: 400;
        line-height: 1.8;
    }

    /* Decorative blobs */
    .Heroimg .blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.3;
        z-index: 0;
    }

    .Heroimg .blob-1 {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -100px;
        background: var(--si-primary);
    }

    .Heroimg .blob-2 {
        width: 300px;
        height: 300px;
        bottom: -100px;
        left: -50px;
        background: var(--si-danger);
    }

@media (max-width: 768px) {
    .Heroimg {
        padding: 3rem 0;
    }

        .Heroimg h1 {
            font-size: 2.2rem;
        }

        .Heroimg .blob-1,
        .Heroimg .blob-2 {
            display: none;
        }
}

/* ---------- 6. PROCESS SECTION ---------- */
.process-section {
    padding: 80px 0;
    background: var(--si-alternate-color);
    text-align: center;
}

    .process-section h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
        color: var(--si-heading-color);
        margin-bottom: 0.5rem;
    }

        .process-section h1 span {
            color: var(--si-primary);
        }

    .process-section > p {
        font-size: 1.05rem;
        color: var(--si-body-color);
        max-width: 700px;
        margin: 0 auto 2rem;
        line-height: 1.8;
    }

.steps1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.step1 {
    background: var(--si-glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--si-glass-border);
    border-radius: var(--si-border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--si-box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

    .step1:hover {
        transform: translateY(-8px);
        box-shadow: var(--si-box-shadow-lg);
        border-color: var(--si-primary);
    }

    .step1 img {
        width: 64px;
        height: 64px;
        object-fit: contain;
        margin: 0 auto 1rem;
        display: block;
    }

    .step1 h3 {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--si-primary);
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
    }

    .step1 h2 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--si-heading-color);
        margin-bottom: 0.5rem;
    }

    .step1 p {
        font-size: 1rem;
        color: var(--si-body-color);
        line-height: 1.6;
        margin-bottom: 0;
    }

@media (max-width: 992px) {
    .steps1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .steps1 {
        grid-template-columns: 1fr;
    }

    .step1 {
        padding: 1.5rem 1rem;
    }
}

/* ---------- 7. JOB LISTING SECTION ---------- */
.container.text-center.py-5 h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--si-heading-color);
    margin-bottom: 1rem;
}

    .container.text-center.py-5 h1 span {
        color: var(--si-primary);
    }

.card-border {
    background: var(--si-glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--si-glass-border);
    border-radius: var(--si-border-radius);
    box-shadow: var(--si-box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .card-border:hover {
        transform: translateY(-4px);
        box-shadow: var(--si-box-shadow-lg);
        border-color: var(--si-primary);
    }

.job-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

[data-bs-theme="dark"] .job-logo {
    background: #1f2233;
}

.position-title {
    font-weight: 700;
    color: var(--si-heading-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.15rem;
}

.badge-pill {
    display: inline-block;
    background: var(--si-gray-100);
    color: var(--si-body-color);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--si-border-color);
}

[data-bs-theme="dark"] .badge-pill {
    background: var(--si-gray-200);
    border-color: var(--si-gray-300);
    color: var(--si-gray-700);
}

.btn-primary.view-details-btn {
    background: var(--si-primary);
    border-color: var(--si-primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    white-space: nowrap;
}

    .btn-primary.view-details-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
        background: var(--si-primary);
        border-color: var(--si-primary);
    }

.load-more-btn {
    border-radius: 50px;
    padding: 0.6rem 2.5rem;
    font-weight: 600;
    border-color: var(--si-border-color);
    color: var(--si-body-color);
    transition: all 0.3s ease;
}

    .load-more-btn:hover {
        background: var(--si-primary);
        border-color: var(--si-primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
    }

@media (max-width: 768px) {
    .card-border .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

        .card-border .d-flex .d-flex {
            width: 100%;
        }

    .view-details-btn {
        width: 100%;
        text-align: center;
    }

    .job-details {
        flex-wrap: wrap;
    }
}

/* ---------- 8. DARK MODE OVERRIDES ---------- */
[data-bs-theme="dark"] .text-danger {
    color: #f87171 !important;
}

[data-bs-theme="dark"] .bg-light {
    background: var(--si-glass-bg) !important;
}

[data-bs-theme="dark"] .


-sticky {
    background: rgba(11, 15, 25, 0.85) !important;
}

[data-bs-theme="dark"] .Heroimg {
    background: linear-gradient(135deg, #0a0e1a 0%, #141b33 50%, #241530 100%);
}

[data-bs-theme="dark"] .step1 {
    background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .card-border {
    background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .badge-pill {
    background: var(--si-gray-200);
    border-color: var(--si-gray-300);
    color: var(--si-gray-700);
}

[data-bs-theme="dark"] .load-more-btn {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

    [data-bs-theme="dark"] .load-more-btn:hover {
        background: var(--si-primary);
        border-color: var(--si-primary);
        color: #fff;
    }

/* ---------- 9. RESPONSIVE TWEAKS ---------- */
@media (max-width: 991px) {
    .process-section {
        padding: 60px 0;
    }

    .container.text-center.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 768px) {
    .process-section > p {
        font-size: 0.95rem;
    }

    .step1 img {
        width: 48px;
        height: 48px;
    }
}


.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.optionposition {
    background-color: var(--si-body-bg) !important;
}

/*process-box*/
body {
    background: #eee;
}

.process-box {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    position: relative;
    box-shadow: 2px 2px 7px 0 #00000057;
}

.process-left:after {
    content: "";
    border-top: 15px solid #ffffff;
    border-bottom: 15px solid #ffffff;
    border-left: 15px solid #ffffff;
    border-right: 15px solid #ffffff;
    display: inline-grid;
    position: absolute;
    right: -15px;
    top: 42%;
    transform: rotate(45deg);
    box-shadow: 3px -2px 3px 0px #00000036;
    z-index: 1;
}

.process-right:after {
    content: "";
    border-top: 15px solid #ffffff00;
    border-bottom: 15px solid #ffffff;
    border-left: 15px solid #ffffff;
    border-right: 15px solid #ffffff00;
    display: inline-grid;
    position: absolute;
    left: -15px;
    top: 42%;
    transform: rotate(45deg);
    box-shadow: -1px 1px 3px 0px #0000001a;
    z-index: 1;
}

.process-step {
    background: #00BCD4;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    color: #fff;
    height: 100%;
    padding-top: 8px;
    position: relative;
    top: -26px;
    border-radius: 0px 0px 10px 10px;
    box-shadow: -6px 8px 0px 0px #00000014;
}

.process-point-right {
    background: #ffffff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 8px solid #00bcd4;
    box-shadow: 0 0 0px 4px #5c5c5c;
    margin: auto 0;
    position: absolute;
    bottom: 40px;
    left: -63px;
}

    .process-point-right:before {
        content: "";
        height: 144px;
        width: 11px;
        background: #5c5c5c;
        display: inline-grid;
        transform: rotate(36deg);
        position: relative;
        left: -50px;
        top: -0px;
    }

.process-point-left {
    background: #ffffff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 8px solid #00bcd4;
    box-shadow: 0 0 0px 4px #5c5c5c;
    margin: auto 0;
    position: absolute;
    bottom: 40px;
    right: -63px;
}

    .process-point-left:before {
        content: "";
        height: 144px;
        width: 11px;
        background: #5c5c5c;
        display: inline-grid;
        transform: rotate(-38deg);
        position: relative;
        left: 50px;
        top: 0px;
    }

.process-last:before {
    display: none;
}

.process-box p {
    z-index: 9;
}

.process-step p {
    font-size: 20px;
}

.process-step h2 {
    font-size: 39px;
}

.process-step:after {
    content: "";
    border-top: 8px solid #04889800;
    border-bottom: 8px solid #048898;
    border-left: 8px solid #04889800;
    border-right: 8px solid #048898;
    display: inline-grid;
    position: absolute;
    left: -16px;
    top: 0;
}

.process-step:before {
    content: "";
    border-top: 8px solid #ff000000;
    border-bottom: 8px solid #048898;
    border-left: 8px solid #048898;
    border-right: 8px solid #ff000000;
    display: inline-grid;
    position: absolute;
    right: -16px;
    top: 0;
}

.process-line-l {
    background: white;
    height: 4px;
    position: absolute;
    width: 136px;
    right: -153px;
    top: 64px;
    z-index: 9;
}

.process-line-r {
    background: white;
    height: 4px;
    position: absolute;
    width: 136px;
    left: -153px;
    top: 63px;
    z-index: 9;
}