
/* ---------- Hero ---------- */

.career-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.career-hero img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.career-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(20, 20, 26, 0.58) 0%,
            rgba(20, 20, 26, 0.38) 45%,
            rgba(20, 20, 26, 0.72) 100%
        );
}

.career-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    padding: 0 20px;

    text-align: center;
}

.career-hero-content .eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.9;
}

.career-hero-content h1 {
    margin: 0 0 16px;

    color: #fff;

    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
}

.career-hero-content h1 span {
    color: var(--primary-light, #fdeaea);
}

.career-hero-content p {
    max-width: 650px;
    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 1.05rem;
    line-height: 1.55;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 30px;

    background: var(--primary, #e8232a);
    color: #fff;

    border: none;
    border-radius: 999px;

    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 14px 30px rgba(232, 35, 42, 0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);

    background: var(--primary-dark, #c71c22);

    box-shadow: 0 18px 36px rgba(232, 35, 42, 0.4);

    color: #fff;
}

.hero-cta i {
    transition: transform 0.25s ease;
}

.hero-cta:hover i {
    transform: translateX(4px);
}


/* ---------- Mobile ---------- */

@media (max-width: 767px) {

    .career-hero {
        height: 40vh;
        min-height: 360px;
    }

    .career-hero img {
        object-position: center center;
    }

    .career-hero-content {
        padding: 0 24px;
    }

    .career-hero-content .eyebrow {
        margin-bottom: 10px;
        margin-top: 30px;
        font-size: 0.65rem;
        letter-spacing: 0.13em;
    }

    .career-hero-content h1 {
        margin-bottom: 14px;

        font-size: 2.55rem;
        line-height: 1.08;
    }

    .career-hero-content p {
        margin-bottom: 24px;

        font-size: 0.95rem;
        line-height: 1.45;
    }

    .hero-cta {
        padding: 13px 28px;
        font-size: 1rem;
    }
}

#hiring {
    scroll-margin-top: 40px !important;
}
/* ---------- Currently hiring ---------- */
.hiring-section{padding:50px 20px 40px}
.hiring-head{text-align:center; max-width:600px; margin:0 auto 46px}
.hiring-head .eyebrow{
  font-size:.78rem; font-weight:700; letter-spacing:.14em; color:var(--primary);
  display:inline-block; position:relative; padding-bottom:10px; margin-bottom:30px;
}
.hiring-head .eyebrow::after{content:""; position:absolute; left:50%; transform:translateX(-50%); bottom:0; width:46px; height:3px; background:var(--primary); border-radius:2px}
.hiring-head h2{font-size:clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom:10px}

.job-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;
}

/* HR Executive */
.hiring-section .row > div:nth-child(1) .job-card:hover {
    background: #fff1f2;
    border-top:5px solid #f5bfc3;
    transform: translateY(-6px);
}

/* Social Media Manager */
.hiring-section .row > div:nth-child(2) .job-card:hover {
    background: #fff7ed;
    border-top:5px solid #fed7aa;
    transform: translateY(-6px);
}

/* React Node Developer */
.hiring-section .row > div:nth-child(3) .job-card:hover {
    background: #eff6ff;
    border-top:5px solid #bfdbfe;
    transform: translateY(-6px);
}

/* Digital Marketing Executive */
.hiring-section .row > div:nth-child(4) .job-card:hover {
    background: #f0fdf4;
    border-top:5px solid #bbf7d0;
    transform: translateY(-6px);
}
.job-title{font-size:1.2rem; margin-bottom:4px}
.job-duration{font-size:.85rem; color:var(--gray); margin-bottom:16px;}
.job-desc{
  font-size:.92rem; line-height:1.65; flex-grow:1;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
.job-apply{
  margin-top:22px; display:inline-flex; align-items:center; gap:8px; font-weight:700;
  color:var(--text-black); text-decoration:none; width:fit-content;
  transition:gap .25s ease, color .25s ease;
}
.job-apply i{transition:transform .25s ease}
.job-apply:hover{color:var(--primary); gap:12px}
.job-apply:hover i{transform:translateX(4px)}
/* ---------- Resume CTA / Form ---------- */

.resume-section {
    width: 100%;
    padding: 20px 20px 100px;
    overflow: hidden;
}

.resume-panel {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(20, 20, 26, .07);

    display: flex;
    flex-wrap: wrap;
}


/* ---------- Left Information ---------- */

.resume-info {
    flex: 1 1 0;
    min-width: 0;

    color: #fff;
    padding: 36px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            160deg,
            rgba(18, 20, 26, .88),
            rgba(28, 20, 22, .78)
        ),
        url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?fm=jpg&q=60&w=1200&auto=format&fit=crop")
        center / cover no-repeat;
}

.resume-info::after {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: var(--primary);
    opacity: .22;

    right: -90px;
    bottom: -90px;

    z-index: 0;
}

.resume-info .eyebrow,
.resume-info h3,
.resume-info p,
.resume-info .resume-icon {
    position: relative;
    z-index: 1;
}

.resume-info .eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.resume-info h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: 14px;
}

