:root {
    --primary-green: #72B944;
    --primary-green-hover: #5fa13a;
}


a,
a:hover,
a:focus {
    text-decoration: none !important;
}

.link-item:hover,
.listing-item:hover,
.article-item:hover,
.property-tags .tag:hover,
.header-link:hover,
.footer-link:hover {
    text-decoration: none !important;
}

/* Color palette */
.bg-black {
    background-color: #262626 !important;
}

.text-black {
    color: #262626 !important;
}

.text-white {
    color: #FFFFFF !important;
}

.text-green {
    color: var(--primary-green) !important;
}

.btn-green {
    background-color: var(--primary-green);
    color: #fff;
    border: none;
}

.btn-green:hover {
    background-color: var(--primary-green-hover);
    color: #fff;
}

.bg-green {
    background-color: var(--primary-green) !important;
    color: #FFFFFF;
}

.border-green{
    border-color: var(--primary-green) !important;
}

.hero {
    background-color: #FFFFFF;
    min-height: 60vh;
}

body {
    background-color: #FFFFFF;
    color: #262626;
}

.header-link {
    color: #72B944;
    text-decoration: none;
    margin-left: 8px;
    margin-right: 8px;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.navbar-nav .nav-link {
    color: #262626 !important;
    font-size: 1rem;
    transition: color 0.2s;
}

.navbar-nav .nav-link.fw-bold {
    color: var(--primary-green) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
    background: #f6f6f6;
}

.bg-white {
    background-color: #fff !important;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5 !important;
}

.main-navbar {
    background: transparent !important;
    min-height: 60px;
    box-shadow: none;
    border-bottom: none !important;
    z-index: 10;
    border-radius: 0;
    margin: 0 auto 16px auto;
    margin-top: 12px;
    width: 100%;
    backdrop-filter: none;
    position: static;
    top: 0;
}

.main-menu {
    width: 100%;
    justify-content: center !important;
}

.main-menu .nav-link {
    color: #262626 !important;
    font-weight: 600;
    font-size: 1rem;
    background: transparent !important;
    position: relative;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    padding: 14px 16px !important;
    margin: 0 2px;
    border-radius: 24px;
    letter-spacing: 0.01em;
    outline: none;
}

.nav-main-menu a {
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    padding: 14px 16px !important;
    margin: 0 2px;
    border-radius: 24px;
    letter-spacing: 0.01em;
}

.nav-main-menu .nav-link.active,
.nav-main-menu .nav-link.fw-bold,
.nav-main-menu .nav-link:hover,
.nav-main-menu .nav-link:focus {
    color: var(--primary-green) !important;
    background: transparent !important;
    box-shadow: none;
}


.main-menu .nav-link.active,
.main-menu .nav-link.fw-bold,
.main-menu .nav-link:hover,
.main-menu .nav-link:focus {
    color: var(--primary-green) !important;
    background: transparent !important;
    box-shadow: none;
}

.main-menu .nav-link.active::after,
.main-menu .nav-link:hover::after,
.main-menu .nav-link:focus::after {
    content: '';
    display: block;
    margin: 8px auto 0 auto;
    width: 36px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.main-menu .dropdown-toggle::after {
    margin-left: 4px;
    vertical-align: middle;
}

.main-menu .dropdown-menu {
    background: #fff;
    border: none;
    min-width: 200px;
    margin-top: 10px;
    box-shadow: 0 8px 32px rgba(38, 38, 38, 0.13);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.main-menu .dropdown-item {
    color: #262626;
    font-weight: 500;
    padding: 12px 28px;
    transition: background 0.2s, color 0.2s;
    border-radius: 6px;
}

.main-menu .dropdown-item:hover {
    background: #f6f6f6;
    color: var(--primary-green);
}

/* .row {
    justify-content: space-between;
} */

.row {
    justify-content: start;
}


/******************** Featured Section Styles -- Home Page********************/
.featured-section .row.g-4 {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 0;
    row-gap: 1.5rem;
}

.featured-section .row {
    --bs-gutter-x: 0;
    margin: 0 auto;

}

.featured-section .col-lg-8 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    min-height: 100px;
    margin-bottom: 1rem;
    margin-right: 32px;
}

.featured-section .col-lg-8>img {
    height: 110px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    background: #e9ecef;
    display: block;
    margin: 0 auto;
}

.featured-section .col-lg-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 340px;
    min-height: 100px;
    margin-top: 1rem;
}

.featured-section .col-lg-4>img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    background: #e9ecef;
    display: block;
    margin: 0 auto 12px auto;
}

.featured-section .col-lg-5 {
    padding: 0;
}

/********************* Column Layout Styles *********************/
.col-lg-7 {
    padding-right: 2rem;
}

