﻿.career-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 8%;
    background: #090909;
    position: relative;
    overflow: hidden;
}

    .career-hero::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: var(--theme-gradient);
        filter: blur(180px);
        opacity: .18;
    }

.career-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

    .career-content span {
        color: #4FA8E8;
        letter-spacing: 4px;
    }

    .career-content h1 {
        color: #fff;
        font-size: 64px;
        margin: 20px 0;
    }

    .career-content p {
        color: var(--paper-dim);
        font-size: 18px;
        line-height: 1.8;
    }

/*----------------*/

.jobs {
    padding: 110px 8%;
    background: var(--ink);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

    .section-title span {
        color: #4FA8E8;
        letter-spacing: 4px;
    }

    .section-title h2 {
        color: #fff;
        font-size: 48px;
        margin: 15px 0;
    }

    .section-title p {
        color: var(--paper-dim);
    }

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 35px;
}

.job-card {
    background: var(--ink-2);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 40px;
    transition: .35s;
    text-align: center;
}

    .job-card:hover {
        transform: translateY(-10px);
        border-color: #4FA8E8;
        box-shadow: 0 20px 40px rgba(62,107,255,.15);
    }

.job-icon {
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: var(--theme-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 25px;
}

.job-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.job-card p {
    color: var(--paper-dim);
    margin-bottom: 25px;
}

.job-card a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    background: var(--theme-gradient);
    transition: .35s;
}

    .job-card a:hover {
        transform: translateY(-3px);
    }

/*----------------*/

.why-rpm {
    padding: 110px 8%;
    background: #090909;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.benefit {
    background: var(--ink-2);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    text-align: center;
    padding: 35px;
    transition: .35s;
    font-size: 15px;
}

    .benefit:hover {
        transform: translateY(-8px);
        border-color: #4FA8E8;
    }

    .benefit h4 {
        color: #fff;
        font-size: 22px;
        margin: 20px 0 10px;
    }

    .benefit p {
        color: var(--paper-dim);
        line-height: 1.8;
    }

@media(max-width:768px) {

    .career-content h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 36px;
    }
}


/*=============APPLY NOW form================*/

.apply-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 20, 0.65);
    backdrop-filter: blur(4px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

    .apply-modal-overlay.show {
        display: flex !important;
    }

.apply-modal {
    background: #ffffff;
    color: #1e2433;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border-radius: 14px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
    animation: applyModalIn 0.25s ease;
    margin: auto;
}

@keyframes applyModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.apply-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #9aa0aa;
    cursor: pointer;
}

    .apply-modal-close:hover {
        color: #1e2433;
    }

.apply-modal-header {
    margin-bottom: 20px;
}

.apply-modal-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #4f5bd5;
    text-transform: uppercase;
}

.apply-modal-header h3 {
    font-size: 22px;
    margin-top: 6px;
    color: #1e2433;
}

.apply-form-group {
    margin-bottom: 16px;
}

    .apply-form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #4b5262;
        margin-bottom: 6px;
    }

.apply-form-control {
    width: 100%;
    background: #fafbfc;
    border: 1px solid #d8dbe1;
    color: #1e2433;
    padding: 11px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

    .apply-form-control:focus {
        outline: none;
        border-color: #4f5bd5;
        box-shadow: 0 0 0 3px rgba(79,91,213,0.12);
        background: #ffffff;
    }

.apply-file-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.apply-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4f5bd5, #6a4fd5);
    border: none;
    color: white;
    padding: 13px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    margin-top: 6px;
}

    .apply-submit-btn:hover {
        box-shadow: 0 8px 20px rgba(79, 91, 213, 0.35);
    }

    .apply-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.apply-success-msg {
    background: #e7f8ee;
    color: #1e9e5a;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 14px;
}

.apply-error-msg {
    background: #fbeaea;
    color: #d64545;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 14px;
}
