.properties-features-section,
.properties-page-hero {
    font-family: Poppins, sans-serif;
    font-weight: 500
}

.properties-features-section *,
.properties-page-hero *,
.property-details-modal *,
.property-listing-section * {
    box-sizing: border-box
}

.properties-page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 560px;
    overflow: hidden;
    background-color: #0b3d24;
    background-image: linear-gradient(90deg, rgba(0, 40, 20, .85) 0, rgba(0, 50, 25, .25) 65%, rgba(0, 0, 0, .02) 100%), url('../images/properties/properties-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.properties-page-hero::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 59%;
    background: rgba(0, 57, 28, .8);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
    z-index: -1
}

.properties-page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36%;
    width: 18%;
    background: rgba(0, 170, 67, .55);
    clip-path: polygon(84% 0, 100% 0, 16% 100%, 0 100%);
    z-index: -1
}

.properties-hero-content {
    position: relative;
    z-index: 2;
    max-width: 590px;
    padding: 45px 0
}

.properties-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px
}

.properties-breadcrumb a,
.properties-breadcrumb span {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #fff;
    text-decoration: none
}

.properties-breadcrumb a:hover {
    color: #9deb65
}

.properties-breadcrumb i {
    font-size: 12px;
    color: #a4ee6e
}

.properties-hero-content h1 {
    margin: 0 0 16px;
    font-family: Poppins, sans-serif;
    font-size: clamp(34px, 3.8vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff
}

.properties-hero-content p {
    max-width: 490px;
    margin: 0 0 22px;
    font-family: Poppins, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.75;
    color: #fff
}

.properties-hero-line {
    display: block;
    width: 65px;
    height: 4px;
    background: #7ed52b
}

.properties-features-section {
    padding: 30px 0 45px;
    background: #fff
}

.properties-features-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    padding: 25px 20px;
    border-radius: 24px;
    background: linear-gradient(100deg, #f0f9ee 0, #f7fbf6 50%, #edf8eb 100%)
}

.properties-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-width: 0;
    min-height: 65px;
    padding: 10px 15px;
    border-right: 1px solid #d2e7d1
}

.properties-feature-item:last-child {
    border-right: none
}

.properties-feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: #0b662d;
    font-size: 36px;
    line-height: 1
}

.properties-feature-icon i {
    line-height: 1
}

.properties-feature-content,
.property-item {
    min-width: 0
}

.properties-feature-content h2 {
    margin: 0 0 5px;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #0e3021
}

.properties-feature-content p {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: #44574a
}

.properties-page-hero::after,
.properties-page-hero::before {
    content: none;
    display: none
}

.property-listing-section {
    padding: 65px 0 85px;
    background: #fff;
    font-family: Poppins, sans-serif;
    font-weight: 500
}

.property-listing-heading {
    text-align: center;
    margin-bottom: 28px
}

.property-section-label {
    display: block;
    color: #16812e;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px
}

.property-listing-heading h2 {
    margin: 0;
    color: #0b3020;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.3;
    font-weight: 500
}

.property-filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px
}

.property-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 23px;
    border: 1px solid #d6e1d9;
    border-radius: 50px;
    background: #fff;
    color: #142c20;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s
}

.property-filter-btn i {
    font-size: 18px;
    color: #0d6330
}

.property-filter-btn.active,
.property-filter-btn:hover {
    background: #08602b;
    border-color: #08602b;
    color: #fff
}

.property-filter-btn.active i,
.property-filter-btn:hover i {
    color: #fff
}

.property-details-btn:focus-visible,
.property-filter-btn:focus-visible,
.property-modal-close:focus-visible {
    outline: #8edb62 solid 3px;
    outline-offset: 3px
}

.property-card-grid {
    align-items: stretch
}

.property-item[hidden] {
    display: none !important
}

.property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #157924f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(10, 50, 25, .035);
    transition: transform .3s, box-shadow .3s
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(10, 50, 25, .1)
}

.property-card-image {
    position: relative;
    margin: 8px 8px 0;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8f0e8
}

