:root {
    /* Elegant Green Corporate Palette */
    --brand-primary: #1f5f4a;
    --brand-primary-hover: #184c3b;
    --brand-primary-soft: #edf7f3;

    --brand-accent: #b99a5f;
    --brand-accent-soft: #f7f1e5;

    --brand-bg-soft: #f7faf8;
    --brand-bg-soft-2: #f1f6f3;
    --brand-white: #ffffff;

    --brand-text: #1f2937;
    --brand-heading: #16211d;
    --brand-muted: #667085;
    --brand-border: #e3ece7;

    --shadow-soft: 0 12px 35px rgba(31, 95, 74, 0.08);
    --shadow-card: 0 14px 40px rgba(31, 95, 74, 0.08);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--brand-text);
    background-color: var(--brand-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================================
   GLOBAL
========================================================= */
.text-brand {
    color: var(--brand-primary) !important;
}

.section-block {
    padding: 88px 0;
}

.section-light {
    background-color: var(--brand-bg-soft);
}

.section-heading {
    max-width: 760px;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--brand-heading);
    margin-bottom: 0.9rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--brand-muted);
    margin-bottom: 0;
}

/* =========================================================
   NAVBAR
========================================================= */
.career-navbar .navbar {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.brand-text {
    color: var(--brand-primary);
    font-size: 1.2rem;
    letter-spacing: 0.2px;
}

.navbar .nav-link {
    color: var(--brand-text);
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 12px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--brand-primary);
}

.navbar-toggler {
    border: 1px solid var(--brand-border);
    padding: 0.45rem 0.65rem;
    border-radius: 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 43, 91, 0.12);
}

/* =========================================================
   BUTTONS
========================================================= */
.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
}

.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #fff;
}

.btn-outline-brand {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
    border-radius: 12px;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* =========================================================
   HERO
========================================================= */
.hero-section {
    position: relative;
    padding: 78px 0 90px;
    background:
        radial-gradient(circle at top right, rgba(200, 169, 107, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(15, 43, 91, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background-color: var(--brand-accent-soft);
    color: #8a6a2e;
    border: 1px solid rgba(200, 169, 107, 0.25);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3.1rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-heading);
}

.hero-subtitle {
    font-size: 1.06rem;
    color: var(--brand-muted);
    max-width: 620px;
    margin-bottom: 0;
}

.hero-meta {
    margin-top: 2rem;
}

.hero-meta-card {
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.hero-meta-number {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.45rem;
}

.hero-meta-label {
    font-size: 0.92rem;
    color: var(--brand-muted);
}

/* Hero visual minimal */
.hero-visual {
    position: relative;
    min-height: 420px;
}

.hero-visual-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(0.2px);
}

.hero-shape-1 {
    width: 280px;
    height: 280px;
    background: rgba(200, 169, 107, 0.18);
    top: 20px;
    right: 40px;
}

.hero-shape-2 {
    width: 180px;
    height: 180px;
    background: rgba(15, 43, 91, 0.08);
    bottom: 10px;
    left: 20px;
}

/* =========================================================
   FEATURE / WHY JOIN US
========================================================= */
.feature-card {
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 1.7rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 43, 91, 0.12);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 10px 20px rgba(15, 43, 91, 0.16);
}

.feature-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--brand-heading);
}

.feature-text {
    color: var(--brand-muted);
    margin-bottom: 0;
}

/* =========================================================
   FILTER
========================================================= */
.job-filter-card {
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

/* =========================================================
   JOB LIST
========================================================= */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.job-card {
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(15, 43, 91, 0.12);
}

.job-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--brand-heading);
}

.job-summary {
    color: var(--brand-muted);
    max-width: 800px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
    font-size: 0.95rem;
    color: var(--brand-muted);
}

.job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.job-meta-item i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.job-action {
    max-width: 240px;
    margin-left: auto;
}

.job-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(15, 43, 91, 0.06);
}

.job-result-text {
    color: var(--brand-muted);
    font-weight: 500;
}

/* =========================================================
   EMPTY STATE
========================================================= */
.empty-state-box {
    border: 1px dashed #d3dbe8;
    border-radius: var(--radius-lg);
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: #fafcff;
}

.empty-state-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--brand-heading);
}

.empty-state-text {
    color: var(--brand-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* =========================================================
   CTA
========================================================= */
.cta-section {
    padding-top: 0;
}

.cta-box {
    background:
        radial-gradient(circle at top right, rgba(200, 169, 107, 0.18), transparent 24%),
        linear-gradient(135deg, var(--brand-primary), var(--brand-primary-hover));
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(15, 43, 91, 0.2);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   FOOTER
========================================================= */
.career-footer {
    padding: 2rem 0 2.5rem;
    border-top: 1px solid #edf2f7;
    background-color: #fff;
}

.footer-brand {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.footer-text {
    color: var(--brand-muted);
    font-size: 0.95rem;
}

/* =========================================================
   FORMS
========================================================= */
.form-control,
.form-select {
    border-radius: 12px;
    border-color: #d7e1ee;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    min-height: 56px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(15, 43, 91, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(15, 43, 91, 0.12);
}

.form-label {
    color: var(--brand-heading);
    margin-bottom: 0.5rem;
}

/* =========================================================
   CAREER DETAIL PAGE
========================================================= */
.hero-detail-section {
    padding-bottom: 72px;
}

.hero-detail-section .row.align-items-start {
    align-items: center !important;
}

.detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--brand-muted);
}

.detail-breadcrumb a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

.detail-breadcrumb a:hover {
    text-decoration: underline;
}

.detail-title {
    font-size: 2.75rem;
    margin-bottom: 0;
    max-width: 720px;
}

.detail-subtitle {
    max-width: 760px;
}

.detail-side-card,
.detail-card {
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.detail-side-card {
    padding: 1.5rem;
}

.detail-side-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-heading);
    margin-bottom: 1.2rem;
}

.detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.detail-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background-color: var(--brand-primary-soft);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-info-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-muted);
    margin-bottom: 0.2rem;
}

