/* ── Variables ── */
:root {
    --teal:          #1B7A8C;
    --teal-dark:     #145F6E;
    --teal-light:    #E6F4F7;
    --burgundy:      #8B1C2C;
    --burgundy-dark: #6B1420;
    --burgundy-light:#F8E8EA;
    --gold:          #C9A452;
    --gold-dark:     #A8863E;
    --gold-light:    #FDF6E3;
    --dark:          #1A1A2E;
    --gray-700:      #4A5568;
    --gray-500:      #718096;
    --gray-300:      #CBD5E0;
    --gray-100:      #F7FAFC;
    --white:         #FFFFFF;
    --border:        #E2E8F0;
    --radius:        8px;
    --radius-lg:     16px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow:        0 4px 16px rgba(0,0,0,.1);
    --shadow-lg:     0 10px 40px rgba(0,0,0,.14);
    --transition:    .2s ease;
    --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.65;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

/* ── Typography ── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--gray-700); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
    font-family: var(--font);
}
.btn-primary   { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: var(--white); }
.btn-secondary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-gold      { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-outline   { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--teal); }
.btn-danger    { background: #DC2626; color: var(--white); border-color: #DC2626; }
.btn-danger:hover { background: #B91C1C; border-color: #B91C1C; color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.badge-teal       { background: var(--teal-light); color: var(--teal-dark); }
.badge-teal-light { background: #ddf4f8; color: #0c5c6e; }
.badge-burgundy   { background: var(--burgundy-light); color: var(--burgundy-dark); }
.badge-gold       { background: var(--gold-light); color: var(--gold-dark); }
.badge-gray       { background: var(--gray-100); color: var(--gray-500); }
.badge-success    { background: #D1FAE5; color: #065F46; }
.badge-warning    { background: #FEF3C7; color: #92400E; }
.badge-danger     { background: #FEE2E2; color: #991B1B; }
.badge-info       { background: #DBEAFE; color: #1E40AF; }

/* ── Cards ── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-body  { padding: 24px; }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--gray-100); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: 6px;
}
label .req { color: var(--burgundy); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: auto;
}
.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27,122,140,.15);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: .83rem; color: var(--gray-500); margin-top: 5px; }
.form-error { font-size: .83rem; color: var(--burgundy); margin-top: 5px; }

/* ── Alerts ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: .92rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-left: 4px solid transparent;
}
.alert-success  { background: #D1FAE5; color: #065F46; border-left-color: #10B981; }
.alert-error    { background: #FEE2E2; color: #991B1B; border-left-color: #EF4444; }
.alert-warning  { background: #FEF3C7; color: #92400E; border-left-color: #F59E0B; }
.alert-info     { background: #DBEAFE; color: #1E40AF; border-left-color: #3B82F6; }

/* ── Navigation ── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.navbar-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 32px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.navbar-brand img { height: 44px; width: auto; border-radius: 4px; }
.navbar-brand-text { display: flex; flex-direction: column; }
.navbar-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}
.navbar-brand-tag {
    font-size: .65rem;
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
    line-height: 1.2;
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.navbar-nav a {
    color: var(--gray-700);
    font-size: .92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--teal); background: var(--teal-light); }
.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.lang-toggle {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}
.lang-toggle a {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gray-500);
    transition: all var(--transition);
}
.lang-toggle a.active { background: var(--white); color: var(--teal); box-shadow: var(--shadow-sm); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--dark); margin: 5px 0;
    transition: all var(--transition);
    border-radius: 2px;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #2A9AAD 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    position: relative;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 40px; }
.hero-search {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    max-width: 680px;
    margin: 0 auto 24px;
}
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: .95rem;
    font-family: var(--font);
    color: var(--dark);
    border-radius: var(--radius);
    min-width: 0;
}
.hero-search input::placeholder { color: var(--gray-500); }
.hero-search .divider { width: 1px; background: var(--border); align-self: stretch; margin: 8px 0; }
.hero-search .btn { flex-shrink: 0; }
.hero-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-badge {
    background: rgba(255,255,255,.15);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: .83rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.2);
}

/* ── How It Works ── */
.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.hiw-card {
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--border);
    position: relative;
}
.hiw-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hiw-card:nth-child(1)::before { background: var(--teal); }
.hiw-card:nth-child(2)::before { background: var(--burgundy); }
.hiw-card:nth-child(3)::before { background: var(--gold); }
.hiw-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}
.hiw-card:nth-child(1) .hiw-icon { background: var(--teal-light); }
.hiw-card:nth-child(2) .hiw-icon { background: var(--burgundy-light); }
.hiw-card:nth-child(3) .hiw-icon { background: var(--gold-light); }
.hiw-step {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.hiw-card h3 { margin-bottom: 10px; color: var(--dark); }
.hiw-card p { font-size: .92rem; color: var(--gray-500); }

/* ── Job Cards ── */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.job-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
.job-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--teal);
}
.job-card-header { display: flex; align-items: flex-start; gap: 16px; }
.job-logo {
    width: 52px; height: 52px;
    background: var(--teal-light);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--teal);
    flex-shrink: 0;
    overflow: hidden;
}
.job-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-card-info { flex: 1; min-width: 0; }
.job-card-info h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.job-card-info h3 a { color: inherit; }
.job-card-info h3 a:hover { color: var(--teal); }
.job-company { font-size: .88rem; color: var(--gray-500); font-weight: 500; }
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: .83rem;
    color: var(--gray-500);
}
.job-meta-item { display: flex; align-items: center; gap: 4px; }
.job-desc {
    font-size: .88rem;
    color: var(--gray-500);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.job-time { font-size: .8rem; color: var(--gray-500); }

/* ── Stats ── */
.stats { background: var(--teal); padding: 60px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .92rem;
    color: rgba(255,255,255,.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Dual CTA ── */
.dual-cta { background: var(--gray-100); }
.dual-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.cta-box {
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
}
.cta-box-employer { background: var(--teal); }
.cta-box-seeker   { background: var(--burgundy); }
.cta-box h2 { color: var(--white); margin-bottom: 12px; }
.cta-box p  { color: rgba(255,255,255,.85); margin-bottom: 28px; font-size: .95rem; }
.cta-icon { font-size: 3rem; margin-bottom: 20px; }

/* ── Jobs page ── */
.page-hero {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    padding: 48px 0;
    color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); }
.filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.filters-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.filters-form input,
.filters-form select {
    padding: 9px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .88rem;
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition);
    min-width: 160px;
}
.filters-form input:focus,
.filters-form select:focus { outline: none; border-color: var(--teal); }
.filters-form input { flex: 1; min-width: 200px; }
.jobs-layout { display: grid; gap: 0; }
.jobs-count {
    padding: 20px 0;
    font-size: .92rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ── Job Detail ── */
.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    padding: 48px 0;
}
.job-detail-main h1 { font-size: 1.8rem; margin-bottom: 12px; }
.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
}
.job-detail-meta-item { display: flex; flex-direction: column; gap: 2px; }
.job-detail-meta-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); }
.job-detail-meta-value { font-size: .95rem; font-weight: 600; color: var(--dark); }
.job-description { line-height: 1.8; color: var(--gray-700); }
.job-description h2,
.job-description h3 { color: var(--dark); margin: 20px 0 8px; }
.job-description p  { margin-bottom: 12px; }
.job-description ul { padding-left: 20px; list-style: disc; }
.job-description ul li { margin-bottom: 6px; }
.job-sidebar-card { position: sticky; top: 90px; }
.apply-card { padding: 28px; }
.apply-card h3 { margin-bottom: 20px; color: var(--dark); }

