/*
 * Signature Travels Theme – Master CSS
 * Reference: Foundit/Indeed-style premium recruitment portal
 * Design tokens: Deep Navy + Royal Blue + Metallic Gold
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@600;700;800&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand Colors */
    --navy:            #0B1426;
    --navy-mid:        #111D35;
    --navy-card:       #162040;
    --blue-primary:    #1A6EF3;
    --blue-hover:      #1459CC;
    --blue-light:      #EBF2FE;
    --blue-mid:        #DBEAFE;
    --gold:            #D4A017;
    --gold-light:      #FEF3C7;
    --gold-dark:       #B8860B;
    --red-badge:       #EF4444;
    --red-light:       #FEE2E2;
    --green:           #10B981;
    --green-light:     #D1FAE5;

    /* Neutral Palette */
    --white:           #FFFFFF;
    --bg-main:         #F7F8FA;
    --bg-alt:          #F1F4F9;
    --bg-card:         #FFFFFF;
    --border:          #E2E8F0;
    --border-dark:     #CBD5E1;
    --text-h:          #0D1B34;
    --text-body:       #374151;
    --text-muted:      #6B7280;
    --text-light:      #9CA3AF;

    /* Typography */
    --font-body:       'Inter', system-ui, -apple-system, sans-serif;
    --font-heading:    'Poppins', 'Inter', sans-serif;

    --text-xs:   0.70rem;   /* 11.2px */
    --text-sm:   0.8125rem; /* 13px */
    --text-base: 0.9375rem; /* 15px */
    --text-md:   1.0625rem; /* 17px */
    --text-lg:   1.1875rem; /* 19px */
    --text-xl:   1.375rem;  /* 22px */
    --text-2xl:  1.75rem;   /* 28px */
    --text-3xl:  2.125rem;  /* 34px */
    --text-4xl:  2.75rem;   /* 44px */
    --text-hero: 3.5rem;    /* 56px */

    /* Spacing – matches reference proportions exactly */
    --space-1:   0.25rem;
    --space-2:   0.5rem;
    --space-3:   0.75rem;
    --space-4:   1rem;
    --space-5:   1.25rem;
    --space-6:   1.5rem;
    --space-8:   2rem;
    --space-10:  2.5rem;
    --space-12:  3rem;
    --space-16:  4rem;
    --space-20:  5rem;
    --space-24:  6rem;

    /* Container */
    --container: 1240px;
    --container-pad: 1.25rem;

    /* Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs:  0 1px 2px rgba(0,0,0,.06);
    --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
    --shadow-md:  0 4px 12px rgba(0,0,0,.10);
    --shadow-lg:  0 8px 24px rgba(0,0,0,.12);
    --shadow-xl:  0 16px 40px rgba(0,0,0,.14);

    /* Transitions */
    --ease: cubic-bezier(.4,0,.2,1);
    --dur: 200ms;

    /* Header */
    --header-h: 68px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-body);
    background: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--blue-primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-hover); }

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-h);
    line-height: 1.25;
    font-weight: 700;
}

