
/* =========================================================
   SANVIRA GLOBAL SOLUTIONS
   RECRUITMENT PAGE CSS
   Premium + Compact + Responsive
========================================================= */

:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --success: #198754;
    --dark: #17324d;
    --muted: #6c757d;
    --light-blue: #eef5ff;
    --border: #e5eaf0;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(23, 50, 77, 0.07);
    --shadow-hover: 0 15px 35px rgba(23, 50, 77, 0.13);
    --radius: 16px;
}


/* =========================================================
   GLOBAL
========================================================= */

.recruitment-hero,
.recruitment-hero *,
.job-section,
.job-section *,
.section-padding,
.section-padding *,
.animated-divider,
.animated-divider * {
    box-sizing: border-box;
}

.recruitment-hero img {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.recruitment-hero {
    position: relative;
    overflow: hidden;

    padding: 58px 0;

    color: var(--white);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255,255,255,0.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #0d6efd 0%,
            #084298 100%
        );
}

.recruitment-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -170px;
    top: -180px;

    border-radius: 50%;

    background: rgba(255,255,255,0.06);
}

.recruitment-hero::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: -120px;
    bottom: -130px;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);
}

.recruitment-hero .container {
    position: relative;
    z-index: 2;
}

.recruitment-hero .row {
    --bs-gutter-x: 35px;
    --bs-gutter-y: 20px;
}

.recruitment-hero h1 {
    margin: 10px 0 0;

    max-width: 720px;

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1px;
}

.recruitment-hero p {
    max-width: 650px;

    margin-bottom: 0;

    font-size: 17px;

    line-height: 1.65;

    color: rgba(255,255,255,0.92);
}

.recruitment-hero .badge {
    font-size: 12px;

    font-weight: 700;

    letter-spacing: .5px;

    border-radius: 50px;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.recruitment-hero .btn {
    font-weight: 600;

    padding: 11px 23px;

    transition: all .25s ease;
}

.recruitment-hero .btn:hover {
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;

    max-width: 470px;

    max-height: 350px;

    object-fit: contain;

    filter: drop-shadow(
        0 18px 25px rgba(0,0,0,.15)
    );
}


/* =========================================================
   QUICK STATS
========================================================= */

.recruitment-hero + section {
    padding: 20px 0 !important;

    border-bottom: 1px solid #edf0f4;
}

.recruitment-hero + section .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 5px;
}

.recruitment-hero + section .p-3 {
    padding: 10px !important;
}

.recruitment-hero + section h2 {
    margin: 0;

    font-size: 26px;
    font-weight: 800;
}

.recruitment-hero + section small {
    font-size: 13px;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section-padding,
.job-section {
    padding: 48px 0;
}

.section-padding.bg-light {
    background: #f7f9fc !important;
}

.section-tag {
    display: inline-block;

    padding: 6px 14px;

    border-radius: 50px;

    background: var(--light-blue);

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .8px;

    line-height: 1.4;
}

.section-title {
    margin-bottom: 8px;

    color: var(--dark);

    font-size: clamp(27px, 3vw, 36px);

    line-height: 1.2;

    font-weight: 800;
}

.section-subtitle {
    max-width: 720px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   JOB SECTION
========================================================= */

.job-section {
    background: var(--white);
}

.job-section .container > .d-flex {
    margin-bottom: 25px !important;
}

.job-heading {
    margin-bottom: 3px !important;

    color: var(--dark);

    font-size: 29px;

    line-height: 1.2;

    font-weight: 800;
}

.job-subheading {
    color: var(--muted);

    font-size: 14px;
}

.jobSwiper {
    width: 100%;

    padding: 5px 2px 12px;
}

.jobSwiper .swiper-wrapper {
    align-items: stretch;
}

.jobSwiper .swiper-slide {
    height: auto;
}


/* =========================================================
   JOB CARD
========================================================= */

.job-card {
    height: 100%;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.job-card:hover {
    transform: translateY(-6px);

    border-color: rgba(13,110,253,.25);

    box-shadow: var(--shadow-hover);
}

.job-card > img {
    display: block;

    width: 100%;
    height: 155px;

    object-fit: cover;
}

.job-body {
    padding: 17px;
}

.job-body h6 {
    min-height: 38px;

    margin-bottom: 8px;

    color: var(--dark);

    font-size: 15px;

    line-height: 1.3;

    font-weight: 700;
}

.job-body p {
    min-height: 21px;

    margin-bottom: 14px;

    color: var(--muted);

    font-size: 12.5px;
}

.job-body p i {
    margin-right: 3px;

    color: var(--primary);
}

.job-body .btn {
    padding: 7px 8px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    box-shadow: 0 5px 12px rgba(13,110,253,.15);
}

.rounded-pill {
    border-radius: 50px !important;
}


/* =========================================================
   ANIMATED DIVIDER
========================================================= */

.animated-divider {
    width: 100%;

    height: 4px;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 4px;

    overflow: hidden;
}

.animated-divider span {
    display: block;

    height: 3px;

    border-radius: 20px;

    animation: dividerMove 2.2s ease-in-out infinite alternate;
}

.line-one {
    width: 75px;

    background: var(--primary);
}

.line-two {
    width: 35px;

    background: var(--success);
}

@keyframes dividerMove {

    from {
        transform: translateX(-15px);
    }

    to {
        transform: translateX(15px);
    }

}


/* =========================================================
   RECRUITMENT SERVICE CARDS
========================================================= */

.section-padding .row.g-4 {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

.service-card {
    height: 100%;

    padding: 25px 20px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: 0 6px 20px rgba(23,50,77,.055);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(13,110,253,.25);

    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--light-blue);

    color: var(--primary);

    font-size: 25px;
}

.service-card h5 {
    margin-bottom: 8px;

    color: var(--dark);

    font-size: 17px;

    font-weight: 700;
}

.service-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13.5px;

    line-height: 1.6;
}


/* =========================================================
   PROCESS
========================================================= */

.process-card {
    height: 100%;

    padding: 15px 8px;

    text-align: center;
}

.process-number {
    width: 48px;
    height: 48px;

    margin: 0 auto 13px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color: var(--white);

    font-size: 17px;

    font-weight: 800;

    box-shadow: 0 7px 18px rgba(13,110,253,.2);
}

.process-card h5 {
    margin-bottom: 5px;

    color: var(--dark);

    font-size: 15px;

    font-weight: 700;
}

.process-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12.5px;

    line-height: 1.5;
}


/* =========================================================
   EMPLOYER BOX
========================================================= */

.employer-box {
    position: relative;

    overflow: hidden;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            #f2f7ff,
            #ffffff
        );

    border: 1px solid #dce8fb;

    border-radius: 22px;

    box-shadow: 0 10px 30px rgba(23,50,77,.05);
}

