    /* Header Navbar section */
 
 /* --- Top Utility Bar Section --- */
    .top-utility-bar {
        background-color: #f8fafc; /* Professional light gray */
        border-bottom: 1px solid #e2e8f0;
        padding: 6px 0;
        width: 100%;
        z-index: 1001; /* Higher than the main header */
    }

    .utility-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* --- Professional Translate Wrapper --- */
    .px-translate-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .px-translate-wrapper i {
        color: #64748b; /* Slate Gray */
        font-size: 14px;
    }

    /* --- Styling the Google Select Dropdown --- */
    #google_translate_element select {
        background: transparent !important;
        border: none !important;
        color: #334155 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        outline: none !important;
    }

    /* --- Utility Right Text --- */
    .utility-right span {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Clean up Google's default UI clutter */
    .goog-te-gadget { font-size: 0 !important; color: transparent !important; }
    .goog-logo-link, .goog-te-gadget span { display: none !important; }
    body { top: 0 !important; }

     :root {
        --px-cyan: #00aeef;
        --px-mid-blue: #2e6da4;
        --px-dark-blue: #004274;
        --px-navy: #00243f;
        --px-text: #004274;
        --px-white: #ffffff;
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: #F8FAFC;
        color: var(--px-navy);
        -webkit-font-smoothing: antialiased;
    }

    /* 1. Desktop Layout & Profile UI */
    .px-nav-wrapper {
        display: block; width: 100%; position: relative; z-index: 1000; padding: 24px 0 10px 0;
    }
    .px-flex-container { display: flex; align-items: center; justify-content: space-between; }
    .px-nav-links { display: none; }
    @media (min-width: 992px) { .px-nav-links { display: flex; align-items: center; } }

    .px-nav-link {
        color: var(--px-text); font-weight: 600; font-size: 14px;
        text-decoration: none !important; margin: 0 12px; transition: color 0.2s;
    }
    .px-nav-link:hover { color: var(--px-cyan); }

    /* The "Excellent" User Button Style */
    .px-user-btn {
        display: flex; align-items: center; background: none; border: none;
        padding: 6px 12px; border-radius: 50px; transition: background 0.2s; cursor: pointer;
    }
    .px-user-btn:hover { background: #f1f5f9; }
    
    .px-avatar {
        width: 40px; height: 40px; border-radius: 50%;
        background: var(--px-navy); border: 2px solid var(--px-cyan);
        display: flex; align-items: center; justify-content: center;
        overflow: hidden; margin-right: 8px;
    }
    .px-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .px-avatar i { color: #fff; font-size: 14px; }

    /* Dropdowns */
    .px-dropdown { position: relative; }
    .px-dropdown-menu {
        position: absolute; top: 100%; left: 0; background: var(--px-white);
        min-width: 220px; border: 1px solid #f0f0f0; border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 12px 0;
        visibility: hidden; opacity: 0; transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1001;
    }
    .px-dropdown:hover > .px-dropdown-menu { visibility: visible; opacity: 1; transform: translateY(0); }
    .px-dropdown-item {
        display: block; padding: 10px 20px; color: #4b5563; font-weight: 500;
        font-size: 14px; text-decoration: none !important; transition: 0.2s;
    }
    .px-dropdown-item:hover { background: rgba(0, 174, 239, 0.05); color: var(--px-cyan); }

    /* 2. Synchronized Mobile Menu */
    #pxSideMenu {
        position: fixed; top: 0; right: 0; width: 100%; height: 100%;
        background: var(--px-navy); z-index: 9999; padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
        overflow-y: auto; display: flex; flex-direction: column;
    }
    #pxSideMenu.active { transform: translateX(0); }
    .px-mobile-close { align-self: flex-end; font-size: 32px; color: #fff; background: none; border: none; cursor: pointer; }
    
    .px-mobile-nav-link {
        color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 22px;
        text-decoration: none !important; display: flex; justify-content: space-between; align-items: center;
    }
    .px-mobile-sub {
        display: none; flex-direction: column; margin-bottom: 20px;
        padding-left: 15px; border-left: 2px solid var(--px-cyan);
    }
    .px-mobile-sub a { color: rgba(255, 255, 255, 0.7); font-size: 18px; margin-bottom: 12px; text-decoration: none !important; }

    .btn-social .fa{
        float: none;
    }
    /* End Header Navbar section */

/* ---------------------------------------------- */

    /* Start Hero Section */

    /* Brand Colors & Base Config */
    :root {
        --px-cyan: #00aeef;
        --px-mid-blue: #2e6da4;
        --px-dark-blue: #004274;
        --px-navy: #00243f;
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: #F8FAFC;
        color: var(--px-navy);
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
    }

    /* CRITICAL FIX: The dropdown JS relies on this class to function and not block clicks */
    .hidden { 
        display: none !important; 
    }

    /* Custom Selection Color */
    ::selection {
        background: var(--px-cyan);
        color: white;
    }

    /* Typography & Effects */
    .hero-title {
        font-size: 48px;
        font-weight: 800;
        color: var(--px-navy);
        line-height: 1.05;
        letter-spacing: -0.02em;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    @media (min-width: 992px) {
        .hero-title { font-size: 64px; }
    }
    
    .text-gradient {
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        background-image: linear-gradient(to right, #00aeef, #0077a3);
    }

    .hero-subtitle {
        font-size: 18px;
        color: #64748b;
        max-width: 500px;
        line-height: 1.6;
        font-weight: 500;
        margin-bottom: 30px;
    }

    /* Verified Badge */
    .verified-badge {
        display: inline-flex;
        align-items: center;
        background: white;
        border: 1px solid rgba(0, 174, 239, 0.3);
        padding: 6px 16px;
        border-radius: 50px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        margin-top: 20px;
    }
    .verified-badge i { color: var(--px-cyan); margin-right: 8px; }
    .verified-badge span { font-size: 12px; font-weight: 700; color: var(--px-dark-blue); text-transform: uppercase; letter-spacing: 0.05em; }

    /* Glassmorphism Panel */
    .glass-panel {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 20px 40px -10px rgba(0, 36, 63, 0.1);
        padding: 8px;
        border-radius: 24px;
        margin-top: 30px;
    }

    /* Custom Flex Form Layouts */
    .search-form-desktop { display: flex; align-items: stretch; gap: 8px; }
    .search-form-mobile { display: flex; flex-direction: column; gap: 10px; }
    
    .search-input-group {
        display: flex;
        align-items: center;
        flex: 1;
        padding: 12px 16px;
        background: transparent;
        border-right: 1px solid #e2e8f0;
    }
    .search-input-group:last-of-type { border-right: none; }
    .search-input-group i { color: var(--px-cyan); font-size: 20px; margin-right: 12px; }
    
    .input-wrapper { width: 100%; }
    .input-wrapper label {
        display: block;
        font-size: 10px;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 4px;
    }
    .custom-input, .custom-select-native {
        width: 100%;
        background: transparent;
        border: none;
        outline: none;
        box-shadow: none;
        color: var(--px-navy);
        font-weight: 600;
        font-size: 14px;
        padding: 0;
    }
    .custom-input::placeholder { color: #9ca3af; font-weight: 600; }

    /* Buttons */
    .btn-search {
        background-color: var(--px-navy);
        color: white;
        border: none;
        border-radius: 16px;
        width: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    .btn-search:hover { background-color: var(--px-cyan); color: white; }
    .btn-search-mobile { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; border: none; background: var(--px-navy); color: white; }

    /* Custom Dropdown (Mobile) */
    .custom-dropdown-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f8fafc;
        color: var(--px-navy);
        font-weight: 700;
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        transition: all 0.2s;
    }
    .dropdown-options-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        border: 1px solid #f1f5f9;
        z-index: 100;
        margin-top: 8px;
        overflow: hidden;
    }
    .dropdown-option {
        padding: 12px 16px;
        color: #475569;
        font-weight: 600;
        cursor: pointer;
        border-bottom: 1px solid #f8fafc;
        transition: 0.2s;
    }
    .dropdown-option:hover { background: rgba(0, 174, 239, 0.1); color: var(--px-cyan); }
    .rotate-180 { transform: rotate(180deg); }
    .transition-transform { transition: transform 0.2s ease; }

    /* Avatars */
    .social-proof { display: flex; align-items: center; margin-top: 30px; }
    .avatar-group { display: flex; margin-right: 15px; }
    .avatar-group img, .avatar-group .avatar-count {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid white;
        margin-left: -12px;
    }
    .avatar-group img:first-child { margin-left: 0; }
    .avatar-group .avatar-count {
        background: var(--px-cyan);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 12px;
        font-weight: 700;
    }
    .social-text { line-height: 1.2; }
    .social-text p { margin: 0; font-size: 14px; font-weight: 700; color: var(--px-navy); }
    .social-stars { color: var(--px-cyan); font-size: 12px; margin-top: 4px; }

    /* Right Column Images & Floating Elements */
    .hero-image-wrapper {
        position: relative;
        height: 600px;
        width: 100%;
    }
    .hero-main-img-box {
        position: absolute;
        right: 0;
        top: 0;
        width: 80%;
        height: 100%;
        background: #e5e7eb;
        border-radius: 40px;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    .hero-main-img-box img { width: 100%; height: 100%; object-fit: cover; }
    .hero-img-overlay {
        position: absolute;
        bottom: 0; left: 0; right: 0; top: 0;
        background: linear-gradient(to top, rgba(0, 36, 63, 0.8), transparent 50%);
    }
    .hero-img-text { position: absolute; bottom: 30px; left: 30px; color: white; }
    .feat-badge { background: var(--px-cyan); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
    .hero-img-text h3 { margin: 0 0 5px 0; font-size: 24px; font-weight: 700; }
    .hero-img-text p { margin: 0; color: #d1d5db; }

    /* Floating Animations */
    .float-card { animation: float 6s ease-in-out infinite; }
    .float-card-delayed { animation: float 6s ease-in-out 3s infinite; }
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-15px); }
        100% { transform: translateY(0px); }
    }

    .smart-card, .verify-card {
        position: absolute;
        background: white;
        padding: 16px;
        border-radius: 16px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
    .smart-card { top: 80px; left: 0; max-width: 200px; }
    .smart-card-header { display: flex; align-items: center; margin-bottom: 10px; }
    .smart-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,174,239,0.1); color: var(--px-cyan); display: flex; align-items: center; justify-content: center; margin-right: 12px; }
    .smart-text p { margin: 0; line-height: 1.2; }
    .smart-text p:first-child { font-size: 12px; color: #9ca3af; font-weight: 700; text-transform: uppercase; }
    .smart-text p:last-child { font-size: 14px; font-weight: 700; color: var(--px-navy); }
    .progress-bar-bg { width: 100%; background: #f3f4f6; height: 4px; border-radius: 4px; overflow: hidden; }
    .progress-bar-fill { background: var(--px-cyan); width: 75%; height: 100%; border-radius: 4px; }

    .verify-card { bottom: 120px; left: 40px; display: flex; align-items: center; }
    .verify-icon { background: #dcfce7; color: #16a34a; padding: 12px; border-radius: 50%; margin-right: 16px; display: flex; }
    .verify-text p { margin: 0; line-height: 1.2; }
    .verify-text p:first-child { font-size: 14px; font-weight: 700; color: var(--px-navy); }
    .verify-text p:last-child { font-size: 12px; color: #6b7280; }
    
    /* Spacing utility for section */
    .hero-section-wrapper { padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 10; }
    @media (min-width: 992px) { .hero-section-wrapper { padding-top: 60px; } }

    /* End Hero Section */

/* ---------------------------------------------- */

    /* Start Search form */
    .glass-form-wrapper {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
    }

    .search-main-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .row-top {
        display: flex;
        align-items: stretch;
        gap: 8px;
    }

    /* Desktop Specifics */
    @media (min-width: 992px) {
        .loc-box { flex: 2; }
        .stat-box { flex: 1; border-right: none !important; }
    }

    /* Mobile Specifics */
    @media (max-width: 991px) {
        .row-top {
            display: flex;
            flex-direction: row !important;
        }
        .loc-box { flex: 1; border-right: none !important; }
        .stat-box { display: none; } 
        
        .mobile-extra-stack {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 10px;
        }
    }

    /* Custom Dropdown Styling (The "Excellent" Part) */
    .custom-select-wrapper {
        position: relative;
        cursor: pointer;
        background: #f8fafc;
        border-radius: 12px;
        padding: 8px 16px;
        border: 1px solid #e2e8f0;
        width: 100%;
    }

    .selected-value-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 24px;
    }

    #selectedValue {
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
    }

    .dropdown-options-container {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        background: white;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
        border: 1px solid #f1f5f9;
        z-index: 1000;
        overflow: hidden;
    }

    .dropdown-option {
        padding: 12px 16px;
        font-size: 14px;
        color: #475569;
        transition: all 0.2s;
        border-bottom: 1px solid #f8fafc;
    }

    .dropdown-option:hover {
        background: #f1f5f9;
        color: #0ea5e9;
    }

    .hidden { display: none !important; }
    .rotate-180 { transform: rotate(180deg); }
    #arrowIcon { transition: transform 0.3s ease; font-size: 11px; color: #94a3b8; }

    /* Buttons & Inputs */
    .btn-search {
        background: #1e293b;
        color: white;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .btn-search:hover { background: #0f172a; }

    .advanced-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
        cursor: pointer;
        margin-top: 12px;
        padding-left: 4px;
    }

    .advanced-fields-grid {
        display: none;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #e2e8f0;
    }

    .toast-message {
        background: #f8fafc; /* Light clean color */
        border: 1px solid #e2e8f0;
        color: #1e293b; /* Dark text */
        padding: 14px 20px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 500;
        margin-top: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* ------------------- */

    /* Mobile-Only Row Logic */
    @media (max-width: 767px) {
        .mobile-extra-stack {
            display: flex !important;
            flex-direction: row !important;
            gap: 15px;
            align-items: flex-end;
            padding: 10px 0;
        }
        .mobile-extra-stack > div {
            flex: 1;
            min-width: 0;
        }
    }

    /* Global 'Clean' Override for both Native and Selectpicker */
    .custom-select-native,
    .bootstrap-select > .dropdown-toggle,
    .bootstrap-select > .dropdown-toggle:focus,
    .bootstrap-select > .dropdown-toggle:active {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        padding: 0 !important;
        height: auto !important;
        margin: 0 !important;
        appearance: none;
        -webkit-appearance: none;
    }

    /* Style the text inside the Selectpicker button to match your clean label style */
    .bootstrap-select .filter-option {
        font-size: 14px;
        color: #333;
    }

    /* Ensure the label is consistent */
    .input-wrapper label {
        font-size: 11px;
        text-transform: uppercase;
        color: #999;
        margin-bottom: 2px;
        display: block;
    }
    .input-wrapper {
        position: relative; /* This is the key! */
        width: 100%;
    }

    #location-autocomplete-results {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 8px; 
    background: white;
    border-radius: 12px; 
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    
    /* --- The Scroll Logic --- */
    max-height: 280px; /* Limits the height */
    overflow-y: auto;  /* Adds scroll if content exceeds max-height */
    overflow-x: hidden;
    }

    /* --- Clean Custom Scrollbar --- */
    #location-autocomplete-results::-webkit-scrollbar {
        width: 6px;
    }

    #location-autocomplete-results::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 0 12px 12px 0;
    }

    #location-autocomplete-results::-webkit-scrollbar-thumb {
        background: #cbd5e1; 
        border-radius: 10px;
    }

    #location-autocomplete-results::-webkit-scrollbar-thumb:hover {
        background: #00aeef; 
    }
    .validation-error-box {
        display: block;
        align-items: center;
        gap: 8px;
        background-color: #fff1f2; 
        color: #be123c;
        border: 1px solid #fecdd3; 
        padding: 6px 14px;
        border-radius: none; 
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 0px;
        margin-left: 0px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(244, 63, 94, 0.05);
    }

    
    .validation-error-box i {
        font-size: 13px;
        color: white;
    }

    #location-required-error {
    margin-left: 0px;
    padding: 4px;
    /* background: #fb6565; */
    background:#ffa4a4;
    font-size: 13px;
    color: #000;
    }

    .d-none {
        display: none !important;
    }

    /* end search form */    

/* ------------------------------------------ */

    /* Start Filter Location Section */
   /* --- Layout & Utilities (Replacing Tailwind) --- */
    .section-padding { padding: 50px 15px; }
    @media (min-width: 992px) { .section-padding { padding: 80px 30px; } }
    
    .flex-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
    
    .text-dark-blue { color: #00243f; }
    .text-light-blue { color: #00aeef; }
    .font-black { font-weight: 900; }
    .font-extrabold { font-weight: 800; }
    
    /* --- Buttons --- */
    .btn-view-all {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        color: #00aeef; padding: 12px 24px; border-radius: 50px; font-weight: bold;
        transition: all 0.3s; white-space: nowrap; text-decoration: none;
    }
    @media (min-width: 992px) { .btn-view-all { padding: 16px 32px; } }
    .btn-view-all:hover {
        background: #00aeef; color: white; text-decoration: none;
        transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }

    /* --- Filters --- */
    .filter-scroll-container {
        display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding-bottom: 15px; margin-bottom: 30px;
    }
    .filter-scroll-container::-webkit-scrollbar { display: none; }
    @media (min-width: 992px) {
        .filter-scroll-container { flex-wrap: wrap; justify-content: center; }
    }
    
    .filter-btn {
        padding: 8px 20px; border-radius: 50px; border: 1px solid #f3f4f6; color: #4b5563;
        font-weight: 600; font-size: 14px; flex-shrink: 0; transition: all 0.3s; background: white; outline: none;
    }
    .filter-btn:hover { background: #f9fafb; }
    .filter-btn.active { border-color: #eff6ff; background: #eff6ff; color: #00aeef; font-weight: bold; }

    /* --- Sidebar Info --- */
    .sticky-sidebar { position: sticky; top: 30px; }
    .live-market-box {
        display: inline-flex; align-items: center; gap: 12px; background: #f9fafb;
        border: 1px solid #f3f4f6; padding: 16px; border-radius: 16px; margin-bottom: 25px;
    }
    .pulse-dot {
        width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite;
    }
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
        100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    }

    /* --- Mobile Horizontal Masonry (Multi-row stack) --- */
    .masonry-grid {
        display: flex;
        flex-direction: column; 
        flex-wrap: wrap;        
        height: 90vh;           
        overflow-x: auto;       
        overflow-y: hidden;
        gap: 12px;
        scroll-snap-type: x mandatory;
        padding-right: 20px;
        padding-bottom: 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .masonry-grid::-webkit-scrollbar { display: none; }

    .masonry-item {
        width: 160px;          
        flex-shrink: 0;
        break-inside: avoid;
        scroll-snap-align: start;
        opacity: 0;
        transform: translateY(20px);
    }

    /* --- Desktop Vertical Masonry --- */
    @media (min-width: 992px) { /* Bootstrap md/lg breakpoint */
        .masonry-grid {
            display: block;      
            column-count: 2;     
            column-gap: 20px;
            height: auto !important;
            overflow-x: visible;
            overflow-y: visible;
        }
        .masonry-item {
            width: 100%;
            display: inline-block;
            margin-bottom: 20px;
            transform: translateY(30px);
        }
    }
    @media (min-width: 1200px) { /* Bootstrap lg breakpoint */
        .masonry-grid { column-count: 3; }
    }

    /* --- Animations --- */
    .animate-in { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* --- Image Cards & Heights --- */
    .gallery-h-1, .gallery-h-2, .gallery-h-3 { height: 192px; } /* Mobile default */
    @media (min-width: 992px) {
        .gallery-h-1 { height: 320px; } 
        .gallery-h-2 { height: 256px; } 
        .gallery-h-3 { height: 384px; } 
    }

    .gallery-card-inner {
        position: relative; width: 100%; height: 100%; background: #f3f4f6;
        border-radius: 16px; overflow: hidden; cursor: pointer; display: block;
    }
    @media (min-width: 992px) { .gallery-card-inner { border-radius: 24px; } }

    .gallery-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
    .masonry-item:hover .gallery-card-img { transform: scale(1.1); }

    .gallery-card-overlay {
        position: absolute; top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent, transparent);
        display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
        transition: opacity 0.3s ease; opacity: 1; /* Always visible on mobile */
    }
    @media (min-width: 992px) {
        .gallery-card-overlay { opacity: 0; }
        .masonry-item:hover .gallery-card-overlay { opacity: 1; }
    }

    /* --- View All Card Details --- */
    .view-all-card {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
        width: 100%; height: 128px; border-radius: 20px; border: 2px dashed #d1d5db;
        transition: all 0.3s; text-decoration: none; color: #004274; font-weight: bold;
    }
    @media (min-width: 992px) { .view-all-card { height: 192px; } }
    .view-all-card:hover { border-color: #00aeef; background: #eff6ff; text-decoration: none; color: #004274; }
    
    .view-all-icon {
        width: 40px; height: 40px; border-radius: 50%; background: #dbeafe; color: #00aeef;
        display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.3s;
    }
    .view-all-card:hover .view-all-icon { transform: scale(1.1); }

    /* End Filter Location Section */

/* ----------------------------------------- */

    /* Start Other Sections */

    /* --- Global Utilities --- */
    .container-7xl { max-width: 1280px; margin: 0 auto; padding-left: 15px; padding-right: 15px; }
    .text-light-blue { color: #00aeef; }
    .bg-light-blue { background-color: #00aeef; }
    .text-dark-blue { color: #00243f; }
    
    /* --- Latest Properties Section --- */
    .latest-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
    
    .view-all-link {
        display: none; align-items: center; gap: 8px; font-weight: bold; color: #00aeef;
        transition: color 0.3s; text-decoration: none;
    }
    @media (min-width: 992px) { .view-all-link { display: inline-flex; } }
    .view-all-link:hover { color: #00243f; text-decoration: none; }

    /* Mobile Snap Grid & Desktop CSS Grid */
    .latest-grid {
        display: flex; gap: 24px; overflow-x: auto; padding-bottom: 30px;
        scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
    }
    .latest-grid::-webkit-scrollbar { display: none; }
    @media (min-width: 992px) {
        .latest-grid {
            display: grid; grid-template-columns: repeat(4, 1fr);
            overflow-x: visible; padding-bottom: 0; scroll-snap-type: none;
        }
    }

    /* Property Card */
    .prop-card-wrapper {
        min-width: 70vw; scroll-snap-align: start; flex-shrink: 0;
    }
    @media (min-width: 768px) { .prop-card-wrapper { min-width: 45vw; } }
    @media (min-width: 992px) { .prop-card-wrapper { min-width: 0; } }

    .prop-card {
        position: relative; border-radius: 24px; overflow: hidden; height: 300px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); cursor: pointer; display: block;
    }
    .prop-card img {
        width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out;
    }
    .prop-card:hover img { transform: scale(1.1); }
    
    .prop-gradient {
        position: absolute; top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(to top, #00243f 0%, transparent 60%); opacity: 0.9;
    }
    
    .prop-content {
        position: absolute; bottom: 0; left: 0; width: 100%; padding: 24px;
        color: white; transform: translateY(10px); transition: transform 0.3s;
    }
    .prop-card:hover .prop-content { transform: translateY(0); }
    
    .prop-label {
        background-color: #00aeef; color: white; font-size: 12px; font-weight: bold;
        padding: 4px 8px; border-radius: 4px;
    }
    .prop-title {
        font-size: 18px; font-weight: bold; line-height: 1.2; margin-bottom: 4px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    /* Mobile View All Card */
    .mobile-view-all {
        min-width: 50vw; scroll-snap-align: start; display: flex; flex-direction: column;
        align-items: center; justify-content: center; background-color: #f9fafb;
        border-radius: 24px; border: 2px dashed #d1d5db; cursor: pointer; text-decoration: none;
    }
    @media (min-width: 992px) { .mobile-view-all { display: none; } }
    .mobile-view-all-icon {
        width: 64px; height: 64px; border-radius: 50%; background: white; color: #00aeef;
        display: flex;  justify-content: center; font-size: 20px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); margin-bottom: 16px;
    }

    /* --- PX Property Hub (Hero Section) --- */
    .hub-section { padding-top: 40px; padding-bottom: 80px; }
    @media (min-width: 992px) { .hub-section { padding-top: 120px; padding-bottom: 120px; } }
    
    .hub-img-wrapper { position: relative; margin-bottom: 60px; }
    @media (min-width: 992px) { .hub-img-wrapper { margin-bottom: 0; } }
    
    .hub-img-inner {
        width: 100%; aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: rotate(2deg);
    }
    /* Fallback for older browsers lacking aspect-ratio */
    @supports not (aspect-ratio: 4/5) {
        .hub-img-inner { height: 0; padding-bottom: 125%; }
        .hub-img-inner img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    }
    .hub-img-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
    .hub-img-inner:hover img { transform: scale(1.05); }

    .hub-badge {
        position: absolute; bottom: -40px; left: -20px; background: white; padding: 25px;
        border-radius: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
        max-width: 240px; transform: rotate(-3deg); z-index: 10;
    }
    @media (min-width: 992px) { .hub-badge { left: -40px; } }

    /* --- Integrated Ecosystem --- */
    .eco-section { padding-top: 40px; padding-bottom: 80px; }
    
    .eco-card {
        background: white; border: 1px solid #f1f5f9; border-radius: 40px; padding: 40px;
        transition: all 0.5s ease; position: relative; overflow: hidden; margin-bottom: 24px; cursor: default;
    }
    .eco-card:hover {
        background: #00243f; transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    }
    
    .eco-glow {
        position: absolute; top: -20px; right: -20px; width: 128px; height: 128px;
        background: #00aeef; border-radius: 50%; filter: blur(60px); opacity: 0; transition: opacity 0.5s;
    }
    .eco-card:hover .eco-glow { opacity: 0.2; }

    .eco-icon-box {
        width: 56px; height: 56px; border-radius: 16px; background: #f0f9ff;
        display: flex; align-items: center; justify-content: center; margin-bottom: 30px;
        transition: background 0.5s, color 0.5s;
    }
    .eco-icon-box i { font-size: 24px; color: #00243f; transition: color 0.5s; }
    .eco-card:hover .eco-icon-box { background: #00aeef; }
    .eco-card:hover .eco-icon-box i { color: white; }

    .eco-title { font-size: 24px; font-weight: bold; color: #00243f; margin-bottom: 16px; transition: color 0.5s; }
    .eco-desc { color: #64748b; font-size: 16px; line-height: 1.6; transition: color 0.5s; margin-bottom: 0; }
    .eco-card:hover .eco-title { color: white; }
    .eco-card:hover .eco-desc { color: #cbd5e1; }

    /* End Other Sections */


/* ------------------------------------------- */
    /* start footer section */
    /* Footer Style Overrides */
    .px-footer {
        background-color: var(--px-navy);
        color: #ffffff;
        padding-top: 80px;
        padding-bottom: 40px;
        font-family: 'Plus Jakarta Sans', sans-serif;
    }
    .px-footer h2 {
        font-size: 34px;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 24px;
        letter-spacing: -0.03em;
        color: #ffffff;
    }
    .px-footer h2 span { color: var(--px-cyan); }
    .px-footer p { color: #94a3b8; line-height: 1.7; font-size: 15px; }

    .px-footer-link-header {
        color: var(--px-cyan);
        font-weight: 800;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 0.15em;
        margin-bottom: 25px;
        display: block;
    }
    .px-footer-list { padding: 0; list-style: none; }
    .px-footer-list li { margin-bottom: 16px; }
    .px-footer-list a {
        color: #94a3b8;
        font-size: 14px;
        text-decoration: none !important;
        transition: all 0.3s ease;
    }
    .px-footer-list a:hover { color: #ffffff; padding-left: 5px; }

    /* Action Buttons */
    .px-btn-started {
        background-color: var(--px-cyan);
        color: #fff !important;
        padding: 14px 32px;
        border-radius: 12px;
        font-weight: 700;
        display: inline-block;
        text-decoration: none !important;
        box-shadow: 0 10px 25px rgba(0, 174, 239, 0.25);
        transition: all 0.3s ease;
        border: none;
    }
    .px-btn-outline {
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff !important;
        padding: 14px 32px;
        border-radius: 12px;
        font-weight: 700;
        display: inline-block;
        text-decoration: none !important;
        margin-left: 12px;
        transition: all 0.3s ease;
    }

    /* Social Icons */
    .px-social-circle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin-left: 12px;
        transition: all 0.3s ease;
    }
    .px-social-circle:hover {
        background: var(--px-cyan);
        color: #fff;
        transform: rotate(8deg);
    }

    /* Mobile Responsive Logic */
    @media (max-width: 767px) {
        /* .px-footer { text-align: center; } */
        .px-footer p { margin: 0 auto 25px auto; }
        
        /* Buttons stay side-by-side */
        .footer-actions { display: flex; justify-content: left; gap: 10px; }
        .px-btn-outline { margin-left: 0; }
        .px-btn-started, .px-btn-outline { padding: 12px 20px; font-size: 13px; }

        /* Socials stay side-by-side */
        .px-social-row { display: flex !important; justify-content: center !important; margin-top: 30px; }
        .px-social-circle { margin: 0 6px; }

        /* Links go 2 columns per row */
        .px-link-col { width: 50% !important; float: left; margin-bottom: 40px; text-align: left; }
        .px-link-col:last-child { width: 100% !important; text-align: left; }
    }

    /* End Footer section */
/* --------------------------------------------------- */


