
/* ---------- 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)}



/* ---------- Apply modal ---------- */

.apply-modal .modal-dialog {
    max-width: 480px;
}

.apply-modal .modal-content {
    border: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(20, 20, 26, .22);
}

.apply-modal .modal-body {
    padding: 42px 34px 34px;
    position: relative;
}

.apply-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
}

.apply-modal-eyebrow {
    display: block;

    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);

    margin-bottom: 8px;
}

.apply-modal-role {
    font-size: 1.5rem;
    margin: 0 0 12px;
    padding-right: 28px;
    line-height: 1.2;
}

.apply-modal-copy {
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 26px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;

    border: 1px solid var(--border-soft);
    border-radius: 14px;

    text-decoration: none;
    color: var(--text-black);

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

.contact-option:hover {
    color: var(--text-black);
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(232, 35, 42, .14);
}

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;

    border-radius: 12px;
    background: var(--bg-section);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.05rem;

    transition: background .22s ease, color .22s ease;
}

.contact-option:hover .contact-icon {
    background: var(--primary);
    color: #fff;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.contact-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray);
}

.contact-value {
    font-size: .92rem;
    font-weight: 600;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-arrow {
    flex-shrink: 0;
    font-size: .8rem;
    color: var(--gray);

    transition: transform .22s ease, color .22s ease;
}

.contact-option:hover .contact-arrow {
    transform: translateX(4px);
    color: var(--primary);
}


/* ---------- Small mobile ---------- */

@media (max-width: 575.98px) {

    .apply-modal .modal-dialog {
        margin: 12px;
        max-width: none;
    }

    .apply-modal .modal-body {
        padding: 34px 22px 26px;
    }

    .apply-modal-role {
        font-size: 1.3rem;
    }

    .contact-option {
        padding: 12px 14px;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: .95rem;
    }
}

/* ---------- Don't find a fit CTA ---------- */

.cta-fit-section {
    padding: 10px 20px 90px;
}

.cta-fit-panel {
    max-width: 1140px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;

    background: linear-gradient(160deg, rgba(18, 20, 26, .94), rgba(28, 20, 22, .88)),
        url("https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?fm=jpg&q=60&w=1200&auto=format&fit=crop")
        center / cover no-repeat;

    border-radius: 26px;
    padding: 44px 46px;

    position: relative;
    overflow: hidden;
}

.cta-fit-panel::after {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    background: var(--primary);
    opacity: .22;

    right: -90px;
    bottom: -110px;

    z-index: 0;
}

.cta-fit-text,
.cta-fit-btn {
    position: relative;
    z-index: 1;
}

.cta-fit-text {
    max-width: 560px;
}

.cta-fit-text .eyebrow {
    display: inline-block;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--primary-light);

    margin-bottom: 10px;
}

.cta-fit-text h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 10px;
}

.cta-fit-text p {
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    line-height: 1.65;
    margin: 0;
}

.cta-fit-btn {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 30px;

    background: var(--primary);
    color: #fff;

    border-radius: 999px;

    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 14px 30px rgba(232, 35, 42, .35);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.cta-fit-btn i {
    font-size: 1.15rem;
    transition: transform .25s ease;
}

.cta-fit-btn:hover {
    color: #fff;
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(232, 35, 42, .4);
}

.cta-fit-btn:hover i {
    transform: scale(1.12);
}


/* ---------- Tablet / Mobile ---------- */

@media (max-width: 767px) {

    .cta-fit-section {
        padding: 4px 16px 70px;
    }

    .cta-fit-panel {
        flex-direction: column;
        align-items: flex-start;

        padding: 34px 26px;
        border-radius: 20px;
    }

    .cta-fit-btn {
        width: 100%;
        justify-content: center;
    }

    .apply-modal .modal-dialog {
        margin: 12px;
        max-width: none;
    }

    .apply-modal .modal-body {
        padding: 38px 24px 30px;
    }

    .apply-modal-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }

    .apply-modal-role {
        font-size: 1.2rem;
    }
}


/* ---------- Reduced Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}