@media only screen and (max-width: 1600px) and (min-width: 1300px) {

    

.banner-formmain {
   
    bottom:100px;
}

    .About-menu li a {
        font-size: 15px;
        padding: 12px 18px;

    }


}
/* @media only screen and (max-width: 1300px)  {
     .banner-formmain {
    bottom: 400px;
    }
} */
@media only screen and (max-width: 1299.98px) and (min-width: 1200px) {
    .corrp-sebox {

        padding: 20px 13px 5px;
    }

    .main-menu>ul>li {
        margin: 0 16px;
    }
}
@media (max-width: 1300px) and (min-width: 1200px) {

    .Blogg-secc {
        padding: 50px 0 25px;
    }

    /* Reduce space between cards */
    .Blogg-secc .row {
        row-gap: 35px;
    }

    /* Image height slightly smaller */
    .blog-new-card .blog-new-card-img img {
        height: 220px;
    }

    /* Title size adjustment */
    .blog-new-card .blog-new-card-title {
        font-size: 18px;
        min-height: 2.8em;
    }

    /* Text size */
    .blog-new-card p {
        font-size: 14px;
    }

    /* Box wrapper spacing */
    .blog-new-card .box-wrapp {
        gap: 10px;
    }

    /* Tags smaller */
    .blog-post__tags p {
        font-size: 13px;
        padding: 4px 8px;
    }

    /* If using style2 horizontal layout */
    .blog-new-card.style2 {
        gap: 40px;
    }
}
/* ===============================
   Small Laptop / Tablet (1200px → 992px)
================================= */
@media (max-width: 1199.98px) and (min-width: 992px) {

    .Blogg-secc {
        padding: 45px 0 20px;
    }

    /* Gap between blog cards */
    .Blogg-secc .row {
        row-gap: 30px;
    }

    /* Image height smaller */
    .blog-new-card .blog-new-card-img img {
        height: 200px;
    }

    /* Title */
    .blog-new-card .blog-new-card-title {
        font-size: 17px;
        min-height: 2.6em;
    }

    /* Paragraph */
    .blog-new-card p {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    /* Tags */
    .blog-post__tags p {
        font-size: 12px;
        padding: 4px 7px;
    }

    /* Date text */
    .blog-new-card .date {
        font-size: 13px;
    }

    /* Wrapper spacing */
    .blog-new-card .box-wrapp {
        gap: 8px;
    }

    /* Horizontal style cards */
    .blog-new-card.style2 {
        gap: 25px;
    }
}
@media only screen and (max-width: 1199.98px) and (min-width: 992px) {

    .corrp-sebox {

        padding: 20px 13px 5px;
    }

    .main-menu>ul>li {
        margin: 0 9px;
    }

    .book-n-btn {
        padding: 10px 26px;

        font-size: 15px
    }

    .main-menu a {

        font-size: 15px;

    }


    .header-logo img {
        height: 30px;

    }

    .sticky-wrapper.sticky .header-logo img {
        height: 30px;

    }

    .hero-style4 .hero-title {

        font-size: 42px;
    }

    img.bann-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
        min-height: 600px
    }

 

    .counter-card .box-number {

        font-size: 27px;
    }

    .counter-card .box-text {

        font-size: 18px;
    }

    .blog-card .box-img img {
        height: 300px;

    }

    .destimations-three .single-offer-thumb img {

        height: 205px;

    }

    .sec-title.style2 {

        font-size: 40px;
    }

    .th-btn {
        padding: 14px 28px;

    }

    .crr-btngroup {}

    .bbsbtn-grouup {}

    .follow-uu {
        font-size: 16px;

    }

    .footer-logo-gold img {
        height: 39px;
    }
}


