/* 
   Compiled Tailwind-like CSS for EverGreen 
   Efficiently loading specific styles without CDN.
*/

@font-face {
    font-family: 'Google Sans Flex';
    src: url('../assets/Google-sans-fonts/GoogleSansFlex_24pt-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Google Sans Flex';
    src: url('../assets/Google-sans-fonts/GoogleSansFlex_24pt-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Google Sans Flex';
    src: url('../assets/Google-sans-fonts/GoogleSansFlex_24pt-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
    --primary: #9B8144; /* Champagne Gold */
    --primary-hover: #b59b5a; 
    --dark: #26272A; /* Charcoal Onyx */
    --gray-light: #f0f0f0;
    --gray-text: #666666;
}




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

.icon-svg {
    display: inline-flex;
    align-self: center;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}

body {
    font-family: 'Google Sans Flex', sans-serif;
    background: #f8f9fa;
    color: var(--dark); /* Use Charcoal Onyx for main text */
    line-height: 1.5;
    font-size: 0.9rem;
}


.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
    background: #40350F; /* Brand Fallback */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.65);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 212, 58, 0.05) 0%, transparent 40%);
    z-index: 2;
    pointer-events: none;
}


.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}


/* Header & Nav */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.02em;
}




header {
    position: absolute;
    top: 45px; /* Below top-bar height */
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
}

header.sticky-header {
    position: fixed;
    top: 0;
    background: white;
    padding: 2px 0; /* Reduced padding when sticky */
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

header.sticky-header .logo {
    color: var(--dark);
}

header.sticky-header .nav-links a {
    color: var(--dark);
}

header.sticky-header .nav-links a:hover {
    color: var(--primary-hover);
}

.nav-container {
    position: relative;
    padding: 10px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}




.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem; /* Decreased */
    opacity: 0.85;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.contact-btn {
    background: var(--primary);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(155, 129, 68, 0.3); 
    display: inline-block;
    transition: 0.3s;
}

header.sticky-header .nav-links .contact-btn,
.nav-links .contact-btn,
.nav-links li a.contact-btn,
.contact-btn,
.contact-btn:hover,
.nav-links li a.contact-btn:hover,
.nav-links .contact-btn:hover {
    color: white !important;
    opacity: 1 !important;
    -webkit-text-fill-color: white !important;
}

.contact-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(155, 129, 68, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

header.sticky-header .hamburger span,
.hamburger.active span {
    background: var(--dark);
}


.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 6% 40px; 
    color: white;
}

.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3px 24px;
    border-radius: 50px; /* Badge style */
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: default;
    transition: 0.3s;
}

.hero-tag.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-title {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    max-width: 1000px; /* Increased to fit in one line */
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap; /* Forces one line on desktop */
}

@media (max-width: 1024px) {
    .hero-title {
        white-space: normal; /* Allow wrapping on tablets/mobile */
        max-width: 100%;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    opacity: 0.85;
    line-height: 1.7;
    margin-top: 10px; /* Simplified positioning */
    font-weight: 400;
}

/* Simplified Search Bar Styles */
.search-card-simple {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Decreased gap between tabs and search bar */
}

.filter-tabs {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.filter-tab {
    padding: 10px 32px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.filter-tab.active {
    background: var(--primary);
    color: white; /* Changed from dark to white */
    box-shadow: 0 4px 15px rgba(155, 129, 68, 0.3);
}



.filter-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.card-badges {
    position: absolute;
    top: 20px; /* Offset to avoid corner-radius clipping */
    left: 20px;
    z-index: 5;
}

.badge {
    padding: 8px 18px;
    border-radius: 50px; /* Modern Pill Shape */
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Status Dot Indicator */
.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-offplan::before {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary); /* Glowing Pulse feel */
}

.badge-sale::before {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}

.badge-offplan {
    border-color: rgba(255, 212, 58, 0.3);
}

.badge-sale {
    border-color: rgba(46, 204, 113, 0.3);
}

.search-bar-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.08); /* Refined Light Glass */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 80px; /* Full Pill */
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    position: relative;
}

.search-bar-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 80px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    pointer-events: none;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 0 10px 0 30px;
    gap: 15px;
}


.search-icon-left {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

.main-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    padding: 15px 0;
}

.main-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-submit-btn {
    background: var(--primary);
    color: white; /* Changed from dark to white */
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(155, 129, 68, 0.2);
}



.search-submit-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.search-submit-btn i {
    font-size: 0.9rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: block;
    position: absolute;
    background: white;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    z-index: 100;
    border-radius: 18px;
    overflow: hidden;
    top: 100%;
    left: -20px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover bridge to prevent immediate closing */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: #333 !important;
    padding: 14px 25px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    opacity: 1 !important;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(38, 39, 42, 0.05); /* Light tint of Charcoal Onyx */
    color: var(--primary) !important;
    padding-left: 30px; /* Subtle slide effect */
}

/* Floating WhatsApp */

.whatsapp-float {
    position: fixed !important;
    bottom: 50px !important;
    right: 50px !important;
    z-index: 2147483647 !important; /* Maximum possible z-index */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 12px !important;
    width: fit-content !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wa-pill {
    background: #ffffff !important;
    color: #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 6px 20px 6px 6px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
    width: fit-content !important;
}



.wa-icon-circle {
    width: 38px;
    height: 38px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.wa-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.wa-helper-text {
    background: rgba(38, 39, 42, 0.6) !important; /* Subtle dark glass */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 15px !important;
    border-radius: 12px !important;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 5px;
}

.wa-helper-text .highlight {
    color: #25D366;
}



@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .search-fields { grid-template-columns: repeat(2, 1fr); }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px;
        gap: 20px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--dark) !important;
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    .dropdown-content {
        position: relative;
        top: 0;
        left: 0;
        min-width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f9f9f9;
        margin-top: 10px;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 120px 6% 40px;
    }

    .search-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .search-fields { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    header { top: 0; }
    .search-card { padding: 20px; border-radius: 25px; }
    .hero-tags { overflow-x: auto; padding-bottom: 5px; }
    .hero-tag { white-space: nowrap; }
    .search-properties-btn { width: 100%; margin-top: 20px; }
    .search-card h3 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .nav-container { padding: 8px 4%; }
}


/* Featured Properties Section */
.featured-section {
    padding: 70px 0;
    background: #ffffff;
}


.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800; /* Extra bold for Google Sans */
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -1.5px;
}