/* Accessible utilities */
.sr-only, .screen-reader-text {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    background: var(--white); clip: auto; color: var(--text-h);
    display: block; font-size: var(--text-sm); font-weight: 700;
    height: auto; left: 5px; top: 5px; padding: 15px 23px;
    text-decoration: none; width: auto; z-index: 9999;
    border: 2px solid var(--blue-primary);
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    height: var(--header-h);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* Logo */
.site-logo a, .site-title-link {
    display: flex; align-items: center; gap: var(--space-2);
    font-family: var(--font-heading); font-weight: 800;
    font-size: var(--text-lg); color: var(--navy);
    text-decoration: none;
}
.site-logo a:hover { color: var(--blue-primary); }
.site-logo img { height: 40px; width: auto; }
.site-title-text {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-primary) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Primary Nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
    display: flex; align-items: center; gap: 0;
    list-style: none; margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex; align-items: center; gap: 4px;
    padding: 0 var(--space-4);
    height: var(--header-h);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-body);
    white-space: nowrap;
    transition: color var(--dur) var(--ease);
    border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a {
    color: var(--blue-primary);
    border-bottom-color: var(--blue-primary);
}
.nav-chevron { font-size: 10px; opacity: .6; }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s var(--dur);
    z-index: 200;
    list-style: none;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition-delay: 0s;
}
.dropdown-menu li a {
    display: block;
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
    color: var(--text-body);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dropdown-menu li a:hover {
    background: var(--blue-light);
    color: var(--blue-primary);
}

/* Header Actions */
.header-actions {
    display: flex; align-items: center; gap: var(--space-3);
    flex-shrink: 0;
}

.btn-header-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 var(--space-4);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    font-size: var(--text-sm); font-weight: 500;
    color: var(--text-body); background: transparent;
    white-space: nowrap;
    transition: all var(--dur) var(--ease);
}
.btn-header-ghost:hover {
    background: var(--bg-alt);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

.btn-header-primary {
    display: inline-flex; align-items: center;
    height: 36px; padding: 0 var(--space-5);
    border-radius: var(--radius-md);
    background: var(--blue-primary);
    color: var(--white) !important;
    font-size: var(--text-sm); font-weight: 600;
    white-space: nowrap;
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-header-primary:hover {
    background: var(--blue-hover);
    box-shadow: 0 4px 14px rgba(26,110,243,.35);
}

.btn-header-outline {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 var(--space-4);
    border: 1.5px solid var(--blue-primary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm); font-weight: 500;
    color: var(--blue-primary); background: transparent;
    white-space: nowrap;
    transition: all var(--dur) var(--ease);
}
.btn-header-outline:hover {
    background: var(--blue-light); color: var(--blue-hover);
}

.btn-header-whatsapp {
    display: inline-flex; align-items: center;
    width: 36px; height: 36px;
    background: #25D366; border-radius: var(--radius-md);
    color: var(--white); justify-content: center;
    transition: background var(--dur) var(--ease);
}
.btn-header-whatsapp:hover { background: #1BA852; color: var(--white); }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--border); border-radius: var(--radius-md);
    cursor: pointer; padding: 8px;
}
.mobile-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--text-body); border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav-drawer {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-xl); z-index: 999;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-nav-drawer[hidden] { display: none; }
.mobile-nav-body { padding: var(--space-6) var(--container-pad); }
.mobile-nav-list { list-style: none; }
.mobile-nav-list > li > a {
    display: block; padding: var(--space-3) 0;
    font-size: var(--text-md); font-weight: 500;
    color: var(--text-body); border-bottom: 1px solid var(--border);
}
.mobile-nav-list > li:last-child > a { border-bottom: none; }
.mobile-nav-ctas {
    display: flex; flex-direction: column; gap: var(--space-3);
    margin-top: var(--space-6);
}
.btn-full { display: flex; justify-content: center; align-items: center; height: 44px; border-radius: var(--radius-md); font-weight: 600; font-size: var(--text-base); }
.btn-outline-dark { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-primary-solid { background: var(--blue-primary); color: var(--white); border: none; }

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 540px;
    display: flex; align-items: center;
    padding: var(--space-20) 0 var(--space-16);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.28);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11,20,38,.95) 0%, rgba(26,110,243,.30) 100%);
}
.hero-body {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    gap: var(--space-6);
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: var(--space-2);
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.35);
    border-radius: var(--radius-full);
    padding: 6px var(--space-4);
    font-size: var(--text-xs); font-weight: 600;
    color: #FCD34D; letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #FCD34D; flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    max-width: 820px;
    letter-spacing: -.01em;
}
.hero-headline-accent {
    color: #60A5FA;
}

.hero-subheadline {
    font-size: var(--text-md);
    color: rgba(255,255,255,.72);
    max-width: 600px;
    line-height: 1.7;
}

/* Hero Search Box */
.hero-search-box {
    width: 100%; max-width: 860px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: var(--space-5) var(--space-5) var(--space-4);
}
.search-row {
    display: flex; align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}