@media only screen and (max-width: 991.98px) and (min-width: 768px) {


.foo
    .header-logo img {
        height: 35px;

    }

    .sticky-wrapper.sticky .header-logo img {
        height: 35px;

    }

    .header-logo {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-style4 .hero-title {

        font-size: 42px;
    }

    img.bann-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
        min-height: 600px
    }

    .counter-card .box-number {

        font-size: 27px;
    }

    .counter-card .box-text {

        font-size: 18px;
    }

    .blog-card .box-img img {
        height: 259px;

    }

    .destimations-three .single-offer-thumb img {

        height: 205px;

    }

    .sec-title.style2 {
        font-size: 38px;
    }

    .th-btn {
        padding: 14px 28px;

    }

    .crr-btngroup {}

    .bbsbtn-grouup {}

    .follow-uu {
        font-size: 16px;

    }

    .footer-logo-gold img {
        height: 39px;
    }

    .booo-auto {
        display: none !important
    }

    .counter-card .box-number span {
        font-size: 33px;
    }

    .counter-card .box-text {
        font-size: 16px;
    }

    .counter-card {
        padding: 20px 8px
    }

    .job-seekers-box {

        padding: 30px 15px;
    }

    .employers-box {
        padding: 30px 15px;
    }

    .job-seekers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;
    }

    .employers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;

    }

    .employers-box-i {

        width: 30px;
        height: 30px;

    }

    .job-seekers-box-i {

        width: 30px;
        height: 30px;
    }

    .job-oo1 {
        order: 1
    }

    .job-oo2 {
        order: 2
    }

    .jobbsed-img {
        margin-top: 20px
    }

    .ouu-box {

        padding: 20px 10px;
    }

    .ouu-box-content h3 {
        font-size: 20px;
    }

    .ss-bb-box-content {

        margin-bottom: 30px;
        padding-right: 0;
    }

    .testimonials-card__quote p {
        font-size: 17px;

    }

    .Succ-1 p {
        font-size: 18px;
        font-weight: 300;
    }

    .co-in-form {

        margin-top: 30px
    }

    .copyright-wrap .container>.row>.col-lg-auto {
        width: 100%;
        text-align: center
    }

    .ss-cjii {
        padding: 10px 0
    }

    .banner-anform .form-group input {
        height: 44px;

    }

    .banner-anform .th-btn {
        height: 44px;
    }

      .loasn-sebox {
        padding: 18px 18px 25px;
    }

    .loasn-sebox-icon img {
        height: 200px;
    }

    .loasn-sebox-content h3 {
        font-size: 19px;
    }

    .loasn-sebox-content ul {
        height: auto;
        max-height: 90px;
    }
}

@media only screen and (max-width: 767.98px) and (min-width: 576px) {

  .footer-social-links-gold {
           padding-top: 20px;
    }
    .header-logo img {
        height: 35px;

    }

    .sticky-wrapper.sticky .header-logo img {
        height: 35px;

    }

    .header-logo {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-style4 .hero-title {

        font-size: 35px;
    }

    img.bann-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
        min-height: 650px
    }

    .counter-card .box-number {

        font-size: 27px;
    }

    .counter-card .box-text {

        font-size: 18px;
    }

    .blog-card .box-img img {
        height: auto;

    }

    .destimations-three .single-offer-thumb img {

        height: 205px;

    }

    .sec-title.style2 {
        font-size: 33px;
    }

    .th-btn {
        padding: 14px 28px;

    }

    .crr-btngroup {}

    .bbsbtn-grouup {
        justify-content: center !important;
    }

    .follow-uu {
        font-size: 16px;

    }

    .footer-logo-gold img {
        height: 34px;
    }

    .booo-auto {
        display: none !important
    }

    .counter-card .box-number span {
        font-size: 33px;
    }

    .counter-card .box-text {
        font-size: 16px;
    }

    .counter-card {
        padding: 20px 8px
    }

    .job-seekers-box {

        padding: 30px 15px;
    }

    .employers-box {
        padding: 30px 15px;
    }

    .job-seekers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;
    }

    .employers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;

    }

    .employers-box-i {

        width: 30px;
        height: 30px;

    }

    .job-seekers-box-i {

        width: 30px;
        height: 30px;
    }

    .job-oo1 {
        order: 1
    }

    .job-oo2 {
        order: 2
    }

    .jobbsed-img {
        margin-top: 20px
    }

    .ouu-box {

        padding: 20px 10px;
    }

    .ouu-box-content h3 {
        font-size: 20px;
    }

    .ss-bb-box-content {

        margin-bottom: 30px;
        padding-right: 0;
    }

    .testimonials-card__quote p {
        font-size: 17px;

    }

    .Succ-1 p {
        font-size: 18px;
        font-weight: 300;
    }

    .co-in-form {

        margin-top: 30px
    }

    .copyright-wrap .container>.row>.col-lg-auto {
        width: 100%;
        text-align: center
    }

    .ss-cjii {
        padding: 10px 0
    }

    .hero-style4 .hero-title-span {

        font-size: 18px;

    }

    .banner-anform .form-group input {
        height: 44px;


    }

    .banner-anform .form-group i {

        top: 14px;
    }

    .banner-anform .th-btn {
        height: 44px;
        margin-top: 10px;
    }

    .widget-area {

        padding: 65px 0 0px;
    }

  
  .gallery-img img {
        height: 200px;
    }

    .gallery-btn {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
    }

    .gallery-card .gallery-title {
        font-size: 16px;
    }

    .gallery-card .gallery-tag {
        font-size: 14px;
    }
     .loasn-sebox {
        padding: 15px;
        margin-bottom: 25px;
    }

    .loasn-sebox-icon img {
        height: 180px;
    }

    .loasn-sebox-content h3 {
        font-size: 18px;
    }

    .loasn-sebox-content p {
        font-size: 14px;
    }

    .jo-readmore {
        font-size: 14px;
    }
    /* Responsive Fix: Stack on Mobile */
    @media (max-width: 991px) {
     

        .booking-form {
            border-radius: 20px;
            /* Rectangular-round for mobile */
            padding: 15px;
        }

        .booking-form .col-lg-4:nth-child(2) .form-group {
            border-left: none;
            border-top: 1px solid #eee;
            margin-top: 10px;
        }

        .message-btn {
            margin-top: 15px;
        }

    }


    .footer-widget {
        margin-bottom: 30px;
    }

    .foot-head-text {
        padding-bottom: 0;
    }
}



