
@media (max-width:1499px) {
    .checkProperty .main_property .left_propertyBox {
        width: 45%;
    }

    .checkProperty .main_property .right_propertyBox {
        width: 55%;
    }

    #overView .overViewBox, #documents .documentBox, #locality .localityBox {
        gap: 18px;
    }
}

@media (max-width:1399px) {

    .sign_in_box .rightBox {
        max-width: 540px;
    }

    .sign_in_box .leftBox {
        max-width: 500px;
    }

    .overview .stickyTabpanel ul li a {
        font-size: 16px;
        padding: 8px 24px;
    }

    .overview .stickyTabpanel ul {
        justify-content: center;
    }

    #amenites .amenitesBox .amenitiesItem {
        justify-content: start;
    }

    .detailmainSec .imageGallery .leftVideo {
        width: 60%;
    }

    .detailmainSec .imageGallery .rightImg {
        /* width: 40%; */
        display: grid;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        height: 189px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .detailmainSec .imageGallery {
        align-items: start;
    }

    .compare_project .borderBox .owl-carousel {
        max-width: 290px;
    }

    .compare_project .compareComBox .leftBoxSmall {
        max-width: 250px;
    }

    .compare_reports .detailmainSec .innerPriceBox .priceShare h5 {
        font-size: 22px;
    }

}

@media (max-width:1199px) {
    section {
        padding: 50px 0;
    }

    h1, .bannerTitle {
        font-size: 56px;
    }

    h3, .heading48 {
        font-size: 42px;
    }

    h4, .heading36 {
        font-size: 32px;
    }

    h5, .heading24 {
        font-size: 22px;
    }

    p {
        font-size: 16px;
    }

    body.matchProperty {
        overflow: unset !important;
    }

    .findIdeal .findIdealBox .row {
        row-gap: 20px;
    }

    .checkProperty .main_property {
        display: block;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0;
        pointer-events: auto !important;
        position: relative;
    }

    .checkProperty .main_property .left_propertyBox,
    .checkProperty .main_property .right_propertyBox {
        width: 100%;
        pointer-events: auto !important;
        position: relative;
    }

    /* Ensure all containers in the hierarchy allow clicks */
    .checkProperty .main_property .right_propertyBox .rightListSec,
    .checkProperty .main_property .right_propertyBox .tab-content,
    .checkProperty .main_property .right_propertyBox .row {
        pointer-events: auto !important;
        position: relative;
    }

    /* Ensure property cards are clickable */
    .checkProperty .main_property .right_propertyBox .propertyCard,
    .checkProperty .main_property #project-list .propertyCard,
    .checkProperty .main_property .right_propertyBox .row .propertyCard,
    .checkProperty .main_property #project-list .row .propertyCard,
    .checkProperty .right_propertyBox .propertyCard,
    .checkProperty #project-list .propertyCard,
    .checkProperty .propertyCard.propertyCardModal {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 1 !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    /* Ensure child elements don't block clicks - but allow the card itself to be clicked */
    .checkProperty .main_property .right_propertyBox .propertyCard.propertyCardModal *,
    .checkProperty .main_property #project-list .propertyCard.propertyCardModal * {
        pointer-events: none;
    }

    /* Allow specific interactive elements */
    .checkProperty .main_property .right_propertyBox .propertyCard a,
    .checkProperty .main_property .right_propertyBox .propertyCard button,
    .checkProperty .main_property .right_propertyBox .propertyCard .heartIconFill,
    .checkProperty .main_property .right_propertyBox .propertyCard .show-login-toastr,
    .checkProperty .main_property #project-list .propertyCard a,
    .checkProperty .main_property #project-list .propertyCard button,
    .checkProperty .main_property #project-list .propertyCard .heartIconFill,
    .checkProperty .main_property #project-list .propertyCard .show-login-toastr,
    .checkProperty .propertyCard.propertyCardModal .heartIconFill,
    .checkProperty .propertyCard.propertyCardModal .show-login-toastr {
        pointer-events: auto !important;
        z-index: 11 !important;
        position: relative;
    }

    .checkProperty .main_property #project-list,
    .checkProperty .main_property .right_propertyBox {
        z-index: 1 !important;
        position: relative;
    }

    /* Ensure project-list is below filter form */
    .checkProperty .main_property #project-list {
        z-index: 0 !important;
    }

    /* Hide only the map element on responsive, keep mapContainer visible */
    .checkProperty .main_property .left_propertyBox .proertyMapBox #map {
        display: none !important;
    }

    /* Ensure mapContainer is visible on responsive */
    .checkProperty .main_property .left_propertyBox#mapContainer {
        display: block !important;
        width: 100% !important;
    }

    /* Ensure topFilterBar is visible and properly styled */
    .checkProperty .main_property .left_propertyBox .topFilterBar {
        display: flex !important;
        width: 100% !important;
    }

    /* Ensure porpertyFilter is visible and positioned below search_btn_desktop on responsive */
    .checkProperty .main_property .left_propertyBox .proertyMapBox {
        position: relative !important;
        height: auto !important;
    }

    /* Position filter form below search_btn_desktop on responsive */
    .checkProperty .main_property .left_propertyBox .proertyMapBox .porpertyFilter {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        right: 20px !important;
        bottom: auto !important;
        z-index: 10000 !important;
        max-width: calc(100vw - 40px) !important;
        width: 100% !important;
        /* max-width: 500px !important; */
        max-height: calc(100vh - 200px) !important;
        overflow-y: auto !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        transform: none !important;
    }

    /* Ensure porpertyFilter when open is above everything */
    .checkProperty .main_property .left_propertyBox .proertyMapBox .porpertyFilter.open {
        z-index: 10000 !important;
    }

    /* Calculate top position based on topFilterBar height - will be set via JavaScript */
    .checkProperty .main_property .left_propertyBox .topFilterBar {
        position: relative !important;
    }

    /* Ensure property boxes are below the filter form on responsive */
    .checkProperty .main_property .right_propertyBox .propertyCard,
    .checkProperty .main_property #project-list .propertyCard,
    .checkProperty .main_property .right_propertyBox .row .propertyCard,
    .checkProperty .main_property #project-list .row .propertyCard {
        z-index: 1 !important;
        position: relative !important;
    }

    /* Ensure the entire property list container is below filter */
    .checkProperty .main_property .right_propertyBox,
    .checkProperty .main_property #project-list {
        z-index: 0 !important;
        position: relative !important;
    }

    /* When filter is open, ensure project-list stays below */
    .porpertyFilter.open ~ * .checkProperty .main_property #project-list,
    body:has(.porpertyFilter.open) .checkProperty .main_property #project-list {
        z-index: -1 !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar .filterBox {
        width: 5%;
    }

    .checkProperty .checkPropertyBox .proertyMapBox {
        height: auto;
    }

    .checkProperty .checkPropertyBox .proertyMapBox iframe {
        display: none;
    }

    .checkProperty .rightListSec .toptabSec .tab-content {
        height: auto !important;
        overflow-y: visible !important;
        overflow: visible !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar {
        margin-bottom: 0;
        gap: 10px;
    }

    .checkProperty .rightListSec .toptabSec .tabflex {
        padding-top: 0;
    }

    .checkProperty {
        padding-bottom: 20px;
    }

    .checkProperty .checkPropertyBox .topFilterBar .filterBox a {
        margin-left: auto;
    }

    .propertyModal {
        padding: 0 15px;
    }

    .left_traking_stepSec .stepallBox {
        gap: 10px;
    }

    .left_traking_stepSec .stepallBox .stepText .checkImg img {
        width: 40px;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        height: 148px;
        width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .overview .stickyTabpanel ul li a {
        font-size: 16px;
        padding: 8px 13px;
    }

    #locality .localityBox .localityItem,
    #documents .documentBox .boxBox {
        width: calc(200px);
    }

    .propertyCard .addressBox p {
        font-size: 16px;
    }

    /* .propertyCard .imgBox img {
        min-height: 160px;
        height: 100%;
    } */

    .aboutUs .centerTextbox h3 {
        font-size: 34px;
    }

    .sign_in_box .leftBox .logoBox {
        margin-bottom: 30px;
    }

    .compare_project .compareComBox {
        flex-wrap: wrap;
        margin-bottom: 40px;
        gap: 10px;
    }

    .compare_project .compareComBox .leftBoxSmall {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        margin-bottom: 15px;
    }

    .compare_project .compareComBox .detailSameBox {
        min-width: calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
        flex: 0 0 calc(33.333% - 10px);
    }

    .compare_project .borderBox .amenitiesItem {
        justify-content: start;
    }

    .detailmainSec .detailsTextSec .locationProperty {
        flex-wrap: wrap;
        gap: 5px;
    }

    .detailmainSec .endText p {
        margin-top: 10px;
    }

    .compare_reports .compare_reports_box {
        flex-wrap: wrap;
    }

    .compare_reports .certificates_box,
    .compare_reports .compare_reports_box .download_box {
        width: 100%;
    }

    .comparePorjectModal {
        max-width: 95%;
    }
}