.search-field {
    position: relative;
    flex: 1; display: flex; align-items: center;
    min-width: 0;
}
.search-field--keyword { flex: 1.6; }
.search-icon {
    position: absolute; left: var(--space-4);
    color: var(--text-muted); pointer-events: none; z-index: 1;
    display: flex; align-items: center;
}
.search-input {
    width: 100%; height: 52px;
    padding: 0 var(--space-4) 0 calc(var(--space-4) + 24px + var(--space-3));
    font-size: var(--text-base); color: var(--text-h);
    background: transparent; border: none; outline: none;
    font-family: var(--font-body);
}
.search-input::placeholder { color: var(--text-muted); }
.search-select {
    width: 100%; height: 52px;
    padding: 0 var(--space-8) 0 calc(var(--space-4) + 24px + var(--space-3));
    font-size: var(--text-sm); color: var(--text-body);
    background: transparent; border: none; outline: none;
    cursor: pointer; font-family: var(--font-body);
    appearance: none; -webkit-appearance: none;
}
.search-divider {
    width: 1px; height: 28px;
    background: var(--border-dark); flex-shrink: 0;
}
.search-submit {
    display: flex; align-items: center; gap: var(--space-2);
    height: 52px; padding: 0 var(--space-6);
    background: var(--blue-primary); color: var(--white);
    font-size: var(--text-base); font-weight: 600;
    border: none; cursor: pointer; flex-shrink: 0;
    transition: background var(--dur) var(--ease);
    font-family: var(--font-body);
    white-space: nowrap;
}
.search-submit:hover { background: var(--blue-hover); }

.search-popular {
    display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2);
    padding-top: var(--space-3);
}
.search-popular-label {
    font-size: var(--text-xs); color: var(--text-muted); font-weight: 500;
    white-space: nowrap;
}
.search-tag {
    display: inline-flex; align-items: center;
    padding: 4px var(--space-3);
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: var(--text-xs); color: var(--text-body);
    transition: all var(--dur) var(--ease);
}
.search-tag:hover {
    background: var(--blue-light); border-color: var(--blue-primary);
    color: var(--blue-primary);
}

/* ============================================================
   6. STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: var(--space-5) 0;
}
.stats-bar-grid {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: var(--space-6);
}
.stat-item {
    display: flex; align-items: center; gap: var(--space-3);
    flex: 1; min-width: 140px;
    padding: var(--space-3) var(--space-4);
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-icon-wrap {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--blue-light); border-radius: var(--radius-md);
    color: var(--blue-primary);
}
.stat-content { display: flex; flex-direction: column; }
.stat-value {
    font-family: var(--font-heading); font-size: var(--text-2xl);
    font-weight: 800; color: var(--text-h); line-height: 1;
}
.stat-label { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; margin-top: 3px; }

/* ============================================================
   7. SECTION COMMON
   ============================================================ */
.section { padding: var(--space-20) 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: var(--space-8); gap: var(--space-4);
}
.section-header--centered {
    flex-direction: column; align-items: center;
    text-align: center;
}

.section-eyebrow {
    display: block; font-size: var(--text-xs);
    font-weight: 700; color: var(--blue-primary);
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-3xl); font-weight: 800;
    color: var(--text-h); line-height: 1.2;
}

.section-subtitle {
    font-size: var(--text-base); color: var(--text-muted);
    max-width: 560px; margin-top: var(--space-3); line-height: 1.7;
}

.section-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--text-sm); font-weight: 600;
    color: var(--blue-primary); white-space: nowrap;
    flex-shrink: 0;
    transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.section-link:hover { gap: var(--space-2); color: var(--blue-hover); }

.section-footer-cta { text-align: center; margin-top: var(--space-10); }

/* ============================================================
   8. JOB FILTER TABS
   ============================================================ */
.job-filter-tabs {
    display: flex; align-items: center; gap: var(--space-2);
    margin-bottom: var(--space-6);
    border-bottom: 2px solid var(--border);
}
.filter-tab {
    display: inline-flex; align-items: center;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm); font-weight: 500;
    color: var(--text-muted);
    background: transparent; border: none; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter-tab:hover { color: var(--blue-primary); }