/* ── Auth pages ── */
.auth-wrap {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    padding: 40px 24px;
}
.auth-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    width: 100%;
    max-width: 480px;
}
.auth-box.wide { max-width: 560px; }
.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}
.auth-logo img { height: 52px; width: auto; margin: 0 auto 8px; border-radius: 4px; }
.auth-logo-name { font-size: 1.4rem; font-weight: 800; color: var(--teal); }
.auth-box h2 { text-align: center; margin-bottom: 8px; }
.auth-box .auth-sub { text-align: center; color: var(--gray-500); font-size: .9rem; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--gray-500); }
.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.role-option { display: none; }
.role-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    font-weight: 600;
    font-size: .92rem;
    color: var(--gray-700);
}
.role-label .role-icon { font-size: 2rem; }
.role-option:checked + .role-label {
    border-color: var(--teal);
    background: var(--teal-light);
    color: var(--teal-dark);
}

/* ── Dashboard / My Jobs ── */
.dashboard-hero {
    background: linear-gradient(135deg, var(--dark), #2D2D4E);
    padding: 40px 0;
    color: var(--white);
}
.dashboard-hero h1 { color: var(--white); font-size: 1.6rem; margin-bottom: 4px; }
.dashboard-hero p { color: rgba(255,255,255,.7); font-size: .92rem; }
.dashboard-tabs {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 50;
}
.dashboard-tabs nav {
    display: flex;
    gap: 4px;
}
.dashboard-tabs a {
    padding: 16px 20px;
    color: var(--gray-500);
    font-weight: 600;
    font-size: .9rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}
.dashboard-tabs a:hover { color: var(--teal); }
.dashboard-tabs a.active { color: var(--teal); border-bottom-color: var(--teal); }
.content-area { padding: 40px 0; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead th {
    background: var(--gray-100);
    padding: 13px 16px;
    text-align: left;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gray-500);
    border-bottom: 1px solid var(--border);
}
tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
    color: var(--gray-700);
    vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--gray-100); }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-logo img { height: 38px; border-radius: 4px; }
