/* =====================================================
   ABC JOB PORTAL
   MAIN STYLE SHEET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, "Segoe UI", sans-serif;
    color: #071a3d;
    background: #ffffff;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;

    height: 76px;

    background: #ffffff;

    border-bottom: 1px solid #edf0f5;

    box-shadow:
        0 2px 12px rgba(20, 40, 80, 0.05);
}

.header-inner {
    width: min(1135px, calc(100% - 40px));

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    position: relative;
}


/* =====================================================
   ABC BRAND
===================================================== */

.brand {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #003366;

    font-size: 28px;

    font-weight: 800;

    white-space: nowrap;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #003366;

    color: #ffffff;

    font-size: 20px;

    font-weight: 800;
}

.brand-mark i {
    font-size: 18px;
}


/* =====================================================
   MAIN NAVIGATION
===================================================== */

.main-nav {
    display: flex;

    align-items: center;

    gap: 38px;

    margin-left: 85px;

    height: 76px;
}


/* =====================================================
   NORMAL NAVIGATION ITEMS
===================================================== */

.main-nav > a {
    position: relative;

    height: 76px;

    display: flex;

    align-items: center;

    padding: 0;

    color: #26385d;

    font-size: 15px;

    font-weight: 500;

    transition: color 0.2s ease;
}

.main-nav > a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 18px;

    width: 0;

    height: 3px;

    border-radius: 5px;

    background: #003366;

    transition: width 0.25s ease;
}

.main-nav > a:hover {
    color: #003366;
}

.main-nav > a:hover::after {
    width: 100%;
}


/* =====================================================
   NAV DROPDOWN WRAPPER
===================================================== */

.nav-dropdown {
    position: relative;

    height: 76px;

    display: flex;

    align-items: center;
}


/* =====================================================
   NAV DROPDOWN TRIGGER
===================================================== */

.nav-dropdown > .nav-dropdown-trigger {
    position: relative;

    height: 76px;

    display: flex;

    align-items: center;

    padding: 0 !important;

    margin: 0;

    color: #26385d !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    line-height: normal;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    transition: color 0.2s ease;
}


/* BLUE ACTIVE LINE */

.nav-dropdown > .nav-dropdown-trigger::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 18px;

    width: 0;

    height: 3px;

    border-radius: 5px;

    background: #003366;

    transition: width 0.25s ease;
}


/* HOVER */

.nav-dropdown:hover > .nav-dropdown-trigger {
    color: #003366 !important;
}

.nav-dropdown:hover > .nav-dropdown-trigger::after {
    width: 100%;
}


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

