
/* =====================================================
   PAVIONX CAREER HERO
   White Theme | Navy Blue | Electric Blue
===================================================== */

.cms-hero {
    --career-navy: #14213d;
    --career-blue: #2563eb;
    --career-blue-dark: #1d4ed8;
    --career-text: #475569;
    --career-muted: #64748b;
    --career-border: #e2e8f0;
    --career-light: #eff6ff;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 690px;
    padding: 95px 0 85px;
    overflow: hidden;
    background: #ffffff;
    color: var(--career-navy);
    font-family: Arial, Helvetica, sans-serif;
}

/* Background image */

.cms-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.12;
    pointer-events: none;
}

/* White overlay keeps the image subtle */

.cms-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.92) 48%,
            rgba(255, 255, 255, 0.85) 100%
        );
    pointer-events: none;
}

/* Container */

.cms-hero .container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.cms-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

/* =====================================================
   LEFT CONTENT
===================================================== */

.cms-hero .hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.cms-hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--career-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cms-hero .eyebrow-dot {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 2px;
    background: var(--career-blue);
}

.cms-hero .eyebrow-dot::after {
    position: absolute;
    top: -3px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--career-blue);
    content: "";
}

.cms-hero .hero-copy h1 {
    max-width: 650px;
    margin: 0 0 24px;
    color: var(--career-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 4.4vw, 62px);
    font-weight: 700;
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.cms-hero .hero-copy h1 span {
    display: block;
    margin-top: 5px;
    color: var(--career-blue);
}

.cms-hero .hero-copy > p {
    max-width: 550px;
    margin: 0 0 30px;
    color: var(--career-text);
    font-size: 16px;
    line-height: 1.9;
}

/* =====================================================
   BUTTONS
===================================================== */

.cms-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 38px;
}

.cms-hero .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 23px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.cms-hero .btn-primary {
    color: #ffffff;
    background: var(--career-blue);
    border: 1px solid var(--career-blue);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.cms-hero .btn-primary:hover {
    color: #ffffff;
    background: var(--career-blue-dark);
    border-color: var(--career-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.cms-hero .btn-secondary {
    color: var(--career-navy);
    background: #ffffff;
    border: 1px solid var(--career-border);
}

.cms-hero .btn-secondary:hover {
    color: var(--career-blue);
    background: #f8fbff;
    border-color: var(--career-blue);
    transform: translateY(-2px);
}

/* =====================================================
   CAREER BENEFITS
===================================================== */

.cms-hero .cms-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px;
}

.cms-hero .cms-hero-benefits > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--career-text);
    font-size: 12px;
    line-height: 1.5;
}

.cms-hero .cms-hero-benefits > div > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: var(--career-blue);
    background: var(--career-light);
    border-radius: 50%;
    font-size: 15px;
}

.cms-hero .cms-hero-benefits > div > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cms-hero .cms-hero-benefits strong {
    color: var(--career-navy);
    font-size: 12px;
    font-weight: 700;
}

.cms-hero .cms-hero-benefits small {
    color: var(--career-muted);
    font-size: 11px;
}

/* =====================================================
   RIGHT VISUAL
===================================================== */

.cms-hero .hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px 0;
}

/* Dashboard */

.cms-hero .cms-dashboard {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4eaf3;
    border-radius: 17px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.10);
}

/* Dashboard header */

.cms-hero .cms-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 68px;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #edf1f7;
}

.cms-hero .dashboard-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--career-navy);
    font-size: 14px;
    font-weight: 800;
}

.cms-hero .dashboard-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #ffffff;
    background: var(--career-blue);
    border-radius: 10px;
}

.cms-hero .dashboard-user {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--career-muted);
    font-size: 22px;
}

.cms-hero .dashboard-online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

/* Dashboard body */

.cms-hero .cms-dashboard-body {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    min-width: 0;
    background: #ffffff;
}

/* Sidebar */

.cms-hero .cms-sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 10px;
    background: #f8fafc;
    border-right: 1px solid #edf1f7;
}

