



/*--------------------------------------------------------------
>>> [COMPLETE] Hire a Worker Page (V2 - Multi-Step)
--------------------------------------------------------------*/
/*
*


/* --- 1. Main Page Wrapper --- */
.kymjo-hire-page-wrapper {
    background-color: #f8f9fa; /* A very light, clean background */
}

/* --- 2. Hero Section --- */
.hire-hero-section {
    background-color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    border-bottom: 1px solid #e9ecef;
}
.hire-hero-section .container {
    max-width: 800px;
    margin: 0 auto;
}
.hire-hero-section .hero-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin: 0 0 20px 0;
}
.hire-hero-section .hero-subtitle {
    font-size: 1.2em;
    color: #495057;
    line-height: 1.7;
    margin: 0 auto 30px auto;
}
.hire-hero-section .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hire-hero-section .stat-item {
    text-align: center;
}
.hire-hero-section .stat-number {
    display: block;
    font-size: 2em;
    font-weight: 700;
    color: #0073aa;
}
.hire-hero-section .stat-label {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: 500;
}

/* --- 3. Trust Badges Section --- */
.trust-badges-section {
    background-color: #ffffff;
    padding: 20px;
}
.trust-badges-section .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.trust-badges-section .badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    font-weight: 500;
    color: #495057;
}
.trust-badges-section .badge svg {
    width: 22px;
    height: 22px;
    color: #0073aa;
    flex-shrink: 0;
}

/* --- 4. "How It Works" Section --- */
.how-it-works-section {
    padding: 50px 20px;
}
.section-title-centered {
    text-align: center;
    font-size: 2.2em;
    font-weight: 600;
    color: #343a40;
    margin: 0 auto 40px auto;
}
.kymjo-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.process-step {
    text-align: center;
    padding: 20px;
}
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0073aa;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 3px solid #e3f2fd;
}
.step-title {
    font-size: 1.3em;
    color: #343a40;
    margin: 0 0 10px 0;
}
.step-description {
    font-size: 1em;
    color: #495057;
    line-height: 1.6;
    margin: 0;
}

/* --- 5. Improved Testimonial Section --- */
.testimonial-section-v2 {
    padding: 50px 20px;
    background-color: #00233b; /* Dark blue background */
}
.testimonial-card-v4 {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    position: relative;
    padding: 20px;
}
.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    margin: 0 auto 20px auto;
    display: block;
}
.testimonial-card-v4 blockquote {
    font-size: 1.25em;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 15px 0;
    opacity: 0.95;
    border: none;
    padding: 0;
}
.testimonial-card-v4 cite {
    font-weight: 600;
    font-style: normal;
    opacity: 0.9;
}

/*--------------------------------------------------------------
>>> SECTION 6: WORLD-CLASS HIRE FORM [V3 REDESIGN]
--------------------------------------------------------------*/

/* --- 6.1: Main Form Section & Layout --- */
.kymjo-hire-page-wrapper .hire-form-container {
    background-color: #ffffff;
    padding: 80px 0;
}
.kymjo-hire-page-wrapper .kymjojobs-professional-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- 6.2: Typography & Titles --- */
.kymjo-hire-page-wrapper .hire-form-container .form-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    color: #1d2d35;
    margin: 0 0 40px 0;
}

/* --- 6.3: Multi-Step Progress Bar --- */
.kymjo-hire-page-wrapper .step-progress-bar {
    max-width: 400px;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    margin: 0 auto 40px auto;
    overflow: hidden;
}
.kymjo-hire-page-wrapper .step-progress {
    width: 0%;
    height: 100%;
    background-color: #0073aa;
    border-radius: 4px;
    transition: width 0.4s ease-in-out;
}