.section-subtitle {
    color: var(--gray-text);
    max-width: 500px;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
}


.view-all-desktop {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.view-all-desktop:hover {
    color: var(--primary-hover);
    gap: 15px;
}

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


.property-card {
    background: var(--dark); /* Use Charcoal Onyx */
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 480px;
    position: relative;
}


.property-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 212, 58, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-image {
    height: 80%; /* 80% Image as requested */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: 0.6s ease;
}


.property-card:hover .card-image {
    transform: scale(1.05); /* Creative Zoom */
}

/* Image to Color Mix (Fade to Charcoal Onyx) */
.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; 
    background: linear-gradient(to top, var(--dark) 0%, transparent 100%);
    z-index: 1;
}

.card-body {
    flex: 1;
    padding: 12px 15px 15px;
    background: rgba(38, 39, 42, 0.85); /* var(--dark) with opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white; /* Maintain white on dark background */
    position: relative;
    z-index: 2;
    margin-top: -1px;
}


/* Glass Refraction Border */
.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 212, 58, 0.2), transparent);
}




.property-category {
    font-size: 0.6rem;
    font-weight: 800;
    color: white; /* Changed from primary to white */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.property-name {
    font-size: 1.1rem; /* Scaled down for smaller card */
    font-weight: 700;
    margin-bottom: 2px;
    color: white;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.property-location {
    font-size: 0.7rem; 
    color: rgba(255, 255, 255, 0.7); /* Increased visibility */
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    gap: 4px;
}

.property-specs-new {
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.specs-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    align-items: center !important;
}

.spec-col {
    flex: 1;
    text-align: center !important;
}

.spec-col:last-child {
    text-align: center !important;
    flex: 1.5; /* Give price more space */
}

.icons-row .spec-col i,
.icons-row .spec-col svg {
    font-size: 1.2rem !important;
    width: 18px !important;
    height: 18px !important;
    color: var(--primary) !important; /* Gold color for icons */
    fill: var(--primary) !important;
    display: inline-block;
    vertical-align: middle;
}

.currency-col {
    font-weight: 800;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.values-row .spec-col {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.price-col {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}




.card-actions {
    display: grid;
    grid-template-columns: 30% 1fr; /* WhatsApp 30%, Detail View 70% */
    gap: 12px;
    margin-top: 20px;
}

.btn-action {
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-wa {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-wa:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
}

.btn-detail {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-detail::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: 0s;
}

.btn-detail:hover::after {
    left: 150%;
    transition: 0.6s ease;
}

.btn-detail:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(155, 129, 68, 0.3);
}


.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 45px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-more:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}



@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
    .property-card {
        height: 500px;
    }
}

/* About Us Section */
.about-section {
    padding: 60px 0 100px;
    background: #ffffff;
    overflow: hidden;
}


.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Brand Identity Column */
.about-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-logo {
    width: 280px;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 10px 20px rgba(155, 129, 68, 0.15));
}

.about-quote {
    font-size: 1.6rem;
    font-family: 'Google Sans Flex', sans-serif;
    font-weight: 500;
    font-style: italic;
    color: var(--dark);
    line-height: 1.4;
    max-width: 500px;
    margin-bottom: 40px;
    position: relative;
}

.btn-about-more {
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 14px 40px;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(155, 129, 68, 0.2);
}

.btn-about-more:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(155, 129, 68, 0.3);
}


/* Values & Expertise Column */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-item {
    display: flex;
    gap: 25px;
    position: relative;
}

.about-icon-marker {
    flex-shrink: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 5px 0;
}

