/* JOBNEST HUB SOLUTION */
.jobnest-hero {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #10275e;
    background: #ffffff;
    border-bottom: 1px solid #eef1f6;
}

.jobnest-hero-content {
    padding: 70px 0;
}

.jobnest-hero h1 {
    margin: 0 0 15px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #10275e;
}

.jobnest-hero p {
    margin: 0;
    font-size: 21px;
    color: #4a5972;
}

.jobnest-orange-line {
    width: 55px;
    height: 3px;
    margin: 18px auto 0;
    background: #f58220;
}

/* ABOUT */
.jobnest-about {
    padding: 70px 0;
    background: #ffffff;
}

.jobnest-about-content h2 {
    margin: 0 0 12px;
    color: #06245b;
    font-size: 34px;
    font-weight: 700;
}

.jobnest-line {
    width: 55px;
    height: 3px;
    margin: 0 auto 25px;
    background: #0758a8;
}

.jobnest-about-content .jobnest-line {
    margin-left: 0;
}

.jobnest-about-content p {
    margin: 0 0 18px;
    color: #536075;
    font-size: 16px;
    line-height: 1.9;
}

.jobnest-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 25px;
    border-radius: 6px;
    background: #0758a8;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.jobnest-primary-btn:hover {
    background: #053e78;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Logo */
.jobnest-logo-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jobnest-logo-box img {
    width: 100%;
    max-width: 320px;
    max-height: 220px;
    object-fit: contain;
}

/* SERVICES */
.jobnest-services {
    padding: 70px 0;
    background: #ffffff;
}

.jobnest-section-title {
    text-align: center;
    margin-bottom: 45px;
}

.jobnest-section-title h2 {
    margin: 0 0 12px;
    color: #06245b;
    font-size: 34px;
    font-weight: 700;
}

.jobnest-card {
    height: 100%;
    padding: 30px 25px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.jobnest-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.11);
}

.jobnest-icon {
    width: 60px;
    height: 60px;
    margin: 10px auto 20px;
    border-radius: 50%;
    background: #0758a8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.jobnest-card h5 {
    margin: 0 0 12px;
    color: #06245b;
    font-size: 20px;
    font-weight: 700;
}

.jobnest-card p {
    margin: 0;
    color: #536075;
    font-size: 14px;
    line-height: 1.8;
}

/* CANDIDATES */
.jobnest-candidates {
    padding: 70px 0;
    background: #eaf6fd;
}

.jobnest-candidate-content h2 {
    margin: 0 0 12px;
    color: #06245b;
    font-size: 34px;
    font-weight: 700;
}

.jobnest-candidate-content .jobnest-line {
    margin-left: 0;
    margin-bottom: 20px;
}

.jobnest-candidate-content>p {
    color: #536075;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.jobnest-check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    color: #536075;
    font-size: 14px;
}

.jobnest-check-item i {
    color: #0758a8;
    font-size: 20px;
    margin-top: 3px;
}

.jobnest-opportunity-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.jobnest-large-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #0758a8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.jobnest-opportunity-box h4 {
    color: #06245b;
    font-weight: 700;
    margin-bottom: 12px;
}

.jobnest-opportunity-box p {
    color: #536075;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* EMPLOYERS */
.jobnest-employers {
    padding: 70px 0;
    background: #ffffff;
}

.jobnest-employer-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.jobnest-employer-content p {
    color: #536075;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 25px;
}

/* CTA */
.jobnest-cta {
    padding: 65px 0;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(135deg,
            #073a91,
            #1268c5);
}

.jobnest-cta h2 {
    margin: 0 0 15px;
    font-size: 32px;
    font-weight: 700;
}

.jobnest-cta p {
    max-width: 700px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.jobnest-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.jobnest-outline-btn:hover {
    background: #ffffff;
    color: #0758a8;
}

/* FOOTER LOGO */
.jobnest-footer-logo {
    width: 55px !important;
    height: 45px !important;
    object-fit: contain !important;
    margin-bottom: 12px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .jobnest-hero {
        min-height: 340px;
    }

    .jobnest-hero h1 {
        font-size: 40px;
    }

    .jobnest-logo-box {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .jobnest-hero {
        min-height: 290px;
    }

    .jobnest-hero-content {
        padding: 60px 20px;
    }

    .jobnest-hero h1 {
        font-size: 32px;
    }

    .jobnest-hero p {
        font-size: 18px;
    }

    .jobnest-about,
    .jobnest-services,
    .jobnest-candidates,
    .jobnest-employers {
        padding: 50px 0;
    }

    .jobnest-section-title h2,
    .jobnest-about-content h2,
    .jobnest-candidate-content h2 {
        font-size: 29px;
    }

    .jobnest-opportunity-box {
        padding: 28px 22px;
    }

    .jobnest-cta h2 {
        font-size: 27px;
    }
}

@media (max-width: 575px) {
    .jobnest-logo-box {
        padding: 25px;
    }

    .jobnest-card {
        padding: 25px 20px;
    }

    .jobnest-primary-btn,
    .jobnest-outline-btn {
        width: 100%;
    }
}

/* OUR CLIENTS (shared component styling) */
.company-clients {
    padding: 75px 0;
    background: #ffffff;
}

.company-section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px;
}

.company-section-heading h2 {
    color: #142c52;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.company-section-heading span {
    display: block;
    width: 55px;
    height: 3px;
    background: #1976d2;
    margin: 0 auto 18px;
}

.company-section-heading p {
    color: #555555;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.clients-grid {
    overflow: hidden;
    padding-bottom: 10px;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
}

.clients-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}

.clients-grid:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex-shrink: 0;
    width: 145px;
    height: 76px;
    padding: 11px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.08);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .clients-track {
        gap: 12px;
    }

    .client-logo {
        width: 125px;
        height: 70px;
    }
}

/* JOBNEST HERO BACKGROUND (Only the hero background treatment is changed.) */
.jobnest-hero {
    background: linear-gradient(135deg,
            #07336f,
            #1873bf);
}

.jobnest-hero h1,
.jobnest-hero p {
    color: #ffffff;
}

.jobnest-orange-line {
    background: #ffffff;
}

@media (max-width: 767px) {
    .jobnest-hero {
        background-size: cover !important;
        background-position: center !important;
    }
}