body {
    margin: 0;
    font-family: Outfit;
    background-color: #fff;
}

h1,
h2,
h3 {
    font-family: "DM Serif Display", serif;
}

h2,
h3 {
    font-size: 35px !important;
    font-weight: 300 !important;
}

.container {
    max-width: 1240px;
}

/* .is-sticky .main-header-area .classynav ul li a {
    color: #fff !important;
} */
.classynav ul {
    display: flex;
    align-items: center;
}

.dark.classy-nav-container a:focus {
    color: #fff !important;
}

/* .is-sticky .main-header-area .classynav ul li a {
    color: #fff !important;
} */
.dark.classy-nav-container .cn-dropdown-item a:hover {
    color: #afb700 !important;
}

.dark .classynav ul li .dropdown li a:hover {
    color: #afb700 !important;
}

/* Default styles for title and subtitle */
.page-title-div {
    text-align: center;
    font: normal normal 50px/111px "DM Serif Display", serif;
    letter-spacing: 1.54px;
    color: #992785;
    padding: 5px;
    height: auto;
    /* Remove fixed height */
    line-height: normal;
    margin: 10px 0;
    /* Add some margin */
}

.page-subtitle-div {
    text-align: center;
    font: normal normal 300 30px/111px "Outfit", sans-serif;
    letter-spacing: 0.89px;
    color: #000000;
    padding: 5px;
    height: auto;
    /* Remove fixed height */
    line-height: normal;
    margin: 5px 0;
    /* Add some margin */
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
    .page-title-div {
        font-size: 30px;
        /* Adjust font size */
        line-height: 1.2;
        /* Adjust line height */
        padding: 0 20px;
        /* Add padding for smaller screens */
    }

    .page-subtitle-div {
        font-size: 20px;
        /* Adjust font size */
        line-height: 1.2;
        /* Adjust line height */
        padding: 0 20px;
        /* Add padding for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .page-title-div {
        font-size: 24px;
        /* Further adjust font size for very small screens */
        line-height: 1.2;
        /* Adjust line height */
        padding: 0 10px;
        /* Add padding for very small screens */
    }

    .page-subtitle-div {
        font-size: 18px;
        /* Further adjust font size for very small screens */
        line-height: 1.2;
        /* Adjust line height */
        padding: 0 10px;
        /* Add padding for very small screens */
    }
}

.search-bar .navbar {
    background: #C6BEC42C 0% 0% no-repeat padding-box;
    border: 1px solid #992785;
    border-radius: 13px;
    opacity: 1;
}

.search-bar .Properties-for-sale {
    margin-top: -25px;
    gap: 28px;
}

.search-bar .all-properties {
    text-decoration: none;
    width: 232px;
    height: 42px;
    background: #E00069 0% 0% no-repeat padding-box;
    border-radius: 37px;
    opacity: 1;
}

.search-bar .all-properties a {
    text-decoration: none;
    font-size: 17px !important;
    font-weight: 700;
    letter-spacing: 0px;
    color: #FFFFFF;
}

.search-bar form {
    gap: 12px;
    margin: 20px 25px 20px 25px;
}

.search-bar .enter-location {
    margin-top: -46px;
    width: 100%;
}

.search-bar .enter-location label {
    text-align: left;
    font: normal normal 500 24px/38px Outfit;
    letter-spacing: 0px;
    color: #992785;
    opacity: 1;
}

.search-bar .form-control::placeholder {
    font: normal normal normal 22px Outfit;
    letter-spacing: 0px;
    color: #9D979B;
    opacity: 1;
}

.search-bar .form-control {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #992785;
    border-radius: 10px;
    opacity: 1;
    height: 52px;
}

.search-bar button {
    width: 270px;
    height: 52px;
    background: #AFB700 0% 0% no-repeat padding-box;
    border: 1px solid #AFB700;
    border-radius: 10px;
    opacity: 1;
    gap: 10px;
    font-size: 22px;
}

