/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink-900: #0f1f3a;
    --ink-700: #1f2f46;
    --ink-500: #2f3f5d;
    --muted: #5f6b81;
    --sand: #f5f4ef;
    --card: #ffffff;
    --primary: #123f7a;
    --primary-soft: #1f4f92;
    --accent: #f25c54;
    --accent-soft: #ff7f70;
    --border: #dfe4ee;
    --pill: #edf2fb;
    --shadow-1: 0 10px 30px rgba(18, 63, 122, 0.08);
    --shadow-2: 0 14px 36px rgba(242, 92, 84, 0.14);
    --radius-xl: 28px;
    --radius-lg: 18px;
}

body {
    font-family: 'Noto Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--ink-700);
    background-color: #f4f7fb;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif Display', 'Noto Sans', serif;
    color: var(--ink-900);
}

p, a, button, input, select {
    font-family: 'Noto Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body.home-page .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

body.home-page .nav-card {
    max-width: none;
    border-radius: 32px;
}

body.about-page .site-header .container,
body.contact-page .site-header .container,
body.post-job-page .site-header .container {
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

body.about-page .nav-card,
body.contact-page .nav-card,
body.post-job-page .nav-card {
    max-width: none;
    border-radius: 32px;
}

@media (max-width: 768px) {
    body.about-page .site-header .container,
    body.contact-page .site-header .container,
    body.post-job-page .site-header .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    body.home-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.65rem 0 0.25rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(15, 31, 58, 0.06);
}

.nav-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: linear-gradient(90deg, rgba(18, 63, 122, 0.06), rgba(255, 255, 255, 0.75));
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(18, 63, 122, 0.08);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-1);
}

.logo-img {
    width: 135px;
    height: auto;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #4a3ac7;
    cursor: pointer;
    padding: 0.35rem 0.6rem;
    border-radius: 10px;
}

.menu-toggle:active {
    background: #eceafc;
}

.main-nav {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.main-nav a {
    color: var(--ink-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.3rem 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
}

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

.language-selector {
    padding: 0.32rem 0.75rem;
    border: 1px solid rgba(18, 63, 122, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: var(--ink-700);
    cursor: pointer;
    font-weight: 600;
    min-width: 140px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-1);
}

.btn-register {
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-2);
}

.btn-register:hover {
    background: var(--accent-soft);
    box-shadow: 0 10px 22px rgba(242, 92, 84, 0.25);
}

/* RTL support */
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .main-nav {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .jobs-list,
html[dir="rtl"] .categories-stats,
html[dir="rtl"] .category-filters {
    text-align: right;
}

html[dir="rtl"] .testimonials-section .section-subtitle,
html[dir="rtl"] .steps-copy,
html[dir="rtl"] .faq-section,
html[dir="rtl"] .newsletter-section {
    text-align: right;
}
@media (max-width: 900px) {
    .nav-card {
        border-radius: 16px;
        padding: 0.45rem 0.75rem;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav,
    .header-actions {
        display: none;
        width: 100%;
    }

    .nav-card.open .main-nav,
    .nav-card.open .header-actions {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.25rem 0.35rem;
        gap: 0.35rem;
    }

    .main-nav a {
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid #eceafc;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 0 0.35rem 0.5rem;
    }

    .language-selector,
    .btn-register {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    padding: 2.5rem 0 1.5rem;
    background: linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 46px rgba(15, 31, 58, 0.18);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 31, 58, 0.25) 0%, rgba(15, 31, 58, 0.55) 100%);
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 3.5rem 2rem 3rem;
    max-width: 850px;
}

.hero-content h1 {
    font-size: 3.35rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    color: white;
    border-radius: 999px;
    padding: 0.95rem 1.9rem;
    border: none;
    box-shadow: 0 14px 30px rgba(18, 63, 122, 0.35);
}

.hero-buttons .btn-secondary {
    background: var(--accent);
    color: white;
    border-radius: 999px;
    padding: 0.95rem 1.9rem;
    border: none;
    box-shadow: 0 14px 30px rgba(242, 92, 84, 0.32);
}

.hero-search {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 0.9rem;
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-1);
}

.hero-search .search-input {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
}

.hero-search input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--ink-700);
}

