@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5A8738;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #E5E9EC;
}

body .home {
    background: #FFFFFF;
}

.container-custom {
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.bg-primary {
    background: var(--primary-color) !important;
    color: #FFF;
}

.color-primary {
    color: var(--primary-color) !important;
}

.h2 {
    font-size: 40px;
}

.subtitle {
    font-size: 23px;
}

.label-medium {
    font-size: 20px;
    line-height: 1.3;
}

.btn.btn-custom-primary {
    background: var(--primary-color);
    color: #FFF;
    border-radius: 30px;
    padding: 6px 25px;
    font-size: 18px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    transition: .3s all ease;
}

.btn.btn-custom-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

@media (min-width: 767px) {
    .min-width-btn {
        min-width: 220px;
    }
}

@media (max-width: 767px) {
    .min-width-btn {
        min-width: 100%;
    }
}

.simple-link {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: .3s all ease;
}

.simple-link:hover {
    text-decoration: none;
}

.simple-link.medium {
    font-size: 14px;
}

.text-muted.simple-link {
    color: #bbbbbb !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background: #416328 !important;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    border-color: var(--primary-color) !important;
    color: #FFF !important;
    background-color: var(--primary-color) !important;
}

.header-area header {
    padding: 10px 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 0 5px 1px;
    border-radius: 10px;
    background-color: #FFF;
}

.header-area header .navbar-collapse ul.navbar-nav {
    gap: 15px;
}

.list-btn * {
    transition: .5s all ease;
}

.list-btn {
    font-weight: 700;
    color: #000;
    font-size: 18px;
    line-height: 1;
    padding: 5px 12px;
    box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
    border-radius: 30px;
    background: #FFF;
    transition: .5s all ease;
}

.list-btn .counter {
    color: #FFF;
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-btn:hover,
.list-btn:focus,
.list-btn:target,
.list-btn:focus-visible {
    background: var(--primary-color);
    color: #FFFF;
}

.list-btn:hover .counter,
.list-btn:focus .counter,
.list-btn:target .counter,
.list-btn:focus-visible .counter {
    background: #FFF;
    color: var(--primary-color);
}

.map-sec {
    background-color: #DEE7D7;
    background-image: url('../imgs/map-texture.png');
    background-size: cover;
    background-position: center center;
}


@media (max-width: 500px) {
    .modal-body {
        padding-right: 15px !important;
        padding-left: 15px !important;
        font-size: 13px;
    }

}

.shadow-normal {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 22px;
    background-image: url('../icons/unchecked.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background-image: url('../icons/checked.svg');
}

.table-bordered * {
    border-color: var(--primary-color);
}

table tr th:first-child,
table tr td:first-child {
    width: 30%;
}

table tr th:nth-child(2),
table tr th:nth-child(2),
table tr th:nth-child(3),
table tr th:nth-child(3) {
    width: 12%;
}

table tr th:nth-child(4),
table tr th:nth-child(4) {
    width: 43%;
}

.metal-and-wood table {
    font-size: 13px;
    line-height: 1.6;
}

.metal-and-wood .checkbox-wrapper input[type="checkbox"] {
    width: 15px;
    height: 17px;
}

@media (max-width: 767px) {

    table tr th:first-child,
    table tr td:first-child {
        width: 100%;
    }

    table tr th:nth-child(2),
    table tr td:nth-child(2),
    table tr th:nth-child(3),
    table tr td:nth-child(3) {
        width: 100%;
    }

    table tr th:nth-child(4),
    table tr td:nth-child(4) {
        width: 100%;
    }

    .label-medium {
        font-size: 17px;
    }
}

.border-color-primary,
.border-color-primary * {
    --bs-border-opacity: 1 !important;
    border-color: var(--primary-color) !important;
}


/*

footer .footer-top .footer-logo {
    width: 100%;
    max-width: 80%;
}

footer .bg-dark {
    background: #000000 !important;
    color: #FFF;
    font-size: 15px;
    font-weight: 300;
}

footer h6.footer-heading {
    position: relative;
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

footer h6.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 1px;
    width: 35px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
}

footer .footer-top ul {
    padding: 0;
    list-style: none;
}

footer .footer-top ul li {
    margin-bottom: 10px;
}

footer .footer-top ul li a {
    color: #FFF;
    text-decoration: none;
}

footer .footer-top p.footer-contact i {
    color: var(--primary-color);
    margin-right: 11px;
}

.footer-icons i {
    font-size: 23px;
    color: #FFF;
}

@media (min-width: 1000px) {
    .footer-top .col-md-4.col-12 {
        margin-right: 4em;
    }

}

@media (max-width: 767px) {
    footer .footer-top .footer-logo {
        width: 100%;
        max-width: 200px;
    }

    footer .bg-dark {
        font-size: 13px;
    }

    .footer-top .col-md-4.col-12 {
        text-align: center;
    }

    footer h6.footer-heading {
        font-size: 18px;
        margin-top: 20px;
    }

    .footer-icons i {
        font-size: 17px;
    }
}

*/


.property-filter {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 0 5px 1px;
    color: var(--primary-color);
}

.property-filter .filter-group {
    margin-bottom: 20px;
}

.property-filter .filter-label {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 500;
}

.property-filter .sub-label {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 8px;
}

.property-filter .range-slider {
    display: flex;
    gap: 5px;
}

.property-filter .range-slider input[type="range"] {
    width: 100%;
    accent-color: var(--primary-color);
}

.property-filter .toggle-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.property-filter .toggle {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: #fff;
    border-radius: 20px;
    padding: 1px 15px 0;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
}

.property-filter .toggle.active {
    background: var(--primary-color);
    color: #fff;
}

.property-filter .icon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.property-filter .action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.property-filter .reset,
.property-filter .apply-button {
    flex: 1;
    padding: 5px 5px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.property-filter .reset {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.property-filter .apply-button {
    background: var(--primary-color);
    border: none;
    color: #fff;
}


.property-card {
    padding: 8px;
    border: 0;
    box-shadow: rgba(99, 99, 99, 0.1) 0px 0 5px 1px;
    border-radius: 8px;
    background-color: #FFF;
    ;
}

.property-card .card-featured-img {
    aspect-ratio: 1/.7;
    object-fit: cover;
    object-position: center;
    border-radius: 9px;
    width: 100%;
}

.property-card .card-body {
    padding-right: 10px;
    padding-left: 0;
    padding-bottom: 5px;
}

.property-card .badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    color: #000;
    font-weight: 500;
}

.property-card a:hover {
    text-decoration: none !important;
    color: var(--primary-color);
}

.property-card .btn-details {
    font-size: 15px;
    text-decoration-thickness: 2px !important;
}

.property-card .like-property-btn {
    background: #FFF;
    color: var(--primary-color) !important;
    padding: 5px;
    border-radius: 50%;
    display: inline-flex;
    width: 28px;
    height: 28px;
    justify-content: center;
    align-items: center;
}

.property-card .like-property-btn i {
    margin-bottom: -2px;
}


.grn-box {max-width: 300px;}
.grn-box a{
    color: #FFF !important;
}

.pp-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 20px;
    border-radius: 10px;
}

.pp-list-grid-item h5 {
    font-size: 16px;
    font-weight: 700;
}

.pp-list-grid-item  img {
    max-width: 30px;
    height: 19px;
    margin-right: 8px;
}

.pp-list-grid-item .img-value {
    display: flex;
    padding-top: 5px;
    align-items: center;
}
.pp-list-grid-item.disabled{
    filter: grayscale(1);
    opacity: .5;
}

@media (max-width: 900px) and (min-width: 450px){
    .pp-list-grid{
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
    }
}
@media (max-width: 449px) {
    .pp-list-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}
@media (max-width: 1250px) and (min-width: 991px) {
    .properties-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .property-item {
        width: 100%;
    }

}

@media (max-width: 991px) {
    .property-filter {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        padding: 1rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        padding-top: 95px;
    }

    .property-filter.active {
        right: 0;
    }

    body.filter-open {
        overflow: hidden;
    }

    .close-filter-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1100;
    }

    body.filter-open::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .5;
        z-index: 9;
    }
}

@media (max-width: 767px) {
    .h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    .subtitle {
        font-size: 17px;
    }

    .list-btn span {
        font-size: 16px;
        text-align: left;
    }


}

header,
header *,
footer,
footer * {
    font-family: "ABeeZee", sans-serif !important;
}

header nav {
    padding-right: 20px !important;
    padding-left: 20px !important;
    height: 80px;
    position: relative;
    z-index: 9999;
}

header .navbar-brand img {
    max-width: 126px;
}

header .navbar-nav .nav-link {
    padding: 12px 16px !important;
    border-radius: .375rem;
    border: 1px solid #FFF;
}

header .navbar-nav .nav-link:hover {
    border-color: var(--primary-color);
    color: #4d4d4d;
}

header a.btn {
    padding: 12px 16px;
    font-style: italic;
    border-width: 2px;
}

header .nav-item.dropdown:hover .dropdown-menu {

    margin-top: 0;
    /* Optional: remove dropdown gap */
}

/* Main dropdown on hover */
.nav-item.dropdown:hover>.dropdown-menu {
    display: block;
}

/* Nested submenu hidden by default */
.dropdown-submenu .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: 0;
}

