/* ============================================================
   ROZGAR JAWAN — MODERN MINIMALIST DESIGN SYSTEM & STYLESHEET
   Clean, Animated, High Performance, Dark/Light Mode Responsive
   ============================================================ */

:root {
    /* Color Palette - Light Mode */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-muted: #f1f5f9;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Brand Green (Pakistan Heritage / Fresh Growth) */
    --brand-primary: #059669;       /* Emerald Green */
    --brand-primary-hover: #047857;
    --brand-glow: rgba(5, 150, 105, 0.16);
    --brand-accent: #10b981;
    --brand-surface: #ecfdf5;

    /* Status Colors */
    --status-verified: #059669;
    --status-urgent: #e11d48;
    --status-urgent-bg: #ffe4e6;
    --status-badge-bg: #ecfdf5;

    /* Shadow & Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    --shadow-elevated: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 10px 15px -3px rgba(15, 23, 42, 0.04);

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', serif;
}

[data-theme="dark"] {
    --bg-main: #090d16;
    --bg-surface: #111726;
    --bg-surface-elevated: #161e31;
    --bg-muted: #1c263c;
    --border-color: #232f48;
    --border-subtle: #192336;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --brand-primary: #10b981;
    --brand-primary-hover: #34d399;
    --brand-glow: rgba(16, 185, 129, 0.22);
    --brand-surface: rgba(16, 185, 129, 0.1);

    --status-urgent-bg: rgba(225, 29, 72, 0.15);
    --status-badge-bg: rgba(16, 185, 129, 0.12);

    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
    --shadow-elevated: 0 24px 50px rgba(0, 0, 0, 0.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient Background Lights */
.ambient-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    transition: opacity var(--transition-smooth);
}

.glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
}

.glow-2 {
    top: 40%;
    left: -150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
}

/* Announcement Bar */
.top-announcement {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
    padding: 8px 0;
    position: relative;
    z-index: 10;
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
}

.urdu-slogan {
    font-family: var(--font-urdu);
    font-size: 0.95rem;
    color: var(--brand-primary);
    direction: rtl;
    line-height: 1.2;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 23, 38, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-symbol {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-primary), #047857);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--brand-glow);
    transition: transform var(--transition-bounce);
}

.brand-logo:hover .logo-symbol {
    transform: rotate(5deg) scale(1.05);
}

.logo-symbol svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.brand-name .accent-text {
    color: var(--brand-primary);
    margin-left: 2px;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

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

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.icon-btn:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: var(--brand-surface);
}

.theme-icon {
    width: 18px;
    height: 18px;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--brand-glow);
}

.btn-primary:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--brand-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-surface);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 64px 0 40px;
    z-index: 1;
}

.hero-container {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--brand-surface);
    color: var(--brand-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary), #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Card */
.search-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    transition: box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.search-card:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 10px 30px var(--brand-glow);
}

.search-field {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    gap: 12px;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-field input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
}

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

.filter-dropdown-group {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--bg-muted);
    border: 1px solid transparent;
    padding: 12px 36px 12px 16px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-md);
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 5px;
    background: currentColor;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    pointer-events: none;
    color: var(--text-muted);
}

.select-wrapper select:focus {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 10px;
}

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

.metric-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-separator {
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

/* Category Chips */
.categories-section {
    padding: 10px 0 28px;
}

.chips-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.chips-wrapper::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.chip:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-1px);
}

.chip.active {
    background: var(--text-primary);
    color: var(--bg-surface);
    border-color: var(--text-primary);
}

/* Monetag Ad Zone Styling */
.ad-banner-slot {
    margin: 12px auto;
    text-align: center;
    min-height: 0;
    transition: all var(--transition-smooth);
}

.ad-banner-slot:empty {
    display: none;
}

[data-theme="dark"] .chip.active {
    background: #ffffff;
    color: #090d16;
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
}