/* --- 6.4: Form Field Grouping (Fieldset & Legend) --- */
.kymjo-hire-page-wrapper #advanced-hiring-form fieldset,
.kymjo-hire-page-wrapper .form-step {
    border: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.kymjo-hire-page-wrapper #advanced-hiring-form legend,
.kymjo-hire-page-wrapper .form-step .step-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #1d2d35;
    padding: 0;
    margin: 0 0 25px 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

/* --- 6.5: Form Grid & Input Styling --- */
.kymjo-hire-page-wrapper .hire-form-container .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
.kymjo-hire-page-wrapper .hire-form-container .kymjojobs-form-group {
    margin-bottom: 0;
}
.kymjo-hire-page-wrapper .hire-form-container .kymjojobs-form-group label {
    display: block;
    font-weight: 600;
    color: #344751;
    margin-bottom: 8px;
    font-size: 0.95em;
}
.kymjo-hire-page-wrapper .kymjojobs-form-group input,
.kymjo-hire-page-wrapper .kymjojobs-form-group select,
.kymjo-hire-page-wrapper .kymjojobs-form-group textarea {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kymjo-hire-page-wrapper .kymjojobs-form-group input:focus,
.kymjo-hire-page-wrapper .kymjojobs-form-group select:focus,
.kymjo-hire-page-wrapper .kymjojobs-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

/* --- 6.6: Special Form Elements (Review, Agreement) --- */
.kymjo-hire-page-wrapper .review-step-summary {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.kymjo-hire-page-wrapper .agreement-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}
.kymjo-hire-page-wrapper .agreement-box input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* --- 6.7: Navigation & Submission Buttons --- */
.kymjo-hire-page-wrapper .form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}
.kymjo-hire-page-wrapper .form-navigation button,
.kymjo-hire-page-wrapper .form-navigation .kymjo-button-primary {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1em;
}




/* --- 8. Value Propositions Section --- */
.value-props-section {
    padding: 50px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}
.value-props-section .container {
    max-width: 1000px;
    margin: 0 auto;
}
.value-props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.prop-card {
    text-align: center;
    padding: 25px;
}
.prop-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3em;
    color: #343a40;
    margin: 0 0 10px 0;
}
.prop-card h3 svg {
    width: 24px;
    height: 24px;
    color: #0073aa;
    flex-shrink: 0;
}
.prop-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/*--------------------------------------------------------------
>>> SECTION 7 & 8: OTHER PAGE SECTIONS
--------------------------------------------------------------*/
.kymjo-hire-page-wrapper .value-props-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}
.kymjo-hire-page-wrapper .value-props-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.kymjo-hire-page-wrapper .value-props-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.kymjo-hire-page-wrapper .hiring-type-selector { margin-bottom: 40px; text-align: center; }
.kymjo-hire-page-wrapper .hiring-type-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.kymjo-hire-page-wrapper .hiring-card { border: 2px solid #e9ecef; padding: 25px; border-radius: 12px; cursor: pointer; transition: all 0.2s ease-in-out; width: 100%; max-width: 350px; }
.kymjo-hire-page-wrapper .hiring-card.active { border-color: #0073aa; background-color: #f0f9ff; box-shadow: 0 5px 15px rgba(0, 115, 170, 0.1); }

/*--------------------------------------------------------------
>>> SECTION 9: RESPONSIVE DESIGN
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .kymjo-hire-page-wrapper .hire-hero-section,
    .kymjo-hire-page-wrapper .trust-badges-section,
    .kymjo-hire-page-wrapper .how-it-works-section,
    .kymjo-hire-page-wrapper .testimonial-section-v2,
    .kymjo-hire-page-wrapper .value-props-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .kymjo-hire-page-wrapper .hire-hero-section .container,
    .kymjo-hire-page-wrapper .trust-badges-section .container,
    .kymjo-hire-page-wrapper .kymjo-process-steps,
    .kymjo-hire-page-wrapper .testimonial-card-v4,
    .kymjo-hire-page-wrapper .value-props-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    .kymjo-hire-page-wrapper .hire-form-container .form-grid {
        grid-template-columns: 1fr;
    }
    .kymjo-hire-page-wrapper .value-props-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
>>> SECTION 10: SUBMISSION OVERLAY (SUCCESS MESSAGE)
--------------------------------------------------------------*/
.submission-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.submission-overlay.visible {
    display: flex;
    opacity: 1;
}
.submission-overlay .spinner-container,
.submission-overlay .success-message-container {
    display: none;
}
.submission-overlay.loading .spinner-container {
    display: block;
}
.submission-overlay.success .success-message-container {
    display: block;
    animation: fadeIn 0.5s ease;
}
.submission-overlay .spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 115, 170, 0.2);
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: kymjojobs_spin 1s linear infinite;
}
.submission-overlay .success-message-container h3 {
    font-size: 2.2em;
    color: #28a745;
    margin: 0 0 15px 0;
}
.submission-overlay .success-message-container p {
    font-size: 1.1em;
    color: #495057;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes kymjojobs_spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/*--------------------------------------------------------------
>>> SECTION 11: ANCHOR LINK & PULSING BUTTON
--------------------------------------------------------------*/

/* --- 11.1: Positioning & Centering the Button Container --- */
.kjo-page-anchor-nav {
    text-align: center;
    /* This negative margin cleverly pulls the button up into the hero section */
    margin: -20px 0 40px 0;
}

/* --- 11.2: The Pulsing Shadow Animation --- */
@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 115, 170, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0);
    }
}

/* --- 11.3: Applying the Animation to the Button --- */
.kjo-page-anchor-nav .kjo-button-primary {
    /* The animation runs every 2.5 seconds and loops forever */
    animation: pulse-shadow 2.5s infinite;
}

