/* ============================================
   CAREERS PAGE  -  scoped .cr-
   No body {}, no * {}, no font-family overrides
   ============================================ */

/* ------------------------------------------------
   SECTION
   ------------------------------------------------ */
.cr-section {
    padding: 50px 0 80px;
    background: #f8faff;
}

.cr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ------------------------------------------------
   SECTION HEADER
   ------------------------------------------------ */
.cr-header {
    text-align: center;
    margin-bottom: 50px;
}

.cr-badge {
    display: inline-block;
    background: rgba(236, 169, 13, 0.12);
    color: #ECA90D;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 22px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.cr-title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #01295E !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
}

.cr-title span {
    color: #ECA90D !important;
}

.cr-subtitle {
    font-size: 16px !important;
    color: #6c757d !important;
    margin: 0 auto !important;
    max-width: 520px;
    line-height: 1.6 !important;
}

/* ------------------------------------------------
   TWO-COLUMN LAYOUT
   ------------------------------------------------ */
.cr-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.cr-left {
    flex: 0 0 420px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cr-right {
    flex: 1;
    min-width: 0;
}

/* ------------------------------------------------
   IMAGE BOX
   ------------------------------------------------ */
.cr-image-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(1, 41, 94, 0.1);
}

.cr-image-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cr-image-box:hover img {
    transform: scale(1.04);
}

/* Image Badge */
.cr-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(236, 169, 13, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(1, 41, 94, 0.12);
}

.cr-image-badge i {
    font-size: 22px;
    color: #ECA90D;
    flex-shrink: 0;
}

.cr-image-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #01295E;
    line-height: 1.2;
}

.cr-image-badge span {
    display: block;
    font-size: 11px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ------------------------------------------------
   WHY JOIN US BOX
   ------------------------------------------------ */
.cr-why-box {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 4px 18px rgba(1, 41, 94, 0.04);
}

.cr-why-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #01295E !important;
    margin: 0 0 16px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f7;
}

.cr-why-title i {
    color: #ECA90D;
}

.cr-why-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cr-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px !important;
    color: #4a5568 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cr-why-icon i {
    color: #ECA90D;
    font-size: 15px;
    margin-top: 1px;
}

/* ------------------------------------------------
   CURRENT OPENINGS BOX
   ------------------------------------------------ */
.cr-openings-box {
    background: #01295E;
    border-radius: 16px;
    padding: 24px 22px;
}

.cr-openings-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 16px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cr-openings-title i {
    color: #ECA90D;
}

.cr-openings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cr-opening-item {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease;
}

.cr-opening-item:hover {
    background: rgba(236, 169, 13, 0.15);
    border-color: rgba(236, 169, 13, 0.3);
    color: #fff !important;
    transform: translateY(-2px);
}

.cr-opening-item i {
    color: #ECA90D;
    font-size: 14px;
    flex-shrink: 0;
}

/* ------------------------------------------------
   FORM WRAP
   ------------------------------------------------ */
.cr-form-wrap {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 35px rgba(1, 41, 94, 0.07);
}

/* Form Top */
.cr-form-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef2f7;
}

.cr-form-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(236, 169, 13, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ECA90D;
    flex-shrink: 0;
}

.cr-form-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #01295E !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.2 !important;
}

.cr-form-sub {
    font-size: 13px !important;
    color: #888 !important;
    margin: 0 !important;
}

/* ------------------------------------------------
   FIELDS
   ------------------------------------------------ */
.cr-field {
    margin-bottom: 18px;
}

.cr-field label {
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #01295E !important;
    margin-bottom: 7px !important;
    line-height: 1.4 !important;
}