.search-bar .form-group {
    width: 126px;
    height: 52px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #992785;
    border-radius: 10px;
    opacity: 1;
    justify-content: space-evenly;
    margin-bottom: 0px !important;
}

.search-bar .form-group #html {
    width: 45px;
    height: 45px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #992785;
    border-radius: 10px;
    opacity: 1;
}

#html,
#buy {
    display: none;
}

/* Create a custom checkbox */
#html+label {
    position: relative;
    cursor: pointer;
    user-select: none;
    width: 100%;
    display: flex;
    left: 60px;
}

#buy+label {
    position: relative;
    cursor: pointer;
    user-select: none;
    /* width: 100%; */
    display: flex;
    left: 26px;
}

.form-group label {
    font-size: 22px;
    color: #9D979B;
}

#html+label::before {
    content: '';
    position: absolute;
    left: -46px;
    left: 10;
    width: 36px;
    height: 36px;
    border: 1px solid #992785;
    border-radius: 10px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    transition: background-color 0.3s, border-color 0.3s;
}

#buy+label::before {
    content: '';
    position: absolute;
    left: -45px;
    left: 10;
    width: 36px;
    height: 36px;
    border: 1px solid #992785;
    border-radius: 10px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    transition: background-color 0.3s, border-color 0.3s;
}

#html:checked+label::before {
    background-color: transparent;
    /* background-color: #007bff;
    border-color: #007bff; */
}

#buy#html:checked+label::before {
    background-color: transparent;
}

#html:checked+label::after {
    content: '✔';
    position: absolute;
    left: -38px;
    top: -2px;
    color: #992785;
    font-size: 25px;
}

#buy:checked+label::after {
    content: '✔';
    position: absolute;
    left: -37px;
    top: -2px;
    color: #992785;
    font-size: 25px;
}

.listing {
    background: #ffffff;
    border: 1px solid #C6BEC4;
    border-radius: 11px;
    overflow: hidden;
}

.listing_location {
    padding-left: 20px !important;
    padding-top: 28px;
    padding-bottom: 20px;
    padding-right: 20px;
    background: #fff;
    margin-top: 0 !important;
}

.sold-cards p {
    font-family: Outfit;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #685d5d;
}

.listing_price {
    position: absolute;
    left: 50%;
    /* Move element to the center */
    transform: translateX(-50%);
    /* Adjust position to truly center */
    background-color: #992785;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    z-index: 1;
}

.valuation p {
    text-align: center;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    padding: 0 3%;
}

.Why-work-with-us {
    padding: 100px 20px 0px 20px;
}

.work-with-us-content {
    max-width: 100% !important;
}

.Why-work-with-us img {
    width: 100%;
    height: auto;
}

.reviews-section {
    margin: 0 auto;
    padding: 150px 20px 0px 20px !important;
    text-align: center;
}

.customers-say {
    padding: 90px 20px 0px 20px !important;
}

.work-with-us-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    padding: 70px !important;
    box-shadow: 0 4px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #C6BEC4;
    margin: 20px 0;
}

.our-story .body-component p {
    padding: 0px;
}

.our-story .book-now {
    display: inline-flex;
    top: 6699px;
    left: 867px;
    width: 193px !important;
    height: 37px !important;
    text-align: center;
    font: normal normal 600 19px Outfit;
    background: #AFB700;
    color: #fff !important;
    border-radius: 28px;
    opacity: .8;
}

.our-story .book-now:hover {
    background-color: #afb700c7;
}

.letting-experience {
    margin-top: 100px !important;
}

.Brilliant {
    margin: 0 auto;
    padding: 180px 20px 100px 20px !important;
    text-align: center;
}

.choosing-Urban {
    padding: 75px 20px 100px 20px !important;
}

.landlords {
    padding: 58px 20px 100px 20px !important;
}

