/* ========================================
   CAREER PAGE STYLES
   ======================================== */

#career-main .career-hero--dark {
    background-color: #050508;
    background-image:
        linear-gradient(180deg, rgba(5, 5, 8, 0.55) 0%, rgba(5, 5, 8, 0.35) 45%, rgba(5, 5, 8, 0.72) 100%),
        url("../img/home/hero/career-hero-bg.png?v=1.16-office-hero");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 88vh;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

#career-main .career-hero--dark > .container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1430px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 160px;
    padding-bottom: 80px;
}

#career-main .career-hero--dark > .container > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 991px) {
    #career-main .career-hero--dark > .container {
        padding-top: 140px;
        padding-bottom: 64px;
    }

    #career-main .career-hero--dark {
        background-position: center center;
        background-size: cover;
    }
}

#career-main .career-hero--dark .section-sub-title-blue {
    color: #c4a0ff;
}

#career-main .career-hero--dark .section-title {
    color: #ffffff;
}

#career-main .career-hero--dark .career-hero-cta {
    color: #ffffff !important;
    background-color: #7500ff !important;
    border: 1px solid #7500ff !important;
}

#career-main .career-hero--dark .career-hero-cta:hover {
    background-color: #5c00cc !important;
    border-color: #5c00cc !important;
    color: #ffffff !important;
}

.page-template-template-career .tp-header-area:not(.header-sticky) .logo-black {
    display: none !important;
}

.page-template-template-career .tp-header-area:not(.header-sticky) .logo-white {
    display: block !important;
}

.page-template-template-career .tp-header-area:not(.header-sticky) .tp-header-menu > nav > ul > li > a {
    color: #ffffff;
}

.page-template-template-career .tp-header-area:not(.header-sticky) .tp-header-dropdown nav ul li.has-dropdown::after {
    color: #ffffff;
}

.page-template-template-career .tp-header-area:not(.header-sticky) .tp-header-bar button i {
    color: #ffffff;
}

.page-template-template-career .tp-header-area.header-sticky.sticky-white-bg .logo-white {
    display: none !important;
}

.page-template-template-career .tp-header-area.header-sticky.sticky-white-bg .logo-black {
    display: block !important;
}


/* Soft radial orbs behind hero */
.career-hero__bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.45;
}

.career-hero__bg-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #c084fc 0%, transparent 70%);
    top: -120px;
    left: -200px;
}

.career-hero__bg-orb--2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #00e5ff55 0%, transparent 70%);
    bottom: -80px;
    right: 0;
}

/* Scoped to career page: hero h1 span accent color */
.career-hero__area .section-title span {
    color: #7304FB;
}

/* Job Postings Section */
.career-jobs__area {
    background: #f9f9fb;
}

/* Career form — dark glass (home CTA pattern via .cta-section--dark) */
#career-main .cta-section--dark .cta-form-wrapper {
    padding: 50px;
}

#career-main .cta-section--dark .career-application-form label,
#career-main .cta-section--dark .career-application-form .wpcf7-form label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.88);
}

#career-main .cta-section--dark .career-submit-btn,
#career-main .cta-section--dark .career-application-form .wpcf7-submit,
#career-main .cta-section--dark .career-application-form input[type="submit"] {
    background: linear-gradient(90deg, #5b00c9 0%, #7500ff 50%, #9b4dff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 28px rgba(117, 0, 255, 0.35) !important;
}

#career-main .cta-section--dark .career-submit-btn:hover,
#career-main .cta-section--dark .career-application-form .wpcf7-submit:hover,
#career-main .cta-section--dark .career-application-form input[type="submit"]:hover {
    background: linear-gradient(90deg, #4a00a8 0%, #5c00cc 50%, #7500ff 100%) !important;
    transform: translateY(-2px);
}

#career-main .cta-section--dark input[type="file"] {
    color: rgba(255, 255, 255, 0.78);
}

#career-main .cta-section--dark input[type="file"]::file-selector-button {
    background: #7500ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    margin-right: 15px;
    cursor: pointer;
    transition: 0.3s;
}

