@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --brand-primary: #4F46E5;
    --brand-secondary: #4338CA;
    --brand-accent: #0F52BA;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.4);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6, .navbar-nav>li>a {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

/* NomadIQ Inspired Minimal Light Header */
.nomad-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1040;
    width: 100%;
}

.nomad-header.issticky {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease-out;
}

.nomad-header .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nomad-header-inner {
    display: flex;
    height: 4.5rem; /* 72px */
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nomad-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.nomad-brand img {
    max-height: 40px;
}

/* Desktop Nav */
.nomad-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 992px) {
    .nomad-nav {
        display: flex;
    }
}

.nomad-nav-link {
    padding: 0.375rem 1.25rem;
    border-radius: 9999px; /* pill */
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nomad-nav-link:hover, .nomad-nav-link.active {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Actions */
.nomad-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 992px) {
    .nomad-actions {
        display: flex;
    }
}

.nomad-signin {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nomad-signin:hover {
    color: #0f172a;
}

.nomad-get-started {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background-color: var(--brand-primary);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.nomad-get-started:hover {
    background-color: var(--brand-secondary);
    color: #fff;
}

/* Mega Menu */
.nomad-nav-item {
    position: relative;
}
.nomad-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 600px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 1.5rem;
    z-index: 1050;
    pointer-events: none;
}
.nomad-nav-item:hover .nomad-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
    pointer-events: auto;
}
.nomad-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.nomad-mega-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}
.nomad-mega-col a {
    display: block;
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}
.nomad-mega-col a:hover {
    color: var(--brand-primary);
}

/* Profile Link Icon */
.nomad-profile-link img {
    border-radius: 50%;
    object-fit: cover;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* User Dropdown */
.nomad-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    z-index: 1050;
}
.nomad-nav-item:hover .nomad-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}
.nomad-user-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.nomad-user-dropdown a:hover {
    background-color: #f1f5f9;
}

/* Mobile Toggle */
.nomad-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.nomad-mobile-toggle:hover {
    background-color: #f1f5f9;
}
@media (min-width: 992px) {
    .nomad-mobile-toggle {
        display: none;
    }
}

/* Mobile Nav Panel */
.nomad-mobile-panel {
    display: none;
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1rem;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-top: 1px solid #e2e8f0;
}
.nomad-mobile-panel.show {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nomad-mobile-panel .nomad-nav-link {
    display: block;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: transparent;
    border: none;
}
.nomad-mobile-panel .nomad-nav-link:hover, .nomad-mobile-panel .nomad-nav-link.active {
    background: #f1f5f9;
}

.nomad-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}
.nomad-mobile-actions .nomad-signin {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    background: transparent;
}
.nomad-mobile-actions .nomad-get-started {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}



/* Glassmorphism Search Hero */
.searchwrap {
    background: var(--bg-main) !important;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
}

/* Decorative Background Blob */
.searchwrap::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.searchwrap::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

@keyframes subtleFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bxsrctxt h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 15px;
    opacity: 0;
    animation: subtleFadeUp 0.8s ease-out forwards;
}

.bxsrctxt h2 {
    font-size: 35px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    margin-bottom: 15px !important;
    opacity: 0;
    animation: subtleFadeUp 0.8s ease-out forwards;
}

.bxsrctxt p {
    font-size: 18px;
    color: var(--text-muted);
    opacity: 0;
    animation: subtleFadeUp 0.8s ease-out 0.2s forwards;
}

.searchbarbt {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}



.searchbar .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.searchbar .form-control {
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    background: var(--bg-card);
    color: var(--text-main);
}

.searchbar .btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* General Buttons */
.btn-primary, .btn-yellow, .button-orng {
    background: var(--brand-primary) !important;
    border: none !important;
    border-radius: 8px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3) !important;
}

.btn-primary:hover, .btn-yellow:hover, .button-orng:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 12px rgba(79, 70, 229, 0.4) !important;
}

/* Cards & Job Listings */
.jobint, .empint, .profbox {
    background: var(--bg-card) !important;
    border-radius: 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-soft) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    padding: 15px 20px !important;
    overflow: hidden; /* Fixes badge clipping */
}

.modern-job-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    position: relative;
    overflow: hidden;
}

.modern-job-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 30px -6px rgba(79, 70, 229, 0.14), 0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
    border-color: #c7d2fe !important;
}

.job-type-badge {
    background: #e0e7ff !important;
    color: #4338ca !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.featured-badge {
    background: #fef3c7 !important;
    color: #b45309 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
}

.job-title-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.job-title-link a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.job-title-link a:hover {
    color: #4f46e5 !important;
}

.job-meta-box {
    font-size: 13px !important;
    color: #64748b !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
}

.job-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.card-footer-box {
    background: #f8fafc !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    margin-top: auto !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.card-footer-box .company-link {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 60% !important;
    text-decoration: none !important;
}

.card-footer-box .company-link:hover {
    color: #4f46e5 !important;
}

.card-footer-box .date-text {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}



.jobint h4 {
    margin-bottom: 10px !important;
    font-size: 18px;
}

.jobint h4 a, .empint h4 a {
    color: var(--text-main) !important;
    font-weight: 700 !important;
}

.jobint h4 a:hover {
    color: var(--brand-primary) !important;
}

.salary {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 5px 10px;
    border-radius: 4px;
    display: table;
    margin-bottom: 8px !important;
    font-size: 11px;
    font-weight: 500;
}

.fticon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary);
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: -3px;
    display: inline-flex;
    align-items: center;
    gap: -6px;
}

.fticon i {
    background: transparent !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 14px !important;
}

/* Sidebar Filter UI */
.sidebar {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.sidebar .widget {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.sidebar .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar .widget-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}
.sidebar .widget-title::after {
    content: '\f106';
    font-family: 'Font Awesome 5 Free', 'FontAwesome', sans-serif;
    font-weight: 900;
    color: #64748b;
    font-size: 14px;
}

.optionlist li {
    padding-left: 32px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    color: #475569 !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    display: block !important;
}

.optionlist li span {
    color: #94a3b8 !important;
    position: static !important;
    float: none !important;
    margin-left: 6px !important;
    font-weight: 400 !important;
}

.view_more, .view_less {
    color: var(--brand-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    margin-left: 32px !important;
    display: inline-block;
    margin-top: 5px;
}

.optionlist li input[type=checkbox] + label {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: #fff !important;
    transition: all 0.2s;
    margin: 0 !important;
}

.optionlist li input[type=checkbox]:checked + label {
    background: #0f172a !important;
    border-color: #0f172a !important;
}

.optionlist li input[type=checkbox]:checked + label:before {
    content: '\2714' !important;
    color: #fff !important;
    font-size: 13px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    position: absolute !important;
}

.optionlist li:has(input[type=checkbox]:checked) {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Fixes for main.css overrides */
.greybg, .listpgWraper {
    background-color: var(--bg-main) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
}
p, span, li, td, th {
    color: var(--text-muted);
}
.titleTop h3 {
    color: var(--text-main);
}

.table {
    color: var(--text-main);
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    color: var(--text-main);
}

