/* Careers page styles (moved from the static careers.html inline <style>). */
/* ==============================================
   CAREERS PAGE — PROFESSIONAL REDESIGN
   #0A3654 navy | #D4AF37 gold | #334155 slate
   #F1F5F9 light bg | #64748B muted text
============================================== */

/* ── GLOBAL ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ── CHIP LABELS ── */
.c-chip {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.c-chip--gold {
    background: rgba(212, 175, 55, .12);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, .3);
}

.c-chip--navy {
    background: rgba(10, 54, 84, .08);
    color: #0A3654;
    border: 1px solid rgba(10, 54, 84, .15);
}

/* ── SECTION HEADINGS ── */
.c-section-head {
    text-align: center;
    margin-bottom: 52px;
}

.c-section-head h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0A3654;
    margin: 0 0 10px;
    line-height: 1.2;
}

.c-section-head p {
    font-size: 16px;
    color: #64748B;
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.75;
}

/* ── FLOATING APPLY ── */
#float-apply {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #D4AF37;
    color: #0A3654 !important;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, .45);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}

#float-apply:hover {
    background: #c9a22e;
    transform: translateY(-2px);
}

#float-apply.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

/* ══════════════════════════════════════════
   1. STATS BAND
══════════════════════════════════════════ */
.stats-band {
    background: linear-gradient(135deg, #0A3654 0%, #0e4d73 100%);
    padding: 0;
}

.stats-band__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stats-band__item {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.stats-band__item:last-child {
    border-right: none;
}

.stats-band__num {
    display: block;
    font-size: 44px;
    font-weight: 900;
    color: #D4AF37;
    line-height: 1;
    margin-bottom: 8px;
}

.stats-band__lbl {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   2. WHY JOIN US — split layout
══════════════════════════════════════════ */
.why-section {
    background: #fff;
    padding: 100px 0;
}

.why-section__text {
    padding-right: 40px;
}

.why-section__text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0A3654;
    line-height: 1.2;
    margin: 0 0 18px;
}

.why-section__text p {
    font-size: 15.5px;
    color: #64748B;
    line-height: 1.85;
    margin-bottom: 32px;
}

.why-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.why-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 14px;
}

.why-highlights li span.tick {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #D4AF37;
    color: #0A3654;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.why-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0A3654;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .3s ease;
}

.why-cta:hover {
    background: #0d4a70;
    box-shadow: 0 8px 24px rgba(10, 54, 84, .25);
    transform: translateY(-2px);
}

/* benefit cards grid on the right */
.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.bc {
    background: #F1F5F9;
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all .35s cubic-bezier(.165, .84, .44, 1);
    border: 1px solid #e8edf2;
}

.bc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #f0c842);
    transform: scaleX(0);
    transition: transform .35s ease;
    transform-origin: left;
}

.bc:hover {
    background: #fff;
    box-shadow: 0 16px 40px rgba(10, 54, 84, .09);
    transform: translateY(-5px);
    border-color: transparent;
}

.bc:hover::after {
    transform: scaleX(1);
}

.bc__icon {
    font-size: 28px;
    color: #0A3654;
    margin-bottom: 14px;
    display: block;
    transition: color .3s;
}

.bc:hover .bc__icon {
    color: #D4AF37;
}

.bc h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0A3654;
    margin: 0 0 8px;
}

.bc p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════
   3. HIRING PROCESS — numbered steps
══════════════════════════════════════════ */
.process-section {
    background: #F1F5F9;
    padding: 90px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
    margin-top: 20px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, rgba(212, 175, 55, .2) 100%);
    z-index: 0;
}

.ps {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.ps__num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0A3654;
    color: #D4AF37;
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid #F1F5F9;
    box-shadow: 0 0 0 2px #D4AF37;
}

.ps h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0A3654;
    margin: 0 0 8px;
}

.ps p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════
   4. JOB LISTINGS
══════════════════════════════════════════ */
.openings-section {
    background: #fff;
    padding: 90px 0;
}

.job-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: box-shadow .3s ease, transform .3s ease;
}

.job-card:hover {
    box-shadow: 0 20px 50px rgba(10, 54, 84, .1);
    transform: translateY(-3px);
}