.hero-search input:focus {
    outline: none;
}

.hero-search .search-input i {
    color: var(--primary);
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pill-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pill {
    background: var(--pill);
    color: var(--ink-700);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
}

/* ========================================
   CATEGORIES STATS
   ======================================== */

.categories-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--border);
}

.categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.categories-header h2 {
    font-size: 1.75rem;
    color: var(--ink-900);
    font-weight: 700;
}

.categories-nav {
    display: flex;
    gap: 0.5rem;
}

.cat-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-1);
}

.cat-nav:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 22px rgba(18, 63, 122, 0.22);
}

.categories-carousel {
    overflow: hidden;
    position: relative;
}

.categories-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.category-card {
    background: #f7f9ff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20%;
    min-height: 140px;
    box-shadow: 0 12px 28px rgba(15, 31, 58, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card img {
    width: 100%;
    height: 100%;
    max-height: 140px;
    object-fit: contain;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 31, 58, 0.12);
}

@media (max-width: 1024px) {
    .category-card {
        min-width: 33.3333%;
    }
}

@media (max-width: 768px) {
    .category-card {
        min-width: 50%;
    }
}

@media (max-width: 520px) {
    .categories-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-card {
        min-width: 100%;
    }
}

/* ========================================
   FILTERS SECTION
   ======================================== */

.filters-section {
    background: #ffffff;
    padding: 1.25rem 0 1.75rem;
    border-bottom: 1px solid var(--border);
}

.category-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.3s;
    box-shadow: var(--shadow-1);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.match-count {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: var(--pill);
}

.match-count strong {
    color: var(--primary);
    font-weight: 700;
}

.see-all {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ========================================
   JOB CARDS
   ======================================== */

.jobs-section {
    padding: 3rem 0;
}

.jobs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-1);
    transition: all 0.3s;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 31, 58, 0.12);
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.job-card-title {
    font-size: 1.25rem;
    color: var(--ink-900);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.job-card-posted {
    font-size: 0.9rem;
    color: var(--primary);
    background: rgba(18, 63, 122, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.job-card-company,
.job-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.job-card-company i,
.job-card-location i {
    color: var(--primary);
}

.job-card-description {
    color: var(--ink-500);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.job-card-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f7f9ff 0%, #f1f5ff 100%);
    border-radius: 12px;
}

.job-detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.detail-value {
    display: block;
    font-weight: 600;
    color: var(--ink-900);
}

.btn-apply {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-soft) 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s ease;
    box-shadow: var(--shadow-1);
}

.btn-apply:hover {
    background: linear-gradient(120deg, var(--primary-soft) 0%, var(--primary) 100%);
    transform: translateY(-1px);
}

.loading {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    text-align: center;
}

.skeleton-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.skeleton-card {
    height: 150px;
    border-radius: 14px;
    background: linear-gradient(90deg, #eef2f7 25%, #f6f8fb 50%, #eef2f7 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border: 1px solid var(--border);
}

.loading-copy {
    margin-top: 0.75rem;
    color: var(--muted);
    text-align: center;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    color: var(--muted);
    font-weight: 500;
    transition: all 0.3s;
}

@media (max-width: 700px) {
    .jobs-list {
        grid-template-columns: 1fr;
    }

    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card-posted {
        margin-top: 0.5rem;
    }
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.results-count {
    margin-left: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.jobs-visual {
    margin: 1.5rem 0 3.5rem;
    background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.7rem 1.5rem 2.1rem;
    box-shadow: 0 22px 48px rgba(18, 63, 122, 0.12);
    overflow: hidden;
}

.best-jobs {
    max-width: 1300px;
    margin: 0 auto;
}

.best-jobs-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.best-jobs-title .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.best-jobs-heading {
    font-size: 2.4rem;
    color: var(--ink-900);
    letter-spacing: 0.3px;
    line-height: 1.1;
    margin-bottom: 0.45rem;
}

.best-jobs-heading span {
    display: block;
}

.best-jobs-subtitle {
    color: var(--muted);
    max-width: 620px;
}

.best-jobs-stats {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.stat-chip {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    min-width: 130px;
}

.stat-chip strong {
    color: var(--ink-900);
    font-size: 1.05rem;
}

.stat-chip span {
    color: var(--muted);
    font-size: 0.9rem;
}

.best-jobs-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    background: #fff;
    box-shadow: var(--shadow-1);
}

.best-jobs-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    overflow: hidden;
    padding: 0.4rem 0.1rem 0.55rem;
    scroll-behavior: smooth;
    flex: 1;
}

.best-job-card {
    background: transparent;
    border: none;
    padding: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(18, 63, 122, 0.12);
    overflow: hidden;
}

.best-job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(74, 60, 207, 0.16);
}

.best-job-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.best-job-image img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #f7f9ff;
}

.best-job-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(15, 31, 58, 0.05) 0%, rgba(15, 31, 58, 0.72) 100%);
    color: #fff;
    border-radius: 16px;
}

