.featured-thumb {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 80%;
}

.featured-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.overlay-black {
    position: relative;
    overflow: hidden;
}

.overlay-black img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-thumb:hover .overlay-black img {
    transform: scale(1.1);
}

.sale, .featured {
    position: absolute;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 300;
    z-index: 1;
}

.featured {
    top: 25px;
    right: 5px;
    background-color: #12b11aff;
    color: #ffffffff;
}

.card-body {
    padding: 1rem;
    flex-grow: 1;
}

.card-body .card-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.card-body .card-title a {
    color: #15995cff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-body .card-title a:hover {
    color: #28a745;
}

.card-body .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
    display: block;
}

.card-body .location {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.card-body .location i {
    margin-right: 0.25rem;
    color: #28a745;
}

.card-body .description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1rem;
}

.card-footer {
    padding: 0 1rem 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.card-footer i {
    color: #28a745;
    margin-right: 0.25rem;
}

.no-slider, .no-slider * {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}
.hover-bg-danger:hover {
    background-color: #a81c3a !important; /* Bootstrap primary danger */
    color: #fff !important;
}
.hover-bg-green:hover {
    background-color: #1138a3 !important; /* Bootstrap primary green */
    color: #fff !important;
}

.hover-bg-blue:hover {
    background-color: #1ad1e9 !important; /* Bootstrap primary white */
    color: #fff !important;
}

.hover-bg-yellow:hover {
    background-color: #af9211 !important; /* Bootstrap info info */
    color: #fff !important;
}

/* [NEW] Popup Icon Container */
.popup-icon-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease;
}

.popup-icon:hover {
    transform: scale(1.1);
}

.popup-icon i {
    font-size: 22px;
}

/* [NEW] Add distinct colors for each icon */
.popup-icon:nth-child(1) { background-color: #28a745; } /* Green for comments */
.popup-icon:nth-child(2) { background-color: #0088cc; } /* Blue for Telegram */
.popup-icon:nth-child(3) { background-color: #3b5998; } /* Facebook Blue */
.popup-icon:nth-child(4) { background-color: #ffc107; } /* Yellow for Chat */
.popup-icon:nth-child(5) { background-color: #dc3545; } /* Red for map */

.popup-icon:nth-child(1):hover { background-color: #218838; }
.popup-icon:nth-child(2):hover { background-color: #0077b5; }
.popup-icon:nth-child(3):hover { background-color: #344e86; }
.popup-icon:nth-child(4):hover { background-color: #e0a800; }
.popup-icon:nth-child(5):hover { background-color: #c82333; }

/* [NEW] Popup Window Styles */
.popup-3, .popup-4, .popup-5, .popup-6, .popup-chat {
    display: none;
    position: fixed;
    bottom: 85px;
    right: 85px;
    width: 320px;
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1050;
    border: 1px solid #dee2e6;
}

.popup-3.active, .popup-4.active, .popup-5.active, .popup-6.active, .popup-chat.active {
    display: block;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #6c757d;
}
/* Add a background to the header when it becomes sticky on scroll */
.fixed-top.fixed-header-bg-white {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Remove bullet points from the top header lists */
.top-header ul {
    list-style-type: none;
    padding-left: 0;
}

/* Popup Icon Container */
.icon-thumb-one {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid #e9ecef;
}

.icon-thumb-one:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.5);
}

.icon-thumb-one .left-arrow i,
.icon-thumb-one .flaticon-handshake {
    font-size: 48px; /* Larger icons */
    margin-bottom: 15px;
    width: 50px;
    height: 50px;
    background-color: #28a745; /* Your site's primary green */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease;
}

/* Mobile Footer Menu */
.mobile-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    justify-content: space-around !important; /* Important to override navbar */
    padding: 10px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-footer-menu.menu-visible {
    transform: translateY(0);
}

.mobile-footer-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.mobile-footer-menu .menu-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 70px; 
    }
}

@media (min-width: 768px) {
    .mobile-footer-menu {
        display: none;
    }
}

.price-badge {
    color: rgb(60, 177, 76);
}

/* New Property Card Styles (v2) */
.property-card-v2 {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.property-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.property-card-v2 .card-img-container {
    position: relative;
}

.property-card-v2 .card-img-top {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.property-card-v2 .property-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
}

.property-card-v2 .property-badge-status {
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.property-card-v2 .card-body {
    padding: 1rem;
    flex-grow: 1;
}

.property-card-v2 .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-card-v2 .card-title a {
    color: #333;
    text-decoration: none;
}

.property-card-v2 .card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.property-card-v2 .card-location {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.property-card-v2 .card-rating .review-count {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 5px;
}

.property-card-v2 .card-footer {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Popular Places Card Styles */
.popular-place-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.popular-place-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.popular-place-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.popular-place-card:hover img {
    transform: scale(1.1);
}

.popular-place-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay for better text readability */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.popular-place-card .card-content h4 a {
    color: #fff;
    text-decoration: none;
}

/*-feature page table-*/
.style-table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.style-table thead tr {
    background-color: #f8f9fa;
}

.style-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #343a40;
    border-bottom: 2px solid #dee2e6;
}

.style-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.style-table tbody tr:hover {
    background-color: #f1f3f5;
}

.style-table .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.style-table .btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.style-table .btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}
.style-table .property-info {
    display: inline-block;
    vertical-align: middle;
    margin-left: 55px;
}

.style-table img {
    width: 250px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}