.resume-info p {
    color: rgba(255, 255, 255, .85);
    font-size: .96rem;
    line-height: 1.7;
}

.resume-info .resume-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    border-radius: 14px;
    background: rgba(232, 35, 42, .24);
    color: var(--primary-light);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.3rem;
    margin-bottom: 20px;
}


/* ---------- Job Switching ---------- */

.target-anchor {
    display: block;
    height: 0;
    overflow: hidden;
    scroll-margin-top: 40px;
}

.job-scoped {
    display: none;
    animation: copyIn .4s ease;
}

.job-scoped[data-default] {
    display: block;
}

@keyframes copyIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#apply-hr-executive:target ~ .resume-panel .job-scoped,
#apply-social-media-manager:target ~ .resume-panel .job-scoped,
#apply-react-node-developer:target ~ .resume-panel .job-scoped,
#apply-digital-marketing-executive:target ~ .resume-panel .job-scoped {
    display: none;
}

#apply-hr-executive:target ~ .resume-panel .job-scoped[data-job="hr-executive"],
#apply-social-media-manager:target ~ .resume-panel .job-scoped[data-job="social-media-manager"],
#apply-react-node-developer:target ~ .resume-panel .job-scoped[data-job="react-node-developer"],
#apply-digital-marketing-executive:target ~ .resume-panel .job-scoped[data-job="digital-marketing-executive"] {
    display: block;
}

#apply-hr-executive:target ~ .resume-panel .role-locked.job-scoped[data-job="hr-executive"],
#apply-social-media-manager:target ~ .resume-panel .role-locked.job-scoped[data-job="social-media-manager"],
#apply-react-node-developer:target ~ .resume-panel .role-locked.job-scoped[data-job="react-node-developer"],
#apply-digital-marketing-executive:target ~ .resume-panel .role-locked.job-scoped[data-job="digital-marketing-executive"] {
    display: flex;
}


/* ---------- Locked Role ---------- */

.role-locked {
    align-items: center;
    gap: 10px;

    background: var(--primary-light);
    border: 1px solid var(--primary);

    border-radius: 10px;
    padding: 11px 14px;

    font-size: .92rem;
    font-weight: 600;
    color: var(--primary-dark);

    width: 100%;
    min-width: 0;
}

.role-locked i {
    font-size: .8rem;
    flex-shrink: 0;
}


/* ---------- Form ---------- */

.resume-form {
    flex: 1 1 0;
    min-width: 0;

    padding: 46px 40px;
}

.resume-form form {
    width: 100%;
    min-width: 0;
}

.resume-form .row {
    width: 100%;
    min-width: 0;
}

.resume-form .form-label {
    display: block;

    font-weight: 600;
    font-size: .88rem;
    color: var(--text-black);

    margin-bottom: 6px;
}

.resume-form .form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    border: 1px solid var(--border-soft);
    border-radius: 10px;

    padding: 11px 14px;

    font-size: .92rem;

    background: var(--bg-section);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.resume-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 35, 42, .12);
    background: #fff;
}

.resume-form textarea.form-control {
    resize: vertical;
    min-height: 90px;
}


/* ---------- Upload ---------- */