.employer-box::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -100px;
    bottom: -120px;

    border-radius: 50%;

    background: rgba(13,110,253,.045);
}

.employer-box .row {
    position: relative;

    z-index: 2;
}

.employer-box h2 {
    margin-bottom: 0;

    color: var(--dark);

    font-size: 31px;

    font-weight: 800;
}

.employer-box p {
    font-size: 14px;

    line-height: 1.65;
}

.employer-box .row.mt-4 {
    margin-top: 15px !important;
}

.employer-box .row.mt-4 p {
    margin-bottom: 8px;
}

.employer-box .btn {
    padding: 10px 19px;

    font-size: 14px;
}


/* =========================================================
   INDUSTRIES
========================================================= */

.industry-card {
    height: 100%;

    padding: 21px 12px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.industry-card:hover {
    transform: translateY(-4px);

    border-color: rgba(13,110,253,.25);

    box-shadow: var(--shadow);
}

.industry-card i {
    display: block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 27px;
}

.industry-card h6 {
    margin: 0;

    color: var(--dark);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   PARTNER SECTION
========================================================= */

.company-logo-card {
    height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: 0 5px 18px rgba(23,50,77,.04);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.company-logo-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

.company-logo-card img {
    display: block;

    max-width: 100%;

    max-height: 58px;

    object-fit: contain;
}


/* =========================================================
   PARTNER CTA
========================================================= */

.section-padding .text-center.mt-5 {
    margin-top: 30px !important;
}

.section-padding .text-center.mt-5 h4 {
    margin-bottom: 6px;

    font-size: 20px;
}

.section-padding .text-center.mt-5 p {
    margin-bottom: 15px;
}


/* =========================================================
   CANDIDATE BOX
========================================================= */

.candidate-box {
    position: relative;

    overflow: hidden;

    padding: 38px;

    color: var(--white);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255,255,255,.12),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #198754,
            #0f5132
        );

    border-radius: 22px;

    box-shadow: 0 12px 30px rgba(15,81,50,.15);
}

.candidate-box::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(255,255,255,.05);
}

.candidate-box .row {
    position: relative;

    z-index: 2;
}

.candidate-box h2 {
    margin-bottom: 8px;

    font-size: 31px;

    line-height: 1.2;

    font-weight: 800;
}

.candidate-box p {
    margin-bottom: 0;

    font-size: 14px;

    line-height: 1.6;
}

.candidate-box .btn {
    padding: 10px 22px;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   FAQ
========================================================= */

.faq .accordion {
    max-width: 900px;

    margin: auto;
}

.faq .accordion-item {
    margin-bottom: 10px !important;

    border: 1px solid var(--border) !important;

    border-radius: 12px !important;

    background: var(--white);

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(23,50,77,.035);
}

.faq .accordion-button {
    padding: 16px 18px;

    color: var(--dark);

    background: var(--white);

    font-size: 14px;

    font-weight: 700;

    box-shadow: none !important;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--primary);

    background: #f5f9ff;
}

.faq .accordion-body {
    padding: 0 18px 17px;

    color: var(--muted);

    font-size: 13.5px;

    line-height: 1.65;
}


/* =========================================================
   FINAL CTA
========================================================= */

