/********** Template CSS **********/
:root {
    --primary: #4285F4;
    --secondary: #2B9BFF;
    --light: #EFFDF5;
    --dark: #2B3940;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: .5s;
}

/* Gradient CTA button to match reference */
.btn-cta {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #FFFFFF !important;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25), 0 4px 8px rgba(99, 102, 241, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    min-height: 44px;
}

.btn-cta i {
    font-size: 16px;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28), 0 6px 10px rgba(79, 70, 229, 0.2);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22), 0 3px 6px rgba(79, 70, 229, 0.18);
}

/* Outlined nav button to match reference (Login/Menu) */
.btn-nav-outline {
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    min-height: 44px;
}

/* Navbar CTA button using hero search color */
.nav-cta-button {
    background: #2563EB;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    line-height: 1.2;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}

.nav-cta-button:hover {
    background: #1D4ED8;
    color: #FFFFFF;
}

.btn-nav-outline:hover {
    background: #F9FAFB;
    border-color: #E5E7EB;
    color: #111827;
}

.btn-nav-outline:active {
    background: #F3F4F6;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.08);
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    background-color: #6366F1;
    border-color: #6366F1;
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    /* Improve vertical spacing for mobile navbar brand and toggler */
    .navbar-light .navbar-brand {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        height: auto;
    }

    .navbar-light .navbar-toggler {
        padding-top: 12px;
        padding-bottom: 12px;
        border: 1px solid #2563EB; /* Match nav-cta button blue */
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Remove horizontal padding on brand so logo has no side padding */
.navbar .navbar-brand {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove container side padding inside navbar so brand can sit fully left */
.navbar .container,
.navbar .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Toggler border color to match CTA blue on all states */
.navbar .navbar-toggler {
    border-color: #2563EB;
}

.navbar .navbar-toggler:focus,
.navbar .navbar-toggler:active,
.navbar .navbar-toggler[aria-expanded="true"] {
    border-color: #2563EB;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
    outline: none;
}

/* Increase company logo size globally (override inline heights) */
.navbar .navbar-brand img[src$="company-logo.png"] {
    height: 80px !important;
    width: auto;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img[src$="company-logo.png"] {
        height: 68px !important;
    }
}

/* Navbar width constraint to match Hero Search Bar */
.navbar .container > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.navbar .container > .row > div {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid var(--primary);
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: var(--primary);
}

.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}

/* Desktop carousel item height - ensures consistent height for all carousel slides */
.header-carousel .owl-carousel-item {
    position: relative;
    height: 600px;
    min-height: 600px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.hero-description-new {
    font-weight: 600;
}

.get-matched-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17,24,39,0.08);
}

.get-matched-card .modal-title {
    font-weight: 700;
}

.get-matched-card .form-label {
    font-weight: 600;
    color: #374151;
}

.get-matched-card .form-control {
    border-radius: 12px;
}

.get-matched-card .btn-cta {
    border-radius: 12px;
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(43, 57, 64, .5), rgba(43, 57, 64, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
.about-bg {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 5px 5px;
}


/*** Category ***/
.cat-item {
    display: block;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border: 1px solid transparent;
    transition: .5s;
}

.cat-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}


/*** Job Listing ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}

.job-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.job-item:hover {
    border-color: rgba(0, 0, 0, .08);
    box-shadow: none;
}

.job-title-link:hover {
    color: var(--primary) !important;
}

/* Hide company logos within job items (dynamic and any static placeholders) */
.job-item img.flex-shrink-0 {
    display: none !important;
}

/* New Job Card Design - Matching Example HTML Structure */
.w-dyn-item {
    margin-bottom: 16px;
}

.card.job {
    display: flex;
    align-items: center;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.card.job:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

/* Logo Container - Light blue background matching design */
.image-wrapper.card-job {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 24px;
    overflow: hidden;
}

.square-icon.card-job-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* Content Container */
.content-inside-card-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

/* Company Name - Title case, not uppercase */
.job-subtitle-card {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 4px;
}

/* Job Title - Dark grey color matching design */
.heading-h5-size.mg-bottom-16px.card-title {
    font-size: 20px;
    font-weight: 700;
    color: rgb(35, 37, 53);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

/* Badges Wrapper */
.split-content.job-badges-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Badge Styling - White background with light blue border to match image design */
.badge-secondary.small.job-category-badges {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #2B9BFF;
    border-radius: 50px;
    font-size: 13px;
    color: #1F2937;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.badge-secondary.small.job-category-badges:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.job-badge-category-icon {
    font-size: 13px;
    color: #2B9BFF;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-secondary.small.job-category-badges div {
    margin: 0;
    padding: 0;
}

/* External Link Button - White background with subtle shadow */
.btn-square-secondary {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(72, 75, 98);
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-square-secondary:hover {
    background: #F9FAFB;
    color: rgb(72, 75, 98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.btn-square-secondary .line-rounded-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-square-secondary .line-rounded-icon i {
    font-size: 14px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item {
    height: 100%;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

/* Keep cards consistent; no special primary background on center item */
.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: inherit !important;
}

/* Card styling to match reference: white, rounded, subtle border/shadow */
.testimonial-item {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.testimonial-item p {
    flex-grow: 1;
    margin-bottom: 0;
}

.testimonial-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* Quote icon styling to match new blue palette */
.testimonial-item .fa-quote-left {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #E5E7EB;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-carousel .owl-dot:hover {
    background: #D1D5DB;
    transform: scale(1.2);
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    width: 24px;
    height: 8px;
    border-radius: 4px;
}


/*** Footer ***/
/* Light, minimal footer overrides to match reference styling */
.footer {
    background-color: #F9FAFB !important; /* override bg-dark */
    color: #374151 !important; /* override text-white-50 */
}

/* Match header content width (col-xl-10 inside a Bootstrap container ≈ 1100px at xxl) */
.footer .container {
    max-width: 1100px !important;
}

.footer h5 {
    color: #111827 !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #374151 !important;
    text-decoration: none;
    text-transform: none;
    transition: color .2s ease;
}

/* Remove chevron bullets from links for a cleaner list */
.footer .btn.btn-link::before {
    content: none;
}

.footer .btn.btn-link:hover {
    color: #111827 !important;
    text-decoration: underline;
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151 !important;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: #FFFFFF;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.footer .btn.btn-social:hover {
    border-color: #D1D5DB;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.footer .form-control {
    border-color: #E5E7EB;
    color: #374151;
}

.footer .copyright {
    padding: 24px 0;
    font-size: 14px;
    color: #6B7280;
    border-top: 1px solid #E5E7EB; /* subtle divider like reference */
}

.footer .copyright a {
    color: #374151;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid #E5E7EB;
    color: #6B7280 !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Spacing tweaks for column lists */
.footer .row.g-5 > [class^="col-"],
.footer .row.g-5 > [class*=" col-"] {
    margin-top: 0;
}

/*** Modern Search Section ***/
.modern-search-container {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.modern-search-container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.modern-search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 16px 20px;
    gap: 12px;
    position: relative;
}

.modern-search-icon {
    color: #6B7280;
    font-size: 18px;
    flex-shrink: 0;
}

.modern-search-input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: #1F2937;
    background: transparent;
    padding: 0;
}

.modern-search-input::placeholder {
    color: #9CA3AF;
}

.modern-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    z-index: 1001;
    display: none;
    margin-top: 0;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    transform: scale(1);
    transform-origin: top left;
}

.modern-search-dropdown.show {
    display: block;
}

/* Dropdown Header */
.modern-search-dropdown-header {
    padding: 14px 20px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    min-height: 44px;
    box-sizing: border-box;
}

.dropdown-header-text {
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
}

.dropdown-header-action {
    color: #6B7280;
    font-size: 13px;
}

/* Job Card in Dropdown */
.modern-search-dropdown-job {
    padding: 20px;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s ease;
    cursor: default;
    min-height: 120px;
    box-sizing: border-box;
}

.modern-search-dropdown-job:last-child {
    border-bottom: none;
}

.modern-search-dropdown-job:hover,
.modern-search-dropdown-job.selected {
    background-color: #F9FAFB;
}

.dropdown-job-header {
    margin-bottom: 10px;
}

.dropdown-job-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.dropdown-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6B7280;
    align-items: center;
}

.dropdown-job-company {
    color: #374151;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-job-company i {
    font-size: 12px;
    color: #9CA3AF;
}

.dropdown-job-location,
.dropdown-job-salary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dropdown-job-location i,
.dropdown-job-salary i {
    font-size: 12px;
    color: #9CA3AF;
}

.dropdown-job-description {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.6;
    margin: 12px 0;
    cursor: text;
}

.dropdown-job-desc-text,
.dropdown-job-desc-full {
    display: inline;
}

.dropdown-job-desc-toggle {
    color: #2B9BFF;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.dropdown-job-desc-toggle:hover {
    color: #1a7fcc;
    text-decoration: underline;
}

.dropdown-job-tags {
    margin-top: 8px;
}

.dropdown-job-tags .badge {
    font-size: 11px;
    padding: 4px 8px;
}

/* Job tag badges - badge bg-light text-primary border styling to match image design */
.badge.bg-light.text-primary.border {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50px;
    font-size: 13px;
    color: #1F2937 !important;
    font-weight: 500;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.badge.bg-light.text-primary.border:hover {
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Category badge styling - light blue background with blue text */
.badge.bg-light.text-primary.border.text-capitalize {
    background: #E0F2FE !important;
    border: 1px solid #2B9BFF !important;
    color: #2B9BFF !important;
    box-shadow: 0 0 0 1px rgba(43, 155, 255, 0.1), 0 1px 2px rgba(43, 155, 255, 0.08);
}

.badge.bg-light.text-primary.border.text-capitalize:hover {
    background: #B3E5FC !important;
    border-color: #1D4ED8 !important;
    color: #1D4ED8 !important;
    box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.15), 0 2px 4px rgba(29, 78, 216, 0.12);
}

/* Override Bootstrap success/green badges to use site blue color palette */
.badge.bg-success {
    background-color: #2B9BFF !important;
    color: #FFFFFF !important;
}

.badge.bg-success:hover {
    background-color: #1D4ED8 !important;
}

/* Override Bootstrap .text-primary for job icons to use site blue color palette */
.job-item .text-primary,
.job-item i.text-primary,
.job-item .fa.text-primary,
.job-item .far.text-primary,
.job-item .fas.text-primary,
.modern-search-dropdown-job .text-primary,
.modern-search-dropdown-job i.text-primary,
.fa-money-bill-alt.text-primary,
.fa-map-marker-alt.text-primary,
.fa-user-tie.text-primary,
.fa-clock.text-primary,
.far.fa-clock.text-primary,
.job-desc-toggle.text-primary {
    color: #2B9BFF !important;
}

.job-item .text-primary:hover,
.job-item i.text-primary:hover,
.modern-search-dropdown-job .text-primary:hover,
.job-desc-toggle.text-primary:hover {
    color: #1D4ED8 !important;
}

/* Apply Arrow Button - Blue background with white arrow */
.btn-apply-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2B9BFF !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50px;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-apply-arrow:hover {
    background: #1D4ED8 !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
    color: #FFFFFF !important;
    transform: translateX(2px);
}

.btn-apply-arrow:active {
    transform: translateX(1px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-apply-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-apply-arrow i {
    font-size: 16px;
    line-height: 1;
}

/* Smaller version for dropdown */
.btn-apply-arrow-sm {
    width: 32px;
    height: 32px;
}

.btn-apply-arrow-sm i {
    font-size: 14px;
}

.dropdown-job-actions {
    margin-top: 12px;
}

.dropdown-job-apply {
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 600;
    white-space: nowrap;
}

.dropdown-job-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2B9BFF;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.dropdown-job-link:hover {
    color: #1a7fcc;
}

.dropdown-job-link i {
    font-size: 11px;
}

/* Legacy dropdown item styles (for backward compatibility) */
.modern-search-dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s ease;
    font-size: 14px;
    color: #1F2937;
}

.modern-search-dropdown-item:last-child {
    border-bottom: none;
}

.modern-search-dropdown-item:hover,
.modern-search-dropdown-item.selected {
    background-color: #F9FAFB;
}

.modern-search-dropdown-item .dropdown-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.modern-search-dropdown-item .dropdown-subtitle {
    font-size: 12px;
    color: #6B7280;
}

.modern-search-divider {
    width: 1px;
    height: 40px;
    background: #E5E7EB;
    flex-shrink: 0;
}

.modern-search-button {
    background: #2B9BFF;
    color: #FFFFFF;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0 12px 12px 0;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.modern-search-button:hover {
    background: #1a7fcc;
}

.modern-search-button:active {
    background: #1566a3;
}

@media (max-width: 768px) {
    .modern-search-container {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .modern-search-input-wrapper {
        width: 100%;
        padding: 14px 16px;
        border-bottom: 1px solid #E5E7EB;
    }
    
    .modern-search-input-wrapper:last-of-type {
        border-bottom: none;
    }
    
    .modern-search-divider {
        display: none;
    }
    
    .modern-search-button {
        width: 100%;
        border-radius: 0 0 12px 12px;
        padding: 16px;
    }
    
    .modern-search-dropdown {
        min-height: 250px;
        max-height: 400px;
    }
    
    .modern-search-dropdown-job {
        padding: 16px;
        min-height: 90px;
    }
    
    .dropdown-job-title {
        font-size: 15px;
    }
    
    .dropdown-job-meta {
        font-size: 13px;
        gap: 10px;
    }
}

/* Job List Search Clear Button */
.modern-search-input-wrapper #clearSearchBtn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    color: #6B7280;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.modern-search-input-wrapper #clearSearchBtn:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.modern-search-input-wrapper #clearSearchBtn i {
    font-size: 14px;
}

/* Job List Scroll Container */
.jobs-scroll-container {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.jobs-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.jobs-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.jobs-scroll-container::-webkit-scrollbar-thumb {
    background: #4285F4;
    border-radius: 10px;
}

.jobs-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Category Job Cards Section - Fixed Height */
#category-job-list {
    height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

#category-job-list::-webkit-scrollbar {
    width: 8px;
}

#category-job-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#category-job-list::-webkit-scrollbar-thumb {
    background: #2B9BFF;
    border-radius: 10px;
}

#category-job-list::-webkit-scrollbar-thumb:hover {
    background: #1D4ED8;
}

/* New Hero Section Styles */
.hero-section-new {
    min-height: calc(70vh - 75px);
    max-height: calc(70vh - 75px);
    position: relative;
    overflow: hidden;
    padding: 160px 0 60px; /* slightly tighter gap below navbar */
    display: flex;
    align-items: center;
}

.hero-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 80% center; /* push blob further right like reference */
    background-repeat: no-repeat;
    z-index: 1;
}

.min-vh-hero {
    min-height: auto;
}

.hero-content-new {
    position: relative;
    z-index: 2;
    padding: 10px 0;
}

.hero-badge-new {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2563EB;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.hero-title-new {
    font-size: 2.75rem;
    font-weight: 800;
    color: #1F2937;
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.hero-description-new {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-keywords-new {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.keyword-tag-new {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: #F3F4F6;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.keyword-tag-new:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
    border-color: #D1D5DB;
}

.keyword-tag-new i {
    color: #6B7280;
    font-size: 13px;
}

/* Company Logos Section */
.hero-companies-new {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;   /* small gap under stats line */
    margin-bottom: 40px; /* increased gap above search to prevent overlap */
    align-items: center;
}

.hero-company-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    height: 50px;
}

.hero-company-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.company-logo-img {
    max-height: 30px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Icon fallback styling for logos */
.company-logo-icon {
    font-size: 28px;
    line-height: 1;
}

/* Icon logo image styling */
.company-logo-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.hero-company-logo[title="Amazon"] .company-logo-icon {
    color: #FF9900;
}

.hero-company-logo[title="Apple"] .company-logo-icon {
    color: #000000;
}

/* Company-specific hover colors */
.hero-company-logo[title="Google"]:hover {
    border-color: #4285F4;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.2);
}

.hero-company-logo[title="Microsoft"]:hover {
    border-color: #00A4EF;
    box-shadow: 0 8px 20px rgba(0, 164, 239, 0.2);
}

.hero-company-logo[title="Amazon"]:hover {
    border-color: #FF9900;
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.2);
}

.hero-company-logo[title="Apple"]:hover {
    border-color: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Search Bar Section */
.hero-search-section-new {
    position: relative;
    z-index: 3;
    padding-bottom: 20px;
    top: -40px;
}

.hero-search-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-search-form {
    width: 100%;
}

.hero-search-input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.hero-search-icon-input {
    color: #6B7280;
    font-size: 18px;
    padding: 0 16px;
    flex-shrink: 0;
}

.hero-search-input-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 15px;
    color: #1F2937;
    background: transparent;
}

.hero-search-input-field::placeholder {
    color: #9CA3AF;
}

.hero-search-btn-submit {
    background: #2563EB;
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    border-radius: 0 8px 8px 0;
}

.hero-search-btn-submit:hover {
    background: #1D4ED8;
}

.hero-search-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-filter-dropdown {
    position: relative;
    flex: 1;
    min-width: 150px;
}

.hero-filter-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #1F2937;
    width: 100%;
}

.hero-filter-button:hover {
    border-color: #2563EB;
    background: #F9FAFB;
}

.hero-filter-icon {
    color: #6B7280;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-filter-arrow {
    color: #9CA3AF;
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s;
}

.hero-filter-button[aria-expanded="true"] .hero-filter-arrow {
    transform: rotate(180deg);
}

.hero-filter-menu {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    margin-top: 4px;
}

.hero-filter-menu .dropdown-item {
    padding: 12px 16px;
    font-size: 15px;
    color: #374151;
    transition: background 0.2s;
}

.hero-filter-menu .dropdown-item:hover {
    background: #F3F4F6;
    color: #1F2937;
}

/* Responsive adjustments for new hero */
@media (max-width: 992px) {
    .hero-section-new {
        min-height: calc(65vh - 75px);
        max-height: calc(65vh - 75px);
        padding: 48px 0 88px;
        margin-bottom: -16px;
    }
    
    .hero-title-new {
        font-size: 2.25rem;
    }
    
    .hero-search-section-new {
        margin-top: 8px;
        padding-top: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section-new {
        min-height: calc(60vh - 75px);
        max-height: calc(60vh - 75px);
        padding: 36px 0 76px;
        margin-bottom: -12px;
    }
    
    .hero-title-new {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }
    
    .hero-badge-new {
        font-size: 10px;
        margin-bottom: 10px;
    }
    
    .hero-description-new {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .hero-search-card {
        padding: 14px;
        gap: 10px;
    }
    
    .hero-search-section-new {
        margin-top: 6px;
        padding-top: 12px;
        padding-bottom: 15px;
    }
    
    .hero-search-input-group {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .hero-search-icon-input {
        display: none;
    }
    
    .hero-search-input-field {
        padding: 10px 14px;
        border-bottom: 1px solid #E5E7EB;
        font-size: 14px;
    }
    
    .hero-search-btn-submit {
        width: 100%;
        border-radius: 0 0 8px 8px;
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .hero-search-filters {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-filter-dropdown {
        width: 100%;
    }
    
    .hero-filter-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .keyword-tag-new {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .hero-keywords-new {
        gap: 8px;
        margin-top: 12px;
    }
}

/* How It Works Section - Minimalist Card Design */
.how-it-works-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.how-it-works-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
}

.how-it-works-icon-container {
    width: 48px;
    height: 48px;
    background-color: #E0E7FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-it-works-icon {
    color: #6366F1;
    font-size: 20px;
}

.how-it-works-title {
    font-weight: 600;
    font-size: 18px;
    color: #1F2937;
    margin: 0;
    flex: 1;
}

.how-it-works-text {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 0;
}

.how-it-works-card .form-control {
    border-radius: 12px;
}

.how-it-works-card .btn-primary {
    border-radius: 12px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Blinking indicator for Hiring ASAP section */
.blinking-indicator {
    animation: blink 1.5s infinite;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.6);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.85);
    }
}

/* Trusted People Carousel */
.trusted-people-carousel {
    margin-top: 20px;
}

.trusted-person-item {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 18px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trusted-person-name {
    margin-bottom: 4px;
}

.trusted-person-role {
    margin-top: 0;
}