.home-page {
    overflow-x: hidden;
    max-width: 100%;
}

.home-banner {
    position: relative;
    height: 470px;
    border-radius: 20px;
    overflow: hidden;
}

.banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: clamp(28px, 4vw, 48px);
}

.banner-content p {
    font-size: 16px;
    opacity: 0.95;
}

.home-carousel-wrap {
    position: relative;
}


#home-carousel .owl-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.benefit-title {
    font-weight: 800;
    line-height: 1.3;
}

.benefit-title .text-primary {
    color: #7c3aed;
}

.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #ede9fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
}

.benefit-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.benefit-image-wrapper img {
    border-radius: 24px;

    min-height: 600px;
    object-fit: cover;
}


/* Logo đối tác */
.partner-logos {
    border: 1px solid #CACED9;
    border-radius: 8px;
    padding: 16px;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}



.partner-logo:hover {
    cursor: pointer;
    opacity: 1;
    transform: translateY(-2px);
}


/* Blog */
.blog-card .summary-limit {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
}

.card {
    border-color: #CACED9 !important;
}

.card .badge {
    font-size: .75rem;
}

.blog-card {
    width: min(400px, 100%);
    min-height: 481px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.blog-card img {
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.blog-card .card-img-top {
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

.cus-img-blog {
    padding: 8px;
}

.blog-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .summary-limit {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.5;
    max-height: calc(1.3em * 3);
}


.course-card {
    width: min(400px, 100%);
    /* height: 481px !important; */
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.course-card img {
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
}

.cus-img-course {
    padding: 8px;
}

.course-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card .title-course-limit {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    line-height: 1.5;
    max-height: calc(1.5em * 2);
    min-height: calc(1.5em * 2);
}

/* CTA */
.cta-container {
    background-color: #3949AB;
    color: #ffffff;
    border-radius: 16px;
}

/* Tiêu đề */
.cta-title {
    max-width: 680px;
}

.cta-buttons {
    width: 100%;
    margin-left: 0 !important;
}



/* Employee Highlight */
.peek-slider {
    overflow: hidden;
}

.slider-inner {
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    gap: 30px;
}

.recruiter-card {
    width: calc(100% - 150px - 30px);
    max-width: 1100px;
    flex-shrink: 0;
    border-radius: 24px;
    border: 1px solid #CACED9;
}

.recruiter-avatar {
    width: 400px !important;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.slider-controls {
    justify-content: flex-start;
}

.slider-btn {
    position: unset;
    width: 45px;
    height: 45px;
    border: 1px solid #f44336;
    color: #f44336 !important;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    top: unset;
    transform: unset;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.25) !important;
}

.dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #f8b8a3;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.dots .dot.active {
    background: #f44336;
    transform: scale(1.2);
}


/* FAQ */

.faq-title-v4 {
    color: #4b6cb7;
}

.faq-button {
    background: #fff !important;
    color: #101116 !important;
    padding: 1.2rem 1rem;
    font-weight: 700;
    font-size: 24px;
    border: none;
    box-shadow: none !important;
}

.accordion-body {
    color: #4B4F5C;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}



/* FeedBack */
.rating-emoji-wrap {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    justify-content: flex-end;
}

.rating-emoji-option {
    cursor: pointer;
    text-align: center;
    width: 144px;
    height: 173px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}

.rating-emoji-option img {
    width: 128px;
    height: 128px;
    opacity: 0.6;
    transition: .2s ease;
}

.rating-emoji-option.active img,
.rating-emoji-option:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.rating-label {
    font-size: 14px;
    margin-top: 6px;
    display: block;
    text-align: center;
    font-weight: 500;
}

.set-color-feedback {
    color: #3F51B5;
}

/* GUIDE */
.step-number {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
}

.posting-guide-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.cus-img-guide img {
    border-radius: 24px;
}

.bg-custom {
    background-color: #EDEFF9;
    color: #3949AB;
}


/* Job auto */
.cus-button-job {
    width: 121px;
}

.job-card-v1 {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s;
    border-radius: 16px;
    min-height: 481px;
}

/* Fixed width only inside owl carousel */
.owl-carousel .job-card-v1 {
    max-width: none !important;
    flex: 0 0 min(400px, calc(100% - 40px)) !important;
}

.job-card-v1:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

.job-card-img-v1 {
    height: 250px;
    border-radius: 16px;
    object-fit: cover;
}

.badge-tag-primary {
    background-color: #4CAF50 !important;
    color: #fff !important;
    font-size: 0.75rem;
}

.badge-tag-secondary {
    background-color: #f0f0f0 !important;
    color: #6c757d !important;
    font-size: 0.75rem;
}

.btn-custom-secondary-v1 {
    background-color: #ffeded !important;
    color: #ff5e5e !important;
    border: 1px solid #ff5e5e !important;
    padding: 0.5rem 1.2rem;
}

.btn-custom-secondary-v1:hover {
    background-color: #ff5e5e !important;
    color: #fff !important;
}

.job-summary-v1 {
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Product */
.job-info {
    display: flex;
    gap: 10px;
}

.job-info .info-box {
    flex: 1;
    min-width: 0;
}

.set-width-promo {
    width: 20px !important;
}

.product-latest-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 100px;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

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

.product-carousel .owl-nav i {
    font-size: 22px;
}

.product-location-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.set-salary-text {
    color: #FB471F;
}

.product-title-fixed-lines {
    min-height: calc(1em * 2);
    line-height: 1.5;
    display: -webkit- box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 1rem !important;
}

.product-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.product-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #FFEDE9 !important;
    border: 1px solid #FC8469;
    border-radius: 50%;
    display: block;
    opacity: .8;
}

.product-carousel .owl-dot.active span {
    background: #FC8469 !important;
    opacity: 1;
}

.product-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 100px;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-latest-carousel .owl-prev {
    left: 10px;
}

.product-latest-carousel .owl-next {
    right: 10px;
}

.product-latest-carousel .owl-nav i {
    font-size: 22px;
}

.product-location-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.set-salary-text {
    color: #FB471F;
}

.product-title-fixed-lines {
    min-height: calc(1em * 2);
    line-height: 1.5;
    display: -webkit- box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 1rem !important;
}

.product-latest-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.product-latest-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #FFEDE9 !important;
    border: 1px solid #FC8469;
    border-radius: 50%;
    display: block;
    opacity: .8;
}

.product-latest-carousel .owl-dot.active span {
    background: #FC8469 !important;
    opacity: 1;
}

/* Product Auto */

.prod-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: all .3s;
    border-radius: 16px;
    min-height: 481px;
}

/* Fixed width only inside owl carousel */
.owl-carousel .prod-card {
    max-width: none !important;
    flex: 0 0 min(400px, calc(100% - 40px)) !important;
}

.prod-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08) !important;
    transform: translateY(-5px);
}

