/* ============================================
   JOBS PAGE
   jobs.css
============================================ */

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---------- HERO ---------- */
.jobs-hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    background: #070e1c;
    overflow: hidden;
}

.jobs-hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -80px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(41,121,196,0.2) 0%, transparent 65%);
    pointer-events: none;
}

.jh-glow-orange {
    position: absolute;
    bottom: -100px; left: -60px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(226,79,6,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.jh-accent-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #e24f06 30%, #e24f06 70%, transparent);
}

.jobs-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5rem;
}

.jh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e24f06;
    margin-bottom: 18px;
    animation: heroFadeIn 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}
.jh-eyebrow-line { width: 32px; height: 1px; background: #e24f06; }

.jobs-hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}
.jobs-hero-content h1 span { color: #e24f06; }

.jobs-hero-content p {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    max-width: 460px;
    line-height: 1.8;
    border-left: 2px solid rgba(226,79,6,0.4);
    padding-left: 1rem;
    animation: heroFadeUp 0.8s ease forwards;
    animation-delay: 0.55s;
    opacity: 0;
}

.jh-clip {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: #f7f4f0;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 3;
}

/* ---------- WHY JOIN ---------- */
.why-join {
    background: #f7f4f0;
    padding: 80px 0 72px;
}

.wj-head {
    text-align: center;
    margin-bottom: 56px;
}

.wj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e24f06;
    margin-bottom: 14px;
}
.wj-eyebrow-line { width: 28px; height: 1px; background: #e24f06; }

.wj-head h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    color: #00227e;
    line-height: 1;
    letter-spacing: -0.01em;
}
.wj-head h2 span { color: #e24f06; }

.wj-perks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wj-perk {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wj-perk:hover {
    border-bottom-color: #e24f06;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.wj-perk-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: #fff4ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: background 0.3s ease;
}
.wj-perk:hover .wj-perk-icon { background: #e24f06; }
.wj-perk-icon i { font-size: 1.4rem !important; color: #e24f06 !important; transition: color 0.3s ease; }
.wj-perk:hover .wj-perk-icon i { color: #fff !important; }

.wj-perk h4 {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
    margin-bottom: 8px;
}

.wj-perk p {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #888;
    line-height: 1.75;
}

/* ---------- OPENINGS ---------- */
.jobs-section {
    background: #ffffff;
    padding: 80px 0 100px;
    position: relative;
}

.jobs-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e24f06 30%, #2979c4 70%, transparent);
}

.jobs-head {
    text-align: center;
    margin-bottom: 56px;
}

.jobs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #e24f06;
    margin-bottom: 14px;
}
.je-line { width: 28px; height: 1px; background: #e24f06; }

.jobs-head h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    text-transform: uppercase;
    color: #00227e;
    line-height: 1;
    letter-spacing: -0.01em;
}
.jobs-head h2 span { color: #e24f06; }

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    border: 1px solid #ebebeb;
    border-radius: 10px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
    background: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #e24f06;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.job-card:hover {
    border-color: rgba(226,79,6,0.3);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transform: translateX(4px);
}

.job-card:hover::before { transform: scaleY(1); }

.jc-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    background: #fff4ee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}
.job-card:hover .jc-icon { background: #e24f06; }
.jc-icon i { font-size: 1.4rem !important; color: #e24f06 !important; transition: color 0.3s ease; }
.job-card:hover .jc-icon i { color: #fff !important; }

.jc-body { flex: 1; }

.jc-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: #00227e;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.jc-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.jc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    background: #f4f0eb;
    padding: 4px 10px;
    border-radius: 4px;
}
.jc-tag i { font-size: 12px; color: #e24f06; }

.jc-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13.5px;
    font-weight: 300;
    color: #888;
    line-height: 1.7;
}

.jc-apply {
    display: inline-block;
    background: #e24f06;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 28px 12px 20px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
}
.jc-apply:hover { background: #c43e00; transform: translateX(3px); }

/* ---------- APPLICATION FORM ---------- */
.apply-section {
    background: #f7f4f0;
    padding: 80px 0 100px;
    position: relative;
}

.apply-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2979c4 30%, #e24f06 70%, transparent);
}

.apply-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 72px;
    align-items: start;
}

.apply-left h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    color: #00227e;
    line-height: 1.05;
    margin-bottom: 16px;
}
.apply-left h2 span { color: #e24f06; }

.apply-left p {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #888;
    line-height: 1.85;
    margin-bottom: 28px;
}

.apply-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Barlow', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #444;
}

.ai-item i { font-size: 1.1rem; color: #e24f06; flex-shrink: 0; }

.apply-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.af-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.af-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.af-field label {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
}

.af-field input,
.af-field select,
.af-field textarea {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #222;
    background: #f9f6f2;
    border: 1px solid #e8e4df;
    border-radius: 6px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    width: 100%;
}

.af-field input:focus,
.af-field select:focus,
.af-field textarea:focus {
    border-color: #e24f06;
    background: #ffffff;
}

.af-field textarea { resize: vertical; min-height: 110px; }

.af-submit {
    display: inline-block;
    background: #e24f06;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    padding: 15px 48px 15px 32px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
    transition: background 0.25s, transform 0.2s;
    width: 100%;
    margin-top: 8px;
}
.af-submit:hover { background: #c43e00; transform: translateX(4px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    .apply-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
    .wj-perks { grid-template-columns: 1fr 1fr; }
    .jobs-hero-content { padding: 0 2rem; }
    .af-row { grid-template-columns: 1fr; }
    .apply-form { padding: 32px 24px; }
}

@media (max-width: 600px) {
    .wj-perks { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; }
    .jc-apply { align-self: flex-start; }
}
