/* --- Unified Property Badges (top-right and top-left) --- */
.property-badges-absolute {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 10;
}
.property-badges-left {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    z-index: 10;
}
.property-badge {
    background: #eab308;
    color: #055A42;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.property-badge.featured {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.18rem 0.8rem;
    border-radius: 12px;
}
.property-badge.status {
    background: #f3f4f6;
    color: #055A42;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9px;
    padding: 0.13rem 0.7rem;
}
/* HomeMate Africa - Main CSS */

:root {
    --primary-color: #055A42;
    --secondary-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Navigation */

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 1rem;
}

.hero-text {
    color: white;
    text-align: left;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: none;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    height: 330px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Navigation and Search Card */
.hero-nav-search-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.property-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.nav-tab {
    background: #f8f9fa;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    cursor: pointer;
}

.nav-tab.active,
.nav-tab:hover {
    background: var(--primary-color);
    color: white;
}

.hero-search-section {
    text-align: center;
}

.search-input-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: white;
}

.hero-search-btn {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-btn:hover {
    background: #1e7e34;
}

/* Search Form */
.search-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #1e7e34;
    border-color: #1e7e34;
    transform: translateY(-2px);
}

.btn-search {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Featured Properties Section */
.featured-properties {
    padding: 40px 0 80px 0;
    background: white;
}

.featured-properties .container {
    max-width: 1400px;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-header .section-title {
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    margin-bottom: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #055A42;
}

/* View All Button */
.view-all-btn {
    color: #055A42;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    right: 0;
}

.view-all-btn:hover {
    transform: translateX(5px);
}

.featured-properties .properties-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2rem;
    width: 100% !important;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

/* Category Cards - First Row */
.category-card {
    cursor: pointer;
}

.category-card .property-info {
    display: none; /* Hide property info for category cards */
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent, rgba(5, 90, 66, 0.9));
}

/* Property Filter Tabs */
.property-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Featured Properties Grid */
.featured-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Property Card */
.featured-property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.featured-property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Property Image Container */
.property-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-property-card:hover .property-image-container img {
    transform: scale(1.05);
}

/* Favorite Button */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.favorite-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: #dc3545;
    color: white;
}