.job-card-img-v1 {
    height: 250px;
    border-radius: 16px;
    object-fit: cover;
}

.badge-tag-primary {
    background: #4CAF50 !important;
    color: #fff !important;
    font-size: .75rem;
}

.badge-tag-secondary {
    background: #f0f0f0 !important;
    color: #6c757d !important;
    font-size: .75rem;
}

.btn-custom-secondary-v1 {
    background: #ffeded !important;
    color: #ff5e5e !important;
    border: 1px solid #ff5e5e !important;
    padding: .5rem 1.2rem;
}

.btn-custom-secondary-v1:hover {
    background: #ff5e5e !important;
    color: #fff !important;
}

.product-summary {
    line-height: 1.4;
    height: 5.2em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Product Latest */
.job-info {
    display: flex;
    gap: 10px;
}

.job-info .info-box {
    flex: 1;
    min-width: 0;
}

.set-width-promo {
    width: 20px !important;
}

.product-latest-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 100px;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-latest-carousel .owl-prev {
    left: 10px;
}

.product-latest-carousel .owl-next {
    right: 10px;
}

.product-latest-carousel .owl-nav i {
    font-size: 22px;
}

.product-location-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.set-salary-text {
    color: #FB471F;
}

.product-title-fixed-lines {
    min-height: calc(1em * 2);
    line-height: 1.5;
    display: -webkit- box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: 1rem !important;
}

.product-latest-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.product-latest-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #FFEDE9 !important;
    border: 1px solid #FC8469;
    border-radius: 50%;
    display: block;
    opacity: .8;
}

.product-latest-carousel .owl-dot.active span {
    background: #FC8469 !important;
    opacity: 1;
}

.faq-button::after {
    background-image: url("../../img/plus-symbol.svg") !important;
    background-size: 1rem;
}

.faq-button:not(.collapsed)::after {
    background-image: url("../../img/x-symbol.svg") !important;
    background-size: 1rem;
}

