/* ============================================================
   SARKARI VACANCY UPDATE — Design System & Global Styles
   Primary: #1e40af (Deep Blue)  |  CTA: #f97316 (Orange)
   ============================================================ */

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #dbeafe;
    --secondary: #f97316;
    --secondary-hover: #ea6c0a;
    --accent-green: #16a34a;
    --accent-red: #dc2626;
    --accent-purple: #7c3aed;
    --bg-light: #f0f4f8;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .12);
    --radius-sm: 0.375rem;
    --radius-md: 0.6rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --max-width: 1240px;
    --header-h: 64px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Utility Flex/Grid Helpers ────────────────────────────── */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: .75rem;
}

.gap-4 {
    gap: 1rem;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: .875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.overflow-x-auto {
    overflow-x: auto;
}

.pb-2 {
    padding-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.col-span-full {
    grid-column: 1/-1;
}

/* ── Display Toggles ─────────────────────────────────────── */
.hidden {
    display: none !important;
}

@media (min-width:768px) {
    .md-flex {
        display: flex !important;
    }

    .md-block {
        display: block !important;
    }

    .md-hidden {
        display: none !important;
    }
}

@media (min-width:1024px) {
    .lg-flex {
        display: flex !important;
    }

    .lg-block {
        display: block !important;
    }

    .lg-hidden {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.top-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    padding: .875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(30, 64, 175, .35);
    transition: box-shadow .3s;
}

.top-header.scrolled {
    box-shadow: 0 4px 20px rgba(30, 64, 175, .45);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.logo-box {
    background: #fff;
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

.logo-text span {
    font-size: .7rem;
    opacity: .85;
    display: block;
    margin-top: -1px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.btn-en {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: .3rem .75rem;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .2);
}

/* Desktop search bar in header */
.search-bar {
    position: relative;
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center;
    padding-left: 1rem;
    max-width: 520px;
    flex-grow: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.search-bar input {
    background: transparent !important;
    border: none !important;
    padding: .7rem 1rem .7rem 2.25rem !important;
    width: 100%;
    outline: none;
    color: var(--text-main);
    font-size: .9rem;
}

.search-bar i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    z-index: 5;
}

/* Nav links */
.top-header nav a {
    color: rgba(255, 255, 255, .85);
    font-size: .88rem;
    font-weight: 500;
    padding: .35rem .5rem;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}

.top-header nav a:hover,
.top-header nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

/* ── News Ticker ─────────────────────────────────────────── */
.news-ticker {
    background: linear-gradient(90deg, #fff7ed, #fff);
    border-bottom: 1px solid #fed7aa;
    padding: .45rem 0;
    font-size: .88rem;
    color: #9a3412;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.news-ticker marquee {
    flex-grow: 1;
    width: 0;
    min-width: 100%;
}

.ticker-hot {
    background: #ea580c;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .72rem;
    margin-left: 1rem;
    margin-right: .5rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    padding: 3.5rem 1rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::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.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    padding: .35rem .9rem;
    border-radius: 99px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .6;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.hero-title span {
    color: #fb923c;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-search-box {
    max-width: 620px;
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    overflow: hidden;
}

.hero-search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    background: transparent;
}

.hero-search-box input::placeholder {
    color: var(--text-muted);
}

.hero-search-btn {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 0 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: var(--secondary-hover);
    transform: scale(1.02);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.hero-stat strong {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════ */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .6rem 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item .verified {
    color: #16a34a;
}

.trust-item .disclaimer {
    color: #dc2626;
}

.trust-divider {
    width: 1px;
    height: 18px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY SECTION
   ═══════════════════════════════════════════════════════════ */
.category-section {
    padding: 2.5rem 0 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: .5rem;
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
}

.section-title i {
    color: var(--primary);
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .25rem;
    transition: gap .2s;
}

.view-all:hover {
    gap: .5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width:640px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:641px) and (max-width:1023px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: var(--text-main);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: linear-gradient(135deg, #eff6ff, #fff);
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform .2s;
}

.category-card:hover .category-icon {
    transform: scale(1.12) rotate(-4deg);
}

.category-name {
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
}

.category-count {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* icon bg colours */
.ci-blue {
    background: #dbeafe;
    color: #1e40af;
}

.ci-green {
    background: #dcfce7;
    color: #15803d;
}

.ci-orange {
    background: #ffedd5;
    color: #c2410c;
}

.ci-purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.ci-red {
    background: #fee2e2;
    color: #b91c1c;
}

.ci-teal {
    background: #ccfbf1;
    color: #0f766e;
}

.ci-yellow {
    background: #fef9c3;
    color: #a16207;
}

/* ═══════════════════════════════════════════════════════════
   MAIN LAYOUT GRID
   ═══════════════════════════════════════════════════════════ */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem 0 5rem;
}

@media (min-width:1024px) {
    .main-grid {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   JOB CARDS
   ═══════════════════════════════════════════════════════════ */
.job-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width:1024px) {
    .job-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.job-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .875rem;
    border-left: 4px solid transparent;
    transition: border-color .2s, transform .3s, box-shadow .3s;
}

.job-card:hover {
    border-left-color: var(--primary);
}

.job-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.job-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .25rem;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.job-org {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .6rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.job-meta-item.deadline {
    color: var(--accent-red);
    font-weight: 600;
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .875rem;
    border-top: 1px solid var(--border);
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
    padding: .2rem .55rem;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.badge-new {
    background: #dcfce7;
    color: #15803d;
}

.badge-closing {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-updated {
    background: #fef9c3;
    color: #a16207;
}

.badge-urgent {
    background: #fee2e2;
    color: #b91c1c;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .65;
    }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    padding: .5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-apply {
    background: var(--secondary);
    color: #fff;
    padding: .55rem 1.35rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: .9rem;
    transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-apply:hover {
    background: var(--secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .4);
}

/* ── Filter Pills ─────────────────────────────────────────── */
.filter-pill {
    padding: .45rem 1.1rem;
    border-radius: 9999px;
    font-size: .82rem;
    font-weight: 600;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: #fff;
    transition: all .2s;
    white-space: nowrap;
}

.filter-pill.active,
.filter-pill:hover {
    background: var(--primary);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   QUICK LINKS SECTION
   ═══════════════════════════════════════════════════════════ */
.quick-links-section {
    margin-top: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width:640px) {
    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-link-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .65rem;
    text-align: center;
    transition: all .25s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-link-label {
    font-size: .875rem;
    font-weight: 700;
}

.quick-link-sub {
    font-size: .72rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   UTILITY SECTION (Results + Admit Cards)
   ═══════════════════════════════════════════════════════════ */
.utility-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width:768px) {
    .utility-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.utility-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.utility-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .8rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all .2s;
    cursor: pointer;
}

.utility-item:hover {
    background: #e2e8f0;
    transform: translateX(4px);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-section {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-header {
    padding: .875rem 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    background: #f8fafc;
}

.sidebar-list li {
    border-bottom: 1px solid var(--border);
}

.sidebar-list li:last-child {
    border: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    font-weight: 500;
    font-size: .88rem;
    color: var(--text-main);
    transition: background .2s, color .2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #eff6ff;
    color: var(--primary);
}

.sidebar-link .icon {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Social Join Buttons in Sidebar */
.sidebar-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .85rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: .9rem;
    transition: opacity .2s, transform .15s;
    cursor: pointer;
}

.sidebar-join-btn:hover {
    opacity: .9;
    transform: scale(1.01);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #128c7e, #25d366);
    color: #fff;
}

.btn-telegram {
    background: linear-gradient(135deg, #0077b5, #0088cc);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

@media (min-width:640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width:1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    }
}

.footer-brand .logo-container .logo-box {
    background: var(--primary);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.footer-brand .logo-text h1 {
    color: #fff;
    font-size: 1.2rem;
}

.footer-brand .logo-text span {
    color: rgba(255, 255, 255, .6);
}

.footer-tagline {
    margin-top: .75rem;
    font-size: .85rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-disclaimer {
    margin-top: .75rem;
    background: rgba(220, 38, 38, .1);
    border: 1px solid rgba(220, 38, 38, .2);
    border-radius: var(--radius-sm);
    padding: .5rem .75rem;
    font-size: .75rem;
    color: #fca5a5;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.footer-col-title {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: .875rem;
    transition: color .2s, padding-left .2s;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: .3rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem 1rem;
    border-radius: var(--radius-md);
    font-size: .85rem;
    font-weight: 600;
    transition: opacity .2s;
    cursor: pointer;
    text-decoration: none;
}

.footer-social-btn:hover {
    opacity: .88;
}

.fsb-whatsapp {
    background: #128c7e;
    color: #fff;
}

.fsb-telegram {
    background: #0088cc;
    color: #fff;
}

.fsb-twitter {
    background: #0f172a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
}

.footer-bottom {
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .8rem;
    color: #64748b;
}

.footer-bottom a {
    color: #64748b;
    transition: color .2s;
}

.footer-bottom a:hover {
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════════════════ */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: .6rem 0 .5rem;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .07);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    font-size: .65rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: .25rem .5rem;
    border-radius: var(--radius-sm);
    transition: color .2s;
    min-width: 52px;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    width: 20px;
    height: 20px;
    margin-bottom: .1rem;
}

/* ═══════════════════════════════════════════════════════════
   SUBSCRIPTION POPUP
   ═══════════════════════════════════════════════════════════ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    backdrop-filter: blur(3px);
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.popup-card {
    background: #fff;
    border-radius: var(--radius-xl);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    transform: translateY(30px) scale(.95);
    transition: transform .3s, opacity .3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.popup-overlay.show .popup-card {
    transform: translateY(0) scale(1);
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 1.75rem 1.5rem 1.25rem;
    text-align: center;
    position: relative;
}

.popup-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.popup-header p {
    color: rgba(255, 255, 255, .8);
    font-size: .88rem;
}

.popup-close {
    position: absolute;
    top: .75rem;
    right: .875rem;
    color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background .2s;
}

.popup-close:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.popup-body {
    padding: 1.5rem;
}

.popup-body input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    margin-bottom: .75rem;
    transition: border-color .2s;
}

.popup-body input:focus {
    border-color: var(--primary);
}

.popup-submit {
    width: 100%;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: .9rem;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: inherit;
}

.popup-submit:hover {
    background: var(--secondary-hover);
    transform: translateY(-1px);
}

.popup-skip {
    display: block;
    text-align: center;
    margin-top: .85rem;
    font-size: .8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s;
}

.popup-skip:hover {
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   JOB DETAILS PAGE
   ═══════════════════════════════════════════════════════════ */
header.job-details-page {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: .875rem 0;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 12px rgba(30, 64, 175, .35);
}

header.job-details-page .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.job-details-page .header-left {
    display: flex;
    align-items: center;
    gap: .875rem;
}

header.job-details-page .back-btn {
    background: rgba(255, 255, 255, .15);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

header.job-details-page .header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

header.job-details-page .header-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
}

header.job-details-page .header-icon-btn {
    color: #fff;
    opacity: .9;
    display: flex;
    align-items: center;
}

.job-details-page .desktop-nav-brand {
    display: none;
}

@media (min-width:1024px) {

    header.job-details-page .header-title,
    header.job-details-page .back-btn {
        display: none;
    }

    .job-details-page .desktop-nav-brand {
        display: flex;
        align-items: center;
        gap: .75rem;
        color: #fff;
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .job-details-page .desktop-nav-brand span {
        font-weight: 400;
        opacity: .75;
        font-size: 1rem;
    }

    .job-details-page .desktop-nav-links {
        display: flex;
        gap: 1.75rem;
        color: rgba(255, 255, 255, .85);
        font-size: .9rem;
        font-weight: 500;
    }

    .job-details-page .desktop-nav-links a:hover {
        color: #fff;
    }
}

.job-details-page .desktop-nav-links {
    display: none;
}

.job-details-page .breadcrumbs {
    display: flex;
    gap: .4rem;
    font-size: .82rem;
    color: var(--text-muted);
    padding: 1rem 0 .25rem;
    flex-wrap: wrap;
    align-items: center;
}

.job-details-page .breadcrumbs a {
    color: var(--text-muted);
}

.job-details-page .breadcrumbs .sep {
    color: #cbd5e1;
}

.job-details-page .breadcrumbs .current {
    color: var(--text-main);
    font-weight: 500;
}

.job-details-page .page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 6rem;
    padding-top: .5rem;
}

@media (min-width:1024px) {
    .job-details-page .page-layout {
        grid-template-columns: 1fr 320px;
        gap: 1.75rem;
        padding-bottom: 2.5rem;
        align-items: start;
    }
}

.job-details-page .job-header-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.job-details-page .info-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1.25rem;
}

@media (min-width:1024px) {
    .job-details-page .info-tiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

.job-details-page .info-tile {
    padding: 1rem .5rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.job-details-page .info-tile.orange {
    background: #fff7ed;
    color: #c2410c;
}

.job-details-page .info-tile.green {
    background: #f0fdf4;
    color: #15803d;
}

.job-details-page .info-tile.blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.job-details-page .info-tile.purple {
    background: #f5f3ff;
    color: #7e22ce;
}

.job-details-page .detail-section {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    border: 1px solid #f1f5f9;
}

.job-details-page .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: .875rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
}

.job-details-page .section-title-wrap {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.job-details-page .stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: .5rem 0 .25rem;
}

.job-details-page .stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #f1f5f9;
    z-index: 1;
}

.job-details-page .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    z-index: 2;
    flex: 1;
}

.job-details-page .step-circle {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    color: #94a3b8;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.job-details-page .step.active .step-circle {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 1px var(--primary);
}

.job-details-page .link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .875rem 1rem;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: .65rem;
    transition: background .2s;
    color: var(--text-main);
}

.job-details-page .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: .75rem 1rem;
    display: flex;
    gap: .75rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
    z-index: 500;
}

@media (min-width:1024px) {
    .job-details-page .mobile-bottom-bar {
        display: none;
    }
}

.job-details-page .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-details-page .ready-card {
    background: var(--primary);
    border-radius: 18px;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}

.job-details-page .ready-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: .4rem;
    color: #fff !important;
}

.job-details-page .ready-card p {
    font-size: .82rem;
    opacity: .88;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
}

.job-details-page .apply-btn-desktop {
    display: block;
    background: #fff;
    color: var(--primary);
    font-weight: 800;
    padding: .75rem;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    margin-bottom: .75rem;
}

.job-details-page .bookmark-btn-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .65rem;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
}

.job-details-page .sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    border: 1px solid #f1f5f9;
}

.job-details-page .sidebar-card h3 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .875rem;
    color: var(--text-main);
}

.job-details-page .similar-list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.job-details-page .similar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: background .2s;
    color: var(--text-main);
}

.job-details-page .similar-left {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.job-details-page .similar-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    flex-shrink: 0;
}

.job-details-page .similar-title {
    font-size: .85rem;
    font-weight: 600;
}

.job-details-page .similar-org {
    font-size: .72rem;
    color: var(--text-muted);
}

.job-details-page .tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.job-details-page .tool-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: .875rem .5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    transition: background .2s;
    cursor: pointer;
}

.job-details-page .tool-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-details-page .tool-card span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.job-details-page .section-content {
    padding-top: .5rem;
}

.job-details-page .list-item {
    display: flex;
    gap: .65rem;
    margin-bottom: .75rem;
    font-size: .9rem;
    align-items: flex-start;
    color: var(--text-main);
}

.job-details-page .list-item i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.job-details-page .links-grid {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

@media (min-width:1024px) {
    .job-details-page .links-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .75rem;
    }
}

.job-details-page .link-card-left {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.job-details-page .link-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-details-page .link-title {
    font-weight: 600;
    font-size: .9rem;
    color: #0369a1;
}

.job-details-page .link-sub {
    font-size: .75rem;
    color: var(--text-muted);
}

.job-details-page .mobile-bottom-bar .apply-btn-mobile {
    flex: 1;
    background: var(--secondary);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.job-details-page .mobile-bottom-bar .bookmark-btn {
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR RESPONSIVE (Mobile Drawer)
   ═══════════════════════════════════════════════════════════ */
@media (max-width:1023px) {
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 85%;
        max-width: 320px;
        background: #fff;
        z-index: 2000;
        transition: left .3s ease;
        padding: 1.5rem 1rem;
        overflow-y: auto;
        box-shadow: 10px 0 30px rgba(0, 0, 0, .12);
        display: block !important;
    }

    .sidebar.active {
        left: 0;
    }

    .overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 1500;
    }

    .overlay.active {
        display: block;
    }
}

/* ── Sidebar Icon Fixes ───────────────────────────────────── */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem 1rem;
    font-weight: 500;
    font-size: .88rem;
    color: var(--text-main);
    transition: background .2s, color .2s;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: #eff6ff;
    color: var(--primary);
}

/* Force Lucide SVGs inside sidebar links to always be 16×16 */
.sidebar-link svg,
.sidebar-link i,
.sidebar-link .icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

/* Search input focus glow */
#catSearch:focus,
#qualSearch:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, .12);
    outline: none;
}