/* Homepage styles: moved out of the inline <style> block that sat at the end of the page content. */

    /* ===== POST YOUR LISTING - Latest Modern Style with Maximum User Interest ===== */
    .post-listing-btn {
        position: fixed !important;
        bottom: 25px !important;
        right: 25px !important;
        /* Latest 2024-2025 Trend: Premium Purple-Blue Gradient with Glassmorphism */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%) !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        border: none;
        border-radius: 60px;
        padding: 20px 36px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 1px;
        cursor: pointer;
        /* Modern Glassmorphism Effect with Multiple Shadow Layers */
        box-shadow: 
            0 10px 40px rgba(102, 126, 234, 0.4),
            0 5px 20px rgba(118, 75, 162, 0.3),
            0 2px 10px rgba(240, 147, 251, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        z-index: 999999 !important;
        display: flex !important;
        align-items: center;
        gap: 14px;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        animation: modernGlow 2.5s ease-in-out infinite, floatAnimation 3s ease-in-out infinite;
        text-transform: uppercase;
        white-space: nowrap;
        visibility: visible !important;
        opacity: 1 !important;
        /* Glassmorphism border */
        border: 2px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        /* Modern gradient text effect */
        background-clip: padding-box;
        position: relative;
        overflow: hidden;
        /* Ensure button is always on top and visible */
        pointer-events: auto !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Hide button when modal is active - CRITICAL FIX */
    body:has(.post-listing-modal.active) .post-listing-btn,
    .post-listing-modal.active ~ .post-listing-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Alternative selector for browsers that don't support :has() */
    .post-listing-modal.active + .post-listing-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Shimmer effect overlay for modern look */
    .post-listing-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.3), 
            transparent);
        transition: left 0.5s;
    }
    
    .post-listing-btn:hover::before {
        left: 100%;
    }
    
    .post-listing-btn:hover {
        transform: translateY(-4px) scale(1.03);
        box-shadow: 
            0 15px 50px rgba(102, 126, 234, 0.5),
            0 8px 25px rgba(118, 75, 162, 0.4),
            0 4px 15px rgba(240, 147, 251, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
        border-color: rgba(255, 255, 255, 0.4);
    }
    
    .post-listing-btn:active {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 
            0 8px 30px rgba(102, 126, 234, 0.4),
            0 4px 15px rgba(118, 75, 162, 0.3);
    }
    
    .post-listing-btn i {
        font-size: 24px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }
    
    .post-listing-btn:hover i {
        transform: rotate(90deg) scale(1.15);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    }
    
    .post-listing-btn span {
        position: relative;
        z-index: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    /* Modern Glow Animation */
    @keyframes modernGlow {
        0%, 100% {
            box-shadow: 
                0 10px 40px rgba(102, 126, 234, 0.4),
                0 5px 20px rgba(118, 75, 162, 0.3),
                0 2px 10px rgba(240, 147, 251, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }
        50% {
            box-shadow: 
                0 12px 45px rgba(102, 126, 234, 0.5),
                0 6px 25px rgba(118, 75, 162, 0.4),
                0 3px 15px rgba(240, 147, 251, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
        }
    }
    
    /* Subtle Float Animation for Attention */
    @keyframes floatAnimation {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3px);
        }
    }
    
    /* Combine animations on hover */
    .post-listing-btn:hover {
        animation: modernGlow 1.5s ease-in-out infinite, floatAnimation 2s ease-in-out infinite;
    }
    
    /* Modal Overlay */
    .post-listing-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10000;
        animation: fadeIn 0.3s ease;
    }
    
    .post-listing-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .post-listing-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
    }
    
    .post-listing-modal-content {
        position: relative;
        background: #ffffff;
        border-radius: 20px;
        max-width: 800px; /* Reduced by 20% from 1000px (1000 * 0.8 = 800) */
        width: 95%;
        max-height: 95vh;
        overflow-y: auto;
        overflow-x: hidden; /* Prevent horizontal scroll */
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.4s ease;
        z-index: 10001;
        /* Override body's user-select: none - Allow text selection for copying */
        -webkit-user-select: text !important;
        user-select: text !important;
        /* Smooth scrolling */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* All text elements in modal should be selectable */
    .post-listing-modal-content p,
    .post-listing-modal-content h2,
    .post-listing-modal-content h3,
    .post-listing-modal-content h4,
    .post-listing-modal-content label,
    .post-listing-modal-content input[type="text"],
    .post-listing-modal-content input[type="number"],
    .post-listing-modal-content textarea,
    .post-listing-modal-content select,
    .post-listing-modal-content .form-control {
        -webkit-user-select: text !important;
        user-select: text !important;
    }
    
    /* Buttons should not be selectable */
    .post-listing-modal-content button,
    .post-listing-modal-content .btn,
    .post-listing-close-btn {
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .post-listing-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10002;
    }
    
    .post-listing-close-btn:hover {
        background: #e0e0e0;
        transform: rotate(90deg);
    }
    
    .post-listing-close-btn i {
        color: #666;
        font-size: 18px;
    }
    
    /* Header - Reduced Blue, More Form Visible */
    .post-listing-header {
        text-align: center;
        padding: 16px 24px 12px; /* Reduced by 20% (20px * 0.8 = 16px, 30px * 0.8 = 24px, 15px * 0.8 = 12px) */
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 20px 20px 0 0;
        color: #2c3e50;
        border-bottom: 3px solid #e9ecef; /* Thicker border for better separation */
        position: sticky;
        top: 0;
        z-index: 10;
        background: #ffffff; /* Solid background for sticky header */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    }
    
    .post-listing-logo {
        width: 50px; /* Reduced from 60px */
        height: 50px; /* Reduced from 60px */
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px; /* Reduced from 12px */
        padding: 6px; /* Reduced from 8px */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .post-listing-logo:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
    
    .post-listing-logo-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .post-listing-header h2 {
        font-size: 24px; /* Reduced from 28px */
        font-weight: 700;
        margin: 0 0 4px; /* Reduced from 10px to minimize white space */
        color: #2c3e50;
        letter-spacing: -0.5px;
    }
    
    .post-listing-header p {
        font-size: 14px; /* Reduced from 16px */
        color: #6c757d;
        margin: 0;
        font-weight: 500;
        line-height: 1.3; /* Tighter line height */
    }
    
    /* Body - Override body's user-select: none for modal */
    .post-listing-modal-content * {
        -webkit-user-select: text !important;
        user-select: text !important;
    }
    
    /* Buttons and interactive elements should still work */
    .post-listing-modal-content button,
    .post-listing-modal-content .btn,
    .post-listing-modal-content input[type="button"],
    .post-listing-modal-content input[type="submit"],
    .post-listing-close-btn {
        -webkit-user-select: none !important;
        user-select: none !important;
        cursor: pointer;
    }
    
    .post-listing-body {
        padding: 24px 28px; /* Reduced by 20% (30px * 0.8 = 24px, 35px * 0.8 = 28px) */
        background: #ffffff;
        min-height: 400px; /* Ensure minimum height */
    }
    
    .categories-title {
        font-size: 24px; /* Increased from 20px */
        font-weight: 700; /* Increased from 600 */
        color: #1a2a44;
        margin: 0 0 30px; /* Increased margin */
        text-align: center;
        letter-spacing: -0.3px;
    }
    
    .listing-options {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); /* Reduced by 20% (160px * 0.8 = 128px) */
        gap: 16px; /* Reduced by 20% (20px * 0.8 = 16px) */
        margin-bottom: 24px; /* Reduced by 20% (30px * 0.8 = 24px) */
        /* REMOVED max-height and overflow to prevent double scrolling - all categories visible */
        padding: 8px 4px; /* Reduced by 20% (10px * 0.8 = 8px, 5px * 0.8 = 4px) */
    }
    
    /* Removed scrollbar styles - no scrolling needed in listing-options */
    
    /* Modal scrollbar styling */
    .post-listing-modal-content::-webkit-scrollbar {
        width: 10px;
    }
    
    .post-listing-modal-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .post-listing-modal-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #764ba2, #f093fb);
    }
    
    .post-listing-modal-content::-webkit-scrollbar-track {
        background: #f8f9fa;
        border-radius: 10px;
    }
    
    .listing-option-card {
        background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%); /* Subtle gradient */
        border: 2px solid #e9ecef;
        border-radius: 16px;
        padding: 18px 12px; /* Optimized padding */
        text-align: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        min-height: 110px; /* Optimized height */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    /* Add subtle background pattern */
    .listing-option-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .listing-option-card:hover::after {
        opacity: 1;
    }
    
    .listing-option-card:hover {
        border-color: #667eea;
        transform: translateY(-4px) scale(1.02); /* Smooth lift and slight scale */
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3); /* Enhanced shadow */
        background: linear-gradient(to bottom, #ffffff 0%, #f0f4ff 100%); /* Light blue gradient on hover */
    }
    
    .listing-option-card.selected {
        border-color: #1a2a44;
        background: linear-gradient(135deg, rgba(26, 42, 68, 0.05), rgba(46, 67, 114, 0.05));
        box-shadow: 0 4px 12px rgba(26, 42, 68, 0.2);
    }
    
    .option-icon {
        width: 32px; /* Slightly increased for better visibility */
        height: 32px; /* Slightly increased for better visibility */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px; /* Increased margin for better spacing */
        font-size: 15px; /* Increased for better readability */
        color: #fff;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); /* Enhanced gradient */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3); /* Enhanced shadow */
        position: relative;
        overflow: hidden;
    }
    
    /* Add shine effect to icons */
    .option-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: rotate(45deg);
        transition: all 0.5s ease;
        opacity: 0;
    }
    
    .listing-option-card:hover .option-icon::before {
        opacity: 1;
        animation: iconShine 0.6s ease;
    }
    
    @keyframes iconShine {
        0% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
        100% {
            transform: translateX(100%) translateY(100%) rotate(45deg);
        }
    }
    
    .listing-option-card:hover .option-icon {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        background: linear-gradient(135deg, #764ba2, #f093fb);
    }
    
    .listing-option-card.selected .option-icon {
        background: linear-gradient(135deg, #feca57, #ff6b6b);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(254, 202, 87, 0.5);
    }
    
    .listing-option-card h3 {
        font-size: 15px; /* Optimized size */
        font-weight: 700;
        color: #1a2a44;
        margin: 0 0 6px; /* Optimized spacing */
        line-height: 1.3;
        letter-spacing: -0.2px; /* Tighter letter spacing */
        transition: color 0.3s ease;
    }
    
    .listing-option-card:hover h3 {
        color: #667eea; /* Change color on hover */
    }
    
    .listing-option-card p {
        font-size: 12px; /* Optimized size */
        color: #6c757d; /* Softer gray */
        margin: 0;
        line-height: 1.4;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .listing-option-card:hover p {
        color: #495057; /* Darker on hover for better readability */
    }
    
    .post-listing-features {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border-radius: 16px;
        padding: 24px 20px;
        margin-top: 20px;
        border: 2px solid #e9ecef;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    
    .features-title {
        font-size: 20px;
        font-weight: 700;
        color: #1a2a44;
        margin: 0 0 20px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .features-title i {
        color: #feca57;
        font-size: 22px;
        animation: starPulse 2s ease-in-out infinite;
    }
    
    @keyframes starPulse {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.1);
            opacity: 0.8;
        }
    }
    
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .feature-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 20px 16px;
        text-align: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
        border-color: #667eea;
        background: linear-gradient(to bottom, #ffffff 0%, #f8f9ff 100%);
    }
    
    .feature-icon-wrapper {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: #ffffff;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }
    
    .feature-card:hover .feature-icon-wrapper {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }
    
    /* Individual icon colors */
    .feature-icon-free {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    }
    
    .feature-icon-reach {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .feature-icon-photos {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
    
    .feature-icon-support {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }
    
    .feature-text {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        line-height: 1.4;
        transition: color 0.3s ease;
    }
    
    .feature-card:hover .feature-text {
        color: #667eea;
    }
    
    @media (max-width: 768px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
        
        .feature-card {
            padding: 16px 12px;
        }
        
        .feature-icon-wrapper {
            width: 48px;
            height: 48px;
            font-size: 20px;
        }
        
        .feature-text {
            font-size: 12px;
        }
        
        .features-title {
            font-size: 18px;
        }
    }
    
    @media (max-width: 576px) {
        .features-grid {
            grid-template-columns: 1fr;
        }
    }
    
    /* Footer */
    .post-listing-footer {
        padding: 25px 30px 30px;
        border-top: 1px solid #e9ecef;
        text-align: center;
    }
    
    .post-listing-primary-btn {
        width: 100%;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 100%);
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 16px 30px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .post-listing-primary-btn:hover {
        background: linear-gradient(135deg, #2e4372 0%, #1a2a44 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(26, 42, 68, 0.3);
    }
    
    .login-prompt {
        font-size: 14px;
        color: #666;
        margin-bottom: 15px;
    }
    
    .login-prompt a {
        color: #1a2a44;
        font-weight: 600;
        text-decoration: none;
    }
    
    .login-prompt a:hover {
        text-decoration: underline;
    }
    
    /* ===== VENTURES FORM STYLING ===== */
    .form-header {
        margin-bottom: 18px; /* Reduced from 25px */
        padding-bottom: 14px; /* Reduced from 20px */
        border-bottom: 2px solid #e9ecef;
    }
    
    .form-title-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 10px;
    }
    
    .form-page-number {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #ffffff;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
        white-space: nowrap;
    }
    
    .back-to-categories-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 10px;
        padding: 12px 20px; /* Increased padding */
        color: #ffffff;
        font-size: 15px; /* Increased from 14px */
        font-weight: 600; /* Increased from 500 */
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-flex;
        align-items: center;
        gap: 10px; /* Increased gap */
        margin-bottom: 20px;
        box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
    }
    
    .back-to-categories-btn:hover {
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
        transform: translateX(-4px) translateY(-2px);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.35);
    }
    
    .back-to-categories-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }
    
    .back-to-categories-btn:hover i {
        transform: translateX(-3px);
    }
    
    .form-title {
        font-size: 26px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 10px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .form-subtitle {
        font-size: 14px; /* Reduced from 16px */
        color: #6c757d;
        margin: 8px 0 0 0; /* Reduced top margin */
        font-weight: 500;
        line-height: 1.4;
    }
    
    .ventures-listing-form,
    .housing-listing-form {
        max-width: 100%;
    }
    
    .form-step {
        display: none;
        animation: fadeIn 0.3s ease;
    }
    
    .form-step.active {
        display: block;
    }
    
    .step-title {
        font-size: 22px; /* Optimized size */
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 20px; /* Reduced from 30px */
        padding-bottom: 12px; /* Reduced from 18px */
        border-bottom: 3px solid #667eea;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .step-title i {
        color: #667eea;
        font-size: 24px;
    }
    
    .form-group {
        margin-bottom: 18px; /* Reduced from 24px for compact layout */
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px; /* Reduced from 20px */
        margin-bottom: 18px; /* Reduced from 24px */
    }
    
    /* ===== PROFESSIONAL COMPACT FORM LAYOUT ===== */
    /* Form Sections - Clean & Organized */
    .form-section {
        margin-bottom: 20px;
        padding-bottom: 18px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .form-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Professional Section Titles - Compact */
    .section-title {
        font-size: 16px;
        font-weight: 700;
        color: #2c3e50;
        margin: 0 0 14px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e9ecef;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .section-title i {
        color: #667eea;
        font-size: 16px;
    }
    
    /* Professional Grid Layout - Efficient Space Usage */
    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    /* Compact Form Groups */
    .form-grid .form-group {
        margin-bottom: 12px;
    }
    
    /* Professional Labels - Clean & Readable */
    .form-grid .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #495057;
        margin-bottom: 6px;
    }
    
    /* Compact Form Controls */
    .form-grid .form-control {
        padding: 10px 14px;
        font-size: 14px;
        border: 1.5px solid #dee2e6;
        border-radius: 6px;
        min-height: 42px;
    }
    
    /* ===== MOBILE RESPONSIVE STYLES ===== */
    @media (max-width: 768px) {
        .post-listing-modal-content {
            max-width: 98%;
            width: 98%;
            max-height: 98vh;
            border-radius: 16px;
        }
        
        .post-listing-header {
            padding: 25px 20px 18px;
        }
        
        .post-listing-header h2 {
            font-size: 24px;
        }
        
        .post-listing-header p {
            font-size: 14px;
        }
        
        .post-listing-body {
            padding: 20px 20px;
        }
        
        .categories-title {
            font-size: 20px;
            margin-bottom: 20px;
        }
        
        .listing-options {
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Optimized for mobile */
            gap: 14px; /* Optimized gap */
            /* Removed max-height to prevent double scrolling */
            padding: 5px;
        }
        
        .listing-option-card {
            padding: 20px 12px;
            min-height: 130px;
        }
        
        .option-icon {
            width: 34px; /* Optimized for tablet */
            height: 34px;
            font-size: 16px; /* Better readability */
            margin-bottom: 12px; /* Better spacing */
        }
        
        .listing-option-card h3 {
            font-size: 15px;
        }
        
        .listing-option-card p {
            font-size: 12px;
        }
        
        .form-row {
            grid-template-columns: 1fr; /* Single column on mobile */
            gap: 0; /* Remove gap on mobile */
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-control {
            padding: 14px 16px;
            font-size: 16px; /* Prevent zoom on iOS */
            min-height: 48px;
        }
        
        .step-title {
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 12px;
        }
        
        .form-navigation {
            flex-direction: column;
            gap: 12px;
        }
        
        .btn-prev,
        .btn-next,
        .btn-submit {
            width: 100%;
            justify-content: center;
            padding: 14px 24px;
            font-size: 16px;
        }
        
        .post-listing-close-btn {
            width: 36px;
            height: 36px;
            top: 15px;
            right: 15px;
        }
        
        .post-listing-close-btn i {
            font-size: 16px;
        }
    }
    
    @media (max-width: 576px) {
        .post-listing-modal-content {
            max-width: 100%;
            width: 100%;
            max-height: 100vh;
            border-radius: 0;
        }
        
        .listing-options {
            grid-template-columns: repeat(2, 1fr); /* 2 columns on small mobile */
            gap: 12px;
        }
        
        .listing-option-card {
            padding: 18px 10px;
            min-height: 120px;
        }
        
        .option-icon {
            width: 32px; /* Optimized for mobile */
            height: 32px;
            font-size: 15px; /* Better readability */
            margin-bottom: 10px; /* Better spacing */
        }
        
        .listing-option-card h3 {
            font-size: 14px;
        }
        
        .listing-option-card p {
            font-size: 11px;
        }
    }
    
    .form-group label {
        display: block;
        font-size: 16px; /* Increased from 15px */
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px; /* Increased from 10px */
        line-height: 1.5;
    }
    
    .form-group label.required::after {
        content: ' *';
        color: #dc3545;
    }
    
    .form-control {
        width: 100%;
        padding: 16px 20px; /* Increased padding */
        font-size: 16px; /* Increased from 15px */
        border: 2px solid #e9ecef;
        border-radius: 12px; /* Increased from 10px */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: #ffffff;
        color: #2c3e50;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
        min-height: 48px; /* Better touch target */
    }
    
    .form-control:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.2);
        background: #ffffff;
    }
    
    .form-control.error {
        border-color: #dc3545;
    }
    
    .form-control::placeholder {
        color: #adb5bd;
    }
    
    textarea.form-control {
        resize: vertical;
        min-height: 100px; /* Reduced from 120px */
    }
    
    select.form-control {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a2a44' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
    }
    
    .btn-get-location {
        background: linear-gradient(135deg, #0a84ff 0%, #0051d5 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }
    
    .btn-get-location:hover {
        background: linear-gradient(135deg, #0051d5 0%, #0a84ff 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
    }
    
    /* Area Unit Toggle Switch Styles */
    .area-unit-toggle-container {
        margin: 15px 0;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
        border: 1px solid #dee2e6;
    }
    
    .area-unit-toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.9rem;
    }
    
    .switch {
        position: relative;
        display: inline-block;
        width: 50px;
        height: 24px;
    }
    
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider-toggle {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 24px;
    }
    
    .switch input:checked + .slider-toggle {
        background-color: #0056b3;
    }
    
    .switch input:focus + .slider-toggle {
        box-shadow: 0 0 1px #0056b3;
    }
    
    .switch input:checked + .slider-toggle:before {
        transform: translateX(26px);
    }
    
    .slider-toggle:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }
    
    .area-unit-label {
        font-weight: 500;
        color: #495057;
    }
    
    .form-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 2px solid #e9ecef;
    }
    
    .btn-prev,
    .btn-next,
    .btn-submit {
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    
    .btn-prev:hover,
    .btn-next:hover,
    .btn-submit:hover {
        background: linear-gradient(135deg, #2e4372 0%, #1a2a44 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 42, 68, 0.3);
    }
    
    .btn-submit {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    }
    
    .btn-submit:hover {
        background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    }
    
    /* ===== SIGN IN REQUIRED MODAL STYLING ===== */
    .sign-in-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 11000;
        animation: fadeIn 0.3s ease;
    }
    
    .sign-in-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sign-in-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
    }
    
    .sign-in-modal-content {
        position: relative;
        background: #ffffff;
        border-radius: 20px;
        max-width: 450px;
        width: 90%;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        animation: slideUp 0.4s ease;
        z-index: 11001;
        overflow: hidden;
    }
    
    .sign-in-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #f5f5f5;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 11002;
    }
    
    .sign-in-close-btn:hover {
        background: #e0e0e0;
        transform: rotate(90deg);
    }
    
    .sign-in-close-btn i {
        color: #666;
        font-size: 18px;
    }
    
    .sign-in-modal-header {
        text-align: center;
        padding: 40px 30px 30px;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 100%);
        color: #fff;
    }
    
    .sign-in-logo-container {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        padding: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .sign-in-logo-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .sign-in-modal-header h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 8px;
        color: #fff;
    }
    
    .sign-in-modal-header p {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
    }
    
    .sign-in-modal-body {
        padding: 30px;
    }
    
    .sign-in-message {
        background: #f8f9fa;
        border-left: 4px solid #2e4372;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 25px;
        font-size: 15px;
        color: #444;
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sign-in-message i {
        color: #2e4372;
        font-size: 20px;
        margin-top: 2px;
    }
    
    .sign-in-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .sign-in-primary-btn,
    .sign-in-secondary-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 24px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .sign-in-primary-btn {
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 100%);
        color: #fff;
    }
    
    .sign-in-primary-btn:hover {
        background: linear-gradient(135deg, #2e4372 0%, #1a2a44 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(26, 42, 68, 0.3);
    }
    
    .sign-in-secondary-btn {
        background: #f8f9fa;
        color: #1a2a44;
        border: 2px solid #e9ecef;
    }
    
    .sign-in-secondary-btn:hover {
        background: #e9ecef;
        border-color: #1a2a44;
        transform: translateY(-2px);
    }
    
    /* ===== PREMIUM LOGIN MODAL FOR PROPERTY DETAILS ===== */
    .premium-login-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 12000;
        animation: fadeIn 0.3s ease;
    }
    
    .premium-login-modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .premium-login-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .premium-login-content {
        position: relative;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border-radius: 20px;
        max-width: 400px;
        width: 90%;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(26, 42, 68, 0.3);
        animation: slideUpScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: 12001;
        overflow: hidden;
        border: 2px solid rgba(212, 175, 55, 0.3);
    }
    
    @keyframes slideUpScale {
        from {
            transform: translateY(50px) scale(0.9);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
    
    .premium-login-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid #e9ecef;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 12002;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .premium-login-close-btn:hover {
        background: #fff;
        border-color: #2e4372;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 4px 12px rgba(46, 67, 114, 0.3);
    }
    
    .premium-login-close-btn i {
        color: #2e4372;
        font-size: 16px;
    }
    
    .premium-login-header {
        text-align: center;
        padding: 30px 30px 20px;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 50%, #1a2a44 100%);
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    
    .premium-login-header::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
        animation: rotateGlow 8s linear infinite;
    }
    
    @keyframes rotateGlow {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .premium-login-icon {
        width: 70px;
        height: 70px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 18px;
        border: 3px solid rgba(212, 175, 55, 0.5);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.2);
        position: relative;
        z-index: 1;
        animation: iconPulse 2s ease-in-out infinite;
    }
    
    @keyframes iconPulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 2px 8px rgba(255, 255, 255, 0.2);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(255, 255, 255, 0.3);
        }
    }
    
    .premium-login-icon i {
        font-size: 32px;
        color: #d4af37;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .premium-login-header h2 {
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 8px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 1;
        line-height: 1.3;
    }
    
    .premium-login-header p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
        line-height: 1.4;
        position: relative;
        z-index: 1;
    }
    
    .premium-login-body {
        padding: 25px 30px 30px;
        background: #ffffff;
    }
    
    .premium-login-features {
        margin-bottom: 22px;
    }
    
    .premium-feature-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        font-size: 14px;
        color: #2c3e50;
        transition: all 0.2s ease;
    }
    
    .premium-feature-item:hover {
        transform: translateX(5px);
        color: #1a2a44;
    }
    
    .premium-feature-item i {
        color: #28a745;
        font-size: 16px;
        min-width: 20px;
        animation: checkBounce 0.6s ease;
    }
    
    @keyframes checkBounce {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.2); }
    }
    
    .premium-login-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .premium-login-primary-btn,
    .premium-login-secondary-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 13px 24px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        border: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }
    
    .premium-login-primary-btn {
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 50%, #1a2a44 100%);
        background-size: 200% 200%;
        color: #fff;
        box-shadow: 0 6px 20px rgba(26, 42, 68, 0.4);
        animation: gradientShift 3s ease infinite;
    }
    
    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }
    
    .premium-login-primary-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }
    
    .premium-login-primary-btn:hover::before {
        left: 100%;
    }
    
    .premium-login-primary-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 30px rgba(26, 42, 68, 0.5);
    }
    
    .premium-login-primary-btn:active {
        transform: translateY(-1px) scale(1);
    }
    
    .premium-login-primary-btn i {
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    
    .premium-login-primary-btn:hover i {
        transform: translateX(3px);
    }
    
    .premium-login-secondary-btn {
        background: #f8f9fa;
        color: #1a2a44;
        border: 2px solid #e9ecef;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .premium-login-secondary-btn:hover {
        background: #fff;
        border-color: #2e4372;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(46, 67, 114, 0.2);
        color: #2e4372;
    }
    
    .premium-login-secondary-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }
    
    .premium-login-secondary-btn:hover i {
        transform: scale(1.1);
    }
    
    /* Mobile Responsive for Premium Login Modal */
    @media (max-width: 768px) {
        .premium-login-content {
            max-width: 90%;
            width: 90%;
            border-radius: 18px;
        }
        
        .premium-login-header {
            padding: 25px 25px 18px;
        }
        
        .premium-login-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 15px;
        }
        
        .premium-login-icon i {
            font-size: 28px;
        }
        
        .premium-login-header h2 {
            font-size: 20px;
            margin-bottom: 6px;
        }
        
        .premium-login-header p {
            font-size: 13px;
        }
        
        .premium-login-body {
            padding: 22px 25px 28px;
        }
        
        .premium-login-features {
            margin-bottom: 20px;
        }
        
        .premium-feature-item {
            font-size: 13px;
            padding: 8px 0;
            gap: 10px;
        }
        
        .premium-feature-item i {
            font-size: 14px;
            min-width: 18px;
        }
        
        .premium-login-buttons {
            gap: 8px;
        }
        
        .premium-login-primary-btn,
        .premium-login-secondary-btn {
            padding: 12px 20px;
            font-size: 14px;
            min-height: 46px;
            gap: 8px;
        }
        
        .premium-login-primary-btn i,
        .premium-login-secondary-btn i {
            font-size: 16px;
        }
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .post-listing-btn {
            bottom: 20px !important;
            right: 20px !important;
            padding: 18px 28px;
            font-size: 14px;
            letter-spacing: 0.6px;
            z-index: 999999 !important; /* Ensure visibility on mobile too */
            border-radius: 50px;
            position: fixed !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
        }
        
        .post-listing-btn span {
            display: inline; /* Keep text visible on mobile for clarity */
            font-size: 12px;
        }
        
        .post-listing-btn i {
            font-size: 20px;
        }
    }
    
    @media (max-width: 480px) {
        /* CRITICAL FOR SMALL MOBILE: Extra small screens */
        .post-listing-btn {
            bottom: 15px !important;
            right: 15px !important;
            padding: 16px 24px;
            font-size: 13px;
            gap: 10px;
            position: fixed !important;
            z-index: 999999 !important;
            visibility: visible !important;
            opacity: 1 !important;
            display: flex !important;
            min-height: 44px !important; /* Touch-friendly */
        }
        
        .post-listing-btn span {
            font-size: 11px;
        }
        
        .post-listing-btn i {
            font-size: 18px;
        }
        
        /* Small mobile - ensure all text is readable */
        body {
            font-size: 14px !important;
        }
        
        h1 { font-size: 28px !important; }
        h2 { font-size: 24px !important; }
        h3 { font-size: 20px !important; }
        h4 { font-size: 18px !important; }
        
        /* Small mobile - cards */
        .card {
            margin: 8px 0 !important;
            padding: 12px !important;
        }
        
        /* Small mobile - forms */
        input, textarea, select {
            font-size: 16px !important; /* Prevents zoom on iOS */
            padding: 10px 14px !important;
        }
        }
        
    @media (max-width: 768px) {
        .post-listing-modal-content {
            width: 95%;
            max-height: 95vh;
        }
        
        .post-listing-header {
            padding: 30px 20px 20px;
        }
        
        .post-listing-header h2 {
            font-size: 24px;
        }
        
        .listing-options {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            max-height: 350px;
        }
        
        .listing-option-card {
            padding: 15px 10px;
        }
        
        .option-icon {
            width: 45px;
            height: 45px;
            font-size: 20px;
        }
        
        .listing-option-card h3 {
            font-size: 14px;
        }
        
        .listing-option-card p {
            font-size: 10px;
        }
        
        .post-listing-body {
            padding: 20px;
        }
        
        /* Form responsive */
        .form-row {
            grid-template-columns: 1fr;
        }
        
        .form-title {
            font-size: 20px;
        }
        
        .form-subtitle {
            font-size: 14px;
        }
        
        .step-title {
            font-size: 18px;
        }
        
        .form-navigation {
            flex-direction: column;
            gap: 12px;
        }
        
        .btn-prev,
        .btn-next,
        .btn-submit {
            width: 100%;
            justify-content: center;
        }
        
        /* Sign in modal responsive */
        .sign-in-modal-content {
            max-width: 95%;
            width: 95%;
        }
        
        .sign-in-modal-header {
            padding: 30px 20px 20px;
        }
        
        .sign-in-logo-container {
            width: 70px;
            height: 70px;
            margin-bottom: 15px;
        }
        
        .sign-in-modal-header h2 {
            font-size: 20px;
        }
        
        .sign-in-modal-header p {
            font-size: 14px;
        }
        
        .sign-in-modal-body {
            padding: 20px;
        }
        
        .sign-in-message {
            font-size: 14px;
            padding: 12px;
        }
        
        .sign-in-primary-btn,
        .sign-in-secondary-btn {
            padding: 12px 20px;
            font-size: 15px;
        }
    }

    /* Card Section Styling */
    .card-container {
        position: relative;
        text-align: center;
    }

    .card-section-banner {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 300px; /* Ensure banner has minimum height */
        overflow: hidden;
        z-index: -1;
        opacity: 0.7; /* Increased opacity for better visibility */
        pointer-events: none; /* CRITICAL: Make banner non-clickable */
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.1) 0%, rgba(52, 73, 94, 0.15) 50%, rgba(44, 62, 80, 0.1) 100%); /* Default gradient background */
    }

    .card-section-banner .banner-inner {
        display: flex;
        gap: 0 !important;
        animation: scrollBanner 12s linear infinite;
        white-space: nowrap;
        pointer-events: none; /* CRITICAL: Make banner inner non-clickable */
    }
    
    /* Default banner with scrolling gradient slides */
    .card-section-banner .banner-inner.default-banner {
        animation: scrollBanner 15s linear infinite !important;
        display: flex !important;
        gap: 0 !important;
        white-space: nowrap !important;
    }
    
    .default-banner-content {
        display: flex;
        gap: 0;
        height: 100%;
        min-height: 300px;
    }
    
    .banner-slide {
        min-width: 400px;
        width: 400px;
        height: 100%;
        min-height: 300px;
        flex-shrink: 0;
        opacity: 0.7;
    }
    
    /* Banner images in default banner */
    .default-banner-content .banner-img {
        min-width: 400px;
        width: 400px;
        height: 100%;
        min-height: 300px;
        flex-shrink: 0;
        object-fit: cover;
        opacity: 0.7;
        display: block;
    }
    
    /* Stop animation when empty (old class kept for compatibility) */
    .card-section-banner .banner-inner.empty-banner {
        animation: none !important;
        justify-content: center;
        align-items: center;
        min-height: 300px; /* Ensure empty banner has height */
    }
    
    /* Empty banner message styling */
    .empty-banner-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: rgba(255, 255, 255, 0.6);
        text-align: center;
        padding: 2rem;
        pointer-events: none;
    }
    
    .empty-banner-message i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }
    
    .empty-banner-message p {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .empty-banner-message small {
        font-size: 0.9rem;
        opacity: 0.6;
        color: rgba(255, 255, 255, 0.6);
    }
    
    /* CRITICAL: Make all banner images non-clickable - cards only clickable */
    .banner-img {
        pointer-events: none !important;
        cursor: default !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        min-width: 500px !important;
        width: auto !important;
        height: 100% !important;
        min-height: 300px !important; /* Ensure images have minimum height */
        object-fit: cover !important;
        opacity: 0.8 !important; /* Increased opacity for better visibility */
        filter: brightness(1.1) contrast(1.05) !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        border: none !important;
    }

    /* Beautiful custom markers - NO IMAGE FILES (no broken images) */
    .beautiful-marker {
        background: transparent !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        z-index: 2000 !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer !important;
        pointer-events: auto !important; /* Ensure markers are always interactive */
    }

    .beautiful-marker:hover {
        transform: scale(1.1);
        z-index: 3000 !important;
    }
    
    /* Custom popup styling for hover - keep popup open when hovering */
    /* DESKTOP POPUP - PHOTO + NAME + VIEW DETAILS BUTTON - CORRECT PHOTO NO WHITE SPACE */
    .custom-popup {
        pointer-events: auto !important;
        cursor: default !important;
    }
    
    .custom-popup .leaflet-popup-content-wrapper {
        max-width: 280px !important; /* DESKTOP: Photo + name + button */
        padding: 12px !important;
    }
    
    .custom-popup .leaflet-popup-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .custom-popup .leaflet-popup-content img {
        width: 100% !important;
        height: 160px !important; /* CORRECT PHOTO - NO WHITE SPACE */
        object-fit: cover !important;
        display: block !important;
    }
    
    .custom-popup:hover {
        pointer-events: auto !important;
    }
    
    /* Ensure popup stays visible when hovering over it - make it interactive */
    .leaflet-popup-content-wrapper {
        pointer-events: auto !important;
        cursor: default !important;
    }
    
    .leaflet-popup-content-wrapper:hover {
        pointer-events: auto !important;
    }
    
    /* Make popup content interactive */
    .leaflet-popup-content {
        pointer-events: auto !important;
    }
    
    .leaflet-popup-tip {
        pointer-events: none !important;
    }
    
    /* MOBILE POPUP - NO ARROWS - ONLY PHOTO */
    .custom-popup-mobile .leaflet-popup-tip {
        display: none !important; /* NO ARROWS ON MOBILE */
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* WORLD-CLASS MARKER ANIMATIONS - BEST STYLE - USER INTEREST CREATING */
    @keyframes markerGlow {
        0%, 100% {
            opacity: 0.5;
            transform: scale(1);
        }
        50% {
            opacity: 0.9;
            transform: scale(1.15);
        }
    }
    
    @keyframes markerIconPulse {
        0%, 100% {
            transform: scale(1) rotate(0deg);
            filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6)) drop-shadow(0 0 6px rgba(255,255,255,0.4));
        }
        25% {
            transform: scale(1.08) rotate(-2deg);
            filter: drop-shadow(0 5px 14px rgba(0,0,0,0.7)) drop-shadow(0 0 8px rgba(255,255,255,0.5));
        }
        50% {
            transform: scale(1.15) rotate(0deg);
            filter: drop-shadow(0 6px 16px rgba(0,0,0,0.8)) drop-shadow(0 0 10px rgba(255,255,255,0.6));
        }
        75% {
            transform: scale(1.08) rotate(2deg);
            filter: drop-shadow(0 5px 14px rgba(0,0,0,0.7)) drop-shadow(0 0 8px rgba(255,255,255,0.5));
        }
    }
    
    @keyframes markerInterestGlow {
        0%, 100% {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 40px currentColor, inset 0 4px 12px rgba(255, 255, 255, 0.5);
        }
        50% {
            box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 50px currentColor, inset 0 4px 12px rgba(255, 255, 255, 0.6);
        }
    }

    /* Beautiful Current Location Marker Animations */
    @keyframes currentLocationPulse {
        0%, 100% {
            opacity: 0.4;
            transform: scale(1);
        }
        50% {
            opacity: 0.7;
            transform: scale(1.15);
        }
    }

    @keyframes currentLocationGlow {
        0%, 100% {
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 
                        0 0 32px rgba(10, 132, 255, 0.6),
                        inset 0 3px 12px rgba(255, 255, 255, 0.4),
                        inset 0 -3px 12px rgba(0, 0, 0, 0.2);
        }
        50% {
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 
                        0 0 48px rgba(10, 132, 255, 0.8),
                        inset 0 3px 12px rgba(255, 255, 255, 0.5),
                        inset 0 -3px 12px rgba(0, 0, 0, 0.2);
        }
    }

    .beautiful-current-location-marker {
        background: transparent !important;
        border: none !important;
    }

    /* Ensure current location marker is ALWAYS visible - works BEFORE and AFTER login */
    .beautiful-current-location-marker,
    .beautiful-current-location-marker * {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Ensure all markers are visible - NO HIDING AT ANY ZOOM LEVEL (INCLUDING ZOOM OUT) */
    .leaflet-marker-icon,
    .leaflet-div-icon {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Touch-friendly interactions - ensure map works perfectly on mobile */
    body {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        /* Allow text selection for copying - user-select: text for content */
        -webkit-user-select: text;
        user-select: text;
        /* Ensure page is scrollable */
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    /* Ensure html is scrollable */
    html {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }
    
    /* Allow text selection for all text content on homepage */
    p, h1, h2, h3, h4, h5, h6, span, div, li, td, th, label, .text-center, .card-title, .card-button, 
    .container, .card-container, .map-section, .high-demand-projects, .newly-launched-projects,
    .card-details, .project-card, .scrollable-cards, .banner, .banner-inner {
        -webkit-user-select: text !important;
        user-select: text !important;
        -webkit-touch-callout: default;
    }
    
    /* Keep buttons and interactive elements non-selectable */
    button, .btn, a, input, select, textarea, .post-listing-btn, .map-current-location-btn,
    .category-dropdown-btn, .distance-dropdown-btn, .map-go-btn, .arrow {
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    /* Ensure Post Your Listing button is always visible and on top */
    .post-listing-btn {
        position: fixed !important;
        z-index: 999999 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        pointer-events: auto !important;
    }
    
    /* Map markers should not be selectable */
    .leaflet-marker-icon, .leaflet-div-icon, .beautiful-marker, .beautiful-current-location-marker,
    .marker-cluster, .marker-cluster-no-count {
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    .leaflet-marker-icon,
    .leaflet-div-icon {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        pointer-events: auto !important;
    }
    
    /* Ensure map container is touch-friendly */
    .map-container {
        width: 100%;
        position: relative;
    }

    /* Map Filters Container - Right Top Corner (One Beautiful Horizontal Line) */
    .map-filters-container {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1000;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 8px 12px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border: 1.5px solid #d4af37;
    }

    /* Mobile current location coordinates pill (default hidden on desktop) */
    .mobile-current-location-coords {
        display: none;
    }

    /* Categories Dropdown */
    .map-category-dropdown {
        position: relative;
    }

    .category-dropdown-btn {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border: 1.5px solid #d4af37;
        border-radius: 8px;
        padding: 0.65rem 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c3e50;
        min-width: 150px;
        white-space: nowrap;
        height: 42px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        user-select: none;
        -webkit-user-select: none;
        position: relative;
        z-index: 1000;
    }

    .category-dropdown-btn:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        border-color: #2e4372;
        box-shadow: 0 4px 15px rgba(46, 67, 114, 0.3);
        transform: translateY(-2px);
    }

    .category-dropdown-btn i:first-child {
        color: #d4af37;
        font-size: 1.1rem;
    }

    .category-dropdown-btn i:last-child {
        color: #888;
        font-size: 0.7rem;
        margin-left: auto;
    }

    .category-menu {
        min-width: 200px;
        max-height: 400px;
        overflow-y: auto;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        border: 1.5px solid #d4af37;
        border-radius: 8px;
        margin-top: 0.5rem;
        background: #fff;
        z-index: 1050 !important;
        position: absolute !important;
        touch-action: manipulation;
        -webkit-overflow-scrolling: touch;
    }

    .category-option {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        color: #2c3e50;
        transition: all 0.2s ease;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        user-select: none;
        -webkit-user-select: none;
    }

    .category-option:last-child {
        border-bottom: none;
    }

    .category-option:hover {
        background: linear-gradient(90deg, #e6f0fa 0%, #f0f7ff 100%);
        color: #2e4372;
        padding-left: 1.5rem;
    }

    .category-option.active {
        background: linear-gradient(90deg, #d4af37 0%, #f0c14b 100%);
        color: #1a2a44;
        font-weight: 700;
    }

    /* Distance Dropdown */
    .map-distance-dropdown {
        position: relative;
    }

    .distance-dropdown-btn {
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        border: 1.5px solid #d4af37;
        border-radius: 8px;
        padding: 0.65rem 1.1rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
        font-size: 0.9rem;
        font-weight: 600;
        color: #2c3e50;
        min-width: 110px;
        white-space: nowrap;
        height: 42px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        user-select: none;
        -webkit-user-select: none;
        position: relative;
        z-index: 1000;
    }

    .distance-dropdown-btn:hover {
        background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        border-color: #2e4372;
        box-shadow: 0 4px 15px rgba(46, 67, 114, 0.3);
        transform: translateY(-2px);
    }

    .distance-dropdown-btn i:first-child {
        color: #d4af37;
        font-size: 1.1rem;
    }

    .distance-dropdown-btn i:last-child {
        color: #888;
        font-size: 0.7rem;
        margin-left: auto;
    }

    .distance-menu {
        min-width: 180px;
        max-height: 400px;
        overflow-y: auto;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        border: 1.5px solid #d4af37;
        border-radius: 10px;
        margin-top: 0.5rem;
        background: #fff;
        z-index: 1050 !important;
        position: absolute !important;
        touch-action: manipulation;
        -webkit-overflow-scrolling: touch;
        /* Smooth animations for better user experience */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }
    
    .distance-menu.show {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0);
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .category-menu.show {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .distance-option {
        padding: 0.9rem 1.4rem;
        font-size: 0.95rem;
        color: #2c3e50;
        transition: all 0.25s ease;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        user-select: none;
        -webkit-user-select: none;
        min-height: 48px;
        display: flex;
        align-items: center;
        position: relative;
    }

    .distance-option:last-child {
        border-bottom: none;
    }

    .distance-option:hover {
        background: linear-gradient(90deg, #e6f0fa 0%, #f0f7ff 100%);
        color: #2e4372;
        padding-left: 1.8rem;
        transform: translateX(3px);
    }
    
    .distance-option:active {
        background: linear-gradient(90deg, #d4af37 0%, #f0c14b 100%);
        color: #1a2a44;
        transform: scale(0.98);
    }

    .distance-option.active {
        background: linear-gradient(90deg, #d4af37 0%, #f0c14b 100%);
        color: #1a2a44;
        font-weight: 700;
        padding-left: 1.8rem;
        position: relative;
    }
    
    .distance-option.active::before {
        content: '✓';
        position: absolute;
        left: 0.8rem;
        font-weight: bold;
        font-size: 1rem;
    }
    
    /* Mobile-specific improvements */
    @media (max-width: 768px) {
        .distance-option {
            padding: 1rem 1.5rem;
            font-size: 1rem;
            min-height: 52px;
        }
        
        .distance-menu {
            min-width: 200px;
            max-height: 450px;
        }
    }

    /* Current Location Button */
    .map-current-location-btn {
        background: linear-gradient(135deg, #2e4372 0%, #1a2a44 100%);
        border: 1.5px solid #d4af37;
        border-radius: 8px;
        padding: 0.65rem 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center; /* CENTER ICON AND TEXT */
        gap: 0.6rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(46, 67, 114, 0.3);
        font-size: 0.9rem;
        font-weight: 600;
        color: #fff;
        min-width: 140px;
        white-space: nowrap;
        height: 42px;
    }

    .map-current-location-btn:hover {
        background: linear-gradient(135deg, #d4af37 0%, #f0c14b 100%);
        border-color: #2e4372;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
        transform: translateY(-2px);
        color: #1a2a44;
    }

    .map-current-location-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(46, 67, 114, 0.3);
    }

    .map-current-location-btn i {
        color: #d4af37;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .map-current-location-btn:hover i {
        color: #1a2a44;
    }


    #property-map {
        touch-action: pan-x pan-y pinch-zoom;
        /* Mobile Compatibility: Ensure map container doesn't block marker touches */
        position: relative;
        z-index: 1;
    }
    
    /* Mobile Compatibility: Ensure marker pane is above map tiles for easy tapping */
    @media (max-width: 900px) {
        .leaflet-marker-pane {
            z-index: 650 !important; /* Higher than map tiles (z-index: 400) */
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        .leaflet-popup-pane {
            z-index: 700 !important; /* Higher than markers */
            pointer-events: auto !important; /* CRITICAL FOR MOBILE: Ensure popups are clickable */
        }
        
        /* Enhanced touch handling for markers on mobile */
        .beautiful-marker {
            touch-action: manipulation !important; /* Prevent double-tap zoom on markers */
            -webkit-tap-highlight-color: transparent !important; /* Remove tap highlight */
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
    }

        .marker-cluster,
        .marker-cluster-no-count {
            touch-action: manipulation !important;
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
    }

        /* Force all marker icons visible on mobile */
        .leaflet-marker-icon,
        .leaflet-div-icon {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
        }
    }
    
    /* Popup content should be selectable for copying */
    .leaflet-popup-content {
        -webkit-user-select: text;
        user-select: text;
        touch-action: auto;
    }
    
    /* Prevent marker hiding - especially on zoom out */
    .leaflet-marker-icon[style*="display: none"],
    .leaflet-marker-icon[style*="visibility: hidden"],
    .leaflet-marker-icon[style*="opacity: 0"],
    .leaflet-marker-icon[style*="opacity: 0.0"],
    .leaflet-div-icon[style*="display: none"],
    .leaflet-div-icon[style*="visibility: hidden"],
    .leaflet-div-icon[style*="opacity: 0"],
    .leaflet-div-icon[style*="opacity: 0.0"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure marker cluster is visible at all zoom levels */
    .marker-cluster {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Force marker visibility on zoom out - prevent Leaflet from hiding markers */
    .leaflet-zoom-animated .leaflet-marker-icon,
    .leaflet-zoom-animated .leaflet-div-icon {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Override any Leaflet internal hiding */
    .leaflet-marker-pane .leaflet-marker-icon,
    .leaflet-marker-pane .leaflet-div-icon {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    /* Top-style user location marker on map (blue dot with pointer) */
    .user-location-icon {
        width: 30px;
        height: 30px;
        transform: translate(-15px, -15px);
    }
    .user-location-icon-inner {
        position: relative;
        width: 16px;
        height: 16px;
        margin: 4px auto 0;
        border-radius: 50%;
        background: #0a84ff;
        border: 3px solid #ffffff;
        box-shadow: 0 0 8px rgba(10, 132, 255, 0.7);
    }
    .user-location-icon-inner::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid #0a84ff;
    }

    /* Uber-style map location UI */
    @keyframes uberLocationPulse {
        0% { transform: scale(0.85); opacity: 0.55; }
        70% { transform: scale(1.35); opacity: 0; }
        100% { transform: scale(1.35); opacity: 0; }
    }

    .uber-current-location-marker {
        background: transparent !important;
        border: none !important;
    }

    .uber-loc-wrap {
        position: relative;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .uber-loc-pulse-ring {
        position: absolute;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(39, 110, 241, 0.28);
        animation: uberLocationPulse 2s ease-out infinite;
    }

    .uber-loc-core {
        position: relative;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #276EF1;
        border: 3px solid #ffffff;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
        z-index: 2;
    }

    .leaflet-overlay-pane path.distance-circle-path,
    .distance-circle {
        stroke: #276EF1 !important;
        fill: #276EF1 !important;
    }

    .map-location-status {
        display: none;
    }

    .map-btn-label {
        display: inline;
    }

    .banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
        pointer-events: none !important; /* CRITICAL: Banner images NOT clickable */
        cursor: default !important;
        user-select: none !important;
        -webkit-user-select: none !important;
    }

    @keyframes scrollBanner {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    .card-container .card {
        margin-bottom: 4.5px;
        text-align: center;
        border-radius: 10px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
        transform: scale(0.693);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        min-height: 0;
        position: relative;
        z-index: 10 !important; /* Above banner (z-index: -1) */
        pointer-events: auto !important; /* Cards are clickable */
        cursor: pointer;
    }

    .card-container .card[data-aos="fade-up"].aos-animate {
        transform: scale(0.693);
    }

    .card-container .card:hover {
        transform: scale(0.693);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        background-color: #f8f9fa;
    }

    /* CRITICAL: Card links - fully clickable, above banner */
    .card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        position: relative;
        z-index: 10 !important; /* Above banner (z-index: -1) */
        pointer-events: auto !important; /* Cards are clickable */
        cursor: pointer;
    }

    .card-link:hover .card {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        background-color: #f8f9fa;
    }
    
    /* CRITICAL: Ensure card itself is clickable */
    .card-link .card {
        position: relative;
        z-index: 10 !important; /* Above banner */
        pointer-events: auto !important; /* Cards are clickable */
        cursor: pointer;
    }

    .card-img-top {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .card-title {
        font-size: 16px;
        font-weight: 600;
        margin-top: 8px;
        margin-bottom: 8px;
        padding: 0 10px;
        color: #1a1a1a;
        position: relative;
        z-index: 1;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* CRITICAL: Card button - clickable, part of card link */
    .card-button {
        background-color: #007bff;
        color: white;
        pointer-events: auto !important;
        cursor: pointer;
        position: relative;
        z-index: 11 !important; /* Above card */
        font-size: 13px;
        font-weight: 500;
        padding: 7px 14px;
        border: 1px solid #007bff;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
        position: relative;
        z-index: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        margin: 8px auto;
        display: inline-block;
    }

    .card-button:hover {
        background-color: #0056b3;
        border-color: #0056b3;
        transform: translateY(-2px);
    }

    /* Map Header Section - Beautiful, Professional, User-Friendly */
    .map-header-section {
        text-align: center;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .map-section-title {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 42px;
        font-weight: 700;
        line-height: 1.2;
        color: #1a2a44;
        margin: 0 0 16px 0;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 50%, #1a2a44 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .map-section-subtitle {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.6;
        color: #5a6c7d;
        margin: 0 auto;
        max-width: 700px;
        letter-spacing: 0.2px;
    }

    /* Map Section Styling */
    .map-section {
        display: block;
        margin-bottom: 50px;
        margin-top: 20px;
    }

    .map-container {
        width: 100%;
        position: relative;
    }

    #property-map {
        width: 100%;
        height: 600px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        background-color: #f0f0f0;
        z-index: 1;
        touch-action: pan-x pan-y pinch-zoom;
    }

    #map-error {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.9);
        padding: 5px 10px;
        border-radius: 5px;
    }

    .leaflet-popup-content img {
        border-radius: 8px;
        margin-top: 5px;
        max-width: 150px;
    }

    /* Hide cluster count numbers completely */
    .marker-cluster div,
    .marker-cluster span,
    .marker-cluster-no-count div {
        display: none !important;
        visibility: hidden !important;
    }
    .marker-cluster-no-count {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Property count display in header */
    .property-count-badge {
        display: inline-flex;
        align-items: center;
        padding: 0.4rem 0.8rem;
        background: #2e4372;
        color: #fff;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        margin-left: 0.5rem;
    }

    /* High Demand and Newly Launched Projects Section */
    /* High Demand and Newly Launched Projects Header Styling */
    .projects-header-section {
        text-align: center;
        margin-bottom: 40px;
        margin-top: 30px;
        padding: 0 20px;
    }
    
    .high-demand-projects,
    .newly-launched-projects {
        margin-bottom: 50px;
    }
    
    .projects-section-title {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 48px;
        font-weight: 700;
        line-height: 1.2;
        color: #1a2a44;
        margin: 0 0 18px 0;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 50%, #1a2a44 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .projects-section-subtitle {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.7;
        color: #5a6c7d;
        margin: 0 auto;
        max-width: 800px;
        letter-spacing: 0.2px;
    }
    
    .scrollable-cards {
        position: relative;
        overflow: hidden;
        padding: 0 50px;
    }

    .banner {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 15px 0;
    }

    .banner::-webkit-scrollbar {
        display: none;
    }

    .banner-inner {
        display: flex;
        gap: 16px;
    }

    .project-card {
        width: 220px;
        flex-shrink: 0;
        border: none;
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
    }

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .project-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .card-details {
        padding: 12px;
    }

    .card-details h6 {
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 600;
        color: #1a1a1a;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .card-details p {
        font-size: 13px;
        color: #555;
        margin-bottom: 6px;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .card-details .btn {
        font-size: 13px;
        font-weight: 500;
        padding: 8px 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #007bff, #0056b3);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        z-index: 2;
    }

    .arrow:hover {
        background: linear-gradient(135deg, #0056b3, #003d82);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

    .left-arrow {
        left: 10px;
    }

    .right-arrow {
        right: 10px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }

    /* ========== MOBILE RESPONSIVE - PROJECTS SECTIONS ========== */
    @media (max-width: 768px) {
        .projects-header-section {
            margin-bottom: 30px;
            padding: 0 15px;
        }
        
        .projects-section-title {
            font-size: 36px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 14px;
            letter-spacing: -0.4px;
        }
        
        .projects-section-subtitle {
            font-size: 16px;
            line-height: 1.6;
            max-width: 100%;
        }
    }

    /* ========== MOBILE RESPONSIVE - 100% CORRECT FOR INDIA MOBILE USERS ========== */
    /* Comprehensive mobile fixes - Better than website - User-friendly for all mobile devices */
    
    /* Base mobile styles - Apply to all mobile devices */
    @media (max-width: 900px) {
        /* CRITICAL: Ensure body and html are scrollable on mobile */
        body, html {
            overflow-x: hidden !important;
            width: 100% !important;
            max-width: 100% !important;
            position: relative !important;
        }
        
        /* CRITICAL: Prevent horizontal scrolling */
        * {
            max-width: 100%;
            box-sizing: border-box;
        }
        
        /* Ensure all containers are mobile-friendly */
        .container, .card-container, .map-section, .high-demand-projects, .newly-launched-projects {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 10px !important;
            padding-right: 10px !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        
        /* Touch-friendly buttons - Minimum 44px height for easy tapping */
        button, .btn, a.btn, input[type="button"], input[type="submit"] {
            min-height: 44px !important;
            padding: 12px 20px !important;
            font-size: 16px !important;
            touch-action: manipulation !important;
            -webkit-tap-highlight-color: rgba(46, 67, 114, 0.2) !important;
            user-select: none !important;
            -webkit-user-select: none !important;
            transition: all 0.2s ease !important;
        }
        
        button:active, .btn:active, a.btn:active {
            transform: scale(0.98) !important;
            opacity: 0.9 !important;
        }
        
        /* Touch-friendly links */
        a {
            min-height: 44px !important;
            display: inline-flex !important;
            align-items: center !important;
            touch-action: manipulation !important;
            -webkit-tap-highlight-color: rgba(46, 67, 114, 0.2) !important;
        }
        
        /* Readable text on mobile */
        body {
            font-size: 16px !important;
            line-height: 1.6 !important;
            -webkit-text-size-adjust: 100% !important;
            -moz-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;
        }
        
        /* Form inputs mobile-friendly */
        input, textarea, select {
            font-size: 16px !important; /* Prevents zoom on iOS */
            min-height: 44px !important;
            padding: 12px 16px !important;
            width: 100% !important;
            box-sizing: border-box !important;
            border-radius: 8px !important;
            border: 1px solid #ddd !important;
        }
        
        /* Cards mobile-friendly */
        .card {
            width: 100% !important;
            margin: 10px 0 !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
            border-radius: 12px !important;
        }
        
        /* Dropdowns mobile-friendly */
        .dropdown-menu {
            min-width: 200px !important;
            max-width: 90vw !important;
            font-size: 16px !important;
        }
        
        .dropdown-item {
            padding: 12px 16px !important;
            min-height: 44px !important;
            font-size: 16px !important;
            touch-action: manipulation !important;
        }
        
        /* Modals mobile-friendly */
        .modal-content {
            width: 95% !important;
            max-width: 95% !important;
            margin: 20px auto !important;
            border-radius: 12px !important;
        }
        
        .modal-body {
            padding: 20px !important;
            font-size: 16px !important;
        }
        
        /* Tables mobile-friendly */
        table {
            width: 100% !important;
            font-size: 14px !important;
            display: block !important;
            overflow-x: auto !important;
        }
        
        /* Images mobile-friendly */
        img {
            max-width: 100% !important;
            height: auto !important;
        }
    }
    
    /* ========== MOBILE RESPONSIVE MAP - SAME AS WEBSITE ========== */
    /* Mobile Map Styling - Ensure all features work same as desktop */
    @media (max-width: 768px) {
        .map-header-section {
            margin-bottom: 30px;
            padding: 0 15px;
        }
        
        .map-section-title {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }
        
        .map-section-subtitle {
            font-size: 16px;
            line-height: 1.5;
            max-width: 100%;
        }
        .map-section {
            margin-bottom: 30px;
            margin-top: 15px;
            padding: 0 10px;
        }
        
        /* Smooth map container transitions on mobile */
        .map-container {
            transition: all 0.3s ease;
        }
        
        #property-map {
            transition: height 0.3s ease;
        }

        .map-container {
            width: 100%;
            position: relative;
        }

        #property-map {
            height: 600px; /* Same as website - same height */
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            touch-action: pan-x pan-y pinch-zoom;
        }

        /* Map Filters — mobile: 3-column bar (location | distance | categories) */
        .map-filters-container {
            position: absolute !important;
            top: auto !important;
            bottom: 12px !important;
            left: 10px !important;
            right: 10px !important;
            z-index: 1001 !important;
            display: grid !important;
            grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) !important;
            gap: 8px !important;
            padding: 8px !important;
            align-items: stretch !important;
            overflow: visible !important;
            background: #ffffff !important;
            border: 1.5px solid #d4af37 !important;
            border-radius: 12px !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
        }

        .map-filters-container::-webkit-scrollbar {
            display: none;
        }

        .map-distance-dropdown,
        .map-category-dropdown {
            min-width: 0 !important;
            position: relative !important;
        }

        .category-dropdown-btn,
        .map-current-location-btn,
        .distance-dropdown-btn {
            padding: 0 10px !important;
            font-size: 0.75rem !important;
            font-weight: 600 !important;
            height: 44px !important;
            touch-action: manipulation;
            border-radius: 8px !important;
            gap: 6px !important;
            box-shadow: none !important;
        }

        .map-current-location-btn {
            width: 44px !important;
            min-width: 44px !important;
            max-width: 44px !important;
            padding: 0 !important;
            justify-content: center !important;
            background: #111827 !important;
            color: #ffffff !important;
            border: 1.5px solid #111827 !important;
        }

        .distance-dropdown-btn,
        .category-dropdown-btn {
            width: 100% !important;
            min-width: 0 !important;
            background: #fffdf5 !important;
            border: 1.5px solid #d4af37 !important;
            color: #1f2937 !important;
        }

        .map-current-location-btn i {
            color: #fbbf24 !important;
            font-size: 1.05rem !important;
        }

        .distance-dropdown-btn > i:first-child,
        .category-dropdown-btn > i:first-child {
            color: #d4af37 !important;
            flex-shrink: 0;
        }

        .map-btn-label {
            display: none;
        }

        #selectedDistanceLabel,
        #selectedMapCategory {
            flex: 1;
            min-width: 0;
            max-width: none !important;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Coordinates bar - bottom overlay like Uber */
        .mobile-current-location-coords {
            position: absolute;
            bottom: 14px;
            left: 12px;
            right: 12px;
            z-index: 1000;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            width: auto;
            margin-top: 0;
            padding: 10px 12px;
            font-size: 0.78rem;
            color: #111827;
            background: rgba(255, 255, 255, 0.97);
            backdrop-filter: blur(14px);
            border-radius: 14px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
            border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .map-location-status {
            display: block;
            position: absolute;
            top: 62px;
            left: 12px;
            right: 12px;
            z-index: 999;
            padding: 8px 12px;
            border-radius: 12px;
            background: rgba(17, 24, 39, 0.88);
            color: #ffffff;
            font-size: 0.78rem;
            text-align: center;
            pointer-events: none;
        }

        .map-location-status:empty {
            display: none;
        }

        #property-map {
            height: 420px;
            border-radius: 16px;
        }

        .mobile-current-location-coords .coords-label {
            font-weight: 600;
            color: #374151;
            flex-shrink: 0;
        }

        .mobile-current-location-coords .coords-value-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 10px;
            border: 1px solid #e5e7eb;
            background: #f9fafb;
            color: #111827;
            font-size: 0.72rem;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            max-width: 72%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Uber dot — no pin transform hacks on mobile */
        .leaflet-marker-icon.beautiful-current-location-marker {
            transform: none !important;
        }

        .leaflet-marker-icon.uber-current-location-marker {
            background: transparent !important;
            border: none !important;
        }

        .map-category-dropdown, .map-distance-dropdown {
            position: relative;
            z-index: 1001;
        }

        .category-menu, .distance-menu {
            min-width: 160px;
            max-width: 90vw;
            max-height: 300px;
            position: absolute !important;
            z-index: 1050 !important;
            left: 0 !important;
            right: auto !important;
            margin-top: 0.5rem;
            touch-action: manipulation;
            -webkit-overflow-scrolling: touch;
            overflow-y: auto;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-radius: 8px;
            background: white;
        }

        .category-option, .distance-option {
            padding: 0.8rem 1rem;
            font-size: 0.85rem;
            min-height: 44px;
            display: flex;
            align-items: center;
            touch-action: manipulation;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
            cursor: pointer;
            user-select: none;
            -webkit-user-select: none;
            transition: background-color 0.15s ease;
        }

        .category-option:active, .distance-option:active {
            background: linear-gradient(90deg, #d4af37 0%, #f0c14b 100%);
            color: #1a2a44;
        }
        
        .category-option:hover, .distance-option:hover {
            background-color: #f8f9fa;
        }

        /* CRITICAL: Ensure ALL markers are visible and properly sized on mobile - SAME AS DESKTOP */
        .leaflet-marker-icon,
        .leaflet-div-icon {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
            touch-action: manipulation !important;
            -webkit-tap-highlight-color: transparent;
            z-index: 650 !important;
        }

        /* Beautiful markers - EXACTLY same size on mobile - ALL VISIBLE - SAME AS DESKTOP */
        .beautiful-marker {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
            touch-action: manipulation !important;
            -webkit-tap-highlight-color: transparent;
            z-index: 650 !important;
        }
        
        /* Marker hit area - larger on mobile for easier tapping */
        .beautiful-marker,
        .beautiful-marker * {
            cursor: pointer !important;
            -webkit-user-select: none;
            user-select: none;
        }

        /* Marker cluster icons - ensure visible on mobile - SAME AS DESKTOP */
        .marker-cluster,
        .marker-cluster-no-count {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            touch-action: manipulation !important;
            pointer-events: auto !important;
            z-index: 600 !important;
            -webkit-tap-highlight-color: transparent;
        }
        
        /* Marker cluster hit area - larger on mobile */
        .marker-cluster,
        .marker-cluster-no-count,
        .marker-cluster div {
            cursor: pointer !important;
            -webkit-user-select: none;
            user-select: none;
        }

        /* Current location marker - same on mobile - ensure correct positioning - ONLY ONE MARKER */
        .beautiful-current-location-marker {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            transform: none !important;
            position: relative !important;
            pointer-events: auto !important;
        }
        
        /* Ensure marker icon container is positioned correctly on mobile */
        .leaflet-marker-icon.beautiful-current-location-marker {
            transform: translate(-50%, -100%) !important;
            margin-left: 0 !important;
            margin-top: 0 !important;
        }
        
        /* CRITICAL: Ensure ALL property markers are visible on mobile - no hiding */
        .leaflet-marker-pane {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 650 !important;
        }
        
        .leaflet-marker-pane * {
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        /* Ensure marker shadow is visible */
        .leaflet-shadow-pane {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 640 !important;
        }
        
        /* Ensure marker shadow is also positioned correctly - MOBILE: NO WHITE LINES */
        .leaflet-marker-shadow {
            transform: translate(-50%, 0) !important;
            opacity: 0.3 !important; /* Lighter shadow on mobile */
            visibility: visible !important;
        }
        
        /* MOBILE MARKERS: Remove white lines, modern style - INTEREST CREATING */
        .beautiful-marker {
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)) !important; /* Modern shadow */
        }
        
        .beautiful-marker div {
            border: none !important; /* NO WHITE LINES ON MOBILE */
        }
        
        /* Remove any white borders or outlines from markers on mobile */
        .leaflet-marker-icon {
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }
        
        .leaflet-marker-icon::before,
        .leaflet-marker-icon::after {
            display: none !important; /* Remove any pseudo-elements */
        }
        
        /* Modern marker style - create interest */
        .beautiful-marker > div > div {
            border: none !important; /* Remove all borders */
        }
        
        /* Ensure popup pane is above markers */
        .leaflet-popup-pane {
            z-index: 700 !important;
        }

        /* Popup styling for mobile - readable and touch-friendly */
        /* MOBILE: ONLY VERY SMALL PHOTO - NO NAMES - NO ARROWS - CLICKABLE */
        .leaflet-popup-content-wrapper {
            max-width: 120px !important; /* VERY SMALL - only photo on mobile */
            padding: 4px !important;
            border-radius: 8px !important;
            pointer-events: auto !important; /* CRITICAL FOR MOBILE: Ensure popup is clickable */
            cursor: pointer !important; /* Show it's clickable */
            box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important; /* Better shadow without arrow */
        }
        
        /* REMOVE ARROWS ON MOBILE - NO POPUP TIP - FORCE REMOVE ALL */
        .leaflet-popup-tip,
        .leaflet-popup-tip-container,
        .leaflet-popup-tip-container::before,
        .leaflet-popup-tip-container::after,
        .leaflet-popup-content-wrapper::after,
        .leaflet-popup-content-wrapper::before,
        .custom-popup-mobile .leaflet-popup-tip,
        .custom-popup-mobile .leaflet-popup-tip-container {
            display: none !important; /* NO ARROWS ON MOBILE */
            width: 0 !important;
            height: 0 !important;
            opacity: 0 !important;
            visibility: hidden !important;
            content: none !important;
            border: none !important;
            background: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        
        .leaflet-popup-content {
            pointer-events: auto !important; /* CRITICAL FOR MOBILE: Ensure popup content is clickable */
            margin: 0 !important;
            padding: 0 !important;
            cursor: pointer !important; /* Show it's clickable */
        }

        .leaflet-popup-content h4 {
            display: none !important; /* NO NAMES ON MOBILE - Only photo */
        }

        .leaflet-popup-content p {
            display: none !important; /* Hide extra details */
        }

        .leaflet-popup-content img {
            max-height: 80px !important; /* MODERN SIZE PHOTO - Mobile latest style */
            min-height: 80px !important;
            height: 80px !important;
            width: 100% !important;
            object-fit: cover !important;
            cursor: pointer !important; /* Show it's clickable */
            border-radius: 12px !important; /* Modern rounded corners */
            transition: transform 0.2s ease !important; /* Smooth hover effect */
        }
        
        .leaflet-popup-content div {
            cursor: pointer !important; /* Show it's clickable */
        }
        
        /* Remove popup close button on mobile */
        .leaflet-popup-close-button {
            display: none !important; /* NO CLOSE BUTTON ON MOBILE */
        }

        .leaflet-popup-content button {
            padding: 8px 12px !important;
            font-size: 13px !important;
            min-height: 44px !important; /* Touch-friendly */
        }

        /* Zoom controls - same as website */
        .leaflet-control-zoom {
            margin: 10px !important;
        }

        .leaflet-control-zoom a {
            width: 34px !important;
            height: 34px !important;
            line-height: 34px !important;
            font-size: 18px !important;
        }

        /* Map error message - mobile friendly */
        #map-error {
            font-size: 14px !important;
            padding: 10px 15px !important;
            max-width: 90% !important;
        }

        .scrollable-cards {
            padding: 0 40px;
        }

        .project-card {
            width: 180px;
        }

        .project-card img {
            height: 120px;
        }

        .card-details h6 {
            font-size: 14px;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-details p {
            font-size: 12px;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-title {
            font-size: 15px;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 8px;
        }

        .card-button {
            font-size: 12px;
            padding: 6px 12px;
        }

        .arrow {
            width: 36px;
            height: 36px;
        }

        .arrow svg {
            width: 18px;
            height: 18px;
        }
        
        /* Allow text selection on mobile for all content */
        p, h1, h2, h3, h4, h5, h6, span, div, li, .card-title, .card-details, 
        .project-card, .card-details h6, .card-details p, .banner, .banner-inner,
        .container, .card-container, .map-section, .high-demand-projects, 
        .newly-launched-projects, .scrollable-cards {
            -webkit-user-select: text !important;
            user-select: text !important;
        }
    }

    @media (max-width: 480px) {
        .projects-header-section {
            margin-bottom: 25px;
            padding: 0 10px;
        }
        
        .projects-section-title {
            font-size: 28px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 12px;
            letter-spacing: -0.3px;
        }
        
        .projects-section-subtitle {
            font-size: 15px;
            line-height: 1.5;
            max-width: 100%;
        }
        
        .map-header-section {
            margin-bottom: 25px;
            padding: 0 10px;
        }
        
        .map-section-title {
            font-size: 28px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 10px;
            letter-spacing: -0.2px;
        }
        
        .map-section-subtitle {
            font-size: 15px;
            line-height: 1.5;
            max-width: 100%;
        }
        
        .map-section {
            margin-bottom: 15px;
            padding: 0 5px;
        }

        #property-map {
            height: 600px; /* Same as website - same height */
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            touch-action: pan-x pan-y pinch-zoom;
        }

        /* Smaller mobile - ensure markers still visible - SAME AS DESKTOP */
        .leaflet-marker-icon,
        .leaflet-div-icon {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
            touch-action: manipulation !important;
            z-index: 650 !important;
        }
        
        /* Beautiful markers on small mobile */
        .beautiful-marker {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
            z-index: 650 !important;
        }
        
        /* Marker clusters on small mobile */
        .marker-cluster,
        .marker-cluster-no-count {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            z-index: 600 !important;
        }
        
        /* Current location marker - ensure correct positioning on small mobile */
        .beautiful-current-location-marker {
            opacity: 1 !important;
            visibility: visible !important;
            display: block !important;
            pointer-events: auto !important;
            z-index: 700 !important;
        }
        
        /* Ensure marker icon container is positioned correctly on small mobile */
        .leaflet-marker-icon.beautiful-current-location-marker {
            transform: translate(-50%, -100%) !important;
            margin-left: 0 !important;
            margin-top: 0 !important;
        }
        
        /* Force marker pane visibility on small mobile */
        .leaflet-marker-pane {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 650 !important;
        }
        
        .leaflet-marker-pane * {
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        .leaflet-shadow-pane {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 640 !important;
        }
        .leaflet-marker-icon.beautiful-current-location-marker {
            transform: translate(-50%, -100%) !important;
            margin-left: 0 !important;
            margin-top: 0 !important;
        }

        /* Popup - smaller but still readable */
        .leaflet-popup-content-wrapper {
            max-width: 260px !important;
            padding: 6px !important;
        }

        .leaflet-popup-content {
            font-size: 13px !important;
            padding: 6px !important;
        }

        .leaflet-popup-content h4 {
            font-size: 15px !important;
            margin-bottom: 8px !important;
        }

        .leaflet-popup-content p {
            font-size: 12px !important;
            margin-bottom: 6px !important;
        }

        .leaflet-popup-content img {
            max-height: 120px !important;
        }

        .leaflet-popup-content button {
            padding: 7px 10px !important;
            font-size: 12px !important;
            min-height: 40px !important;
        }
        
        /* Allow text selection on small mobile for all content */
        p, h1, h2, h3, h4, h5, h6, span, div, li, .card-title, .card-details, 
        .project-card, .card-details h6, .card-details p, .banner, .banner-inner,
        .container, .card-container, .map-section, .high-demand-projects, 
        .newly-launched-projects, .scrollable-cards {
            -webkit-user-select: text !important;
            user-select: text !important;
        }

        /* Zoom controls - same as website */
        .leaflet-control-zoom a {
            width: 34px !important;
            height: 34px !important;
            line-height: 34px !important;
            font-size: 18px !important;
        }

        #map-error {
            font-size: 13px !important;
            padding: 8px 12px !important;
            max-width: 95% !important;
        }

        .project-card {
            width: 160px;
        }

        .project-card img {
            height: 100px;
        }

        .card-details {
            padding: 10px;
        }

        .card-details h6 {
            font-size: 13px;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-details p {
            font-size: 11px;
            line-height: 1.4;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .card-title {
            font-size: 14px;
            line-height: 1.3;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 6px;
            margin-top: 6px;
            margin-bottom: 6px;
        }

        .card-button {
            font-size: 11px;
            padding: 6px 10px;
        }

        .scrollable-cards {
            padding: 0 30px;
        }

        .arrow {
            width: 32px;
            height: 32px;
        }

        .arrow svg {
            width: 16px;
            height: 16px;
        }
    }