.accordion-button::after {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 32px !important;
    height: 32px !important;

    border: 2px solid #d0d7e2;
    border-radius: 50%;
    background-color: #fff !important;
    background-image: url("../../img/plus-symbol.svg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;

    content: "";
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../../img/x-symbol.svg") !important;
}

.clamp-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: calc(1.5em * 6);
}

.product-carousel-auto .owl-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.product-carousel-auto .owl-dot span {
    width: 10px;
    height: 10px;
    background: #FFEDE9 !important;
    border: 1px solid #FC8469;
    border-radius: 50%;
    display: block;
    opacity: .8;
}

.product-carousel-auto .owl-dot.active span {
    background: #FC8469 !important;
    opacity: 1;
}


/* Course */
.course-related-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 100px;
    border: 1px solid #ddd;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.course-related-carousel .owl-prev {
    left: -25px;
}

.course-related-carousel .owl-next {
    right: -20px;
}

.course-related-carousel .owl-nav i {
    font-size: 22px;
}

.course-related-carousel .owl-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.course-related-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    background: #FFEDE9 !important;
    border: 1px solid #FC8469;
    border-radius: 50%;
    display: block;
    opacity: .8;
}

.course-related-carousel .owl-dot.active span {
    background: #FC8469 !important;
    opacity: 1;
}

/* overlay */
.ajax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .6);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-wrap {
    background: #fff;
    padding: 14px 18px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

/* skeleton */
.skeleton-img {
    height: 200px;
    background: #e9ecef;
    animation: pulse 1.5s infinite;
}

.skeleton-line {
    height: 14px;
    background: #e9ecef;
    margin-bottom: 10px;
    border-radius: 6px;
    animation: pulse 1.5s infinite;
}

.skeleton-line.w-50 {
    width: 50%;
}

.skeleton-line.w-75 {
    width: 75%;
}

.skeleton-line.w-80 {
    width: 80%;
}

.skeleton-line.w-100 {
    width: 100%;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 576px) {

    /* CTA */
    .cta-title {
        text-align: center;
        font-size: 1.6rem;
    }

    .cta-buttons {
        align-items: center;
    }

    .custom-btn,
    .tertiary-btn-bg {
        width: 100%;
        text-align: center;
    }

    .tertiary-btn-bg::after {
        content: "";
        display: block;
        width: 60%;

    }

    /* Rating emoji */
    .rating-emoji-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }

    .rating-emoji-option {
        width: 100%;
        height: auto;
    }

    .rating-emoji-option img {
        width: 66px;
        height: 66px;
    }

    .rating-label {
        font-size: 12px;
    }

    /* Step */
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .benefit-image-wrapper img {
        border-radius: 24px;
        min-height: 400px;
        object-fit: cover;
    }

    .benefit-image-wrapper {
        margin: 0rem 0;
    }

    .blog-card {
        width: 100%;
        min-height: auto;
    }

    .course-card {
        width: 100%;
        min-height: auto;
    }

    .custom-btn-primary {
        width: 100%;
        width: auto;
        padding: 6px 10px;
        font-size: 10px;
        gap: 4px;
    }

    .custom-btn-primary img {
        width: 14px;
        height: auto;
    }

    .course-related-carousel .owl-nav button {
        display: none;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        flex: 0 0 auto;
    }
}

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


}

@media (min-width: 992px) {}