.best-job-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.25rem 0.55rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.best-job-overlay h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #fff;
}

.best-job-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.best-jobs-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.best-jobs-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    transition: all 0.2s ease;
}

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

.best-jobs-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .best-jobs-strip {
        overflow-x: auto;
        grid-auto-flow: column;
        grid-auto-columns: minmax(220px, 1fr);
        display: grid;
        padding: 0.4rem 0.3rem 0.75rem;
        gap: 0.7rem;
    }
}

@media (max-width: 520px) {
    .jobs-visual {
        padding: 2.1rem 0.85rem 1.6rem;
    }

    .best-jobs-heading {
        font-size: 1.75rem;
    }

    .best-job-image img {
        max-height: 260px;
    }

    .best-jobs-strip {
        padding: 0.4rem 0.2rem 0.8rem;
    }
}

/* ========================================
   BEST JOBS SECTION
   ======================================== */

.best-jobs-section {
    background: white;
    padding: 4rem 0;
}

.best-jobs-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ink-900);
    margin-bottom: 3rem;
}

.job-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.job-category-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    background: #f7f9ff;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
}

.job-category-card:hover {
    background: #eef3ff;
    transform: translateY(-4px);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-category-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.job-category-card span {
    display: block;
    font-weight: 600;
    color: var(--ink-700);
}

/* ========================================
   TRUSTED STRIP
   ======================================== */

.trusted-section {
    background: #ffffff;
    padding: 3rem 0;
}

.trusted-card {
    background: linear-gradient(120deg, rgba(18, 63, 122, 0.08), rgba(255, 255, 255, 0.95));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-1);
}

.trusted-text .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.trusted-text h3 {
    font-size: 1.65rem;
    margin: 0.35rem 0;
    color: var(--ink-900);
}

.trusted-subtitle {
    color: var(--muted);
    font-size: 1rem;
}

.trusted-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.trusted-logos span {
    padding: 0.55rem 0.9rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--ink-700);
    font-weight: 600;
    box-shadow: var(--shadow-1);
}

/* ========================================
   STEPS SECTION
   ======================================== */

.steps-section {
    padding: 4rem 0;
    background: #ffffff;
}

.steps-heading h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--ink-900);
    margin-bottom: 2rem;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.steps-number {
    color: var(--accent);
    font-style: italic;
}

.steps-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.steps-icons img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.steps-copy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.step-text h3 {
    font-size: 2rem;
    color: var(--ink-900);
    margin-bottom: 1rem;
}

.step-text p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.65;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--ink-900);
    margin-bottom: 1rem;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
}

.testimonials-section .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-trust {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.testimonial-trust span {
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: var(--pill);
    color: var(--ink-700);
    font-weight: 700;
    border: 1px solid var(--border);
}

.testimonial-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
}

.testimonial-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-badge-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-badge {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.testimonial-nav {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 63, 122, 0.25);
}