.section-padding + .py-5,
.py-5 {
    padding-top: 38px !important;
    padding-bottom: 38px !important;
}

.py-5 h2 {
    margin-bottom: 5px;

    font-size: 29px;

    font-weight: 800;
}

.py-5 p {
    margin-bottom: 0;

    font-size: 14px;
}

.py-5 .mt-4 {
    margin-top: 18px !important;
}

.py-5 .btn {
    padding: 10px 22px;

    font-size: 14px;
}


/* =========================================================
   SWIPER
========================================================= */

.swiper {
    overflow: hidden;
}

.swiper-slide {
    box-sizing: border-box;
}


/* =========================================================
   DESKTOP OPTIMIZATION
========================================================= */

@media (min-width: 992px) {

    .job-section .container > .d-flex {
        align-items: end !important;
    }

    .employer-box img {
        max-width: 310px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .recruitment-hero {
        padding: 50px 0;
    }

    .recruitment-hero h1 {
        font-size: 40px;
    }

    .hero-image {
        max-width: 390px;
        max-height: 300px;
    }

    .section-padding,
    .job-section {
        padding: 42px 0;
    }

    .employer-box,
    .candidate-box {
        padding: 32px 25px;
    }

    .employer-box h2,
    .candidate-box h2 {
        font-size: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .recruitment-hero {
        padding: 42px 0 38px;
    }

    .recruitment-hero .row {
        --bs-gutter-x: 15px;
        --bs-gutter-y: 20px;
    }

    .recruitment-hero h1 {
        margin-top: 8px;

        font-size: 32px;

        letter-spacing: -.5px;
    }

    .recruitment-hero p {
        font-size: 15px;

        line-height: 1.6;
    }

    .recruitment-hero .d-flex {
        justify-content: center;
    }

    .recruitment-hero .btn {
        padding: 9px 17px;

        font-size: 13px;
    }

    .hero-image {
        max-width: 310px;

        max-height: 240px;

        margin: 5px auto 0;
    }


    /* Stats */

    .recruitment-hero + section {
        padding: 15px 0 !important;
    }

    .recruitment-hero + section h2 {
        font-size: 22px;
    }

    .recruitment-hero + section small {
        font-size: 11px;
    }


    /* Sections */

    .section-padding,
    .job-section {
        padding: 38px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 13.5px;
    }


    /* Job heading */

    .job-section .container > .d-flex {
        display: block !important;

        margin-bottom: 20px !important;
    }

    .job-heading {
        font-size: 25px;
    }

    .job-section .container > .d-flex > a {
        display: inline-block;

        margin-top: 12px !important;

        padding: 8px 17px !important;

        font-size: 12px;
    }


    /* Job card */

    .job-card > img {
        height: 145px;
    }

    .job-body {
        padding: 15px;
    }


    /* Services */

    .section-padding .row.g-4 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        width: 52px;
        height: 52px;

        font-size: 22px;
    }

    .service-card h5 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 12.5px;
    }


    /* Process */

    .process-card {
        padding: 10px 5px;
    }

    .process-number {
        width: 43px;
        height: 43px;

        font-size: 15px;
    }

    .process-card h5 {
        font-size: 13px;
    }

    .process-card p {
        font-size: 11px;
    }


    /* Employer */

    .employer-box,
    .candidate-box {
        padding: 28px 20px;

        border-radius: 18px;
    }

    .employer-box h2,
    .candidate-box h2 {
        font-size: 24px;
    }

    .employer-box p,
    .candidate-box p {
        font-size: 13px;
    }

    .employer-box .btn,
    .candidate-box .btn {
        width: 100%;

        padding: 9px 15px;

        font-size: 13px;
    }


    /* Logo */

    .company-logo-card {
        height: 88px;

        padding: 12px;
    }

    .company-logo-card img {
        max-height: 48px;
    }


    /* Industries */

    .industry-card {
        padding: 17px 8px;
    }

    .industry-card i {
        font-size: 24px;
    }

    .industry-card h6 {
        font-size: 11.5px;
    }


    /* FAQ */

    .faq .accordion-button {
        padding: 14px;

        font-size: 13px;
    }

    .faq .accordion-body {
        padding: 0 14px 14px;

        font-size: 12.5px;
    }


    /* Final CTA */

    .py-5 h2 {
        font-size: 25px;
    }

    .py-5 p {
        font-size: 13px;
    }

    .py-5 .btn {
        width: 100%;

        font-size: 13px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .recruitment-hero h1 {
        font-size: 29px;
    }

    .recruitment-hero .btn {
        width: 100%;
    }

    .job-heading {
        font-size: 23px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-card {
        padding: 18px 10px;
    }

    .service-icon {
        width: 48px;
        height: 48px;

        margin-bottom: 11px;

        font-size: 20px;
    }

    .service-card h5 {
        font-size: 14px;
    }

    .service-card p {
        font-size: 11.5px;
    }

    .process-number {
        width: 40px;
        height: 40px;
    }

}
