.keep-card {
    align-items: flex-start;
    margin-top: 4% !important;
    min-height: max-content;
}

.keep-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    /* font-family: arial; */
}

.newjob-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 10%;
}

.happyhire-cards {
    border-radius: 10px;
    padding: 20px;
    width: 31%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    background-color: white;
    transition: all 0.3s ease;
}

.happyhire-cards:hover {
    background-color: #272c37;
    ;
    color: white;
}

.jobcard-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cards-container {
    max-width: 95% !important;
    margin: 0 auto;
}

.two-line-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: poppins;
}

.jobcard-header .company-logo {
    width: 70px;
    height: 70px;
    background: #eaeef1;
    /* padding: 10px; */
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eaeef100;
}

.job-title p {
    margin-bottom: 0px;
    font-size: 13px;
    font-weight: 500;
    color: #5f5f5f;
}

.job-title h2 {
    font-size: 17px;
}

.jobcard-details {
    display: flex;
    justify-content: space-between;
}

.jobcard-location,
.types,
.exp {
    display: flex;
    gap: 5px;
    align-items: center;
}

.jobcard-location p,
.types p,
.exp p {
    margin-bottom: 0px;
    font-size: 13px;
    font-weight: 400;
    font-family: poppins;
}

.job-location {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgb(255 194 102 /78%) 100%);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.job-type {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgb(12 129 96 /80%) 100%);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.job-exp {
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgb(185 51 86 /79%) 100%);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.salary p {
    margin-bottom: 0px;
    font-size: 12px;
    font-family: poppins;
    font-weight: 400;
}

.jobcard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.types i,
.exp i,
.jobcard-location i {
    font-size: 12px;
}

.happyhire-cards:hover .job-title p,
.happyhire-cards:hover .job-title h2,
happyhire-cards:hover .jobcard-location p,
.happyhire-cards:hover .types p,
happyhire-cards:hover .exp p,
.happyhire-cards:hover .salary p,
happyhire-cards:hover .two-line-text {
    color: #ffffff !important;
}

.happyhire-cards:hover .apply-btn button {
    background-color: white !important;
    border-bottom: 1px solid white !important;
    color: #272c37 !important;
    font-weight: 600 !important;
}

.apply-btn button {
    padding: 6px 20px !important;
    border: 1px solid #3a4252;
    background: #3a4252;
    color: white;
    border-radius: 0px;
    width: max-content !important;
    height: fit-content;
    font-weight: 400;
}

.apply-btn {
    margin: 10px auto;
}

.salary {
    width: 50%;
}

.apply-btn {
    width: 25%;
}

.fa-location-dot {
    margin: 0px !important;
}