.header-actions {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =====================================================
   BUTTON BASE
===================================================== */

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* =====================================================
   LOGIN
===================================================== */

.btn-login {
    min-width: 82px;

    padding: 10px 23px;

    border: 1px solid #003366;

    border-radius: 24px;

    color: #003366;

    font-size: 14px;

    font-weight: 700;
}

.btn-login:hover {
    background: #eef3ff;

    transform: translateY(-1px);
}


/* =====================================================
   REGISTER
===================================================== */

.btn-register {
    min-width: 100px;

    padding: 10px 23px;

    border: 1px solid #ef4b13;

    border-radius: 24px;

    background: #ef4b13;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

.btn-register:hover {
    background: #d9400c;

    border-color: #d9400c;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(239, 75, 19, 0.18);
}


/* =====================================================
   EMPLOYER MENU
===================================================== */

.employer-menu {
    position: relative;

    z-index: 11000;

    margin-left: 5px;

    padding-left: 17px;

    border-left: 1px solid #e0e4eb;
}

.employer-toggle {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 5px;

    border: 0;

    background: transparent;

    color: #26385d;

    font-size: 14px;

    cursor: pointer;

    transition: color 0.2s ease;
}

.employer-toggle:hover {
    color: #003366;
}

.employer-toggle i {
    font-size: 10px;

    transition: transform 0.25s ease;
}

.employer-menu:hover .employer-toggle i,
.employer-menu.open .employer-toggle i {
    transform: rotate(180deg);
}


/* =====================================================
   EMPLOYER DROPDOWN
===================================================== */

.employer-dropdown {
    position: absolute;

    top: calc(100% + 12px);

    right: 0;

    z-index: 12000;

    width: 285px;

    padding: 8px;

    border: 1px solid #e2e6ef;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 15px 35px rgba(20, 40, 80, 0.13);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.employer-menu:hover .employer-dropdown,
.employer-menu.open .employer-dropdown {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.employer-dropdown a {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 12px;

    border-radius: 9px;

    color: #172d50;

    transition: background 0.2s ease;
}

.employer-dropdown a:hover {
    background: #f4f7ff;
}

.employer-dropdown a > i {
    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #eef3ff;

    color: #003366;
}

.employer-dropdown span {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.employer-dropdown strong {
    font-size: 13px;
}

.employer-dropdown small {
    color: #7a879e;

    font-size: 11px;
}


/* =====================================================
   MEGA MENU
===================================================== */

.nav-dropdown .mega-menu {
    position: absolute;

    top: 76px;

    bottom: auto;

    left: 50%;

    z-index: 15000;

    display: grid;

    padding: 28px 30px;

    background: #ffffff;

    border: 1px solid #e6e9f0;

    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(20, 40, 80, 0.15);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, -10px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


/* =====================================================
   SHOW MENU ONLY ON HOVER
===================================================== */

.nav-dropdown:hover .mega-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translate(-50%, 0);
}


/* =====================================================
   JOBS MENU
===================================================== */

.nav-dropdown .jobs-menu {
    width: 650px;

    grid-template-columns:
        repeat(3, 1fr);

    left: -130px !important;

    transform: translateY(-10px);
}

.nav-dropdown:hover .jobs-menu,
.nav-dropdown.open .jobs-menu {
    transform: translateY(0);
}


/* =====================================================
   COMPANIES MENU
===================================================== */

.nav-dropdown .companies-menu {
    width: 710px;

    grid-template-columns:
        repeat(3, 1fr);
}


/* =====================================================
   SERVICES MENU
===================================================== */

.nav-dropdown .services-menu {
    width: 810px;

    grid-template-columns:
        1fr 1fr 0.8fr;
}


/* =====================================================
   MEGA MENU COLUMN
===================================================== */

.nav-dropdown .mega-column {
    min-width: 0;

    padding: 0 27px;

    border-right: 1px solid #e2e6ee;
}

.nav-dropdown .mega-column:first-child {
    padding-left: 0;
}

.nav-dropdown .mega-column:last-child {
    padding-right: 0;

    border-right: none;
}


/* =====================================================
   MEGA MENU HEADING
===================================================== */

.nav-dropdown .mega-column h4 {
    margin: 0 0 13px;

    padding: 0;

    color: #151d31;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* =====================================================
   MEGA MENU LINKS

   IMPORTANT:
   These selectors override .main-nav styles.
===================================================== */

.nav-dropdown .mega-column a {
    position: static;

    display: flex;

    align-items: center;

    gap: 7px;

    width: auto;

    max-width: none;

    height: auto;

    margin: 0 0 10px;

    padding: 0 !important;

    border: 0;

    border-radius: 0;

    background: transparent;

    color: #4d5b78 !important;

    font-size: 13px !important;

    font-weight: 400 !important;

    line-height: 1.5;

    text-decoration: none;

    white-space: nowrap;

    transform: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


/* REMOVE OLD UNDERLINE */

.nav-dropdown .mega-column a::after {
    content: none !important;

    display: none !important;
}


/* SUBMENU HOVER */

.nav-dropdown .mega-column a:hover {
    color: #003366 !important;

    transform: translateX(3px);
}


/* =====================================================
   MENU BADGES
===================================================== */

.menu-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-left: 4px;

    padding: 2px 8px;

    border-radius: 12px;

    font-size: 9px;

    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}

.menu-badge.popular {
    border: 1px solid #73d487;

    background: #f4fff6;

    color: #249b40;
}

.menu-badge.new {
    border: 1px solid #d8deea;

    background: #ffffff;

    color: #68758c;
}


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

.hero {
    position: relative;

    z-index: 1;

    padding: 72px 20px 70px;

    background:
        linear-gradient(
            180deg,
            #f8f9ff 0%,
            #ffffff 100%
        );

    text-align: center;
}

.hero-content {
    max-width: 1000px;

    margin: auto;
}

.hero h1 {
    margin-bottom: 8px;

    color: #071a3d;

    font-size: 43px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -1px;
}

.hero p {
    color: #24385d;

    font-size: 19px;
}


/* =====================================================
   JOB SEARCH
===================================================== */

.job-search {
    width: min(900px, 100%);

    min-height: 76px;

    margin: 38px auto 0;

    padding: 10px 12px 10px 22px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-radius: 42px;

    background: #ffffff;

    box-shadow:
        0 15px 45px rgba(
            35,
            50,
            90,
            0.13
        );
}

.search-field {
    flex: 1;

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    color: #8290ac;

    font-size: 14px;

    text-align: left;
}

.search-field > i {
    flex-shrink: 0;

    color: #657695;
}

.search-field input {
    width: 100%;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #172c50;

    font-size: 14px;
}

.search-field input::placeholder {
    color: #8290ac;
}

.search-divider {
    width: 1px;

    height: 30px;

    flex-shrink: 0;

    background: #dfe4ee;
}


/* =====================================================
   EXPERIENCE
===================================================== */

.experience-field {
    position: relative;

    flex: 0 0 185px;
}

.experience-field select {
    width: 100%;

    appearance: none;

    border: 0;

    outline: 0;

    background: transparent;

    color: #8290ac;

    font-size: 14px;

    cursor: pointer;
}

.experience-field > i {
    position: absolute;

    right: 2px;

    pointer-events: none;

    color: #647492;

    font-size: 11px;
}


/* =====================================================
   LOCATION
===================================================== */

.location-field {
    flex: 0 0 190px;
}


/* =====================================================
   SEARCH BUTTON
===================================================== */

.search-btn {
    flex-shrink: 0;

    padding: 13px 31px;

    border: 0;

    border-radius: 25px;

    background: #003366;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.search-btn:hover {
    background: #003366;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(
            47,
            95,
            243,
            0.22
        );
}


/* =====================================================
   CATEGORY SECTION
===================================================== */

.category-section {
    padding: 15px 0 55px;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 16px;
}

.category-card {
    min-height: 70px;

    padding: 13px;

    display: flex;

    align-items: center;

    gap: 10px;

    border: 1px solid #e0e5ef;

    border-radius: 10px;

    background: #ffffff;

    color: #101f3d;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    border-color: #cbd6f0;

    box-shadow:
        0 10px 25px rgba(
            35,
            50,
            90,
            0.09
        );

    transform: translateY(-3px);
}

.category-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #f4f7fd;

    color: #26385c;
}

.category-name {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 14px;

    font-weight: 700;
}

.category-arrow {
    flex-shrink: 0;

    color: #657694;

    font-size: 10px;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
    margin-bottom: 28px;

    text-align: center;
}

.section-heading h2 {
    color: #071a3d;

    font-size: 27px;

    line-height: 1.3;

    font-weight: 800;
}


/* =====================================================
   CAROUSEL
===================================================== */

.carousel-section {
    padding-top: 35px;

    padding-bottom: 50px;
}

.carousel-wrap {
    position: relative;

    width: 100%;
}

.company-carousel {
    width: 100%;

    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.company-carousel::-webkit-scrollbar {
    display: none;
}


/* =====================================================
   CAROUSEL BUTTON
===================================================== */

.carousel-btn {
    position: absolute;

    top: 50%;

    z-index: 10;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 1px solid #e0e5ee;

    border-radius: 50%;

    background: #ffffff;

    color: #536482;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(
            30,
            50,
            90,
            0.12
        );

    transform: translateY(-50%);

    transition: 0.2s;
}

.carousel-btn:hover {
    border-color: #003366;

    background: #003366;

    color: #ffffff;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}


/* =====================================================
   TOP COMPANY CARD
===================================================== */

.top-company-card {
    flex: 0 0 235px;

    min-height: 140px;

    padding: 18px;

    border: 1px solid #e0e5ef;

    border-radius: 15px;

    background: #ffffff;

    color: #071a3d;

    box-shadow:
        0 4px 15px rgba(
            20,
            40,
            80,
            0.04
        );

    transition: 0.25s;
}

.top-company-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px rgba(
            20,
            40,
            80,
            0.10
        );
}

.company-card-title {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 16px;

    font-weight: 700;
}

.company-card-title i {
    font-size: 10px;

    color: #657694;
}

.company-count {
    margin-top: 4px;

    color: #687995;

    font-size: 11px;
}

.mini-logos {
    display: flex;

    gap: 7px;

    margin-top: 20px;

    overflow: hidden;
}

.mini-logos span {
    min-width: 55px;

    height: 32px;

    padding: 4px 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #e5e9f0;

    border-radius: 7px;

    background: #ffffff;

    color: #52627f;

    font-size: 8px;

    font-weight: 700;
}


/* =====================================================
   FEATURED COMPANIES
===================================================== */

.featured-companies-section {
    padding-top: 45px;

    padding-bottom: 65px;
}

.featured-company-carousel {
    padding: 5px 4px 15px;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.featured-company-carousel::-webkit-scrollbar {
    display: none;
}

.featured-card {
    flex: 0 0 234px;

    min-height: 305px;

    padding: 18px;

    display: flex;

    flex-direction: column;

    text-decoration: none;

    border: 1px solid #e1e5ee;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 4px 15px rgba(
            20,
            40,
            80,
            0.04
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.featured-card:hover {
    transform: translateY(-5px);

    border-color: #d1daf0;

    box-shadow:
        0 14px 30px rgba(
            20,
            40,
            80,
            0.12
        );
}

.featured-logo {
    width: 100%;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 12px;

    color: #2875d8;

    font-size: 38px;

    font-weight: 800;

    letter-spacing: -1px;
}

.featured-company-info {
    width: 100%;

    padding: 16px 10px;

    border-radius: 11px;

    background: #f7f9fc;

    text-align: center;
}

.featured-company-info h3 {
    margin: 0 0 9px;

    color: #071a3d;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;
}

.featured-rating {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 5px;

    color: #6b7b98;

    font-size: 11px;
}

.rating-star {
    color: #ffb400;

    font-size: 14px;
}

.rating-separator {
    color: #c5ccd8;

    margin: 0 2px;
}

.featured-description {
    min-height: 42px;

    margin: 16px 5px 12px;

    color: #243f69;

    font-size: 13px;

    line-height: 1.5;

    text-align: center;
}

.featured-jobs {
    margin-top: auto;

    align-self: center;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 20px;

    border-radius: 24px;

    background: #eef4ff;

    color: #003366;

    font-size: 13px;

    font-weight: 700;

    transition: all 0.2s ease;
}

.featured-jobs i {
    font-size: 11px;

    transition: transform 0.2s ease;
}

.featured-card:hover .featured-jobs {
    background: #003366;

    color: #ffffff;
}

.featured-card:hover .featured-jobs i {
    transform: translateX(4px);
}


/* =====================================================
   VIEW ALL COMPANIES
===================================================== */

.featured-view-all {
    display: flex;

    justify-content: center;

    margin-top: 28px;
}

.featured-view-all .view-all {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 11px 23px;

    border: 1px solid #003366;

    border-radius: 24px;

    background: #ffffff;

    color: #003366;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition: 0.2s;
}

.featured-view-all .view-all:hover {
    background: #003366;

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(
            47,
            95,
            243,
            0.18
        );
}

.featured-view-all .view-all i {
    transition: transform 0.2s ease;
}

.featured-view-all .view-all:hover i {
    transform: translateX(4px);
}


/* =====================================================
   DISCOVER JOBS
===================================================== */

.discover-section {
    padding: 55px 0 65px;

    background: #f8f9fc;
}

.discover-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.discover-card {
    min-height: 75px;

    padding: 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: 1px solid #e1e6ef;

    border-radius: 12px;

    background: #ffffff;

    color: #142b50;

    font-size: 14px;

    font-weight: 700;

    transition: 0.2s;
}

.discover-card i {
    color: #6a7894;

    font-size: 11px;

    transition: transform 0.2s;
}

.discover-card:hover {
    border-color: #cbd6f0;

    box-shadow:
        0 9px 24px rgba(
            30,
            50,
            90,
            0.08
        );

    transform: translateY(-3px);

    color: #003366;
}

.discover-card:hover i {
    transform: translateX(4px);

    color: #003366;
}


/* =====================================================
   ACCELERATE
===================================================== */

.accelerate {
    min-height: 240px;

    margin-top: 65px;

    margin-bottom: 65px;

    padding: 40px 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #f1f5ff,
            #ffffff
        );

    border: 1px solid #e0e7f5;
}

.eyebrow {
    color: #003366;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.4px;
}

.accelerate h2 {
    margin: 8px 0 10px;

    color: #071a3d;

    font-size: 29px;
}

.accelerate p {
    max-width: 600px;

    color: #687995;

    font-size: 14px;

    line-height: 1.7;
}

.primary-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 18px;

    color: #003366;

    font-size: 14px;

    font-weight: 800;
}

.primary-link:hover {
    text-decoration: underline;
}

.accelerate-icon {
    width: 110px;
    height: 110px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #ffffff;

    color: #003366;

    font-size: 42px;

    box-shadow:
        0 10px 30px rgba(
            30,
            60,
            120,
            0.10
        );
}


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

.site-footer {
    padding-top: 55px;

    background: #071a3d;

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 45px;
}

.footer-brand {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;
}

.footer-grid p {
    max-width: 280px;

    color: #aab7cd;

    font-size: 13px;

    line-height: 1.7;
}

.footer-grid h4 {
    margin-bottom: 16px;

    color: #ffffff;

    font-size: 14px;
}

.footer-grid a {
    display: block;

    margin-bottom: 10px;

    color: #aab7cd;

    font-size: 13px;

    transition: color 0.2s;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 18px 20px;

    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.10
    );

    color: #9eABC1;

    text-align: center;

    font-size: 12px;
}


/* =====================================================
   RESPONSIVE - 1050
===================================================== */

@media (max-width: 1050px) {

    .main-nav {
        margin-left: 35px;

        gap: 24px;
    }

    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .featured-card {
        flex-basis: 250px;
    }

    .discover-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .jobs-menu {
        width: 600px !important;
    }

    .companies-menu {
        width: 650px !important;
    }

    .services-menu {
        width: 720px !important;
    }
}


/* =====================================================
   RESPONSIVE - 800
===================================================== */

@media (max-width: 800px) {

    .main-nav {
        gap: 18px;

        margin-left: 25px;
    }

    .header-actions {
        gap: 5px;
    }

    .employer-menu {
        padding-left: 10px;
    }

    .employer-toggle {
        font-size: 12px;
    }

    .accelerate {
        padding: 35px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .jobs-menu,
    .companies-menu,
    .services-menu {
        width: 620px !important;
    }
}


/* =====================================================
   RESPONSIVE - 700
===================================================== */

@media (max-width: 700px) {

    .site-header {
        height: auto;

        position: relative;
    }

    .header-inner {
        width: calc(100% - 25px);

        min-height: 72px;

        height: auto;

        flex-wrap: wrap;

        padding: 10px 0;
    }

    .main-nav {
        order: 3;

        width: 100%;

        height: auto;

        margin: 5px 0 0;

        justify-content: center;

        gap: 28px;
    }

    .main-nav > a {
        height: auto;

        padding: 7px 0;
    }

    .main-nav > a::after {
        bottom: 0;
    }


    /* DROPDOWN ITEM */

    .nav-dropdown {
        height: auto;
    }

    .nav-dropdown > .nav-dropdown-trigger {
        height: auto;

        padding: 7px 0 !important;

        font-size: 13px !important;
    }

    .nav-dropdown > .nav-dropdown-trigger::after {
        bottom: 0;
    }


    /* MOBILE MEGA MENU */

    .nav-dropdown .mega-menu {
        top: 42px;

        left: 50% !important;

        width: calc(100vw - 30px) !important;

        max-width: 360px;

        max-height: 70vh;

        overflow-y: auto;

        display: grid;

        grid-template-columns: 1fr !important;

        gap: 18px;

        padding: 20px;

        transform:
            translate(-50%, -10px);
    }

    .nav-dropdown:hover .mega-menu {
        transform:
            translate(-50%, 0);
    }


    /* MOBILE COLUMNS */

    .nav-dropdown .mega-column {
        padding: 0 0 15px;

        border-right: none;

        border-bottom: 1px solid #e3e7ef;
    }

    .nav-dropdown .mega-column:first-child {
        padding-left: 0;
    }

    .nav-dropdown .mega-column:last-child {
        padding-bottom: 0;

        border-bottom: none;
    }


    /* HERO */

    .hero {
        padding: 55px 15px 55px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }


    /* SEARCH */

    .job-search {
        flex-direction: column;

        align-items: stretch;

        padding: 18px;

        border-radius: 18px;
    }

    .search-field {
        width: 100%;

        flex: none;

        min-height: 35px;
    }

    .experience-field,
    .location-field {
        flex: none;
    }

    .search-divider {
        width: 100%;

        height: 1px;
    }

    .search-btn {
        width: 100%;
    }


    /* CATEGORIES */

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .container {
        width: calc(100% - 30px);
    }


    /* CAROUSEL */

    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .featured-card {
        flex: 0 0 275px;
    }


    /* ACCELERATE */

    .accelerate {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

        padding: 30px;
    }

    .accelerate-icon {
        width: 75px;
        height: 75px;

        font-size: 28px;
    }
}


/* =====================================================
   RESPONSIVE - 500
===================================================== */

@media (max-width: 500px) {

    .brand {
        font-size: 23px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;

        font-size: 17px;
    }

    .header-actions {
        margin-left: auto;
    }

    .btn-login,
    .btn-register {
        min-width: auto;

        padding: 8px 13px;

        font-size: 12px;
    }

    .employer-menu {
        display: none;
    }

    .hero h1 {
        font-size: 30px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        flex: 0 0 270px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-grid p {
        max-width: 100%;
    }
}


/* =====================================================
   RESPONSIVE - 380
===================================================== */

@media (max-width: 380px) {

    .main-nav {
        gap: 18px;
    }

    .main-nav > a,
    .nav-dropdown > .nav-dropdown-trigger {
        font-size: 13px !important;
    }

    .hero h1 {
        font-size: 27px;
    }
}
/* =====================================================
   ABC MODERN FOOTER
===================================================== */

.site-footer {
    width: 100%;
    margin-top: 70px;

    background: #071a3d;
    color: #ffffff;
}


/* =====================================================
   FOOTER MAIN CONTAINER
===================================================== */

.footer-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;

    padding: 60px 0 45px;
}


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

.footer-top {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 45px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


/* =====================================================
   ABC BRAND
===================================================== */

.footer-brand-section {
    padding-right: 30px;
}

.footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-size: 30px;

    font-weight: 800;

    text-decoration: none;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #003366;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;
}

.footer-brand-text {
    max-width: 320px;

    margin-top: 17px;

    color: #aebbd0;

    font-size: 13px;

    line-height: 1.7;
}


/* =====================================================
   SOCIAL MEDIA
===================================================== */

.footer-social {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-top: 24px;
}

.footer-social a {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    color: #b8c4d7;

    font-size: 14px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.footer-social a:hover {
    background: #003366;

    border-color: #003366;

    color: #ffffff;

    transform: translateY(-3px);
}


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

.footer-nav {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.footer-nav-column h4 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

.footer-nav-column a {
    display: block;

    margin-bottom: 12px;

    color: #aebbd0;

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-nav-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


/* =====================================================
   EXPLORE + RESOURCES SECTION
===================================================== */

.footer-middle {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 50px;

    padding: 42px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-middle-column h4 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;
}

.footer-middle-column a {
    display: block;

    margin-bottom: 12px;

    color: #aebbd0;

    font-size: 13px;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-middle-column a:hover {
    color: #ffffff;

    transform: translateX(3px);
}


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

.footer-newsletter {
    padding: 38px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}

.newsletter-content h3 {
    margin-bottom: 7px;

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;
}

.newsletter-content p {
    color: #aebbd0;

    font-size: 13px;
}


/* =====================================================
   NEWSLETTER FORM
===================================================== */

.newsletter-form {
    width: min(480px, 100%);

    display: flex;

    align-items: center;

    padding: 5px;

    border-radius: 30px;

    background: #ffffff;
}

.newsletter-form input {
    flex: 1;

    min-width: 0;

    padding: 12px 16px;

    border: 0;

    outline: none;

    background: transparent;

    color: #172c50;

    font-size: 13px;
}

.newsletter-form input::placeholder {
    color: #8a96aa;
}

.newsletter-form button {
    flex-shrink: 0;

    padding: 11px 21px;

    border: 0;

    border-radius: 24px;

    background: #003366;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.newsletter-form button:hover {
    background: #214edf;

    transform: translateY(-1px);
}


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

.footer-bottom {
    width: 100%;
}

.footer-bottom-inner {
    width: min(1120px, calc(100% - 40px));

    min-height: 70px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.footer-copyright {
    color: #8492aa;

    font-size: 11px;
}

.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 22px;
}

.footer-bottom-links a {
    color: #9eABC0;

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}


/* =====================================================
   FOOTER HOVER LINE
===================================================== */

.footer-nav-column a,
.footer-middle-column a {
    position: relative;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;

        padding-right: 0;
    }

    .footer-middle {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-newsletter {
        flex-direction: column;

        align-items: flex-start;
    }

    .newsletter-form {
        width: 100%;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .site-footer {
        margin-top: 50px;
    }

    .footer-container {
        width: calc(100% - 30px);

        padding: 45px 0 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .footer-middle {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 35px 0;
    }

    .footer-newsletter {
        padding: 32px 0;
    }

    .newsletter-form {
        flex-direction: column;

        align-items: stretch;

        padding: 8px;

        border-radius: 14px;

        background: #ffffff;
    }

    .newsletter-form input {
        width: 100%;

        padding: 12px;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-bottom-inner {
        width: calc(100% - 30px);

        min-height: auto;

        padding: 20px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        font-size: 26px;
    }

    .footer-logo-mark {
        width: 38px;
        height: 38px;
    }
}


/* =====================================================
   ABC LOGIN SIDE PANEL
===================================================== */

.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    z-index: 9999;

    display: flex;
    justify-content: flex-end;
    align-items: stretch;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* OPEN STATE */

.login-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* LOGIN PANEL */

.login-panel {
    position: relative;

    width: 510px;
    max-width: 100%;
    height: 100%;

    background: #ffffff;

    padding: 52px 50px 40px;

    overflow-y: auto;

    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.10);

    transform: translateX(100%);

    transition: transform 0.3s ease;
}


.login-overlay.active .login-panel {
    transform: translateX(0);
}


/* CLOSE */

.login-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 36px;
    height: 36px;

    border: none;
    background: transparent;

    color: #9aa3b2;

    font-size: 25px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: color 0.2s ease;
}


.login-close:hover {
    color: #1f2937;
}


/* HEADER */

.login-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 34px;
}


.login-panel-header h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 700;

    color: #111827;
}


.login-panel-header a {
    color: #2563eb;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}


.login-panel-header a:hover {
    text-decoration: underline;
}


/* FORM GROUP */

.homepage-login-group {
    margin-bottom: 28px;
}


.homepage-login-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;

    color: #111827;
}


/* INPUT */

.homepage-input {
    position: relative;
}


.homepage-input input {
    width: 100%;

    height: 45px;

    padding: 0 16px;

    border: 1px solid #d9deea;
    border-radius: 12px;

    background: #ffffff;

    color: #111827;

    font-size: 14px;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.homepage-input input::placeholder {
    color: #8b98b5;
}


.homepage-input input:focus {
    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* PASSWORD SHOW BUTTON */

.homepage-input input[type="password"],
.homepage-input input[type="text"] {
    padding-right: 70px;
}


.homepage-show-password {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #2563eb;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    padding: 0;
}


/* FORGOT PASSWORD */

.homepage-forgot {
    text-align: right;

    margin-top: -13px;
    margin-bottom: 22px;
}


.homepage-forgot a {
    color: #2563eb;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;
}


.homepage-forgot a:hover {
    text-decoration: underline;
}


/* LOGIN BUTTON */

.homepage-login-button {
    width: 100%;

    height: 46px;

    border: none;
    border-radius: 24px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.homepage-login-button:hover {
    background: #1d4ed8;
}


.homepage-login-button:active {
    transform: scale(0.99);
}


/* OTP */

.homepage-otp-button {
    width: 100%;

    margin-top: 25px;

    border: none;
    background: transparent;

    color: #2563eb;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}


.homepage-otp-button:hover {
    text-decoration: underline;
}


/* OR */

.homepage-login-or {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 28px 0;
}


.homepage-login-or span {
    flex: 1;

    height: 1px;

    background: #d9deea;
}


.homepage-login-or p {
    margin: 0;

    color: #718096;

    font-size: 12px;
}


/* GOOGLE */

.homepage-google-button {
    width: 100%;

    height: 42px;

    border: 1px solid #2563eb;

    border-radius: 22px;

    background: #ffffff;

    color: #2563eb;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.homepage-google-button i {
    font-size: 18px;

    color: #4285f4;
}


.homepage-google-button:hover {
    background: #f5f8ff;

    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .login-panel {
        width: 100%;

        padding:
            55px 24px
            30px;
    }


    .login-panel-header {
        margin-bottom: 28px;
    }


    .login-panel-header h2 {
        font-size: 21px;
    }


    .login-panel-header a {
        font-size: 14px;
    }


    .login-close {
        right: 18px;
        top: 15px;
    }

}

/* REVEAL JOB LOGO ASSET OVERRIDE */
.job-rader-logo {
    display: block;
    width: 168px;
    max-width: 100%;
    max-height: 54px;
    height: auto;
    object-fit: contain;
}
.brand:has(.job-rader-logo) {
    gap: 0;
}
.footer-logo .footer-job-rader-logo {
    width: 218px;
    max-height: 72px;
}
.auth-brand .job-rader-logo {
    width: 188px;
    max-height: 62px;
}
@media (max-width: 500px) {
    .job-rader-logo {
        width: 138px;
        max-height: 45px;
    }
    .footer-logo .footer-job-rader-logo {
        width: 190px;
        max-height: 62px;
    }
    .auth-brand .job-rader-logo {
        width: 170px;
    }
}



/* Point 4: Keep the Companies mega-menu centered and inside the viewport */
.nav-dropdown .companies-menu {
    position: fixed !important;
    left: 50vw !important;
    top: 80px;
    transform: translate(-50%, -10px);
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}
.nav-dropdown:hover .companies-menu {
    transform: translate(-50%, 0);
}
@media (max-width: 700px) {
    .nav-dropdown .companies-menu {
        left: 50vw !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px);
    }
}


/* Point 4: keep Companies mega menu centered and inside viewport */
.nav-dropdown .companies-menu { position: fixed !important; left: 50vw !important; top: 80px; transform: translate(-50%, -10px); width: min(710px, calc(100vw - 24px)) !important; max-width: calc(100vw - 24px); box-sizing: border-box; }
.nav-dropdown:hover .companies-menu, .nav-dropdown.open .companies-menu { transform: translate(-50%, 0); }


/* =====================================================
   REVEAL JOB LOGIN DRAWER — FINAL ALIGNMENT OVERRIDES
===================================================== */
.login-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 20000 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    background: rgba(7, 21, 41, 0.48) !important;
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.login-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.login-panel {
    position: relative !important;
    width: min(470px, 100%) !important;
    max-width: 100% !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 72px 34px 30px !important;
    background: #fff !important;
    box-shadow: -16px 0 45px rgba(7, 21, 41, .18) !important;
    transform: translateX(100%);
}
.login-overlay.active .login-panel { transform: translateX(0); }
.login-close {
    top: 17px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid #e5eaf1 !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    color: #526176 !important;
    font-size: 20px !important;
}
.login-panel-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 30px !important;
    padding: 0 0 20px !important;
    border-bottom: 1px solid #edf0f5 !important;
}
.login-panel-header h2 {
    margin: 0 !important;
    color: #0B1F3A !important;
    font-size: 28px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}
.login-panel-header a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 9px 13px !important;
    border: 1px solid #F58220 !important;
    border-radius: 9px !important;
    background: #fff7f0 !important;
    color: #0B1F3A !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
}
.homepage-login-form { width: 100% !important; max-width: 100% !important; }
.homepage-login-group { margin-bottom: 20px !important; }
.homepage-login-group label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #17243A !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}
.homepage-input { position: relative !important; width: 100% !important; }
.homepage-input input {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 15px !important;
    border: 1px solid #d9e0ea !important;
    border-radius: 10px !important;
    background: #f8fafd !important;
    color: #17243A !important;
    font-size: 14px !important;
    outline: none !important;
}
.homepage-input input:focus {
    border-color: #F58220 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(245,130,32,.14) !important;
}
.homepage-show-password {
    right: 13px !important;
    color: #0B1F3A !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}
.homepage-forgot { margin: -4px 0 20px !important; text-align: right !important; }
.homepage-forgot a { color: #0B1F3A !important; font-size: 12px !important; font-weight: 700 !important; }
.homepage-login-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 47px !important;
    height: auto !important;
    margin: 0 !important;
    border: 1px solid #F58220 !important;
    border-radius: 10px !important;
    background: #F58220 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}
.homepage-login-button:hover { background: #e96f0e !important; }
.homepage-otp-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 14px 0 0 !important;
    border: 1px solid #f4d0b0 !important;
    border-radius: 10px !important;
    background: #fff7f0 !important;
    color: #0B1F3A !important;
    font-size: 13px !important;
}
.homepage-login-or { margin: 22px 0 !important; }
.homepage-google-button {
    width: 100% !important;
    min-height: 45px !important;
    height: auto !important;
    border: 1px solid #d9e0ea !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #344256 !important;
    font-size: 13px !important;
}
@media (max-width: 600px) {
    .login-panel { width: 100% !important; padding: 68px 22px 26px !important; }
    .login-panel-header { align-items: flex-start !important; }
    .login-panel-header h2 { font-size: 25px !important; }
    .login-panel-header a { font-size: 12px !important; padding: 8px 10px !important; }
}



/* REVEAL JOB: keep search fields borderless while typing/focused */
input[type="search"]:focus,
input[type="search"]:focus-visible,
input.search-input:focus,
.search-box input:focus,
.search-bar input:focus,
.jobs-search-field input:focus,
.company-filter-search input:focus {
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}


/* REVEAL JOB global search focus cleanup */
input[type="search"]:focus,input[type="search"]:focus-visible,input[name*="search"]:focus,input[name*="keyword"]:focus,input[name*="location"]:focus,.search-box input:focus,.search-bar input:focus,.jobs-search-field input:focus,.company-filter-search input:focus,.homepage-search input:focus,.job-search-form input:focus,.search-form input:focus{outline:0!important;box-shadow:none!important;border-color:transparent!important}

/* Site-wide search fields: no visible border or focus ring. */
input[type="search"], input[name*="keyword"], input[name*="location"], .search-box input, .search-bar input, .jobs-search-field input, .company-filter-search input, .homepage-search input, .job-search-form input, .search-form input { border-color: transparent !important; outline: none !important; box-shadow: none !important; }
input[type="search"]:focus, input[name*="keyword"]:focus, input[name*="location"]:focus, .search-box input:focus, .search-bar input:focus, .jobs-search-field input:focus, .company-filter-search input:focus, .homepage-search input:focus, .job-search-form input:focus, .search-form input:focus { border-color: transparent !important; outline: none !important; box-shadow: none !important; }


/* REVEAL JOB FIX: keep before-login homepage skill search neutral on focus */
.homepage-search input:focus,
.homepage-search input:focus-visible,
.homepage-input input:focus,
.homepage-input input:focus-visible,
input[name="keyword"]:focus,
input[name="keyword"]:focus-visible {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background-color: transparent !important;
}
.homepage-search:focus-within,
.homepage-search-form:focus-within,
.search-container:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

/* Final fix: homepage skill search has no focus ring, border, or shadow. */
.homepage-input input[name="keyword"],
.homepage-input input[name="keyword"]:focus,
.homepage-input input[name="keyword"]:focus-visible,
.homepage-search input[name="keyword"],
.homepage-search input[name="keyword"]:focus,
.homepage-search input[name="keyword"]:focus-visible,
.search-field input[name="keyword"],
.search-field input[name="keyword"]:focus,
.search-field input[name="keyword"]:focus-visible {
    outline: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-color: transparent !important;
}


/* FINAL SEARCH UI CLEANUP: no focus borders/glows on homepage and public search fields */
.homepage-search .search-field:focus-within,
.homepage-search-form .search-field:focus-within,
.search-field.keyword-field:focus-within,
.search-field.location-field:focus-within,
.search-field.experience-field:focus-within,
.search-field:has(input[name="keyword"]:focus),
.search-field:has(input[name="location"]:focus),
.search-field:has(select[name="experience"]:focus) {
    outline: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.homepage-search input[name="keyword"],
.homepage-search input[name="location"],
.search-field input[name="keyword"],
.search-field input[name="location"],
.homepage-search input[name="keyword"]:focus,
.homepage-search input[name="location"]:focus,
.search-field input[name="keyword"]:focus,
.search-field input[name="location"]:focus,
.search-field input[name="keyword"]:not(:placeholder-shown),
.search-field input[name="location"]:not(:placeholder-shown) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
.homepage-search input[name="keyword"]:-webkit-autofill,
.homepage-search input[name="location"]:-webkit-autofill,
.homepage-search input[name="keyword"]:-webkit-autofill:focus,
.homepage-search input[name="location"]:-webkit-autofill:focus {
    -webkit-text-fill-color: #0b1f3a !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 99999s ease-out 0s !important;
}
/* Darker experience menu; native select remains fully functional. */
.search-field.experience-field select,
.jobs-search-experience select {
    outline: none !important;
    box-shadow: none !important;
}
.search-field.experience-field select option,
.jobs-search-experience select option {
    background-color: #252a33 !important;
    color: #f8fafc !important;
}
.search-field.experience-field select option:checked,
.jobs-search-experience select option:checked {
    background-color: #3b4657 !important;
    color: #ffffff !important;
}

/* Site-wide header alignment: each mega-menu is anchored below its own navigation item. */
@media (min-width: 701px) {
  .header-inner .main-nav { margin-left: auto !important; }
  .nav-dropdown { position: relative !important; }
  .nav-dropdown .mega-menu,
  .nav-dropdown .jobs-menu,
  .nav-dropdown .companies-menu,
  .nav-dropdown .services-menu {
    position: absolute !important;
    top: 76px !important;
    left: 0 !important;
    right: auto !important;
    transform: translateY(-8px) !important;
    max-width: min(90vw, 810px) !important;
    box-sizing: border-box;
  }
  .nav-dropdown:hover .mega-menu,
  .nav-dropdown.open .mega-menu,
  .nav-dropdown:hover .jobs-menu,
  .nav-dropdown.open .jobs-menu,
  .nav-dropdown:hover .companies-menu,
  .nav-dropdown.open .companies-menu,
  .nav-dropdown:hover .services-menu,
  .nav-dropdown.open .services-menu { transform: translateY(0) !important; }
  .nav-dropdown .jobs-menu { left: 0 !important; }
  .nav-dropdown .companies-menu { left: 0 !important; width: min(710px, 90vw) !important; }
  .nav-dropdown .services-menu { left: auto !important; right: 0 !important; width: min(810px, 90vw) !important; }
}
@media (max-width: 700px) {
  .header-inner .main-nav { margin-left: 0 !important; }
}


/* FINAL REQUEST: all primary navigation dropdowns must open DOWN only. */
@media (min-width: 701px) {
  .site-header .header-inner { display:flex !important; align-items:center !important; }
  .site-header .main-nav { margin-left:22px !important; margin-right:auto !important; justify-content:flex-start !important; }
  .site-header .header-actions { margin-left:auto !important; }
  .site-header .nav-dropdown { position:relative !important; }
  .site-header .nav-dropdown > .mega-menu,
  .site-header .nav-dropdown > .jobs-menu,
  .site-header .nav-dropdown > .companies-menu,
  .site-header .nav-dropdown > .services-menu {
    position:absolute !important; top:calc(100% - 1px) !important; bottom:auto !important;
    left:0 !important; right:auto !important; margin-top:0 !important;
    transform:translateY(0) !important; z-index:25000 !important;
  }
  .site-header .nav-dropdown:hover > .mega-menu,
  .site-header .nav-dropdown.open > .mega-menu,
  .site-header .nav-dropdown:focus-within > .mega-menu { top:calc(100% - 1px) !important; bottom:auto !important; }
  .site-header .nav-dropdown > .companies-menu { width:min(710px,90vw) !important; max-width:calc(100vw - 24px) !important; }
  .site-header .nav-dropdown > .services-menu { left:auto !important; right:0 !important; width:min(810px,90vw) !important; max-width:calc(100vw - 24px) !important; }
}

/* FIX: keep every public-header mega dropdown fully inside the viewport and opening downward. */
@media (min-width: 701px) {
  .site-header .nav-dropdown { position: relative !important; }
  .site-header .nav-dropdown > .mega-menu,
  .site-header .nav-dropdown > .jobs-menu,
  .site-header .nav-dropdown > .companies-menu,
  .site-header .nav-dropdown > .services-menu {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 0) !important;
    width: min(var(--mega-menu-width, 810px), calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    box-sizing: border-box !important;
    z-index: 25000 !important;
  }
  .site-header .nav-dropdown > .jobs-menu { --mega-menu-width: 650px; }
  .site-header .nav-dropdown > .companies-menu { --mega-menu-width: 710px; }
  .site-header .nav-dropdown > .services-menu { --mega-menu-width: 810px; }
  .site-header .nav-dropdown:hover > .mega-menu,
  .site-header .nav-dropdown.open > .mega-menu,
  .site-header .nav-dropdown:focus-within > .mega-menu { transform: translate(-50%, 0) !important; }
}


/* REVEAL JOB unified header and mega-menu behavior (final authoritative rules). */
@media (min-width: 701px) {
  .site-header .header-inner { display:flex !important; align-items:center !important; gap:clamp(22px, 3vw, 46px) !important; }
  .site-header .brand { flex:0 0 auto !important; margin-right:clamp(12px, 1.8vw, 28px) !important; }
  .site-header .main-nav { margin-left:0 !important; margin-right:auto !important; justify-content:flex-start !important; gap:clamp(22px, 2.5vw, 38px) !important; }
  .site-header .header-actions { margin-left:auto !important; flex:0 0 auto !important; }
  .site-header .nav-dropdown { position:relative !important; }
  .site-header .nav-dropdown > .mega-menu,
  .candidate-shared-nav .nav-dropdown > .mega-menu {
    position:fixed !important; top:var(--rj-menu-top, 160px) !important; bottom:auto !important;
    left:var(--rj-menu-left, 12px) !important; right:auto !important;
    transform:none !important; margin:0 !important;
    max-width:calc(100vw - 24px) !important; max-height:min(70vh,560px) !important;
    overflow:auto !important; box-sizing:border-box !important; z-index:25000 !important;
  }
}
.site-header .mega-menu, .candidate-shared-nav .mega-menu { box-sizing:border-box !important; }
@media (max-width:700px) {
  .site-header .header-inner { flex-wrap:wrap !important; gap:10px 16px !important; }
  .site-header .brand { margin-right:0 !important; }
  .site-header .main-nav, .site-header .candidate-shared-nav { margin-left:0 !important; gap:16px !important; }
  .site-header .nav-dropdown > .mega-menu, .candidate-shared-nav .nav-dropdown > .mega-menu {
    position:fixed !important; top:var(--rj-menu-top, 130px) !important; bottom:auto !important;
    left:12px !important; right:auto !important; width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important; max-height:70vh !important; overflow:auto !important;
    grid-template-columns:1fr !important; transform:none !important; z-index:25000 !important;
  }
  .site-header .header-actions { margin-left:auto !important; }
}


/* Stable Services dropdown: anchor below Services without changing header layout. */
@media (min-width: 701px) {
  .site-header .main-nav > .nav-dropdown { position: relative !important; flex: 0 0 auto !important; }
  .site-header .nav-dropdown > .services-menu { left: 0 !important; right: auto !important; transform: none !important; margin-left: 0 !important; }
  .site-header .nav-dropdown:hover > .services-menu,
  .site-header .nav-dropdown:focus-within > .services-menu,
  .site-header .nav-dropdown.open > .services-menu { left: 0 !important; right: auto !important; transform: none !important; }
  .site-header .nav-dropdown > .nav-dropdown-trigger { flex-shrink: 0 !important; }
}


/* =========================================================
   REVEAL JOB HOMEPAGE — SHARED CONTENT BOUNDARIES
   Keep the homepage category, latest jobs, featured companies,
   and discover sections aligned to one centered content width.
========================================================= */
body:has(.rj-latest-demo-jobs) .category-section.container,
body:has(.rj-latest-demo-jobs) .rj-latest-demo-jobs,
body:has(.rj-latest-demo-jobs) .featured-companies-section.container,
body:has(.rj-latest-demo-jobs) .discover-section > .container {
    width: min(1200px, calc(100% - 48px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* The latest-jobs section previously had a different inline width/padding. */
body:has(.rj-latest-demo-jobs) .rj-latest-demo-jobs {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Avoid children expanding beyond the shared homepage boundary. */
body:has(.rj-latest-demo-jobs) .category-section.container,
body:has(.rj-latest-demo-jobs) .featured-companies-section.container,
body:has(.rj-latest-demo-jobs) .discover-section > .container,
body:has(.rj-latest-demo-jobs) .rj-latest-demo-jobs {
    min-width: 0;
}

body:has(.rj-latest-demo-jobs) .rj-latest-demo-jobs *,
body:has(.rj-latest-demo-jobs) .featured-companies-section *,
body:has(.rj-latest-demo-jobs) .discover-section * {
    box-sizing: border-box;
}

@media (max-width: 600px) {
    body:has(.rj-latest-demo-jobs) .category-section.container,
    body:has(.rj-latest-demo-jobs) .rj-latest-demo-jobs,
    body:has(.rj-latest-demo-jobs) .featured-companies-section.container,
    body:has(.rj-latest-demo-jobs) .discover-section > .container {
        width: calc(100% - 28px);
    }
}


/* REVEAL JOB: click-only navigation dropdowns.
   Hover/focus must not open a menu by itself; the shared JS toggles .open. */
.site-header .nav-dropdown:not(.open):hover > .mega-menu,
.site-header .nav-dropdown:not(.open):focus-within > .mega-menu,
.candidate-shared-nav .nav-dropdown:not(.open):hover > .mega-menu,
.candidate-shared-nav .nav-dropdown:not(.open):focus-within > .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.site-header .nav-dropdown.open > .mega-menu,
.candidate-shared-nav .nav-dropdown.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* REVEAL JOB: hover mega-menu parity on homepage and all shared headers.
   The popup stays visible while the pointer moves from trigger into menu. */
.site-header .nav-dropdown:hover > .mega-menu,
.site-header .nav-dropdown.open > .mega-menu,
.candidate-shared-nav .nav-dropdown:hover > .mega-menu,
.candidate-shared-nav .nav-dropdown.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.site-header .nav-dropdown:hover > .nav-dropdown-trigger,
.site-header .nav-dropdown.open > .nav-dropdown-trigger,
.candidate-shared-nav .nav-dropdown:hover > .nav-dropdown-trigger,
.candidate-shared-nav .nav-dropdown.open > .nav-dropdown-trigger {
    color: #F58220 !important;
}


/* REVEAL JOB FIX: Homepage visitor header uses .main-nav without .site-header.
   Apply the same hover mega-menu visibility to every shared navigation. */
.main-nav .nav-dropdown {
    position: relative;
}
.main-nav .nav-dropdown:hover > .mega-menu,
.main-nav .nav-dropdown:focus-within > .mega-menu,
.main-nav .nav-dropdown.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: block !important;
}
.main-nav .nav-dropdown:hover > .nav-dropdown-trigger,
.main-nav .nav-dropdown:focus-within > .nav-dropdown-trigger,
.main-nav .nav-dropdown.open > .nav-dropdown-trigger {
    color: #F58220 !important;
}
@media (hover: hover) and (pointer: fine) {
    .main-nav .nav-dropdown:hover > .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}


/* FINAL HOMEPAGE HOVER FIX:
   The earlier click-only selector used :not(.open), giving it higher
   specificity than the previous generic hover rule. Override that exact
   selector so the visitor homepage opens its full mega-menu on pointer hover. */
@media (hover: hover) and (pointer: fine) {
    .site-header .nav-dropdown:not(.open):hover > .mega-menu,
    .site-header .nav-dropdown:not(.open):focus-within > .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: grid !important;
    }

    .site-header .nav-dropdown:not(.open):hover > .jobs-menu,
    .site-header .nav-dropdown:not(.open):focus-within > .jobs-menu {
        transform: translateY(0) !important;
    }

    .site-header .nav-dropdown:not(.open):hover > .companies-menu,
    .site-header .nav-dropdown:not(.open):focus-within > .companies-menu,
    .site-header .nav-dropdown:not(.open):hover > .services-menu,
    .site-header .nav-dropdown:not(.open):focus-within > .services-menu {
        transform: translateY(0) !important;
    }

    .site-header .nav-dropdown:not(.open):hover > .nav-dropdown-trigger,
    .site-header .nav-dropdown:not(.open):focus-within > .nav-dropdown-trigger {
        color: #F58220 !important;
    }
}


/* FINAL DESKTOP MEGA MENU LAYOUT — use flex columns to avoid legacy
   grid/mobile rules forcing the homepage columns to stack vertically. */
@media screen and (min-width: 701px) {
  .site-header .nav-dropdown > .mega-menu,
  .candidate-shared-nav .nav-dropdown > .mega-menu,
  .main-nav .nav-dropdown > .mega-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: visible !important;
    max-height: none !important;
    box-sizing: border-box !important;
  }

  .site-header .nav-dropdown > .jobs-menu,
  .candidate-shared-nav .nav-dropdown > .jobs-menu,
  .main-nav .nav-dropdown > .jobs-menu {
    width: 650px !important;
    min-width: 650px !important;
  }

  .site-header .nav-dropdown > .companies-menu,
  .candidate-shared-nav .nav-dropdown > .companies-menu,
  .main-nav .nav-dropdown > .companies-menu {
    width: 710px !important;
    min-width: 710px !important;
  }

  .site-header .nav-dropdown > .services-menu,
  .candidate-shared-nav .nav-dropdown > .services-menu,
  .main-nav .nav-dropdown > .services-menu {
    width: 810px !important;
    min-width: 810px !important;
  }

  .site-header .nav-dropdown > .mega-menu > .mega-column,
  .candidate-shared-nav .nav-dropdown > .mega-menu > .mega-column,
  .main-nav .nav-dropdown > .mega-menu > .mega-column {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 18px !important;
    border-right: 1px solid #e2e6ee !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .site-header .nav-dropdown > .mega-menu > .mega-column:first-child,
  .candidate-shared-nav .nav-dropdown > .mega-menu > .mega-column:first-child,
  .main-nav .nav-dropdown > .mega-menu > .mega-column:first-child {
    padding-left: 0 !important;
  }

  .site-header .nav-dropdown > .mega-menu > .mega-column:last-child,
  .candidate-shared-nav .nav-dropdown > .mega-menu > .mega-column:last-child,
  .main-nav .nav-dropdown > .mega-menu > .mega-column:last-child {
    padding-right: 0 !important;
    border-right: 0 !important;
  }
}
