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

:root {
    --primary-orange: #FF6B35;
    --dark-navy: #2C3E50;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-gray: #6C757D;
    --border-color: #DEE2E6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.text-orange {
    color: var(--primary-orange) !important;
}

/* Header */
.header-nav {
    background: #fdfdfd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.logo-box {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A25 100%);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 19px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.2);
    transition: transform 0.3s;
}

.brand-accent {
    color: var(--primary-orange);
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 18px !important;
    transition: color 0.3s;
    font-size: 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange);
}

.navbar-nav .nav-link.active {
    color: var(--primary-orange);
    font-weight: 600;
}

.btn-orange {
    background: var(--primary-orange);
    color: white;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    font-size: 15px;
}

.btn-orange:hover {
    background: #E55A25;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Hero Section */
.hero-banner {
    position: relative;
    background: linear-gradient(to right, rgba(30, 41, 59, 0.75) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(30, 41, 59, 0.45) 100%),
        url('C:/Users/Amonex/.gemini/antigravity/brain/57d33590-7608-4c87-9284-f977aeb2e665/hero_building_background_1769274394133.png');
    background-size: cover;
    background-position: center right;
    padding: 80px 0 60px;
    color: white;
    min-height: 480px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
}

/* Search Card */
.search-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    margin: 0 auto 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px !important;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 7px 20px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-gray);
    transition: all 0.3s;
    cursor: pointer;
    font-size: 15px;
}

.tab-btn:hover {
    background: rgba(255, 107, 53, 0.08);
    color: var(--primary-orange);
}

.tab-btn.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: none;
}

.property-search-form {
    position: relative;
}

.property-search-form .search-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 15px;
    color: var(--text-gray);
    z-index: 1;
    font-size: 1rem;
}

.search-field input,
.search-field select {
    border: none;
    padding: 10px 10px 10px 40px;
    border-radius: 10px;
    width: 100%;
    font-size: 15px;
    background: #F5F5F5;
    transition: all 0.3s;
    color: var(--text-dark);
}

.search-field input::placeholder,
.search-field select {
    color: #9CA3AF;
}

.search-field input:focus,
.search-field select:focus {
    background: #ECECEC;
    outline: none;
    border: none;
}

.search-btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
}

/* Property Type Dropdown */
.property-type-dropdown-wrapper {
    position: relative;
}

.property-type-dropdown,
.budget-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    background: #F5F5F5 !important;
    border: none !important;
    padding: 12px 15px 12px 42px !important;
    height: 46px !important;
    font-size: 15px !important;
    color: var(--text-dark) !important;
    border-radius: 10px !important;
}

.property-type-dropdown:hover {
    background: #ECECEC !important;
}

.property-type-dropdown .dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.property-type-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Filters Dropdown Panel */
.filters-dropdown-panel {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #FAFAFA;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-inner {
    padding: 20px;
}

.property-types-section {
    margin-bottom: 20px;
}

.property-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.property-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 14px;
    color: var(--text-dark);
}

.property-type-option:hover {
    background: #F5F5F5;
}

.property-type-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.property-type-option span {
    user-select: none;
}

.commercial-link {
    display: block;
    color: var(--text-gray);
    font-size: 13px;
    text-decoration: none;
    margin-top: 10px;
}

.commercial-link span {
    color: var(--primary-orange);
    font-weight: 600;
}

.commercial-link:hover span {
    text-decoration: underline;
}

/* Additional Filters */
.additional-filters {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.filter-dropdown-btn {
    background: white;
    border: 1.5px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-dropdown-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.filter-dropdown-btn i {
    font-size: 11px;
}

/* Sub Filter Wrapper */
.sub-filter-wrapper {
    position: relative;
}

.sub-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 180px;
    z-index: 150;
    animation: subDropdownSlide 0.2s ease;
}

@keyframes subDropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    color: var(--text-dark);
}

.sub-filter-option:hover {
    background: #F5F5F5;
}

