/* =========================================================
VYRQO TECHNOLOGIES
CAREERS PAGE
========================================================= */


/* =========================================================
CAREERS HERO
========================================================= */

.careers-hero {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background: #ffffff;
}


.careers-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 68%;

    background-image: url("../images/mid2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.careers-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 28%,
            rgba(255,255,255,0.98) 35%,
            rgba(255,255,255,0.92) 42%,
            rgba(255,255,255,0.72) 49%,
            rgba(255,255,255,0.28) 58%,
            rgba(255,255,255,0.03) 70%
        );
}


.careers-hero-inner {
    position: relative;
    z-index: 3;

    min-height: 590px;

    display: flex;
    align-items: center;
}


.careers-hero-content {
    width: 50%;
    max-width: 680px;

    padding: 60px 0;
}


.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: #737c83;

    font-size: 12px;
}


.breadcrumb strong {
    color: #ca8305;
}


.careers-eyebrow,
.career-label {
    display: block;

    margin-bottom: 11px;

    color: #ca8305;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.careers-eyebrow {
    color: #66717a;
}


.careers-hero h1 {
    margin-bottom: 21px;

    color: #151b20;

    font-family: "Manrope", sans-serif;

    font-size: clamp(50px, 4.5vw, 74px);

    font-weight: 800;

    line-height: 0.99;

    letter-spacing: -0.045em;
}


.careers-hero h1 span {
    color: #c77f05;
}


.careers-hero-content > p {
    max-width: 610px;

    margin-bottom: 29px;

    color: #465058;

    font-size: 16px;

    line-height: 1.7;
}


.careers-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


.careers-side-text {
    position: absolute;

    top: 75px;
    right: 18px;

    z-index: 5;

    display: grid;

    gap: 8px;

    color: rgba(255,255,255,0.75);

    font-size: 11px;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.careers-side-text i {
    width: 36px;
    height: 2px;

    margin-top: 7px;

    background: #dda326;
}


/* =========================================================
CAREER STATISTICS
========================================================= */

.career-stats {
    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f7f8
        );

    border-top: 1px solid #e7e9eb;
    border-bottom: 1px solid #e2e5e7;
}


.career-stats-grid {
    min-height: 135px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    align-items: center;
}


.career-stat {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 17px;

    padding: 10px 20px;

    border-right: 1px solid #dadee1;
}


.career-stat:last-child {
    border-right: 0;
}


.career-stat-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    color: #d28a07;
}


.career-stat strong,
.career-stat span {
    display: block;
}


.career-stat strong {
    color: #1e2429;

    font-size: 14px;
}


.career-stat span {
    margin-top: 3px;

    color: #737b81;

    font-size: 11px;
}


/* =========================================================
GENERAL CAREER HEADING
========================================================= */

.career-heading {
    max-width: 790px;

    margin: 0 auto 38px;

    text-align: center;
}