@media (min-width: 1500px) {
    .compare_project .compareComBox .detailSameBox {
        min-width: 320px;
    }
}

@media (max-width: 1499px) and (min-width: 1200px) {
    .compare_project .compareComBox .detailSameBox {
        min-width: 280px;
    }
}

@media (max-width:1024px) {
    h1, .bannerTitle {
        font-size: 54px;
    }

    h3, .heading48 {
        font-size: 40px;
    }

    h4, .heading36 {
        font-size: 30px;
    }

    .discuss .discussBox {
        max-width: 100%;
    }

    #rightStickySection .topReportBtn a {
        font-size: 18px;
    }

    .overview .stickyTabpanel ul li a {
        font-size: 15px;
    }

}

@media (max-width:991px) {

    h1, .bannerTitle {
        font-size: 50px;
    }

    h3, .heading48 {
        font-size: 36px;
    }

    h4, .heading36 {
        font-size: 28px;
    }

    header .header-box .main-nav ul {
        gap: 5px;
    }

    header .header-box .main-nav ul li a.second-menu {
        padding: 8px 8px !important;
    }

    .heroBanner {
        height: auto !important;
        background-image: none !important;
    }

    .bannerCarousel .banner-slide {
        /* Optimized height for tablet screens */
        min-height: 400px !important;
        height: 400px !important;
        background-size: cover !important;
    }

    /* Mobile Banner Carousel - Tablet Screens */
    .heroBanner-mobile .bannerCarouselMobile .banner-slide {
        min-height: 400px !important;
        height: 400px !important;
        background-size: cover !important;
    }

    .bannerCarousel .banner-slide .bannerText {
        padding: 20px 15px;
    }

    .bannerCarousel .banner-slide .bannerText h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .bannerCarousel .banner-slide .bannerText h5 {
        font-size: 14px;
    }

    /* Banner Ad Section - Responsive */
    .bannerAdSection {
        display: none !important;
        margin-top: 20px;
        gap: 12px;
        justify-content: center;
    }

    .bannerAdBtn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .bannerAdBtn i {
        font-size: 16px;
    }

    .bannerCarousel .owl-nav {
        padding: 0 10px;
    }

    .bannerCarousel .owl-nav button {
        width: 35px;
        height: 35px;
    }

    .bannerCarousel .owl-nav button i {
        font-size: 14px;
    }

    .bannerCarousel .owl-dots {
        bottom: 120px; /* Adjust to avoid overlap with mobile filter on small screens */
    }

    .bannerCarousel .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }

    .bannerCarousel .owl-dots .owl-dot.active {
        width: 25px;
    }

    /* Compare project page — 2 columns (migrated from custom.css) */
    .compare_project .compareComBox .detailSameBox {
        min-width: calc(50% - 10px);
        max-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }

    .heroBanner .mobileFilterHero {
        bottom: 15px;
        padding: 12px;
        width: 95%;
    }

    /* Property List Row Spacing - Responsive */
    .bestPropertyBox .row.propertyList {
        row-gap: 20px;
        margin: 0;
    }

    .bestPropertyBox .row.propertyList > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 0;
    }

    .bestPropertyBox .propertySec {
        padding: 15px 15px 20px;
    }

    .bestPropertyBox .propertySec .propertyName h5 {
        margin: 20px 0 10px;
    }

    .bestProperty .locationProperty {
        padding: 15px 0;
    }

    .bestPropertyBox .propertySec .imgBox img {
        height: 200px;
    }

    /* Owl Carousel Property List - Mobile Responsive */
    .bestPropertyBox .propertyList.owl-carousel {
        margin-top: 15px;
    }

    .bestPropertyBox .propertyList.owl-carousel .owl-item {
        padding: 0 8px;
    }

    .findIdeal .sectionTitleBox {
        margin-bottom: 40px;
    }

    .findIdeal .findIdealBox .idealBoxCom {
        padding: 20px 20px 40px;
    }

    .latesNews .latesNewsBox .item .sliderText ul {
        justify-content: space-between;
    }

    footer .footer-part .row {
        /* row-gap: 30px; */
    }

    .footer-part .copyRight {
        flex-wrap: wrap;
    }

    .propertyModal .modalgallery .multyimg .box {
        width: calc(33%);
    }

    .modalgallery {
        margin-bottom: 15px;
    }

    .left_traking_stepSec .stepallBox .stepText span {
        width: 450px;
    }

    .overview .stickyTabpanel ul li a {
        font-size: 13px;
        padding: 8px 6px;
    }

    .developersProprty.webViewSection .row {
        row-gap: 25px;
    }

    .detailmainSec .imageGallery {
        flex-wrap: wrap;
        flex-direction: column;
        /* padding: 0 20px; */
        gap: 0.75rem;
    }

    .detailmainSec .imageGallery .leftVideo {
        width: 100% !important;
        /* margin-bottom: 1rem; */
        padding: 0;
    }

    .detailmainSec .imageGallery .rightImg {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0;
        margin: 0;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        width: 100% !important;
        height: 135px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Ensure fourBox stays in 2-column grid on mobile (beside 3rd image) */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox {
        grid-column: auto !important; /* Remove full-width span, keep in grid */
        height: 135px;
    }

    /* Show moreBnt on fourBox on mobile (hide mobile button in leftVideo) */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox .moreBnt {
        display: block !important;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    /* Hide mobile button in leftVideo on tablet/mobile */
    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile {
        display: none !important;
    }

    .contactUs .mainWhiteBox {
        margin-top: 20px;
    }

    .aboutUs .countourView .box span {
        font-size: 16px;
    }

    .sign_in_box .rightBox {
        display: none;
    }

    .downloaded_certificates .downloaded_certificates_box {
        gap: 20px;
    }

    .downloaded_certificates .downloaded_certificates_box .detailsTextSec {
        flex-wrap: wrap;
    }

    .downloaded_certificates .download_box {
        width: 25%;
    }

    .downloaded_certificates .certificates_box {
        width: 75%;
    }

    .downloaded_certificates .detailmainSec .endText p {
        margin-top: 10px;
    }

    .downloaded_certificates .detailmainSec .detailsTextSec .priceShare ul {
        justify-content: start;
        margin: 10px 0;
    }

    .downloaded_certificates .downloaded_certificates_box .detailsTextSec .priceShare h5 {
        margin-bottom: 0;
    }

    .detailmainSec .detailsTextSec .siteDetails .logoMain img {
        width: 90px;
    }

    .leftQueBox .topSearch,
    .rightQueBox .topText {
        margin-bottom: 20px;
    }

    .rightQueBox .topText {
        margin-top: 30px;
    }

    .bannerSky .askQuestion a {
        font-size: 20px;
    }

    .downloaded_certificates_box .detailmainSec .detailsTextSec .siteDetails {
        width: 100%;
    }

    .compare_reports .certificates_box {
        flex-wrap: wrap;
    }
    .compare_reports .certificates_box_three {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .compare_reports .certificates_box_three .compareVs {
        margin: 0 auto;
    }
    .compare_reports .compare_reports_box {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .compare_reports .compare_reports_box .download_box {
        width: 100%;
    }
    .compare_reports .detailmainSec {
        width: 100%;
        max-width:100%;
    }
    .compare_reports .certificates_box .compareVs {
        margin: 0 auto;
    }

    .compare_reports .detailmainSec .innerPriceBox .priceShare h5 {
        font-size: 18px;
    }

    .blog_detail_box .right_sticky {
        margin-top: 20px;
    }

    .propertyModal .modalTextBox .priceAndshare ul .btn-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    /* Featured Properties (Home) - move responsive rules from custom.css */
    .featuredAppraisalSection {
        padding: 30px 0 10px;
    }
    .featuredAppraisalSection .sectionTitleBox {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    .featuredAppraisalSection .sectionTitleBox h3 {
        font-size: 22px;
    }
    .featuredAppraisalSection .sectionTitleBox .text-end {
        width: 100%;
        margin-top: 6px;
        text-align: left;
    }
    .featuredAppraisalSection .sectionTitleBox .text-end .linkBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 20px;
        font-size: 14px;
        border-radius: 999px;
        white-space: nowrap;
    }
    .featuredAppraisalCarousel .owl-nav {
        top: auto;
        bottom: -10px;
        transform: none;
        justify-content: center;
        gap: 12px;
    }
    .featuredAppraisalCarousel .featuredAppraisalCard {
        max-width: 100%;
    }

    .modalTextBox .locationProperty .comBox {
        width: calc(100%) !important;
    }

    .comparePorjectModal .comparePorjectCard {
        flex-wrap: wrap;
    }

    /* Property Details - Recently Viewed: keep "My Activity" responsive */
    #recently-viewed .sectionTitleBox {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    #recently-viewed .sectionTitleBox .text-end {
        width: auto; /* keep button width consistent */
        margin-left: auto; /* keep button on the right side when wrapped */
    }

    #recently-viewed .sectionTitleBox .text-end .linkBtn {
        width: auto; /* do not stretch to full width */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap; /* prevent text wrapping changing button width */
    }
}

@media (max-width: 767px) {
    /* header responsive */
    header .main-nav nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        z-index: 111;
        padding-top: 80px;
    }

    header .main-nav nav.show {
        left: 0;
        opacity: 1;
        visibility: visible;
    }

    header .main-nav nav ul {
        display: block;
        text-align: left;
        padding: 5px 10px;
    }

    header .main-nav .click-menu {
        display: block;
    }

    header .main-nav .cancel-menu {
        display: block;
        position: fixed;
        top: 40px;
        left: -100%;
        max-width: 20px;
        width: 100%;
        text-align: center;
        z-index: 222;
        transition: .5s;
        opacity: 0;
        visibility: hidden;
    }

    header .main-nav .cancel-menu.show {
        opacity: 1;
        visibility: visible;
        left: calc(100% - 40px);
    }

    header .main-nav .btn-box{
        padding-right: 20px;
    }

    header .button-box {
        margin-left: 0;
        margin-right: 20px;
    }
    /* header responsive */

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .moblieHide {
        display: none;
    }

    header .header-box .mobileIcon {
        display: block !important;
    }

    header .header-box .mobileIcon a i {
        color: var(--blue-color);
        font-size: 30px;
    }

    header .header-box .main-nav ul li a.user-menu {
        padding: 0px 16px !important;
        font-size: 22px;
        min-height: 45px;
    }

    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 10px;
    }

    section {
        padding: 40px 0;
    }

    br {
        display: none;
    }

    h1, .bannerTitle  {
        font-size: 44px;
    }

    h3, .heading48 {
        font-size: 32px;
    }

    .btnExplore {
        padding: 10px 20px;
        font-size: 16px;
    }

    .about .aboutImg {
        display: none;
    }

    .discuss .discussBox .imageBox {
        display: none;
    }

    .about, .latesNews {
        background: linear-gradient(to bottom, #ffffff 50%, #ffffff 50%);
    }

    .discuss .discussBox {
        padding: 20px;
    }

    .question .accordion-button {
        font-size: 18px;
    }

    .question .accordion-body p {
        font-size: 14px;
    }

    .question .accordion-body {
        padding-top: 0 !important;
    }

    .latesNews .latesNewsBox .owl-nav .owl-prev img, .latesNews .latesNewsBox .owl-nav .owl-next img {
        max-width: 40px;
    }

    .latesNews .latesNewsBox .owl-nav {
        bottom: -60px;
    }

    .findIdeal .findIdealBox .idealBoxCom .imgBox {
        display: flex;
        align-items: center;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar {
        width: 90%;
        position: relative;
    }

    /* Fix icon overlapping placeholder text on responsive screens */
    .checkProperty .checkPropertyBox .topFilterBar .searchBar .searchBoxInput {
        padding-right: 40px !important;
        text-align: left !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick i {
        font-size: 16px;
        color: #666;
    }

    .propertyModal .modalgallery .top-img {
        height: 240px;
    }

    .propertyModal .modalgallery .multyimg .box {
        height: 130px;
    }

    .left_traking_stepSec .stepallBox {
        flex-direction: column-reverse;
    }

    .left_traking_details .chartBox {
        display: none;
    }

    .left_traking_stepSec .stepallBox .stepimg {
        width: 100%;
        height: 200px;
        position: relative;
    }
    .left_traking_stepSec .stepallBox .stepText {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
        display: flex;
    }

    .left_traking_stepSec .stepallBox .stepText .stepTextmobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .left_traking_stepSec .stepallBox .stepText .checkImg img {
        width: 30px;
    }

    .detailmainSec .detailsTextSec {
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .detailmainSec .detailsTextSec .priceShare {
        width: 100%;
    }

    .detailmainSec .detailsTextSec .priceShare ul {
        justify-content: start;
    }

    .detailmainSec .endText p span.line {
        margin: 0 5px;
    }

    .detailmainSec .endText p {
        font-size: 14px;
        margin-top: 10px;
    }

    .detailmainSec .detailsTextSec .siteDetails .logoMain img {
        width: 90px;
    }

    .detailmainSec .detailsTextSec .locationProperty .comBox {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .detailmainSec .detailsTextSec .locationProperty .comBox img {
        width: 100%;
        max-width: 30px;
    }

    .bestProperty .locationProperty .comBox p {
        color: var(--heading-text);
        font-weight: 400;
    }

    .detail_Sec {
        background-color: var(--white-color);
    }

    .detail_Sec .container {
        padding: 0;
    }

    .detail_Sec .detailsTextSec,
    .detail_Sec .endText, .detail_Sec .menuBread {
        padding: 0 20px;
    }

    /* Ensure imageGallery has proper side spacing on responsive screens */
    .detailmainSec .imageGallery {
        padding: 0 20px;
        gap: 1rem;
    }

    /* Ensure rightImg is visible on all screens with proper responsive width */
    .detailmainSec .imageGallery .rightImg {
        display: grid !important; /* Keep grid layout */
        width: 100% !important; /* Full width on mobile */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0;
        margin: 0;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        width: 100% !important;
        height: 160px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Ensure fourBox stays in 2-column grid on mobile (beside 3rd image) */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox {
        grid-column: auto !important; /* Remove full-width span, keep in grid */
        height: 160px;
    }

    /* Show moreBnt on fourBox on mobile */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox .moreBnt {
        display: block !important;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    /* Hide mobile button in leftVideo on mobile */
    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile {
        display: none !important;
    }

    .detailmainSec .imageGallery .leftVideo {
        width: 100% !important; /* Full width on mobile */
        position: relative;
        /* margin-bottom: 1rem; */
        padding: 0;
    }

    .detailmainSec .imageGallery .leftVideo .videoCoverImage img {
        border-radius: 0;
    }

    /* Desktop: Position moreBnt absolutely on video (not mobile) */
    .detailmainSec .imageGallery .leftVideo .moreBnt:not(.mobile) {
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    /* Mobile: Position moreBnt below the content, not overlaid */
    .detailmainSec .imageGallery .moreBnt.mobile,
    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile,
    .detailmainSec .imageGallery .rightImg .moreBnt.mobile {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        display: block !important;
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
        text-align: center !important;
        width: 100% !important;
        transform: none !important;
        z-index: auto !important;
    }

    .detailmainSec .imageGallery .leftVideo .moreBnt a {
        background-color: var(--white-color);
        padding: 3px 6px;
        border-radius: 5px;
        font-size: 14px;
        color: var(--heading-text);
        font-weight: 400;
        font-family: "Inter", serif;
    }

    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile a,
    .detailmainSec .imageGallery .rightImg .moreBnt.mobile a {
        display: inline-block;
        padding: 0.4rem 0.8rem;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 0.85rem;
        transition: background-color 0.3s ease;
    }

    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile a:hover,
    .detailmainSec .imageGallery .rightImg .moreBnt.mobile a:hover {
        background: rgba(0, 0, 0, 0.9);
        color: white;
        text-decoration: none;
    }

    .overview .overViewSection .container {
        padding: 0;
    }

    .overview .overViewSection #rightStickySection {
        padding: 10px 20px 30px;
    }

    .overview .overViewSection .container .row {
        width: 100%;
        --bs-gutter-x: 0rem;
    }

    .overview .overViewSection .container .row .col-lg-8 {
        padding: 0;
        width: 100%;
    }

    .leftScrollSection.mobile .accordion {
        border-top: 1px solid var(--orange-color);
    }

    .leftScrollSection.mobile .accordion-item .accordion-button {
        padding: 12px 30px !important;
        font-size: 18px;
        color: var(--gray-color);
        font-weight: 500;
        font-family: "Inter", serif;
        box-shadow: none !important;
        border-bottom: 1px solid var(--gray-color);
    }

    .leftScrollSection.mobile .accordion-item .accordion-button:not(.collapsed) {
        background-color: #ffffff;
        border-bottom: 2px solid var(--blue-color);
        color: var(--blue-color);
    }

    .leftScrollSection.mobile .accordion-body {
        border-bottom: 1px solid var(--gray-color);
    }

    .leftScrollSection.mobile .accordion-button::after {
        background-image: url(../images/btn-ar.png);
        background-repeat: no-repeat;
        height: 16px;
        width: 8px;
        object-fit: contain;
        background-size: contain;
    }

    .leftScrollSection.mobile .accordion-button:not(.collapsed)::after {
        transform: rotate(90deg);
    }

    #amenites, #master_plan, #propert_document, #documents, #developers .title, #exio-audit-faq .title {
        margin: 0 !important;
    }

    /* Exio Audit FAQ: align with mobile overview (container padding is 0 here) */
    #exio-audit-faq {
        margin: 32px 0 28px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    #exio-audit-faq .title {
        margin-bottom: 16px !important;
    }
    #exio-audit-faq .exio-audit-faq-list {
        gap: 16px;
    }
    #exio-audit-faq .exio-audit-faq-item {
        padding: 16px 14px;
        max-width: 100%;
    }
    #exio-audit-faq .title h4 {
        font-size: 20px;
    }
    #exio-audit-faq .title .exio-audit-faq-subtitle {
        font-size: 15px;
    }
    #exio-audit-faq .exio-audit-faq-q {
        font-size: 16px;
    }
    #exio-audit-faq .exio-audit-faq-a {
        font-size: 15px;
    }

    header.removeHeader.show {
        display: block !important;
    }

    .site_traking_listng .site_traking_box .row a {
        width: 100%;
    }

    #amenites .amenitesBox .itemsBox.more {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        background-color: var(--light-blue);
        border-radius: 5px;
        height: 100%;
        max-width: 160px;
        margin: 20px auto 0;
    }

    #amenites .amenitesBox .itemsBox.more .iconText {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    #amenites .amenitesBox .itemsBox .iconText p {
        font-size: 14px;
        color: var(--heading-text);
        font-family: 'Inter-Regular';
        margin-top: 10px;
        color: var(--blue-color);
    }

    #amenites .amenitesBox .itemsBox .iconText i {
        font-size: 12px;
        color: var(--blue-color);
    }

    #master_plan .tabBox nav, #floor_paln .tabBox nav {
        justify-content: center;
        border-bottom: none;
    }

    #master_plan .tabBox .nav-tabs, #floor_paln .tabBox .nav-tabs {
        border-bottom: none;
    }

    #master_plan .tabBox .tab-content .tab-pane .innerViewBox {
        flex-wrap: wrap;
    }

    #master_plan .tabBox .viewText,
    #master_plan .tabBox .tab-content {
        width: 100%;
    }

    /* Ensure master plan images are visible on responsive screens */
    #master_plan .tabBox .tab-content {
        display: block !important;
    }

    /* Only show active tab pane (Bootstrap handles this, but ensure it works) */
    #master_plan .tabBox .tab-content .tab-pane.active {
        display: block !important;
    }

    /* Master plan carousel styling */
    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec {
        display: block !important;
        width: 100%;
    }

    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec .owl-carousel {
        display: block !important;
        width: 100%;
    }

    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec .owl-carousel .item {
        display: block !important;
    }

    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec .owl-carousel .item .imgBoxFloorPlan {
        display: block !important;
        width: 100%;
    }

    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec .owl-carousel .item .imgBoxFloorPlan a {
        display: block !important;
        width: 100%;
    }

    #master_plan .tabBox .tab-content .tab-pane .sliderImgSec .owl-carousel .item .imgBoxFloorPlan a img {
        display: block !important;
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .contentBox .centerTextbox {
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .contentBox .centerTextbox .box-box {
        width: 100%;
    }

    .contentBox .centerTextbox .box-box:not(:last-child) {
        margin-bottom: 15px;
    }

    .contentBox .toptextBox p {
        font-size: 18px;
    }

    .contentBox .toptextBox {
        margin-bottom: 30px;
    }

    .aboutUs .countourView,
    .compare_reports .detailmainSec .innerPriceBox {
        flex-wrap: wrap;
    }

    .aboutUs .countourView .box {
        width: calc(50% - 10px);
    }

    .aboutUs .centerTextbox .box-about {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .sign_in_box .leftBox .logoBox img {
        max-width: 100px;
    }

    #master_plan .tabBox .viewText ul li a {
        background-color: var(--light-blue);
        width: 100%;
        padding: 5px 20px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #master_plan .tabBox .viewText ul li a i {
        color: #6A6A71;
        font-size: 16px;
        transition: 0.2s;
    }

    #master_plan .tabBox .viewText ul li a i.active {
        transform: rotate(180deg);
    }

    #master_plan .tabBox .viewText ul li a span {
        color: var(--heading-text);
    }

    /* Unit Plan owl navigation is now styled in details.blade.php */
    /* #floor_paln .sliderImgSec .owl-nav {
        display: none;
    } */

    #floor_paln .sliderImgSec .item .imgBox {
        height: 350px;
    }

    #amenites .amenitesBox .title p {
        color: var(--heading-text)
    }

    #amenites .amenitesBox .title {
        border-bottom: 0;
    }

    #locality .localityItem a {
        background-color: var(--light-blue);
        border-radius: 5px;
        padding: 10px 10px;
        width: 100%;
        text-align: center;
        font-size: 14px;
        color: var(--blue-color);
        margin-top: 15px;
    }

    #locality .localityItem a i {
        font-size: 12px;
        margin-left: 5px;
    }

    .aboutGlory .aboutUs p {
        color: var(--heading-text);
        font-family: 'Inter-Regular';
    }

    .aboutGlory .title {
        border-bottom: 1px solid var(--orange-color);
        margin-bottom: 20px;
    }

    .aboutGlory .title h5 {
        margin-bottom: 5px;
    }

    .downloaded_certificates .downloaded_certificates_box {
        flex-wrap: wrap;
    }

    .downloaded_certificates .certificates_box {
        width: 100%;
    }

    .downloaded_certificates .download_box {
        width: 100%;
        border-top: 1px solid var(--border-color);
        border-left: none;
        min-height: 100px;
    }

    .downloaded_certificates .download_box a {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .downloaded_certificates .download_box a img {
        margin: 0 auto;
    }

    .compare_projectBox .locationProperty {
        /* display: flex; */
        gap: 20px;
        margin-top: 5px;
    }

    .compare_projectBox .locationProperty .comBox {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .compare_projectBox .locationProperty .comBox img {
        width: 100%;
        max-width: 30px;
    }

    .compare_projectBox .locationProperty .comBox p {
        font-size: 14px;
    }

    /* Compare project page — stack columns (migrated from custom.css) */
    .compare_project .compareComBox .detailSameBox {
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .compare_project .compare_projectBox {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparePorjectModal .comparePorjectCard,
    #master_plan .tabBox .newMaster {
        flex-wrap: wrap;
    }

    #master_plan .tabBox .viewText {
        position: relative;
        margin-bottom: 0;
    }

    #master_plan .tabBox .viewText .dataDropdown {
        position: absolute;
        display: none;
        left: 0;
        top: 70px;
        z-index: 55;
        width: 100%;
        background: #fff;
        box-shadow: 0px 0px 10px #00000012;
    }

    #master_plan .tabBox .viewText .dataDropdown.active {
        display: block;
    }

    #master_plan .tabBox .viewText .dataDropdown li a {
        background-color: #fff;
        transition: 0.2s;
        display: block;
    }

    #master_plan .tabBox .viewText .dataDropdown li a:hover {
        background-color: var(--light-blue);
    }

    .detailmainSec .detailsTextSec .siteDetails {
        width: 100%;
    }

    .startProperty {
        height: calc(100%);
        padding: 30px 0;
    }

    .mobile_show {
        display: block !important;
    }

    /* Compare project bottom bar (migrated from custom.css) */
    .comparePorjectModal {
        bottom: 10px;
        max-width: 98%;
    }

    .comparePorjectModal .compareMain {
        padding: 8px;
    }

    .comparePorjectModal .detailmainSec {
        min-width: 180px;
        max-width: 200px;
    }

    .comparePorjectModal .comparePorjectCard {
        gap: 6px;
    }
}