.col-lg-4 {
    height: auto;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

/********** On large screens, add left margin to the right column for spacing *********/
@media (min-width: 992px) {
    .featured-section .col-lg-8 {
        margin-right: 24px;
    }

    .featured-section .col-lg-4 {
        margin-left: 0;
    }

    .featured-section .col-lg-4 {
        margin-top: 0;
        margin-left: 1.5rem;
    }

    .featured-section .col-lg-8 {
        margin-bottom: 0;
    }

    .featured-section .col-lg-7 {
        padding-right: 2rem;
    }

    .featured-section .col-lg-5 {
        padding-left: 2rem;
    }

    .featured-section .row>* {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .featured-section .col-lg-8 {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .col-lg-7 {
        padding-right: 15px;
        margin-bottom: 2rem;
    }

    .col-lg-4 {
        position: static;
    }
}


/********************* Featured Selection -- Home Page *********************/
.featured-section .d-flex.gap-2.mt-2 {
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
}

.featured-section .card {
    transition: box-shadow 0.2s, transform 0.2s;
    border-radius: 16px;
    cursor: pointer;
    background: #fff;
    min-width: 0;
    flex: 1 1 0;
    padding: 0.5rem;
}

.featured-section .card:hover {
    box-shadow: 0 6px 24px rgba(114, 185, 68, 0.10), 0 1.5px 6px rgba(38, 38, 38, 0.07);
    transform: translateY(-2px) scale(1.03);
    border-color: var(--primary-green);
}

.featured-section img {
    background: #e9ecef;
    object-fit: cover;
}

.featured-section .fw-semibold {
    color: #262626;
    font-size: 0.85rem;
    margin-top: 0;
}

.icon-featured {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 4px;
    display: block;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1260px;
    }
}

@media (max-width: 991.98px) {
    .featured-section .card {
        padding: 1rem 0.5rem;
    }

    .featured-section img {
        min-height: 80px !important;
    }
}

/********************* Responsive adjustments *********************/
@media (max-width: 1200px) {
    .main-navbar {
        width: 98%;
        margin-bottom: 16px;
    }

    .main-menu .nav-link {
        padding: 12px 16px !important;
        font-size: 0.95rem;
    }
}

@media (max-width: 991.98px) {
    .main-navbar {
        width: 100%;
        border-radius: 0;
        margin: 0 0 12px 0;
        min-height: 48px;
        top: 0;
    }

    .main-menu .nav-link {
        font-size: 0.95rem;
        padding: 10px 10px !important;
        margin: 0 2px;
    }
}

.fs-6 {
    font-size: 1rem !important;
}

.tagline {
    font-size: 0.8rem !important;
    color: #262626 !important;
}


/********************** Property Section Styles -- Home Page **********************/
.-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}

.tab-header {
    display: flex;
    gap: 1px;
    margin-bottom: 24px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #72B944;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.property-types {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.property-types,
.search-bar {
    display: none;
}

.property-types.active,
.search-bar.active {
    display: flex;
}

.property-types.active {
    display: grid;
}

.type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    text-align: center;
    transition: all 0.2s;
}

.type-item:hover {
    transform: translateY(-2px);
    color: #72B944;
}

.type-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.type-item i {
    font-size: 1.7rem;
    color: #72B944;
    margin-bottom: 8px;
}


.type-item:hover i {
    transform: scale(1.1);
}

.type-item span {
    font-size: 0.8rem;
    line-height: 1.2;
}

.search-bar {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
}

.search-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.search-group label {
    color: #666;
    font-weight: 500;
    min-width: auto;
    margin-right: 8px;
}

.search-group select {
    min-width: 160px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.search-group input {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.search-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #72B944;
    color: #fff;
    cursor: pointer;
}

.search-btn:hover {
    background: #5fa13a;
}

@media (max-width: 768px) {
    .property-types {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-group {
        flex-wrap: wrap;
    }

    .search-group input {
        width: 100%;
    }

    .col-md-4 {
        width: 100%;
    }
}

/**********************  grid columns for property cards  -- Home Page**********************/
.col-md-4 {
    width: 25%;
}

@media (max-width: 991.98px) {
    .col-md-4 {
        width: 50%;
        /* Show 2 cards per row on tablets */
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        width: 100%;
        /* Show 1 card per row on mobile */
    }
}

/********************** Properties Grid Styles  -- Home Page**********************/
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.property-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.property-item:hover {
    transform: translateY(-4px);
}

.property-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.property-info {
    padding: 16px;
}

.property-info .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #72B944;
    margin-bottom: 8px;
}

.property-info .meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.property-info .description {
    font-size: 0.9rem;
    color: #444;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/********************** Property Tabs Styles  -- Home Page**********************/
.property-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.property-section,
.calculator-wrapper,
.new-property-wrapper {
    border: 1px solid #8bd261;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding-top: 2px;
}

.tab-buttons {
    display: flex;
    gap: 1px;
    background: #f5f5f5;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-green);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.property-card {
    height: 100%;
    transition: transform 0.2s;
}

.property-card:hover {
    transform: translateY(-4px);
}

.property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.property-card .card-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.property-card .card-img-wrapper:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.property-card .price {
    color: #72B944;
    font-size: 1.1rem;
    font-weight: 600;
}

.property-card .specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #666;
    font-size: 0.8rem;
}

.property-card .location {
    color: #444;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.property-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.property-card:hover {
    transform: translateY(-4px);
}

.property-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.property-card .card-img-wrapper {
    position: relative;
}

.property-card .price-tag {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
}

.price-tag.sold {
    background: rgba(114, 185, 68, 0.95);
    width: 90%;
}

.price-tag.rent {
    background: rgba(114, 185, 68, 0.95);
    width: 90%;
}

.property-info {
    padding: 12px;
    background: #fff;
}

.property-info h3 {
    color: #72B944;
    margin: 0;
    font-size: 1.1rem;
}

.property-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 0.9rem;
}

.property-section,
.calculator-wrapper,
.new-property-wrapper,
.market-index-wrapper {
    border: 1px solid #8bd261;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding-top: 2px;
}

.tab-buttons {
    display: flex;
    gap: 1px;
    background: #f5f5f5;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-green);
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    height: 200px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #262626;
    line-height: 1.4;
}

.btn-icon {
    color: #666;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.btn-icon:hover {
    opacity: 1;
}

.location-info {
    font-size: 0.85rem;
}

.area-info,
.price-info {
    color: #666;
    line-height: 1.5;
}

.property-tags .badge {
    font-weight: normal;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.sold-price {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.9rem;
}

.property-card .image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.property-card .property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card .listing-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #262626;
    line-height: 1.4;
}

.property-card .building-info {
    font-size: 0.85rem;
}

.property-card .area-info {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.property-card .price {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
    line-height: 1.6;
}

.property-card .badge {
    font-weight: normal;
    font-size: 0.8rem;
    padding: 5px 10px;
}

.property-card .sold-price {
    color: #dc3545;
    font-weight: 500;
    font-size: 0.95rem;
}


/********************** Mortgage Calculator Styles -- Home Page **********************/
.calculator-wrapper {
    padding: 20px;
}

.calculator-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.calculator-wrapper .form-group label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.calculator-wrapper .input-group {
    border-radius: 6px;
    overflow: hidden;
}

.calculator-wrapper .input-group-text {
    background: #f8f9fa;
    border-color: #ddd;
    color: #666;
    font-size: 0.9rem;
}

.calculator-wrapper .form-control {
    border-color: #ddd;
    font-size: 0.95rem;
}

.calculator-wrapper .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(114, 185, 68, 0.15);
}

.calculator-wrapper .btn-green {
    padding: 10px;
    font-weight: 500;
    margin-top: 1rem;
}

/********************** New Property Section Styles --Home Page**********************/

.new-property-wrapper {
    padding: 20px;
}

.new-property-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-tags .tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.property-tags .tag:hover {
    background: #e9ecef;
    color: var(--primary-green);
}

.property-tags .tag.active {
    background: var(--primary-green);
    color: #fff;
}

/********************** New Properties Listing Styles --Home Page**********************/
.new-properties-section {
    border: 1px solid #8bd261;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.new-properties-wrapper {
    padding: 20px;
    background: #fff;
}

.new-properties-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
}

.new-properties-wrapper i {
    color: var(--primary-green);
}

.listing-item {
    display: flex;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    margin: 10px 0;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
}



.listing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    text-decoration: none;
}

.listing-content a {
    text-decoration: none;
    flex: 1;
    padding: 0 12px;
}

.listing-main {
    width: 180px;
    flex-shrink: 0;
    height: 100px;
}

.property-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.listing-info h6 {
    font-size: 16px;
    margin: 0 0 4px 0;
}

.property-specs {
    gap: 12px;
    margin: 2px 0;
}

.property-specs span {
    font-size: 12px;
}

.location-row {
    font-size: 12px;
}

.price-value {
    font-size: 20px;
}

