/*
Primary Colors:
Blue: #1A2B4C (Deep professional blue)
White: #FFFAFA (Off-white background)
Accent: #FF9900 (A bold, warm orange for key interactions)
*/


/* ==================== GLOBAL RESET & TYPOGRAPHY ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Poppins for clean, modern body text */
    font-family: 'Poppins', Arial, sans-serif;
    background: #f5f5f5; /* Slightly darker background for content separation */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: #1A2B4C;
    line-height: 1.2;
}

a {
    color: #1A2B4C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF9900; /* Use accent color for hover */
}

/* Central container for all main content */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFAFA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px; /* IMPORTANT: Add max-width here so the content doesn't stretch past the main container */
    width: 100%;
    display: flex;
    align-items: center;
    /* CHANGE: Space-between is perfect for separating logo and links */
    justify-content: space-between; 
    padding: 0 1.5rem; /* This provides the horizontal padding you need! */
}

/* CHANGE: Since .nav-toggle is now inside .nav-container, we hide it on desktop. */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #1A2B4C;
    font-size: 2rem;
    cursor: pointer;
}

.nav-links {
    /* No change needed here—it still handles the internal spacing of the links */
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #1A2B4C;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent; /* Prepare for hover/active effect */
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #FF9900;
    border-bottom: 2px solid #FF9900;
}


/* ==================== NAVBAR LOGO ADJUSTMENT ==================== */

/* Keep the .logo styling for structure but target the image */
.site-logo-img {
    height: 30px; /* Adjust as needed for visual balance */
    width: auto;
    display: block; /* Ensures proper alignment */
}

