/*
Theme Name: FastlaneRealtors
Theme URI: https://www.inforootsolution.com
Author: Inforoot Solution
Author URI: https://www.inforootsolution.com
Description: A professional real estate theme for Fastlane Realtors. This theme is designed specifically for real estate agencies and property listings with modern design and functionality.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fastlanerealtors
Tags: real-estate, property, business, responsive, modern, clean, agency, listing

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* CSS Variables */
:root {
    --primary: 222.2 47.4% 11.2%;
    --secondary: 210 40% 96.1%;
    --background: 0 0% 100%;
    --foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --primary-foreground: 0 0% 98%;
    --bs-btn-hover-color: hsl(0 100% 42%);
    --bs-btn-hover-bg: hsl(0 100% 42%);
    --bs-btn-hover-border-color: hsl(0 100% 42%);
}

/* Login Modal Styles */
#loginModal .modal-dialog {
    max-width: 400px;
}

#loginModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#loginModal .modal-header {
    padding: 2rem 2rem 1rem;
}

#loginModal .modal-title {
    font-size: 1.5rem;
    color: var(--foreground);
}

#loginModal .modal-body {
    padding: 0 2rem 2rem;
}

#loginModal .form-label {
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#loginModal .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#loginModal .form-control:focus {
    border-color: hsl(0 100% 42%);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

#loginModal .btn-primary {
    background-color: hsl(0 100% 42%);
    border-color: hsl(0 100% 42%);
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#loginModal .btn-primary:hover {
    background-color: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

#loginModal .btn-outline-secondary {
    border-color: #e0e0e0;
    color: #6c757d;
}

#loginModal .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
}

#loginModal .input-group .btn {
    border-left: none;
}

#loginModal .text-decoration-none {
    color: hsl(0 100% 42%);
    font-weight: 500;
}

#loginModal .text-decoration-none:hover {
    text-decoration: underline !important;
    color: hsl(0 100% 42%) !important;
}

/* Login button hover text color fix */
.btn[data-bs-target="#loginModal"]:hover {
    color: white !important;
}

#loginModal .text-muted {
    color: #6c757d !important;
}

#loginModal .text-muted a {
    color: #6c757d;
}

#loginModal .text-muted a:hover {
    color: hsl(0 100% 42%);
}

/* Password toggle button styling */
#togglePassword {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

#togglePassword:hover {
    background-color: #f8f9fa;
}

/* Form transition effects */
#loginForm, #phoneLoginForm {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#loginForm.d-none, #phoneLoginForm.d-none {
    opacity: 0;
    transform: translateY(-10px);
}

/* Footer Styles */
footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

footer h5 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