.cms-hero .cms-sidebar > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 39px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.cms-hero .cms-sidebar > div i {
    width: 15px;
    flex-shrink: 0;
    font-size: 13px;
    text-align: center;
}

.cms-hero .cms-sidebar .cms-side-active {
    color: var(--career-blue);
    background: #eaf2ff;
}

/* Main dashboard content */

.cms-hero .cms-main {
    min-width: 0;
    padding: 23px 18px;
    background: #ffffff;
}

.cms-hero .cms-main-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 23px;
}

.cms-hero .cms-main-top small {
    display: block;
    margin-bottom: 8px;
    color: var(--career-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.cms-hero .cms-main-top h3 {
    margin: 0;
    color: var(--career-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.cms-hero .cms-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px 8px;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.cms-hero .cms-live-badge > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

/* Career feature grid */

.cms-hero .cms-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.cms-hero .cms-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 8px;
    padding: 13px 11px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cms-hero .cms-stat-item:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
}

.cms-hero .cms-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 14px;
}

.cms-hero .cms-icon-blue {
    color: #2563eb;
    background: #eff6ff;
}

.cms-hero .cms-icon-purple {
    color: #7c3aed;
    background: #f5f3ff;
}

.cms-hero .cms-icon-green {
    color: #15803d;
    background: #f0fdf4;
}

.cms-hero .cms-stat-item > strong {
    color: var(--career-navy);
    font-size: 14px;
    line-height: 1.3;
}

.cms-hero .cms-stat-item > span:last-child {
    color: var(--career-muted);
    font-size: 10px;
    line-height: 1.4;
}

/* Career highlights */

.cms-hero .cms-activity {
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 11px;
}

.cms-hero .cms-activity-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.cms-hero .cms-activity-heading strong {
    color: var(--career-navy);
    font-size: 12px;
    font-weight: 800;
}

.cms-hero .cms-activity-heading > span {
    color: var(--career-blue);
    font-size: 10px;
    font-weight: 700;
}

.cms-hero .cms-activity-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 0;
}

.cms-hero .cms-activity-row + .cms-activity-row {
    border-top: 1px solid #edf1f7;
}

.cms-hero .cms-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 9px;
    font-size: 14px;
}

.cms-hero .cms-file-purple {
    color: #7c3aed;
    background: #f5f3ff;
}

.cms-hero .cms-file-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
}

.cms-hero .cms-file-details strong {
    overflow-wrap: anywhere;
    color: var(--career-navy);
    font-size: 11px;
    font-weight: 700;
}

.cms-hero .cms-file-details > span {
    color: var(--career-muted);
    font-size: 10px;
    line-height: 1.5;
}

.cms-hero .cms-published,
.cms-hero .cms-draft {
    flex-shrink: 0;
    padding: 5px 7px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}

.cms-hero .cms-published {
    color: #15803d;
    background: #f0fdf4;
}

.cms-hero .cms-draft {
    color: #7c3aed;
    background: #f5f3ff;
}

/* =====================================================
   FLOATING CAREER BADGE
===================================================== */

.cms-hero .cms-floating-badge {
    position: absolute;
    top: 0;
    left: -28px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 5px);
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #e4eaf3;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.11);
}

.cms-hero .cms-floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: var(--career-blue);
    background: var(--career-light);
    border-radius: 11px;
    font-size: 16px;
}

.cms-hero .cms-floating-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cms-hero .cms-floating-copy strong {
    color: var(--career-navy);
    font-size: 13px;
    font-weight: 800;
}

.cms-hero .cms-floating-copy small {
    color: var(--career-muted);
    font-size: 11px;
    line-height: 1.5;
}

.cms-hero .cms-floating-check {
    flex-shrink: 0;
    color: #22c55e;
    font-size: 16px;
}

/* =====================================================
   TABLET RESPONSIVE
===================================================== */