.property-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s
}

.property-card:hover .property-card-image img {
    transform: scale(1.045)
}

.property-status {
    position: absolute;
    top: 13px;
    left: 13px;
    max-width: calc(100% - 26px);
    padding: 7px 12px;
    border-radius: 20px;
    background: #07652c;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3
}

.property-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 22px
}

.property-location {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #254030;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px
}

.property-location i {
    color: #168d35;
    font-size: 16px
}

.property-card-body h3 {
    margin: 0 0 10px;
    color: #0b2e20;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4
}

.property-card-body>p {
    margin: 0 0 20px;
    color: #405247;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7
}

.property-specifications {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 17px;
    margin-top: auto;
    margin-bottom: 20px
}

.property-specifications span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #213e2c;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6
}

.property-specifications i {
    font-size: 16px;
    color: #146b34
}

.property-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 16px;
    min-height: 39px;
    padding: 8px 17px;
    border: 1px solid #065812;
    border-radius: 7px;
    background: #fff;
    color: #11652b;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .25s, color .25s
}

.property-details-btn:hover {
    background: #0a6a2d;
    color: #fff
}

.property-empty-message {
    text-align: center;
    padding: 40px 0;
    color: #42584a;
    font-size: 16px
}

.property-enquiry-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 50px;
    padding: 25px 35px;
    border-radius: 19px;
    background: linear-gradient(110deg, #096b35, #073e24);
    color: #fff
}

.property-enquiry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 90px;
    border-radius: 18px
}

.property-enquiry-icon i {
    color: #bcf37f;
    font-size: 43px
}

.property-enquiry-content {
    flex: 1;
    min-width: 0;
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, .3)
}

.property-enquiry-content h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 24px;
    font-weight: 500
}

.property-enquiry-content p {
    margin: 0;
    color: #e8f3e9;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7
}

.property-enquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 46px;
    padding: 11px 23px;
    border-radius: 50px;
    background: #fff;
    color: #0c5d2c;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap
}

.property-enquiry-btn:hover {
    background: #dff4d6;
    color: #064923
}

.property-details-modal {
    position: fixed;
    width: min(92vw, 650px);
    max-width: 650px;
    max-height: 90dvh;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: #102e21;
    font-family: Poppins, sans-serif;
    font-weight: 500;
    overflow-y: auto;
    box-shadow: 0 25px 90px rgba(0, 0, 0, .2)
}

.property-details-modal::backdrop {
    background: rgba(0, 25, 12, .72)
}

.property-modal-content {
    position: relative
}

.property-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #163826;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .15)
}

.property-modal-image {
    height: 260px;
    background: #e8f1e9
}

.property-modal-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.property-modal-body {
    padding: 28px
}

.property-modal-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #19843b;
    font-size: 14px
}

.property-modal-body h2 {
    margin-bottom: 10px;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.4
}

.property-modal-location {
    color: #167737;
    font-size: 15px
}

#modalPropertyDescription {
    color: #48584c;
    font-size: 16px;
    line-height: 1.75
}

.property-modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px
}

.property-modal-feature {
    padding: 8px 13px;
    border-radius: 25px;
    background: #edf7ec;
    color: #135c2c;
    font-size: 13px
}

.property-modal-enquiry {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 40px;
    background: #0a632d;
    color: #fff;
    font-size: 15px;
    text-decoration: none
}

.property-modal-enquiry:hover {
    background: #084a23;
    color: #fff
}

@media (max-width:1199.98px) {
    .properties-page-hero {
        min-height: 330px
    }

    .properties-feature-item {
        gap: 10px;
        padding: 10px 8px
    }

    .properties-feature-icon {
        width: 38px;
        font-size: 30px
    }

    .properties-feature-content h2 {
        font-size: 14px
    }

    .properties-feature-content p {
        font-size: 12px
    }

    .property-card-image {
        height: 195px
    }

    .property-card-body {
        padding: 17px
    }

    .property-card-body h3 {
        font-size: 19px
    }
}