.sub-filter-option input[type="radio"],
.sub-filter-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.sub-filter-option span {
    user-select: none;
}

.filter-dropdown-btn.active {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.filter-dropdown-btn.active i {
    transform: rotate(180deg);
}

/* Stats */
.stats-row {
    display: flex;
    gap: 60px;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
}

/* Sections */
.featured-section,
.why-choose-section {
    padding: 80px 0;
}

.why-choose-section {
    background: var(--light-gray);
}

.section-label {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.view-all-link {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: var(--primary-orange);
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.badge {
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.badge-orange {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A25 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.badge-white {
    background: var(--dark-navy);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.4);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.wishlist-btn:hover {
    background: white;
    transform: scale(1.15);
}

.wishlist-btn i {
    color: var(--text-gray);
}

.wishlist-btn:hover i {
    color: var(--primary-orange);
}

.property-body {
    padding: 22px;
}

.price-tag {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.property-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-features {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-gray);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A25 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A25 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.footer-links h6,
.footer-contact h6 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--primary-orange);
    margin-top: 3px;
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-orange);
}

/* Properties Page Specific */
.page-header {
    background: var(--light-gray);
    padding: 60px 0 40px;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.page-subtitle {
    color: var(--text-gray);
    margin: 0;
}

.filter-section {
    background: white;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.filter-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 15px;
}

.filter-btn {
    background: white;
    border: 1.5px solid var(--border-color);
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-info-card {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--text-dark);
}

.form-control {
    border: 1.5px solid #e0e0e0;
    padding: 14px 18px;
    border-radius: 10px;
    width: 100%;
    font-size: 15px;
    background: white;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.12);
    outline: none;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .property-search-form .search-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .search-card {
        padding: 20px;
        width: 100% !important;
        margin: 0;
    }

    .stats-row {
        gap: 20px;
    }

    .filter-row {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        padding: 40px 0;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .search-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .search-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

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

/* ===============================
   Pagination Styles
   =============================== */
.pagination {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.pagination .page-link:hover {
    background: #F9FAFB;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.15);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-orange), #FF8B5A);
    border-color: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.pagination .page-item.disabled .page-link {
    background: #F3F4F6;
    border-color: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
    background: #F3F4F6;
    border-color: #E5E7EB;
}

/* Autocomplete Dropdown Styles */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1000;
    animation: dropdownSlide 0.3s ease;
}

.autocomplete-category {
    padding: 12px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #F8F9FA;
    border-bottom: 1px solid #E9ECEF;
    margin-top: 4px;
}

.autocomplete-item {
    padding: 0px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #F1F3F5;
    transition: all 0.2s;
    min-height: 20px;
    line-height: 2.0;
    margin-bottom: 8px;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #F8F9FA;
    color: var(--primary-orange);
}

.autocomplete-item i {
    color: var(--primary-orange);
    font-size: 16px;
    min-width: 16px;
    flex-shrink: 0;
    position: static !important;
    left: auto !important;
}

.autocomplete-item span {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 2.0;
    display: block;
    padding: 2px 0;
}

.autocomplete-item:hover span,
.autocomplete-item.active span {
    color: var(--primary-orange);
    font-weight: 500;
}

/* List View Styles */
.view-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
}

.view-btn {
    background: white;
    border: 1.5px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.view-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.view-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.view-btn i {
    font-size: 18px;
}

/* Property List View (Horizontal Cards) */
.property-card-list {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    margin-bottom: 20px;
}

.property-card-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.property-card-list .property-image {
    width: 350px;
    min-width: 350px;
    height: 250px;
}

.property-card-list .property-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-card-list .property-main-info {
    flex: 1;
}

.property-card-list .property-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.property-card-list .property-description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card-list .property-features {
    border-top: none;
    padding-top: 0;
    margin-bottom: 16px;
}

.property-card-list .property-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.property-card-list .btn-contact {
    background: var(--primary-orange);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
}

.property-card-list .btn-contact:hover {
    background: #E55A25;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-card-list {
        flex-direction: column;
    }

    .property-card-list .property-image {
        width: 100%;
        height: 220px;
    }
}

/* Pagination SVG Icon Fix */
nav[role="navigation"] svg,
.pagination svg {
    width: 20px !important;
    height: 20px !important;
}

/* Hide duplicate Previous/Next text in Laravel pagination (keep only icons) */
nav[role="navigation"] a[rel="prev"],
nav[role="navigation"] a[rel="next"],
nav[role="navigation"] a[aria-label*="Previous"],
nav[role="navigation"] a[aria-label*="Next"] {
    font-size: 0 !important;
}

nav[role="navigation"] svg {
    font-size: 16px !important;
}

/* Hide mobile-style text pagination links (keeps clean numbered pagination) */
nav[role="navigation"] .flex.justify-between.flex-1,
nav[role="navigation"] div[class*="sm:hidden"] {
    display: none !important;
}

/* ===============================
   PREMIUM HORIZONTAL PROPERTY CARDS
   =============================== */
.property-card-horizontal {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.property-card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.property-card-image {
    position: relative;
    width: 350px;
    min-width: 350px;
    height: 280px;
    overflow: hidden;
}

.property-card-image .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card-horizontal:hover .card-img {
    transform: scale(1.1);
}

/* Badges Overlay */
.property-badges-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.badge-featured {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.4);
}

/* Badge-featured on its own (e.g. listing page): white pill with dark text */
.badge-featured-white {
    background: white;
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-listing-type {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Favorite Heart */
.favorite-heart {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 10;
}

.favorite-heart:hover {
    transform: scale(1.15);
    background: #FFF5F5;
}

.favorite-heart i {
    font-size: 20px;
    color: #666;
    transition: all 0.3s;
}

.favorite-heart.active i,
.favorite-heart:hover i {
    color: #FF6B35;
}

/* Details Section */
.property-card-details {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.property-header {
    margin-bottom: 16px;
}

.property-title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.property-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.property-title a:hover {
    color: #FF6B35;
}

.property-location {
    color: #666;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: #FF6B35;
    font-size: 16px;
}

/* Features Grid */
.property-features {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 12px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.feature-item i {
    color: #FF6B35;
    font-size: 18px;
}

/* Footer */
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.property-agent span {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.property-price-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.property-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: #FF6B35;
}

.btn-view-details {
    background: linear-gradient(135deg, #FF6B35, #FF8C42);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-view-details i {
    transition: transform 0.3s;
}

.btn-view-details:hover i {
    transform: translateX(4px);
}

/* Responsive */
/* Sticky Sidebar - Keeps filters visible while scrolling */
.widget-sidebar.fixed-sidebar {
    position: sticky;
    top: 100px;
    /* Space from top when scrolling */
    max-height: calc(100vh - 120px);
    /* Prevent sidebar from being taller than viewport */
    overflow-y: auto;
    /* Allow sidebar to scroll if content is too long */
    align-self: flex-start;
    /* Align to top of flex container */
}

/* Custom scrollbar for sidebar (optional, for premium look) */
.widget-sidebar.fixed-sidebar::-webkit-scrollbar {
    width: 6px;
}

.widget-sidebar.fixed-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.widget-sidebar.fixed-sidebar::-webkit-scrollbar-thumb {
    background: #FF6B35;
    border-radius: 10px;
}

.widget-sidebar.fixed-sidebar::-webkit-scrollbar-thumb:hover {
    background: #E55A2B;
}

@media (max-width: 992px) {
    .property-card-horizontal {
        flex-direction: column;
    }

    .property-card-image {
        width: 100%;
        height: 240px;
    }

    .property-features {
        flex-wrap: wrap;
        gap: 16px;
    }

    .property-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .property-price-action {
        width: 100%;
        justify-content: space-between;
    }
}