.filter-tab.is-active { color: var(--blue-primary); border-bottom-color: var(--blue-primary); font-weight: 600; }

/* ============================================================
   9. JOB CARD ROW (List style – matching reference)
   ============================================================ */
.job-list {
    display: flex; flex-direction: column; gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.job-card-row {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    background: var(--white);
    transition: background var(--dur) var(--ease);
    position: relative;
}
.job-card-row:last-child { border-bottom: none; }
.job-card-row:hover { background: var(--bg-alt); }
.job-card-row.is-featured { border-left: 4px solid var(--gold); }
.job-card-row.is-urgent   { border-left: 4px solid var(--red-badge); }

/* Company Logo */
.job-logo {
    width: 52px; height: 52px; flex-shrink: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
}
.job-logo img { width: 100%; height: 100%; object-fit: contain; }
.job-logo-initial {
    font-family: var(--font-heading); font-size: var(--text-sm);
    font-weight: 700; color: var(--blue-primary);
    background: var(--blue-light);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}

/* Job Info */
.job-info { flex: 1; min-width: 0; }

.job-badges {
    display: flex; flex-wrap: wrap; gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.badge {
    display: inline-flex; align-items: center;
    padding: 3px var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .02em; text-transform: uppercase;
    line-height: 1;
}
.badge-gold      { background: var(--gold-light);  color: var(--gold-dark); }
.badge-red       { background: var(--red-light);   color: #B91C1C; }
.badge-blue-light{ background: var(--blue-mid);    color: var(--blue-hover); }
.badge-green     { background: var(--green-light); color: #047857; }

.job-title {
    font-size: var(--text-md); font-weight: 700; color: var(--text-h);
    margin: var(--space-1) 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.job-title-link { color: inherit; }
.job-title-link:hover { color: var(--blue-primary); }

.job-meta {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: var(--space-3); margin-top: var(--space-1);
}
.job-meta-item {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: var(--text-sm); color: var(--text-muted);
}
.job-meta-posted {
    margin-left: auto; color: var(--text-light);
    font-size: var(--text-xs);
}

/* Job Actions */
.job-actions {
    display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0;
}

/* ============================================================
   10. BUTTONS (common)
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    border-radius: var(--radius-md); font-weight: 600; font-family: var(--font-body);
    cursor: pointer; transition: all var(--dur) var(--ease); white-space: nowrap;
    border: 1.5px solid transparent; text-decoration: none;
}
.btn-primary-sm {
    height: 36px; padding: 0 var(--space-5);
    background: var(--blue-primary); color: var(--white);
    font-size: var(--text-sm);
}
.btn-primary-sm:hover {
    background: var(--blue-hover); color: var(--white);
    box-shadow: 0 4px 14px rgba(26,110,243,.30);
    transform: translateY(-1px);
}
.btn-outline-primary {
    height: 44px; padding: 0 var(--space-8);
    border-color: var(--blue-primary); color: var(--blue-primary);
    background: transparent; font-size: var(--text-base);
}
.btn-outline-primary:hover {
    background: var(--blue-light); color: var(--blue-hover);
}
.btn-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    background: transparent; color: var(--text-muted);
    cursor: pointer; transition: all var(--dur) var(--ease);
}
.btn-icon:hover {
    border-color: var(--gold); color: var(--gold);
    background: var(--gold-light);
}
.btn-white-solid {
    height: 48px; padding: 0 var(--space-8);
    background: var(--white); color: var(--navy);
    font-size: var(--text-base);
}
.btn-white-solid:hover { background: var(--bg-alt); color: var(--blue-primary); }

.btn-whatsapp-solid {
    height: 48px; padding: 0 var(--space-8);
    background: #25D366; color: var(--white);
    font-size: var(--text-base);
}
.btn-whatsapp-solid:hover { background: #1BA852; color: var(--white); }
.mt-sm { margin-top: var(--space-5); }

/* ============================================================
   11. ICON SIZES
   ============================================================ */
.lucide-icon, svg.icon-xs  { width: 14px; height: 14px; flex-shrink: 0; }
.lucide-icon, svg.icon-sm  { width: 16px; height: 16px; flex-shrink: 0; }
.lucide-icon, svg.icon-md  { width: 20px; height: 20px; flex-shrink: 0; }
.lucide-icon, svg.icon-lg  { width: 24px; height: 24px; flex-shrink: 0; }
.lucide-icon, svg.icon-xl  { width: 28px; height: 28px; flex-shrink: 0; }

/* ============================================================
   12. COUNTRIES
   ============================================================ */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.country-card {
    position: relative; display: block;
    border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--navy);
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.country-card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 400ms var(--ease), filter 300ms var(--ease);
}
.country-card:hover .country-card-img { transform: scale(1.06); filter: brightness(.35); }
.country-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10,17,40,.88) 100%);
    transition: background 300ms var(--ease);
}
.country-card:hover .country-card-overlay { background: linear-gradient(180deg, rgba(10,17,40,.30) 0%, rgba(10,17,40,.92) 100%); }
.country-card-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: var(--space-5);
    display: flex; flex-direction: column; gap: var(--space-1);
}
.country-flag { font-size: 1.5rem; line-height: 1; }
.country-card-name {
    font-size: var(--text-xl); font-weight: 700; color: var(--white);
}
.country-card-jobs {
    font-size: var(--text-sm); color: var(--gold);
    font-weight: 600;
}