.career-heading h2,
.career-life-content h2,
.internship-content h2 {
    color: #171d21;

    font-family: "Manrope", sans-serif;

    font-size: clamp(32px, 3.1vw, 47px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -0.04em;
}


.career-heading h2 span,
.career-life-content h2 span,
.internship-content h2 span {
    color: #c98308;
}


.career-heading > p {
    max-width: 680px;

    margin: 10px auto 0;

    color: #687078;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
LIFE AT VYRQO
========================================================= */

.career-life {
    padding: 78px 0;

    background: #ffffff;
}


.career-life-grid {
    display: grid;

    grid-template-columns: 1.08fr 0.92fr;

    gap: 68px;

    align-items: center;
}


.career-life-image {
    height: 500px;

    overflow: hidden;

    border-radius: 10px;

    box-shadow:
        0 16px 38px
        rgba(21,31,38,0.12);
}


.career-life-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


.career-life-content > p {
    margin-top: 17px;

    color: #626b72;

    font-size: 14px;

    line-height: 1.7;
}


.career-life-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

    margin-top: 29px;
}


.career-life-features > div {
    display: grid;

    grid-template-columns: 39px 1fr;

    gap: 11px;

    align-items: center;
}


.life-feature-icon {
    width: 38px;
    height: 38px;

    color: #d18908;
}


.career-life-features strong,
.career-life-features small {
    display: block;
}


.career-life-features strong {
    color: #2d3439;

    font-size: 12px;
}


.career-life-features small {
    margin-top: 2px;

    color: #747c82;

    font-size: 10px;
}


/* =========================================================
WHY JOIN
========================================================= */

.why-careers {
    padding: 68px 0 75px;

    background:
        linear-gradient(
            180deg,
            #f8fafb,
            #f3f5f6
        );

    border-top: 1px solid #e5e8ea;
    border-bottom: 1px solid #e5e8ea;
}


.career-benefits-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.career-benefit {
    min-height: 235px;

    padding: 28px 24px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e5e8ea;

    border-radius: 9px;

    box-shadow:
        0 7px 22px
        rgba(20,29,36,0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.career-benefit:hover {
    transform: translateY(-6px);

    box-shadow:
        0 17px 35px
        rgba(20,29,36,0.1);
}


.career-benefit-icon {
    width: 50px;
    height: 50px;

    margin: 0 auto 16px;

    color: #d08807;
}


.career-benefit h3 {
    margin-bottom: 9px;

    color: #20262b;

    font-size: 16px;
}


.career-benefit p {
    color: #6c747a;

    font-size: 12px;

    line-height: 1.58;
}


/* =========================================================
OPEN POSITIONS
========================================================= */

.open-positions {
    padding: 72px 0;

    background: #ffffff;
}


.jobs-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


.job-card {
    position: relative;

    min-height: 290px;

    padding: 27px;

    background: #ffffff;

    border: 1px solid #e3e6e8;

    border-radius: 10px;

    box-shadow:
        0 8px 25px
        rgba(21,30,37,0.06);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.job-card:hover {
    transform: translateY(-5px);

    border-color: #e1bf76;

    box-shadow:
        0 17px 35px
        rgba(21,30,37,0.1);
}


.job-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 20px;
}


.job-icon {
    min-width: 45px;
    height: 45px;

    padding: 0 10px;

    display: grid;

    place-items: center;

    color: #ca8305;

    border: 1px solid #db9b26;

    border-radius: 8px;

    font-size: 15px;
    font-weight: 800;
}


.job-type {
    padding: 6px 10px;

    color: #a96d00;

    background: #fff7e6;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;
}


.job-card h3 {
    margin-bottom: 10px;

    color: #1d2328;

    font-size: 21px;
}


.job-card > p {
    max-width: 580px;

    color: #687078;

    font-size: 13px;

    line-height: 1.65;
}


.job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 21px;
}


.job-meta span {
    padding: 6px 10px;

    color: #5f676d;

    background: #f3f5f6;

    border-radius: 4px;

    font-size: 10px;
}


.job-link {
    display: inline-flex;

    gap: 6px;

    margin-top: 23px;

    color: #cc8305;

    font-size: 12px;

    font-weight: 800;
}


.general-application {
    margin-top: 24px;

    padding: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            120deg,
            #f7f8f9,
            #ffffff
        );

    border: 1px solid #e2e5e7;

    border-radius: 10px;
}


.general-application h3 {
    margin-bottom: 7px;

    color: #20262b;

    font-size: 21px;
}


.general-application p {
    max-width: 720px;

    color: #6c747a;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
INTERNSHIP
========================================================= */

.internship-section {
    padding: 72px 0;

    background:
        linear-gradient(
            135deg,
            #10191f,
            #17242c
        );

    color: #ffffff;
}


.internship-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.internship-content h2 {
    color: #ffffff;
}


.internship-content > p {
    margin-top: 16px;

    max-width: 630px;

    color: #cbd0d3;

    font-size: 13px;

    line-height: 1.7;
}


.internship-content .btn {
    margin-top: 25px;
}


.internship-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 17px;
}


.internship-points > div {
    min-height: 130px;

    padding: 22px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: rgba(255,255,255,0.035);

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 8px;
}


.internship-points strong {
    color: #e1a424;

    font-size: 24px;
}


.internship-points span {
    margin-top: 7px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
HIRING PROCESS
========================================================= */

.hiring-process {
    padding: 68px 0 76px;

    background: #ffffff;
}


.hiring-grid {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    gap: 26px;

    align-items: center;

    margin-top: 42px;
}


.hiring-step {
    text-align: center;
}


.hiring-number {
    margin-bottom: 7px;

    color: #cf8607;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.hiring-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 12px;

    padding: 18px;

    color: #ce8507;

    border: 2px solid #d99a20;

    border-radius: 50%;
}


.hiring-step h3 {
    margin-bottom: 6px;

    color: #23292e;

    font-size: 16px;
}


.hiring-step p {
    max-width: 165px;

    margin: auto;

    color: #70787e;

    font-size: 11px;

    line-height: 1.5;
}


.hiring-arrow {
    color: #181818;

    font-size: 27px;
}


/* =========================================================
CAREER CTA
========================================================= */

.career-cta {
    position: relative;

    min-height: 300px;

    overflow: hidden;

    color: #ffffff;

    background: #111c23;
}


.career-cta-image {
    position: absolute;

    inset: 0;

    background-image:
        url("../images/banner1.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


.career-cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(9,17,23,0.96) 0%,
            rgba(9,17,23,0.84) 43%,
            rgba(9,17,23,0.31) 75%,
            rgba(9,17,23,0.16) 100%
        );
}


.career-cta-content {
    position: relative;

    z-index: 3;

    padding: 55px 0;
}


.career-cta-label {
    display: block;

    margin-bottom: 10px;

    color: #d4d8da;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.career-cta h2 {
    color: #ffffff;

    font-family: "Manrope", sans-serif;

    font-size: clamp(33px, 3.2vw, 49px);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -0.04em;
}


.career-cta h2 span {
    color: #edae25;
}


.career-cta-content > p {
    margin-top: 9px;

    max-width: 620px;

    color: #d2d7da;

    font-size: 13px;
}


.career-cta-buttons {
    display: flex;

    gap: 14px;

    margin-top: 24px;
}


.career-cta-side {
    position: absolute;

    top: 50%;
    right: 6%;

    z-index: 3;

    display: grid;

    gap: 4px;

    color: #dda01f;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.17em;

    text-transform: uppercase;

    transform: translateY(-50%);
}


.career-cta-side i {
    width: 34px;
    height: 2px;

    margin-top: 8px;

    background: #dfa221;
}


/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .careers-hero-content {
        width: 58%;
    }


    .careers-hero-image {
        width: 72%;
    }


    .career-life-grid {
        gap: 40px;
    }


    .career-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 900px) {

    .careers-side-text {
        display: none;
    }


    .career-stats-grid {
        grid-template-columns: 1fr 1fr;
    }


    .career-stat {
        border-bottom: 1px solid #dadee1;
    }


    .career-life-grid,
    .internship-grid {
        grid-template-columns: 1fr;
    }


    .career-life-image {
        height: 430px;
    }


    .jobs-grid {
        grid-template-columns: 1fr;
    }


    .hiring-grid {
        grid-template-columns: 1fr 1fr;

        gap: 38px;
    }


    .hiring-arrow {
        display: none;
    }

}


@media (max-width: 720px) {

    .careers-hero {
        min-height: 0;
    }


    .careers-hero-inner {
        min-height: 0;

        display: block;
    }


    .careers-hero-image {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 350px;

        background-size: cover;
        background-position: center;
    }


    .careers-hero-overlay {
        background:
            linear-gradient(
                180deg,
                #ffffff 0%,
                #ffffff 50%,
                rgba(255,255,255,0.98) 57%,
                rgba(255,255,255,0.58) 71%,
                rgba(255,255,255,0.06) 88%
            );
    }


    .careers-hero-content {
        width: 100%;

        padding: 38px 0 24px;
    }


    .careers-hero h1 {
        font-size: 43px;
    }


    .career-life {
        padding: 55px 0;
    }


    .career-life-image {
        height: 330px;
    }


    .career-life-features {
        grid-template-columns: 1fr;
    }


    .career-benefits-grid {
        grid-template-columns: 1fr;
    }


    .general-application {
        flex-direction: column;

        align-items: flex-start;
    }


    .internship-points {
        grid-template-columns: 1fr;
    }


    .hiring-grid {
        grid-template-columns: 1fr 1fr;
    }


    .career-cta {
        min-height: 360px;
    }


    .career-cta-overlay {
        background: rgba(9,17,23,0.76);
    }


    .career-cta-side {
        display: none;
    }

}


@media (max-width: 480px) {

    .careers-hero {
        min-height: 0;
    }


    .careers-hero-inner {
        min-height: 0;
    }


    .careers-hero-image {
        height: 290px;
    }


    .careers-hero-content {
        padding-bottom: 24px;
    }


    .careers-hero h1 {
        font-size: 36px;
    }


    .careers-hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .career-stats-grid {
        grid-template-columns: 1fr;
    }


    .career-stat {
        justify-content: flex-start;

        border-right: 0;
    }


    .career-life-image {
        height: 280px;
    }


    .hiring-grid {
        grid-template-columns: 1fr;
    }


    .career-cta-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

}
/* =========================================================
   DYNAMIC CAREERS
========================================================= */

.jobs-message {
    max-width: 760px;
    margin: 0 auto 35px;
    padding: 20px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    color: #5d6469;
}

.jobs-message.empty {
    border-left: 4px solid #d6a528;
}

.jobs-message.error {
    border-left: 4px solid #b42318;
    color: #8a1c13;
}


/* =========================================================
   JOB BUTTON
========================================================= */

button.job-link {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-align: left;
}


/* =========================================================
   CAREER MODAL
========================================================= */

body.career-modal-open {
    overflow: hidden;
}

.career-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background:
        rgba(5, 10, 13, 0.78);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.career-modal.active {
    opacity: 1;
    visibility: visible;
}

.career-modal-panel {
    position: relative;

    width: min(900px, 100%);
    max-height: calc(100vh - 60px);

    overflow-y: auto;

    background: #ffffff;

    border-radius: 4px;

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.32);

    padding: 48px;
}

