/* =========================================================
   JOIN US / CANDIDATE REGISTRATION PAGE
   File: /assets/css/joinus.css
   ========================================================= */

body {
    margin: 0;
    padding: 0;
}

/* Hero */
.shq-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    box-sizing: border-box;
    padding: 48px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #059669 100%);
}

.shq-hero::before,
.shq-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shq-hero::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -100px;
    background: rgba(255, 255, 255, 0.06);
}

.shq-hero::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -80px;
    background: rgba(255, 255, 255, 0.04);
}

.shq-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    color: #fff;

    padding-top: 30px;
}}

.shq-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.shq-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

.shq-hero h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.35;
}

.shq-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
}

/* Candidate registration page */
.candidate-page {
    box-sizing: border-box;
    width: 100%;
    padding: 55px 20px 70px;
    background: #f6fff9;
    font-family: 'Poppins', sans-serif;
}

.candidate-hero {
    max-width: 850px;
    margin: 0 auto 30px;
    text-align: center;
}

.candidate-hero h2 {
    margin: 0 0 10px;
    color: #0b3d2e;
    font-size: 30px;
    line-height: 1.3;
}

.candidate-hero p {
    margin: 0 auto;
    color: #5b6470;
    font-size: 15px;
    line-height: 1.7;
}

.candidate-form-section {
    max-width: 1050px;
    margin: 0 auto;
}

.candidate-form {
    padding: 32px;
    border: 1px solid #dce9e1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.candidate-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.candidate-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.candidate-field-full {
    grid-column: 1 / -1;
}

.candidate-field label {
    color: #25352d;
    font-size: 14px;
    font-weight: 600;
}

.candidate-field label span {
    color: #b91c1c;
}

.candidate-field input,
.candidate-field select,
.candidate-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cbd5d0;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidate-field textarea {
    min-height: 130px;
    resize: vertical;
}

.candidate-field input:focus,
.candidate-field select:focus,
.candidate-field textarea:focus {
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}

.candidate-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.candidate-form-actions button {
    min-height: 49px;
    padding: 0 30px;
    border: 0;
    border-radius: 8px;
    background: #047857;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.candidate-form-actions button:hover {
    transform: translateY(-1px);
    background: #064e3b;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



        .candidate-skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 10px;
            margin-top: 10px;
        }

        .candidate-skill-option {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 10px 12px;
            border: 1px solid #d9e3dc;
            border-radius: 7px;
            background: #fff;
            cursor: pointer;
            font-size: 14px;
        }

        .candidate-skill-option input {
            width: auto;
            margin: 0;
            flex-shrink: 0;
        }

        .candidate-skill-option:hover {
            border-color: #047857;
            background: #f3fbf6;
        }

        .candidate-field select,
        .candidate-field input,
        .candidate-field textarea {
            box-sizing: border-box;
            max-width: 100%;
        }

        .candidate-field select:disabled {
            cursor: not-allowed;
            background: #f0f0f0;
        }

        .candidate-form-message {
            margin-bottom: 18px;
            padding: 12px 15px;
            border-radius: 6px;
            background: #fff8e1;
            color: #6d5200;
        }

        .candidate-field-full {
            grid-column: 1 / -1;
        }

        .candidate-honeypot {
            position: absolute;
            left: -9999px;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

@media (max-width: 768px) {
    .shq-hero {
        min-height: auto;
        padding: 52px 18px;
    }

    .shq-hero p {
        font-size: 15px;
    }

    .candidate-page {
        padding: 40px 15px 50px;
    }

    .candidate-hero h2 {
        font-size: 25px;
    }

    .candidate-form {
        padding: 24px 18px;
    }

    .candidate-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .candidate-field-full {
        grid-column: auto;
    }

    .candidate-form-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shq-eyebrow {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .shq-hero h1 {
        font-size: 31px;
    }

    .shq-hero h2 {
        font-size: 19px;
    }

    .candidate-form {
        padding: 20px 14px;
    }
}