/* Property Content */
.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.property-location {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location i {
    color: var(--primary-color);
}

/* Property Features */
.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.feature i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Property Agent */
.property-agent {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.agent-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* View All Properties Button */
.view-all-properties {
    background: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-properties:hover {
    background: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    color: #1e7e34;
    text-decoration: none;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(5, 90, 66, 0.95) 0%, rgba(34, 197, 94, 0.9) 100%),
        url('./assets/images/stats-background-buildings.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./assets/images/stats-background-buildings.svg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #fde047;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Financial Partners Section */
.financial-partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.financial-partners-section .section-header {
    margin-bottom: 3rem;
}

.financial-partners-section .section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.financial-partners-section .section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.partners-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.partner-showcase-item {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(5, 90, 66, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(5, 90, 66, 0.1);
}

.partner-showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(5, 90, 66, 0.15);
    border-color: var(--primary-color);
}

.partner-logo-container {
    width: 200px;
    height: 100px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.partner-showcase-item:hover .partner-logo-container {
    border-color: var(--primary-color);
    background: rgba(5, 90, 66, 0.05);
}

.partner-showcase-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.partner-showcase-info .partner-name {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.partner-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.rate-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.rate-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.rate-suffix {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.partners-cta {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(5, 90, 66, 0.08);
    border: 1px solid rgba(5, 90, 66, 0.1);
}

.cta-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 90, 66, 0.3);
}

.cta-btn:hover {
    background: #044a37;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(5, 90, 66, 0.4);
    text-decoration: none;
}

/* Responsive Design for Financial Partners */
@media (max-width: 768px) {
    .financial-partners-section {
        padding: 60px 0;
    }
    
    .financial-partners-section .section-title {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-showcase-item {
        padding: 1rem 0.8rem;
    }
    
    .partner-logo-container {
        width: 160px;
        height: 80px;
        padding: 15px;
    }
    
    .rate-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .partner-logo-container {
        width: 140px;
        height: 70px;
        padding: 12px;
    }
    
    .partner-showcase-info .partner-name {
        font-size: 0.8rem;
    }
    
    .rate-value {
        font-size: 1rem;
    }
    
    .rate-label, .rate-suffix {
        font-size: 0.6rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features .container {
    text-align: center;
}

.features .section-title {
    margin-bottom: 0.5rem;
}

.features .section-subtitle {
    margin-bottom: 3rem;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #055A42, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services .container {
    text-align: center;
}

.services .section-title {
    margin-bottom: 0.5rem;
}

.services .section-subtitle {
    margin-bottom: 3rem;
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #055A42, #22c55e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #055A42;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #055A42 0%, #22c55e 50%, #eab308 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #055A42;
    color: white;
    border: 2px solid #055A42;
}

.btn-primary:hover {
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #055A42;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .hero-content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .hero-text {
        text-align: center;
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        padding-left: 0;
        order: 1;
    }
    
    .hero-image img {
        max-width: 320px;
        height: 280px;
    }
    
    .hero-nav-search-card {
        padding: 1.5rem;
    }
    
    .property-nav-tabs {
        gap: 0.3rem;
    }
    
    .nav-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-input-container {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .hero-search-input {
        border-radius: 10px 10px 0 0;
    }
    
    .hero-search-btn {
        border-radius: 0 0 10px 10px;
        padding: 0.75rem;
    }

    /* Featured Properties Mobile */
    .featured-properties {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .property-filter-tabs {
        gap: 0.3rem;
        margin-bottom: 2rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .featured-properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-property-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .property-image-container {
        height: 200px;
    }
    
    .property-content {
        padding: 1.25rem;
    }
    
    .property-price {
        font-size: 1.3rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .property-features {
        gap: 0.75rem;
    }
    
    .feature {
        font-size: 0.8rem;
    }

    .featured-properties .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .featured-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-properties .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content-row {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-content-row {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image {
        flex: none;
        margin-bottom: 2rem;
    }
    
    .hero-nav-search-card {
        padding: 1.5rem 1rem;
        margin: 0 1rem;
    }
    
    .property-nav-tabs {
        justify-content: center;
        gap: 0.25rem;
    }
    
    .nav-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-input-container {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .hero-search-input {
        border-radius: 10px 10px 0 0;
    }
    
    .hero-search-btn {
        border-radius: 0 0 10px 10px;
        padding: 0.75rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .stat {
        padding: 1.5rem 0.5rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .property-nav-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .nav-tab {
        flex: 1;
        min-width: calc(50% - 0.125rem);
        text-align: center;
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .stat {
        padding: 1rem 0.5rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
    .hero-nav-search-card {
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .category-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .category-title {
        font-size: 1.25rem;
    }
    
    .category-subtitle {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-light) !important;
}

.border-radius-custom {
    border-radius: 15px !important;
}

/* --- Properties Page Styles --- */
.properties-page {
    background: #f8fafc;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, #055A42 0%, #22c55e 100%);
    color: white;
    padding: 3rem 0 2rem 0;
    margin-bottom: 0;
}
.page-header-content {
    text-align: center;
}
.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}
.breadcrumb {
    color: #e0e7ef;
    font-size: 0.95rem;
}
.breadcrumb a {
    color: #fde047;
    text-decoration: none;
}
.breadcrumb-separator {
    margin: 0 0.5rem;
}
.breadcrumb-current {
    color: #fff;
}

.search-filter-section {
    background: linear-gradient(135deg, #064e3b 0%, #055A42 100%);
    box-shadow: 0 4px 20px rgba(5, 90, 66, 0.15);
    border-radius: 12px;
    margin: 1rem 0 0.5rem 0;
    padding: 1.5rem 2rem;
    color: white;
}
.search-filter-section * {
    margin: 0 !important;
}
.search-filter-card {
    max-width: 100%;
    margin: 0;
    background: transparent;
    padding: 0;
}
.property-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.main-search-bar {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.search-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0.3rem 0.7rem;
    flex: 1;
    height: 40px;
}
.inline-filter-group {
    display: flex;
    align-items: flex-end;
}
.inline-filter-select {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    height: 36px;
    min-width: 110px;
    box-sizing: border-box;
}
.inline-reset-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s, color 0.2s;
    height: 36px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}
.inline-reset-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.top-filters {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}
.top-filter-group {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.top-filter-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}
.search-icon {
    color: #055A42;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
.main-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.5rem 0.4rem;
    outline: none;
    height: 100%;
}
.search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    margin-left: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s;
    height: 40px;
    font-size: 0.9rem;
}
.search-btn:hover {
    background: #15803d;
}
.advanced-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.filters-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    flex: 1 1 150px;
}

/* Mortgage Feature Styling */
.mortgage-feature {
    min-width: 200px;
    flex: 1 1 200px;
}

.mortgage-checkbox-wrapper {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 90, 66, 0.1), rgba(251, 191, 36, 0.1));
    border: 2px solid rgba(5, 90, 66, 0.3);
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 40px;
    margin-top: 1.3rem;
}

.mortgage-checkbox-wrapper:hover {
    border-color: #055A42;
    background: linear-gradient(135deg, rgba(5, 90, 66, 0.15), rgba(251, 191, 36, 0.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 90, 66, 0.2);
}

.mortgage-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #055A42;
}

.mortgage-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #055A42;
    font-weight: 600;
    margin: 0;
}

.mortgage-label i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #055A42;
}

.mortgage-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.mortgage-text strong {
    font-size: 0.95rem;
    color: #055A42;
}

.mortgage-text small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

/* Inline Mortgage Filter for Results Header */
.results-mortgage-filter {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.mortgage-checkbox-wrapper-inline {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(5, 90, 66, 0.1), rgba(251, 191, 36, 0.1));
    border: 2px solid rgba(5, 90, 66, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mortgage-checkbox-wrapper-inline:hover {
    border-color: #055A42;
    background: linear-gradient(135deg, rgba(5, 90, 66, 0.15), rgba(251, 191, 36, 0.15));
    box-shadow: 0 2px 8px rgba(5, 90, 66, 0.2);
}

.mortgage-checkbox-inline {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #055A42;
}

.mortgage-label-inline {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #055A42;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
}

.mortgage-label-inline i {
    font-size: 1rem;
    margin-right: 6px;
    color: #055A42;
}

.mortgage-text-inline {
    color: #055A42;
}
.filter-label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #f1f5f9;
}
.filter-select, .price-input {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.2rem;
    color: #1f2937;
    height: 40px;
    box-sizing: border-box;
}
.price-range {
    min-width: 250px;
    flex: 1.2 1 250px;
}
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.price-input {
    flex: 1;
    min-width: 100px;
}
.price-separator {
    color: #64748b;
    font-size: 1.1rem;
}
.filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    margin-top: 0.4rem;
}
.apply-filters-btn, .reset-filters-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, color 0.2s;
    height: 40px;
    box-sizing: border-box;
}
.apply-filters-btn {
    background: #22c55e;
    color: #fff;
}
.apply-filters-btn:hover {
    background: #16a34a;
}
.reset-filters-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.reset-filters-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Features Row */
.features-row {
    display: flex;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.features-group {
    width: 100%;
}
.features-label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: #f1f5f9;
    display: block;
}
.features-checkboxes {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.feature-checkbox {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: auto;
}
.feature-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.feature-checkbox input[type="checkbox"]:checked {
    background: #22c55e;
    border-color: #22c55e;
}
.feature-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.feature-checkbox label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    transition: color 0.2s ease;
}
.feature-checkbox label:hover {
    color: #fff;
}
.feature-checkbox label i {
    color: #22c55e;
    font-size: 0.85rem;
}

/* Properties Listing */
.properties-listing {
    padding: 0 0 2rem 0;
    margin-top: 0 !important;
}
.properties-listing .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.results-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.view-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-count {
    font-size: 1.3rem;
    font-weight: 600;
    color: #055A42;
}

.results-subtitle {
    font-size: 1rem;
    color: #64748b;
}
.view-toggle {
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-size: 1.1rem;
    color: #055A42;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.view-toggle.active, .view-toggle:hover {
    background: var(--primary-color);
    color: #fff;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 0.5rem;
}
.property-listing-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    max-width: none;
}
.property-listing-card:hover {
    box-shadow: 0 12px 32px rgba(34,197,94,0.13);
    transform: translateY(-6px) scale(1.01);
}
.property-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.property-image-link:hover {
    text-decoration: none;
    color: inherit;
}

.property-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.property-listing-card:hover .property-image-container img {
    transform: scale(1.05);
}

/* Unified Property Badges (top-right and top-left) */
.property-badges-absolute {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 10;
}
.property-badges-left {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    z-index: 10;
}
.property-badge {
    background: #eab308;
    color: #055A42;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.property-badge.featured {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.18rem 0.8rem;
    border-radius: 12px;
}
.property-badge.status {
    background: #f3f4f6;
    color: #055A42;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9px;
    padding: 0.13rem 0.7rem;
}
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    z-index: 2;
    color: #055A42;
    font-size: 1.1rem;
}
.favorite-btn.active, .favorite-btn:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}
.quick-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 2;
}
.quick-view-btn {
    background: #fff;
    color: #055A42;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.4rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.quick-view-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.property-content {
    padding: 1.5rem 1.4rem 1.3rem 1.4rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}
.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.property-type {
    font-size: 1rem;
    color: #64748b;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-weight: 500;
}
.property-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #055A42;
    line-height: 1.4;
}
.property-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.property-title a:hover {
    color: #22c55e;
}
.property-location {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.property-location i {
    color: var(--primary-color);
}
.property-features {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #6c757d;
}
.feature i {
    color: var(--primary-color);
    font-size: 0.85rem;
}
.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.4rem;
    gap: 1rem;
}
.property-agent {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.agent-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.agent-info {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}
.agent-name {
    font-weight: 600;
    color: #055A42;
}
.agent-title {
    color: #64748b;
    font-size: 0.88rem;
}
.property-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contact-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-btn:hover {
    background: #15803d;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.page-btn {
    background: #f3f4f6;
    color: #055A42;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}
.page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.page-btn:hover {
    background: var(--primary-color);
    color: #fff;
}
.page-numbers {
    display: flex;
    gap: 0.3rem;
}
.page-number {
    background: #fff;
    color: #055A42;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.page-number.active, .page-number:hover {
    background: var(--primary-color);
    color: #fff;
}
.page-dots {
    color: #64748b;
    font-size: 1.1rem;
    padding: 0 0.5rem;
}

/* Responsive for Properties Page */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    .property-image-container {
        height: 260px;
    }
}
@media (max-width: 700px) {
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.25rem;
    }
    .search-filter-card {
        padding: 1.2rem 0.5rem;
    }
    .filters-row {
        flex-direction: column;
        gap: 0.7rem;
    }
    .features-checkboxes {
        gap: 1rem;
        justify-content: flex-start;
    }
    .feature-checkbox {
        min-width: calc(50% - 0.5rem);
        justify-content: flex-start;
    }
    .property-image-container {
        height: 240px;
    }
    .property-content {
        padding: 1.2rem 1rem 1rem 1rem;
    }
    .property-price {
        font-size: 1.3rem;
    }
    .property-title {
        font-size: 1.1rem;
    }
}

/* --- Compact Search Section Styles --- */
.compact-search {
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
.compact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}
.compact-main-search {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}
.compact-search-input-group {
    display: flex;
    align-items: center;
    flex: 1 1 0%;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 0.2rem 0.7rem;
    box-shadow: none;
}
.compact-input {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.4rem 0.5rem;
    width: 100%;
    outline: none;
}
.compact-search-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.9rem;
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: background 0.2s;
}
.compact-search-btn:hover {
    background: #218838;
}
.compact-filters-row {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.compact-select {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.3rem 0.7rem;
    font-size: 0.95rem;
    background: #fff;
    color: #222;
}
@media (max-width: 768px) {
    .compact-main-search, .compact-filters-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .compact-form {
        gap: 0.5rem;
    }
}
/* --- End Compact Search Section Styles --- */

/* Footer Styles */
footer.bg-dark {
    background: #1a1a1a !important;
}

footer.bg-dark * {
    color: white !important;
}

footer.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer.bg-dark a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.3s ease;
}

footer.bg-dark a:hover {
    color: #28a745 !important;
}

footer.bg-dark .text-primary {
    color: #28a745 !important;
}

footer.bg-dark .text-warning {
    color: #ffc107 !important;
}

/* No Results Section */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.no-results i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.results-summary {
    font-size: 0.95rem;
    color: #64748b;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}