.job-card:last-child {
    margin-bottom: 0;
}

/* top bar */
.jc-top {
    background: linear-gradient(135deg, #0A3654 0%, #0e4d73 100%);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.jc-top__left {
    flex: 1;
    min-width: 0;
}

.jc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #D4AF37;
    color: #0A3654;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.jc-top h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

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

.jc-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .9);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 13px;
    border-radius: 20px;
}

.jc-tag i {
    color: #D4AF37;
    font-size: 12px;
}

.jc-apply-btn {
    background: #D4AF37;
    color: #0A3654 !important;
    font-size: 13.5px;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .3s ease;
    align-self: center;
    display: inline-block;
}

.jc-apply-btn:hover {
    background: #c9a22e;
    box-shadow: 0 6px 18px rgba(212, 175, 55, .4);
    transform: scale(1.03);
}

/* body */
.jc-body {
    padding: 32px 36px;
}

.jc-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.jc-col h4 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #D4AF37;
    margin: 0 0 16px;
}

.jc-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jc-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #334155;
    margin-bottom: 11px;
    line-height: 1.55;
}

.jc-col ul li i {
    color: #D4AF37;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* footer strip */
.jc-foot {
    background: #F8FAFC;
    border-top: 1px solid #e8edf2;
    padding: 16px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.jc-foot .note {
    font-size: 13px;
    color: #64748B;
    font-style: italic;
}

.jc-foot .note strong {
    color: #0A3654;
    font-style: normal;
}

.jc-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0A3654;
    text-decoration: none;
    border: 1.5px solid #0A3654;
    padding: 8px 20px;
    border-radius: 7px;
    transition: all .3s ease;
}

.jc-foot-link:hover {
    background: #0A3654;
    color: #fff !important;
}

/* ══════════════════════════════════════════
   5. APPLICATION FORM
══════════════════════════════════════════ */
.apply-section {
    background: #F1F5F9;
    padding: 90px 0;
}

.apply-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 60px rgba(10, 54, 84, .1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* sidebar */
.apply-sidebar {
    background: linear-gradient(160deg, #0A3654 0%, #0e4d73 100%);
    padding: 50px 38px;
    height: 100%;
}

.apply-sidebar h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
}

.apply-sidebar>p {
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    margin-bottom: 34px;
}

.as-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.as-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .2);
    border: 1.5px solid rgba(212, 175, 55, .5);
    color: #D4AF37;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-step__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.as-step__text span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5;
}

.as-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin: 28px 0;
}

.as-contact {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.as-contact strong {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin-bottom: 5px;
}

.as-contact a {
    color: #D4AF37;
    text-decoration: none;
    font-size: 13px;
}

.wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    transition: background .3s ease;
}

.wa-btn:hover {
    background: #1ebe5d;
}

/* form area */
.apply-form-area {
    padding: 50px 44px;
}

.apply-form-area .form-head {
    margin-bottom: 32px;
}

.apply-form-area .form-head h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0A3654;
    margin: 0 0 6px;
}

.apply-form-area .form-head p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.f-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #0A3654;
    margin-bottom: 7px;
    letter-spacing: .2px;
}

.f-label .req {
    color: #D4AF37;
    margin-left: 2px;
}

.f-label .opt {
    font-weight: 400;
    color: #94A3B8;
    font-size: 11.5px;
    margin-left: 4px;
}

.f-input,
.f-select,
.f-textarea {
    width: 100%;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1.5px solid #dde4ed;
    border-radius: 9px;
    font-size: 14px;
    color: #334155;
    font-family: inherit;
    outline: none;
    transition: all .25s ease;
    -webkit-appearance: none;
}

.f-input:focus,
.f-select:focus,
.f-textarea:focus {
    border-color: #0A3654;
    box-shadow: 0 0 0 3px rgba(10, 54, 84, .07);
    background: #fff;
}

.f-textarea {
    min-height: 130px;
    resize: vertical;
}

.f-group {
    margin-bottom: 22px;
}

/* dropzone */
.f-dropzone {
    border: 2px dashed #c8d5e0;
    border-radius: 10px;
    background: #F8FAFC;
    padding: 26px 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all .3s ease;
}

