/* hero section start  */
.hero-section {
    background-image: url('/images/client/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 65px 0;
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(80, 149, 125, 0.85),
            rgba(48, 82, 86, 0.85));
    z-index: 1;
}

.hero-section>* {
    position: relative;
    z-index: 2;
}

.hero-left-text .hero-header {
    font-size: 3.4375rem;
    font-weight: 700;
}

.hero-left-text p {
    font-size: 1.5rem;
    font-weight: 400;
}

.register-btn {
    background: #EDA358;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-card {
    background-color: #1D4A50 !important;
    border-radius: 14px !important;
    height: 100%;
}

.hero-card-text {
    font-size: 0.855rem;
}

/* Hero Slider-2 */
.register-btn-slider{
    padding: 10px 20px;
}

/* Hero slider-4 */
/* .slider-4-text{
    padding-right:8rem;
} */


/* carousel start*/
#hero-carousel-indicators {
    margin-bottom: 4.5rem !important;
}

.carousel-indicators [data-bs-target] {
    background-color: #fff;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.5;

}

.carousel-indicators .active {
    opacity: 1;
    background-color: white;
}


/* Apply height ONLY to hero carousel */
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100vh;
}

.hero-carousel .carousel-item section.hero-section {
    height: 100%;
}

/* RESET other carousels (like career advice) */
.carousel:not(.hero-carousel) .carousel-item {
    height: auto !important;
}

/* Change dot size */


.carousel-indicators [data-bs-target] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    margin: 0 3px;
    transition: all 0.35s ease;
}

/* Active dot -- pill shape */
.carousel-indicators .active {
    width: 28px;
    height: 11px;
    border-radius: 20px;
    background-color: #FFFFFF;
}

/* card section - form style */
.form-control {
    padding: 0.4rem 2.75rem 0.4rem 0.75rem;
}



/* carousel end*/
@media (max-width: 576px) {
    .hero-left-text {
        text-align: center !important;
        padding-bottom: 30px !important;
    }

    .hero-text{
        padding-bottom: 40px !important;
    }

    .hero-left-text .hero-header {
        font-size: 2.25rem;
        line-height: 1.3;
    }

    .hero-left-text p {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .register-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-card-parent {
        padding-top: 10px !important;
    }

    .hero-card {
        padding: 8px !important;
    }

    .hero-card-text {
        font-size: 0.75rem;
    }

    .hero-card-parent {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }


}

/* VERY SMALL MOBILES (400px and below) */
@media (max-width: 400px) {

    .hero-left-text .hero-header {
        font-size: 2.20rem;
    }

    .hero-left-text p {
        font-size: 0.975rem;
    }

    .hero-card {
        padding: 7px !important;
    }

    .hero-card-text {
        font-size: 0.7rem;
    }


    /* Force proper stacking without card stretching */
    .hero-card-parent {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding-top: 8px !important;
    }

    @media (max-width: 375px) {
        .hero-section {
            padding-bottom: 0;
        }

        .navbar {
            padding: 17px 7px;
        }

        .hero-left-text .hero-header {
            font-size: 2rem;
            margin-bottom: 10px !important;
        }

        .hero-left-text p {
            font-size: 0.875rem;
            margin-bottom: 15px !important;
        }

        .hero-card {
            padding: 8px !important;
        }

        .hero-card-text {
            font-size: 0.7rem;
        }

        /* .register-btn {
            margin-bottom: -5px !important;
        } */

        #hero-carousel-indicators {
            margin-bottom: 1.3rem !important;
        }

    }
}

/* hero section close */

/* card section start  */
.card-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.card-text-section h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

.card-text-section p {
    font-size: 1.25rem;
    font-weight: 500;
}


.card-section .card {
    background-color: #509493;
    color: #FFFFFF;
    border-radius: 20px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    margin-top: 2.5rem;
}

.card .inner-card {
    background-color: #FEFFF6;
    padding: 15px 25px;
}

