/* 
   ==========================================================================
   US JOBS - CLEAN SLATE DESIGN SYSTEM (2026)
   ========================================================================== 
*/

:root {
    /* --- COLORS --- */
    /* Primary: Deep Navy Blue (The Trust Color) */
    --color-primary: #0f172a;
    /* Slate 900 */
    --color-primary-light: #1e293b;
    /* Slate 800 */
    --color-primary-dark: #020617;
    /* Slate 950 */

    /* Accent: Action Red/Orange */
    --color-accent: #ea580c;
    /* Orange 600 */
    --color-accent-hover: #c2410c;
    /* Orange 700 */
    --color-accent-gradient: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);

    /* Premium: Gold */
    --color-gold: #fbbf24;
    /* Amber 400 */
    --color-gold-dark: #d97706;
    /* Amber 600 */
    --color-gold-bg: #fffbeb;
    /* Amber 50 */
    --color-gold-gradient: linear-gradient(45deg, #fbbf24, #d97706);

    /* Neutrals */
    --color-bg: #f8fafc;
    /* Slate 50 */
    --color-bg-surface: #ffffff;
    /* White */
    --color-text-main: #0f172a;
    /* Slate 900 */
    --color-text-body: #334155;
    /* Slate 700 */
    --color-text-muted: #64748b;
    /* Slate 500 */
    --color-border: #e2e8f0;
    /* Slate 200 */

    /* Functional */
    --color-success: #16a34a;
    /* Green 600 */
    --color-link: #2563eb;
    /* Blue 600 */

    /* --- SPACING & LAYOUT --- */
    --container-width: 1280px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* --- FONTS --- */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* --- SHADOWS --- */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(234, 88, 12, 0.2);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.d-flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.d-grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

/* --- COMPONENTS --- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-text-main);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg);
    border-color: var(--color-text-muted);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Inputs */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    transition: 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-gold {
    background: var(--color-gold-gradient);
    color: white;
}

.badge-green {
    background-color: var(--color-success);
    color: white;
    border-radius: 20px;
}

/* --- HEADER --- */
.site-header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.95);
    /* Navy backdrop */
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--color-accent);
    position: relative;
    /* top: 0; removed to make it static */
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-primary-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-link {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .hide-mobile {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 12px;
}

.nav-link:hover {
    color: white;
}

/* --- HERO --- */
.hero-section {
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-search-wrapper {
    max-width: 720px;
    margin: 32px auto 0;
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 50px;
    padding: 6px;
    display: flex;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 24px;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.hero-search-input:focus {
    outline: none;
}

/* --- JOB CARD (PREMIUM) --- */
.job-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

/* VIP/Featured Job Card (PREMIUM) */
.job-card.vip {
    border: 2px solid #2563eb;
    /* Royal Blue */
    background: linear-gradient(to bottom, #eff6ff, white);
    /* Very light blue tint */
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    /* Blue shadow */
    position: relative;
    z-index: 2;
}

.job-card.vip:hover {
    border-color: #1d4ed8;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.job-card.gold {
    /* SUPER PREMIUM LOOK FOR GOLD */
    border: 2px solid #fbbf24;
    background: linear-gradient(to bottom, #fffbeb, white);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
    transform: scale(1.01);
    /* Slightly larger */
    z-index: 5;
}

.job-card.gold:hover {
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
    transform: scale(1.02) translateY(-4px);
    border-color: #d97706;
}

.job-card.vip::before {
    content: "★ VIP";
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    /* Royal Blue Gradient */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    letter-spacing: 1px;
}

.job-card.gold::before {
    content: "👑 GOLD";
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(45deg, #fbbf24, #d97706);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(217, 119, 6, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- SIDEBAR LAYOUT --- */
.page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-top: 40px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none;
    }

    .hero-search-wrapper {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .hero-search-input {
        background: white;
        height: 50px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .hero-search-wrapper .btn {
        width: 100%;
        height: 50px;
        border-radius: 8px;
    }

    .hero-banner {
        width: 100% !important;
        margin-bottom: 16px;
    }

    .d-flex.mobile-wrap {
        flex-direction: column;
    }
}

/* --- HERO BANNERS (PREMIUM MOETIZATION) --- */
.hero-banner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: left;
    transition: transform 0.2s;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

.hero-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.4);
}

.gold-banner {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes gold-pulse {
    0% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
        border-color: #f59e0b;
    }

    50% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.6), 0 0 10px rgba(245, 158, 11, 0.4);
        border-color: #fbbf24;
    }

    100% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
        border-color: #f59e0b;
    }
}

/* Ultra-Premium "Warm Luxury" Banner */
/* Ultra-Premium "Warm Luxury" Banner */
/* --- ULTRA-PREMIUM "MASTERPIECE" BANNER --- */
.premium-light {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    /* Grand Radius */
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    /* Deep "Grand" Shadow */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 20px 40px -6px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(245, 158, 11, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-height: 250px;
    /* New Grand Height */
    transform: translateZ(0);
}

/* Hover: Lift & Glow */
.premium-light:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 30px -10px rgba(245, 158, 11, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(245, 158, 11, 0.3);
}

.premium-light::after {
    display: none;
}

/* Content Area: Clean & Airy */
/* Content Area: Spacious & Grand */
.premium-light .banner-content {
    flex: 1.4;
    /* Balanced split */
    z-index: 5;
    position: relative;
    padding: 32px 40px;
    /* Grand padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, #ffffff 80%, rgba(255, 255, 255, 0) 100%);
}

/* Image Area: Expansive */
.premium-light .banner-image-container {
    flex: 1;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.premium-light .banner-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Soft fade mask */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

.premium-light:hover .banner-image-container img {
    transform: scale(1.03);
}

/* Typography: Editorial Style */
/* Typography: Grand Scale */
.premium-light h3 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.8rem;
    /* Scaled up */
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #111827;
    text-transform: uppercase;
}

.premium-light p {
    color: #4b5563;
    font-size: 1.1rem;
    /* Scaled up */
    line-height: 1.5;
    margin-bottom: 24px;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Allow 3 lines */
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/* Refined Badge - Grand Scale */
.badge-gold-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* More gap */
    margin-bottom: 16px;
    /* More clearance */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    /* Larger text */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #b45309;
    padding: 2px 0;
}

.badge-gold-light::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #f59e0b;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}



/* Premium Button - High Contrast */
.btn-gold {
    background: #111827;
    /* Black Button */
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.btn-gold:hover {
    background: #2563eb;
    /* Blue on Hover */
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
    color: white;
}

/* Gold Button */
.btn-gold {
    background: #f59e0b;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3);
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-gold:hover {
    background: #d97706;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.4);
}

@keyframes neon-pulse {
    0% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
        border-color: #10b981;
    }

    50% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.7), 0 0 10px rgba(16, 185, 129, 0.4);
        border-color: #34d399;
    }

    100% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
        border-color: #10b981;
    }
}

/* Dark Premium Banner (Reference Style) */
.premium-dark {
    background: #111827;
    /* Dark Gray/Black */
    border: 2px solid #10b981;
    /* Neon Green Border */
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    /* Neon Glow */
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.2s;
    animation: neon-pulse 3s infinite;
}

.premium-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    /* Stronger Glow on Hover */
    border-color: #34d399;
}

/* Background Gradients/Images for specific types */
.premium-dark.lawyer {
    background: linear-gradient(to right, #111827 40%, rgba(17, 24, 39, 0.8)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=300&q=80');
    background-size: cover;
    background-position: right center;
}

.premium-dark.cdl {
    background: linear-gradient(to right, #111827 40%, rgba(17, 24, 39, 0.8)), url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=300&q=80');
    background-size: cover;
    background-position: right center;
}

.premium-dark.english {
    background: linear-gradient(to right, #111827 40%, rgba(17, 24, 39, 0.8)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=300&q=80');
    background-size: cover;
    background-position: right center;
}


.premium-dark .banner-content {
    flex: 1;
    z-index: 2;
}

.premium-dark h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
    color: white;
}

.premium-dark p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 16px;
    max-width: 80%;
}

/* Green Pills/Badges */
.badge-neon {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid #059669;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
    transform: rotate(-2deg);
}

/* Neon Button */
.btn-neon {
    background: #10b981;
    /* Emerald 500 */
    color: #064e3b;
    /* Emerald 900 */
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-neon:hover {
    background: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
}





/* --- RESPONSIVE PREMIUM BANNERS --- */
@media (max-width: 768px) {
    .premium-light {
        max-height: none;
        height: auto;
        min-height: 160px;
    }

    .premium-light .banner-content {
        padding: 16px;
    }

    .premium-light h3 {
        font-size: 1.2rem;
    }

    .premium-light p {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .premium-light {
        flex-direction: column-reverse;
        /* Image on top, Text bottom */
    }

    .premium-light .banner-image-container {
        width: 100%;
        height: 160px;
        /* Big image area */
        min-width: 100%;
    }

    .premium-light .banner-content {
        width: 100%;
        padding: 24px 20px;
    }

    .btn-gold {
        width: 100%;
        /* Full width button on mobile */
    }

    .premium-light h3 {
        font-size: 1.4rem;
        /* Restore size for stacked view */
    }
}

/* --- SIDEBAR FILTER --- */