footer .theme-red {
    color: hsl(0 100% 42%) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a.text-light:hover {
    color: hsl(0 100% 42%) !important;
    text-decoration: none;
}

footer .opacity-75 {
    opacity: 0.75;
}

footer .opacity-50 {
    opacity: 0.5;
}

footer .bg-secondary {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

footer .small {
    font-size: 0.875rem;
}

/* Portal Section Styles */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.portal-grid-item {
    display: flex;
    flex-direction: column;
}

/* Second row with 5 columns - equal width */
.portal-grid-item:nth-child(n+6) {
    grid-column: span 1;
}

/* Responsive grid */
@media (max-width: 991px) {
    .portal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.portal-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem !important;
    height: 180px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portal-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem !important;
    height: 60px;
    overflow: hidden;
}

.portal-card .card-body h6 {
    font-size: 0.9rem;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(220, 53, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portal-card:hover .icon-circle {
    background-color: rgba(220, 53, 69, 0.2);
}

.icon-circle i {
    font-size: 1.25rem;
    color: #dc3545;
}

/* NEW badge positioning */
.badge-new {
    font-size: 0.625rem;
    background-color: #dc3545;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    font-weight: 600;
    position: absolute;
    top: 0.5rem !important;
    right: 0.5rem !important;
    z-index: 10;
}

/* Article List Styles */
.article-list {
    display: flex;
    flex-direction: column;
}

.article-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.article-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

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

.article-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    color: #dc3545;
}

.flex-grow-1 {
    flex: 1;
}

/* Read More Button */
.btn-outline-danger {
    background-color: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: hsl(0 100% 42%);
    color: white;
}

/* Tab button styles */
.tab-button {
    background-color: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background-color: hsl(0 100% 42%);
    color: white;
}

.tab-button.active {
    background-color: hsl(0 100% 42%);
    color: white;
}

/* Tracking wider text */
.tracking-wider {
    letter-spacing: 0.05em;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio (9/16 = 0.5625) */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* For taller screens, ensure full height coverage */
@media (min-height: 56.25vw) {
    .video-container iframe {
        width: 177.78vh; /* 16:9 aspect ratio (16/9 = 1.7778) */
        height: 100vh;
        min-width: 100%;
        min-height: 100%;
    }
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: -1;
}

.search-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-button {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    color: #6b7280;
}

.tab-button:hover {
    color: #dc3545;
    background-color: #f3f4f6;
}

.tab-button.active {
    background-color: #dc3545;
    color: white;
}

.search-input {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 2.75rem 0.75rem 2.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.search-select {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    font-size: 0.875rem;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-select:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.search-button {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 0.625rem;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-button:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    background-color: #bb2d3b;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.input-icon-right {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.input-icon-right:hover {
    color: #dc3545;
}

.select-arrow {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.badge-new {
    font-size: 0.625rem;
    background-color: #dc3545;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    font-weight: 600;
    margin-left: 0.25rem;
    vertical-align: super;
}

/* Badge inside tab buttons */
.tab-button .badge-new {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    margin-left: 0.25rem;
    vertical-align: super;
}

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

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-select {
        display: none;
    }
}

/* Theme Variables */
:root {
    --primary: 222.2 47.4% 11.2%;
    --secondary: 210 40% 96.1%;
    --background: 0 0% 100%;
    --foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --primary-foreground: 0 0% 98%;
}

/* Modern Header Styles */
.bg-foreground {
    background-color: var(--foreground);
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground)) !important;
}

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

.bg-primary {
    background-color: hsl(var(--primary));
}

.bg-primary\/90 {
    background-color: hsl(var(--primary) / 0.9);
}

.bg-primary-foreground {
    background-color: hsl(var(--primary-foreground));
}

.bg-primary-foreground\/10 {
    background-color: hsl(var(--primary-foreground) / 0.1);
}

.border-primary-foreground\/30 {
    border-color: hsl(var(--primary-foreground) / 0.3);
}

.hover\:text-primary:hover {
    color: hsl(var(--primary));
}

.hover\:bg-primary\/90:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-primary-foreground\/10:hover {
    background-color: hsl(var(--primary-foreground) / 0.1);
}

/* Utility Classes */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.relative {
    position: relative;
}

.hidden {
    display: none;
}

/* Mobile menu toggle button - hidden on desktop */
.menu-toggle {
    display: none !important;
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

.lg\:flex {
    display: flex;
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex !important;
    }
    
    .lg\:hidden {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .lg\:flex {
        display: none !important;
    }
    
    .lg\:hidden {
        display: flex !important;
    }
}

/* Button Styles */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

nav button:focus {
    color: hsl(0 100% 42%) !important;
}

/* Text Styles */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Hover States */
.hover\:text-primary:hover {
    color: var(--primary);
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(255, 0, 0, 0.9);
}

.hover\:bg-primary-foreground\/10:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Badge Styles */
.text-\[10px\] {
    font-size: 0.625rem;
    line-height: 0.75rem;
}

.px-1\.5 {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
}

.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.rounded-sm {
    border-radius: 0.125rem;
}

.ml-1 {
    margin-left: 0.25rem;
}

/* Icon Styles */
.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-auto {
    width: auto;
}

/* Button Specific Styles */
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.rounded {
    border-radius: 0.25rem;
}

.border {
    border-width: 1px;
    border-style: solid;
}

/* Custom Logo Styles */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
}

/* FastLane Logo Styles */
.fastlane-logo {
    position: relative;
}

.fastlane-logo::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(45deg, transparent 30%, var(--primary) 30%, var(--primary) 40%, transparent 40%, transparent 60%, var(--primary) 60%, var(--primary) 70%, transparent 70%);
    border-radius: 0.25rem;
}

/* Enhanced button hover states for red theme */
.hover\:text-primary:hover {
    color: var(--primary);
}

/* Dark theme adjustments */
.bg-foreground {
    background-color: hsl(0deg 0% 9.02%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation button text color fix */
header nav button {
    color: #ffffff !important;
}

header nav a {
    color: #ffffff;
}

/* Ensure all header text is white */
header .text-sm,
header .font-medium,
header button span {
    color: #ffffff ;
}

/* Navigation hover states - red on hover */
header nav button:hover {
    color: hsl(0 100% 42%) !important;
}

header nav a:hover {
    color: hsl(0 100% 42%) !important;
}

header button:hover span {
    color: hsl(0 100% 42%) !important;
}

/* Post Property Button Styles */
.btn.bg-primary {
    background-color: hsl(0 100% 42%) !important;
    border-color: hsl(0 100% 42%) !important;
}

.btn.bg-primary:hover {
    background-color: #bb2d3b !important;
    border-color: #bb2d3b !important;
}

/* Fix Post Property FREE badge color */
.bg-primary-foreground span {
    color: hsl(0 100% 42%) !important;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: #cc0000;
    text-decoration: none;
}
.pt-poperty span{
    color: hsl(0 100% 42%);
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: #fff;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Main Content */
.site-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

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

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

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

.property-card:hover {
    transform: translateY(-5px);
}

/* City Cards Styling */
.city-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.city-card .card-img-top {
    height: 140px;
    object-fit: cover;
    border-radius: 0.75rem 0.75rem 0 0;
}

.city-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.city-card .card-text {
    font-size: 0.75rem;
}

.city-card:hover .card-img-top {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Commercial Cards Styling */
.commercial-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
}

.commercial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.commercial-card .card-img-top {
    height: 300px;
    object-fit: cover;
    border-radius: 0.75rem 0.75rem 0 0;
}

.commercial-card .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0;
}

.commercial-card .image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.commercial-card .badge {
    position: relative;
    z-index: 2;
}

.commercial-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.commercial-card .card-text {
    font-size: 0.75rem;
}

.commercial-card:hover .card-img-top {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Sell or Rent Faster Section */
.sell-rent-faster-section {
    background: linear-gradient(135deg, #e74c3c 0%, #dc3545 100%);
    color: white;
}

.sell-rent-faster-section .btn-light {
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
}

.sell-rent-faster-section .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
}

/* Why Choose Fastlane Realtors Section */
.why-choose-us-section {
    background-color: #1a1a1a;
    color: white;
}

.bg-dark-subtle {
    background-color: #3d3d3d !important;
}

/* Fastlane Why Choose Section - Custom CSS */
.fastlane-why-choose {
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.fastlane-why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-header {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

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

.benefits-grid {
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15);
}

.benefit-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(220, 53, 69, 0.25);
    line-height: 1;
}

.benefit-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-container {
    background: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.4);
    transform: scale(1.1);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #dc3545;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.property-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

/* Footer */
/* Footer Styles */
.site-footer {
    background-color: hsl(0deg 0% 9.02%);
    color: #999999;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    gap: 25px;
}

.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: 2fr 1fr; }
.footer-cols-3 { grid-template-columns: 2fr 1fr 1fr; }
.footer-cols-4 { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
.footer-cols-5 { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; }

.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img,
.footer-logo-img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(100%);
}

.footer-description {
    line-height: 1.6;
    margin-top: 20px;
    max-width: 300px;
}

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

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.footer-column ul li a {
    color: #979797;
}
.footer-column ul li a:hover{
    color:hsl(0 100% 42%);
    transition: 0.3s;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li a {
    margin-bottom: 15px;
    display: block;
}

.footer-links a:hover {
    opacity: 0.8;
}

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

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    line-height: 1.4;
}

.social-link {
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid #222222;
    margin-top: 60px;
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #666666;
    margin-bottom: 0;
}

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

.footer-legal-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

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

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
        width: 100%;
    }
}

/* Header layout adjustments when buttons are hidden */
header.no-header-buttons > div:first-child {
    justify-content: space-between;
}

header.no-header-buttons > div:first-child nav {
    margin-left: auto;
}

/* Ensure proper spacing when buttons are visible */
header:not(.no-header-buttons) > div:first-child nav {
    margin-left: 0;
}

/* Mobile Menu Styles */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bg-black {
    background-color: #000000;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, 0.5);
}

.w-80 {
    width: 20rem;
}

.h-full {
    height: 100%;
}

/* Mobile menu positioning - slide from left */
#mobile-menu {
    position: fixed;
    top: 0;
    left: -20rem; /* Start off-screen on left */
    width: 20rem;
    height: 100%;
    background-color: var(--foreground);
    z-index: 50;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

#mobile-menu.open {
    left: 0; /* Slide in from left */
}



/* Ensure mobile menu is hidden on desktop */
@media (min-width: 1024px) {
    #mobile-menu{
        display: none !important;
    }
}

/* Mobile menu link styles - FORCE with important */
#mobile-menu nav a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
}