.card-custom-btn {
    background: #76C598;
    color: #fff;
    border: none;
    padding: 6px 22px;
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register-post-btn {
    background: #76C598;
    color: #fff;
    border: none;
    padding: 9px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.switcher {
    display: inline-flex;
    border: 1px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
}

.switch-btn {
    background: transparent;
    color: #fff;
    border: none;
    padding: 10px 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.switch-btn.active {
    background-color: #d8ebe8;
    color: #2a7b7b;
    border-radius: 10px;
}

.switch-btn:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.15);
}

#keywords:focus,
#city:focus,
#category:focus {
    box-shadow: none;
}

@media (max-width: 576px) {
    .card-text-section h1 {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .card-text-section p {
        font-size: 0.975rem;
        font-weight: 400;
    }

    .card .inner-card {
        background-color: #FEFFF6;
        padding: 15px 0;
    }

}

/* card section end  */

/* Mission Section Start  */
.mission-section {
    /* background-image: url('../images/one-globe-mission-bg.png'); */
    background-color: #1E4D50;
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
    color: #fff;
    position: relative;
    z-index: 1;
    padding: 4rem 10px;
    margin-top: 5rem;
}

.mission-heading {
    margin-bottom: 1.5rem;
    /* font-size: 2.3rem; */
    font-weight: 700;
}

.mission-text {
    font-weight: 400;
    font-size: 1.1rem;
    text-align: start;
}

.mission-image {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .mission-image {
        width: 80%;
        height: auto;
    }

    .card-custom-btn {
        padding: 6px 10px;
    }

    .form-control {
        padding: .375rem .75rem;
    }
}


@media (max-width: 567px) {
    .mission-heading {
        margin-bottom: 1.3rem;
        font-size: 1.75rem;
        font-weight: 700;
    }

    .mission-text {
        text-align: center;
        font-size: 1rem;
    }
}

/* Mission Section End  */

/* job Searching section Start  */

.job-searching-section {
    margin-top: 5rem;
}

.job-search-heading {
    font-weight: 700;
    font-size: 2.8125rem;
}

.job-searching-section .card {
    border-radius: 10px;
    border: 1px solid #000 !important;
    width: 100%;
    max-width: 20rem;
    margin: auto;
    max-height: 400px;
    height: 100%;
    overflow: hidden;
}

.job-searching-section .card-img-top {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    object-position: center;
}

.job-searching-section .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1D4A50;
}

.job-searching-section .card-text {
    color: #444;
    font-size: 1.1rem;
}

@media (max-width: 567px) {
    .job-search-heading {
        font-weight: 700;
        font-size: 1.5625rem;
    }
}


/* job Searching section End  */

/* recent jobs start  */
.recent-jobs {
    background-image: url('/images/client/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    /* FIXED */
    position: relative;
    padding-top: 3rem;
    padding-bottom: 5rem;
    /* spacing instead of forcing height */
    color: #fff;
    margin-top: 3rem;
}

.recent-jobs::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(80, 149, 125, 0.85),
            rgba(48, 82, 86, 0.85));
    z-index: 1;
}

.recent-jobs>* {
    position: relative;
    z-index: 2;
}

.recent-jobs-heading {
    font-weight: 700;
    font-size: 3rem;
}

.recent-jobs-card {
    border-radius: 12px;
}

.recent-jobs-card-title {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-left: .5rem;
}

.card-dates span {
    background-color: #D6DBD9;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
}

.job-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.job-details span {
    font-weight: 600;
    font-size: 1rem;
}

.job-details-btn {
    background: #76C598;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 567px) {
    .job-details {
        display: grid;
        justify-content: center;
        grid-template-columns: 2fr 2fr;
        align-items: center;
        margin: 0 auto;
        gap: 10px;
        margin-bottom: 0.5rem;
    }

    .job-details.mt-1:last-child {
        width: 100%;
        display: flex;
    }

    .job-details-btn {
        width: 100%;
    }

    .card-dates span {
        background-color: #D6DBD9;
        padding: 5px 15px;
        border-radius: 8px;
        font-size: 14px;
    }

    .card-dates span {
        background-color: #D6DBD9;
        padding: 4px 9px;
        border-radius: 7px;
        font-size: 13px;
    }

    .recent-jobs-heading {
        font-weight: 700;
        font-size: 1.5rem;
    }

    .job-details span {
        font-weight: 600;
        font-size: 14px;
    }

    .recent-jobs-card-title {
        font-weight: 400;
        font-size: 0.9375rem;
    }

}