@media only screen and (max-width: 575.98px) {

.blog-card .box-img img {
      height: 180px;
}
    .footer-social-links-gold ul li a {
        width: 30px;
        height: 30px;
    }
  .footer-social-links-gold {
           padding-top: 20px;
    }
    .About-menu li a {

        display: block;
        padding: 12px 12px;
        width: 100%;
    }

    .About-menu li {
        display: block;
        margin: 0px 0px 6px;
        list-style: none;
        position: relative;
    }

    .corrp-sebox-content h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .ouu-box-img img {
        width: 56px;
        margin-bottom: 0;
        height: 53px;
    }

    .footer-social-links-gold ul {

        gap: 7px;

    }

    .foot-head-text {
        padding-bottom: 0;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .header-logo img {
        height: 35px;

    }

    .sticky-wrapper.sticky .header-logo img {
        height: 35px;

    }

    .header-logo {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .hero-style4 .hero-title {

        font-size: 30px;
    }

    .banner-anform .form-group input {
        margin-bottom: 5px;
    }

    img.bann-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
        min-height: 650px
    }

    .counter-card .box-number {

        font-size: 27px;
    }

    .counter-card .box-text {

        font-size: 18px;
    }

    .blog-new-card .blog-new-card-img img {
        height: 180px;
    }

    .blog-new-card .blog-new-card-title {
        font-size: 16px;
    }

    .blog-new-card .date {
        font-size: 13px;
    }

    .blog-post__tags p {
        font-size: 12px;
        padding: 4px 8px;
    }
    .gallery-img img {
        height: 230px;
    }

    .gallery-card .gallery-content {
        padding: 15px 8px;
    }

    .gallery-card .gallery-title {
        font-size: 15px;
    }

    .gallery-card .gallery-tag {
        font-size: 13px;
    } 
    .destimations-three .single-offer-thumb img {

        height: auto;

    }

    .sec-title.style2 {
        font-size: 30px;
    }

    .th-btn {
        padding: 14px 28px;

    }

    .crr-btngroup {
        gap: 8px;
    }

    .bbsbtn-grouup {
        justify-content: center !important;
        gap: 8px;
    }

    .bbsbtn-grouup .th-btn {
        padding: 14px 28px;
        font-size: 13px;
    }

    .hero-style4 .hero-style4-p p {
        font-size: 15px;
        line-height: 21px;
        color: #fff;
        text-shadow: 0px 5px 20px #040404;
    }

    .follow-uu {
        font-size: 16px;

    }

    .footer-logo-gold img {
        height: 34px;
    }

    .booo-auto {
        display: none !important
    }

    .counter-card .box-number span {
        font-size: 33px;
    }

    .counter-card .box-text {
        font-size: 16px;
    }

    .counter-card {
        padding: 20px 8px
    }

    .job-seekers-box {

        padding: 30px 15px;
    }

    .employers-box {
        padding: 30px 15px;
    }

    .job-seekers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;
    }

    .employers-box li {
        font-size: 15px;

        padding-left: 34px;

        padding-top: 1px;

    }

    .employers-box-i {

        width: 30px;
        height: 30px;

    }

    .job-seekers-box-i {

        width: 30px;
        height: 30px;
    }

    .job-oo1 {
        order: 1
    }

    .job-oo2 {
        order: 2
    }

    .jobbsed-img {
        margin-top: 20px
    }

    .ouu-box {

        padding: 20px 10px;
    }

    .ouu-box-content h3 {
        font-size: 20px;
    }

    .ss-bb-box-content {

        margin-bottom: 30px;
        padding-right: 0;
    }

    .testimonials-card__quote p {
        font-size: 17px;

    }

    .Succ-1 p {
        font-size: 18px;
        font-weight: 300;
    }

    .co-in-form {

        margin-top: 30px;
        padding: 24px 15px;
    }

    .copyright-wrap .container>.row>.col-lg-auto {
        width: 100%;
        text-align: center
    }

    .ss-cjii {
        padding: 10px 0
    }

    .hero-style4 .hero-title-span {

        font-size: 18px;

    }

    .banner-anform .form-group input {
        height: 44px;


    }

    .banner-anform .form-group i {

        top: 14px;
    }

    .banner-anform .th-btn {
        height: 44px;
        margin-top: 10px;
    }

    .widget-area {

        padding: 65px 0 0px;
    }

.banner-formmain {

    text-align: center;
}
.captcha-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
    }
}

