/* Staffing Solutions Page Specific Styles */

/* Root and Global Overrides for this page */
.staffing-solutions-page {
    background-color: #ffffff;
    font-family: 'Outfit', 'Inter', sans-serif;
    padding: 0;
}

/* Hero Section */
.staffing-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/staffing-solution.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 955px;
    padding: 0;
    color: #ffffff;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 600;
    line-height: 72px;
    letter-spacing: 0px;
    font-family: 'Outfit';
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 797px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    margin-bottom: 0px;
}

/* Staffing Services Section (Sticky Left Layout) */
.staffing-services-section {
    padding: 80px 0;
}

.section-title,
.how-works-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: rgba(13, 1, 0, 1);
    font-family: 'Outfit';
    letter-spacing: 2px;
    line-height: 40px;
    margin-top: 35px;
}

.services-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    margin-top: 130px;
}

.staffing-services-container {
    max-width: 1440px;
    padding: 20px;
    margin: auto;
}

.services-left {
    flex: 0 0 504px;
    position: sticky;
    top: 100px;
}

.sticky-image-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.sticky-image-wrapper img {
    width: 100%;
    height: 600px;
    display: block;
    object-fit: cover;
}

.services-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 671px;
    gap: 40px;
}

.service-design-card {
    background: #ffffff;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.card-tags span {
    font-size: 13px;
    font-weight: 600;
    color: #1989FB;
    background: rgba(25, 137, 251, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
}

.service-details h2 {
    font-size: 34px;
    font-weight: 500;
    color: #0D0100;
    font-family: 'Outfit';
    line-height: 34px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.service-details p,
.service-details li {
    font-size: 24px;
    color: #0D0100;
    line-height: 37px;
    font-family: 'Outfit';
    font-weight: 300;
    letter-spacing: 0px;
    margin-bottom: 10px;
}

.service-details span {
    font-size: 24px;
    color: #0D0100;
    line-height: 37px;
    font-family: 'Outfit';
    font-weight: 400;
    letter-spacing: 0px;
}

.card-action .service-btn {
    display: inline-block;
    background: #1989FB;
    color: #fff;
    padding: 12px 28px;
    border-radius: 90px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: flex;
    padding: 15px 24px 15px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 90px;
}

.hero-btn-primary {
    background: #1989FB;
    color: #FFF;
    border: none;
}

.hero-btn-secondary {
    background: #FFF;
    color: #0D0100;
    border: 1px solid #0D0100;
}

.hero-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 5% 0px 15% 0px;
}

.card-action .service-btn:hover {
    background: #0d7be8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 137, 251, 0.3);
}

/* Uniform Sections Wrapper - Only for screens 767px and above */
@media (min-width: 767px) {
    .uniform-sections-wrapper {
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
        max-width: 1260px;
    }

    .uniform-sections-wrapper .staffing-services-section,
    .uniform-sections-wrapper .how-works-section,
    .uniform-sections-wrapper .ready-strengthen-section,
    .uniform-sections-wrapper .staffing-services-container,
    .uniform-sections-wrapper .how-works-container {
        padding-left: 0;
        padding-right: 0;
        max-width: unset;
    }

    .how-works-grid {
        margin: 0 -42.5px;
    }
}

/* How Staffing Process Works */
.how-works-section {
    padding: 100px 0;
}

.how-step-col {
    padding-left: 42.5px;
    padding-right: 42.5px;
}


.how-works-title {
    margin-bottom: 4rem;
}

.how-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 24px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.how-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: #1989FB;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-step h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0D235C;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.how-step p {
    font-size: 16px;
    color: #524E4E;
    line-height: 1.6;
}

.how-arrow {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    width: 180px;
}

.top-arrow {
    top: -30px;
    right: -85px;
}

.bottom-arrow {
    bottom: -30px;
    right: -85px;
    transform: scaleY(-1);
}

/* Ready to Strengthen Section (Copied from home.css) */
.ready-strengthen-section {
    padding: 178px 24px 80px;
}

.ready-strengthen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #fff;
    color: #0D0100;
    border: 1px solid rgba(13, 1, 0, 0.25);
    border-radius: 90px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.ready-strengthen-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.ready-strengthen-image {
    object-fit: contain;
    object-position: bottom right;
    max-width: 563px;
    position: absolute;
    right: 56px;
    bottom: 0;
}