.valuation {
    background-image: url(/images/about-us/valuation.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.valuation .body-component p {
    padding: 0 20% !important;
}

.owl-carousel .item {
    display: flex;
    align-items: center;
}

.owl-carousel .item img {
    /* width: 100%; */
    height: auto !important;
}

.custom-prev i,
.custom-next i {
    font-size: 48px !important;
    color: #992785 !important;
}


@media screen and (min-width: 991px) {
    .classynav .dropdown {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .page-title-div {
        height: 100px;
        line-height: normal;
    }

    .search-bar .form-group {
        width: 100%;
    }

    .search-bar .form-control::placeholder {
        font: normal normal normal 16px Outfit;
    }

    .search-bar .Properties-for-sale {
        margin-top: -25px;
        gap: 5px;
        flex-direction: column;
    }

    .search-bar .all-properties {
        width: 100%;
        margin-bottom: 5px;
    }

    .search-bar .all-properties a {
        text-decoration: none;
        font-size: 12px !important;
        font-weight: 400;
    }

    #html+label,
    #buy+label {
        font-size: 16px;
    }

    .search-bar button {
        width: 100%;
    }

    #buy+label {
        position: relative;
        cursor: pointer;
        user-select: none;
        width: auto;
        display: flex;
        left: 10px;
    }

    .Why-work-with-us {
        padding: 50px 20px 0px 20px;
    }

    .body-component p {
        padding: 0;
    }

    .work-with-us-section {
        padding: 30px !important;
    }

    #html:checked+label::after {
        left: -37px;
        top: -7px;
    }

    #buy+label::before {
        content: '';
        position: absolute;
        left: -55px;
        left: 10;
        width: 36px;
        height: 36px;
        border: 1px solid #992785;
        border-radius: 10px;
        background: #FFFFFF 0% 0% no-repeat padding-box;
        transition: background-color 0.3s, border-color 0.3s;
    }

    #buy:checked+label::after {
        left: -47px;
        top: -7px;
    }

    /* Responsive property listing */
    .listing {
        margin-bottom: 20px;
    }

    .listing_image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .sold-cards p {
        font-size: 14px;
        line-height: 1.4;
    }
}




/* seller-page */
.custom-btn {
    background-color: #E00069 !important;
}

.custom-btn:hover {
    background-color: #d41653 !important;
    color: #fff;
}

.page-title-div {
    margin-top: 4%;
}

.card-carousel {
    margin-top: 7%;
}

.card-carousel h2 {
    color: #A22D6C;
    font-size: 30px !important;
    margin-bottom: 15px;
}

.selling-content {
    background-color: white;
    border-radius: 10px;
    padding: 38px 22px;
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); */
    margin: 20px 0;
    border: 1px solid #C6BEC4;
}

.Village-achieve .body-component b {
    font-weight: 400 !important;
    opacity: .7;
}

.property-content {
    background-color: white;
    border-radius: 10px;
    padding: 70px 24px;
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); */
    border: 1px solid #C6BEC4;
    margin: 20px 0;
}

.property-valuation .body-component p {
    padding: 0px !important;
}

.selling-btn {
    background-color: #E00069 !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.selling-btn:hover {
    background-color: #d41653 !important;
}


.post-slide {
    background: #fff;
    margin: 20px 15px 20px;
    border-radius: 15px;
    padding-top: 1px;
    box-shadow: 0px 14px 22px -9px #bbcbd8;
}

.post-slide .post-img {
    position: relative;
    overflow: hidden;
    /* border-radius: 10px; */
    /* margin: -12px 15px 8px 15px; */
    /* margin-left: -10px; */
}

.post-slide .post-img img {
    width: 100%;
    height: auto;
    transform: scale(1, 1);
    transition: transform 0.2s linear;
}

.post-slide:hover .post-img img {
    transform: scale(1.1, 1.1);
}

.post-slide .over-layer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    background: linear-gradient(-45deg,
            rgba(6, 190, 244, 0.75) 0%,
            rgba(45, 112, 253, 0.6) 100%);
    transition: all 0.5s linear;
}