#mobile-menu nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

#mobile-menu nav ul li {
    list-style: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile menu buttons - FORCE column layout */
#mobile-menu .mt-8 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 2rem !important;
}

/* Remove all list styles from navigation */
header nav ul,
header nav ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Dropdown Menu Styles */
.group:hover .group-hover\:block {
    display: block;
}

/* Ensure dropdowns are above other content */
header nav .dropdown-menu {
    z-index: 9999;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 0.375rem 0.375rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Prevent header destruction */
    transform: translateY(0);
    will-change: transform;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Show dropdown when .show class is added */
header nav .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

/* Alternative: Show dropdown on hover for desktop */
@media (min-width: 1024px) {
    header nav .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

/* Dropdown submenu items */
header nav .dropdown-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
}

header nav .dropdown-menu ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header nav .dropdown-menu ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

header nav .dropdown-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: hsl(0 100% 42%);
}

/* Dropdown arrow animation */
header nav .group:hover .lucide-chevron-down,
header nav .dropdown:hover .lucide-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
    opacity: 1;
}

/* Ensure dropdown arrows are visible */
header nav .lucide-chevron-down {
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

header nav .dropdown:hover .lucide-chevron-down {
    opacity: 1;
}

/* Ensure proper positioning */
header nav .relative {
    position: relative;
}

/* Main navigation container fix */
header nav {
    position: relative;
    z-index: 10;
}

/* Mobile menu adjustments */
@media (max-width: 1023px) {
    header nav .dropdown-menu, #mobile-menu nav .dropdown-menu {
        position: static !important;
        box-shadow: none;
        border: none;
        background-color: transparent;
        transform: none;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    header nav .dropdown-menu ul, #mobile-menu nav .dropdown-menu ul {
        padding-left: 1rem !important;
    }
    
    header nav .dropdown-menu ul li a, #mobile-menu nav .dropdown-menu ul li a {
        padding: 0.5rem 0;
        font-size: 0.875rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Mobile dropdown parent menu refinements */
#mobile-nav-menu li.menu-item-has-children > button {
    width: 100% !important;
    justify-content: space-between !important;
}