/* recent jobs end  */


/* employers and recruiter start  */

.emp-recruiter-section {
    margin-top: 4rem;
}

.employers-recruiter-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

/* Card styling */
.emp-card {
    width: 100%;
    /* height: 320px; */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background-color: #12A8D01A;
}

.emp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Perfect crop */
    border-radius: 10px;
}

/* Text below each image */
.emp-text {
    text-align: start;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: 400;
}

@media (max-width: 567px) {
    .employers-recruiter-heading {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 30px;
    }

    .emp-text {
        text-align: start;
        margin-top: 10px;
        font-size: 1.1rem;
        font-weight: 400;
    }

}

/* employers and recruiter end  */

/* career-advice start  */
.career-advice {
    background-color: #D4E7E0;
    padding-bottom: 5rem;
    padding-top: 3rem;
    margin-top: 3rem;
}

.career-advice .carousel-item .slide {
    padding-bottom: 60px;
}

/* CARD BASE */

.career-advice-card {
    background-color: #1E4D50D9;
    border-radius: 16px;
    padding: 15px;
    max-width: 20rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.career-advice-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.career-advice-card .card-img-top {
    width: 100%;
    height: 160px;
    display: block;
    margin: 0 auto 15px auto;
    border-radius: 12px;
}

.career-advice-card .read-more-btn {
    background-color: #D4E7E0;
    color: #396365;
    border: none;
    padding: 8px 0;
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}

.career-advice-card .card-title {
    text-align: start !important;
    color: #ffffff;
    font-style: 1.375rem;
    font-weight: 500px;
}

.career-advice-card .card-text {
    text-align: start !important;
    color: #FFFFFFCC;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #1E4D50D9;
    padding: 24px 24px;
    border-radius: 24px;
    background-size: 60%;
}

.career-advice-heading {
    font-size: 3rem;
    font-weight: 700;
}

.career-advice-carousel {
    /* 1. Use a top margin to push the dots down. 
          Adjust '20px' to your preferred distance. */
    /* 2. Optional: You might want to remove the default 
          Bootstrap bottom margin, as it sometimes adds too much space below. */
    margin-bottom: -1rem
}

/* Default dots */
.carousel-indicators.career-advice-carousel [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #AFC9C5;
    opacity: 1;
    border: none;
    margin: 0px 3px;
    border: 1px solid #509493;
    transition: all 0.35s ease;

}

/* Active dot -- pill shape */
.carousel-indicators.career-advice-carousel .active {
    width: 28px;
    height: 12px;
    border-radius: 20px;
    background-color: #509493;
}

.career-advice #carouselExampleIndicators {
    padding: 30px 0px;
}

@media (max-width: 567px) {
    .career-advice-heading {
        font-size: 1.75rem;
        font-weight: 700;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: none;
    }
}

@media (max-width: 768px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        display: none;
    }

    .slider-4-img{
        width: 75% !important;
    }

}

@media (max-width:1400px) {
    .slider-4-text{
    padding-right:0;
}
}

/* i-pad peo style */
@media (min-width:1024px) and (max-width:1124px) {
    .career-advice-container {
        max-width: 730px !important;
    }

    #hero-carousel-indicators {
        margin-bottom: 5.5rem !important;
    }

    .mission-image {
        width: 70%;
    }

    .card-section .card{
        border-radius: 35px;
    }
    .job-searching-section .card, .emp-card, .career-advice-card {
        border-radius: 25px;
    }

    .career-advice-card .card-img-top, .recent-jobs-card{
        border-radius: 20px;
    }

    .hero-left-text .hero-header {
    font-size: 3.6rem;
    }

    .hero-left-text p {
    font-size: 2rem;
    }

    .register-btn{
        font-size: 1.6rem;
    }
}

/* career-advice end  */