.about-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.about-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    max-width: 550px;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-logo { width: 220px; }
    .about-quote { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .about-section { padding: 80px 0; }
    .about-text h3 { font-size: 1.2rem; }
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(155, 129, 68, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.white-text { color: #ffffff !important; }
.light-text { color: rgba(255, 255, 255, 0.6) !important; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.testimonial-card.highlighted {
    background: rgba(155, 129, 68, 0.08);
    border-color: rgba(155, 129, 68, 0.3);
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
}

.stars {
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    padding: 2px;
}

.author-info h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section { padding: 80px 0; }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card { padding: 30px; }
    
    .testimonial-slider-container {
        width: 100%;
        overflow: hidden;
    }
    
    .testimonial-slider-track.testimonial-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        gap: 20px !important;
        padding: 10px 5px 25px !important;
        scrollbar-width: none !important;
        margin-bottom: 0 !important;
    }
    
    .testimonial-slider-track.testimonial-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .testimonial-slider-track.testimonial-grid .testimonial-card {
        flex: 0 0 290px !important;
        width: 290px !important;
        max-width: 290px !important;
        scroll-snap-align: start !important;
    }
}

/* CTA Section */
.cta-section {
    min-height: 65vh; /* 65% of screen height as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../assets/building-pictures/03.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}


.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 39, 42, 0.95) 0%, rgba(38, 39, 42, 0.7) 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.gold-text {
    color: var(--primary);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 45px;
    line-height: 1.6;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(155, 129, 68, 0.3);
}

.btn-cta-main i {
    transition: 0.3s;
}

.btn-cta-main:hover {
    background: var(--primary-hover);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(155, 129, 68, 0.4);
}

.btn-cta-main:hover i {
    transform: translateX(8px);
}

/* Responsive CTA */
@media (max-width: 1024px) {
    .cta-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .cta-section { padding: 100px 0; background-attachment: scroll; }
    .cta-title { font-size: 2.2rem; letter-spacing: -1px; }
    .cta-subtitle { font-size: 1rem; }
    .btn-cta-main { padding: 15px 35px; font-size: 1rem; }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(38, 39, 42, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(155, 129, 68, 0.05);
}

.faq-header {
    padding: 24px 30px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding: 0 30px 24px;
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* Active State */
.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.faq-item.active .faq-header {
    background: #fafafa;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Allow enough height for text */
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

@media (max-width: 768px) {
    .faq-header { padding: 20px; }
    .faq-header h3 { font-size: 1rem; }
    .faq-answer p { padding: 0 20px 20px; }
}

/* Footer Section */
.footer {
    background: var(--dark);
    padding: 100px 0 30px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 30px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    border-color: var(--primary);
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom .divider {
    margin: 0 10px;
    opacity: 0.3;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

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

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

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer { padding: 80px 0 30px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 50px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


/* ==========================================================================
   Search Page Styles (Fixed Compact Version)
   ========================================================================== */

.search-page {
    background: #fdfdfd;
}

/* Ensure Google Sans Flex typography across the entire search page and all form elements */
.search-page,
.search-page input,
.search-page button,
.search-page select,
.search-page textarea,
.search-page .dropdown-content a,
.search-page .pill-btn,
.search-page .select-trigger {
    font-family: 'Google Sans Flex', sans-serif !important;
}


/* Search page: top-bar — FIXED at very top, white bg, dark text */
.search-page .top-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1100 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: var(--dark) !important;
    border-bottom: 1px solid #eeeeee !important;
    padding: 16px 6% !important; /* Increased padding */
}

/* Search page: header — fixed just below the top-bar */
.search-page header {
    position: fixed !important;
    top: 46px !important; /* Adjusted top position to sit precisely below the expanded top-bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff !important;
    box-shadow: none !important;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

/* Increased navbar padding on search page */
.search-page .nav-container {
    padding: 18px 4% !important;
}

.search-page header .nav-links a {
    color: var(--dark) !important;
    opacity: 1;
}

.search-page header .nav-links a:hover {
    color: var(--primary) !important;
}

/* Inline SVG helper classes - scoped to search page to keep other pages clean */
.search-page .icon-svg {
    width: 1.3rem !important;
    height: 1.3rem !important;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
}
/* Specific context overrides for page elements to improve UX - scoped to search page */
.search-page .top-bar .icon-svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
}
.search-page .dropdown-chevron {
    width: 0.95rem !important;
    height: 0.95rem !important;
    margin-left: 5px;
}
.search-page .spec-item .icon-svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
}
.search-page .btn-contact .icon-svg,
.search-page .btn-detail .icon-svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
}
.search-page .nav-btn .icon-svg {
    width: 1.4rem !important;
    height: 1.4rem !important;
}
.search-page .footer-section a .icon-svg,
.search-page .footer-bottom .social-links a .icon-svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
}
.search-page .floating-wa .icon-svg {
    width: 36px !important;
    height: 36px !important;
}
.icon-svg.spin {
    animation: spin 1.0s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Search Page Header Spacer & Hamburger Spans */
.search-header-spacer {
    height: 127px !important; /* top-bar 46px + header 81px */
    width: 100%;
}
.search-page #hamburger span {
    background-color: var(--dark) !important;
}
.search-page #hamburger.active span {
    background-color: var(--dark) !important;
}

/* Hide mobile-only filter drawer elements on desktop */
.filter-drawer-header,
.filter-drawer-footer,
.mobile-filter-trigger-bar {
    display: none;
}

.search-filter-bar {
    position: sticky;
    top: 100px; /* top-bar (38px) + navbar (~62px) */
    margin-top: 0;
    z-index: 999;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.search-filter-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}
.search-page .search-filter-row .location-search-wrapper {
    flex: 0 0 270px !important; /* Slightly increased gentle width */
    width: 270px !important;
    margin-right: 12px;
}

.location-input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #f8f8f8;
    font-size: 0.95rem;
    color: #333;
    transition: 0.3s;
}

.location-input:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 129, 68, 0.1);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buy/Rent Toggle buttons */
.buy-rent-toggle {
    display: flex;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px;
}

.buy-rent-toggle .toggle-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

.buy-rent-toggle .toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(155, 129, 68, 0.3);
}

/* Pill Dropdown Styles */
.pill-dropdown-content {
    min-width: 320px;
    padding: 20px;
}

/* Widened Container for Property Types */
.types-dropdown-content {
    min-width: 540px !important;
    width: max-content;
    max-width: 600px;
}

/* Widened Container for Beds & Baths */
.more-dropdown-content,
.beds-baths-dropdown-content {
    min-width: 460px !important;
    width: max-content;
    max-width: 500px;
}

/* Gently Widened Container for More Options (Size sqft view) */
.more-size-dropdown-content {
    min-width: 380px !important;
}

.pill-group-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: 0.2s;
}

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

.pill-btn.active {
    background: rgba(155, 129, 68, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Size Inputs */
.size-inputs {
    display: flex;
    gap: 15px;
}

.size-input-wrapper {
    flex: 1;
}

.size-input-wrapper label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.size-input-wrapper input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.size-input-wrapper input:focus {
    border-color: var(--primary);
    outline: none;
}

/* Search Icon Button */
.search-icon-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 70px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.search-icon-btn:hover {
    background: #8a713b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 129, 68, 0.3);
}

/* Row 2: Filters distributed to match Row 1 width */
.filter-group {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out filters to fill the row */
    width: 100%;
    gap: 10px;
}


.location-search-wrapper i.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1rem;
    pointer-events: none;
    z-index: 5;
}

.select-trigger {
    background: transparent;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.select-trigger:hover {
    border-color: var(--primary);
}

.custom-select-wrapper.active .select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 129, 68, 0.1);
}