.upload-field {
    width: 100%;
    min-width: 0;

    border: 1.5px dashed var(--border-soft);
    border-radius: 10px;

    padding: 16px;

    text-align: center;

    background: var(--bg-section);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;

    font-size: .88rem;
    color: var(--gray);

    position: relative;

    overflow: hidden;
}

.upload-field:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-field i {
    color: var(--primary);
    margin-right: 8px;
}

.upload-field input[type="file"] {
    position: absolute;
    inset: 0;

    opacity: 0;

    cursor: pointer;

    width: 100%;
    height: 100%;
}

.upload-field .upload-text {
    display: inline-block;

    max-width: calc(100% - 35px);

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    vertical-align: middle;
}

.upload-field.has-file {
    border-style: solid;
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.upload-field.has-file i {
    color: var(--primary-dark);
}


/* ---------- Submit ---------- */

.resume-submit {
    border: none;

    background: var(--primary);
    color: #fff;

    font-weight: 700;

    border-radius: 999px;

    padding: 13px 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 6px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.resume-submit:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.resume-submit i {
    transition: transform .25s ease;
}

.resume-submit:hover i {
    transform: translateX(4px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .resume-panel {
        flex-direction: column;
    }

    .resume-info,
    .resume-form {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
    }

    .resume-info {
        padding: 40px 32px;
    }

    .resume-form {
        padding: 40px 32px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .resume-section {
        padding: 10px 12px 60px;
    }

    .resume-panel {
        width: 100%;
        border-radius: 18px;
        display: block;
    }

    .resume-info {
        width: 100%;
        padding: 30px 22px;
    }

    .resume-info .resume-icon {
        width: 46px;
        height: 46px;

        font-size: 1.1rem;
        border-radius: 12px;

        margin-bottom: 16px;
    }

    .resume-info .eyebrow {
        font-size: .7rem;
        letter-spacing: .12em;
    }

    .resume-info h3 {
        font-size: 1.45rem;
        line-height: 1.25;
    }

    .resume-info p {
        font-size: .88rem;
        line-height: 1.6;
        margin-bottom: 0;
    }


    /* Form */

    .resume-form {
        width: 100%;
        padding: 30px 22px;
    }

    .resume-form .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 18px;

        margin-left: 0;
        margin-right: 0;
    }

    .resume-form .row > * {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .resume-form .form-label {
        font-size: .86rem;
        margin-bottom: 7px;
    }

    .resume-form .form-control {
        width: 100%;
        min-height: 48px;

        padding: 11px 14px;

        font-size: .9rem;
        border-radius: 10px;
    }

    .resume-form textarea.form-control {
        min-height: 110px;
    }


    /* Role */

    .role-locked {
        width: 100%;
        min-height: 48px;
        padding: 11px 13px;
    }


    /* Upload */

    .upload-field {
        width: 100%;
        min-height: 70px;

        padding: 14px 12px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;

        font-size: .8rem;
    }

    .upload-field i {
        flex-shrink: 0;
        margin-right: 0;
    }

    .upload-field .upload-text {
        max-width: calc(100% - 30px);
    }


    /* Button */

    .resume-submit {
        width: 100%;
        min-height: 48px;

        padding: 12px 20px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .resume-section {
        padding-left: 8px;
        padding-right: 8px;
    }

    .resume-panel {
        border-radius: 15px;
    }

    .resume-info {
        padding: 26px 18px;
    }

    .resume-form {
        padding: 26px 18px;
    }

    .resume-info h3 {
        font-size: 1.3rem;
    }

    .resume-info p {
        font-size: .84rem;
    }

    .upload-field {
        font-size: .76rem;
    }

    .job-title{
        font-size: 16px;
    }
    .job-desc{
        font-size: 12px;
    }
}


/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {

    * {
        transition: none !important;
        animation: none !important;
    }
}


/* career toast */

.toast-container .toast {
    background: var(--text-black);
    color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(20, 20, 26, 0.25);
    min-width: 280px;
}
.toast-container .toast .toast-body i {
    color: var(--primary);
}
@media (max-width: 575.98px) {
    .toast-container {
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 12px 12px !important;
    }
    .toast-container .toast {
        width: 100%;
    }
}