/* ============================================================
   13. INDUSTRIES
   ============================================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.industry-card {
    display: flex; flex-direction: column; align-items: center;
    padding: var(--space-6) var(--space-4) var(--space-5);
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg); text-align: center;
    transition: all var(--dur) var(--ease);
    cursor: pointer;
}
.industry-card:hover {
    border-color: var(--blue-primary);
    background: var(--blue-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.industry-icon {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light); border-radius: var(--radius-lg);
    color: var(--blue-primary); margin-bottom: var(--space-3);
    transition: background var(--dur) var(--ease);
}
.industry-card:hover .industry-icon { background: var(--blue-primary); color: var(--white); }
.industry-name {
    font-size: var(--text-sm); font-weight: 700; color: var(--text-h); margin-bottom: var(--space-1);
}
.industry-count { font-size: var(--text-xs); color: var(--text-muted); }

/* ============================================================
   14. WHY US
   ============================================================ */
.why-us-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}
.why-card {
    display: flex; flex-direction: column; gap: var(--space-4);
    padding: var(--space-6);
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 250ms var(--ease);
}
.why-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light); border-radius: var(--radius-md);
    color: var(--blue-primary);
}
.why-card-title { font-size: var(--text-base); font-weight: 700; color: var(--text-h); }
.why-card-desc { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   15. PROCESS
   ============================================================ */
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6); position: relative;
}
.process-step {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: var(--space-3); position: relative;
}
.process-step-num {
    font-family: var(--font-heading); font-size: var(--text-xs);
    font-weight: 700; color: var(--blue-primary); letter-spacing: .06em;
    background: var(--blue-light); border-radius: var(--radius-full);
    padding: 4px var(--space-3);
}
.process-step-icon {
    width: 64px; height: 64px;
    background: var(--white); border: 2px solid var(--blue-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--blue-primary); flex-shrink: 0;
    transition: all var(--dur) var(--ease);
}
.process-step:hover .process-step-icon { background: var(--blue-primary); color: var(--white); }
.process-step-title { font-size: var(--text-sm); font-weight: 700; color: var(--text-h); }
.process-step-desc  { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.6; }
.process-connector {
    display: none; /* handled via CSS grid flow */
}

/* ============================================================
   16. EMPLOYERS
   ============================================================ */