@media only screen and (max-width: 374.98px) {
.g-recaptcha {
        transform: scale(0.78);
    }
.captcha-wrapper {
        width: 100%;
        text-align: center;
    }
    .header-logo img {
        height: 29px;
    }

    .sticky-wrapper.sticky .header-logo img {
        height: 29px;
    }  

    img.bann-img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
        min-height: 690px;
    }
}

/* ===============================
   FIX: Location section – iPhone SE
   =============================== */

/* ========================================
   1200px to 1299px (Standard Laptops)
   ======================================== */
@media (max-width: 1299.98px) and (min-width: 1200px) {
    .map-wrapper {
        min-height: 500px;
    }
}

/* ========================================
   992px to 1199px (Small Laptops)
   ======================================== */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .map-wrapper {
        min-height: 450px;
    }

    .form-compact-container {
        padding: 20px;
    }
}

/* Tablet and Mobile Fix */
@media (max-width: 991px) {

    /* Allow the section to expand vertically */
    .location-map-section,
    .tabmain,
    .mtabcontent {
        height: auto !important;
        overflow: visible !important;
    }

    /* Stack the map and form with a gap */
    .align-items-stretch {
        display: block !important;
        /* Disable flex-stretch on mobile */
    }

    .map-wrapper {
        min-height: 350px !important;
        /* Slightly shorter map for mobile */
        margin-bottom: 30px;
        /* Space between map and form */
    }

    .form-compact-container {
        position: relative;
        z-index: 5;
        margin-bottom: 50px;
        /* Prevents touching the footer */
    }
}

/* Specific iPad/Small Laptop Fix */
@media (min-width: 768px) and (max-width: 1024px) {
    .map-wrapper {
        min-height: 450px !important;
    }
}

/* 4. Fix for internal iframe to prevent it from overlapping the form */
.map-wrapper iframe {
    height: 100% !important;
    position: relative !important;
}


/* Specific fix for very small screens (iPhone SE / small Androids) */
@media only screen and (max-width: 375px) {
    .map-wrapper {
        height: 250px !important;
    }

    .location-info-card {
        padding: 10px !important;
        font-size: 12px !important;
    }
}

/* ========================================
   576px to 767px (Large Mobiles)
   ======================================== */
@media only screen and (max-width: 767.98px) and (min-width: 576px) {
    .align-items-stretch {
        flex-direction: column;
        display: block;
        /* Remove flex to avoid layout clipping */
    }

    .map-wrapper {
        min-height: 350px;
        margin-bottom: 25px;
    }

    .location-info-card {
        bottom: 10px;
        left: 10px;
        padding: 10px;
    }
}

/* ========================================
   Max 575px (Standard Mobiles)
   ======================================== */
@media only screen and (max-width: 575.98px) {
    .location-map-section {
        border-radius: 5px;
    }

    .map-wrapper {
        min-height: 300px;
        /* Maintain visibility but save space */
        height: auto;
    }

    .align-items-stretch {
        display: block;
    }

    .form-compact-container {
        padding: 20px 15px;
        background: #f8f8f8;
        /* Ensure form visibility against background */
    }

    .form-title {
        font-size: 20px;
    }
}

/* ========================================
   Max 374px (Small Mobiles / iPhone SE)
   ======================================== */