@media (max-width:1280px) and (min-width:993px) {
    .apply-btn {
        width: 56%;
    }

    .newjob-cards {
        gap: 10px;
    }

    .happyhire-cards {
        width: 32%;
        padding: 15px;
    }

    .job-title p {
        font-size: 12px;
    }

    .job-title h2 {
        font-size: 15px;
    }

    .apply-btn button {
        margin: 0;
    }

    .apply-btn {
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        margin: 0px auto;
    }

    .jobcard-location p,
    .types p,
    .exp p {
        font-size: 11px;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .happyhire-cards {
        width: 48%;
    }

    .newjob-cards {
        gap: 1rem;
    }

    .salary p {
        font-size: 11px;
    }

    .jobcard-header .company-logo {
        width: 60px;
        height: 60px;
    }

    .apply-btn {
        width: 45%;
        display: flex;
        margin: 0px !important;
        justify-content: end;
    }

    .mb-4 {
        margin-top: 15%;
    }

    .jobcard-footer {
        margin-top: 10px;
    }

    .two-line-text {
        font-size: 12px;
    }

    .happyheaders {
        width: 98%;
    }

    .happylogos {
        width: 13%;
    }

    .linksicon {
        width: 90%;
        padding-right: 0px;
    }

    .keep-card {
        margin-top: 12%;
        min-height: max-content;
    }

    .keep-card h2 {
        margin-bottom: 4% !important;
    }

    .linksicon ul a li {
        padding: 0.5rem 10px;
    }
}

@media (min-width:520px) and (max-width:767px) {
    .happyhire-cards {
        width: 100%;
    }

    .salary p {
        font-size: 11px;
    }

    .jobcard-header .company-logo {
        width: 60px;
        height: 60px;
    }

    .apply-btn {
        width: 41%;
        display: flex;
        margin: 0px !important;
        justify-content: end;
    }

    .mb-4 {
        margin-top: 15%;
    }

    .jobcard-footer {
        margin-top: 10px;
    }

    .two-line-text {
        font-size: 12px;
    }
}

@media (min-width:320px) and (max-width:520px) {

    .happyhire-cards {
        width: 100%;
        padding: 10px;
    }

    .job-title p {
        font-size: 12px;
    }

    .job-title h2 {
        font-size: 14px;
    }

    .jobcard-location p,
    .types p,
    .exp p {
        font-size: 11px;
    }

    .apply-btn {
        width: 41%;
        display: flex;
        margin: 0px !important;
        justify-content: end;
    }

    .salary-p {
        font-size: 16px !important;
    }

    .salary p {
        font-size: 11px;
    }

    .jobcard-header .company-logo {
        width: 60px;
        height: 60px;
    }

    .mb-4 {
        margin-top: 15%;
    }

    .jobcard-footer {
        margin-top: 10px;
    }

    .two-line-text {
        font-size: 12px;
    }
}

body {
    background-color: #f4f8fb;
}

.happyheaders {
    width: 95%;
    margin: 0 auto;
    margin-top: 1%;
    border-radius: 50px;
    padding-top: 1rem !important;
    transition: 0.2s all ease-in-out;
}

.section-header {
    width: 100%;
    margin: 0 auto;
    height: 100vh;
    background-color: #faf8f9;
    margin-top: 0%;
    /* background: url('assets/images/New_images/slider-2-C6otvkOs.jpg'); */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clients-logo img {
    width: 60px;
    object-fit: cover;
    height: 60px;
    border-radius: 50%;
}

.clients-logo {
    position: relative;
    width: 320px;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.search-section {
    width: 50%;
    padding: 0px 20px;
    margin-left: 4%;
    margin-top: 7%;
}

.search-bar {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.seach-btn button {
    width: 100px;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FF8a00;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
}

.search-bar input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: 1px solid #ccc;
}

.search-bar input:focus {
    outline: none;
    border-color: #d2d2d2;
    box-shadow: 0 0 5px #c9c9c9;
}

.search-section h3 {
    font-size: 2.75rem;
}

.shadowmerge {
    box-shadow: 0 0 2px 2px #b9c2d7;
    width: 100% !important;
    border-radius: 0 !important;
    margin-top: 0% !important;
}

.cards-header1 {
    width: 20%;
}

.filter-options input {
    width: 25px;
}

.filter-button {
    font-weight: 500;
    font-size: 0.8rem;
    width: 8.625rem;
    padding: 5px 20px;
    border: 1px solid transparent;
    background: #171524;
    color: white;
    border-radius: 40px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.filter-button:hover {
    color: #171524;
    font-weight: 600;
    background-color: white;
}

.filter-button:hover i {
    color: #171524 !important;
}

.col-xl-6 {
    width: 100%;
}

.box-filters-job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px 40px 0px !important;
}

.job-filters {
    position: relative;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.filter-section {
    position: absolute;
}

.filter-section {
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: none;
    z-index: 100;
    max-height: 500px;
    overflow-y: scroll;
}

.filter-section.active {
    display: block;
}

.filter-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.filter-title {
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.filter-options {
    display: none;
    margin-top: 8px;
}

.filter-options input {
    padding: 10px;
    -webkit-appearance: checkbox !important;
}

.filter-options label {
    display: flex;
    font-size: 13px;
    margin-bottom: 5px;
    justify-content: space-between;
    flex-direction: row-reverse;
}

/* Active class */
.filter-item.active .filter-options {
    display: block;
}

.filter-apply {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.filter-apply button {
    font-weight: 500;
    font-size: 0.7rem;
    width: 4.625rem;
    padding: 5px 20px;
    border: 1px solid transparent;
    background: #171524;
    color: white;
    border-radius: 10px;
}

.filter-section {
    display: none;
}

.filter-section.active {
    display: block;
}

.filter-options {
    display: none;
}

.filter-item.active .filter-options {
    display: block;
}

.filter-title {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    cursor: pointer;
    /* font-weight: 600; */
    color: #222222;
}

.location-input {
    margin-bottom: 10px;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 5px 10px !important;
    height: 35px !important;
    border: none !important;
    border-bottom: 1px solid black !important;
    border-radius: 0 !important;
}

.location-input {
    width: 100% !important;
    /* padding: 8px 10px;
                                                                                                                                                                                                    border-radius: 6px;
                                                                                                                                                                                                    border: 1px solid #ccc; */
    outline: none;
    transition: all 0.3s ease;
}

/* Glow while typing */
.location-input.searching {
    border-color: #1b406c;
    box-shadow: 0 0 8px rgba(27, 64, 108, 0.3);
}

/* Loader */
.search-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-top: 2px solid #1b406c;
    border-radius: 50%;
    margin-top: 5px;
    display: none;
    animation: spin 0.6s linear infinite;
}

.search-loader.active {
    display: inline-block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.default-filter {
    width: 100%;
    display: flex;
    gap: 10px
}

.default-filter button {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 60px;
    font-size: 13px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 16%;
    font-family: 'Urbanist';
    font-weight: 500;
}

.mt-30 {
    margin-top: 0% !important;
}

.default-filter button:hover {
    background: #171524;
    color: white;
}

.default-filter button.active {
    background: #171524;
    color: white;
    font-family: poppins;
    font-weight: 400;
    font-size: 12px;
    width: max-content;
}

.default-filter button.active:hover {
    background: #000000;
    color: white;
    border: 1px solid #000000;
}

.default-filter button.active .active-p {
    margin: 0;
}

.filter-button p {
    margin: 0;
}

.default-filter button {
    display: flex;
    align-items: center;
    /* gap: 8px; */
    justify-content: space-between;
    padding: 6px 12px;
    border-radius: 20px;
    /* border: 1px solid #ff7a00; */
    background: #fff5ef;
    color: #ff7a00;
    font-size: 14px;
    cursor: pointer;
}

.keep-card {
    margin-top: 3% !important;
}

.default-filter button .remove-filter {
    font-size: 20px;
    cursor: pointer;
    background: #000000;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-header {
    margin-left: 20px;
    display: flex;
    gap: 5%;
    align-items: center;
    width: 90%;
}

.cards-header2 {
    width: 80%;
}

.salary-p {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #323232 !important;
}

.client-text {
    margin: 0;
    color: rgb(0, 0, 0);
    margin-right: -40px;
    font-family: 'Philosopher', cursive;
}

@media (min-width:992px) and (max-width:1280px) {
    .search-section h3 {
        font-size: 1.75rem;
    }

    .cxo-cfo-jobs-section {
        width: 95%;
        margin: 0 auto;
    }

    .default-filter button.active .active-p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 50px;
    }

    .default-filter button.active p {
        margin: 0;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .salary-p {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    /* .apply-btn {
                                                                                                                                                                                                        margin: 10px auto !important;
                                                                                                                                                                                                    } */
    .landing-section {
        margin-top: 0%;
    }

    .section-header {
        flex-direction: column;
    }

    .search-section {
        width: 93%;
        margin-left: 0%;
        margin-top: 20%;
    }

    .seach-btn button {
        width: 50px;
    }

    .search-section h3 {
        font-size: 1.75rem;
    }

    .section-header {
        height: 90vh;
        background-position: bottom;
    }

    nav .links {
        background: none;
        background-color: rgb(255 255 255);
    }

    .filter-options input {
        width: 6% !important;
    }

    .filter-header h3 {
        font-size: 1.1rem;
    }

    .filter-title {
        color: #242424;
        font-weight: 400;
    }

    .filter-button {
        width: 3.625rem;
        padding: 5px 0px;
    }

    .filter-button p {
        display: none;
    }

    .cards-header {
        margin-left: 0px;
        /* flex-direction: column; */
        flex-wrap: wrap;
        align-items: self-start;
        gap: 11%;
    }

    .cards-header2 {
        width: 100%;
    }

    .cards-header1 {
        width: 70%;
    }

    .cards-header1 p {
        margin-bottom: 10px !important;
    }

    .default-filter {
        gap: 1px;
        flex-wrap: wrap;
    }

    .default-filter button.active .active-p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 50px;
    }

    .default-filter button.active p {
        margin: 0;
    }

    .job-filters {
        align-items: flex-start;
    }

    .happyheaders {
        width: 90%;
    }

    .happylogos {
        width: 13%;
    }

    .linksicon {
        width: 90%;
        padding-right: 0px;
    }

    .linksicon ul a li {
        padding: 0.5rem 10px;
    }
}

@media (min-width:520px) and (max-width:767px) {
    .section-header {
        flex-direction: column;
        justify-content: center;
        background: url(https://img.freepik.com/premium-photo/white-background-photo-white-color-paper-texture-plain-white-canvas-paper-background-white-image_994023-83201.jpg?uid=R186345876&ga=GA1.1.219329638.1739767594&w=740&q=80);
    }

    .salary-p {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .landing-section {
        margin-top: -7%;
    }

    .section-header {
        flex-direction: column;
    }

    .search-section {
        width: 100%;
    }

    .seach-btn button {
        width: 50px;
    }

    .search-section h3 {
        font-size: 1.75rem;
    }

    .section-header {
        height: 80vh;
        background-position: bottom;
    }

    .search-section {
        margin-top: 11%;
    }

    nav .links {
        background: none;
        background-color: rgb(255 255 255);
    }

    .filter-options input {
        width: 6% !important;
    }

    .filter-header h3 {
        font-size: 1.1rem;
    }

    .filter-title {
        color: #242424;
        font-weight: 400;
    }

    .filter-button {
        width: 3.625rem;
        padding: 5px 0px;
    }

    .filter-button p {
        display: none;
    }

    .cards-header {
        margin-left: 0px;
        flex-wrap: wrap;
        align-items: self-start;
        gap: 11%;
    }

    .cards-header2 {
        width: 100%;
    }

    .cards-header1 {
        width: 70%;
    }

    .cards-header1 p {
        margin-bottom: 10px !important;
    }

    .default-filter {
        gap: 1px;
        flex-wrap: wrap;
    }

    .default-filter button.active .active-p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 50px;
    }

    .default-filter button.active p {
        margin: 0;
    }

    .job-filters {
        align-items: flex-start;
    }
}

@media (min-width:320px) and (max-width:520px) {
    .client-text {
        display: none;
    }

    .salary-p {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .landing-section {
        margin-top: -7%;
    }

    .section-header {
        flex-direction: column;
        justify-content: center;
        background: url(https://img.freepik.com/premium-photo/white-background-photo-white-color-paper-texture-plain-white-canvas-paper-background-white-image_994023-83201.jpg?uid=R186345876&ga=GA1.1.219329638.1739767594&w=740&q=80);
    }

    .search-section {
        width: 100%;
    }

    .seach-btn button {
        width: 50px;
    }

    .search-section h3 {
        font-size: 1.75rem;
    }

    .section-header {
        height: 80vh;
        background-position: top;
    }

    .search-section {
        margin-top: 11%;
    }

    nav .links {
        background: none;
        background-color: rgb(255 255 255);
    }

    .filter-options input {
        width: 6% !important;
    }

    .filter-header h3 {
        font-size: 1.1rem;
    }

    .filter-title {
        color: #242424;
        font-weight: 400;
    }

    .filter-button {
        width: 3.625rem;
        padding: 5px 0px;
    }

    .filter-button p {
        display: none;
    }

    .cards-header {
        margin-left: 0px;
        /* flex-direction: column; */
        flex-wrap: wrap;
        align-items: self-start;
        gap: 11%;
    }

    .cards-header2 {
        width: 100%;
    }

    .cards-header1 {
        width: 100%;
        text-align: center;
    }

    .cards-header1 p {
        margin-bottom: 10px !important;
    }

    .default-filter {
        gap: 1px;
        flex-wrap: wrap;
    }

    .default-filter button.active .active-p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 50px;
    }

    .default-filter button.active p {
        margin: 0;
    }

    .job-filters {
        align-items: flex-start;
    }
}