@media (max-width: 992px) {
    header .navbar .navbar-collapse .navbar-nav .nav-item {
        margin: 2px 8px;
    }

    .navbar-nav {
        flex: 0 0 auto;
    }

    /* Benefit */
    .benefit-title {
        font-size: 2rem;
    }

    .benefit-image-wrapper {
        margin: 1rem 0;
    }

    .order-1 {
        order: 1;
    }

    .order-2 {
        order: 2;
    }

    /* CTA */
    .cta-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
    }

    .cta-left {
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .cta-right {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .custom-btn-primary-bg {
        width: auto;
        min-width: 220px;
        justify-content: center;
    }

    .tertiary-btn-bg {
        font-size: 14px;
        padding: 4px 0;
    }



    .custom-btn,
    .tertiary-btn-bg {
        text-align: center;
    }

    /* Recruiter */
    .recruiter-card {
        width: calc(100% - 80px - 30px);
    }
}

@media (max-width: 1280px) {
    header .navbar .navbar-collapse .navbar-nav .nav-item {
        margin: 2px 8px;
    }

    .custom-btn-primary {
        width: 100%;
        padding: 10px 16px;
        border-radius: 999px;
        font-size: 9px;
        font-weight: 600;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-title {
        text-align: left;
    }

    .cta-buttons {
        width: 100%;
        margin-top: 10px;
        margin-left: 0 !important;
    }
}

@media (max-width: 1299px) {

    .rating-emoji-option {
        width: 105px;
        height: 140px;
    }

    .rating-emoji-option img {
        width: 55px;
        height: 55px;
    }

    .rating-label {
        font-size: 12px;
    }
}

.accordion-body.faq-body-v4.text-justify {

    text-align: justify;
}

/* ===== HOME HERO SECTION ===== */
.home-hero {
    padding: 8px 0;
}

.home-hero-inner {
    position: relative;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero background carousel */
.home-hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.home-hero-carousel .owl-stage-outer,
.home-hero-carousel .owl-stage,
.home-hero-carousel .owl-item {
    height: 100%;
}

.home-hero-slide {
    height: 100%;
    position: relative;
}

/* Banner text overlay */
.home-hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #fff;
}

.slide-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 20px;
    margin-bottom: 24px;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.slide-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #E8341A;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(232, 52, 26, 0.3);
}

.slide-btn:hover {
    background: #d62b12;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 52, 26, 0.4);
}

@media (max-width: 991px) {
    .slide-title {
        font-size: 32px;
    }

    .slide-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .slide-title {
        font-size: 26px;
    }

    .slide-subtitle {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .slide-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

.home-hero-carousel .owl-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
}

.home-hero-carousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.home-hero-carousel .owl-dot.active span {
    background: #fff !important;
    width: 24px;
    border-radius: 4px;
}

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

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 16px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.home-hero-title {
    color: #fff;
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 12px;
    line-height: 1.3;
}

.home-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Search tabs */
.home-hero-search {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 600px;
    margin: 0 auto 20px;
}

.home-hero-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.home-hero-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s ease;
    position: relative;
}

.home-hero-tab i {
    font-size: 16px;
}

.home-hero-tab:hover {
    color: #FB471F;
    background: #FFF5F3;
}

.home-hero-tab.active {
    color: #FB471F;
    font-weight: 600;
}

.home-hero-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: #FB471F;
    border-radius: 3px 3px 0 0;
}

/* Search form */
.home-hero-search-form {
    display: flex;
    align-items: center;
    padding: 8px;
}

.home-hero-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
}

.home-hero-search-input-wrap i {
    color: #9ca3af;
    font-size: 18px;
    flex-shrink: 0;
}

.home-hero-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    padding: 10px 0;
    color: #111;
    background: transparent;
}

.home-hero-search-input::placeholder {
    color: #9ca3af;
}

.home-hero-search-btn {
    flex-shrink: 0;
    background: #FB471F;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.home-hero-search-btn:hover {
    background: #e03a14;
}

/* Quick links */
.home-hero-quick-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.home-hero-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.home-hero-quick-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.home-hero-quick-link i {
    font-size: 14px;
}

/* Hero responsive */
@media (max-width: 576px) {
    .home-hero-inner {
        min-height: 360px;
        border-radius: 16px;
    }

    .home-hero-content {
        padding: 32px 12px;
    }

    .home-hero-tab span {
        display: none;
    }

    .home-hero-tab i {
        font-size: 20px;
    }

    .home-hero-tab {
        padding: 12px;
    }

    .home-hero-search-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .home-hero-quick-links {
        gap: 8px;
    }

    .home-hero-quick-link {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (min-width: 768px) {
    .home-hero {
        padding: 16px 0;
    }

    .home-hero-inner {
        min-height: 460px;
    }
}

@media (min-width: 1200px) {
    .home-hero-tab {
        font-size: 14px;
        padding: 14px 12px;
    }
}

/* ===== HOME CATEGORY GRID ===== */
/* ===== CATEGORY GRID ===== */
.home-catgrid-section {
    padding: 48px 0 32px;
    overflow: hidden;
}

.home-catgrid-title {
    font-size: clamp(22px, 3vw, 30px);
    margin-bottom: 8px;
    color: #111;
}

.home-catgrid-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 36px;
}

.home-catgrid-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-catgrid-row {
    background: linear-gradient(90deg, var(--cat-bg) 0%, #fff 50%);
    border: 1px solid #ebedf2;
    border-left: 4px solid var(--cat-color);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.home-catgrid-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--cat-bg) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.home-catgrid-row:hover::before {
    opacity: 1;
}

.home-catgrid-row:hover {
    border-color: var(--cat-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transform: translateX(4px);
}

.home-catgrid-row-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 160px;
    position: relative;
    z-index: 1;
}

.home-catgrid-row-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--cat-bg);
    color: var(--cat-color);
    transition: all 0.25s ease;
}