.f-dropzone:hover,
.f-dropzone.dragover {
    border-color: #0A3654;
    background: rgba(10, 54, 84, .03);
}

.f-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.f-dropzone i {
    font-size: 28px;
    color: #94A3B8;
    display: block;
    margin-bottom: 8px;
}

.f-dropzone .dz-label {
    font-size: 14px;
    color: #64748B;
}

.f-dropzone .dz-label strong {
    color: #0A3654;
}

.f-dropzone .dz-label small {
    display: block;
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

.f-dz-name {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #0A3654;
    background: rgba(10, 54, 84, .08);
    padding: 4px 14px;
    border-radius: 20px;
}

/* char counter */
.char-count {
    font-size: 12px;
    color: #94A3B8;
    text-align: right;
    margin-top: 4px;
}

.char-count.warn {
    color: #f59e0b;
}

/* submit row */
.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.form-submit-row .privacy-note {
    font-size: 12.5px;
    color: #94A3B8;
}

.form-submit-row .privacy-note i {
    color: #D4AF37;
    margin-right: 4px;
}

.f-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0A3654, #0e4d73);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: .3px;
    transition: all .3s ease;
}

.f-submit-btn:hover {
    background: linear-gradient(135deg, #0d4a70, #1a6490);
    box-shadow: 0 8px 24px rgba(10, 54, 84, .28);
    transform: translateY(-2px);
}

.f-submit-btn:disabled {
    background: #94A3B8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* alerts */
.success-box,
.error-box {
    display: none;
}

.f-alert-success {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 9px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 14px;
}

.f-alert-error {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 9px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 14px;
}

/* OTP Buttons */
.otp-btn {
    background: #D4AF37;
    color: #0A3654;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 9px;
    border: 1.5px solid transparent;
    cursor: pointer;
    padding: 0 24px;
    font-size: 14px;
    font-family: inherit;
    transition: all .25s ease;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.otp-btn.verify {
    background: #0A3654;
    color: #fff;
}

.f-input.otp-input-field {
    height: 48px;
}

/* Custom OTP Modal Styles */
.otp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 54, 84, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.otp-modal.show {
    display: flex;
    opacity: 1;
}

.otp-modal-content {
    background-color: #fff;
    padding: 35px 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(10, 54, 84, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.otp-modal.show .otp-modal-content {
    transform: scale(1);
}

.otp-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #64748B;
    cursor: pointer;
    transition: color 0.2s;
}

.otp-modal-close:hover {
    color: #0A3654;
}

.otp-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid #D4AF37;
    color: #0A3654;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.otp-modal-content h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0A3654;
    margin: 0 0 10px;
}

.otp-modal-content p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0 0 20px;
}

.modal-otp-input-group {
    margin: 0 0 20px;
}

.modal-otp-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dde4ed;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.modal-otp-input:focus {
    border-color: #0A3654;
    outline: none;
}

.modal-otp-status {
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

.otp-modal-btn {
    background: #0A3654;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.otp-modal-btn:hover {
    background: #0e4d73;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1199px) {
    .why-section__text {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .stats-band__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-band__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .stats-band__item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .1);
    }

    .why-section__text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

    .jc-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .apply-sidebar {
        padding: 40px 30px;
    }

    .apply-form-area {
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .c-section-head h2 {
        font-size: 26px;
    }

    .stats-band__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-cards {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .jc-top {
        flex-direction: column;
    }

    .jc-apply-btn {
        width: 100%;
        text-align: center;
    }

    .jc-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .apply-form-area {
        padding: 30px 20px;
    }

    .apply-sidebar {
        padding: 30px 20px;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .f-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── WordPress additions ── */
/* Page banner keeps the static page's custom padding. */
.ht-careers header.header-image {
    padding: 151px 0 100px;
}

/* Success / error boxes are hidden until the form script shows them
   (the form does not use the theme's generic .form-ajax handler). */
.careers-form-ajax .success-box,
.careers-form-ajax .error-box {
    display: none;
    margin-top: 20px;
}

/* The static careers page has no floating WhatsApp bubble (it would cover the
   floating "Apply Now" button); the form panel has its own WhatsApp button. */
.ht-careers .whatsapp-float {
    display: none;
}