.footer-logo-name { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-brand p { font-size: .87rem; line-height: 1.7; margin-bottom: 16px; }
.footer-tagline { font-size: .82rem; color: var(--gold); font-style: italic; }
.footer-col h4 {
    color: var(--white);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    margin-bottom: 10px;
}
.footer-contact-item span { font-size: 1rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    transition: all var(--transition);
    flex-shrink: 0;
}
.footer-social a:hover { background: var(--burgundy); color: var(--white); }

/* ── Contact page ── */
.contact-wrap { background: var(--gray-100); padding: 48px 0; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    background: var(--burgundy);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.contact-info-card h3 {
    color: var(--white);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 18px;
}
.contact-info-item { margin-bottom: 14px; }
.contact-info-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.5);
    margin-bottom: 3px;
}
.contact-info-value { font-size: .9rem; color: var(--white); }
.contact-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: rgba(255,255,255,.85);
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-info-card p { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.65; }

/* ── About page ── */
.about-story { max-width: 760px; }
.about-story h2 { margin-bottom: 24px; color: var(--dark); }
.about-story p { font-size: 1rem; line-height: 1.75; margin-bottom: 18px; color: var(--gray-700); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 { color: var(--dark); margin-bottom: 10px; }
.value-card p { font-size: .9rem; color: var(--gray-700); }

/* ── Post Job page ── */
.post-job-wrap { padding: 48px 0; background: var(--gray-100); }
.post-job-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.form-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--teal);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-card-header h2 { color: var(--white); }
.form-card-body { padding: 28px; }
.sidebar-tip {
    background: var(--teal-light);
    border: 1px solid rgba(27,122,140,.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-tip h4 { color: var(--teal-dark); margin-bottom: 10px; }
.sidebar-tip ul { padding-left: 16px; list-style: disc; }
.sidebar-tip ul li { font-size: .87rem; color: var(--gray-700); margin-bottom: 6px; }
.notice-box {
    background: var(--gold-light);
    border: 1px solid rgba(201,164,82,.3);
    border-radius: var(--radius);
    padding: 16px;
    font-size: .88rem;
    color: var(--gold-dark);
}

/* ── Admin sidebar layout ── */
.admin-layout { display: flex; min-height: calc(100vh - 70px); }
.admin-sidebar {
    width: 260px;
    background: var(--dark);
    flex-shrink: 0;
    padding: 24px 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}
.admin-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 16px;
}
.admin-sidebar-header h4 { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,.05); }
.admin-nav a.active { color: var(--white); background: rgba(27,122,140,.25); border-left-color: var(--teal); }
.admin-nav-sep { height: 1px; background: rgba(255,255,255,.08); margin: 8px 20px; }
.admin-main { flex: 1; padding: 32px; background: var(--gray-100); overflow-x: hidden; }
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-page-header h1 { font-size: 1.5rem; }
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-card-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.stat-card-icon.teal     { background: var(--teal-light); }
.stat-card-icon.burgundy { background: var(--burgundy-light); }
.stat-card-icon.gold     { background: var(--gold-light); }
.stat-card-icon.gray     { background: var(--gray-100); }
.stat-card-value { font-size: 1.8rem; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-card-label { font-size: .85rem; color: var(--gray-500); margin-top: 4px; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.admin-table-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}
.admin-table-card-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-table-card-header h3 { font-size: 1rem; }

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-500);
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { color: var(--dark); margin-bottom: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .job-detail-layout { grid-template-columns: 1fr; }
    .job-sidebar-card { position: static; }
    .post-job-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .dual-cta-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 56px 0; }
    .hiw-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-search { flex-direction: column; }
    .hero-search .divider { display: none; }
    .navbar-nav { display: none; }
    .navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 12px;
        box-shadow: var(--shadow);
        z-index: 999;
    }
    .hamburger { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; }
    .jobs-grid { grid-template-columns: 1fr; }
    .role-selector { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .auth-box { padding: 28px 20px; }
    .hero { padding: 56px 0 72px; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted  { color: var(--gray-500); }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE ENHANCEMENTS — SA Job Market
═══════════════════════════════════════════════════ */

/* Hero eyebrow label */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold);
    background: rgba(201,164,82,.15);
    border: 1px solid rgba(201,164,82,.3);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 20px;
}

