/* PakJobs24 - Premium Design System 2026 */

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Primary Colors - Bold & Vibrant */
    --primary-color: #e94560;
    --primary-dark: #d13350;
    --primary-light: #ff6b84;
    --primary-gradient: linear-gradient(135deg, #e94560 0%, #ff6b84 100%);
    
    /* Secondary Colors - Deep & Professional */
    --secondary-color: #1a1a2e;
    --secondary-light: #16213e;
    --secondary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    
    /* Accent Colors */
    --accent-blue: #0f3460;
    --accent-purple: #667eea;
    --accent-teal: #11998e;
    --accent-orange: #f39c12;
    --accent-pink: #f093fb;
    
    /* Background Colors */
    --bg-color: #fafbfc;
    --bg-alt: #f0f2f5;
    --bg-dark: #0f0f1a;
    --bg-gradient: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
    
    /* Text Colors */
    --text-color: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-gradient: linear-gradient(135deg, #e94560, #667eea);
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Shadows - Layered & Modern */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 40px rgba(233, 69, 96, 0.3);
    --shadow-colored: 0 8px 32px rgba(233, 69, 96, 0.2);
    
    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

p {
    color: var(--text-muted);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   BUTTONS - Bold & Interactive
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

.btn-ghost {
    background: transparent;
    color: var(--text-color);
}

.btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--primary-color);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ============================================
   HEADER - Premium Glassmorphism Design
   ============================================ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: -1;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(233, 69, 96, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    gap: var(--space-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo span span {
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    background: rgba(248, 250, 252, 0.8);
    padding: var(--space-1);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.main-nav a {
    position: relative;
    padding: var(--space-2) var(--space-4);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    opacity: 0;
}

.main-nav a:hover {
    color: var(--primary-color);
    background: rgba(233, 69, 96, 0.08);
    transform: translateY(-2px);
}

.main-nav a.active {
    color: var(--text-white);
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.35);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 50%;
    opacity: 1;
}

.main-nav a.active::after {
    background: rgba(255, 255, 255, 0.5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.header-actions .btn {
    padding: var(--space-2) var(--space-5);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-actions .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.header-actions .btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.3);
}

.header-actions .btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.header-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
    border: 2px solid rgba(233, 69, 96, 0.2);
    border-radius: var(--radius-md);
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn:hover {
    background: var(--primary-gradient);
    color: var(--text-white);
    transform: rotate(90deg);
    border-color: transparent;
}

/* ============================================
   HERO SECTION - Bold & Captivating
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-16) 0 var(--space-20);
    background: var(--secondary-gradient);
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(233, 69, 96, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(17, 153, 142, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23fafbfc' d='M0,50 C360,100 1080,0 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

/* Floating Shapes */
.hero .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero .floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero .floating-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero .floating-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--accent-purple);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.hero .floating-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--accent-teal);
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    color: var(--text-white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-5);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: var(--space-10);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SEARCH FORM - Premium & Interactive
   ============================================ */
.search-form {
    background: var(--text-white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.search-input-group {
    position: relative;
}

.search-input-group i {
    position: absolute;
    left: var(--space-5);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
    transition: var(--transition);
    z-index: 1;
}

.search-input-group input,
.search-input-group select {
    width: 100%;
    padding: var(--space-4) var(--space-5) var(--space-4) var(--space-12);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--text-white);
    color: var(--text-color);
}

.search-input-group input:focus,
.search-input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.search-input-group input:focus + i,
.search-input-group select:focus + i {
    color: var(--primary-color);
}

.search-input-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-5) center;
    padding-right: var(--space-12);
}

.search-filters {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
    padding-top: var(--space-5);
    border-top: 1px solid var(--border-light);
}

.search-filters > span {
    font-weight: 700;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-options {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm);
}

.checkbox-label:hover {
    color: var(--primary-color);
    background: rgba(233, 69, 96, 0.05);
}

.checkbox-label input[type="radio"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.search-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* ============================================
   HERO STATS - Impressive Numbers
   ============================================ */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    margin-top: var(--space-12);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: calc(var(--space-16) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--space-16) 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--secondary-gradient);
    color: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header h2 {
    color: var(--secondary-color);
    margin-bottom: var(--space-4);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: var(--space-6) auto 0;
}

.section-header .view-all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.section-header .view-all:hover {
    gap: var(--space-3);
}

/* ============================================
   JOB TYPE CARDS - Vibrant & Bold
   ============================================ */
.job-types-section {
    padding: var(--space-16) 0;
    background: var(--bg-alt);
}

.job-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.job-type-card {
    position: relative;
    padding: var(--space-10) var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-slow);
    cursor: pointer;
    overflow: hidden;
    border: none;
}

.job-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.job-type-card:hover::before {
    opacity: 1;
}

.job-type-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.job-type-card:hover::after {
    width: 400px;
    height: 400px;
}

.job-type-card.govt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.job-type-card.private {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.job-type-card.freelance {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.job-type-card.remote {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.job-type-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.job-type-card i {
    font-size: 56px;
    color: var(--text-white);
    margin-bottom: var(--space-5);
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.job-type-card:hover i {
    transform: scale(1.1);
}

.job-type-card h3 {
    color: var(--text-white);
    font-size: 24px;
    margin-bottom: var(--space-3);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.job-type-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-4);
}

.job-type-card .job-count {
    display: inline-block;
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-weight: 700;
    font-size: 14px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-section {
    padding: var(--space-16) 0;
    background: var(--text-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.category-card {
    background: var(--text-white);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition-slow);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.category-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-gradient);
    transform: scale(1.1) rotate(5deg);
}

.category-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-icon i {
    color: var(--text-white);
}

.category-card h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: var(--space-2);
    font-weight: 700;
}

.category-card .job-count {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   FEATURED JOBS
   ============================================ */
.featured-jobs-section {
    padding: var(--space-16) 0;
    background: var(--text-white);
}

.featured-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.featured-job-card {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    border: 2px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.featured-job-card::before {
    content: 'Featured';
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-job-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-2xl);
    transform: translateY(-10px);
}

/* ============================================
   TRENDING JOBS SECTION
   ============================================ */
.trending-jobs-section {
    padding: var(--space-16) 0;
    background: var(--bg-alt);
}

.trending-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

/* ============================================
   JOB CARDS - Clean & Professional
   ============================================ */
.jobs-section {
    padding: var(--space-12) 0;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.job-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.job-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.15);
    transform: translateY(-6px);
}

.job-card-header {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.company-logo,
.company-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.company-logo-placeholder i {
    font-size: 28px;
    color: var(--text-muted);
}

.job-info {
    flex: 1;
}

.job-info h3 {
    font-size: 19px;
    margin-bottom: var(--space-2);
}

.job-info h3 a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.job-info h3 a:hover {
    color: var(--primary-color);
}

.company-name {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.job-card-meta {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    color: var(--text-muted);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.job-type-badge {
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-type-badge.type-govt {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.job-type-badge.type-private {
    background: rgba(17, 153, 142, 0.15);
    color: #11998e;
}

.job-type-badge.type-freelance {
    background: rgba(240, 147, 251, 0.15);
    color: #f093fb;
}

.job-type-badge.type-remote {
    background: rgba(79, 172, 254, 0.15);
    color: #4facfe;
}

.job-description {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.posted-date {
    font-size: 13px;
    color: var(--text-light);
}

.job-actions {
    display: flex;
    gap: var(--space-3);
}

/* ============================================
   CITIES SECTION
   ============================================ */
.cities-section {
    padding: var(--space-16) 0;
    background: var(--text-white);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-5);
}

.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) var(--space-5);
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    border: 2px solid transparent;
    cursor: pointer;
}

.city-card:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.city-card i {
    font-size: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.city-card:hover i {
    color: var(--text-white);
    transform: scale(1.1);
}

.city-card .city-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--text-color);
    transition: var(--transition);
}

.city-card:hover .city-name {
    color: var(--text-white);
}

.city-card .jobs-available {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.city-card:hover .jobs-available {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   JOB ALERTS SECTION
   ============================================ */
.job-alerts-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: var(--space-16) 0;
    color: var(--text-white);
}

.job-alerts-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
}

.job-alerts-info {
    flex: 1;
    min-width: 300px;
}

.job-alerts-info h2 {
    font-size: 32px;
    margin-bottom: var(--space-5);
    color: var(--text-white);
}

.job-alerts-info h2 i {
    color: var(--primary-color);
    margin-right: var(--space-3);
}

.job-alerts-info p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: var(--space-8);
    color: rgba(255, 255, 255, 0.9);
}

.job-alerts-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-alerts-features li {
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.job-alerts-features li i {
    color: var(--success-color);
    font-size: 18px;
}

.job-alerts-form-container {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.job-alert-form {
    background: var(--text-white);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    color: var(--text-color);
}

.job-alert-form h3 {
    margin-bottom: var(--space-6);
    color: var(--secondary-color);
}

.alert-form-group {
    margin-bottom: var(--space-5);
}

.alert-form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    font-size: 14px;
}

.alert-form-group input,
.alert-form-group select {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.alert-form-group input:focus,
.alert-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.alert-submit-btn {
    width: 100%;
    padding: var(--space-5);
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.alert-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

/* ============================================
   CTA SECTION - Bold & Eye-catching
   ============================================ */
.cta-section {
    background: var(--primary-gradient);
    padding: var(--space-16) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: var(--space-4) var(--space-10);
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.cta-buttons .btn-white {
    background: var(--text-white);
    color: var(--primary-color);
}

.cta-buttons .btn-white:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-3px);
}

.cta-buttons .btn-outline-white {
    border: 2px solid var(--text-white);
    color: var(--text-white);
    background: transparent;
}

.cta-buttons .btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-10);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: var(--space-3) var(--space-5);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.pagination .active {
    background: var(--primary-gradient);
    color: var(--text-white);
    border-color: var(--primary-color);
}

/* ============================================
   FOOTER - Modern & Informative
   ============================================ */
.main-footer {
    background: var(--secondary-gradient);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-16) 0 var(--space-6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-section h4 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: var(--space-6);
    position: relative;
    padding-bottom: var(--space-4);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

.footer-about .logo {
    margin-bottom: var(--space-5);
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
    font-size: 18px;
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-4px);
    box-shadow: var(--shadow-colored);
}

.footer-section ul li {
    margin-bottom: var(--space-3);
}

.footer-section ul li a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 15px;
}

.contact-info li i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.footer-seo {
    padding: var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-10);
}

.footer-seo h4 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: var(--space-6);
    text-align: center;
}

.seo-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.seo-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.seo-links a:hover {
    color: var(--text-white);
    background: var(--primary-gradient);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: var(--text-white);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav i {
    font-size: 10px;
    color: var(--text-light);
}

.breadcrumb-nav span {
    color: var(--text-color);
    font-weight: 600;
}

/* ============================================
   JOB DETAIL PAGE
   ============================================ */
.job-detail-section {
    padding: var(--space-10) 0;
}

.job-poster-section {
    padding: var(--space-5) 0;
}

.job-poster-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--primary-gradient);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.job-poster-image {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: white;
    padding: var(--space-4);
}

.job-poster-overlay {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
}

.job-type-badge-large {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.job-type-badge-large.type-govt { background: #e74c3c; }
.job-type-badge-large.type-private { background: #3498db; }
.job-type-badge-large.type-freelance { background: #9b59b6; }
.job-type-badge-large.type-remote { background: #2ecc71; }
.job-type-badge-large.type-contract { background: #f39c12; }
.job-type-badge-large.type-internship { background: #1abc9c; }

.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
}

.job-detail-card {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.job-detail-header {
    display: flex;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.detail-company-logo {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-lg);
    object-fit: contain;
    background: var(--bg-alt);
    padding: var(--space-3);
}

.job-detail-title h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: var(--space-3);
}

.job-detail-meta {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-color);
}

.job-detail-dates {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.date-item {
    font-size: 14px;
    color: var(--text-muted);
}

.date-item strong {
    color: var(--text-color);
}

.job-apply-section {
    text-align: center;
}

.apply-note {
    display: block;
    margin-top: var(--space-3);
    font-size: 13px;
    color: var(--text-muted);
}

.job-section {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.job-section h2 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 3px solid var(--primary-color);
}

.job-content {
    color: var(--text-color);
    line-height: 1.9;
    font-size: 16px;
}

/* Sidebar */
.sidebar-card {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-6);
}

.sidebar-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.company-info {
    text-align: center;
    margin-bottom: var(--space-5);
}

.company-logo-small {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-logo-small i {
    font-size: 36px;
    color: var(--text-muted);
}

.company-info h4 {
    font-size: 18px;
    margin-bottom: var(--space-2);
}

.source-website {
    font-size: 14px;
    color: var(--text-muted);
}

/* Related Jobs */
.related-jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.related-job-item {
    padding: var(--space-4);
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.related-job-item:hover {
    background: rgba(233, 69, 96, 0.05);
    transform: translateX(5px);
}

.related-job-item h4 {
    font-size: 15px;
    color: var(--secondary-color);
    margin-bottom: var(--space-2);
}

.related-job-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.related-job-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.related-job-meta i {
    color: var(--primary-color);
    margin-right: var(--space-1);
}

/* Safety Tips */
.safety-tips ul {
    list-style: disc;
    padding-left: var(--space-5);
}

.safety-tips ul li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.safety-tips h3 i {
    color: var(--success-color);
    margin-right: var(--space-2);
}

/* Share Section */
.share-section h3 {
    font-size: 20px;
    margin-bottom: var(--space-4);
}

.share-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: var(--text-muted); }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--text-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FILTERS SECTION - Premium Design
   ============================================ */
.filters-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-10);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.filters-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.filters-form {
    position: relative;
    z-index: 1;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: var(--space-5);
    align-items: end;
}

.filter-group {
    position: relative;
}

.filter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.filter-input-wrapper i {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
    z-index: 2;
    transition: var(--transition);
    pointer-events: none;
}

.filter-input-wrapper .form-control {
    width: 100%;
    padding: var(--space-4) var(--space-4) var(--space-4) var(--space-12);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-family: var(--font-primary);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--text-white);
    color: var(--text-color);
    cursor: pointer;
}

.filter-input-wrapper .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1), 0 4px 12px rgba(233, 69, 96, 0.1);
    transform: translateY(-2px);
}

.filter-input-wrapper .form-control:focus + i,
.filter-input-wrapper:focus-within i {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.filter-input-wrapper select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
}

.filter-input-wrapper select.form-control:hover {
    border-color: var(--primary-light);
}

.filter-input-wrapper input.form-control::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.filter-btn {
    padding: var(--space-4) var(--space-8);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--primary-gradient);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    height: fit-content;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.45);
}

.filter-btn:active {
    transform: translateY(-1px);
}

.filter-btn i {
    font-size: 14px;
}

/* ============================================
   ACTIVE FILTERS - Glassmorphism Design
   ============================================ */
.active-filters {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.15) 0%, rgba(233, 69, 96, 0.05) 100%);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(233, 69, 96, 0.2);
    transition: var(--transition);
}

.filter-tag:hover {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.25) 0%, rgba(233, 69, 96, 0.1) 100%);
    transform: translateY(-2px);
}