@media only screen and (max-width: 374.98px) {
    .map-wrapper {
        min-height: 250px;
    }

    .location-info-card {
        position: relative;
        /* Unpin from map to avoid overlapping the form */
        bottom: 0;
        left: 0;
        margin-top: 10px;
        box-shadow: none;
    }

    .contact-form-styled button {
        width: 100%;
        /* Easier to tap on small screens */
    }
}

@media (max-width: 1300px) and (min-width: 1200px) {
    .job-inner-bannersec {
        position: relative;
        overflow: hidden;
        background-color: var(--theme-color);
        padding: 100px 0;
        min-height: 500px;
        display: flex;
        align-items: center;
        z-index: 1;
        text-align: left;
    }

    .banner-bg-wrapper {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .banner-bg-img {
        position: absolute;
        right: 0;
        top: 0;
        /* Using 100% height ensures it fills the container regardless of padding */
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right bottom;
        /* Center-right preserves the person's face */
    }

    .banner-bg-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        /* Adjusted gradient to ensure text readability over the image */
        background: linear-gradient(to right,
                var(--theme-color) 35%,
                rgba(42, 40, 112, 0.4) 65%,
                transparent 100%);
        z-index: 1;
    }

    .job-search-container {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        z-index: 10;
    }

    .job-search-box {
        max-width: 1140px;
        margin: 0 auto;
        padding: 25px;
        background: #ffffff;
        border-radius: 60px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .ss-inner-bb h3,
    .ss-inner-bb h2 {
        font-size: 42px;
        margin-bottom: 20px;
        color: #e0e0e7;
    }

    .ss-inner-bb p {
        font-size: 18px;
        max-width: 550px;
        color: #ffffff;
    }
}

/* ========================================
   992px to 1199px (Small Laptops)
   ======================================== */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .job-inner-bannersec {
        padding: 100px 0 60px;
        text-align: left;
        /* Center text on mobile */
    }

    .banner-bg-img {
        object-position: 80% center;
    }

    .job-search-box {
        padding: 20px;
        max-width: 95%;
    }

    .job-field input,
    .job-field select {
        font-size: 13px;
        padding: 0 15px;
    }
}

/* ========================================
   Tablet Range (768px - 991px)
   ======================================== */
@media (max-width: 991.98px) and (min-width: 768px) {

    /* 1. Remove the white pill container styling */
    .job-search-box {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-width: 100% !important;
        margin: 20px 0 0 0 !important;
    }

    /* 2. Adjust the flex layout for individual items */
    .job-search-flex {
        display: flex !important;
        flex-direction: row !important;
        /* Keep them horizontal like Image 2 */
        flex-wrap: wrap;
        gap: 10px;
        /* Space between the standalone fields */
    }

    /* 3. Style individual fields to look like standalone pills */
    .job-field {
        flex: 1;
        /* Allows them to share the width */
        min-width: 200px;
        /* Prevents them from getting too squashed */
    }

    .job-field input,
    .job-field select {
        background: #ffffff !important;
        /* Individual white background */
        border: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        /* Subtle shadow for depth */
        height: 50px;
        border-radius: 50px !important;
        /* Pill shape for inputs */
    }


}