#mobile-nav-menu li.menu-item-has-children > button,
#mobile-nav-menu li.menu-item-has-children > button:hover,
#mobile-nav-menu li.menu-item-has-children > button:focus {
    color: #ffffff !important;
}

/* Hero Section Utility Classes */
.min-h-\[75svh\] {
    min-height: 75svh;
}

.overflow-hidden {
    overflow: hidden;
}

.pointer-events-none {
    pointer-events: none;
}

/* Video Background Styling */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border: 0px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.max-w-\[1280px\] {
    max-width: 1280px;
}

.pt-24 {
    padding-top: 6rem;
}

.pb-12 {
    padding-bottom: 3rem;
}

.text-display-xl {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.search-shadow {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.gap-1 {
    gap: 0.25rem;
}

.overflow-x-auto {
    overflow-x: auto;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.bottom-0 {
    bottom: 0;
}

.left-3 {
    left: 0.75rem;
}

.right-3 {
    right: 0.75rem;
}

.h-0\.5 {
    height: 0.125rem;
}

.bg-secondary {
    background-color: hsl(var(--muted));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.bg-background {
    background-color: hsl(var(--background));
}

.rounded-2xl {
    border-radius: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.duration-200 {
    transition-duration: 200ms;
}

.z-\[1\] {
    z-index: 1;
}

.z-10 {
    z-index: 10;
}

.z-0 {
    z-index: 0;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.align-top {
    vertical-align: top;
}

.drop-shadow-lg {
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.4)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.6));
}

.drop-shadow-md {
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.3)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.4));
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.border {
    border-width: 1px;
}

.border-white\/20 {
    border-color: rgb(255 255 255 / 0.2);
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-black\/40 {
    --tw-gradient-from: rgb(0 0 0 / 0.4);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-black\/30 {
    --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.3), var(--tw-gradient-to);
}

.to-black\/50 {
    --tw-gradient-to: rgb(0 0 0 / 0.5);
}

.pl-11 {
    padding-left: 2.75rem;
}

.pr-10 {
    padding-right: 2.5rem;
}

.focus\:outline-none:focus {
    outline: none;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px hsl(var(--primary) / 0.4);
}

.focus\:ring-offset-2:focus {
    box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 calc(2px + 2px) hsl(var(--primary) / 0.4);
}

.focus\:ring-offset-background:focus {
    --tw-ring-offset-color: hsl(var(--background));
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.cursor-pointer {
    cursor: pointer;
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.flex-1 {
    flex: 1 1 0%;
}

.placeholder\:text-muted-foreground::placeholder {
    color: hsl(var(--muted-foreground));
}

.gap-3 {
    gap: 0.75rem;
}

.rounded-\[10px\] {
    border-radius: 10px;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.better-places-section{
    background-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .sm\:p-6 {
        padding: 1.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:block {
        display: block;
    }
}

@media (min-width: 640px) {
    .sm\:p-6 {
        padding: 1.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:block {
        display: block;
    }
}

/* ========================================
   PROPERTY LISTING CARD STYLES (COMPACT)
   ======================================== */

.property-listing-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.property-listing-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-inner-flex {
    display: flex;
    flex-direction: row;
    min-height: 220px; 
}

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

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

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

/* Left side badges - Grid style */
.property-badges-left {
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px;
    z-index: 2;
    max-width: calc(100% - 100px);
}

/* Right side verified badge */
.property-badge-verified {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.property-badge-verified .badge.verified {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.95);
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Old class for backward compatibility */
.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.badge.verified {
    background: rgba(34, 197, 94, 0.95);
    color: white;
}

.badge.featured {
    background: rgba(255, 159, 28, 0.95);
    color: white;
}

.badge.premium {
    background: rgba(139, 92, 246, 0.95);
    color: white;
}

.badge.luxury {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 159, 0, 0.95));
    color: #fff;
}

.badge.new-launch {
    background: rgba(6, 182, 212, 0.95);
    color: white;
}

.badge.resale {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

/* Availability badges */
.badge.availability.ready-to-move {
    background: rgba(34, 197, 94, 0.95);
    color: white;
}

.badge.availability.under-construction {
    background: rgba(249, 115, 22, 0.95);
    color: white;
}

.badge.availability.available {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    z-index: 2;
}

.photo-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Verified Badges Overall */
.verified-badge, .verified-badge-home, .verified-badge-home-inline {
    background: #22c55e !important;
    background: rgba(34, 197, 94, 0.95) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.verified-badge-home, .verified-badge {
    padding: 3px 10px;
    font-size: 11px;
}

.verified-badge-home-inline {
    padding: 2px 8px;
    font-size: 10px;
}

.verified-badge i, .verified-badge-home i, .verified-badge-home-inline i {
    font-size: 1.2em;
    color: white !important;
}

/* 2. Content Info Section */
.property-card-info {
    flex: 1;
    min-width: 0; /* Important for flex child wrapping */
    padding: 16px; /* Tight padding for density */
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.card-header-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.property-title {
    font-size: 18px; /* Balanced size */
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    text-transform: capitalize;
}


.property-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Details Bar */
.property-details-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 8px;
}

.detail-item .val {
    font-size: 16px;
    font-weight: 700;
}

.detail-item .lbl {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
}

.detail-sep {
    width: 1px;
    height: 25px;
    background: #e2e8f0;
}

/* Features Stack */
.property-features-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-badge {
    padding: 4px 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    color: #475569;
}

.property-description-box {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
}

.read-more-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

/* Footer Section */
.card-footer-flex {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dealer-info-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dealer-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.dealer-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.dealer-lbl {
    font-size: 10px;
    color: #94a3b8;
}

/* Action Group */
.action-buttons-group {
    display: flex;
    gap: 8px;
}

.btn-action-outline {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1.5px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
    font-size: 13px;
}

.btn-action-primary {
    padding: 6px 18px;
    border-radius: 8px;
    background: #dc3545;
    color: white;
    font-weight: 600;
    font-size: 13px;
    border: none;
}

/* PAGINATION COMPACT */
.listing-pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    gap: 8px;
}

.listing-pagination a, .listing-pagination span {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .card-inner-flex {
        flex-direction: column;
    }
    .property-card-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .property-badges-left {
        top: 8px;
        left: 8px;
        gap: 4px;
        grid-template-columns: repeat(2, auto);
        max-width: calc(100% - 80px);
    }
    .property-badge-verified {
        top: 8px;
        right: 45px;
    }
    .property-badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }
    .badge {
        padding: 3px 8px;
        font-size: 9px;
    }
    .badge i {
        font-size: 9px;
    }
}

/* Currency Selector Styles */
#currencyDropdown {
    min-width: 90px;
    font-weight: 500;
    border-color: rgba(255, 255, 255, 0.3);
}

#currencyDropdown:hover,
#currencyDropdown:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

#currencyDropdown svg {
    flex-shrink: 0;
}

#currentCurrency {
    font-size: 0.875rem;
}

/* Mobile Currency Selector */
#mobileCurrencySelector {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 500;
}

#mobileCurrencySelector option {
    background-color: #fff;
    color: #333;
}

#mobileCurrencySelector:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
}

/* Currency conversion loading state */
.main-price.converting,
.property-price.converting {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Currency dropdown menu */
.dropdown-menu[data-popper-placement] {
    z-index: 1060;
}

/* Ensure currency dropdown is above other elements */
#currencyDropdown + .dropdown-menu {
    z-index: 1060;
}

/* Currency dropdown item hover - white text */
#currencyDropdown + .dropdown-menu .dropdown-item {
    color: #333;
}

#currencyDropdown + .dropdown-menu .dropdown-item:hover {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Active state for selected currency */
#currencyDropdown + .dropdown-menu .dropdown-item.active {
    background-color: rgba(220, 38, 38, 0.15);
    color: #dc2626;
    font-weight: 600;
}