.career-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e1e4e6;
    border-radius: 50%;

    background: #ffffff;

    color: #11181c;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.career-modal-close:hover {
    background: #11181c;
    color: #ffffff;
}

.career-modal-header {
    padding-right: 50px;
    margin-bottom: 32px;
}

.career-modal-header h2 {
    margin: 10px 0 12px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(
        28px,
        4vw,
        42px
    );

    line-height: 1.15;

    color: #11181c;
}

.career-modal-header h2 span {
    color: #d6a528;
}

.career-modal-header p {
    max-width: 680px;

    color: #697278;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   APPLICATION FORM
========================================================= */

.career-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.career-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.career-field-full {
    grid-column: 1 / -1;
}

.career-field label {
    color: #172026;

    font-size: 13px;
    font-weight: 700;
}

.career-field label strong {
    color: #d6a528;
}

.career-field input,
.career-field textarea {
    width: 100%;

    border: 1px solid #dfe3e5;

    border-radius: 3px;

    background: #ffffff;

    padding: 14px 15px;

    color: #172026;

    font-family: "Inter", sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.career-field input:focus,
.career-field textarea:focus {
    border-color: #d6a528;

    box-shadow:
        0 0 0 3px
        rgba(214, 165, 40, 0.12);
}

.career-field textarea {
    min-height: 120px;
    resize: vertical;
}

.career-field input[type="file"] {
    padding: 11px;
}

.career-field small {
    color: #7c858b;
    font-size: 11px;
}

.career-consent {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-top: 25px;

    color: #606a70;

    font-size: 12px;
    line-height: 1.6;
}

.career-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.career-consent a {
    color: #a87b12;
    font-weight: 700;
}

.career-submit {
    margin-top: 24px;
}

.career-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.career-form-message {
    margin-top: 20px;

    padding: 14px 16px;

    border-radius: 3px;

    font-size: 13px;
    line-height: 1.6;
}

.career-form-message.success {
    border: 1px solid #a9dac3;
    background: #ecf9f2;
    color: #067647;
}

.career-form-message.error {
    border: 1px solid #f0b9b5;
    background: #fff1f0;
    color: #b42318;
}


/* =========================================================
   RESPONSIVE APPLICATION FORM
========================================================= */

@media (max-width: 768px) {

    .career-modal {
        padding: 12px;
        align-items: flex-start;
    }

    .career-modal-panel {
        max-height: calc(100vh - 24px);

        padding:
            52px 22px 28px;
    }

    .career-modal-header {
        padding-right: 0;
    }

    .career-form-grid {
        grid-template-columns: 1fr;
    }

    .career-field-full {
        grid-column: auto;
    }

    .career-modal-close {
        top: 12px;
        right: 12px;
    }

}