@media (max-width: 1050px) {
    .cms-hero {
        padding: 80px 0 70px;
    }

    .cms-hero .hero-inner {
        gap: 35px;
    }

    .cms-hero .hero-copy h1 {
        font-size: clamp(38px, 4.8vw, 52px);
    }

    .cms-hero .cms-dashboard-body {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .cms-hero .cms-sidebar {
        padding: 16px 7px;
    }

    .cms-hero .cms-sidebar > div {
        gap: 7px;
        padding: 8px;
        font-size: 10px;
    }

    .cms-hero .cms-main {
        padding: 18px 12px;
    }

    .cms-hero .cms-floating-badge {
        left: -12px;
    }
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */

@media (max-width: 768px) {
    .cms-hero {
        min-height: auto;
        padding: 65px 0 55px;
    }

    .cms-hero .container {
        width: calc(100% - 36px);
    }

    .cms-hero .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 55px;
    }

    .cms-hero .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(36px, 8vw, 48px);
        line-height: 1.16;
        letter-spacing: -0.8px;
    }

    .cms-hero .hero-copy > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .cms-hero .hero-actions {
        gap: 12px;
        margin-bottom: 28px;
    }

    .cms-hero .hero-actions .btn {
        min-height: 48px;
        padding: 13px 16px;
        font-size: 13px;
    }

    .cms-hero .cms-hero-benefits {
        gap: 15px 18px;
    }

    .cms-hero .hero-visual {
        padding-top: 24px;
    }

    .cms-hero .cms-floating-badge {
        top: 0;
        left: 12px;
        padding: 12px 14px;
    }

    .cms-hero .cms-dashboard-header {
        min-height: 60px;
        padding: 13px 15px;
    }

    .cms-hero .cms-dashboard-body {
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .cms-hero .cms-main-top h3 {
        font-size: 17px;
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
    .cms-hero .container {
        width: calc(100% - 30px);
    }

    .cms-hero .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .cms-hero .hero-copy h1 {
        font-size: clamp(33px, 9vw, 41px);
    }

    .cms-hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cms-hero .hero-actions .btn {
        width: 100%;
        box-sizing: border-box;
    }

    .cms-hero .cms-hero-benefits {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .cms-hero .cms-dashboard-body {
        grid-template-columns: 1fr;
    }

    .cms-hero .cms-sidebar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        padding: 10px;
        border-right: none;
        border-bottom: 1px solid #edf1f7;
    }

    .cms-hero .cms-sidebar > div {
        justify-content: center;
        gap: 5px;
        min-height: 35px;
        padding: 7px 5px;
        font-size: 9px;
    }

    .cms-hero .cms-sidebar > div i {
        width: auto;
        font-size: 11px;
    }

    .cms-hero .cms-main {
        padding: 16px 11px;
    }

    .cms-hero .cms-main-top {
        gap: 8px;
    }

    .cms-hero .cms-main-top h3 {
        font-size: 16px;
    }

    .cms-hero .cms-stat-grid {
        gap: 7px;
    }

    .cms-hero .cms-stat-item {
        gap: 7px;
        padding: 10px 7px;
    }

    .cms-hero .cms-stat-item > strong {
        font-size: 12px;
    }

    .cms-hero .cms-stat-item > span:last-child {
        font-size: 9px;
    }

    .cms-hero .cms-activity {
        padding: 11px;
    }

    .cms-hero .cms-file-details strong {
        font-size: 10px;
    }

    .cms-hero .cms-published,
    .cms-hero .cms-draft {
        padding: 4px 5px;
        font-size: 8px;
    }

    .cms-hero .cms-floating-badge {
        left: 8px;
        gap: 9px;
        padding: 10px 12px;
    }

    .cms-hero .cms-floating-icon {
        width: 35px;
        height: 35px;
    }
}

/* Prevent accidental horizontal overflow */

.cms-hero *,
.cms-hero *::before,
.cms-hero *::after {
    box-sizing: border-box;
}

.cms-hero img {
    max-width: 100%;
}




.cms-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #ffffff;
}

.cms-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    pointer-events: none;
}

.cms-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.cms-hero .hero-copy h1 {
    color: #14213d;
}