.cr-req { color: #e74c3c !important; }
.cr-opt { color: #888 !important; font-weight: 400 !important; font-size: 13px !important; }

/* ------------------------------------------------
   INPUT WRAPPER
   ------------------------------------------------ */
.cr-input-wrap {
    position: relative;
}

.cr-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

/* text / tel — high specificity beats style.css */
.cr-form .cr-input-wrap input[type="text"],
.cr-form .cr-input-wrap input[type="tel"] {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px 0 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #f8faff !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
    line-height: 48px !important;
}

.cr-form .cr-input-wrap input[type="text"]:focus,
.cr-form .cr-input-wrap input[type="tel"]:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
    background: #fff !important;
}

.cr-form .cr-input-wrap input::placeholder { color: #b0b8c4 !important; }

/* ------------------------------------------------
   TEXTAREA
   ------------------------------------------------ */
.cr-textarea-wrap > i {
    top: 14px;
    transform: none;
}

.cr-form .cr-input-wrap textarea {
    display: block !important;
    width: 100% !important;
    min-height: 110px !important;
    padding: 12px 16px 12px 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #f8faff !important;
    outline: none !important;
    box-shadow: none !important;
    resize: vertical !important;
    line-height: 1.6 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.cr-form .cr-input-wrap textarea:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
    background: #fff !important;
}

.cr-form .cr-input-wrap textarea::placeholder { color: #b0b8c4 !important; }

/* ------------------------------------------------
   SELECT — beats nice-select & style.css
   ------------------------------------------------ */
.cr-select-wrap {
    position: relative;
}

.cr-select-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
}

.cr-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b8c4;
    font-size: 11px;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cr-form .cr-select-wrap select,
.cr-form .cr-select-wrap select.nice-select {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 40px 0 42px !important;
    border: 1px solid #e0e6ef !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #01295E !important;
    background: #f8faff !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    line-height: 48px !important;
    float: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.cr-form .cr-select-wrap select:focus,
.cr-form .cr-select-wrap select.nice-select:focus {
    border-color: #ECA90D !important;
    box-shadow: 0 0 0 3px rgba(236, 169, 13, 0.1) !important;
    background: #fff !important;
}

/* ------------------------------------------------
   SUBMIT BUTTON
   ------------------------------------------------ */
.cr-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 15px 30px !important;
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.cr-submit:hover {
    background: #1eba57 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
}

.cr-submit i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cr-submit:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet Large */
@media (max-width: 1100px) {
    .cr-left {
        flex: 0 0 360px;
        min-width: 360px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .cr-section {
        padding: 55px 0 65px;
    }

    .cr-title {
        font-size: 32px !important;
    }

    .cr-layout {
        flex-direction: column;
        gap: 30px;
    }

    .cr-left {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
    }

    /* Two columns for image + why on tablet */
    .cr-image-box img {
        height: 300px;
    }

    .cr-form-wrap {
        padding: 30px 26px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cr-section {
        padding: 45px 0 55px;
    }

    .cr-title {
        font-size: 28px !important;
    }

    .cr-subtitle {
        font-size: 14px !important;
        padding: 0 8px;
    }

    .cr-header {
        margin-bottom: 36px;
    }

    .cr-image-box img {
        height: 240px;
    }

    .cr-form-wrap {
        padding: 24px 20px;
    }

    .cr-form-title {
        font-size: 18px !important;
    }

    .cr-openings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cr-form .cr-input-wrap input[type="text"],
    .cr-form .cr-input-wrap input[type="tel"],
    .cr-form .cr-select-wrap select,
    .cr-form .cr-select-wrap select.nice-select {
        height: 44px !important;
        font-size: 13px !important;
        line-height: 44px !important;
    }

    .cr-submit {
        font-size: 15px !important;
        padding: 13px 24px !important;
    }
}

/* Mobile Small */
@media (max-width: 576px) {
    .cr-section {
        padding: 38px 0 48px;
    }

    .cr-title {
        font-size: 24px !important;
    }

    .cr-image-box img {
        height: 200px;
    }

    .cr-image-badge {
        padding: 10px 14px;
        bottom: 14px;
        left: 14px;
        gap: 10px;
    }

    .cr-image-badge i {
        font-size: 18px;
    }

    .cr-image-badge strong {
        font-size: 13px;
    }

    .cr-openings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .cr-opening-item {
        padding: 8px 10px;
        font-size: 12px !important;
    }

    .cr-form-wrap {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .cr-form-top {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .cr-form-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .cr-field {
        margin-bottom: 14px;
    }

    .cr-field label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .cr-form .cr-input-wrap input[type="text"],
    .cr-form .cr-input-wrap input[type="tel"],
    .cr-form .cr-select-wrap select,
    .cr-form .cr-select-wrap select.nice-select {
        height: 42px !important;
        padding-left: 38px !important;
        font-size: 13px !important;
        line-height: 42px !important;
    }

    .cr-input-wrap > i,
    .cr-select-wrap > i {
        left: 12px;
        font-size: 13px;
    }

    .cr-form .cr-input-wrap textarea {
        min-height: 90px !important;
        font-size: 13px !important;
        padding: 10px 14px 10px 38px !important;
    }

    .cr-submit {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }

    .cr-badge {
        font-size: 11px;
        padding: 4px 16px;
    }
}

/* Extra Small */
@media (max-width: 400px) {
    .cr-title {
        font-size: 22px !important;
    }

    .cr-image-box img {
        height: 180px;
    }

    .cr-openings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .cr-opening-item {
        font-size: 11px !important;
        padding: 7px 9px;
    }

    .cr-opening-item i {
        font-size: 12px;
    }

    .cr-form-wrap {
        padding: 16px 12px;
    }

    .cr-form .cr-input-wrap input[type="text"],
    .cr-form .cr-input-wrap input[type="tel"],
    .cr-form .cr-select-wrap select,
    .cr-form .cr-select-wrap select.nice-select {
        height: 40px !important;
        font-size: 12px !important;
        line-height: 40px !important;
    }

    .cr-submit {
        font-size: 13px !important;
        padding: 11px 16px !important;
    }
}