@media (max-width:575px) {
    /* Mobile Banner Carousel - Mobile Screens */
    .heroBanner-mobile .bannerCarouselMobile .banner-slide {
        min-height: 450px !important;
        height: 450px !important;
        background-size: cover !important; /* Fill the container */
        background-position: center center; /* Center the image */
        justify-content: center; /* Center content horizontally */
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText {
        padding: 20px 15px;
        text-align: center; /* Center text in responsive screens */
        color: var(--white-color, #ffffff); /* Same color as desktop */
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText h1 {
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--white-color, #ffffff); /* Same color as desktop */
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText h5 {
        font-size: 13px;
        color: var(--white-color, #ffffff); /* Same color as desktop */
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
    }

    /* Banner Ad Section - Mobile Small Screens */
    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText .bannerAdSection {
        display: none !important;
        margin-top: 15px;
        gap: 10px;
        flex-direction: column;
        width: 100%;
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText .bannerAdBtn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText .bannerAdBtn i {
        font-size: 16px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-nav button {
        width: 32px;
        height: 32px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-nav button i {
        font-size: 12px;
    }

    /* Mobile Filter Hero Section - Small Screens */
    .mobileFilterHeroSection {
        padding: 20px 15px;
        margin-top: -100px; /* Pull up to show half on banner bottom (adjusted for smaller screens) */
    }

    .mobileFilterHeroSection .mobileFilterHero {
        padding: 18px 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .cityDropDown {
        margin-bottom: 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .cityDropDown ul li a.cityClick {
        padding: 12px 15px;
        min-height: 48px;
        font-size: 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox input.searchBoxInput {
        padding: 12px 48px 12px 15px;
        min-height: 48px;
        font-size: 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon {
        right: 5px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon .btnIcon {
        width: 34px;
        height: 34px;
        min-height: 34px;
        font-size: 14px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon .btnIcon i {
        font-size: 13px;
    }

    /* Ensure imageGallery is properly responsive on small screens */
    .detailmainSec .imageGallery {
        padding: 0 10px;
    }

    .detailmainSec .imageGallery .leftVideo {
        width: 100% !important;
        /* margin-bottom: 1rem; */
        padding: 0;
    }

    .detailmainSec .imageGallery .rightImg {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0;
        margin: 0;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        width: 100% !important;
        height: 140px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Ensure moreBnt.mobile is positioned below content on small screens */
    .detailmainSec .imageGallery .moreBnt.mobile {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        display: block !important;
        margin-top: 1rem !important;
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        transform: none !important;
    }

    /* Fix searchBar icon overlapping on very small screens */
    .checkProperty .checkPropertyBox .topFilterBar .searchBar {
        position: relative;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .searchBoxInput {
        padding-right: 30px !important;
        text-align: left !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick i {
        font-size: 12px;
    }

    h1, .bannerTitle {
        font-size: 40px;
    }

    h3, .heading48 {
        font-size: 30px;
    }

    h4, .heading36 {
        font-size: 25px;
    }

    h5, .heading24 {
        font-size: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .sectionTitleBox {
        margin-bottom: 30px;
    }

    .heroBanner {
        height: auto !important;
        background-image: none !important;
    }

    .bannerCarousel .banner-slide {
        /* Optimized height for mobile screens */
        min-height: 450px !important;
        height: 450px !important;
        background-size: cover !important;
    }

    .bannerCarousel .banner-slide .bannerText {
        padding: 30px 15px;
    }

    .bannerCarousel .banner-slide .bannerText h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .bannerCarousel .banner-slide .bannerText h5 {
        font-size: 16px;
    }

    /* Banner Ad Section - Small Screens */
    .bannerCarousel .banner-slide .bannerText .bannerAdSection {
        display: none !important;
        margin-top: 25px;
        gap: 12px;
    }

    .bannerCarousel .banner-slide .bannerText .bannerAdBtn {
        padding: 12px 22px;
        font-size: 15px;
    }

    .heroBanner .bannerText {
        padding-top: 0;
        text-align: left;
    }

    .filterSec.filterHide {
        display: none;
    }

    /* Modern Filter Section - Responsive (place filter box below banner, no overlap) */
    .filterSec {
        margin-top: 20px;
    }

    /* Mobile Banner Carousel - Responsive Heights */
    .heroBanner-mobile .bannerCarouselMobile .banner-slide {
        min-height: 450px !important;
        height: 450px !important;
        background-size: cover !important; /* Fill the container */
        background-position: center center; /* Center the image */
        justify-content: center; /* Center content horizontally */
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText {
        padding: 25px 15px;
        text-align: center; /* Center text in responsive screens */
        color: var(--white-color, #ffffff); /* Same color as desktop */
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText h1 {
        font-size: 28px;
        margin-bottom: 12px;
        color: var(--white-color, #ffffff); /* Same color as desktop */
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText h5 {
        font-size: 14px;
        color: var(--white-color, #ffffff); /* Same color as desktop */
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.3);
    }

    /* Banner Ad Section - Mobile Responsive */
    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText .bannerAdSection {
        display: none !important;
        margin-top: 20px;
        gap: 12px;
        justify-content: center;
    }

    .heroBanner-mobile .bannerCarouselMobile .banner-slide .bannerText .bannerAdBtn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-nav {
        padding: 0 10px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-nav button {
        width: 35px;
        height: 35px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-nav button i {
        font-size: 14px;
    }

    .heroBanner-mobile .bannerCarouselMobile .owl-dots {
        bottom: 100px; /* Moved higher to make room for mobileFilterHeroSection */
    }

    .filterSec .bannerFilterBox {
        padding: 25px 30px;
        gap: 20px;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
    }

    .filterSec .bannerFilterBox .cityFilter {
        max-width: 100%;
        width: 100%;
    }

    .filterSec .bannerFilterBox .landMarkFilter {
        width: 100%;
        flex-wrap: wrap;
    }

    .filterSec .bannerFilterBox .landMarkFilter .searchBox {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--border-color);
        padding-top: 20px;
        margin-top: 10px;
    }

    .heroBanner .bannerText h5 {
        font-size: 14px;
    }

    .bannerCarousel .owl-nav {
        padding: 0 15px;
    }

    .bannerCarousel .owl-nav button {
        width: 40px;
        height: 40px;
    }

    .bannerCarousel .owl-nav button i {
        font-size: 16px;
    }

    .bannerCarousel .owl-dots {
        bottom: 100px; /* Adjust to avoid overlap with mobile filter */
    }

    /* On smaller screens, show mobile filter below the banner, not overlayed on it */
    .heroBanner .mobileFilterHero {
        position: static;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        z-index: 1;
        padding: 0;
        margin: 30px 0 0;
    }

    /* Mobile Filter Hero Section - Responsive Design */
    .mobileFilterHeroSection {
        padding: 25px 15px;
        margin-top: -120px; /* Pull up to show half on banner bottom */
    }

    .mobileFilterHeroSection .mobileFilterHero {
        padding: 20px 15px;
    }

    /* Modern Filter Section - Mobile Responsive */
    .filterSec {
        margin-top: 20px;
    }

    .filterSec .bannerFilterBox {
        padding: 20px;
        gap: 15px;
        border-radius: 10px;
    }

    .filterSec .bannerFilterBox .cityFilter p,
    .filterSec .bannerFilterBox .landMarkFilter .searchBox p {
        font-size: 12px;
    }

    .filterSec .bannerFilterBox .cityFilter a.cityClick,
    .filterSec .bannerFilterBox .landMarkFilter .searchBox input.searchBoxInput {
        padding: 12px 15px;
        font-size: 15px;
        min-height: 48px;
    }

    .filterSec .bannerFilterBox .landMarkFilter .searchIcon .btnIcon {
        padding: 12px 20px;
        min-height: 48px;
        width: 100%;
    }

    .mobileFilterHero {
        display: block;
    }

    /* Modern Filter Section - Tablet Responsive */
    .filterSec {
        margin-top: -60px;
    }

    .filterSec .bannerFilterBox {
        padding: 25px 30px;
        gap: 20px;
        flex-wrap: wrap;
    }

    .filterSec .bannerFilterBox .cityFilter {
        max-width: 100%;
        width: 100%;
    }

    .filterSec .bannerFilterBox .landMarkFilter {
        width: 100%;
        flex-wrap: wrap;
    }

    .filterSec .bannerFilterBox .landMarkFilter .searchBox {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--border-color);
        padding-top: 20px;
        margin-top: 10px;
    }

    /* Mobile Filter Hero Section - Responsive Updates */
    .mobileFilterHeroSection .mobileFilterHero .cityDropDown {
        margin-bottom: 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .cityDropDown ul li {
        position: relative;
        text-align: left;
    }

    .mobileFilterHeroSection .mobileFilterHero .cityDropDown ul.citySelect.show {
        width: 100%;
        left: 0;
        transform: none;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox {
        margin-top: 0;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon {
        right: 6px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon .btnIcon {
        width: 36px;
        height: 36px;
        min-height: 36px;
        font-size: 15px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox .searchIcon .btnIcon i {
        font-size: 14px;
    }

    .mobileFilterHeroSection .mobileFilterHero .seacrhNewBox input.searchBoxInput {
        padding: 12px 50px 12px 15px;
    }

    .webViewSection {
        display: none;
    }

    .mobileViewSection {
        display: block !important;
    }

    .mobileViewSection .owl-dots {
        text-align: center;
    }

    .mobileViewSection .owl-dots .owl-dot.active span {
        background-color: var(--blue-color);
    }

    .mobileViewSection .owl-dots .owl-dot span {
        background-color: #D9D9D9;
        height: 8px;
        width: 8px;
        margin-right: 10px;
        border-radius: 50%;
    }

    /* Ensure property cards in owl-carousel are clickable on home page */
    .bestProperty.mobileViewSection .owl-carousel .owl-item {
        pointer-events: auto !important;
        cursor: default;
    }

    /* Ensure wrapper divs are clickable */
    .bestProperty.mobileViewSection .owl-carousel .owl-item > div {
        pointer-events: auto !important;
    }

    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1;
        touch-action: manipulation;
    }

    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard * {
        pointer-events: none;
    }

    /* Allow specific interactive elements within property cards */
    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard .heartIconFill,
    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard .show-login-toastr,
    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard a,
    .bestProperty.mobileViewSection .owl-carousel .owl-item .propertyCard button {
        pointer-events: auto !important;
        z-index: 11 !important;
        position: relative;
    }

    /* Ensure owl-stage allows clicks */
    .bestProperty.mobileViewSection .owl-carousel .owl-stage {
        pointer-events: auto !important;
    }

    /* Ensure owl-stage-outer allows clicks */
    .bestProperty.mobileViewSection .owl-carousel .owl-stage-outer {
        pointer-events: auto !important;
    }

    /* Ensure property cards in bestProperty webViewSection are clickable on home page */
    .bestProperty.webViewSection .propertyCard.propertyCardModal {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1;
        touch-action: manipulation;
    }

    .bestProperty.webViewSection .propertyCard.propertyCardModal * {
        pointer-events: none;
    }

    /* Allow specific interactive elements within property cards */
    .bestProperty.webViewSection .propertyCard.propertyCardModal .heartIconFill,
    .bestProperty.webViewSection .propertyCard.propertyCardModal .show-login-toastr,
    .bestProperty.webViewSection .propertyCard.propertyCardModal a,
    .bestProperty.webViewSection .propertyCard.propertyCardModal button {
        pointer-events: auto !important;
        z-index: 11 !important;
        position: relative;
    }

    /* Ensure property cards in developersProprty webViewSection are clickable on property details page */
    .developersProprty.webViewSection .propertyCard {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative;
        z-index: 1;
    }

    .developersProprty.webViewSection .propertyCard * {
        pointer-events: none;
    }

    /* Allow specific interactive elements within property cards */
    .developersProprty.webViewSection .propertyCard .heartIconFill,
    .developersProprty.webViewSection .propertyCard .show-login-toastr,
    .developersProprty.webViewSection .propertyCard a,
    .developersProprty.webViewSection .propertyCard button {
        pointer-events: auto !important;
        z-index: 11 !important;
        position: relative;
    }

    /* Ensure the link wrapper is clickable */
    .developersProprty.webViewSection a {
        pointer-events: auto !important;
        cursor: pointer !important;
        text-decoration: none;
        display: block;
    }

    .about .aboutBox  .aboutText .aboutInfo .boxbox {
        width: calc(46%);
    }

    footer::after {
        display: none;
    }

    footer .footer-box .quickLinks ul li a, footer .footer-box .getInTouch ul li a, .footer-part .copyRight .privacy ul li a {
        font-size: 14px;
    }

    footer .footer-part .footer-box h5 {
        font-size: 20px;
    }

    .footer-part .copyRight .privacy ul li:last-child {
        padding-right: 0 !important;
    }
    .footer-part .copyRight .privacy ul li:first-child {
        padding-left: 0 !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar .filterBox {
        width: 10%;
    }

    .propertyCard .locationProperty .comBox p {
        font-size: 14px;
    }

    .propertyCard .addressBox p {
        font-size: 16px;
    }

    .feetSelectBox .checkbox__label, .lookingProperty .feetSelectBox .clickTo .keyword-label {
        font-size: 16px;
    }

    .propertyCard {
        padding: 15px 10px;
    }

    .paginationBox .pagination {
        gap: 8px;
    }

    .propertyModal .modal-dialog {
        margin: 20px auto;
        padding: 0;
    }

    .propertyModal .modalgallery .top-img {
        height: 190px;
    }

    .propertyModal .modalgallery .multyimg .box {
        height: 100px;
    }

    .propertyModal .overViewBox .overBox {
        width: 100%;
        height: 100%;
    }

    .btn-container {
        flex-wrap: wrap;
    }

    .propertyModal .btn-container .btnWp,
    .propertyModal .btn-container .btn {
        width: calc(100%);
    }

    .propertyModal .modalTextBox .priceAndshare,
    .propertyModal .modalTextBox .locationProperty {
        flex-wrap: wrap;
        gap: 10px;
    }

    #map_view .mapMianbox .mapmain iframe {
        min-height: 300px;
    }

    .bannerImg {
        padding: 40px 0;
    }

    .labelClass {
        font-size: 16px;
    }

    .contactUs .mainWhiteBox .title h5 {
        font-size: 22px;
    }

    .contactUs .mainWhiteBox .title {
        margin-bottom: 20px;
    }

    .inputClass {
        height: 42px;
    }

    .aboutUs .contentAbout p {
        font-size: 14px;
    }

    .sign_in_box .signIn .btnsignIn {
        min-height: 42px;
        font-size: 16px;
    }

    .sign_in_box .checkReminder .clickTo {
        padding-left: 20px;
    }

    .sign_in_box .checkReminder .forgot a {
        font-size: 13px;
    }

    .sign_in_box .googleBtn .google {
        font-size: 16px;
    }

    .downloaded_certificates .detailmainSec .detailsTextSec .locationProperty {
        flex-wrap: wrap;
        gap: 10px;
    }

    .downloadBrochure .modal-body {
        padding: 30px;
    }

    .comparePorjectModal .compareMain {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }

    .compare_project .borderBox .documentBox,
    .compare_project .borderBox .amenitiesItem,
    .compare_project .borderBox .overViewBox {
        justify-content: center;
    }

    .compare_project .borderBox .browser_get a,
    .compare_project .borderBox .documentBox .boxBox,
    .compare_project .borderBox .documentBox a {
        width: 100%;
    }

    .left_traking_stepSec .stepallBox .stepText .checkImg img {
        width: 25px;
    }

    .modelSize .modal-dialog {
        max-width: 470px;
    }

    .modelSize .modal-body {
        padding: 40px 20px;
    }

    .modelSize .modal-body .title h4 {
        font-size: 28px;
    }

    .searchKeyup .search-key {
        top: 48px;
        border-radius: 5px;
    }

    .comparePorjectModal .detailmainSec {
        width: 100%;
        min-width: 200px;
        max-width: 220px;
    }

    .comparePorjectModal .compareMain .closeModal {
        /* top: -28px;
        right: -10px; */

        top: -16px;
        right: -13px;
    }

    .bannerSky .askQuestion a {
        font-size: 18px;
        padding: 6px 15px;
    }

    .forumBoxMain .comQuebox .btnAnsAdd {
        font-size: 16px;
        padding: 5px 15px;
    }

    .detail_Sec {
        padding: 20px 0;
    }

    #rightStickySection .insightReport {
        margin-top: 0;
    }

    .comparePorjectModal .comparePorjectCard {
        margin-top: 13px;
    }

    /* .checkProperty .checkPropertyBox .topFilterBar .searchBar {
        padding: 10px 40px 10px 5px;
    } */

    /* Property Details - Recently Viewed: stacked title/button on small screens */
    #recently-viewed .sectionTitleBox {
        /* flex-direction: column; */
        align-items: flex-start;
    }

    #recently-viewed .sectionTitleBox .text-end {
        margin-top: 8px;
    }
}


@media (max-width:479px) {
    /* Ensure imageGallery is properly responsive on extra small screens */
    .detailmainSec .imageGallery {
        padding: 0 10px;
        gap: 0.5rem;
    }

    .detailmainSec .imageGallery .leftVideo {
        width: 100% !important;
        /* margin-bottom: 0.75rem; */
        padding: 0;
    }

    .detailmainSec .imageGallery .rightImg {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0;
        margin: 0;
    }

    .detailmainSec .imageGallery .rightImg .boxImg {
        width: 100% !important;
        height: 120px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Ensure fourBox stays in 2-column grid on extra small screens (beside 3rd image) */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox {
        grid-column: auto !important; /* Remove full-width span, keep in grid */
        height: 120px;
    }

    /* Show moreBnt on fourBox on extra small screens */
    .detailmainSec .imageGallery .rightImg .boxImg.fourBox .moreBnt {
        display: block !important;
        position: absolute;
        bottom: 10px;
        /* left: 50%; */
        transform: translateX(-50%);
        z-index: 10;
        width: max-content;
    }

    /* Hide mobile button in leftVideo on extra small screens */
    .detailmainSec .imageGallery .leftVideo .moreBnt.mobile {
        display: none !important;
    }

    h1, .bannerTitle {
        font-size: 34px;
    }

    h3, .heading48 {
        font-size: 24px;
    }

    h4, .heading36 {
        font-size: 22px;
    }

    /* Property List Row Spacing - Extra Small Screens */
    .bestPropertyBox .row.propertyList {
        row-gap: 15px;
        margin: 0;
    }

    .bestPropertyBox .row.propertyList > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 0;
    }

    .bestPropertyBox .propertyList.owl-carousel .owl-item {
        padding: 0 5px;
    }

    header .header-box .logo-box img {
        width: 100%;
        max-width: 90px;
    }

    .latesNews {
        padding-bottom: 50px;
    }

    .latesNews .latesNewsBox .owl-nav {
        bottom: -50px;
    }

    .latesNews .latesNewsBox .owl-nav .owl-prev img, .latesNews .latesNewsBox .owl-nav .owl-next img {
        max-width: 35px;
    }

    .findIdeal .findIdealBox .idealBoxCom .imgBox {
        height: auto;
    }

    .findIdeal .findIdealBox .idealBoxCom .imgBox img {
        max-width: 140px;
    }

    .question .accordion-button {
        font-size: 16px;
    }

    .about .aboutBox .aboutText .btnExplore {
        width: 100%;
    }

    .footer-part .copyRight .reservText p {
        font-size: 14px;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar {
        width: 67% !important;
        position: relative;
    }

    /* Fix icon overlapping placeholder text on smaller responsive screens */
    .checkProperty .checkPropertyBox .topFilterBar .searchBar .searchBoxInput {
        padding-right: 0px !important;
        text-align: left !important;
        font-size: 12px !important;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 28px;
        height: 28px;
    }

    .checkProperty .checkPropertyBox .topFilterBar .searchBar .iconClick i {
        font-size: 14px;
    }

    .checkProperty .checkPropertyBox .topFilterBar .filterBox {
        width: 15%;
    }

    .porpertyFilter .comViewBox.five .selectArea {
        /* flex-wrap: wrap; */
        margin-top: 5px;
    }

    .porpertyFilter .comViewBox.five .selectArea .dropBox {
        /* width: calc(100%); */
        margin-top: 0;
    }

    .left_traking_stepSec .stepallBox .stepimg {
        height: 160px;
    }

    .insightReport .ourReportdetail .comBoxPersantage .topBar span {
        font-size: 16px;
    }

    .insightReport .reportTitle span {
        font-size: 28px;
    }

    .insightReport .reportTitle img {
        max-width: 130px;
    }

    .detailmainSec .detailsTextSec .locationProperty .comBox p {
        font-size: 14px;
    }

    .detailmainSec .detailsTextSec .locationProperty .comBox img {
        max-width: 25px;
    }

    #overView .overViewBox .overBox {
        width: auto;
        height: 100%;
    }

    #propert_document .browser_get a {
        width: 100%;
        padding: 20px 15px;
    }

    #locality .localityBox .localityItem {
        width: calc(140px);
    }

    #documents .documentBox a,
    #documents .documentBox .boxBox {
        width: 100%;
    }

    .aboutUs .countourView .box {
        width: calc(100%);
    }

    .aboutUs .countourView {
        gap: 20px;
        margin-bottom: 20px;
    }

    .aboutUs .centerTextbox {
        margin-top: 20px;
    }

    .aboutUs .centerTextbox h3 {
        font-size: 30px;
    }

    .sign_in_box .leftBox .mainWhiteBox {
        padding: 20px;
    }

    .sign_in_box .leftBox .mainWhiteBox .title {
        margin-bottom: 20px;
    }

    .sign_in_box .leftBox .logoBox img {
        max-width: 90px;
    }

    .sign_in_box .leftBox .mainWhiteBox .title h5 {
        font-size: 22px;
    }

    .sign_in_box .leftBox .mainWhiteBox .title p {
        font-size: 14px;
    }

    .compare_project .borderBox .owl-carousel {
        max-width: 250px;
    }

    .compare_project .borderBox .owl-nav .owl-prev img,
    .compare_project .borderBox .owl-nav .owl-next img {
        max-width: 28px;
    }

    .compare_project .borderBox .owl-nav .owl-next {
        right: -40px;
    }

    .compare_project .borderBox .owl-nav .owl-prev {
        left: -40px;
    }

    .detailmainSec .imageGallery .leftVideo .videoCoverImage video {
        height: 240px;
    }

    .share_property .modal-body {
        padding: 15px 15px 40px 15px;
    }

    .modalTextBox .locationProperty .comBox {
        width: calc(100%) !important;
    }

    .checkProperty .rightListSec .toptabSec .nav-pills .nav-link {
        font-size: 15px;
        padding: 10px 12px;
    }

    .check_propertheader .menuBread nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    .propertyCard.propertyCardMap .addressBoxMap .boxLogo img {
        max-width: 70px;
    }

    .propertyCard.propertyCardMap .addressBoxMap .boxLogo span {
        font-size: 15px;
    }

}

@media (max-width:375px) {
    .sign_in_box .leftBox .logoBox {
        margin-bottom: 20px;
    }
}

/* ========== Migrated from custom.css (no overlap with rules above) ========== */

/* Near-me / distance selector: keep dropdown anchored below button */

@media (min-width: 1200px) {
    .distance-selector-dropdown {
        min-width: 360px;
        max-width: calc(100vw - 40px);
        right: 100px;
    }
}

@media (max-width: 1199px) {
    .distance-selector-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: auto !important;
        right: 0 !important;
        bottom: auto !important;
        transform: none !important;
        transform-origin: top right !important;
        min-width: 0 !important;
        width: min(360px, calc(100vw - 32px)) !important;
        max-width: calc(100vw - 32px) !important;
        max-height: 85vh !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        /* Above .porpertyFilter (10000) on property search */
        z-index: 10050 !important;
    }

    .distance-selector-arrow {
        display: block !important;
        left: auto !important;
        right: 20px !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
    .distance-selector-dropdown {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        transform-origin: top right !important;
    }

    .distance-selector-arrow {
        left: auto !important;
        right: 20px !important;
        transform: none !important;
    }

    .distance-preset-buttons {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }

    .distance-selector-body {
        padding: 20px !important;
    }

    .distance-selector-header {
        padding: 16px 20px !important;
    }

    .selected-distance {
        font-size: 24px !important;
    }
}

@media (max-width: 575px) {
    .distance-selector-dropdown {
        left: -65vw !important;
        right: auto !important;
        transform: none !important;
        min-width: 0 !important;
        width: min(360px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 90vh !important;
    }

    .distance-preset-buttons {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top i {
        font-size: 18px;
    }
}

/* Hide map toggle on tablet/mobile */
@media (max-width: 991.98px) {
    #toggleMapBtn,
    .map-toggle-btn {
        display: none !important;
    }
}

/* Master plan: desktop carousel behaviour */
@media (min-width: 992px) {
    #master_plan .masterPlanCarousel .owl-nav {
        display: none !important;
    }

    #master_plan .masterPlanCarousel .item {
        display: none;
    }

    #master_plan .masterPlanCarousel .item:not([style*="display: none"]) {
        display: block !important;
    }
}

/* Home: Find Ideal cards */
@media (max-width: 767.98px) {
    .findIdeal .findIdealBox .idealBoxCom {
        border-radius: 20px;
        padding: 24px 20px 32px;
    }

    .about .aboutBox .aboutText .aboutInfo .boxbox {
        flex: 1 1 100%;
    }
}

/* Header: List Your Project, Check & match, Free Consultation — all screen sizes */
@media (max-width: 1199.98px) {
    header .header-box .main-nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 8px;
        column-gap: 10px;
    }

    /* Move Match/List/Consult into user dropdown on responsive */
    header .header-box .main-nav ul li.header-cta-item {
        display: none;
    }

    header .header-box .main-nav ul li.responsive_user_action {
        display: block !important;
    }
}

@media (max-width: 991.98px) {
    header .header-box {
        flex-wrap: nowrap;
    }

    header .header-brand-nav {
        gap: 10px;
    }

    /* header .header-box .main-nav {
        flex: 1 1 auto;
        min-width: 0;
    } */

    header .header-box .main-nav ul {
        gap: 8px;
    }

    header .header-box .main-nav ul li.header-cta-item a.second-menu {
        padding: 7px 10px;
        font-size: 12px;
    }

    header .header-box .main-nav ul li.header-cta-item a.second-menu i {
        margin-right: 6px;
        font-size: 15px;
    }

    header .list-your-project-btn .free-badge {
        min-width: 30px;
        height: 16px;
        font-size: 9px;
        padding: 0 5px;
    }
}

@media (max-width: 767.98px) {
    header .header-box .main-nav ul {
        justify-content: flex-end;
        align-items: center;
    }

    header .header-box .main-nav ul li.header-cta-item a.second-menu {
        line-height: 1.15;
        min-height: 38px;
        padding: 6px 8px;
    }

    /* Short labels on small screens (full text in title attribute) */
    header .header-cta-item .header-cta-text-full {
        display: none !important;
    }

    header .header-cta-item .header-cta-text-short {
        display: inline !important;
    }

    /* Escape overflow/stacking from flex nav so the account menu is visible */
    header .header-box .main-nav ul li ul.userDropDown.show {
        position: fixed !important;
        top: 68px;
        right: 10px;
        left: auto;
        margin-top: 0;
        z-index: 99999 !important;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
    }
}

@media (max-width: 575.98px) {
    header .header-box {
        align-items: center;
    }

    header .header-brand-nav {
        gap: 6px;
    }

    /* Same row as logo: actions scroll horizontally when needed */
    /* header .header-box .main-nav {
        flex: 1 1 auto;
        min-width: 0;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        margin-left: -4px;
        margin-right: -4px;
        padding-left: 4px;
        padding-right: 4px;
    } */

    header .header-box .main-nav ul {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 6px;
        width: max-content;
        margin-left: auto;
    }

    header .header-box .main-nav ul li.header-cta-item {
        flex: 0 0 auto;
    }

    header .header-box .main-nav ul li.header-cta-item a.second-menu {
        padding: 8px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    header .header-box .main-nav ul li.header-cta-item a.second-menu i {
        margin-right: 4px;
        font-size: 12px;
    }

    header .header-box .main-nav ul li:not(.header-cta-item) {
        flex: 0 0 auto;
    }

    header .header-box .main-nav ul li:not(.header-cta-item) a.user-menu {
        min-width: 44px;
    }

    /* Narrowest screens: same fixed menu (row may scroll horizontally) */
    header .header-box .main-nav ul li ul.userDropDown.show {
        top: 72px;
        max-height: calc(100vh - 92px);
    }
}

/* Exio Audit FAQ — tablet / small laptop */
@media (max-width: 1199.98px) {
    #exio-audit-faq {
        margin: 40px 0 34px;
    }
    #exio-audit-faq .exio-audit-faq-item {
        padding: 20px 20px;
    }
}

/* Exio Audit FAQ — phones (narrow) */
@media (max-width: 575.98px) {
    #exio-audit-faq {
        margin: 24px 0 20px;
        padding-left: 16px;
        padding-right: 16px;
    }
    #exio-audit-faq .title h4 {
        font-size: 18px;
        line-height: 1.3;
    }
    #exio-audit-faq .title .exio-audit-faq-subtitle {
        font-size: 14px;
        line-height: 1.35;
    }
    #exio-audit-faq .exio-audit-faq-item {
        padding: 14px 12px;
        border-left-width: 3px;
        border-radius: 6px;
    }
    #exio-audit-faq .exio-audit-faq-q {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    #exio-audit-faq .exio-audit-faq-a {
        font-size: 14px;
        line-height: 1.55;
    }
    #exio-audit-faq .exio-audit-faq-meta {
        font-size: 13px;
        margin-top: 8px;
    }
    #exio-audit-faq .exio-audit-faq-list {
        gap: 14px;
    }
}

/* Exio Audit FAQ — very small devices + safe-area (notch) */
@media (max-width: 400px) {
    #exio-audit-faq {
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
    }
}