.cms-hero .hero-copy h1 span {
    color: #2563eb;
}

.cms-hero .hero-copy > p {
    color: #475569;
}







/* Job openings section */
.jobs-section {
    width: 100%;
    padding: 70px 24px 90px;
    background: #f8f9fb;
    color: #111827;
    font-family: Arial, Helvetica, sans-serif;
}

.jobs-container {
    max-width: 920px;
    margin: 0 auto;
}

.jobs-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.jobs-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    letter-spacing: -1px;
    color: #111111;
}

.jobs-heading p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* Optional location filters */
.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.job-filter-btn {
    padding: 9px 17px;
    border: 1px solid #e1e5eb;
    border-radius: 24px;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.job-filter-btn:hover,
.job-filter-btn.active {
    border-color: #1674df;
    color: #1674df;
}

/* Job card list */
.job-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.job-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e4e8ee;
    border-radius: 3px;
    transition: border-color 0.2s ease;
}

.job-card:hover,
.job-card.is-expanded {
    border-color: #b9cce5;
}

/* Clickable job heading */
.job-card-toggle {
    display: flex;
    width: 100%;
    min-height: 150px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 23px 19px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.job-card-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.job-title {
    color: #111827;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #16844a;
    font-size: 12px;
}

.location-dot {
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.job-card-arrow {
    flex-shrink: 0;
    color: #1674df;
    font-size: 23px;
    line-height: 1;
}

/* Expanded description */
.job-details {
    padding: 0 19px 24px;
    border-top: 1px solid #edf0f4;
    animation: jobDetailsReveal 0.2s ease;
}

.job-details[hidden] {
    display: none;
}

.job-description {
    margin: 18px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.job-details h4 {
    margin: 20px 0 9px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.job-details ul {
    margin: 0;
    padding-left: 19px;
    color: #475569;
}

.job-details li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.7;
}

/* Apply link */
.job-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 11px 19px;
    border: 1px solid #176fd1;
    border-radius: 3px;
    background: #176fd1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.job-apply-btn:hover {
    border-color: #105bb0;
    background: #105bb0;
}

.no-jobs {
    grid-column: 1 / -1;
    padding: 25px 0;
    color: #64748b;
    font-size: 14px;
}

@keyframes jobDetailsReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet and mobile */
@media (max-width: 700px) {
    .jobs-section {
        padding: 48px 18px 65px;
    }

    .jobs-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .job-list {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .job-card-toggle {
        min-height: 115px;
        padding: 20px 16px;
    }

    .job-title {
        font-size: 17px;
    }

    .job-details {
        padding: 0 16px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .job-card,
    .job-filter-btn,
    .job-apply-btn {
        transition: none;
    }

    .job-details {
        animation: none;
    }
}





/* OPEN POSITIONS SECTION ONLY */

.career-section {
    padding: 70px 30px 90px;
    background: #f8f9fb;
    color: #172033;
}

.career-container {
    max-width: 1250px;
    margin: 0 auto;
}

.career-heading {
    margin-bottom: 32px;
}

.career-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #176fd1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.career-heading h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 600;
}

.career-heading p {
    margin-top: 14px;
    color: #596579;
    font-size: 15px;
    line-height: 1.8;
}

.career-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 9px 16px;
    border: 1px solid #dce3ec;
    border-radius: 22px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #176fd1;
    background: #edf5ff;
    color: #176fd1;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.job-card {
    min-width: 0;
    border: 1px solid #e2e7ef;
    border-radius: 3px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.job-card:hover,
.job-card.expanded {
    border-color: #b7cde8;
}

.job-card-button {
    display: flex;
    width: 100%;
    min-height: 145px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 23px 21px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.job-card-content {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.job-title {
    color: #111827;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.job-location {
    color: #16834a;
    font-size: 12px;
}

.job-category {
    color: #7a8495;
    font-size: 11px;
}

.job-toggle-icon {
    color: #1674df;
    font-size: 23px;
}

.job-details {
    padding: 0 21px 24px;
    border-top: 1px solid #edf0f4;
}

.job-details[hidden] {
    display: none;
}

.job-description {
    margin: 19px 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.8;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
    padding: 16px;
    background: #f7f9fc;
}

.job-meta-label {
    display: block;
    margin-bottom: 6px;
    color: #7a8495;
    font-size: 11px;
}

.job-meta-value {
    color: #202b3c;
    font-size: 13px;
    font-weight: 600;
}

.job-details h3 {
    margin: 22px 0 10px;
    font-size: 15px;
    color: #172033;
}

.job-details ul {
    padding-left: 20px;
    color: #596579;
}

.job-details li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.7;
}

.job-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    border: 1px solid #176fd1;
    border-radius: 3px;
    background: #176fd1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.job-apply-btn:hover {
    background: #1058a9;
}

.no-jobs {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 650px) {
    .career-section {
        padding: 45px 17px 65px;
    }

    .career-heading h1 {
        font-size: 30px;
    }

    .job-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .job-card-button {
        min-height: 120px;
        padding: 20px 16px;
    }

    .job-details {
        padding: 0 16px 22px;
    }

    .job-meta {
        grid-template-columns: 1fr;
    }

    .job-apply-btn {
        width: 100%;
    }
}




/* JOB CARD: SHORT DESCRIPTION */

.job-card {
    min-width: 0;
    border: 1px solid #e2e7ef;
    border-radius: 3px;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.job-card:hover {
    border-color: #b7cde8;
}

.job-card-button {
    display: flex;
    width: 100%;
    min-height: 175px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 23px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.job-card-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.job-title {
    color: #111827;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #16834a;
    font-size: 12px;
}

.location-icon {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border: 1px solid #16834a;
    border-radius: 50%;
}

.job-short-description {
    display: -webkit-box;
    max-width: 520px;
    overflow: hidden;
    color: #586579;
    font-size: 13px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.job-toggle-icon {
    flex-shrink: 0;
    color: #1674df;
    font-size: 24px;
    line-height: 1;
}

.job-card-button:hover .job-title {
    color: #176fd1;
}

/* POPUP OVERLAY */

.job-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.job-modal.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.job-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 24, 43, 0.62);
    backdrop-filter: blur(3px);
}

.job-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 36px;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    transform: translateY(15px);
    transition: transform 0.22s ease;
}

.job-modal.show .job-modal-dialog {
    transform: translateY(0);
}

body.job-modal-open {
    overflow: hidden;
}

/* CLOSE BUTTON */

.job-modal-close {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    float: right;
    margin: -12px -12px 0 12px;
    border: 1px solid #e1e7ef;
    border-radius: 50%;
    background: #ffffff;
    color: #344054;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.job-modal-close:hover {
    border-color: #176fd1;
    color: #176fd1;
}

/* POPUP CONTENT */

.modal-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #176fd1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.job-modal-dialog h2 {
    margin: 0 40px 15px 0;
    color: #111827;
    font-size: clamp(25px, 4vw, 33px);
    font-weight: 600;
    line-height: 1.3;
}

.modal-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf0f4;
    color: #16834a;
    font-size: 12px;
}

.modal-job-description {
    margin: 22px 0;
    color: #586579;
    font-size: 14px;
    line-height: 1.85;
}

/* JOB INFORMATION */

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f7f9fc;
}