.price-per-sqft {
    font-size: 12px;
}

.listing-content {
    flex: 1;
    padding: 2 12px;
}

.listing-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 4px 0;
}

.listing-info .location {
    font-size: 13px;
    color: #666;
}

.status-row {
    margin: 12px 0;
    color: #666;
    font-size: 13px;
}

.price-label {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 4px;
}

.price-value {
    color: #dc3545;
    font-size: 20px;
    font-weight: 600;
}

.listing-tags {
    margin-top: 12px;
}

.property-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    margin: 0 4px 4px 0;
}

.listing-header {
    position: relative;
    margin-bottom: 12px;
}

.listing-main {
    position: relative;
    margin-bottom: 12px;
}

.property-image {
    width: 90%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.video-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 6px;
}

.video-badge i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.listing-info h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #262626;
    margin-bottom: 4px;
}

.listing-info .location {
    font-size: 0.9rem;
    color: #666;
}

.listing-status {
    margin-bottom: 12px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.divider {
    color: #ddd;
}

.listing-price {
    margin-bottom: 12px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.price-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
}

.listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-tag {
    background: #f8f9fa;
    color: #666;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 4px;
}

.listing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/********************** Property Articles Section Styles --Home Page***********************/
.articles-section {
    border: 1px solid #8bd261;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.articles-wrapper {
    padding: 20px;
    background: #fff;
}

.articles-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.articles-wrapper h5 i {
    color: var(--primary-green);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.article-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.article-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.article-content {
    flex: 1;
}

.article-content h6 {
    color: #262626;
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.article-content p {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 8px 0;
}

.article-content .tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--primary-green);
    color: #fff;
    font-size: 0.75rem;
}

/*********************** Market Index Styles --Home Page ***********************/
.market-index-wrapper {
    padding: 20px;
}

.market-index-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
}

.market-index-wrapper i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.index-values {
    margin-bottom: 1rem;
}

.index-item .value {
    font-size: 1.25rem;
    font-weight: 600;
}

.index-item small {
    display: block;
    font-size: 0.85rem;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: var(--primary-green) !important;
}