.home-catgrid-row:hover .home-catgrid-row-icon {
    background: var(--cat-color);
    color: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--cat-color) 30%, transparent);
}

.home-catgrid-row-icon i {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.home-catgrid-row:hover .home-catgrid-row-icon i {
    transform: scale(1.1);
}

.home-catgrid-row-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-catgrid-row-header:hover .home-catgrid-row-title {
    color: var(--cat-color);
}

.home-catgrid-row-arrow {
    font-size: 12px;
    color: #c5c8d0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-catgrid-row-header:hover .home-catgrid-row-arrow {
    transform: translateX(4px);
    color: var(--cat-color);
}

.home-catgrid-row-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.home-catgrid-pill {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 100px;
    background: #fff;
    border: 1.5px solid color-mix(in srgb, var(--cat-color) 20%, #e2e5f0);
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-catgrid-pill:hover {
    background: var(--cat-color);
    border-color: var(--cat-color);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px color-mix(in srgb, var(--cat-color) 25%, transparent);
}

/* Category grid responsive */
@media (max-width: 767px) {
    .home-catgrid-section {
        padding: 28px 0 16px;
    }

    .home-catgrid-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
        border-left-width: 3px;
    }

    .home-catgrid-row-header {
        min-width: unset;
    }

    .home-catgrid-row-items {
        gap: 6px;
    }

    .home-catgrid-pill {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ===== HOME STATS COUNTER ===== */
.home-stats-section {
    padding: 0 0 20px;
}

.home-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.home-stats-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1.5px solid #ebedf2;
    border-radius: 16px;
    padding: 20px 18px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.home-stats-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--stat-color, #3949AB), transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.home-stats-item:hover::after {
    opacity: 1;
}

.home-stats-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
    border-color: #d4d9ef;
}

.home-stats-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.home-stats-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    background: inherit;
    opacity: 0.15;
    z-index: 0;
}

.home-stats-icon i {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.home-stats-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-stats-value {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.home-stats-label {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stats responsive */
@media (max-width: 575px) {
    .home-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .home-stats-item {
        padding: 14px 12px;
        gap: 10px;
    }

    .home-stats-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .home-stats-icon i {
        font-size: 18px;
    }

    .home-stats-value {
        font-size: 20px;
    }

    .home-stats-label {
        font-size: 11px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .home-stats-bar {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .home-stats-item {
        padding: 14px 12px;
        gap: 10px;
    }

    .home-stats-value {
        font-size: 20px;
    }
}

/* ===== HOME SECTION WRAPPERS ===== */
.home-section-inner {
    border-radius: 24px;
    padding: 4px 0 16px;
    overflow: hidden;
}

.home-section-inner .job_grid {
    padding: 0 20px 8px;
}

.home-section-inner .cm-posts-section {
    padding: 0;
    max-width: none;
}

.home-section-inner .cm-posts-grid {
    padding: 0 1rem 1rem;
}

@media (min-width: 768px) {
    .home-section-inner .cm-posts-grid {
        padding: 0 1.5rem 1rem;
    }
}

.home-section-blue {
    background-color: #EDEFF9;
}

.home-section-warm {
    background-color: #FFEDE9;
}

.home-section-indigo {
    background-color: #E8EAF6;
}

.home-section-amber {
    background-color: #FFF3E0;
}

.home-section-teal {
    background-color: #E0F2F1;
}

.home-section-green {
    background-color: #E8F5E9;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 12px;
}

.home-section-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-section-icon {
    font-size: 22px;
}

.home-section-title {
    font-size: 20px;
    margin: 0;
    color: #111;
}

.home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #FB471F;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(251, 71, 31, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-section-link:hover {
    background: rgba(251, 71, 31, 0.15);
    color: #e03a14;
}

.home-section-link i {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.home-section-link:hover i {
    transform: translateX(3px);
}

/* Section responsive */
@media (max-width: 575px) {
    .home-section-header {
        padding: 16px 14px 8px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-section-title {
        font-size: 17px;
    }

    .home-section-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .home-section-icon {
        font-size: 18px;
    }
}

/* ===== HOME GUIDE (HOW IT WORKS) ===== */
.home-guide-section {
    padding: 40px 0;
}

.home-guide-heading {
    font-size: clamp(22px, 3vw, 28px);
    color: #111;
    margin-bottom: 40px;
}

.home-guide-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.home-guide-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.home-guide-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FB471F 0%, #FF7043 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    box-shadow: 0 6px 20px rgba(251, 71, 31, 0.25);
}

.home-guide-step-icon i {
    font-size: 28px;
    color: #fff;
}

.home-guide-step-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #3949AB;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.home-guide-connector {
    position: absolute;
    top: 36px;
    left: calc(50% + 44px);
    width: calc(100% - 88px);
    height: 2px;
    background: repeating-linear-gradient(90deg,
            #d1d5db 0,
            #d1d5db 6px,
            transparent 6px,
            transparent 12px);
    z-index: 0;
}

.home-guide-step-title {
    font-size: 16px;
    color: #111;
    margin-bottom: 8px;
}

.home-guide-step-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Guide responsive */
@media (max-width: 767px) {
    .home-guide-section {
        padding: 28px 0;
    }

    .home-guide-steps {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .home-guide-step {
        max-width: 100%;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
        padding: 0 8px;
    }

    .home-guide-step-icon {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
    }

    .home-guide-step-icon i {
        font-size: 20px;
    }

    .home-guide-step-num {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: -4px;
        right: -4px;
    }

    .home-guide-step-title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .home-guide-step-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    .home-guide-connector {
        display: none;
    }

    .home-guide-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* ===== HOME TRUST SECTION ===== */
.home-trust-section {
    padding: 40px 0;
    overflow: hidden;
}

.home-trust-heading {
    font-size: clamp(22px, 3vw, 28px);
    color: #111;
    margin-bottom: 8px;
}

.home-trust-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 36px;
}

.home-trust-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.home-trust-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-trust-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.home-trust-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.home-trust-card-icon i {
    font-size: 26px;
}

.home-trust-card-title {
    font-size: 16px;
    color: #111;
    margin-bottom: 10px;
}

.home-trust-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* Partner logos */
.home-trust-partners {
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
}

.home-trust-partners-label {
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.home-trust-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 16px 0;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.home-trust-marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.home-trust-marquee:hover .home-trust-marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.home-trust-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 160px;
    min-height: 80px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-trust-logo-box:hover {
    border-color: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.home-trust-logo {
    height: 56px;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(60%);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.home-trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Trust responsive */
@media (max-width: 767px) {
    .home-trust-section {
        padding: 28px 0;
    }

    .home-trust-cards {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
    }

    .home-trust-card {
        padding: 20px 16px;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
    }

    .home-trust-card-icon {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
    }

    .home-trust-marquee-track {
        gap: 24px;
        animation-duration: 18s;
    }

    .home-trust-logo-box {
        min-width: 120px;
        min-height: 60px;
        padding: 8px 16px;
    }

    .home-trust-logo {
        height: 40px;
        max-width: 110px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .home-trust-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== HOME ACCESSIBILITY & POLISH ===== */

/* Cursor pointer on all interactive home elements */
.home-hero-tab,
.home-hero-search-btn,
.home-hero-quick-link,
.home-catgrid-row-header,
.home-catgrid-pill,
.home-stats-item,
.home-trust-card,
.home-section-link,
.home-guide-step-icon {
    cursor: pointer;
}

/* Focus states for keyboard navigation */
.home-hero-tab:focus-visible,
.home-hero-search-btn:focus-visible,
.home-hero-search-input:focus-visible,
.home-hero-quick-link:focus-visible,
.home-catgrid-row-header:focus-visible,
.home-catgrid-pill:focus-visible,
.home-section-link:focus-visible {
    outline: 2px solid #FB471F;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Reduced motion: disable animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .home-hero-carousel .owl-stage {
        transition: none !important;
    }

    .home-stats-item,
    .home-trust-card,
    .home-catgrid-row,
    .home-catgrid-pill,
    .home-guide-step-icon,
    .home-trust-logo {
        transition: none !important;
    }

    .home-stats-item:hover,
    .home-trust-card:hover {
        transform: none !important;
    }

    .home-trust-marquee-track {
        animation: none !important;
    }
}

/* ===== HOME SEARCH ADVANCED ===== */

.home-search-section {
    margin-bottom: 1.5rem;
}

.home-search-bar {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eaf0;
}

/* Tabs */
.home-search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-search-tabs::-webkit-scrollbar {
    display: none;
}

.home-search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e4e6ef;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.home-search-tab:hover {
    background: #f5f6fa;
    border-color: #ccc;
}

.home-search-tab.active {
    background: #FFEDE9;
    color: #FB471F;
    border-color: #FB471F;
    font-weight: 600;
}

.home-search-tab i {
    font-size: 16px;
}

/* Input row */
.home-search-input-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.home-search-input-wrap {
    flex: 1;
    position: relative;
}

.home-search-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.home-search-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 42px;
    border: 1px solid #e4e6ef;
    border-radius: 12px;
    font-size: 15px;
    background: #f9fafb;
    transition: border-color 0.2s;
}

.home-search-input:focus {
    outline: none;
    border-color: #FB471F;
    background: #fff;
}

.home-search-input::placeholder {
    color: #aaa;
}

.home-search-region {
    width: 200px;
    flex-shrink: 0;
}

.home-search-region select,
.home-search-region .form-select {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1px solid #e4e6ef !important;
    background-color: #f9fafb !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.home-search-region .select2-container .select2-selection--single {
    height: 48px !important;
    border-radius: 12px !important;
    border: 1px solid #e4e6ef !important;
    background-color: #f9fafb !important;
    display: flex;
    align-items: center;
}

.home-search-region .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding-left: 12px;
    font-size: 14px;
}

.home-search-region .select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

.home-search-region select:focus,
.home-search-region .form-select:focus {
    outline: none;
    border-color: #FB471F !important;
    box-shadow: none !important;
}

/* Actions row */
.home-search-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.home-search-clear {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.home-search-clear:hover {
    color: #FB471F;
}

.home-search-actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-search-toggle {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.home-search-toggle:hover {
    color: #FB471F;
}

.home-search-submit {
    height: 48px;
    padding: 0 28px;
    background: #FB471F;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.home-search-submit:hover {
    background: #e03e18;
}

/* Filter expanded */
.home-search-filter {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.home-search-filter-title {
    text-transform: uppercase;
    color: #3949AB;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.home-search-filter-col {
    border-left: 1px solid #eee;
    padding-left: 1rem;
}

.home-search-filter-col:first-child {
    border-left: none;
    padding-left: 0;
}

/* Result tabs */
.home-search-result-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-search-result-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    margin-bottom: -2px;
}

.home-search-result-tab:hover {
    color: #333;
}

.home-search-result-tab.active {
    color: #FB471F;
    border-bottom-color: #FB471F;
    font-weight: 600;
}

.home-search-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #eee;
    color: #666;
}

.home-search-result-tab.active .home-search-badge {
    background: #FB471F;
    color: #fff;
}

/* Results container */
.home-search-results {
    min-height: 200px;
}

/* Responsive */
@media (max-width: 767px) {
    .home-search-input-row {
        flex-direction: column;
    }

    .home-search-region {
        width: 100%;
    }

    .home-search-filter .row>div {
        border-left: none;
        padding-left: 0;
        margin-bottom: 1rem;
    }

    .home-search-filter-col {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    .home-search-filter-col:first-child {
        border-top: none;
        padding-top: 0;
    }

    .home-search-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .home-search-actions-right {
        justify-content: space-between;
    }

    .home-search-result-tabs {
        scrollbar-width: none;
    }
}

@media (max-width: 575px) {
    .home-search-bar {
        padding: 1rem;
        border-radius: 12px;
    }

    .home-search-tab {
        padding: 6px 12px;
        font-size: 13px;
    }

    .home-search-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ===== MOBILE OVERFLOW SAFETY ===== */
@media (max-width: 767px) {

    .home-section-inner,
    .home-trust-section,
    .home-guide-section,
    .home-search-section {
        overflow: hidden;
    }

    .home-catgrid-row:hover {
        transform: none;
    }

    .owl-carousel .job-card-v1,
    .owl-carousel .prod-card {
        flex: 0 0 calc(100% - 48px) !important;
    }

    .job-auto-layout {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}