.modal-info-grid > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.modal-info-grid span {
    color: #7a8495;
    font-size: 11px;
}

.modal-info-grid strong {
    color: #202b3c;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.modal-detail-section {
    margin-top: 24px;
}

.modal-detail-section h3 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 16px;
    font-weight: 600;
}

.modal-detail-section ul {
    margin: 0;
    padding-left: 20px;
    color: #586579;
}

.modal-detail-section li {
    margin-bottom: 9px;
    font-size: 13px;
    line-height: 1.75;
}

/* SKILL TAGS */

.modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-skills span {
    padding: 8px 12px;
    border: 1px solid #dce7f5;
    border-radius: 3px;
    background: #f3f7fc;
    color: #24588f;
    font-size: 12px;
}

/* APPLY BUTTON */

.job-apply-btn {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    padding: 12px 22px;
    border: 1px solid #176fd1;
    border-radius: 3px;
    background: #176fd1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.job-apply-btn:hover {
    background: #1058a9;
}

.no-jobs {
    grid-column: 1 / -1;
    color: #64748b;
    font-size: 14px;
}

/* MOBILE POPUP */

@media (max-width: 650px) {
    .job-card-button {
        min-height: 155px;
        padding: 18px 16px;
    }

    .job-title {
        font-size: 17px;
    }

    .job-modal {
        align-items: flex-end;
        padding: 0;
    }

    .job-modal-dialog {
        width: 100%;
        max-width: none;
        max-height: 92vh;
        padding: 26px 20px;
        border-radius: 12px 12px 0 0;
    }

    .modal-info-grid {
        gap: 16px 12px;
        padding: 15px;
    }

    .job-apply-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .job-modal,
    .job-modal-dialog,
    .job-card {
        transition: none;
    }
}