.market-areas h6 {
    color: #262626;
    font-size: 1rem;
    font-weight: 600;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.area-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.area-item span:last-child {
    font-weight: 500;
    color: #262626;
}

/*********************** Property Statistics Styles --Home Page***********************/
.statistics-section {
    border: 1px solid #8bd261;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.statistics-wrapper {
    padding: 20px;
    background: #fff;
}

.statistics-wrapper h5 {
    color: #262626;
    font-size: 1.1rem;
}

.statistics-wrapper i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.stat-card {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.stat-value {
    color: #262626;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.up {
    color: var(--primary-green);
}

.stat-change.down {
    color: #dc3545;
}

.property-specs {
    display: flex;
    gap: 16px;
    margin: 2px 0;
}

.property-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    font-size: 13px;
}

.property-specs i {
    color: var(--primary-green);
    font-size: 14px;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
}

.location-row i {
    color: var(--primary-green);
}

.price-section {
    margin-top: auto;
}

.price-value {
    display: block;
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 600;
}

.price-per-sqft {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

/*********************** Properties Counter Styles  ***********************/

.alert-light {
    background-color: #fff;
    border-color: #dee2e6 !important;
    border-radius: 8px;
}

/* Properties Notice Bar */
.properties-notice {
    background: #8bd26133;
    border: 1px solid var(--primary-green);
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.properties-notice i {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.properties-notice .notice-text {
    color: var(--primary-green);
}

/*********************** Footer Styles ***********************/
.social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--primary-green);
}

.app-store-link {
    opacity: 0.9;
    transition: opacity 0.2s;
}

.app-store-link:hover {
    opacity: 1;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-green);
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links {
    display: flex;
    align-items: center;
    border-right: none;
}

/*********************** Property Filter Styles  -- Buying Property Page***********************/

.badge {
    text-decoration: none;
    padding: 8px 12px;
    font-weight: normal;
    font-size: 0.9rem;
}

.badge.bg-light {
    border: 1px solid #dee2e6;
}

.badge.bg-light:hover {
    background-color: #e9ecef !important;
}

.form-check-label {
    font-size: 0.9rem;
    color: #666;
}

/*********************** Custom Checkbox Styles  -- Buying Property Page***********************/
.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-check-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.25rem rgba(114, 185, 68, 0.25);
}

/*********************** Compact Filter Styles -- Buying Property Page***********************/
.badge-sm {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    text-decoration: none;
    border-radius: 4px;
}

.form-check-sm {
    min-height: 1.3rem;
    padding-left: 1.5em;
}

.form-check-sm .form-check-input {
    width: 0.9em;
    height: 0.9em;
    margin-left: -1.5em;
}

.fs-7 {
    font-size: 0.9rem;
}


.badge-sm.bg-light {
    border: 1px solid #dee2e6;
}

.badge-sm:hover {
    opacity: 0.8;
}

/*********************** Property Card Styles -- Buying Property Page********************** */
.specs {
    font-size: 0.8rem;
}

.badge-sm.bg-success {
    background-color: var(--primary-green) !important;
    border: none;
}

.card:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

/* Filter Dropdown Styles -- Buying Property Page*/
.filter-dropdown {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.filter-dropdown.show {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-dropdown .badge-sm {
    margin: 0;
    cursor: pointer;
}

.filter-dropdown .badge-sm.selected {
    background-color: var(--primary-green) !important;
    color: white !important;
}

.filter-badge.active,
.location-badge.active {
    background-color: var(--primary-green) !important;
    color: white !important;
}

/* Filter Link Styles -- Buying Property Page*/
.filter-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.filter-link:hover {
    color: var(--primary-green);
}

.filter-link i {
    font-size: 0.75rem;
}

.filter-link.text-danger {
    color: #dc3545 !important;
}

.filter-link.text-danger:hover {
    color: #bb2d3b !important;
}

.filter-link.filter-badge {
    color: #666;
    cursor: pointer;
}

.filter-link.filter-badge:hover,
.filter-link.filter-badge.active {
    color: var(--primary-green);
}

.filter-link.filter-badge.active+.filter-dropdown {
    display: block;
}

.filter-dropdown .filter-link {
    color: #666;
    padding: 4px 8px;
    display: block;
}

.filter-dropdown .filter-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-green);
}

/* Suboptions Dropdown Styles -- Buying Property Page*/
.suboptions-dropdown {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.suboptions-dropdown.show {
    display: block;
}

.suboptions-dropdown .link-item {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

/*Suboptions List Styles -- Buying Property Page*/
.suboptions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px;
}

.suboptions-list .link-item {
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
}

.link-item.active {
    color: var(--primary-green);
    font-weight: 500;
}

.link-item.text-danger {
    color: #dc3545 !important;
}

/* Suboptions Wrapper Styles -- Buying Property Page*/
.suboptions-wrapper {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.suboptions-wrapper.active {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.link-item.filter-badge.active,
.link-item.filter-badge.active i,
.suboptions-wrapper .link-item.active {
    color: var(--primary-green);
}

.suboptions-wrapper.show {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.link-item {
    color: #262626;
    text-decoration: none;
}

.link-item:hover {
    text-decoration: none;
    color: #262626;
}

.suboptions-wrapper .link-item {
    color: #262626;
    text-decoration: none;
}

.suboptions-wrapper .link-item.text-danger {
    color: #dc3545 !important;
}

.link-item.filter-badge:hover,
.link-item.filter-badge:active,
.link-item.filter-badge:focus {
    color: #262626;
    text-decoration: none;
}

.suboptions-wrapper.show {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.link-item {
    color: #262626;
    text-decoration: none;
    pointer-events: initial;
}

.link-item:hover,
.link-item:active,
.link-item:focus {
    text-decoration: none;
    color: #262626;
}

.link-item.filter-badge {
    cursor: pointer;
}

.link-item.filter-badge:hover,
.link-item.filter-badge:active,
.link-item:focus {
    background: none;
    color: #262626;
}

.link-item:hover {
    color: inherit;
    text-decoration: none;
}

/* Link Group Styles -- Buying Property Page*/
.link-group {
    font-size: 0.85rem;
}

.link-item {
    color: #262626;
    text-decoration: none;
    margin-right: 1rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.link-item:hover {
    text-decoration: underline;
    color: var(--primary-green);
}

.link-item i {
    font-size: 0.75rem;
    margin-right: 0.25rem;
}

.link-item.filter-badge {
    color: #262626;
    transition: color 0.2s ease;
}

.link-item.filter-badge.active,
.link-item.filter-badge.active i {
    color: var(--primary-green);
    background: transparent;
}

.link-item.filter-badge:hover {
    text-decoration: none;
}

.link-item.filter-badge.active {
    color: var(--primary-green);
}

.link-item.filter-badge.active i {
    color: var(--primary-green);
}

.link-item.filter-badge.temp-active {
    color: var(--primary-green);
}

.suboptions-wrapper {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.suboptions-wrapper.show {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.suboptions-wrapper .link-item.active {
    color: var(--primary-green);
}


/************************ --- Buying Property Page : Property Listings Card ---*********************** */
.bp-listings-list {
    margin-bottom: 2rem;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.bp-listing-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    min-height: 140px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
    max-width: 100%;
    box-sizing: border-box;
    gap: 2rem;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    cursor: pointer;
    text-decoration: none;
}

.bp-listing-img-wrapper {
    width: 190px;
    min-width: 180px;
    height: 140px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.bp-listing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.bp-listing-card .bp-badge {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: var(--primary-green) !important;
    color: #FFFFFF !important;
    border-radius: 4px;
    padding: 2px 12px;
}

.bp-listing-card {
    font-size: 0.85rem;
    font-weight: 400;
    background: #f8f9fa !important;
    color: #444 !important;
    border-radius: 4px;
    padding: 10px 8px;
}

.bp-badge-urgent {
    background: #b52a37 !important;
    color: #FFFFFF !important;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    padding: 2px 8px;
}

.bp-listing-card .bp-badge-time {
    font-size: 0.9rem;
    background: #e9ecef;
    color: #444;
    border-radius: 4px;
    padding: 2px 10px;
    font-weight: 500;
}

.bp-listing-content {
    min-width: 0;
    max-width: 100%;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.bp-listing-img-wrapper a,
.bp-listing-content a {
    text-decoration: none;
    color: inherit;
}

.bp-listing-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin-bottom: 2px;
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-listing-meta {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.bp-listing-meta .bp-meta-divider {
    color: #bbb;
    margin: 0 6px;
}

.bp-listing-submeta {
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.bp-listing-area {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.bp-listing-agency {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.bp-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.bp-listing-tag {
    background: #e9ecef;
    color: #444;
    font-size: 0.8rem;
    border-radius: 4px;
    padding: 3px 12px;
    font-weight: 500;
}

.bp-listing-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bp-listing-heart {
    color: #dc3545;
    background: none;
    border: none;
    font-size: 1.3rem;
    padding: 0;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.bp-listing-heart:hover {
    color: #b52a37;
}

.bp-listing-sold {
    background: var(--primary-green);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 22px;
    margin: 0.5rem 0;
    border: none;
    display: inline-block;
}

/* For Sale / For Rent badge on property listing cards */
.bp-badge-gold {
    background: var(--primary-green) !important;
    color: #fff !important;
    transition: background 0.2s;
}

@media (max-width: 991.98px) {
    .bp-listing-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .bp-listing-img-wrapper {
        width: 100%;
        min-width: 0;
        height: 180px;
        margin-bottom: 0.5rem;
    }

    .bp-listing-title {
        max-width: 100%;
    }
}

/* Custom Pagination Styles */
.custom-pagination {
    margin-top: auto;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(38, 38, 38, 0.04);
    padding: 0.5rem 1rem;
}

.custom-pagination .page-item {
    margin: 0 2px;
}

.custom-pagination .page-link {
    border: none;
    background: transparent;
    color: #222;
    font-size: 1.15rem;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
    box-shadow: none;
}

.custom-pagination .page-item.active .page-link {
    background: #f5f6f8;
    color: #222;
    font-weight: 600;
    border-radius: 0;
    box-shadow: none;
}

.custom-pagination .page-item.disabled .page-link {
    color: #bbb;
    background: transparent;
    cursor: not-allowed;
}

.custom-pagination .page-link:focus {
    box-shadow: none;
    outline: none;
}

.custom-pagination .page-link:hover {
    background: #f5f6f8;
    color: var(--primary-green);
}

/************************ --- Buying Property Page: Advertisement Banner ************************/
.bp-ad-banner {
    position: relative;
    background: linear-gradient(90deg, #72B944 60%, #e9ecef 100%);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-height: 160px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.bp-ad-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bp-ad-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.bp-ad-banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.bp-ad-banner-title {
    color: #fff;
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    text-align: center;
    max-width: 90%;
}

.bp-ad-banner-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
    text-align: center;
}

/* Responsive for ad banner */
@media (max-width: 991.98px) {
    .bp-ad-banner-content {
        padding: 1.2rem 1rem 1.2rem 1rem;
    }

    .bp-ad-banner-title {
        font-size: 1.2rem;
    }

    .bp-ad-banner {
        min-height: 120px;
    }
}

/* --- Buying Property Page: Advertisement Banner --- */
.bp-ad-banner {
    position: relative;
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.85) 0%, rgba(51, 51, 51, 0.75) 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border: 1px solid var(--primary-green);
}

.bp-ad-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bp-ad-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    filter: grayscale(0.1) contrast(1.1);
    transition: all 0.3s ease;
}

.bp-ad-banner:hover .bp-ad-banner-bg img {
    transform: scale(1.05);
    opacity: 0.85;
}

.bp-ad-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, rgba(24, 24, 24, 0.65) 0%, rgba(51, 51, 51, 0.45) 100%);
    pointer-events: none;
}

.bp-ad-banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.bp-ad-banner-title {
    color: #fff;
    font-weight: 800;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    margin: 0;
    text-align: center;
    max-width: 90%;
}

.bp-ad-banner-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    margin: 0;
    text-align: center;
}

@media (max-width: 991.98px) {
    .bp-ad-banner {
        min-height: 280px;
    }

    .bp-ad-banner-content {
        padding: 2rem;
    }

    .bp-ad-banner-title {
        font-size: 1.8rem;
    }

    .bp-ad-banner-desc {
        font-size: 1rem;
    }
}

/************************ Sidebar Featured Listings Styles ************************/
.bp-sidebar-listings {
    padding: 0.5rem;
}

.bp-sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--primary-green);
    margin-bottom: 0.75rem;
}

.bp-sidebar-img {
    width: 100%;
    height: 160px;
    position: relative;
}

.bp-sidebar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.bp-sidebar-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary-green);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.bp-sidebar-content {
    flex: 1;
    min-width: 0;
    padding: 0 5px;
}

.bp-sidebar-content h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #262626;
}

.bp-sidebar-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bp-sidebar-price {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 8px;
}

.bp-sidebar-meta {
    font-size: 0.8rem;
    color: #666;
}

.bp-sidebar-meta i {
    color: var(--primary-green);
    font-size: 0.75rem;
    margin-right: 4px;
}

.bp-sidebar-meta .property-info {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
}

.bp-sidebar-meta .location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
}

@media (max-width: 991.98px) {
    .bp-sidebar-card {
        padding: 0.5rem;
    }

    .bp-sidebar-img {
        width: 100px;
        height: 75px;
    }
}

.bp-mortage-card {
    border: 1px solid #8bd261;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

/************************ Nearby Places Styles -- Property Information Page************************/
.nearby-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nearby-btn:hover {
    transform: translateY(-1px);
}

.nearby-btn.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.nearby-place-content {
    font-size: 0.9rem;
}

/************************ Agent Info Section Styles --Property Information Page************************/
.agent-info-section {
    border-top: 1px solid #dee2e6;
    padding-top: 2rem;
}

.company-info {
    border-left: 4px solid var(--primary-green);
}

.agent-card {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.agent-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-outline-success {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-success:hover {
    background-color: var(--primary-green);
    color: white;
}

/* Agent Contact Section Styles */
.agent-contact {
    border-left: 4px solid var(--primary-green);
}

.contact-details {
    padding-left: 2.5rem;
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    background: white;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(114, 185, 68, 0.15);
}

.contact-form .form-floating label {
    color: #666;
}

.contact-form textarea.form-control {
    resize: none;
}

/* Similar Units Section Styles */
.similar-units-section .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    border: 1px solid var(--primary-green) !important;
}

.similar-units-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.similar-units-section .room-info {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
}

.similar-units-section .price-info {
    padding-top: 0.75rem;
}

.flex-1 {
    flex: 1;
    min-width: 0;
}

/* Filter Button Styles */
.filter-btn {
    cursor: pointer;
    transition: color 0.2s;
    padding: 8px 16px;
    width: 100%;
}

.filter-btn:hover {
    color: var(--primary-green) !important;
}

.filter-btn.active {
    color: var(--primary-green) !important;
    font-weight: 600;
}

.pi-price-button {
    min-width: 150px;
}

.gallery-container {
    border: 1px solid #8bd261;
    border-radius: 12px;
    padding: 1rem;
    background: #fff;
    margin-bottom: 1.5rem;
}

.gallery-main {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-thumb {
    position: relative;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gallery-thumb.active {
    border: 2px solid var(--primary-green);
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.gallery-filter .btn-group {
    border-radius: 8px;
    overflow: hidden;
}

.gallery-filter .btn {
    flex: 1;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.gallery-filter .btn.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.gallery-thumb.hidden {
    display: none;
}

/* New styles added */
.d-flex.border.rounded-3.mb-4>.flex-fill {
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
}

.d-flex.border.rounded-3.mb-4>.flex-fill:hover i,
.d-flex.border.rounded-3.mb-4>.flex-fill:hover span {
    color: var(--primary-green) !important;
}

.d-flex.border.rounded-3.mb-4>.flex-fill:hover {
    background: #eaf7e2;
}

.favorite-action.favorited i,
.favorite-action.favorited span {
    color: var(--primary-green) !important;
}

.favorite-action.favorited {
    background: #eaf7e2;
}

.share-popup {
    box-shadow: 0 4px 16px rgba(38, 38, 38, 0.10);
    animation: fadeInShare 0.18s;
}

@keyframes fadeInShare {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Responsive Header --- */
@media (max-width: 767.98px) {
    .bg-white .container>.row {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .bg-white .col-md-6.d-flex.align-items-center {
        justify-content: left !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .bg-white .col-md-6.text-end {
        text-align: left !important;
        width: 100%;
        margin-top: 0.5rem;
    }

    .header-link {
        margin: 0 4px 4px 0;
        font-size: 0.98rem;
    }
}

/* --- Responsive Navbar/Menu --- */
@media (max-width: 991.98px) {
    .main-navbar {
        min-height: 48px;
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 0;
    }

    .main-menu {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #e5e5e5 #fff;
    }

    .main-menu::-webkit-scrollbar {
        height: 4px;
        background: #fff;
    }

    .main-menu::-webkit-scrollbar-thumb {
        background: #e5e5e5;
        border-radius: 2px;
    }

    .main-menu .nav-link {
        white-space: nowrap;
        padding: 10px 10px !important;
        font-size: 0.95rem;
        margin: 0 2px;
    }
}

/* For screens < 770px: keep menu horizontal, no stacking */
@media (max-width: 769.98px) {
    .main-menu {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        width: 100%;
        padding: 0;
    }

    .main-menu .nav-item {
        width: auto;
    }

    .main-menu .nav-link {
        display: inline-block;
        width: auto;
        text-align: center;
        border-radius: 24px;
        border-bottom: none;
        font-size: 1rem;
        padding: 10px 10px !important;
        margin: 0 2px;
    }
}

/* For screens < 480px: show hamburger, hide menu, show overlay menu on click */
@media (max-width: 599px) {
    .main-menu {
        display: none !important;
    }

    .main-navbar .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: #262626;
        cursor: pointer;
        margin-left: auto;
        margin-right: 0;
        padding: 6px 12px;
    }

    .main-navbar {
        position: relative;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .mobile-menu-overlay.active {
        display: flex;
    }

    .mobile-menu {
        background: #fff;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        box-shadow: -2px 0 16px rgba(0, 0, 0, 0.15);
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        animation: slideInMenu 0.2s;
        position: relative;
    }

    .mobile-menu .close-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: #262626;
        cursor: pointer;
    }

    .mobile-menu .nav-link {
        display: block;
        width: 100%;
        text-align: left;
        padding: 14px 0 !important;
        margin: 0;
        border-radius: 0;
        font-size: 1.1rem;
        border-bottom: 2px solid #f0f0f0;
        color: #262626;
        background: none;
        transition: background 0.18s, color 0.18s;
    }

    .mobile-menu .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu .nav-link:hover,
    .mobile-menu .nav-link:focus {
        background: #f5f5f5;
        color: var(--primary-green);
        text-decoration: none;
    }
}

/* Hamburger/mobile menu styles */
@media (max-width: 599px) {
    .mobile-menu {
        background: var(--primary-green) !important;
    }

    .mobile-menu .nav-link {
        color: #fff !important;
    }

    .mobile-menu .nav-link:hover,
    .mobile-menu .nav-link:focus {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #fff !important;
        text-decoration: none;
    }

    .mobile-menu .close-menu {
        color: #fff !important;
    }

    .mobile-menu .bi {
        color: #fff !important;
    }
}

@keyframes slideInMenu {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hide hamburger by default, show only <480px */
.main-navbar .menu-toggle {
    display: none !important;
}

@media (max-width: 599px) {
    .main-navbar .menu-toggle {
        display: inline-flex !important;
    }

    .main-menu {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-menu-overlay.active {
        display: flex !important;
    }
}

/* Always show main menu for >=480px */
@media (min-width: 599px) {
    .main-menu {
        display: flex !important;
    }

    .main-navbar .menu-toggle {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    a.navlink {
        font-size: 0.5rem;
    }
}

/* --- Responsive Footer --- */
@media (max-width: 991.98px) {
    footer .d-flex.justify-content-between.align-items-center.mb-5 {
        flex-direction: column;
        align-items: center !important;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 8px 16px;
        margin-top: 0.5rem;
    }

    .social-links {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px 0;
    }

    .footer-link {
        padding: 2px 0 !important;
        font-size: 0.95rem;
    }

    .social-links {
        gap: 10px;
    }

    .app-store-link img {
        height: 32px !important;
    }

    footer .d-flex.justify-content-center.gap-3.mb-5 {
        gap: 0.5rem !important;
    }
}

@media (max-width: 575.98px) {
    a.nav-link {
        font-size: 0.5rem;
    }

    .footer-links {
        flex-direction: column;
        align-items: left;
        gap: 2px 0;
    }

    /* Header responsiveness ...existing code... */

    /* Navbar: stack menu vertically, remove horizontal scroll */
    /* .main-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        overflow-x: visible !important;
        width: 100%;
        padding: 0;
    } */

    .main-menu .nav-item {
        width: 100%;
    }

    .main-menu .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 10px !important;
        margin: 0;
        border-radius: 0;
        font-size: 0.8rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-menu .nav-link:last-child {
        border-bottom: none;
    }

    .main-navbar {
        min-height: 40px;
        margin-top: 4px;
        margin-bottom: 4px;
        padding: 0;
    }
}

/* --- Custom: Center navbar and increase height for 600-767px --- */
@media (min-width: 600px) and (max-width: 767.98px) {
    .main-navbar {
        min-height: 72px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .main-menu {
        justify-content: center !important;
        overflow-x: visible !important;
        width: 100%;
        padding: 0;
    }

    .main-menu .nav-item {
        width: auto;
    }

    .main-menu .nav-link {
        display: inline-block;
        width: auto;
        text-align: center;
        border-radius: 24px;
        border-bottom: none;
        font-size: 0.8rem;
        padding: 14px 2px !important;
        margin: 4px 6px;
    }
}

/* Header links responsive layout */
@media (max-width: 991.98px) {
    .bg-white .col-md-6.text-end {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px;
        text-align: right !important;
        width: 100%;
        margin-top: 0;
    }

    /* .header-link {
        margin: 0 4px !important;
        font-size: 1rem;
    } */
    .bg-white .row.align-items-center.flex-wrap {
        flex-wrap: wrap !important;
    }
}


/* Force horizontal layout for header links even below 767px */
/* @media (max-width: 767.98px) {
    .bg-white .col-md-6.text-end {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px;
        text-align: right !important;
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .header-link {
        margin: 0 4px !important;
        font-size: 0.98rem;
    }
    .bg-white .row.align-items-center.flex-wrap {
        flex-wrap: wrap !important;
    }
} */

/* @media (max-width: 767.98px) {
    .bg-white .col-md-6.text-end {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 2px;
        text-align: left !important;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .header-link {
        margin: 2px 0 !important;
        font-size: 0.98rem;
    }
    .bg-white .row.align-items-center.flex-wrap {
        flex-wrap: wrap !important;
    }
} */

/* Add margin to left and right of the whole site on extra small screens */
@media (max-width: 574.98px) {

    body,
    .container,
    .container-fluid {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }

    .header-link {
        margin: 2px 0 !important;
        font-size: 0.8rem;
    }
}

@media (max-width:360px) {

    body,
    .container,
    .container-fluid {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }

    .header-link {
        margin: 2px 0 !important;
        font-size: 0.8rem;
    }
}

/* Registration Page Styles */
/* .member-register-bg {
    min-height: 100vh;
    background: var(--primary-green-hover);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.register-split-container {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    margin: 1rem;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.01);
}

.register-left {
    height: 100%;
    width: 45%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(114, 185, 68, 0.85), rgba(114, 185, 68, 0.85)), url('assets/images/login-register-bg.jpg');
     background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.register-right {
    width: 55%;
    padding: 2rem;
    background: #fff;
    border-radius: 20px 0 0 20px;
}

.register-join-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.register-join-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.register-about-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
}

.register-toggle .btn {
    padding: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.register-toggle .btn.active {
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    border-color: var(--primary-green);
}

.register-toggle .btn.active i {
    color: white;
}

.register-toggle .btn i {
    font-size: 1.2rem;
    color: #666;
}

.register-toggle .btn:hover:not(.active) {
    background: #f8f9fa;
} */

.register-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 0.8rem;
}

.form-label {
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.form-control {
    /* height: 2.2rem; */
    font-size: 0.8rem;
    border-radius: 25px;
    border: 1px solid #ddd;
    padding: 0.5rem 0.8rem;
}

.form-control:focus {
    border-color: #72B944;
    box-shadow: 0 0 0 0.1rem rgba(114, 185, 68, 0.10);
}

.register-toggle .btn {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    border: 1px solid #ddd;
    background: #f8f9fa;
}

.register-toggle .btn i {
    font-size: 0.9rem;
    color: #666;
}

.register-toggle .btn.active {
    background: #72B944;
    color: white;
    border-color: #72B944;
}

.register-toggle .btn.active i {
    color: white;
}

.btn-green {
    background: #72B944;
    color: #fff;
    border: none;
    height: 2.2rem;
    font-size: 0.9rem;
    border-radius: 25px;
}

.btn-outline-success {
    border: 1px solid #72B944;
    color: #72B944;
    height: 2.2rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Contact Page Styles */
.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-item {
    transition: transform 0.2s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.form-floating label i {
    opacity: 0.7;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(114, 185, 68, 0.15);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary-green);
    opacity: 0.8;
}


/********************************** Admin Dashboard */
.sidebarMenu {
    width: 250px;
    background: #fff;
    min-height: 100vh;
    padding: 0.75rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.admin-nav-link {
    color: #262626;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.admin-nav-link i {
    font-size: 1.25rem;
    color: #666;
}

.admin-nav-link:hover {
    background: #f8f9fa;
    color: var(--primary-green);
}

.admin-nav-link:hover i {
    color: var(--primary-green);
}

.admin-nav-link.active {
    background: var(--primary-green);
    color: white;
}

.admin-nav-link.active i {
    color: white;
}














/* ----------------- */



/* Add this to the bottom of properties-website/assets/css/frontend/style2.css */

/* --- 28Hse Style Hero Search --- */
.search-container-wrapper {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: -20px; /* Slight overlap or tight spacing */
    position: relative;
    z-index: 10;
    padding: 20px;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.search-tab {
    padding: 10px 20px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.search-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.category-icons-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.cat-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 80px;
}

.cat-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.2s;
}

.cat-icon-item:hover .cat-icon-circle {
    transform: translateY(-3px);
}

/* Specific colors for icons based on screenshot */
.bg-icon-blue { background-color: #4A90E2; }
.bg-icon-yellow { background-color: #F5A623; }
.bg-icon-orange { background-color: #F8E71C; color: #333; } /* Industry */
.bg-icon-purple { background-color: #BD10E0; }
.bg-icon-grey { background-color: #9B9B9B; }
.bg-icon-brown { background-color: #8B572A; }
.bg-icon-red { background-color: #D0021B; }

.cat-label {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
}

.search-input-group {
    display: flex;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px;
}

.search-input-group .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
}

.search-input-group .btn-search {
    background: #ddd;
    color: #666;
    border-radius: 4px;
    padding: 8px 15px;
}

/* --- Compact Grid Card Style (Screenshot match) --- */
.compact-listing-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    transition: box-shadow 0.2s;
}

.compact-listing-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.compact-img-wrap {
    position: relative;
    height: 160px;
    background: #eee;
}

.compact-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-price-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.compact-badge-green {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #28a745;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
}

.compact-body {
    padding: 10px;
}

.compact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-meta {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.compact-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.3;
    height: 3.9em; /* Limit to 3 lines */
    overflow: hidden;
}

/* App Download Buttons in Sidebar */
.app-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.app-btn img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ddd;
}








/* -------- */

/* --- New Header Styles (28Hse Clone) --- */
.header-top-row {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.site-tagline {
    color: #008060; /* Greenish text from screenshot */
    font-size: 1.1rem;
    font-weight: 500;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ccc;
    line-height: 1.2;
    display: inline-block;
}

.top-auth-links a {
    color: #365E7D; /* Blue link color */
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 10px;
}

.top-auth-links a:hover {
    text-decoration: underline;
}

.main-nav-bar {
    border-bottom: 1px solid #ddd;
    background: #fff;
    padding: 0;
}

.main-nav-bar .nav-link {
    color: #333 !important;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 15px !important;
}

.main-nav-bar .nav-link:hover,
.main-nav-bar .nav-link.active {
    color: #000 !important;
    font-weight: 700;
    background: transparent !important;
    border-bottom: 3px solid #333; /* Active indicator */
}

/* --- New Footer Styles (28Hse Clone) --- */
.footer-new {
    background-color: #666; /* Dark grey background */
    color: #fff;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #3b5998; /* Facebook blue default */
    color: #fff;
    margin-right: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-social-icon.fb { background: #3b5998; }
.footer-social-icon.ig { background: #C13584; }
.footer-social-icon.yt { background: #FF0000; }
.footer-social-icon.wc { background: #07C160; }

.footer-social-icon:hover {
    color: #fff;
    opacity: 0.9;
}

.footer-links-row a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links-row a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-app-btn {
    display: inline-block;
    height: 40px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #999;
    border-radius: 5px;
    overflow: hidden;
}

.footer-app-btn img {
    height: 100%;
    width: auto;
}

.copyright-text {
    color: #ccc;
    font-size: 0.85rem;
    margin-top: 20px;
}













/* ----------- */
/* --- New Header Layout --- */
.header-top-row {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.site-tagline {
    color: #008060;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #ccc;
    display: inline-block;
    line-height: 1.2;
}

.top-auth-links {
    font-size: 0.9rem;
}

.top-auth-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.top-auth-links a:hover {
    color: var(--primary-green);
}

/* Main Navigation */
.main-nav-bar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-nav-bar .nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 15px 15px !important;
    font-size: 1rem;
}

.main-nav-bar .nav-link:hover,
.main-nav-bar .nav-link.active {
    color: #000 !important;
    background: #f9f9f9;
    border-bottom: 2px solid var(--primary-green);
}

/* --- Hero Search Section --- */
.hero-search-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
}

.hero-banner-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 320px; /* Fixed height for consistency */
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlapping Search Box */
.search-interface-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: -40px; /* Overlap effect */
    position: relative;
    z-index: 10;
    padding: 20px;
    border: 1px solid #eee;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.search-tab-btn {
    padding: 10px 25px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.search-tab-btn.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

/* Category Circle Icons */
.category-icons-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.cat-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    min-width: 80px;
    transition: transform 0.2s;
}

.cat-icon-box:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: var(--primary-green);
}

.cat-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

/* Specific Icon Colors */
.bg-residential { background-color: #4A90E2; }
.bg-serviced { background-color: #F5A623; }
.bg-commercial { background-color: #F8E71C; color: #333 !important; }
.bg-shop { background-color: #BD10E0; }
.bg-parking { background-color: #9B9B9B; }
.bg-land { background-color: #8B572A; }
.bg-luxury { background-color: #D0021B; }

.cat-label {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}

/* Search Input Area */
.search-input-area {
    display: flex;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px;
    border: 1px solid #ddd;
}

.search-input-area input {
    border: none;
    background: transparent;
    box-shadow: none;
    font-size: 0.95rem;
}

.search-input-area input:focus {
    background: transparent;
    box-shadow: none;
}

.btn-search-action {
    background: #e0e0e0;
    color: #333;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-search-action:hover {
    background: var(--primary-green);
    color: #fff;
}

/* --- Compact Listing Card (Grid View) --- */
.compact-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    height: 100%;
}

.compact-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.compact-img-container {
    position: relative;
    height: 160px;
    background: #f0f0f0;
}

.compact-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #28a745;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.price-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.85rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.compact-details {
    padding: 10px;
}

.compact-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.compact-desc {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Footer Updates --- */
.footer-modern {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.footer-modern h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    margin-right: 8px;
    transition: background 0.2s;
}

.footer-socials a:hover {
    background: var(--primary-green);
}

.app-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-badges img {
    height: 40px;
    border: 1px solid #555;
    border-radius: 5px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 8px;
}

.footer-links-list a {
    color: #ccc;
    text-decoration: none;
}

.footer-links-list a:hover {
    color: #fff;
    text-decoration: underline;
}







/* ------------ */
/* --- Category Page: Top Text Filters --- */
.filter-container-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 20px;
}

.filter-header {
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #333;
}

.filter-row {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.filter-label {
    width: 100px;
    min-width: 100px;
    color: #666;
    font-weight: 500;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-link {
    color: #0056b3;
    text-decoration: none;
    cursor: pointer;
}

.filter-link:hover {
    text-decoration: underline;
}

.filter-link.active {
    color: #dc3545; /* Red for 'No limit' or active state */
    font-weight: 600;
}

/* --- Category Page: Sort Bar --- */
.sort-bar-container {
    background: #f9f9f9;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Category Page: List View Property Card --- */
.property-list-card {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    transition: background 0.2s;
}

.property-list-card:hover {
    background: #fcfcfc;
}

.list-img-wrap {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.list-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card-body {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-decoration: none;
}

.list-card-info {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.list-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.prop-tag {
    background: #f0f0f0;
    color: #666;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
}

.list-price-wrap {
    width: 180px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
}

.btn-price-red {
    background: #dc3545;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 5px;
    text-decoration: none;
}

.btn-price-red:hover {
    background: #c82333;
    color: #fff;
}

.price-per-sq {
    font-size: 0.8rem;
    color: #999;
}

.fav-icon {
    color: #ccc;
    cursor: pointer;
    font-size: 1.2rem;
    margin-top: auto; /* Push to bottom */
}

.fav-icon:hover, .fav-icon.active {
    color: #dc3545;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .property-list-card {
        flex-direction: column;
    }
    .list-img-wrap {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
    .list-card-body {
        padding: 0;
    }
    .list-price-wrap {
        width: 100%;
        text-align: left;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 10px;
    }
    .filter-label {
        width: 100%;
        margin-bottom: 5px;
    }
    .filter-row {
        flex-direction: column;
    }
}






/* ----------- */
/* --- Property Detail Page Styles (28Hse Clone) --- */

/* Breadcrumb */
.detail-breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}
.detail-breadcrumb a {
    color: #0056b3;
    text-decoration: none;
}
.detail-breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Title Area */
.prop-header-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.prop-id-row {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.prop-main-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}
.prop-desc-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}
.prop-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}
.detail-tag {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.8rem;
    color: #666;
    background: #fff;
}
.detail-tag.green {
    color: #28a745;
    border-color: #28a745;
    background: #f0fff4;
}
.publish-info-row {
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

/* QR Code Section */
.qr-section {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
}
.qr-label {
    font-weight: 600;
    margin-right: auto;
}
.qr-img {
    width: 80px;
    height: 80px;
}

/* Main Info Table */
.info-table-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* For rounded corners on table */
    margin-bottom: 20px;
}
.info-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.info-row:last-child {
    border-bottom: none;
}
.info-label {
    width: 30%;
    background: #f9f9f9;
    padding: 12px 15px;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
}
.info-value {
    width: 70%;
    padding: 12px 15px;
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.price-large {
    color: #dc3545;
    font-size: 1.3rem;
    font-weight: 700;
}
.mortgage-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mortgage-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
    display: block;
    width: 100%;
}

/* Map Section */
.map-preview-box {
    height: 200px;
    background: #eee;
    position: relative;
    border: 1px solid #ddd;
    margin-top: 10px;
    width: 100%;
}

/* Agency/Agent Box */
.agent-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.agency-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #0056b3;
}
.agent-row {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.agent-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eee;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
}
.agent-details {
    flex: 1;
}
.agent-name {
    font-weight: 700;
    font-size: 1rem;
}
.agent-license {
    font-size: 0.8rem;
    color: #888;
}
.agent-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.btn-agent-action {
    flex: 1;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    padding: 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}
.btn-agent-action:hover {
    background: #f5f5f5;
    color: #333;
}

/* Gallery Grid (Right Side) */
.gallery-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.gallery-item-box {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
    cursor: pointer;
}
.gallery-item-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item-box:hover img {
    transform: scale(1.05);
}
.gallery-count-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
}
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}
.btn-gallery-toggle {
    background: #e0e0e0;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #555;
}
.btn-gallery-toggle.active {
    background: #666;
    color: #fff;
}

/* Sticky Contact Button */
.sticky-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00bfa5; /* Teal color */
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: 600;
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.2s;
}
.sticky-contact-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* Sidebar Buttons */
.sidebar-action-row {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}
.sidebar-action-btn {
    flex: 1;
    background: #fff;
    border: none;
    border-right: 1px solid #e0e0e0;
    padding: 10px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.sidebar-action-btn:last-child {
    border-right: none;
}
.sidebar-action-btn:hover {
    background: #f9f9f9;
    color: #333;
}

/* Precautions Box */
.precautions-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.85rem;
    color: #666;
}
.precautions-box h6 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}
.precautions-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}
.precautions-box li {
    margin-bottom: 8px;
}

/* "You might be interested in" Cards */
.interest-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: box-shadow 0.2s;
}
.interest-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.interest-img {
    height: 140px;
    background: #eee;
    position: relative;
}
.interest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.interest-price-tag {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 8px;
}
.interest-body {
    padding: 10px;
}
.interest-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.interest-meta {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    justify-content: space-between;
}








/* ----------- */
/* --- Authentication Pages (Login/Register) --- */

.auth-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.auth-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

.auth-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Role Toggle Switch */
.auth-role-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 25px;
}

.role-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.role-btn.active {
    background: #fff;
    color: #008060; /* Primary Green */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.role-btn:hover:not(.active) {
    color: #333;
}

/* Form Elements */
.auth-label {
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.auth-input {
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 0.2s;
}

.auth-input:focus {
    border-color: #008060;
    box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.1);
}

.auth-input-group-text {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #666;
}

.btn-auth-primary {
    background-color: #008060;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 6px;
    border: none;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-auth-primary:hover {
    background-color: #00664d;
    color: #fff;
}

.auth-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.auth-link {
    color: #008060;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}