.testimonial-name {
    font-size: 2rem;
    color: var(--ink-900);
}

.testimonial-text {
    color: var(--ink-500);
    font-size: 1.25rem;
    line-height: 1.8;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.3rem;
    display: flex;
    gap: 0.35rem;
}

.testimonial-image-wrap {
    background: linear-gradient(140deg, var(--primary) 0%, #0b2c4f 100%);
    border-radius: 32px;
    padding: 1.5rem;
    display: grid;
    place-items: center;
}

.testimonial-image-wrap img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .testimonial-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial-badge-row {
        justify-content: center;
    }

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

    .testimonial-image-wrap {
        order: -1;
    }
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */

.newsletter-section {
    background: #f5f7fb;
    padding: 4rem 0 2rem;
}

.newsletter-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
}

.newsletter-heading h3 {
    font-size: 2.6rem;
    color: var(--ink-900);
    font-family: 'Noto Serif Display', serif;
    line-height: 1.2;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    background: white;
    color: var(--ink-700);
    box-shadow: var(--shadow-1);
}

.newsletter-feedback {
    width: 100%;
    font-size: 0.95rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

.newsletter-feedback.success {
    color: #0f9d58;
}

.newsletter-feedback.error {
    color: var(--accent);
}

.newsletter-note {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-1);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.btn-subscribe {
    background: var(--accent);
    color: white;
    padding: 0.95rem 1.8rem;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-2);
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background: #0f1f3a;
    color: #e6edf5;
    padding: 1rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 0 1rem;
}