@media (max-width:991.98px) {
    .properties-page-hero {
        min-height: 320px;
        background-position: 60% center
    }

    .properties-page-hero::before {
        width: 78%
    }

    .properties-hero-content {
        max-width: 530px
    }

    .properties-features-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 15px
    }

    .properties-feature-item {
        justify-content: flex-start;
        padding: 20px;
        border-right: 0
    }

    .properties-feature-item:nth-child(odd) {
        border-right: 1px solid #d2e7d1
    }

    .properties-feature-item:nth-child(-n+2) {
        border-bottom: 1px solid #d2e7d1
    }

    .property-listing-section {
        padding: 55px 0 65px
    }

    .property-card-image {
        height: 230px
    }

    .property-enquiry-banner {
        gap: 18px;
        padding: 24px
    }
}

@media (max-width:767.98px) {
    .properties-page-hero {
        min-height: 310px;
        background-position: 65% center
    }

    .properties-page-hero::before {
        width: 100%;
        background: rgba(0, 43, 22, .6)
    }

    .properties-page-hero::after {
        display: none
    }

    .properties-hero-content {
        max-width: 100%;
        padding: 40px 0
    }

    .properties-hero-content h1 {
        font-size: 36px
    }

    .properties-hero-content p {
        font-size: 16px
    }

    .properties-features-section {
        padding: 22px 0 35px
    }

    .property-filter-tabs {
        gap: 9px
    }

    .property-filter-btn {
        font-size: 13px;
        padding: 9px 15px
    }

    .property-card-image {
        height: 215px
    }

    .property-enquiry-banner {
        flex-wrap: wrap;
        gap: 18px
    }

    .property-enquiry-icon {
        flex-basis: 65px;
        width: 65px;
        height: 65px
    }

    .property-enquiry-content {
        flex: 1 1 65%;
        padding-left: 15px
    }

    .property-enquiry-btn {
        margin-left: auto
    }
}

@media (max-width:575.98px) {
    .properties-page-hero {
        min-height: 300px
    }

    .properties-hero-content h1 {
        font-size: 32px
    }

    .properties-breadcrumb {
        margin-bottom: 15px
    }

    .properties-breadcrumb a,
    .properties-breadcrumb span,
    .property-enquiry-content p {
        font-size: 14px
    }

    .properties-features-wrapper {
        padding: 10px 7px;
        border-radius: 17px
    }

    .properties-feature-item {
        gap: 9px;
        padding: 15px 8px
    }

    .properties-feature-icon {
        width: 29px;
        height: 32px;
        font-size: 26px
    }

    .properties-feature-content h2,
    .property-section-label {
        font-size: 13px
    }

    .properties-feature-content p {
        font-size: 11px
    }

    .property-listing-section {
        padding: 40px 0 50px
    }

    .property-listing-heading h2 {
        font-size: 27px
    }

    .property-filter-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .property-filter-btn {
        width: 100%;
        padding: 10px 8px;
        gap: 6px;
        min-height: 48px;
        font-size: 12px;
        white-space: normal
    }

    .property-card-image {
        height: 220px
    }

    .property-card-body h3 {
        font-size: 19px
    }

    .property-enquiry-banner {
        margin-top: 35px;
        padding: 22px
    }

    .property-enquiry-content h2 {
        font-size: 20px
    }

    .property-enquiry-btn {
        width: 100%;
        margin: 0
    }

    .property-modal-image {
        height: 200px
    }

    .property-modal-body {
        padding: 22px
    }

    .property-modal-body h2 {
        font-size: 23px
    }
}

@media (max-width:359px) {
    .properties-hero-content h1 {
        font-size: 29px
    }

    .properties-feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }

    .properties-feature-content h2 {
        font-size: 12px
    }

    .properties-feature-content p,
    .property-filter-btn {
        font-size: 11px
    }

    .property-enquiry-icon {
        display: none
    }

    .property-enquiry-content {
        padding-left: 0;
        border-left: none
    }
}

.property-enquiry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    background: 0 0;
    border: none
}

.property-enquiry-icon-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}