.logo {
    /* Playfair Display for a classic, sophisticated logo */
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1A2B4C;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* Override the old text styles for .logo if they conflict with the image */
.logo {
    font-size: 0; /* Hide the old font-size */
    line-height: 1; 
}

/* Mobile size adjustment for the logo */
@media (max-width: 768px) {
    .site-logo-img {
        height: 25px; 
    }
}


/* ==================== HERO SECTION ==================== */
.hero {
    height: 100vh; /* Taller hero section */
    background: url('../images/hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem; /* Extra padding for fixed nav */
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.search-form {
    /* Keeps items side-by-side */
    display: flex;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.search-form input {
    /* Input takes up all extra space */
    flex-grow: 1; 
    min-width: 150px; /* Reduced min-width slightly for smaller desktop/tablet views */
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
}

.search-form button {
    /* Button keeps its size and doesn't grow or shrink */
    flex-grow: 0;
    flex-shrink: 0;
    padding: 1rem 2rem;
    border: none;
    background: #FF9900; 
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background: #ffaa33;
}


/* ==================== SEARCH SUGGESTIONS STYLES (Restored) ==================== */

.search-wrapper {
    /* Added relative positioning to contain the suggestion box */
    position: relative; 
    width: 100%;
    max-width: 650px;
    margin-top: 1rem;
}

.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff; 
  border-radius: 8px; /* Slightly softer corners */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Softer, professional shadow */
  z-index: 1000;
  max-height: 350px; /* Max height to prevent overflow on smaller screens */
  overflow-y: auto;
  padding: 0; /* Removed padding here, moved to item */
  border: 1px solid #e2e2e2;
  margin-top: 4px; /* Small space below the input */
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 15px; /* Increased gap for breathing room */
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f1f1f1;
}

.suggestion-item:hover {
  background: #f8f8f8; /* Subtle hover effect */
}

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

.suggestion-item img {
  width: 60px; /* Slightly larger image */
  height: 60px;
  object-fit: cover;
  border-radius: 4px; /* Match card styling */
  flex-shrink: 0;
}

.suggestion-text {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
}

.suggestion-text strong {
    font-size: 1rem;
    color: #1A2B4C;
}

.more-results {
  padding: 12px 15px;
  font-size: 0.9rem;
  color: #1A2B4C;
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  border-top: 1px solid #e9e9e9;
  transition: background 0.15s ease;
}

.more-results:hover {
  background: #f0f0f0;
}

.no-results {
  padding: 15px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

.no-results a {
  color: #FF9900; /* Use your accent color for the link */
  text-decoration: underline;
  font-weight: 500;
}

.hidden {
  display: none;
}

/* ==================== FEATURED FILTERS ==================== */
.filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: #FFFAFA; /* Your white color */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;
}

.filter-item {
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.filter-item:hover {
    background: #1A2B4C;
    color: white;
    border-color: #1A2B4C;
}


/* ==================== MAIN CONTENT & LISTINGS ==================== */
.main-content {
    /* Stacked content layout */
    display: grid;
    grid-template-columns: 3fr 1fr; /* Two-column layout */
    gap: 3rem;
    padding: 4rem 1.5rem;
}

.listings-section {
    grid-column: 1 / 2; /* Takes the main column */
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.property-image-wrapper {
    height: 220px;
    overflow: hidden;
}

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

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

.property-info-body {
    padding: 1.25rem;
}

.property-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1A2B4C;
    margin-bottom: 0.5rem;
}

.property-details {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.detail-icon {
    margin-right: 0.25rem;
    color: #FF9900; /* Use accent color for icons */
}

.property-location {
    font-size: 0.9rem;
    color: #888;
}

/* Sidebar */
.sidebar {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: #FFFAFA;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sidebar-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.map-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 0.5rem;
}


/* ==================== COUPLE SECTION ==================== */
.couple-section {
    display: flex;
    position: relative;
    width: 100%;
    height: 60vh; /* Set a fixed height for visual impact */
    margin-top: 4rem;
}

.left-pane {
    flex: 1;
    background-color: #1A2B4C; /* Primary brand color */
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 4rem 0;
}

.left-content {
    padding-right: 2rem;
    max-width: 450px;
    text-align: right;
}

.left-pane h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.left-pane p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.right-pane {
    flex: 1;
    overflow: hidden;
}

.right-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Center Cards */
.center-overlay {
    position: absolute;
    top: 50%; /* Adjusted to 50% for a cleaner placement */
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
    z-index: 10;
}

.info-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    min-width: 280px;
    color: #1A2B4C;
    transition: transform 0.3s ease;
    border-top: 4px solid #FF9900; /* Accent top border */
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card span {
    font-size: 0.9rem;
    color: #555;
}


/* ==================== FOOTER ==================== */
.footer {
    background: #1A2B4C;
    color: #ddd;
    text-align: center;
    padding: 1.5rem 0;
}

.footer-content p {
    font-size: 0.9rem;
}



/* ==================== AGENTS INTRO SECTION STYLES ==================== */

.agents-intro {
    /* Ensure the content container has top/bottom spacing */
    padding-top: 4rem;
    padding-bottom: 2rem; 
    text-align: center; /* Center the block container itself */
}

.section-header-block {
    /* Limit the width of the text block for readability */
    max-width: 800px;
    
    /* Center the block within its container */
    margin: 0 auto;
    
    /* Add some bottom margin to separate it from the actual agent cards below */
    margin-bottom: 2rem; 
}

/* Adjust the section title to remove the underline we used for featured listings */
.agents-intro .section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem; /* Slightly less space than the general section title */
    border-bottom: none; /* Remove the border line */
    padding-bottom: 0;
    padding-top: 5rem;
}

.agents-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .agents-intro .section-title {
        font-size: 1.75rem;
    }
    .agents-intro p {
        font-size: 1rem;
    }
}

/* ==================== MOBILE & RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
    .main-content {
        /* Switch to single column for all content */
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }
    .listings-section, .sidebar {
        grid-column: 1 / 2;
    }
    .couple-section {
        height: auto;
        flex-direction: column;
        align-items: center;
    }
    .left-pane, .right-pane {
        width: 100%;
        padding: 3rem 0;
    }
    .left-content {
        text-align: center;
        padding-right: 0;
        max-width: 100%;
    }
    .center-overlay {
        position: static;
        transform: none;
        flex-direction: column;
        padding: 2rem 1.5rem;
        width: 100%;
        margin-top: -8rem; /* Pull cards up over the content */
    }
    .info-card {
        min-width: 100%;
    }
}

/* Language Toggle Button (Floating) */
.language-toggle {
    /* THIS IS THE CRITICAL FIX: Ensures the button stays put */
    position: fixed; 
    
    /* These properties define its location relative to the viewport */
    bottom: 20px;
    right: 20px;
    
    /* Rest of the styling (ensure these weren't changed) */
    background-color: #1A2B4C;
    border: none;
    border-radius: 50px;
    padding: 8px 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensure it stays above all other content */
    transition: background-color 0.3s ease;
}

.language-toggle:hover {
    background-color: #FF9900;
}

.language-toggle:hover {
  background-color: #FF9900;
}

.language-toggle img {
  width: 24px;
  height: 24px;
}





/* --- CITY LIST/INDEX SPECIFIC STYLES --- */

.city-list {
  /* No specific grid needed here, sections will stack */
  padding-top: 2rem;
}

.city-section {
  margin-bottom: 4rem; /* Spacing out each city block */
}

/* Ensure that property-grid inside city-list still functions correctly */
.city-list .property-grid {
    /* Restore the grid structure for the featured properties */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Ensure the property list is not affected by main-content's grid */
.main-content .property-list {
    flex: none; /* Override old rule if it still exists */
}

/* Re-apply City Heading styles for separation */
.city-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.city-heading a {
  color: #1A2B4C;
}



/* ==================== BROWSE CITIES PAGE STYLES (ENHANCEMENT) ==================== */

/* Main page title spacing */
.main-content .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A2B4C;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #FF9900; /* Subtle brand accent under the main title */
}

/* Container for all city blocks */
.city-list {
    display: flex;
    flex-direction: column;
    gap: 5rem; /* Large vertical gap to clearly separate city sections */
    padding-top: 1rem;
    padding-bottom: 4rem;
}

/* Individual city block */
.city-section {
    padding: 2rem;
    background: #ffffff; /* White background for definition */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft inner shadow */
    border: 1px solid #eee;
}

/* City Heading (e.g., "Taguig") */
.city-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.city-heading a {
    color: #1A2B4C;
    transition: color 0.3s ease;
}

.city-heading a:hover {
    color: #FF9900;
}

/* Ensure the property grid styling is correctly applied inside the section */
.city-section .property-grid {
    /* Inherits grid structure from style.css but we ensure margins */
    margin-top: 1.5rem;
}


/* View All Link Container */
.view-all-link-container {
    text-align: right; /* Pushes the link to the right */
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.view-all-link {
    font-size: 1rem;
    font-weight: 500;
    color: #1A2B4C;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease, padding-right 0.3s ease;
}

.view-all-link:hover {
    color: #FF9900;
    padding-right: 5px; /* Subtle hover animation */
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-content .page-title {
        font-size: 2rem;
    }
    .city-section {
        padding: 1rem;
        margin: 0;
    }
    .city-heading {
        font-size: 1.5rem;
        text-align: center;
    }
    .view-all-link-container {
        text-align: center;
    }
}



/* ==================== INQUIRE SECTION STYLES ==================== */

.inquire-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background-color: #1A2B4C; /* Dark background from your logo color */
    color: #fff;
    border-radius: 8px;
    margin: 3rem auto;
    max-width: 1200px;
}

.inquire-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.inquire-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.inquire-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #455a79;
    border-radius: 4px;
    background-color: #f7f7f7;
    color: #333;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF9900;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

.form-group textarea {
    grid-column: 1 / -1; /* Make the textarea span both columns */
    resize: vertical;
}

.submit-button {
    grid-column: 1 / -1;
    background-color: #FF9900; /* Your brand accent color */
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.submit-button:hover {
    background-color: #e58800; /* Slightly darker on hover */
    transform: translateY(-1px);
}

/* Single column on mobile */
@media (max-width: 768px) {
    .inquire-form {
        grid-template-columns: 1fr;
    }
    .inquire-section {
        padding: 3rem 1rem;
    }
}

/* ==================== CONTACT BUTTON STYLES ==================== */

/* General Button Style */
.cta-contact-btn {
    display: inline-block;
    background-color: #FF9900;
    color: white;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.1s;
    /* IMPORTANT: Use normal here to allow long Tagalog text to wrap onto multiple lines */
    white-space: normal; 
    border: 2px solid #FF9900;
}

.cta-contact-btn:hover {
    background-color: #e58800; 
    transform: translateY(-1px);
}

/* 1. Hero Section Button Styling */
.hero-contact-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    
    /* CRITICAL FIX 1: Set a maximum width to prevent horizontal overflow */
    max-width: 350px; 
}

/* 2. Listings Section Button Bar (Existing code, unchanged, included for completeness) */
.contact-cta-bar {
    text-align: center;
    padding: 2.5rem 0 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.contact-cta-bar p {
    font-size: 1.1rem;
    color: #1A2B4C;
    margin-bottom: 0.8rem;
}

.listings-contact-btn {
    background-color: transparent;
    color: #1A2B4C;
    border-color: #1A2B4C;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.listings-contact-btn:hover {
    background-color: #1A2B4C;
    color: white;
    transform: none;
}


@media (max-width: 550px) {
    .hero-contact-btn {
        width: 90%;
        max-width: 300px;
        padding: 0.75rem 1rem;
    }
}



@media (max-width: 768px) {

  .hero {
    padding-top: 0rem; /* Extra padding for fixed nav */
}
    /* Mobile Navigation */
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFAFA;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        width: 100%;
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-left: 4px solid transparent;
    }
    .nav-links a:hover {
        border-left: 4px solid #FF9900;
        background: #f8f8f8;
    }

.language-toggle {
      bottom: 50px;

    }
    /* Hero */
    .hero h1 { font-size: 2.2rem; }
    .hero-overlay p { font-size: 1rem; }

    /* Filters */
    .filters { flex-wrap: wrap; gap: 0.75rem; padding: 1.5rem 1rem; }
    
    /* Listings */
    .property-grid { grid-template-columns: 1fr; }
    .property-price { font-size: 1.4rem; }
}

.hero-callout {
    font-size: 1.1rem;
    font-weight: 500;
    color: #FF9900; /* Accent color to draw attention */
    background: rgba(0,0,0,0.5); 
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #FF9900;
}

.hero h1 {
    /* Ensure there is enough space between the callout and the H1 */
    margin-top: 1rem; 
}

/* ==================== HERO SECTION ==================== */
/* ... (existing hero section styles) ... */

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Spacing between stat items */
    margin-top: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap; 
}