/* Capsule Toggle */
.capsule-toggle {
    display: inline-flex;
    background: #f8f8f8;
    border-radius: 50px;
    border: 1px solid #eee;
    padding: 3px;
    height: 40px;
    align-items: center;
}

.capsule-option {
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.capsule-option.active {
    background: var(--primary);
    color: white;
}

.mini-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
    background: white;
}

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

.btn-map {
    width: auto;
    padding: 0 20px;
    border-radius: 50px;
    background: #1a1a1a;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    gap: 10px;
    border: none;
    height: 42px;
}

.btn-map:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Dropdowns & Options */
.select-options {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    border: 1px solid #eee;
}

.custom-select-wrapper.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-options .option {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    transition: 0.2s;
}

.select-options .option:hover {
    background: #f8f8f8;
    color: var(--primary);
}

/* Price Custom Styles */
.price-options {
    padding: 20px;
    min-width: 260px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
}

.btn-apply-price {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Badges */
.selected-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px; /* Reduced from 15px */
    min-height: 0; /* Removed min-height to save space when empty */
}


#selectedFilters:empty {
    display: none;
}

.results-section {
    
    padding: 0 0 80px; /* Zero top padding for ultra-tight layout below search bar */
    background: #fdfdfd;

}

/* Results Header Bar & Sort Controls */
.results-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

.results-breadcrumb {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

.results-sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.sort-select:hover, .sort-select:focus {
    border-color: var(--primary);
}


.filter-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.badge-label {
    opacity: 0.7;
    font-weight: 400;
    font-size: 0.8rem;
}

.filter-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.badge-remove {
    cursor: pointer;
    font-size: 0.7rem;
    color: #999;
}

.badge-remove:hover {
    color: #f44336;
}


.property-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1200px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .featured-grid { grid-template-columns: 1fr; }
    
    .featured-sliders-container {
        width: 100%;
        overflow: hidden;
    }
    
    .featured-slider-row {
        margin-bottom: 20px;
    }
    .featured-slider-row:last-child {
        margin-bottom: 0;
    }
    
    .featured-slider-track.featured-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        gap: 20px !important;
        padding: 10px 5px 25px !important;
        scrollbar-width: none !important;
        margin-bottom: 0 !important;
    }
    
    .featured-slider-track.featured-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .featured-slider-track.featured-grid .property-card {
        flex: 0 0 290px !important;
        width: 290px !important;
        max-width: 290px !important;
        scroll-snap-align: start !important;
    }

    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 30px !important;
    }

    .section-title {
        font-size: 2.2rem !important;
        letter-spacing: -1px !important;
    }

    .section-subtitle {
        margin: 0 !important;
        max-width: 100% !important;
    }

    .view-all-desktop {
        margin-top: 5px !important;
    }
}

.property-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-image-container-v {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #eee;
}