.post-slide:hover .over-layer {
    opacity: 1;
    text-decoration: none;
}

.post-slide .over-layer i {
    position: relative;
    top: 45%;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 25px;
}

.post-slide .post-content {
    background: #fff;
    padding: 15px 15px 10px 40px;
    border-radius: 15px;
}

.post-slide .post-title a {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.post-slide .post-title a:hover {
    text-decoration: none;
    color: #3498db;
}

.post-slide .post-description {
    line-height: 24px;
    color: #808080;
    margin-bottom: 25px;
}

.post-slide .post-date {
    font: normal normal normal 19px/24px Outfit;
    letter-spacing: 0px;
    color: #2F2D2E;
}

.post-slide .post-date i {
    font-size: 20px;
    margin-right: 8px;
    color: #cfdace;
}

.post-slide .read-more {
    padding: 7px 20px;
    float: right;
    font-size: 12px;
    background: #2196f3;
    color: #ffffff;
    box-shadow: 0px 10px 20px -10px #1376c5;
    border-radius: 25px;
    text-transform: uppercase;
}

.post-slide .read-more:hover {
    background: #3498db;
    text-decoration: none;
    color: #fff;
}

.owl-controls .owl-buttons {
    text-align: center;
    margin-top: 20px;
}

.owl-controls .owl-buttons .owl-prev {
    background: #fff;
    position: absolute;
    top: -13%;
    left: 15px;
    padding: 0 18px 0 15px;
    border-radius: 50px;
    box-shadow: 3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-next {
    background: #fff;
    position: absolute;
    top: -13%;
    right: 15px;
    padding: 0 15px 0 18px;
    border-radius: 50px;
    box-shadow: -3px 14px 25px -10px #92b4d0;
    transition: background 0.5s ease 0s;
}

.owl-controls .owl-buttons .owl-prev:after,
.owl-controls .owl-buttons .owl-next:after {
    content: "\f104";
    font-family: FontAwesome;
    color: #333;
    font-size: 30px;
}

.owl-controls .owl-buttons .owl-next:after {
    content: "\f105";
}

@media only screen and (max-width: 1280px) {
    .post-slide .post-content {
        padding: 10px 15px 5px 15px;
    }
}




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

    h2,
    h3 {
        font-size: 24px !important;
    }

    .classynav ul {
        display: block;
    }

    .our-story {
        padding: 30px 20px !important;
    }

    .our-story .body-component {
        margin: 10px;
    }

    .consultation-section {
        padding: 38px 15px 42px 15px !important;
    }

    .selling-section {
        margin-top: 0px !important;
    }

    .selling-content {
        margin-top: 0px !important;
    }

    .card-carousel {
        margin-top: 15%;
    }

    .Brilliant {
        margin: 0 auto;
        padding: 60px 20px 60px 20px !important;
    }

    .owl-carousel .item {
        display: flex;
        align-items: center;
        justify-content: center;
    }


}

/* Enhanced Search Bar Additions for newhome.css */

/* Improved page titles with modern typography */
.page-title-div {
    text-align: center;
    font: normal normal 500 clamp(32px, 5vw, 50px)/1.2 "DM Serif Display", serif;
    letter-spacing: 1.54px;
    background: linear-gradient(135deg, #992785 0%, #E00069 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 20px 5px;
    margin: 20px 0;
    position: relative;
}

.page-title-div::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #AFB700 0%, #C4D442 100%);
    border-radius: 2px;
}

.page-subtitle-div {
    text-align: center;
    font: normal normal 300 clamp(18px, 3vw, 24px)/1.4 "Outfit", sans-serif;
    letter-spacing: 0.89px;
    color: #64748b;
    padding: 5px;
    margin: 10px 0 40px 0;
}

/* Enhanced search bar responsiveness */
@media screen and (max-width: 768px) {
    .search-bar .form-control::placeholder {
        font: normal normal normal 14px Outfit;
    }
    
    .search-bar .all-properties a {
        font-size: 14px !important;
        font-weight: 500;
    }
    
    .search-bar form {
        margin: 15px 20px;
    }
}

/* Smooth transitions for all interactive elements */
.search-bar * {
    transition: all 0.2s ease;
}

/* Enhanced focus states for better accessibility */
.search-bar input:focus,
.search-bar select:focus,
.search-bar button:focus {
    outline: 2px solid #AFB700;
    outline-offset: 2px;
}

/* Loading animation improvements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar .navbar {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced hover states */
.search-bar .all-properties:hover a {
    color: #ffffff !important;
}

/* Improved spacing for mobile */
@media screen and (max-width: 480px) {
    .search-bar .Properties-for-sale {
        gap: 10px;
    }
    
    .search-bar .all-properties {
        height: 44px;
        min-width: 180px;
    }
}

/* Enhanced Property Cards - Add to newhome.css */

/* Touch device specific styles */
.touch-active {
    transform: scale(0.98) !important;
    transition: transform 0.1s ease !important;
}

/* Enhanced listing price positioning */
.listing_price {
    position: absolute;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #992785 0%, #E00069 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(153, 39, 133, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Enhanced sold-cards styling */
.sold-cards p {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0;
}

.sold-cards {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(153, 39, 133, 0.1);
}

/* Property address styling */
.property-address {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Enhanced responsive breakpoints */
@media screen and (max-width: 1200px) {
    .listing {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 768px) {
    .listing_price {
        font-size: 12px;
        padding: 6px 12px;
        top: 12px;
    }
    
    .favorite-btn {
        width: 36px;
        height: 36px;
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
    
    .property-status {
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .view-details-btn {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .feature-item {
        font-size: 12px;
        padding: 2px 6px;
        gap: 2px;
    }
    
    .property-features {
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .listing_image {
        height: 200px;
    }
    
    .sold-cards {
        padding: 16px;
    }
    
    .property-address {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .property-features-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .property-features {
        justify-content: flex-start;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .listing {
        border: 2px solid #000;
    }
    
    .listing_price {
        background: #000;
        color: #fff;
        border: 1px solid #fff;
    }
    
    .feature-item {
        background: #000;
        color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .listing,
    .listing *,
    .listing::before,
    .listing::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .listing {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .favorite-btn,
    .view-details-btn {
        display: none;
    }
    
    .listing_price {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
        background: #333;
        color: #fff;
    }
}

/* Loading states */
.listing.loading {
    pointer-events: none;
    opacity: 0.7;
}

.listing.loading .listing_image_container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Focus indicators for better accessibility */
.listing:focus-within {
    outline: 2px solid #AFB700;
    outline-offset: 2px;
}

.favorite-btn:focus,
.view-details-btn:focus {
    outline: 2px solid #AFB700;
    outline-offset: 2px;
}

/* Critical CSS Overrides - Add at the end of newhome.css */

/* Reset conflicting listing styles */
.listing {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    transform-style: preserve-3d !important;
    margin-bottom: 20px !important;
}

/* Ensure proper grid behavior */
.featured_row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.featured_row > [class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
    position: relative !important;
    width: 100% !important;
    min-height: 1px !important;
}

/* Fix Bootstrap grid */
@media (min-width: 576px) {
    .col-sm-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (min-width: 1200px) {
    .col-xl-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Fix image container */
.listing_image {
    position: relative !important;
    overflow: hidden !important;
    height: 250px !important;
}

.listing_image_container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.listing_image_container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    filter: brightness(1) contrast(1.05) !important;
}

/* Fix price badge */
.listing_price {
    position: absolute !important;
    top: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #992785 0%, #E00069 100%) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(153, 39, 133, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.2s ease !important;
    
}

/* Fix content area */
.listing_content {
    position: relative !important;
    z-index: 2 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

.listing_location {
    padding: 24px 20px 20px 20px !important;
    background: transparent !important;
    margin-top: 0 !important;
}

/* Fix sold-cards */
.sold-cards {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
    border: 1px solid rgba(153, 39, 133, 0.1) !important;
}

.sold-cards p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0 !important;
}

/* Ensure hover effects work */
.listing:hover {
    transform: translateY(-12px) rotateX(2deg) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(153, 39, 133, 0.15) !important;
    border-color: rgba(153, 39, 133, 0.3) !important;
}

.listing:hover .listing_image_container img {
    transform: scale(1.08) !important;
    filter: brightness(1.1) contrast(1.1) !important;
}

.listing:hover .listing_price {
    transform: translateX(-50%) translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(153, 39, 133, 0.4) !important;
}

.listing:hover .sold-cards {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Property features styling */
.property-address {
    font-size: 14px !important;
    color: #64748b !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.property-features-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 12px !important;
}

.property-type {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.property-features {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    background: rgba(153, 39, 133, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

.feature-item:hover {
    background: rgba(153, 39, 133, 0.15) !important;
    transform: translateY(-1px) !important;
}

.feature-item svg {
    width: 16px !important;
    height: 16px !important;
    fill: #E00069 !important;
    transition: all 0.2s ease !important;
}

.feature-item:hover svg {
    fill: #992785 !important;
    transform: scale(1.1) !important;
}

/* Favorite button */
.favorite-btn {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    font-size: 18px !important;
    color: #64748b !important;
}

.favorite-btn:hover {
    background: #E00069 !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(224, 0, 105, 0.3) !important;
}

.favorite-btn.active {
    background: #E00069 !important;
    color: white !important;
}

/* Property status badge */
.property-status {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    padding: 6px 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.2s ease !important;
}

.property-status.for-sale {
    background: rgba(34, 197, 94, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.property-status.to-let {
    background: rgba(59, 130, 246, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.property-status.sold,
.property-status.let {
    background: rgba(156, 163, 175, 0.9) !important;
    color: white !important;
    border: 1px solid rgba(156, 163, 175, 0.3) !important;
}

/* View details button */
.view-details-btn {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #992785 0%, #E00069 100%) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(153, 39, 133, 0.3) !important;
}

.listing:hover .view-details-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #7a1f5f 0%, #b8005a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(153, 39, 133, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Results info */
.results-info {
    font-weight: 500 !important;
    color: #64748b !important;
    font-size: 16px !important;
    margin-bottom: 24px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(153, 39, 133, 0.1) !important;
    width: 100% !important;
}

/* No results styling */
.no-results {
    text-align: center !important;
    padding: 60px 20px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(153, 39, 133, 0.1) !important;
    margin: 40px 0 !important;
}

.no-results p {
    color: #64748b !important;
    font-size: 18px !important;
    margin-bottom: 16px !important;
}

.no-results h4 {
    color: #374151 !important;
    font-size: 20px !important;
}

.no-results a {
    color: #992785 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
}

.no-results a:hover {
    color: #E00069 !important;
    text-decoration: underline !important;
}

/* Mobile responsive fixes */
@media screen and (max-width: 768px) {
    .listing:hover {
        transform: translateY(-6px) !important;
    }
    
    .listing_image {
        height: 220px !important;
    }
    
    .sold-cards {
        padding: 16px !important;
    }
    
    .sold-cards p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .feature-item {
        font-size: 12px !important;
        padding: 3px 6px !important;
    }
    
    .view-details-btn {
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .favorite-btn {
        width: 36px !important;
        height: 36px !important;
        top: 12px !important;
        right: 12px !important;
        font-size: 16px !important;
    }
    
    .property-status {
        top: 12px !important;
        left: 12px !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
    
    .listing_price {
        font-size: 12px !important;
        padding: 6px 12px !important;
        top: 12px !important;
    }
}