:root {
    --primary-blue: #2d68c4;
    --primary-navy: #1e4fa0;
    --primary-dark: #163a7a;
    --accent-gold: #f4b800;
    --gold-light: #fef9e0;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb; 
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --navy: #0f172a;
    --gold: #f4b800;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);
}

.job-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(22, 58, 122, .92) 0%,
            rgba(45, 104, 196, .70) 60%,
            rgba(0, 0, 0, .35) 100%);
    z-index: 1;
}

.job-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .7) 50%,
            rgba(255, 255, 255, 1) 100%);
    z-index: 3;
    pointer-events: none;
}

.job-hero-inner {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.breadcrumb-pill a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb-pill i {
    font-size: .6rem;
    color: rgba(255, 255, 255, .5);
}

.hero-eyebrow {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: clamp(.8rem, 2vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title-main {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    font-family: 'Arial Black', Impact, sans-serif;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
    margin: 0 0 12px;
}

.hero-title-main span {
    color: var(--accent-gold);
}

.hero-desc {
    font-size: clamp(.9rem, 2vw, 1.05rem);
    color: #f3f4f6;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
    max-width: 600px;
}

.detail-section {
    padding: 4rem 0 7rem;
    background: #fff;
}

.back-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    text-decoration: none !important;
    transition: all .25s;
    background: var(--slate-100);
    border: 1.5px solid var(--slate-200);
    border-radius: 100px;
    padding: .5rem 1.2rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.back-nav:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.back-nav i {
    font-size: .85rem;
    transition: transform .25s;
}

.back-nav:hover i {
    transform: translateX(-3px);
}

.job-hdr-card {
    background: #fff;
    border-radius: calc(1rem + 2px);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 70%, var(--accent-gold) 100%);
    box-shadow: 0 20px 40px -5px rgba(45, 104, 196, .15);
}

.job-hdr-card-inner {
    background: #fff;
    border-radius: calc(1rem - 1px);
    padding: 2.5rem;
}

.job-cls-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(45, 104, 196, .1) 0%, rgba(244, 184, 0, .15) 100%);
    color: var(--primary-dark);
    border: 1px solid rgba(45, 104, 196, .2);
    border-radius: 100px;
    padding: .3rem .9rem;
    margin-bottom: 1rem;
}

.job-hdr-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.job-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: var(--text-muted);
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: 100px;
    padding: .35rem 1rem;
    transition: all .2s;
}

.job-meta-pill i {
    color: var(--primary-blue);
    font-size: .75rem;
}

.job-meta-pill strong {
    color: var(--text-dark);
}

.det-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .det-grid {
        grid-template-columns: 1fr;
    }
}

.det-card {
    padding: 2px;
    border-radius: calc(1rem + 2px);
    background: linear-gradient(160deg, var(--primary-blue) 70%, var(--accent-gold) 100%);
    transition: all .35s;
}

.det-card:hover {
    box-shadow: 0 15px 35px -5px rgba(45, 104, 196, .2);
    background: linear-gradient(160deg, var(--accent-gold) 0%, var(--primary-blue) 100%);
}

.det-card-inner {
    background: #fff;
    border-radius: calc(1rem - 1px);
    padding: 1.75rem;
    height: 100%;
}

.det-card-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--slate-100);
}

.det-card-head i {
    font-size: 1rem;
}

.det-card-inner pre {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: .88rem;
    line-height: 1.75;
    color: var(--text-dark);
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.apply-section {
    border-radius: calc(1rem + 2px);
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
}

.apply-section-inner {
    background: var(--primary-dark);
    border-radius: calc(1rem - 1px);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.apply-section-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

.apply-section-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: 60px;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.apply-text {
    position: relative;
    z-index: 1;
}

.apply-text h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: .35rem;
}

.apply-text h4 span {
    color: var(--accent-gold);
}

.apply-text p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .55);
    margin: 0;
}

.btn-apply {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffda00 100%);
    color: var(--primary-dark) !important;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(244, 184, 0, .35);
    transition: all .3s;
    white-space: nowrap;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(244, 184, 0, .45);
    background: linear-gradient(135deg, #ffda00 0%, var(--accent-gold) 100%);
}

.btn-apply:active {
    transform: translateY(0);
}

.not-found-card {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--slate-100);
    border-radius: 16px;
    border: 2px dashed var(--slate-200);
}

.not-found-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 1.25rem;
}

.not-found-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: .5rem;
}

.not-found-card p {
    font-size: .9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .job-hero {
        padding-bottom: 200px;
    }

    .job-hdr-card-inner {
        padding: 1.5rem;
    }

    .apply-section-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }

    .btn-apply {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .job-hero {
        padding-bottom: 160px;
    }

    .det-card-inner {
        padding: 1.25rem;
    }
}