/* Tablet and above (768px+) */
@media (min-width: 768px) {
    .job-search-box {
        max-width: 1100px;
        padding: 20px;
        border-radius: 50px;
    }

    .job-search-flex {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .job-field {
        flex: 1;
    }

    .job-field input,
    .job-field select {
        width: 100%;
        padding: 14px 18px;
        font-size: 14px;
        height: 50px;
    }

    .job-btn {
        flex: 0 0 auto;
    }

    .job-btn button {
        padding: 14px 32px;
        font-size: 14px;
        height: 50px;
    }


}


/* ========================================
   768px to 576px (Small Tablet)
   ======================================== */
@media (min-width: 576px) and (max-width: 768px) {

    .job-search-box {
        padding: 22px;
        border-radius: 15px;
        margin: 0 15px;
    }

    .job-search-flex {
        flex-direction: column;
        gap: 12px;
    }

    .job-field input,
    .job-field select {
        width: 100%;
        padding: 12px 14px;
        font-size: 13px;
        height: 45px;
        border-radius: 8px;
    }

    .job-btn button {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
        height: 45px;
        max-width: 100%;
        padding: 25px 18px;
        margin-top: 20px;
        border-radius: 12px;
    }

}
/* Tablet and Mobile Fix (991px and below) */
@media (max-width: 576px) {
    .job-inner-bannersec {
        display: flex;
        flex-direction: column;
        padding-top: 80px; /* Space for your fixed header */
    }

    .ss-inner-bb {
        margin-bottom: 30px; /* Push the search box away from the text */
        position: relative;
        z-index: 2;
    }

    .job-search-container {
        position: relative !important; /* Stop absolute positioning */
        bottom: 0 !important;         /* Reset any 'bottom' offsets */
        margin-top: 0;
        z-index: 3;
    }

    .banner-bg-wrapper {
        display: none;
    }
    .job-search-box {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 20px 10px !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* 2. Stack elements with space in between */
    .job-search-flex {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* 3. Make each input/select its own white pill */
    .job-field input,
    .job-field select {
        background-color: #ffffff !important;
        border: none !important;
        height: 50px !important;
        border-radius: 50px !important; /* Pill shape for individual fields */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        font-size: 14px !important;
        width: 250px !important;
    }

 .job-inner-bannersec {
        padding: 60px 0 40px;
        text-align: center;
        /* Center text on mobile */
    }

    /* Target the HTML image wrapper instead of background-image */
    .banner-bg-wrapper {
        display: none;
        /* Completely hides the image on mobile for clarity */
    }

    .btn-group {
        justify-content: center;
        /* Centers buttons on mobile */
    }
     .ss-inner-bb h1, 
    .ss-inner-bb p {
        font-size: 24px !important; /* Shrink text so it fits above the box */
        text-align: center;
    }
}



@media (max-width: 768px) {
    .banner-bg-img {
        visibility: hidden;
    }
}

/* Responsive spacing for Mobile and iPad */
@media (max-width: 991.98px) {

    /* Allow the tab content and sections to grow with the form height */
    .mtabcontent,
    .location-map-section,
    .tabmain {
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 40px;
        /* Extra space at the bottom of the section */
    }

    /* Remove the 'stretch' force so map and form can stack naturally */
    .align-items-stretch {
        display: block !important;
    }

    /* Add space between the Map (top) and the Form (bottom) */
    .map-wrapper {
        margin-bottom: 30px !important;
        height: 350px !important;
        /* Slightly shorter map for mobile */
    }

    /* Push the form away from the bottom footer */
    .form-compact-container {
        margin-bottom: 60px !important;
        position: relative;
        z-index: 2;
    }



    /* Ensure the WhatsApp/Call buttons are visible but smaller */
    .floating-social-icons {
        bottom: 20px;
        right: 20px;
        transform: scale(0.8);

    }
}

/* ========================================
   JOB SEARCH BAR & CV UPLOAD RESPONSIVE
   ======================================== */
/* --- Desktop: 1200px to 1300px --- */
@media (min-width: 1200px) and (max-width: 1300px) {
    .container {
        max-width: 1140px;
    }

    .cv-upload-banner {
        max-width: 1140px;
        /* Constrained for readability */
        padding: 60px 80px;
    }

    .cv-title {
        font-size: 32px;
    }

    /* Side-by-side layout for Connect section */
    .connect-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .connect-text {
        width: 45%;
    }

    .connect-form-box {
        width: 50%;
    }
}
/* --- Mobile Fix for Job List --- */

@media (max-width: 768px) {
    .job-first ul {
        /* This allows items to move to the next line when they run out of space */
        flex-wrap: wrap; 
        
        /* Optional: Switch to a full column for a cleaner look on very small phones */
        flex-direction: column; 
        
        /* Reduce the gap so it doesn't take up too much vertical space */
        gap: 10px; 
    }

    .job-first ul li {
        /* Ensure the list item takes full width on mobile */
        width: 100%; 
        padding-left: 25px; /* Keeps space for the absolute icon */
    }
    
    .job-first h2 {
        font-size: 28px; /* Scales down the title so it doesn't break weirdly */
    }
}


@media only screen and (max-width: 768px) {
    .th-hero-wrapper {
        display: flex;
        flex-direction: column;
        background-color: var(--theme-color);
    }
    .hero-4 {
        aspect-ratio: 1500 / 841;
        width: 100%;
        position: relative;
    }
    .banner-formmain {
        position: relative !important;
        bottom: auto !important;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    img.bann-img {
        min-height: auto !important;
        height: 100% !important;
        object-fit: cover;
    }
    .hero-4::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to bottom, transparent, var(--theme-color));
        z-index: 5;
        pointer-events: none;
    }
}