.card-img-v {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

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

/* Homepage Dark Cards */
.featured-grid .property-card {
    background: #000000;
    border: 1px solid #1a1a1a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.featured-grid .property-card .listing-time {
    color: #888;
}

.featured-grid .property-card .property-price-yearly {
    color: white;
}

.featured-grid .property-card .property-tagline {
    color: #f0f0f0;
}

.featured-grid .property-card .property-specs {
    border-bottom: 1px solid #222;
}

.featured-grid .property-card .spec-item {
    color: #bbb;
}

.featured-grid .property-card .property-full-address {
    color: #777;
}

.featured-grid .property-card .card-footer {
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
}

/* Horizontal variant for Search Page */
.property-card.horizontal {
    background: white; /* Explicitly keep search cards white */
    color: var(--dark);
    flex-direction: row !important;
    height: 250px;
    width: 80%;
    margin: 0 auto; /* Perfectly center the 80% wide card */
}

/* Scoped inner padding & spacing optimization to fit comfortably in 250px height */
.property-card.horizontal .card-details {
    padding: 15px 25px;
}

.property-card.horizontal .property-tagline {
    margin-bottom: 10px;
}

.property-card.horizontal .property-specs {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.property-card.horizontal .card-footer {
    margin-top: 10px;
}

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

/* Left Side: Image Slider */
.card-image-container {
    flex: 0 0 42%;
    position: relative;
    overflow: hidden;
    background: #eee;
}

.image-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.image-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.property-card:hover .slider-nav {
    opacity: 1;
}

.nav-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 0.8rem;
    pointer-events: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.dot.active {
    background: white;
    width: 18px;
    border-radius: 10px;
}

/* Right Side: Details */
.card-details {
    flex: 1;
    padding: 25px; /* Reduced padding */
    display: flex;
    flex-direction: column;
}

.listing-time {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 5px;
}

.property-price-yearly {
    font-size: 1.6rem; /* Slightly smaller */
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-price-yearly .currency {
    font-size: 1.2rem;
    font-weight: 600;
}

.property-price-yearly .period {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
}

.property-tagline {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 20px;
}

.property-specs {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.spec-item i {
    color: var(--primary);
    font-size: 1rem;
}

.property-full-address {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: auto; /* Push footer down */
}

/* Mobile handling for horizontal cards */
@media (max-width: 992px) {
    .property-card {
        flex-direction: column !important;
        height: auto;
    }
    .property-card .card-image {
        height: 220px !important;
        flex: 0 0 220px !important;
    }
    .property-card.horizontal {
        width: 100% !important;
    }
    .card-image-container {
        flex: 0 0 250px;
        width: 100%;
    }
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-photo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-name-role {
    display: flex;
    flex-direction: column;
}

.agent-role {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.agent-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
}

.footer-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Align buttons to the right */
    width: 100%;
}

.btn-contact {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.btn-theme-wa {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--dark);
}

.btn-theme-wa:hover {
    background: #25D366; /* Hover state: Green */
    color: white;
    border-color: #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-theme-email {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--dark);
}

.btn-theme-email:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-theme-detail {
    background: var(--primary); /* Normal state: Primary Gold */
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-theme-detail i {
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-theme-detail:hover {
    background: var(--dark); /* Hover state: Dark like index page */
    color: white;
}

.btn-theme-detail:hover i {
    transform: translateX(5px);
}

/* Popular Locations Dropdown */
.popular-locations-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 16px;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 100;
    display: none;
    border: 1px solid #eee;
}

.popular-locations-dropdown.active {
    display: block;
}

.dropdown-label {
    padding: 10px 20px;
    font-weight: 700;
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.location-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #333;
}

.location-item:hover {
    background: #f8f8f8;
}

.location-item i {
    color: #ccc;
}

.location-item.active i {
    color: var(--primary);
}

.location-item span {
    font-size: 0.7rem;
    color: #999;
}

@media (max-width: 1200px) {
    .search-row-filters {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: 1fr; /* Single column on tablet/mobile */
    }
}

@media (max-width: 768px) {
    .search-hero { padding: 100px 0 40px; }
    .search-container-box { padding: 25px; }
    .search-row-filters { flex-direction: column; align-items: stretch; }
    .filter-group { flex-wrap: wrap; }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 60px 0;
}

.pagination a, .pagination .dots {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    color: var(--dark);
    background: white;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.pagination a.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.pagination .dots {
    border: none;
    background: transparent;
    color: #ccc;
    cursor: default;
}

.pagination .next-page {
    width: auto !important;
    padding: 0 25px;
    gap: 12px;
}

.pagination .next-page i {
    transition: 0.3s;
}

.pagination .next-page:hover i {
    transform: translateX(5px);
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 10000;
}

.wa-helper-pill {
    background: #6c757d; /* Grey background from screenshot */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.wa-highlight {
    color: #25D366; /* WhatsApp Green highlight */
}

.wa-pill {
    background: white;
    border-radius: 50px;
    padding: 8px 25px 8px 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.wa-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.wa-icon-circle {
    width: 45px;
    height: 45px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Selected Filter Badges */
.search-hero {
    padding-top: 50px !important; /* Reduced space between navbar and search box */
}

.search-container-box {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.15) !important; /* Refined Light Glass, matching index page */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

#selectedFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 25px auto; /* Neutralized top margin since parent paddings were reduced */
    justify-content: center;
    position: relative;
    z-index: 10;
}

.filter-badge {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #111111 !important; /* Force dark text color */
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important; /* Increased shadow to pop from background */
    transition: 0.3s;
}

.filter-badge .badge-label {
    font-weight: 700;
    color: var(--primary) !important; /* Gold text for the label type */
}

.filter-badge .badge-remove {
    cursor: pointer;
    color: #999 !important;
    margin-left: 5px;
    transition: 0.3s;
}

.filter-badge .badge-remove:hover {
    color: #dc3545 !important; /* Red on hover */
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
    position: relative;
    cursor: pointer;
}

.select-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px;
    z-index: 1000;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
}

.custom-select-wrapper.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-options .option {
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
    transition: 0.2s;
}

.select-options .option:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.price-options {
    min-width: 250px;
    padding: 15px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark);
}

.btn-apply-price {
    width: 100%;
    padding: 10px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-apply-price:hover {
    background: var(--primary);
}

/* Fix Stacking Context for Dropdowns vs Badges & Adjust Spacing */
.search-hero {
    position: relative;
    z-index: 100;
    padding-top: 50px !important;
    padding-bottom: 20px !important; /* Reduced bottom spacing */
}

.results-section {
    position: relative;
    z-index: 10;
    padding-top: 30px !important; /* Reduced top spacing */
}

/* Popular Locations Dropdown (Main Search Bar) */
.location-search-wrapper {
    position: relative;
    flex: 1;
    z-index: 100; /* Force this wrapper to be above the next row of filters */
}

/* Glassmorphism Overrides for Inner Elements */
.search-container-box .location-search-wrapper,
.search-container-box .select-trigger,
.search-container-box .capsule-toggle {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px !important; /* Make them all fully rounded pills */
    transition: 0.3s;
}

.search-container-box .location-search-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15) !important;
}

.search-container-box .location-input {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important; /* Remove browser default focus outline */
    box-shadow: none !important;
}

.search-container-box .location-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.search-container-box .location-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.search-container-box .search-icon,
.search-container-box .select-trigger i {
    color: rgba(255, 255, 255, 0.7) !important;
}

.search-container-box .select-trigger:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

.search-container-box .capsule-option {
    color: #ffffff !important;
}

.search-container-box .capsule-option.active {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.search-container-box .search-submit-btn-rect {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Adjust Filter Row Layout */
.search-row-filters {
    display: flex !important;
    justify-content: center !important; /* Keep them centered with a gentle gap */
    gap: 15px !important; /* Gentle, controlled spacing instead of spreading them */
    flex-wrap: wrap;
}

.search-container-box .select-trigger {
    min-width: 140px !important; /* Increased width */
    padding: 10px 20px !important;
    display: flex;
    justify-content: space-between !important;
    align-items: center;
}

.search-container-box .capsule-toggle {
    min-width: 170px !important; /* Increased width */
}

.popular-locations-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 15px 0;
    z-index: 2000; /* Extremely high to ensure it overlaps everything */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.popular-locations-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive Grid & Card Layout for Search Page */
.results-section .property-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* Force exactly 1 card per row globally */
    gap: 30px !important;
    width: 100%;
}

@media (max-width: 992px) {
    .property-card.horizontal {
        flex-direction: column !important; /* Stack vertically on mobile */
        width: 100% !important;
        height: auto !important;
    }
    .property-card.horizontal .card-image-container {
        width: 100% !important;
        height: 250px !important; /* Fixed height for image when stacked */
    }
    .property-card.horizontal .card-details {
        width: 100% !important;
        padding: 20px !important;
    }
}

/* Widen Search Page Layout */
.search-page .container {
    max-width: 80% !important; /* Reduced from 96% */
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
}

/* Property Card Footer Buttons */
.property-card .footer-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.property-card .footer-actions .btn-contact {
    flex: 1 !important;
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px !important;
    font-size: 0.8rem !important;
}

.property-card .footer-actions .btn-detail {
    flex: 1.8 !important;
    width: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    background: #fff !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.property-card .footer-actions .btn-detail:hover {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(155, 129, 68, 0.2);
    transform: translateY(-1px);
}

.search-submit-btn-rect.search-icon-btn {
    border-radius: 6px !important;
    width: 60px !important;
    height: 50px !important; /* Smaller height */
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear-all-filters {
    height: 32px; /* Small height as requested */
    padding: 0 12px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.75rem; /* Smaller text */
    margin-left: 15px;
    white-space: nowrap;
}

.btn-clear-all-filters i {
    margin-right: 6px;
    font-size: 0.7rem;
}

.btn-clear-all-filters:hover {
    background: #fdf2f2;
    color: #d9534f;
    border-color: #d9534f;
}



/* --- Horizontal Property Card --- */
.property-card.horizontal {
    display: flex;
    flex-direction: row;
    height: 320px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 25px;
    width: 100%;
}

.property-card.horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.property-card.horizontal .card-image-container {
    width: 380px;
    min-width: 380px;
    height: 100%;
    position: relative;
    overflow: hidden !important;
}

.property-card.horizontal .image-slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.property-card.horizontal .slider-item {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.property-card.horizontal .image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card.horizontal .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 100; /* Higher z-index to ensure clickability */
}

.property-card.horizontal .nav-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
    pointer-events: auto;
    color: var(--dark);
    font-size: 0.8rem;
}

.property-card.horizontal .nav-btn:hover {
    background: var(--primary);
    color: white;
}

.property-card.horizontal .card-details {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.property-card.horizontal .listing-time {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 12px;
}

.property-card.horizontal .property-price-yearly {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 5px 0;
}

.property-card.horizontal .property-tagline {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.property-card.horizontal .property-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.property-card.horizontal .spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.property-card.horizontal .spec-item i {
    color: var(--primary);
}

.property-card.horizontal .property-full-address {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: auto;
}

.property-card.horizontal .card-footer {
    padding-top: 20px;
    border-top: 1px solid #f8f8f8;
}

.property-card.horizontal .footer-actions {
    display: flex;
    gap: 15px;
}

.property-card.horizontal .btn-theme-wa {
    background: #f1fbf4;
    color: #25D366;
    border: 1px solid #e1f5e8;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
}

.property-card.horizontal .btn-theme-wa:hover {
    background: #25D366;
    color: white;
}

.property-card.horizontal .btn-theme-email {
    background: #f8f9fa;
    color: var(--dark);
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
}

.property-card.horizontal .btn-theme-email:hover {
    background: var(--dark);
    color: white;
}

.property-card.horizontal .btn-detail {
    background: var(--primary);
    color: white;
    margin-left: auto;
    border-radius: 50px;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
}

.property-card.horizontal .btn-detail:hover {
    background: #8a713b;
}


/* Skeleton Loading UI */
.skeleton-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.skeleton-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    border: 1px solid #eee;
    animation: fadeIn 0.5s ease;
}

.skeleton-img {
    width: 320px;
    height: 100%;
    background: #eee;
}

.skeleton-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-item {
    background: #f0f0f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-title { height: 30px; width: 40%; }
.skeleton-text { height: 20px; width: 80%; }
.skeleton-text-sm { height: 15px; width: 60%; }
.skeleton-specs { display: flex; gap: 20px; }
.skeleton-spec { height: 20px; width: 80px; }
.skeleton-btns { display: flex; gap: 15px; margin-top: auto; }
.skeleton-btn { height: 45px; width: 140px; border-radius: 50px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .skeleton-card { flex-direction: column; height: auto; }
    .skeleton-img { width: 100%; height: 200px; }
}

/* --- Enquiry Modal Styles (Shared with Detail Page) --- */
.enquiry-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.enquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    margin: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.enquiry-modal-overlay.active .enquiry-modal {
    transform: translateY(0) scale(1);
}

.enquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px 20px;
    border-bottom: 1px solid #f0ece4;
}

.enquiry-modal-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.enquiry-modal-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}

.enquiry-modal-close:hover {
    background: #f5f0e8;
    color: var(--primary);
}

.enquiry-modal-body {
    padding: 24px 32px 32px;
}

.enquiry-property-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(155, 129, 68, 0.07);
    border: 1px solid rgba(155, 129, 68, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 22px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.enquiry-field {
    display: flex;
    align-items: center;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.enquiry-field:focus-within {
    border-color: var(--primary);
}

.enquiry-field-icon {
    width: 46px;
    min-width: 46px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf7f3;
    border-right: 1px solid #e5e0d8;
    color: #999;
    font-size: 0.9rem;
    transition: color 0.25s;
}

.enquiry-field:focus-within .enquiry-field-icon {
    color: var(--primary);
}

.enquiry-field input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    background: transparent;
}

.enquiry-field input::placeholder {
    color: #aaa;
}

.enquiry-field-textarea {
    align-items: flex-start;
    border: 1px solid #e5e0d8;
    border-radius: 10px;
    margin-bottom: 22px;
}

.enquiry-field-textarea textarea {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--dark);
    resize: vertical;
    background: transparent;
    min-height: 100px;
}

.enquiry-field-textarea textarea::placeholder {
    color: #aaa;
}

.enquiry-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.enquiry-btn-close {
    background: #ffffff;
    color: var(--dark);
    border: 1.5px solid #d5cfc5;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s;
    white-space: nowrap;
}

.enquiry-btn-close:hover {
    background: #f5f0e8;
    border-color: var(--primary);
    color: var(--primary);
}

.enquiry-btn-send {
    flex: 1;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    text-transform: uppercase;
}

.enquiry-btn-send:hover {
    background: #8a713b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(155, 129, 68, 0.3);
}

@media (max-width: 540px) {
    .enquiry-modal-header, .enquiry-modal-body { padding-left: 20px; padding-right: 20px; }
    .enquiry-form-actions { flex-direction: column; }
    .enquiry-btn-close, .enquiry-btn-send { width: 100%; justify-content: center; }
}


/* Custom Autocomplete & Pills (Search Page) */
.location-search-wrapper { position: relative; display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 4px 10px; min-height: 46px; flex-wrap: nowrap; gap: 6px; flex: 1; border: 1px solid #ddd; transition: border-color 0.2s; }
.location-search-wrapper:focus-within { border-color: var(--primary, #9B8144); }
.selected-locations-container { display: flex; gap: 6px; flex-wrap: nowrap; align-items: center; flex-shrink: 1; min-width: 0; }
.location-input { border: none; outline: none; flex: 1; min-width: 40px; background: transparent; padding: 4px; font-size: 15px; color: #333; font-family: inherit; }
.btn-add-location { background: var(--primary, #9B8144); color: #fff; border: none; border-radius: 50%; width: 28px; height: 28px; display: none; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; flex-shrink: 0; outline: none; transition: all 0.2s; box-shadow: 0 2px 5px rgba(155, 129, 68, 0.3); }
.btn-add-location:hover { transform: scale(1.05); background: var(--primary-hover, #b59b5a); }
.suggestions-dropdown { display: none; position: absolute; top: calc(100% + 5px); left: 0; right: 0; background: #fff; border: 1px solid #ddd; z-index: 1000; max-height: 250px; overflow-y: auto; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 8px; text-align: left; }
.suggestion-item { padding: 12px 15px; cursor: pointer; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; color: #333; font-size: 15px; display: flex; align-items: center; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item.highlighted { background: #f1f3f4; }
.suggestion-item-icon { color: #999; margin-right: 12px; width: 16px; text-align: center; }
.location-pill { display: flex; align-items: center; background: rgba(155, 129, 68, 0.08); color: var(--primary, #9B8144); padding: 5px 12px; border-radius: 20px; font-size: 14px; font-weight: 500; border: 1px solid rgba(155, 129, 68, 0.2); gap: 8px; transition: background 0.2s; flex-shrink: 1; min-width: 0; }
.location-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 1; }
.location-pill-close { cursor: pointer; font-size: 12px; color: inherit; opacity: 0.7; transition: opacity 0.2s; flex-shrink: 0; }
.location-pill-close:hover { opacity: 1; }

/* ==========================================================================
   Responsive Overrides for Homepage Hero, Search Bar, and WhatsApp Buttons
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
        white-space: normal;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Hero & General */
    .hero-content {
        padding: 100px 4% 40px !important;
    }
    
    /* Property Card Actions - Compact WhatsApp Button */
    .card-actions {
        grid-template-columns: auto 1fr !important;
        gap: 8px !important;
    }
    
    .btn-wa {
        width: 44px !important;
        height: 44px !important;
        padding: 12px 0 !important;
        justify-content: center !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 12px !important;
    }
    
    .btn-wa span {
        display: none !important;
    }
    
    .btn-wa svg {
        margin: 0 !important;
        width: 18px !important;
        height: 18px !important;
    }

    /* Floating WhatsApp Widget - Compact Circular Green Button */
    .whatsapp-float {
        bottom: 25px !important;
        right: 25px !important;
        gap: 0 !important;
    }
    
    .wa-helper-text,
    .wa-helper-pill {
        display: none !important;
    }
    
    .wa-pill {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 50% !important;
        width: 50px !important;
        height: 50px !important;
        justify-content: center !important;
    }
    
    .wa-pill span {
        display: none !important;
    }
    
    .wa-icon-circle {
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        font-size: 1.6rem !important;
    }
    
    .wa-icon-circle svg {
        width: 26px !important;
        height: 26px !important;
    }
}

@media (max-width: 576px) {
    /* Hero Content Adjustment */
    .hero-content {
        padding: 85px 4% 30px !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 15px !important;
    }

    /* Filter Tabs Responsive Layout */
    .filter-tabs {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 4px !important;
        padding: 4px !important;
        border-radius: 30px !important;
    }
    
    .filter-tab {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Search Bar Vertically Stacked layout */
    .search-bar-container {
        border-radius: 20px !important;
        padding: 12px !important;
    }
    
    .search-bar-container::after {
        border-radius: 20px !important;
    }
    
    .search-input-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        gap: 12px !important;
    }
    
    .search-icon-left {
        display: none !important;
    }
    
    .main-search-input {
        width: 100% !important;
        text-align: center !important;
        padding: 8px 0 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        font-size: 0.95rem !important;
    }
    
    .search-submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Responsive Helper Utilities */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    /* Search Page: Mobile Header adjustments & spacer */
    .search-page header {
        top: 0 !important;
    }
    .search-page .search-header-spacer {
        height: 81px !important;
    }

    /* Mobile Filter Trigger Bar sticky below header */
    .mobile-filter-trigger-bar {
        display: block !important;
        position: sticky !important;
        top: 81px !important;
        background: #ffffff !important;
        padding: 10px 15px !important;
        z-index: 990 !important;
        border-bottom: 1px solid #eaeaea !important;
    }
    .mobile-search-bar-container {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .mobile-search-input-wrapper {
        position: relative !important;
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        background: #f5f5f5 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        padding: 0 10px !important;
        height: 44px !important;
    }
    .mobile-search-lens {
        flex-shrink: 0 !important;
    }
    .mobile-search-input {
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        outline: none !important;
        font-size: 0.95rem !important;
        color: var(--dark) !important;
        font-family: inherit !important;
        height: 100% !important;
        padding: 0 !important;
    }
    .mobile-clear-btn {
        background: none !important;
        border: none !important;
        padding: 4px !important;
        cursor: pointer !important;
        color: #888 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .mobile-search-submit-btn {
        background: var(--primary) !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        width: 44px !important;
        height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: 0 2px 6px rgba(155, 129, 68, 0.2) !important;
        flex-shrink: 0 !important;
    }
    .mobile-filter-btn {
        background: #f5f5f5 !important;
        color: var(--dark) !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        height: 44px !important;
        padding: 0 14px !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        box-shadow: none !important;
    }

    /* Sliding Filter Side Drawer on Mobile */
    .search-filter-bar {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        max-width: 380px !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 1050 !important;
        margin: 0 !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15) !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        border-bottom: none !important;
        overflow: hidden !important;
    }
    .search-filter-bar.open {
        left: 0 !important;
    }

    /* Drawer Header & Footer */
    .filter-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 20px 24px !important;
        border-bottom: 1px solid #eee !important;
        background: #fff !important;
        flex-shrink: 0 !important;
    }
    .filter-drawer-header h3 {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        color: var(--dark) !important;
    }
    .btn-close-filter-drawer {
        background: none !important;
        border: none !important;
        color: #666 !important;
        cursor: pointer !important;
        padding: 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        transition: background 0.2s !important;
    }
    .btn-close-filter-drawer:hover {
        background: #f5f5f5 !important;
    }
    .filter-drawer-footer {
        display: flex !important;
        gap: 12px !important;
        padding: 20px 24px !important;
        border-top: 1px solid #eee !important;
        background: #fff !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    .btn-drawer-clear {
        flex: 1 !important;
        background: #fff !important;
        color: var(--dark) !important;
        border: 1px solid #dcdcdc !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .btn-drawer-apply {
        flex: 1.5 !important;
        background: var(--primary) !important;
        color: white !important;
        border: none !important;
        padding: 12px !important;
        border-radius: 8px !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 10px rgba(155, 129, 68, 0.2) !important;
    }

    /* Scrollable Drawer Body */
    .search-filter-bar .container-fluid {
        padding: 24px !important;
        overflow-y: auto !important;
        flex: 1 !important;
        max-width: 100% !important;
    }
    .search-filter-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }
    .search-page .search-filter-row .location-search-wrapper {
        flex: none !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
    .filter-controls {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    /* Hide desktop controls inside scroll block */
    .search-filter-row .search-submit-btn-rect,
    .search-filter-row .btn-clear-all-filters {
        display: none !important;
    }

    /* Mobile Accordion Style Dropdowns */
    .custom-select-wrapper {
        width: 100% !important;
    }
    .select-trigger {
        width: 100% !important;
        justify-content: space-between !important;
        background: #fdfdfd !important;
    }
    .custom-select-wrapper .select-options {
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 10px 0 0 0 !important;
        display: none !important;
        margin-top: 0 !important;
    }
    .custom-select-wrapper.active .select-options {
        display: block !important;
    }

    /* Expand dropdown containers full width */
    .types-dropdown-content,
    .beds-baths-dropdown-content,
    .more-size-dropdown-content,
    .price-options,
    .pill-dropdown-content {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 0 0 0 !important;
    }

    .pill-grid {
        gap: 8px !important;
    }
    .pill-btn {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }

    /* Drawer Overlay Backdrop */
    .filter-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 1040 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    .filter-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Enforce exactly 1 card per row on mobile results */
    .search-page .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .results-section {
        padding-top: 20px !important;
    }
    .results-section .property-grid {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 20px !important;
    }
    .property-card.horizontal {
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 16px !important;
    }
    .property-card.horizontal .card-image-container {
        width: 100% !important;
        min-width: 100% !important;
        height: 220px !important;
        flex: none !important;
    }
    .property-card.horizontal .card-details {
        padding: 20px !important;
        flex: none !important;
        width: 100% !important;
    }
    .property-card.horizontal .property-price-yearly {
        font-size: 1.4rem !important;
    }
    .property-card.horizontal .property-tagline {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }
    .property-card.horizontal .property-specs {
        flex-wrap: wrap !important;
        gap: 8px 16px !important;
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
    }
    .property-card.horizontal .card-footer {
        padding-top: 15px !important;
        margin-top: 15px !important;
    }

    /* Adapt Contact action buttons to fit beautifully on mobile */
    .property-card.horizontal .footer-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .property-card.horizontal .btn-theme-wa,
    .property-card.horizontal .btn-theme-email {
        flex: 1 1 calc(50% - 4px) !important;
        padding: 10px 12px !important;
        font-size: 0.82rem !important;
        border-radius: 30px !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }
    .property-card.horizontal .btn-detail {
        flex: 1 1 100% !important;
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
        border-radius: 30px !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        margin: 0 !important;
        margin-top: 4px !important;
    }
}

/* Homepage Autocomplete Suggestion Dropdown Styling (Premium Dark/Gold Theme) */
.search-card-simple .suggestions-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 15px;
    right: 15px;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(155, 129, 68, 0.25);
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(155, 129, 68, 0.15);
    border-radius: 16px;
    text-align: left;
    padding: 8px 0;
}

.search-card-simple .suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    display: flex;
    align-items: center;
}

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

.search-card-simple .suggestion-item:hover, 
.search-card-simple .suggestion-item.highlighted {
    background: rgba(155, 129, 68, 0.15);
    color: var(--primary, #9B8144);
}

.search-card-simple .suggestion-item-icon {
    color: var(--primary, #9B8144);
    margin-right: 12px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}