.employers-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.employer-card {
    display: flex; align-items: center; gap: var(--space-4);
    padding: var(--space-5);
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--dur) var(--ease);
}
.employer-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.employer-logo {
    width: 56px; height: 56px; flex-shrink: 0;
    border: 1.5px solid var(--border); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-light);
}
.employer-logo-initial {
    font-family: var(--font-heading); font-size: var(--text-sm);
    font-weight: 700; color: var(--blue-primary);
}
.employer-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.employer-name { font-size: var(--text-base); font-weight: 700; color: var(--text-h); }
.employer-meta {
    display: flex; align-items: center; gap: 4px;
    font-size: var(--text-xs); color: var(--text-muted);
}
.employer-jobs-badge {
    display: flex; flex-direction: column; align-items: center; flex-shrink: 0;
    background: var(--blue-light); border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
}
.employer-jobs-badge span { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 800; color: var(--blue-primary); line-height: 1; }
.employer-jobs-badge small { font-size: var(--text-xs); color: var(--text-muted); }

/* ============================================================
   17. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.testimonial-card {
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: var(--radius-xl); padding: var(--space-6);
    display: flex; flex-direction: column; gap: var(--space-4);
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-stars { display: flex; gap: 3px; }
.testimonial-quote { font-size: var(--text-sm); color: var(--text-body); line-height: 1.8; font-style: italic; flex: 1; }
.testimonial-person {
    display: flex; align-items: center; gap: var(--space-3);
    padding-top: var(--space-4); border-top: 1px solid var(--border);
    flex-wrap: wrap; gap: var(--space-2);
}
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 2px solid var(--border);
}
.testimonial-person-info { flex: 1; min-width: 0; }
.testimonial-name { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--text-h); }
.testimonial-trade { display: block; font-size: var(--text-xs); color: var(--text-muted); }
.testimonial-placement {
    display: flex; flex-direction: column; gap: 3px; align-items: flex-end;
}
.testimonial-dest, .testimonial-salary {
    display: flex; align-items: center; gap: 4px;
    font-size: var(--text-xs); color: var(--text-muted);
}

/* ============================================================
   18. BLOG
   ============================================================ */
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.blog-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); overflow: hidden;
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 350ms var(--ease);
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-img-placeholder {
    background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
}
.blog-card-body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.blog-card-meta { display: flex; align-items: center; gap: var(--space-3); }
.blog-cat-badge {
    display: inline-flex; align-items: center;
    padding: 3px var(--space-2); border-radius: var(--radius-sm);
    background: var(--blue-light); color: var(--blue-primary);
    font-size: var(--text-xs); font-weight: 600;
}
.blog-date {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: var(--text-xs); color: var(--text-muted);
}
.blog-card-title { font-size: var(--text-md); font-weight: 700; color: var(--text-h); line-height: 1.4; }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--blue-primary); }
.blog-card-excerpt { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.7; flex: 1; }
.blog-card-read-more {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: var(--text-sm); font-weight: 600; color: var(--blue-primary);
    transition: gap var(--dur) var(--ease);
}
.blog-card-read-more:hover { gap: var(--space-2); color: var(--blue-hover); }

/* ============================================================
   19. FAQS
   ============================================================ */
.faqs-section { background: var(--bg-main); }
.faq-inner {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-16); align-items: start;
}
.faq-header { position: sticky; top: calc(var(--header-h) + var(--space-8)); }
.faq-header .section-title { font-size: var(--text-2xl); }

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: var(--space-5) 0;
    font-size: var(--text-base); font-weight: 600; color: var(--text-h);
    background: transparent; border: none; cursor: pointer;
    text-align: left; gap: var(--space-4);
    transition: color var(--dur) var(--ease);
    font-family: var(--font-body);
}
.faq-question:hover, .faq-question[aria-expanded="true"] { color: var(--blue-primary); }
.accordion-icon { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.faq-question[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.faq-answer {
    overflow: hidden; max-height: 0;
    transition: max-height 300ms var(--ease);
}
.faq-answer-inner { padding-bottom: var(--space-5); }
.faq-answer p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   20. FINAL CTA
   ============================================================ */
.final-cta-section {
    position: relative; overflow: hidden;
    padding: var(--space-20) 0;
}
.final-cta-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--navy) 0%, #162d5e 50%, var(--navy-mid) 100%);
    z-index: 0;
}
.final-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") repeat;
    z-index: 1;
}
.final-cta-body {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-12);
    flex-wrap: wrap;
}
.final-cta-content { display: flex; flex-direction: column; gap: var(--space-4); }
.final-cta-title {
    font-size: var(--text-3xl); font-weight: 800; color: var(--white);
    max-width: 600px; line-height: 1.2;
}
.final-cta-subtitle { font-size: var(--text-base); color: rgba(255,255,255,.72); max-width: 500px; }
.final-cta-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.text-white-70 { color: rgba(255,255,255,.7); }