/* Jobs Feed Section */
.jobs-feed-section {
    padding: 30px 0 70px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.feed-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.count-badge {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Job Card */
.job-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(5, 150, 105, 0.4);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.job-org-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--brand-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-header-info {
    flex-grow: 1;
}

.job-org-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.job-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.job-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tag-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.tag-badge.tag-verified {
    background: var(--status-badge-bg);
    color: var(--status-verified);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-badge.tag-urgent {
    background: var(--status-urgent-bg);
    color: var(--status-urgent);
}

.job-card-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.meta-deadline strong {
    color: var(--text-primary);
}

.meta-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: gap var(--transition-fast);
}

.job-card:hover .meta-action {
    gap: 8px;
}

/* Empty State Card */
.empty-state-card {
    background: var(--bg-surface);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 32px;
    text-align: center;
    max-width: 680px;
    margin: 20px auto;
}

.empty-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--brand-surface);
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.empty-svg {
    width: 32px;
    height: 32px;
}

.empty-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.empty-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* How It Works Section */
.how-it-works-section {
    padding: 70px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: transform var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-card.highlight-card {
    border-color: var(--brand-primary);
    background: var(--brand-surface);
}

.step-num {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.step-icon svg {
    width: 22px;
    height: 22px;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pipeline Architecture Section */
.pipeline-section {
    padding: 70px 0;
}

.pipeline-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.pipeline-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--brand-surface);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.pipeline-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.pipeline-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 760px;
}

.code-preview-box {
    background: #0f172a;
    border-radius: var(--radius-md);
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid #1e293b;
}

.code-bar {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 8px;
}

.code-preview-box pre {
    padding: 20px;
    color: #f1f5f9;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-preview-box code {
    color: #38bdf8;
}

.pipeline-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.pulse-ring {
    width: 10px;
    height: 10px;
    background: var(--brand-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    animation: ringGlow 1.8s infinite;
}

@keyframes ringGlow {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.pipeline-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Newsletter */
.newsletter-section {
    padding: 20px 0 60px;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--brand-primary), #065f46);
    border-radius: var(--radius-lg);
    padding: 44px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    box-shadow: 0 16px 36px var(--brand-glow);
}

.newsletter-box .section-tag {
    color: #a7f3d0;
}

.newsletter-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-sub {
    font-size: 0.95rem;
    color: #d1fae5;
    max-width: 520px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    max-width: 440px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.9375rem;
}

.newsletter-form .btn-primary {
    background: #0f172a;
    color: #ffffff;
}

.newsletter-form .btn-primary:hover {
    background: #000000;
}

/* Footer */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-motto {
    font-family: var(--font-urdu);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 14px 0 18px;
    line-height: 1.5;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--brand-primary);
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h5 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity var(--transition-smooth);
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-elevated);
    z-index: 2;
    padding: 32px;
    transform: translateY(0) scale(1);
    transition: transform var(--transition-bounce), opacity var(--transition-smooth);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-muted);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--brand-surface);
    color: var(--brand-primary);
}

.modal-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.badge-sector {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.badge-verified {
    background: var(--status-badge-bg);
    color: var(--status-verified);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
}

.modal-org {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.spec-box {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.spec-value {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.deadline-text {
    color: var(--status-urgent) !important;
}

.modal-section {
    margin-bottom: 22px;
}

.modal-section h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.modal-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.modal-list {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.modal-verification-note {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    background: var(--brand-surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(5, 150, 105, 0.2);
    margin-bottom: 26px;
    align-items: center;
}

.modal-verification-note .note-text {
    font-size: 0.8125rem;
    color: var(--brand-primary-hover);
    line-height: 1.5;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-elevated);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-down {
    opacity: 0;
    transform: translateY(-16px);
    animation: fadeDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-section { padding: 40px 0 20px; }
    .filter-dropdown-group { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .modal-specs-grid { grid-template-columns: 1fr; }
    .newsletter-box { padding: 28px 20px; }
    .newsletter-form { max-width: 100%; flex-direction: column; }
    .announcement-inner { justify-content: center; text-align: center; }
}