.stat-item {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    
    /* NEW: Use flexbox to align icon and text */
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */

    /* Retain original border for separation */
    border-right: 2px solid rgba(255,255,255,0.4); 
    padding-right: 2rem; /* Padding for the border */
}

/* Style for the icons within stat-item */
.stat-item i {
    color: #FF9900; /* Use accent color for icons */
    font-size: 1.4rem; /* Make icons slightly larger than text */
    text-shadow: none; /* Remove text-shadow from icons */
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

/* Mobile Adjustment */
@media (max-width: 500px) {
    .hero-stats {
        gap: 1rem;
    }
    .stat-item {
        font-size: 0.9rem;
        padding-right: 1rem;
    }
    .stat-item i {
        font-size: 1.1rem; /* Adjust icon size for mobile */
    }
}

/* ==================== CITY LISTING PAGE FIX ==================== */

/* Target the container for the single-column layout */
.main-content.city-list-page {
    /* Override the default two-column grid settings */
    display: block; /* Switch back to standard block layout */
    grid-template-columns: none; /* Explicitly remove the grid definition */
    gap: 0; /* Remove the gap that was intended for the sidebar */
    
    /* Re-center the content, similar to the rest of the site */
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem; /* Ensure proper top/bottom padding */
}

/* Ensure the property list wrapper within the city page is also not a flex/grid container */
.city-list-page .property-list-wrapper {
    width: 100%;
    margin-top: 2rem;
}

/* Ensure the property grid styling is correctly applied */
.city-list-page .property-grid {
    /* Inherits styling, but explicitly set grid again for safety */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Style for the 'No Results' message */
.no-results-city {
    background: #FFFAFA;
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px dashed #FF9900;
    text-align: center;
    margin-top: 3rem;
}

.no-results-city p {
    font-size: 1.1rem;
    color: #1A2B4C;
    margin-bottom: 1.5rem;
}