.filter-tag a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.clear-all {
    color: var(--text-muted);
    font-size: 13px;
    margin-left: auto;
    font-weight: 600;
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.clear-all:hover {
    color: var(--primary-color);
    background: rgba(233, 69, 96, 0.1);
}

/* ============================================
   NO RESULTS
   ============================================ */
.no-jobs {
    text-align: center;
    padding: var(--space-16) var(--space-5);
    background: var(--text-white);
    border-radius: var(--radius-xl);
}

.no-jobs i {
    font-size: 80px;
    color: var(--border-color);
    margin-bottom: var(--space-6);
}

.no-jobs h3 {
    margin-bottom: var(--space-3);
    color: var(--text-color);
}

.no-jobs p {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .job-types-grid,
    .categories-grid,
    .featured-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-inputs .btn {
        grid-column: span 2;
    }
    
    .hero-stats {
        gap: var(--space-10);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .job-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .job-detail-sidebar {
        order: -1;
    }
    
    .job-types-grid,
    .categories-grid,
    .featured-jobs-grid,
    .latest-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Filters responsive */
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-btn {
        grid-column: span 2;
    }
    
    /* Trending jobs responsive */
    .trending-jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        padding: 0;
    }
    
    .header-content {
        position: relative;
        padding: var(--space-3) 0;
        gap: var(--space-3);
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo i {
        font-size: 26px;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 70px var(--space-6) var(--space-6);
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        z-index: 1001;
        gap: 0;
        max-height: none;
        overflow-y: auto;
        animation: none;
    }
    
    .main-nav.active {
        display: flex;
        animation: fadeInMobile 0.3s ease;
    }
    
    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    .main-nav a {
        padding: var(--space-5) var(--space-5);
        border-radius: var(--radius-lg);
        width: 100%;
        text-align: left;
        font-size: 18px;
        font-weight: 600;
        border-bottom: 1px solid var(--border-light);
        white-space: normal;
        margin-bottom: var(--space-2);
        transition: all 0.3s ease;
    }
    
    .main-nav a:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: var(--primary-gradient);
        color: var(--text-white);
        transform: translateX(10px);
        box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    }
    
    .main-nav a.active {
        background: var(--primary-gradient);
        color: var(--text-white);
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        width: 48px;
        height: 48px;
        font-size: 22px;
        background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(233, 69, 96, 0.05) 100%);
        border: 2px solid rgba(233, 69, 96, 0.3);
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: var(--primary-gradient);
        color: var(--text-white);
        border-color: transparent;
        transform: rotate(90deg) scale(1.05);
    }
    
    .mobile-menu-btn.active {
        background: var(--primary-gradient);
        color: var(--text-white);
        border-color: transparent;
        transform: rotate(180deg);
    }
    
    .header-actions {
        display: none;
    }
    
    /* Mobile menu overlay */
    .main-nav::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .main-nav.active::before {
        opacity: 1;
    }
    
    .hero {
        padding: var(--space-12) 0 var(--space-16);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .search-form {
        padding: var(--space-6);
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
    }
    
    .search-inputs .btn {
        grid-column: span 1;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .stat::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .job-types-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    
    .city-card {
        padding: var(--space-6) var(--space-4);
    }
    
    .city-card .city-name {
        font-size: 15px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
    
    .footer-about {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Filters mobile */
    .filters-section {
        padding: var(--space-5);
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .filter-btn {
        grid-column: span 1;
        width: 100%;
    }
    
    /* Job alerts mobile */
    .job-alerts-content {
        flex-direction: column;
    }
    
    .job-alerts-info {
        text-align: center;
    }
    
    .job-alerts-features {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .job-alerts-form-container {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .search-input-group input,
    .search-input-group select {
        padding: var(--space-3) var(--space-3) var(--space-3) var(--space-10);
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .search-input-group i {
        left: var(--space-4);
        font-size: 16px;
    }
    
    .search-btn {
        padding: var(--space-3) var(--space-6);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .city-card {
        padding: var(--space-5) var(--space-3);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .seo-links {
        gap: var(--space-2);
    }
    
    .seo-links a {
        font-size: 12px;
        padding: var(--space-1) var(--space-3);
    }
    
    /* Mobile touch improvements */
    .btn,
    .job-card,
    .category-card,
    .city-card,
    .job-type-card,
    .featured-job-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    /* Improve touch targets */
    .main-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-btn {
        min-width: 48px;
        min-height: 48px;
    }
    
    /* Better mobile spacing */
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-8);
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Improve mobile cards */
    .job-card {
        padding: var(--space-5);
    }
    
    .job-card-header {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .company-logo,
    .company-logo-placeholder {
        width: 56px;
        height: 56px;
    }
    
    .job-info h3 {
        font-size: 17px;
    }
    
    .job-card-meta {
        gap: var(--space-3);
    }
    
    .meta-item {
        font-size: 13px;
    }
    
    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .job-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    /* Mobile form improvements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: var(--space-4);
    }
    
    .search-form {
        padding: var(--space-5);
    }
    
    .search-inputs {
        gap: var(--space-3);
    }
    
    /* Mobile filter improvements */
    .filters-section {
        padding: var(--space-4);
    }
    
    .filter-input-wrapper .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10);
    }
    
    .filter-btn {
        padding: var(--space-4) var(--space-6);
        font-size: 16px;
    }
    
    /* Mobile job detail improvements */
    .job-detail-header {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .detail-company-logo {
        width: 80px;
        height: 80px;
    }
    
    .job-detail-title h1 {
        font-size: 22px;
    }
    
    .job-detail-meta {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .job-detail-dates {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    /* Mobile pagination */
    .pagination {
        gap: var(--space-1);
    }
    
    .pagination a,
    .pagination span {
        padding: var(--space-2) var(--space-3);
        font-size: 13px;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile CTA improvements */
    .cta-section {
        padding: var(--space-12) 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons .btn {
        padding: var(--space-4) var(--space-8);
        font-size: 16px;
    }
    
    /* Job alerts mobile improvements */
    .job-alerts-info h2 {
        font-size: 24px;
    }
    
    .job-alert-form {
        padding: var(--space-6);
    }
    
    .alert-form-group input,
    .alert-form-group select {
        font-size: 16px;
        padding: var(--space-4);
    }
    
    .alert-submit-btn {
        padding: var(--space-4);
        font-size: 16px;
    }
}

/* Additional mobile enhancements for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .search-input-group input,
    .search-input-group select {
        padding: var(--space-3) var(--space-3) var(--space-3) var(--space-8);
        font-size: 16px;
    }
    
    .search-input-group i {
        left: var(--space-3);
        font-size: 14px;
    }
    
    .job-type-card {
        padding: var(--space-6) var(--space-4);
    }
    
    .job-type-card i {
        font-size: 40px;
    }
    
    .job-type-card h3 {
        font-size: 18px;
    }
    
    .category-card {
        padding: var(--space-6) var(--space-4);
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 24px;
    }
    
    .category-card h3 {
        font-size: 15px;
    }
    
    .city-card {
        padding: var(--space-4) var(--space-2);
    }
    
    .city-card i {
        font-size: 32px;
    }
    
    .city-card .city-name {
        font-size: 14px;
    }
    
    .city-card .jobs-available {
        font-size: 12px;
    }
}

/* Landscape mobile improvements */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: var(--space-8) 0 var(--space-10);
    }
    
    .hero-stats {
        flex-direction: row;
        gap: var(--space-8);
    }
    
    .stat::after {
        display: block;
    }
    
    .search-inputs {
        grid-template-columns: 1fr 1fr;
    }
    
    .search-inputs .btn {
        grid-column: span 2;
    }
}

/* High DPI mobile screen improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .main-header {
        border-bottom-width: 0.5px;
    }
    
    .job-card,
    .category-card,
    .city-card,
    .featured-job-card {
        border-width: 0.5px;
    }
}

/* Dark mode support for mobile (if user prefers) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .mobile-menu-btn:hover {
        transform: none;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        transform: none;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: var(--text-white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 18px;
}

.contact-item:hover .contact-icon {
    background: var(--primary-gradient);
    transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
    color: var(--text-white);
}

.contact-content strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

.contact-content p {
    color: var(--text-muted);
    margin: 0;
}

.contact-form {
    background: var(--text-white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--text-white);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .main-header,
    .hero,
    .cta-section,
    .main-footer,
    .job-actions,
    .share-section,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .job-card,
    .job-detail-card,
    .sidebar-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu a:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
        background-color: rgba(0, 123, 255, 0.1);
    }
}