.license-badge {
    display: flex; align-items: center; gap: var(--space-4);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5);
}
.license-icon { font-size: 2rem; }
.license-badge strong { display: block; font-size: var(--text-sm); color: var(--white); }
.license-badge small { font-size: var(--text-xs); color: rgba(255,255,255,.6); }

/* ============================================================
   21. FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-main { padding: var(--space-16) 0 var(--space-12); }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-10);
}
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-site-name {
    font-family: var(--font-heading); font-size: var(--text-xl);
    font-weight: 800; color: var(--white);
}
.footer-tagline {
    font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: 1.7;
    margin: var(--space-4) 0;
}
.footer-license {
    display: flex; align-items: center; gap: var(--space-2);
    font-size: var(--text-xs); color: var(--gold); font-weight: 600;
    margin-bottom: var(--space-5);
}
.license-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold); flex-shrink: 0;
}
.footer-social { display: flex; gap: var(--space-3); }
.footer-social-link {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08); border-radius: var(--radius-md);
    color: rgba(255,255,255,.75);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-social-link:hover { background: var(--blue-primary); color: var(--white); }

.footer-col-title {
    font-size: var(--text-sm); font-weight: 700; color: var(--white);
    margin-bottom: var(--space-5); letter-spacing: .02em;
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links li a {
    font-size: var(--text-sm); color: rgba(255,255,255,.65);
    transition: color var(--dur) var(--ease);
}
.footer-links li a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-4); font-style: normal; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: var(--space-3);
    font-size: var(--text-sm); color: rgba(255,255,255,.65);
}
.footer-contact-icon { color: var(--blue-primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--white); }

.footer-newsletter { margin-top: var(--space-6); }
.footer-newsletter-title {
    font-size: var(--text-sm); font-weight: 600; color: var(--white);
    margin-bottom: var(--space-3);
}
.newsletter-input-row {
    display: flex; border-radius: var(--radius-md); overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
}
.newsletter-input {
    flex: 1; height: 40px; padding: 0 var(--space-4);
    font-size: var(--text-sm); background: rgba(255,255,255,.08);
    border: none; outline: none; color: var(--white);
    font-family: var(--font-body);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-btn {
    width: 40px; height: 40px;
    background: var(--blue-primary); border: none;
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur) var(--ease);
}
.newsletter-btn:hover { background: var(--blue-hover); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: var(--space-5) 0;
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-4); flex-wrap: wrap;
}
.footer-copyright { font-size: var(--text-xs); color: rgba(255,255,255,.5); }
.footer-legal-nav { display: flex; gap: var(--space-5); }
.footer-legal-nav a { font-size: var(--text-xs); color: rgba(255,255,255,.5); }
.footer-legal-nav a:hover { color: var(--white); }

/* ============================================================
   22. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed; bottom: var(--space-6); right: var(--space-6);
    display: flex; flex-direction: column; gap: var(--space-3); z-index: 9999;
}
.toast {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl); border: 1px solid var(--border);
    font-size: var(--text-sm); color: var(--text-h);
    min-width: 280px; max-width: 380px;
    animation: toastIn .3s var(--ease) both;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   23. PRINT STYLES
   ============================================================ */