.footer-brand {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.footer-logo {
    width: 96px;
    height: auto;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-brand-name {
    font-weight: 700;
    letter-spacing: 1px;
    color: #e6edf5;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: #cfd8e5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 2px solid rgba(255, 255, 255, 0.08);
    color: #cfd8e5;
}

/* ========================================
   MESSAGES & LOADING
   ======================================== */

.loading {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

.error-message {
    background: #fff3f1;
    color: #c0392b;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #c0392b;
    margin: 1rem 0;
    box-shadow: var(--shadow-1);
}

.no-jobs {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    padding: 3rem;
    background: white;
    border-radius: 12px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 400px;
        padding: 3rem 0;
    }

    .hero-search {
        padding: 0.75rem;
    }

    .search-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-actions .btn-primary {
        width: 100%;
        text-align: center;
    }

    .jobs-list {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-card {
        justify-content: center;
        text-align: center;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .job-card-details {
        grid-template-columns: 1fr;
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        justify-content: center;
    }

    .trusted-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        text-align: center;
        justify-items: center;
    }

    .footer-brand {
        justify-items: center;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-image {
        margin: 0 auto;
    }

    .step-image {
        height: 200px;
    }

    .categories-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .category-stat {
        gap: 0.5rem;
    }

    .category-icon-img {
        width: 32px;
        height: 32px;
    }

    .category-text-img {
        height: 22px;
    }

    .category-count {
        font-size: 1.5rem;
    }

    .job-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero-card {
        min-height: 430px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .categories-stats {
        gap: 2rem;
    }

    .jobs-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .steps-heading h2 {
        font-size: 2.7rem;
    }

    .newsletter-heading h3 {
        font-size: 2.3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }
}

@media (max-width: 600px) {
    .hero-card {
        min-height: 320px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
    }

    .results-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .jobs-list {
        grid-template-columns: 1fr;
    }

    .steps-heading h2 {
        font-size: 2.2rem;
    }

    .steps-icons img {
        width: 42px;
        height: 42px;
    }

    .steps-copy {
        grid-template-columns: 1fr;
    }

    .testimonial-layout {
        gap: 1.5rem;
    }

    .testimonial-name {
        font-size: 1.6rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .newsletter-heading h3 {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input,
    .btn-subscribe {
        width: 100%;
    }

    .footer-brand {
        justify-items: center;
        text-align: center;
    }

    .footer-brand-name {
        font-size: 0.95rem;
    }
}

/* ========================================
   PAGE HERO (for About, Contact pages)
   ======================================== */

.page-hero {
    background: linear-gradient(130deg, rgba(18, 63, 122, 0.95) 0%, rgba(18, 63, 122, 0.9) 55%, rgba(242, 92, 84, 0.9) 100%);
    color: white;
    padding: 3.75rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 440px;
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.28;
    filter: saturate(1.1);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    text-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 760px;
    margin: 0 auto;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.about-hero {
    text-align: left;
    padding: 4.5rem 0;
}

.about-hero .hero-background {
    opacity: 0.4;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.about-hero-copy .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.about-hero h1 {
    margin: 0 0 0.5rem 0;
}

.about-hero .page-subtitle {
    margin: 0;
    text-align: left;
}

.about-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.1rem 0 0.5rem;
}

.about-hero-tags .pill {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.about-hero-metrics {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.9rem 1.05rem;
    border-radius: 14px;
    backdrop-filter: blur(4px);
    min-width: 150px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.metric-card strong {
    display: block;
    font-size: 1.15rem;
    color: #fff;
}

.metric-card span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.about-hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
}

.about-hero-blob {
    position: absolute;
    inset: 10% 12%;
    background: radial-gradient(65% 70% at 50% 50%, rgba(255, 255, 255, 0.24), rgba(18, 63, 122, 0.2));
    filter: blur(10px);
    border-radius: 32px;
}

.about-portrait {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-portrait-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.about-portrait-badge i {
    color: #8ef0ff;
    font-size: 1.15rem;
}

.badge-title {
    font-weight: 800;
    margin: 0;
    font-size: 0.95rem;
}

.badge-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding: 3.5rem 0;
    }

    .about-hero .page-subtitle {
        max-width: 100%;
    }

    .about-hero-visual {
        order: -1;
    }
}

@media (max-width: 600px) {
    .metric-card {
        width: 100%;
    }
}

/* ========================================
   CONTENT SECTIONS (About page)
   ======================================== */

.content-section {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.content-section p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.expertise-section {
    padding: 3rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 12px;
}

.expertise-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.expertise-card {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.expertise-card h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card ul li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.expertise-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-hero {
    position: relative;
    background: linear-gradient(120deg, rgba(18, 63, 122, 0.95) 0%, rgba(18, 63, 122, 0.82) 55%, rgba(242, 92, 84, 0.88) 100%);
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 10% 20%, rgba(255, 255, 255, 0.2), transparent), radial-gradient(65% 65% at 80% 0%, rgba(255, 255, 255, 0.16), transparent);
    pointer-events: none;
}

.contact-hero-blob {
    position: absolute;
    inset: 14% 16%;
    background: url('../images/hero-workers.png') center/cover no-repeat;
    opacity: 0.2;
    filter: saturate(1.2);
    border-radius: 32px;
    transform: rotate(-2deg);
}

.contact-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 2.5rem 0;
}

.contact-hero-text h1 {
    font-size: 3.25rem;
    color: #fff;
    margin: 0.3rem 0 0.75rem;
    font-family: 'Noto Serif Display', serif;
    font-weight: 700;
}

.contact-hero-text .eyebrow {
    color: #d2e7ff;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-hero-subtitle {
    color: #f7f5ff;
    max-width: 460px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.contact-hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 0.4rem;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.detail-chip i {
    color: #8ef0ff;
}

.contact-hero-support {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.4rem 0 0.8rem;
}

.contact-cta {
    background: #fff;
    color: var(--primary);
    margin-top: 1.2rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.contact-hero-visual {
    display: grid;
    gap: 1rem;
    justify-items: end;
    position: relative;
}

.contact-hero-image {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.contact-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.18);
    max-width: 480px;
    width: 100%;
    border: 1px solid #eceafc;
}

.contact-card h2 {
    font-family: "Times New Roman", Georgia, serif;
    color: #2d268c;
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.contact-card-subtitle {
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.contact-form {
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.form-group {
    margin-bottom: 1.05rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #524590;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #c9c5e9;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #cbc7e8;
}

.form-group textarea {
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5c5795;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a3ac7;
    box-shadow: 0 0 0 3px rgba(74, 58, 199, 0.2);
    background: #d6d3ef;
}

.pill-toggle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #cbc7e8;
    border-radius: 999px;
    padding: 0.2rem;
    gap: 0.2rem;
}

.pill-option {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    color: #2e2a5b;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.55rem 0.75rem;
    transition: all 0.2s ease;
}

.pill-option span {
    width: 100%;
    text-align: center;
    border-radius: 999px;
    padding: 0.4rem 0.5rem;
    display: inline-block;
    background: transparent;
    transition: all 0.2s ease;
}

.pill-option input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.pill-option input:checked + span {
    background: linear-gradient(90deg, #4a3ac7 0%, #6a63c0 100%);
    color: #fff;
}

.checkbox-group .checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.contact-submit {
    width: 100%;
    background: linear-gradient(90deg, #c13692 0%, #c13692 100%);
    color: #fff;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 14px 32px rgba(193, 54, 146, 0.25);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 3.5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.4rem;
    color: #2d268c;
    margin-bottom: 2.2rem;
    font-family: "Times New Roman", Georgia, serif;
    font-weight: 700;
}

.faq-list {
    margin-bottom: 2rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: none;
    background: #fff;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    text-align: left;
    color: #2d268c;
    font-weight: 700;
    font-size: 1.05rem;
}

.faq-question i {
    color: #4a3ac7;
    transition: transform 0.2s ease;
}

.faq-label {
    font-weight: 900;
    color: #2d268c;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0 1.25rem;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    padding-bottom: 1rem;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding: 0 1.25rem 0.85rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.form-message.error {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid #e53e3e;
}

@media (max-width: 1024px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-hero-visual {
        justify-items: start;
    }

    .contact-card {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        border-radius: 0 0 18px 18px;
        min-height: 420px;
    }

    .contact-hero-grid {
        padding: 2.5rem 0;
    }

    .contact-hero-text h1 {
        font-size: 2.4rem;
    }

    .contact-hero-details {
        gap: 0.4rem;
    }

    .contact-card {
        margin: 0;
    }
}

/* ========================================
   JOB DETAIL PAGE
   ======================================== */

.job-detail {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    margin: 2.5rem 0;
    border: 1px solid #ebe7fb;
}

.job-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.job-header h2 {
    font-size: 2.25rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 1.05rem;
}

.job-meta .company {
    color: #667eea;
    font-weight: 600;
}

.job-meta .location {
    color: #718096;
}

.job-content {
    margin-bottom: 3rem;
}

.job-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.job-content #job-description {
    color: #4a5568;
    line-height: 1.8;
}

.application-section {
    border-top: 2px solid #e9e7f6;
    padding-top: 2rem;
}

.application-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #4a3aa6;
}

.application-form {
    max-width: 720px;
    display: grid;
    gap: 1.25rem;
}

/* ========================================
   POST JOB PAGE
   ======================================== */

.post-job-section {
    max-width: 900px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.post-job-section h2 {
    font-size: 2.25rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-description {
    color: #718096;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.post-job-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ENHANCED FORM ELEMENTS
   ======================================== */

.section-title {
    font-size: 1.25rem;
    color: #1a202c;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem 1rem;
}

.input-split {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.5rem;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown select {
    display: none;
}

.custom-dropdown__toggle {
    width: 100%;
    border: 1px solid #c9c5e9;
    border-radius: 10px;
    background: #cbc7e8;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d268c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    cursor: pointer;
}

.custom-dropdown__label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-dropdown.input-code .custom-dropdown__toggle {
    background: #f7f7ff;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
}

.custom-dropdown__caret {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2d268c;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .custom-dropdown__caret {
    transform: rotate(180deg);
}

.custom-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    border: 1px solid #cbc7e8;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 35px rgba(22, 10, 80, 0.18);
    max-height: 260px;
    overflow-y: auto;
    z-index: 30;
    display: none;
}

.custom-dropdown.open .custom-dropdown__menu {
    display: block;
}

.custom-dropdown__option {
    width: 100%;
    padding: 0.55rem 0.9rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.95rem;
    color: #2d268c;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-dropdown__option:hover,
.custom-dropdown__option:focus {
    background: #f1effb;
    outline: none;
}

.custom-dropdown__option.selected {
    background: #ede8ff;
    font-weight: 700;
}

.custom-dropdown--multiple .custom-dropdown__option::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 1px solid #b5addc;
    border-radius: 4px;
    margin-right: 0.5rem;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.custom-dropdown--multiple .custom-dropdown__option {
    padding-left: 0.75rem;
}

.custom-dropdown--multiple .custom-dropdown__option.selected::before {
    background: #4a3ac7;
    border-color: #4a3ac7;
    box-shadow: inset 0 0 0 2px #fff;
}

.input-code {
    border: 1px solid #d8d2f0;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    background: #f7f7ff;
    font-weight: 600;
}

.inline-verify {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.btn.small {
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
}

.chip-row {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d8d2f0;
    border-radius: 16px;
    padding: 0.45rem 0.75rem;
    background: #f7f7ff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip input {
    accent-color: #a08df3;
}

.chip-row .chip:has(input:checked) {
    border-color: #a08df3;
    background: #ede8ff;
    color: #4a3aa6;
    font-weight: 700;
}

.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d8d2f0;
    border-radius: 16px;
    padding: 0.35rem 0.5rem 0.35rem 0.65rem;
    background: #ede8ff;
    color: #4a3aa6;
    font-size: 0.85rem;
    font-weight: 700;
}

.selected-chip__remove {
    border: none;
    background: transparent;
    color: #4a3ac7;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.selected-chip__remove:focus-visible {
    outline: 2px solid #4a3ac7;
    outline-offset: 2px;
}

.upload-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.small-upload {
    min-height: 160px;
}

.submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.inline-message {
    color: #4a3aa6;
    font-weight: 600;
    font-size: 0.95rem;
}

.apply-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 16px;
    background: #a73895;
    color: white;
    box-shadow: 0 10px 22px rgba(167, 56, 149, 0.25);
}

.readonly-field {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px dashed #c9c5e9;
    background: #f0eef9;
    color: #4a3ac7;
    font-weight: 700;
}

.apply-btn:hover {
    background: #932b83;
}

.form-note {
    font-size: 0.95rem;
    color: #4a3aa6;
}

.field-hint {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

/* Verification Code Wrapper */
.verification-wrapper {
    display: flex;
    gap: 1rem;
}

.verification-wrapper input {
    flex: 1;
}

.verification-wrapper .btn {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

/* Name Input with Prefix */
.name-input-wrapper {
    display: grid;
    grid-template-columns: minmax(80px, 120px) 1fr;
    gap: 0.75rem;
}

.name-prefix {
    width: auto;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.name-input-wrapper input {
    width: 100%;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.file-upload-area i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.file-upload-area p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.file-upload-area strong {
    color: #667eea;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-area small {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Experience Options (Radio buttons in grid) */
.experience-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.experience-options .radio-label {
    background: #f7fafc;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.experience-options .radio-label:hover {
    border-color: #667eea;
    background: white;
}

.experience-options input[type="radio"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

.experience-options .radio-label:has(input:checked) {
    border-color: #667eea;
    background: #edf2f7;
}

/* Employment Type Options */
.employment-type-options {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.employment-type-options .checkbox-label {
    background: #f7fafc;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.employment-type-options .checkbox-label:hover {
    border-color: #667eea;
    background: white;
}

.employment-type-options .checkbox-label:has(input:checked) {
    border-color: #667eea;
    background: #edf2f7;
}

/* Success Banner */
.success-banner {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
    font-weight: 600;
}

/* Additional responsive for forms */
@media (max-width: 768px) {
    .verification-wrapper {
        flex-direction: column;
    }

    .experience-options {
        grid-template-columns: 1fr;
    }

    .employment-type-options {
        flex-direction: column;
    }
}