/* Responsiveness for 1920px */
@media (min-width: 1900px) {

    .container,
    .staffing-services-container {
        max-width: 1750px;
        margin: 0 auto;
    }

    .hero-subtitle {
        font-size: 32px;
        max-width: 1200px;
    }

    .services-right {
        max-width: 950px;
    }

    .service-details h2 {
        font-size: 52px;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .service-details li::marker {
        font-size: 18px;
    }
}

@media (min-width: 1440px) {
    .services-container {
        gap: 95px;
    }
}

@media (max-width: 1440px) {
       .staffing-services-container {
        max-width: 1260px;
    }
    .ready-strengthen-card {
        max-width: 1235px;
    } 
    .how-works-section .container {
        max-width: 1330px;
    }
}

/* Responsiveness for sizes less than 1440px */
@media (max-width: 1439px) {
    .staffing-hero {
        border-radius: 0 0 20px 20px;
    }
    .services-container {
        gap: 20px;
    }

    .services-right {
        gap: 20px;
    }
}

/* Responsiveness for 375px and general mobile */
@media (max-width: 1200px) {
    .how-arrow {
        display: none;
    }
}

@media (max-width: 1024px) {
    .ready-strengthen-section {
        padding: 48px 20px 64px;
    }

    .ready-strengthen-image {
        max-height: 320px;
        object-position: center bottom;
    }
}

@media (max-width: 991px) {
    .services-container {
        flex-direction: column;
        margin-top: 40px;
    }

    .services-right {
        max-width: 100%;
    }

    .hero-btn {
        margin: 25px 0;
    }

    .services-left {
        position: static;
        width: 100%;
        flex: auto;
    }

    .staffing-hero {
        height: 600px;
    }

    .service-details h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .service-details p,
    .service-details li,
    .service-details span {
        font-size: 18px;
        line-height: 1.5;
    }

    .sticky-image-wrapper img {
        height: auto;
        max-height: 400px;
    }

    /* Add gaps between How Works cards on tablet/mobile */
    .how-works-grid {
        gap: 30px;
    }

    .how-step-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
        .staffing-hero {
        height: 480px;
        border-radius: 0 0 20px 20px;
    }
    /* Common css for mobile hero section */
    .hero-title {
        font-size: 27px;
        line-height: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 18px;
        margin-bottom: 25px;
    }

    .hero-btn {
        margin: 0;
        font-size: 12px;
        padding: 10px 14px;
        height: unset;
    }

    .service-design-card {
        padding: 10px 10px;
        background-color: transparent;
        border-radius: 0;
    }

    .service-details h2 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .service-details p,
    .service-details li,
    .service-details span {
        font-size: 16px;
        line-height: 1.5;
    }

    .how-works-section {
        padding: 60px 0;
    }

    /* Add gaps between How Works cards on mobile */
    .how-works-grid {
        gap: 20px;
        flex-direction: column;
    }

    .how-step {
        margin-bottom: 0px;
    }

    .how-step-col:last-child {
        padding-right: 42.5px;
    }

    .card-action {
        flex-direction: row;
        align-items: stretch;
        gap: 10px !important;
    }

    .ready-strengthen-section {
        padding: 40px 16px 56px;
    }

    .ready-strengthen-image {
        max-height: 280px;
    }

    .ready-strengthen-btn {
        padding: 12px 24px;
        font-size: 15px;
    }

    .hero-action-btn {
        flex-wrap: nowrap !important;
    }

    .section-title,
    .how-works-title {
        font-size: 32px;
    }

    .how-step p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .ready-strengthen-section {
        padding: 32px 12px 48px;
    }

    .ready-strengthen-image {
        max-height: 240px;
    }

    .staffing-hero {
        height: 480px;
        border-radius: 0 0 16px 16px;
    }

    .service-details h2 {
        font-size: 22px;
    }

    .service-details p,
    .service-details li,
    .service-details span {
        font-size: 14px;
        line-height: 1.4;
    }

    .section-title,
    .how-works-title {
        font-size: 26px;
        line-height: 34px;
    }
}

@media (max-width: 375px) {
    .staffing-hero {
        height: 420px;
    }

    .how-step {
        padding: 30px 16px;
    }
}

.hero-action-btn {
    justify-content: center;
}