.searchFilter {
    width: 100%;
    padding: 5px;
    margin: 0 !important;
}

.searchFilter:focus,
.searchFilter:active {
    box-shadow: none;
    outline: none;
}

#result {
    width: 48%;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    z-index: 1;
    color: var(--color1)!important;
    box-sizing: border-box;
    box-shadow: 0px 0px 5px 0px #0000003b;
}

.filterdata {
    padding: 7px 10px;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

.filterdata:hover {
    background: #2B2D6C;
    color: white;
}

.map-container {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    align-items: center;
    justify-content: space-around;
}

.map-container svg {
    width: 40%;
}

.region {
    fill: #2c3e50;
    stroke: #ffffff;
    stroke-width: 1px;
    transition: fill 0.3s ease;
}

.region:hover,
.region.active {
    fill: #f39c12 !important;
}

/* Region List Styling */
.region-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 200px;
    background-color: transparent;
    /* border-radius: 5px; */
    display: block;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.region-list li,
#back-button {
    padding: 10px;
    margin: 0;
    cursor: pointer;
    text-align: left;
    color: grey;
    font-weight: lighter;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
}

.region-list li .counter {
    background: #2B2D6C;
    color: white;
    padding: 5px 10px;
    border-radius: 5%;
    font-size: 12px;
    font-weight: bold;
}

.region-list li:nth-child(odd) {
    background-color: #f4f4f4;
}

.region-list li:hover,
#back-button:hover,
.region-list li.active {
    background-color: #f39c12;
    color: #ffffff;
}

.region-label {
    fill: white;
    font-size: 14px;
    font-weight: bold;
    text-anchor: middle;
    pointer-events: none;
}

#back-button {
    background-color: #2B2D6C;
    color: white;
    position: absolute;
    left: -58px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    width: 32%;
    overflow: hidden;
    padding: 20px;
}

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


.card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
    margin: 15px 0;
}

.card .more-info-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #ffc107;
    color: #000;
    padding: 10px 20px;
    border-radius: 3px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.card .more-info-btn:hover {
    background-color: #e0a800;
}

.single-line-text {
    white-space: nowrap;
    /* Prevents the text from wrapping */
    overflow: hidden;
    /* Hides the overflow text */
    text-overflow: ellipsis;
    /* Adds an ellipsis (...) at the end */
}
.gallery-viewport img {
    visibility: visible;
}

.listing_details_video_img {
    position: relative;
}

.thumbnail {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.listing_details_video_btn_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button {
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.play-button:hover {
    opacity: 1;
}

/* @media (max-width: 991px) { */
.caroufredsel_wrapper {
    /* position: absolute !important; */
    /* opacity: 0;
    z-index: -10 !important; */
}

.gallery-thumbnails .thumbs-prev {
    position: absolute !important;
    top: -265px !important;
    left: 0 !important;
}

.gallery-thumbnails .thumbs-next {
    position: absolute !important;
    top: -265px !important;
    right: 0 !important;
}

.gallery-thumbnails .counter-overlay {
    opacity: 0 !important;
}

.thumb-navigation {
    position: absolute !important;
    z-index: -100 !important;
    opacity: 0 !important;
}

.gallery-thumbnails {
    height: 0 !important
}


.slick-next:before, .slick-prev:before{
    color: #000000 !important;
}



/* Scoped Privacy Policy Styles */
.privacy-policy-section h2 {
 color: var(--color1);    
}
.privacy-policy-section span{
    font-size: 16px;
    color: var(--color4);
    font-weight: bold;
}
.privacy-policy-section ul li{
    margin-left: 14px;
    list-style: circle;
}

@media(max-width: 1024px) {
    #sidebar-quick-links{
        position: unset;
    }
    #footer-social{
        display: block !important;
        height: auto !important;
    }
}

@media(max-width: 400px) {
    .agent-search-box .agent-meta{
        width: 100%;
    }
}
@media (max-width: 430px) {
    .image-preview{
        padding: 0px !important;
    }
    .image-viewport-container{
        height: 250px !important;
        max-height: 250px !important;
    }
    .gallery-thumbnails-images{
        margin-top: 0px !important;
    }
    .gallery-thumbnails .thumbs-prev i:before {
        color: white !important;
    }
    .gallery-thumbnails .thumbs-next i:before {
        color: white !important;
    }
    .gallery-thumbnails .thumbs-prev {
        top: -200px !important;
    }   

    .gallery-thumbnails .thumbs-next {
        top: -200px !important;
    }

}
.capitalize{
    text-transform: capitalize !important;
}
.cstm-btn{
    background-color: #8f1b19 !important;
    border: 1px solid #fff !important;
}
.cstm-btn:hover{
    background-color: var(--color4) !important;
    border-color: var(--color4) !important;
}
.cstm-bordered{
    border-bottom: 1px solid #d6d6d6 !important;
}
.property-list-image-thumb .centered img{
    object-fit: cover !important;
}
.property-grid-banner{
    position: relative;
    padding: 140px 0 100px;
    background-image: url("../../img/bg-about.webp"); /* image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.property-grid-heading h1{
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
}

.property-grid-banner .overlay{
    position: absolute;
    inset: 0;
    background: rgba(0, 16, 32, 0.295);
}

.property-grid-heading{
    margin-bottom: 40px;
}
.property-grid-layout{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tablet */
@media (max-width: 991px){
    .property-grid-layout{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 767px){
    .property-grid-layout{
        grid-template-columns: repeat(1, 1fr);
    }
}
.gallery-collage{
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
}
.bg-custom-gray{
    background-color: #f5f3ef !important;
}
/* Main big image */
.collage-item-0{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* top right */
.collage-item-1{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

/* top far right */
.collage-item-2{
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

/* bottom right middle */
.collage-item-3{
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

/* bottom far right */
.collage-item-4{
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.gallery-collage a{
    display: block;
    overflow: hidden;
    border-radius: 0px;
    position: relative;
}

.gallery-collage img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-collage a:hover img{
    transform: scale(1.05);
}
.tablet-photo-counter {
    display: none;
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    border-radius: 20px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 10;
    pointer-events: none; /* Allows click to pass straight through to the image */
}
@media (max-width: 991px) {
    .gallery-collage {
        /* Force it down to a single grid block view */
        grid-template-columns: 1fr;
        grid-template-rows: 350px; 
    }

    /* Force the main first image to fill the grid slot entirely */
    .collage-item-0 {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
    }

    /* Hide items 1 through 4 visually from layout, but keep them accessible in DOM for lightbox slider */
    .collage-item-1,
    .collage-item-2,
    .collage-item-3,
    .collage-item-4 {
        display: none !important;
    }

    /* Make the count badge visible on the main thumbnail */
    .tablet-photo-counter {
        display: block;
    }
}

/* Small Smartphone Viewport (600px and below) */
@media (max-width: 600px) {
    .gallery-collage {
        grid-template-rows: 250px; /* Adapts height dynamically to save phone screen real estate */
    }
}
.footer-innerest{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}
/* 3. Bohat Chote Mobile Phones ke liye (480px se neeche) */
@media (max-width: 670px) {
    .contentforbanner h1 {
        font-size: 48px !important; /* Isse zyada chota karenge to text boht barik ho jayega */
        font-weight: 600 !important;
    }
    
    .contentforbanner p {
        font-size: 30px !important; /* Mobile readability ke liye standard text size */
    }
}