@media print {
    .site-header, .site-footer, .hero-search-box,
    .final-cta-section, .job-actions, .footer-newsletter { display: none; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ============================================================
   24. RESPONSIVE – 1024px (Tablet landscape)
   ============================================================ */
@media (max-width: 1024px) {
    :root {
        --text-hero: 2.75rem;
        --text-3xl:  1.875rem;
    }

    .countries-grid    { grid-template-columns: repeat(3, 1fr); }
    .industries-grid   { grid-template-columns: repeat(4, 1fr); }
    .why-us-grid       { grid-template-columns: repeat(2, 1fr); }
    .process-grid      { grid-template-columns: repeat(4, 1fr); }
    .footer-grid       { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
    .faq-inner         { grid-template-columns: 1fr; gap: var(--space-8); }
    .faq-header        { position: static; }
    .employers-grid    { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid         { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   25. RESPONSIVE – 768px (Tablet portrait)
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --text-hero: 2.125rem;
        --text-3xl:  1.625rem;
        --text-2xl:  1.375rem;
    }

    .primary-nav { display: none; }
    .mobile-toggle { display: flex; }
    .btn-header-ghost { display: none; }

    .stats-bar-grid { flex-direction: row; flex-wrap: wrap; }
    .stat-item { border-right: none; min-width: calc(50% - var(--space-3)); border-bottom: 1px solid var(--border); padding: var(--space-3); }

    .countries-grid    { grid-template-columns: repeat(2, 1fr); }
    .industries-grid   { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid       { grid-template-columns: repeat(2, 1fr); }
    .process-grid      { grid-template-columns: repeat(2, 1fr); }
    .employers-grid    { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid         { grid-template-columns: 1fr; }

    .search-row { flex-direction: column; border-radius: var(--radius-lg); }
    .search-field { width: 100%; border-right: none; }
    .search-divider { display: none; }
    .search-input, .search-select { height: 48px; width: 100%; }
    .search-submit { width: 100%; height: 48px; border-radius: 0 0 var(--radius-md) var(--radius-md); justify-content: center; }

    .final-cta-body { flex-direction: column; }
    .final-cta-actions { flex-direction: column; }

    .job-card-row { flex-wrap: wrap; }
    .job-title { white-space: normal; }
    .job-meta-posted { margin-left: 0; }

    .section-header { flex-direction: column; align-items: flex-start; gap: var(--space-3); }

    .faq-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   26. RESPONSIVE – 480px (Mobile)
   ============================================================ */
@media (max-width: 480px) {
    :root {
        --text-hero:   1.75rem;
        --text-3xl:    1.5rem;
        --container-pad: 1rem;
    }

    .hero { min-height: 420px; padding: var(--space-12) 0 var(--space-10); }
    .hero-subheadline { display: none; }

    .countries-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid  { grid-template-columns: 1fr; }
    .stats-bar-grid { gap: var(--space-2); }
    .stat-item { min-width: 48%; }
    .footer-grid { grid-template-columns: 1fr; }

    .section { padding: var(--space-12) 0; }
    .section-title { font-size: var(--text-2xl); }

    .hero-search-box { padding: var(--space-4); border-radius: var(--radius-lg); }
    .search-popular { display: none; }
}

/* ============================================================
   27. RTL SUPPORT
   ============================================================ */
[dir="rtl"] {
    .header-inner   { flex-direction: row-reverse; }
    .site-logo      { margin-right: 0; margin-left: auto; }
    .header-actions { flex-direction: row-reverse; }
    .job-card-row.is-featured, .job-card-row.is-urgent { border-left: none; border-right: 4px solid; }
    .job-card-row.is-featured { border-right-color: var(--gold); }
    .job-card-row.is-urgent   { border-right-color: var(--red-badge); }
    .footer-grid    { direction: rtl; }
    .search-icon    { left: auto; right: var(--space-4); }
    .search-input, .search-select { padding-left: var(--space-4); padding-right: calc(var(--space-4) + 24px + var(--space-3)); }
}

/* ============================================================
   28. ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .site-header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* ============================================================
   29. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-primary); }

/* ============================================================
   30. FOCUS-VISIBLE (Accessibility)
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--blue-primary);
    outline-offset: 3px;
}