/* ── SA Market Section ── */
.sa-market {
    background: var(--dark);
    padding: 80px 0;
}
.sa-market-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.sa-market-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold);
    margin-bottom: 14px;
}
.sa-market-text h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 18px;
}
.sa-market-text > p {
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 32px;
}
.sa-market-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.sa-market-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 340px;
}
.sa-market-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.sa-market-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}
.sa-mstat {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
    transition: background var(--transition);
}
.sa-mstat:hover { background: rgba(255,255,255,.11); }
.sa-mstat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}
.sa-mstat-label {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.4;
}

/* ── Top Sectors Grid ── */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.sector-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 230px;
    display: block;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.sector-card:hover img { transform: scale(1.06); }
.sector-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.9) 0%, rgba(26,26,46,.3) 55%, rgba(26,26,46,.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px;
}
.sector-icon { font-size: 1.5rem; margin-bottom: 5px; line-height: 1; }
.sector-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 3px;
}
.sector-tag {
    font-size: .7rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE ENHANCEMENTS
═══════════════════════════════════════════════════ */

.page-hero-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold);
    margin-bottom: 12px;
    display: inline-block;
}

/* About story: split layout */
.about-story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-story-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 460px;
    position: relative;
}
.about-story-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}
.about-img-badge-icon { font-size: 1.8rem; line-height: 1; }
.about-img-badge-label { font-size: .78rem; color: var(--gray-500); }
.about-img-badge-num { font-size: 1rem; font-weight: 800; color: var(--dark); line-height: 1.2; }

.about-story-content h2 { margin-bottom: 20px; color: var(--dark); }
.about-story-content p { font-size: .97rem; line-height: 1.78; margin-bottom: 16px; color: var(--gray-700); }

/* SA Facts Banner */
.sa-facts {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #2A9AAD 100%);
    padding: 64px 0;
}
.sa-facts-head { text-align: center; margin-bottom: 40px; }
.sa-facts-head h2 { color: var(--white); margin-bottom: 10px; }
.sa-facts-head p { color: rgba(255,255,255,.72); font-size: .97rem; }
.sa-facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sa-fact {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    transition: background var(--transition);
}
.sa-fact:hover { background: rgba(255,255,255,.16); }
.sa-fact-num {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.sa-fact-label {
    font-size: .8rem;
    color: rgba(255,255,255,.72);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
    margin-bottom: 4px;
}
.sa-fact-sub {
    font-size: .72rem;
    color: var(--gold);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE ENHANCEMENTS
═══════════════════════════════════════════════════ */

.contact-highlights {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.contact-hl-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.contact-hl-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.contact-hl-item:last-child { border-right: none; }
.contact-hl-item:hover { background: var(--gray-100); }
.contact-hl-icon {
    width: 48px; height: 48px;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-hl-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gray-500);
    margin-bottom: 3px;
}
.contact-hl-value {
    font-size: .95rem;
    font-weight: 600;
    color: var(--dark);
}
.contact-hl-value a { color: var(--dark); }
.contact-hl-value a:hover { color: var(--teal); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE ADDITIONS
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .sa-market-inner { grid-template-columns: 1fr; gap: 40px; }
    .sa-facts-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story-split { grid-template-columns: 1fr; gap: 36px; }
    .about-story-img-wrap { height: 320px; }
    .contact-hl-row { grid-template-columns: 1fr; }
    .contact-hl-item { border-right: none; border-bottom: 1px solid var(--border); }
    .contact-hl-item:last-child { border-bottom: none; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .sa-market-stats { grid-template-columns: 1fr 1fr; }
    .sa-facts-grid { grid-template-columns: 1fr 1fr; }
    .sectors-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .sectors-grid { grid-template-columns: 1fr; }
    .sa-facts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .about-story-split { gap: 24px; }
}