/* Show nested submenu only when .dropdown-submenu is hovered */
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}


header .dropdown {
    padding: 0 !important;
}

header a.dropdown-item {
    padding: 10px 15px;
    background: #FFF;
    color: #4d4d4d;
}

header a.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

@media (max-width: 767px) {
    header .container-fluid {
        background: #FFF;
        padding: 0 15px 15px;
        border-radius: 12px;
    }
}


footer {
    background-color: #2d2d2d;
    color: #FFF;
    padding-top: 5rem;
    padding-right: 4.5%;
    padding-left: 4.5%;
    padding-bottom: 2rem;
    font-size: 16px;
    line-height: 1.4;
}

footer img.footer-logo {
    max-width: 221px;
    width: 100%;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px){
.col-lg-4.logo-col {
    width: 30%;
}
}

h6.footer-heading {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 16px;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer .ct-col a:hover,
footer ul li a.footer-link:hover{ color: #96e858 !important;}
footer ul li a.footer-link,
footer .ct-col a {
    text-decoration: none;
    color: #FFF;
}

footer ul li {
    padding: 8px 0;
}

.footer-social-icons {
    margin-top: 5rem !important;
}

.footer-social-icons a {
    color: #96e858;
    font-size: 20px;
}
.footer-social-icons:hover {
    color: #FFF !important;
}
footer .ct-col p.footer-contact {display: flex;align-items: center;gap: 17px;}
footer .ct-col p.footer-contact i {
    color: #96e858;
}
.copyright_content {
    margin-top: 5rem;
    border-top: 1px solid #47474780;
    padding-top: 2rem;
}

@media (max-width: 992px){
    .footer-social-icons {
        margin-top: 1rem !important;
        margin-bottom: 3rem;
    }

}
@media (max-width: 767px){
    footer {
        font-size: 14px;
    }
h6.footer-heading {
    font-size: 23px;
    margin-bottom: 10px;
    padding-top: 20px;
    border-top: 1px solid #47474780;
}
.copyright_content {
    margin-top: 3rem;
}
.grn-box {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

}

@media (min-width: 767px){
    .grn-box.grn-box-2 {
    position: fixed;
    bottom: 20px;
}

.grn-box.grn-box-1 {
    position: fixed;
    bottom: 130px;
}
}