/* MOBILE JOB POPUP FIX */
@media (max-width: 650px) {

    .job-modal {
        align-items: center;
        justify-content: center;
        padding: 18px;
    }

    .job-modal-dialog {
        width: 100%;
        max-width: 440px;
        max-height: 82dvh;
        overflow-y: auto;

        padding: 24px 18px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;

        transform: translateY(10px);
    }

    .job-modal.show .job-modal-dialog {
        transform: translateY(0);
    }

    .job-modal-close {
        position: sticky;
        top: 0;
        margin: -8px -6px 8px auto;
    }

    .job-modal-dialog h2 {
        font-size: 24px;
        line-height: 1.35;
    }

    .modal-job-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .modal-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
        padding: 14px;
    }

    .modal-detail-section li {
        font-size: 12px;
    }

    .job-apply-btn {
        width: 100%;
        margin-top: 22px;
    }
}




/* WHERE WE WORK */

.where-we-work {
    padding: 80px 25px;
    background: #ffffff;
    color: #172033;
}

.locations-container {
    max-width: 1250px;
    margin: 0 auto;
}

.locations-heading {
    max-width: 650px;
    margin: 0 auto 45px;
    text-align: center;
}

.locations-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #176fd1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.locations-heading h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 600;
    letter-spacing: -1px;
}

.locations-heading h2 span {
    color: #176fd1;
}

.locations-heading p {
    margin-top: 14px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

/* THREE COLUMNS */

.office-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.office-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5eaf1;
    background: #ffffff;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.office-card:hover {
    border-color: #a9c9f0;
    transform: translateY(-4px);
}

/* CHENNAI MAIN LOCATION */

.office-card.main-location {
    border-top: 3px solid #176fd1;
}

.office-image {
    position: relative;
    height: 215px;
    overflow: hidden;
    background: #edf3fa;
}

.office-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.office-card:hover .office-image img {
    transform: scale(1.04);
}

.office-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 8px 10px;
    background: #176fd1;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.office-content {
    display: flex;
    min-height: 225px;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 20px;
}

.office-country {
    color: #176fd1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.office-content h3 {
    margin: 12px 0 10px;
    color: #101828;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
}

.office-address {
    margin: 0 0 20px;
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.office-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #176fd1;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.office-link:hover {
    color: #1058a9;
}

.office-link span {
    transition: transform 0.2s ease;
}

.office-link:hover span {
    transform: translate(3px, -3px);
}

/* TABLET */

@media (max-width: 900px) {
    .office-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .office-image {
        height: 200px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .where-we-work {
        padding: 55px 17px;
    }

    .locations-heading {
        margin-bottom: 30px;
        text-align: left;
    }

    .locations-heading h2 {
        font-size: 32px;
    }

    .office-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .office-image {
        height: 220px;
    }

    .office-content {
        min-height: auto;
        padding: 22px 19px;
    }

    .office-address {
        margin-bottom: 22px;
    }
}