.detail-info-value {
    font-size: 1rem;
    color: var(--brand-heading);
    font-weight: 600;
    line-height: 1.4;
}

.detail-card {
    overflow: hidden;
}

.detail-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--brand-border);
    background-color: #fcfdff;
}

.detail-card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-heading);
}

.detail-card-body {
    padding: 1.5rem;
}

.detail-paragraph,
.detail-richtext {
    color: var(--brand-muted);
    line-height: 1.8;
    font-size: 0.98rem;
}

.detail-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--brand-muted);
}

.detail-list li {
    margin-bottom: 0.7rem;
    line-height: 1.75;
}

.detail-list li:last-child {
    margin-bottom: 0;
}

.detail-grid-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.detail-grid-item {
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    background-color: #fafcff;
}

.detail-grid-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.detail-grid-value {
    display: block;
    color: var(--brand-heading);
    font-weight: 600;
}

.detail-apply-card {
    position: sticky;
    top: 110px;
}

/* =========================================================
RESPONSIVE
========================================================= */

/* Large tablet / small laptop */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-shape-1 {
        width: 230px;
        height: 230px;
        right: 20px;
    }

    .hero-shape-2 {
        width: 150px;
        height: 150px;
        left: 10px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .section-block {
        padding: 72px 0;
    }

    .hero-section {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 220px;
        margin-top: 0.75rem;
    }

    .hero-shape-1 {
        width: 180px;
        height: 180px;
        top: 10px;
        right: 20px;
    }

    .hero-shape-2 {
        width: 120px;
        height: 120px;
        left: 10px;
        bottom: 0;
    }

    .job-action {
        max-width: 100%;
        margin-left: 0;
    }

    .cta-box {
        padding: 2.4rem;
    }

    .detail-title {
        font-size: 2.2rem;
    }

    .detail-apply-card {
        position: static;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .career-navbar .navbar {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .navbar-collapse {
        margin-top: 0.9rem !important;
        background: #fff;
        border: 1px solid var(--brand-border);
        border-radius: 16px;
        padding: 0.9rem;
        box-shadow: var(--shadow-soft);
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 0.35rem;
    }

    .navbar .nav-link {
        padding: 0.75rem 0.85rem;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link:focus {
        background-color: var(--brand-primary-soft);
    }

    .navbar .btn-brand {
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-section {
        padding: 36px 0 52px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 13px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.18;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.75;
        max-width: 100%;
    }

    .hero-section .d-flex.flex-wrap.gap-3.mt-4 {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.75rem !important;
        margin-top: 1.25rem !important;
    }

    .hero-section .d-flex.flex-wrap.gap-3.mt-4 .btn {
        width: 100%;
        min-height: 48px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        font-size: 0.95rem;
    }

    .hero-meta {
        margin-top: 1.35rem !important;
    }

    .hero-meta .col-sm-4 {
        width: 100%;
    }

    .hero-meta-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .hero-meta-number {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }

    .hero-meta-label {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .hero-visual {
        min-height: 140px;
        margin-top: 0.5rem;
    }

    .hero-shape-1 {
        width: 150px;
        height: 150px;
        top: 0;
        right: 10px;
    }

    .hero-shape-2 {
        width: 95px;
        height: 95px;
        bottom: 0;
        left: 0;
    }

    .section-block {
        padding: 58px 0;
    }

    .section-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.96rem;
    }

    .feature-card {
        padding: 1.3rem;
        border-radius: 18px;
    }

    .feature-title {
        font-size: 1.05rem;
    }

    .job-filter-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .form-control,
    .form-select {
        min-height: 50px;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        font-size: 0.95rem;
    }

    .job-card {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .job-title {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.6rem;
    }

    .job-summary {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .job-meta {
        gap: 0.5rem;
        font-size: 0.88rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .job-action {
        max-width: 100%;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .job-action .btn {
        width: 100%;
        min-height: 46px;
    }

    .job-chip {
        font-size: 0.78rem;
        padding: 0.4rem 0.68rem;
    }

    .empty-state-box {
        padding: 2.25rem 1.2rem;
    }

    .empty-state-title {
        font-size: 1.2rem;
    }

    .cta-box {
        padding: 1.5rem;
        border-radius: 22px;
    }

    .cta-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .cta-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .cta-box .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .career-footer {
        padding: 1.5rem 0 2rem;
    }

    .footer-text {
        font-size: 0.9rem;
    }

    .hero-detail-section {
        padding-bottom: 58px;
    }

    .detail-title {
        font-size: 1.9rem;
        line-height: 1.25;
    }

    .detail-side-card,
    .detail-card {
        border-radius: 18px;
    }

    .detail-side-card {
        padding: 1.2rem;
    }

    .detail-card-header {
        padding: 1rem 1.2rem;
    }

    .detail-card-body {
        padding: 1.2rem;
    }

    .detail-grid-info {
        grid-template-columns: 1fr;
    }
}