#career-main .cta-section--dark input[type="file"]::file-selector-button:hover {
    background: #5c00cc;
}

@media (max-width: 991px) {
    #career-main .cta-section--dark .cta-form-wrapper {
        padding: 40px 30px;
    }
}

/* Career page — prevent horizontal page scroll from carousel + Keka embed */
#career-main {
    overflow-x: clip;
}

/* Benefits — white theme row */
.career-benefits--light {
    background-color: #ffffff;
    overflow-x: clip;
}

.career-benefits--light .section-title {
    color: #141414;
}

.career-benefits-carousel {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 8px 15px 12px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.career-benefit-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1 1 0;
    min-width: 0;
    min-height: 360px;
    padding: 28px 22px 24px;
    text-align: left;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: auto;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(115, 4, 251, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.04);
    opacity: 0.88;
    transform: scale(0.98);
    transition: flex 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
    overflow: hidden;
}

.career-benefit-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, #7500ff 0%, #c4a0ff 100%);
    opacity: 0;
    pointer-events: none;
}

.career-benefit-card:hover,
.career-benefit-card:focus-visible {
    opacity: 1;
    border-color: rgba(115, 4, 251, 0.28);
    box-shadow: 0 12px 28px rgba(115, 4, 251, 0.08);
    outline: none;
}

.career-benefit-card.is-active {
    z-index: 3;
    flex: 1.28 1 0;
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
    border-color: #7304fb;
    box-shadow:
        0 0 0 1px rgba(115, 4, 251, 0.12),
        0 18px 40px rgba(115, 4, 251, 0.12);
}

.career-benefit-card.is-active::after {
    opacity: 1;
}

.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(115, 4, 251, 0.08);
    border: 1px solid rgba(115, 4, 251, 0.14);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #7304fb;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.benefit-icon-wrap i,
.benefit-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.career-benefit-card.is-active .benefit-icon-wrap {
    background: #7304fb;
    border-color: #7304fb;
    color: #ffffff;
    transform: scale(1.06);
}

.career-benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #141414;
    margin: 0 0 16px;
    font-family: var(--tp-ff-heading);
}

.career-benefit-list {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: left;
}

.career-benefit-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555555;
    line-height: 1.45;
    font-family: var(--tp-ff-body);
}

.career-benefit-list li:last-child {
    margin-bottom: 0;
}

.career-benefit-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237304FB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M12 18v3'/%3E%3Cpath d='M3 12h3'/%3E%3Cpath d='M18 12h3'/%3E%3Cpath d='m5.6 5.6 2.1 2.1'/%3E%3Cpath d='m16.3 16.3 2.1 2.1'/%3E%3Cpath d='m5.6 18.4 2.1-2.1'/%3E%3Cpath d='m16.3 7.7 2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 1099px) {
    .career-benefits-carousel {
        overflow-x: auto;
        overflow-y: visible;
        gap: 12px;
        padding-bottom: 20px;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .career-benefit-card {
        flex: 0 0 240px;
        min-width: 240px;
        min-height: 320px;
        transform: none;
    }

    .career-benefit-card.is-active {
        flex: 0 0 280px;
        min-width: 280px;
    }
}

@media (max-width: 639px) {
    .career-benefit-card,
    .career-benefit-card.is-active {
        flex: 0 0 78%;
        min-width: 78%;
        min-height: 300px;
    }
}

/* Job Postings Section */
.jobs-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

#khembedjobs {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

#khembedjobs .kh-main-container {
    position: relative;
    padding-bottom: 24px;
}

/* Keka embed footer is position:absolute — keep in flow so "Powered by keka" is not clipped */
#khembedjobs .kh-footer.kh-position-absolute {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    margin-top: 16px;
}

#khembedjobs .kh-footer,
#khembedjobs .kh-container-fluid,
#khembedjobs .kh-footer-content {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .jobs-wrapper {
        padding: 30px 20px;
    }

    #khembedjobs .kh-footer-content {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}
