/* CSS Document */

 :root {
            --primary: #004d40;
            --primary-dark: #00352b;
            --primary-light: #e0f2f1;
            --primary-rgb: 0, 77, 64;
            --dark: #0f2f2a;
            --dark-rgb: 15, 47, 42;
            --secondary: #00796b;
            --secondary-dark: #00695c;
            --secondary-light: #00897b;
            --accent: #ff6f00;
            --light: #f7f9f8;
            --surface: #ffffff;
            --surface-muted: #f1f8f7;
            --surface-tint: #e0f2f1;
            --gray: #5f6f6c;
            --text: #1f2d2b;
            --border: #d7e5e2;
            --border-strong: #c4d7d3;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
            --premium: #00796b;
            --residential: #26a69a;
            --commercial: #004d40;
            --industrial: #5f6f6c;
            --emerging: #5c6bc0;
            --mixed: #f2b11f;
            --airport: #8b5a2b;
            --highway: #c62828;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text);
            background-color: var(--surface);
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 5px 0;
            position: sticky;
            top: 0;
            z-index: 9999;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo h1 {
            font-size: 1.8rem;
            margin-bottom: 0;
            color: white;
        }
        
        .logo i {
            font-size: 2rem;
            color: var(--secondary);
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        
        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 1.1rem;
            transition: var(--transition);
            padding: 5px 10px;
            border-radius: 4px;
        }
        
        nav a:hover {
            color: var(--accent);
            background-color: rgba(255, 255, 255, 0.1);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(0, 77, 64, 0.4) 0%, rgba(0, 105, 92, 0.5) 100%), url('../images/banner_bg.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 5rem 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 1.5rem;
            color: white;
            line-height: 1.2;
        }
        
        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }
        
        .cta-button {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid var(--accent);
            margin: 10px;
        }
        
        .cta-button:hover {
            background-color: transparent;
            color: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .cta-button.secondary {
            background-color: transparent;
            border: 2px solid white;
        }
        
        .cta-button.secondary:hover {
            background-color: white;
            color: var(--primary);
        }
        
        /* Stats Section */
        .stats {
            background-color: var(--light);
            padding: 3rem 0;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            text-align: center;
        }
        
        .stat-item {
            padding: 1.5rem;
            background: white;
            border-radius: 10px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .stat-item:hover {
            transform: translateY(-5px);
        }
        
        .stat-item i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--accent);
            display: block;
            line-height: 1;
        }
        
        .stat-label {
            font-size: 1.1rem;
            color: var(--gray);
            margin-top: 0.5rem;
        }
        
        /* ENHANCED Interactive Map Section */
        .map-section {
            padding: 5rem 0;
            background-color: white;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: var(--accent);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title p {
            color: var(--gray);
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .map-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .map-visual {
            flex: 2;
            min-width: 300px;
            background: linear-gradient(135deg, var(--surface-muted) 0%, var(--surface-tint) 100%);
            border-radius: 15px;
            padding: 20px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            height: 700px;
        }
        
        #googleMap {
            width: 100%;
            height: 100%;
            border-radius: 10px;
            border: 2px solid var(--border);
        }
        
        .map-legend {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.95);
            padding: 15px;
            border-radius: 10px;
            box-shadow: var(--shadow);
            z-index: 1000;
            min-width: 220px;
            backdrop-filter: blur(5px);
            max-height: 400px;
            overflow-y: auto;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            margin: 8px 0;
            font-size: 0.9rem;
        }
        
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            margin-right: 10px;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .map-controls {
            position: absolute;
            top: 20px;
            right: 20px;
            background: white;
            padding: 15px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            z-index: 1000;
            min-width: 200px;
        }
        
        .map-controls h4 {
            margin-bottom: 10px;
            color: var(--dark);
            font-size: 1rem;
            border-bottom: 1px solid var(--border);
            padding-bottom: 8px;
        }
        
        .filter-btn {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 10px 15px;
            margin: 6px 0;
            background: var(--surface);
            color: var(--light);
            border: 2px solid var(--border-strong);
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .filter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .filter-btn i {
            margin-right: 8px;
            font-size: 1.1rem;
        }
        
        .filter-btn.active {
            border-color: transparent;
            color: white;
        }
        
        #showAll { background-color: var(--dark); }
        #showResidential { background-color: var(--residential); }
        #showCommercial { background-color: var(--commercial); }
        #showPremium { background-color: var(--premium); }
        #showEmerging { background-color: var(--emerging); }
        #showIndustrial { background-color: var(--industrial); }
        #showHighway { background-color: var(--highway); }
        #showAirport { background-color: var(--airport); }
        
        .exit-info {
            flex: 1;
            min-width: 300px;
            background-color: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: var(--shadow);
            height: 700px;
            overflow-y: auto;
        }
        
        .exit-scrollable {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 12px;
            margin-bottom: 25px;
            max-height: 300px;
            overflow-y: auto;
            padding-right: 10px;
        }
        
        .exit-btn {
            background-color: var(--light);
            border: 2px solid var(--border);
            border-radius: 10px;
            padding: 12px 8px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 700;
            color: var(--dark);
            font-size: 1.1rem;
            position: relative;
            overflow: hidden;
        }
        
        .exit-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            transition: var(--transition);
        }
        
        .exit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .exit-btn.active {
            border-color: transparent;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        /* Color coding for exit buttons based on location type */
        .exit-btn[data-type="premium"]:before { background-color: var(--premium); }
        .exit-btn[data-type="residential"]:before { background-color: var(--residential); }
        .exit-btn[data-type="commercial"]:before { background-color: var(--commercial); }
        .exit-btn[data-type="industrial"]:before { background-color: var(--industrial); }
        .exit-btn[data-type="emerging"]:before { background-color: var(--emerging); }
        .exit-btn[data-type="mixed"]:before { background-color: var(--mixed); }
        .exit-btn[data-type="airport"]:before { background-color: var(--airport); }
        .exit-btn[data-type="highway"]:before { background-color: var(--highway); }
        
        .exit-btn.active[data-type="premium"] { background-color: var(--premium); }
        .exit-btn.active[data-type="residential"] { background-color: var(--residential); }
        .exit-btn.active[data-type="commercial"] { background-color: var(--commercial); }
        .exit-btn.active[data-type="industrial"] { background-color: var(--industrial); }
        .exit-btn.active[data-type="emerging"] { background-color: var(--emerging); }
        .exit-btn.active[data-type="mixed"] { background-color: var(--mixed); }
        .exit-btn.active[data-type="airport"] { background-color: var(--airport); }
        .exit-btn.active[data-type="highway"] { background-color: var(--highway); }
        
        .exit-btn:hover[data-type="premium"] { border-color: var(--premium); }
        .exit-btn:hover[data-type="residential"] { border-color: var(--residential); }
        .exit-btn:hover[data-type="commercial"] { border-color: var(--commercial); }
        .exit-btn:hover[data-type="industrial"] { border-color: var(--industrial); }
        .exit-btn:hover[data-type="emerging"] { border-color: var(--emerging); }
        .exit-btn:hover[data-type="mixed"] { border-color: var(--mixed); }
        .exit-btn:hover[data-type="airport"] { border-color: var(--airport); }
        .exit-btn:hover[data-type="highway"] { border-color: var(--highway); }
        
        .exit-subtitle {
            font-size: 0.85rem;
            color: var(--gray);
            margin-top: 4px;
            font-weight: normal;
        }
        
        .exit-details h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
        
        .location-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .location-type-tag {
            background-color: var(--surface-tint);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--dark);
        }
        
        .property-stats {
            background: linear-gradient(135deg, var(--light) 0%, var(--surface-tint) 100%);
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            border-left: 4px solid var(--primary);
        }
        
        .stat-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px dashed var(--border);
        }
        
        .stat-label {
            font-weight: 500;
            color: var(--dark);
            display: flex;
            align-items: center;
        }
        
        .stat-label i {
            margin-right: 8px;
            color: var(--gray);
        }
        
        .stat-value {
            font-weight: 700;
            color: var(--accent);
            font-size: 1.1rem;
        }
        
        .feature-tag {
            background-color: var(--surface-tint);
            padding: 10px 18px;
            border-radius: 50px;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin: 6px;
            font-weight: 500;
            color: var(--dark);
            transition: var(--transition);
        }
        
        .feature-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .feature-tag i {
            color: var(--accent);
        }
        
        .property-cta {
            background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
            color: white;
            padding: 25px;
            border-radius: 15px;
            margin: 25px 0;
            text-align: center;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); }
            100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
        }
        
        .map-cta-button {
            display: inline-block;
            background-color: var(--surface);
            color: var(--secondary);
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid var(--surface);
            margin-top: 15px;
        }
        
        .map-cta-button:hover {
            background-color: transparent;
            color: white;
            transform: translateY(-2px);
        }
        
        .map-info-panel {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(var(--dark-rgb), 0.95);
            color: white;
            padding: 15px;
            border-radius: 10px;
            max-width: 250px;
            backdrop-filter: blur(5px);
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        
        .map-info-panel h4 {
            color: var(--secondary);
            margin-bottom: 8px;
            font-size: 1rem;
        }
        
        .map-info-panel p {
            font-size: 0.85rem;
            opacity: 0.9;
            line-height: 1.4;
        }

        .info-window {
            padding: 15px;
            min-width: 280px;
            font-family: 'Roboto', sans-serif;
            color: var(--text);
        }

        .info-window-header {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }

        .info-window-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            margin-right: 10px;
            border: 2px solid white;
        }

        .info-window-title {
            margin: 0;
            color: var(--primary);
            font-size: 1.1rem;
        }

        .info-window-panel {
            background: var(--surface-muted);
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .info-window-panel p {
            margin: 5px 0;
            font-size: 0.9rem;
        }

        .info-window-cta {
            display: block;
            background: var(--secondary);
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            text-align: center;
            font-weight: 600;
            margin-top: 10px;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .info-window-cta:hover {
            background: var(--secondary-dark);
        }
        
        /* Content Sections */
        .content-section {
            padding: 5rem 0;
        }
        
        .content-section.alt {
            background-color: var(--light);
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            align-items: center;
        }
        
        .content-image {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .content-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition);
        }
        
        .content-image:hover img {
            transform: scale(1.05);
        }
        
        /* Property Insights */
        .insights-section {
            background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
            color: white;
            padding: 4rem 0;
            border-radius: 15px;
            margin: 3rem 0;
        }
        
        .insights-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .insight-card {
            background-color: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }
        
        .insight-card:hover {
            transform: translateY(-10px);
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        .insight-card i {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }
        
        .insight-card h3 {
            color: white;
            margin-bottom: 1rem;
        }
        
        /* Investment Zones */
        .zones-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .zone-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .zone-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        
        .zone-image {
            height: 200px;
            overflow: hidden;
        }
        
        .zone-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .zone-card:hover .zone-image img {
            transform: scale(1.1);
        }
        
        .zone-content {
            padding: 1.5rem;
        }
        
        .zone-content h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .zone-price {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--secondary);
            margin: 0.5rem 0;
        }
        
        .zone-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .zone-tag {
            background-color: var(--light);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* FAQ Section */
        .faq-section {
            padding: 5rem 0;
        }
        
        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .faq-item {
            margin-bottom: 1rem;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
        }
        
        .faq-question {
            padding: 1.5rem;
            background-color: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
        }
        
        .faq-question:hover {
            background-color: var(--surface-muted);
        }
        
        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            background-color: var(--surface-muted);
        }
        
        .faq-answer.open {
            padding: 1.5rem;
            max-height: 500px;
        }
        
        .faq-toggle {
            font-size: 1.2rem;
            color: var(--primary);
            transition: var(--transition);
        }
        
        .faq-question.active .faq-toggle {
            transform: rotate(45deg);
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .footer-logo h2 {
            color: white;
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }
        
        .footer-logo p {
            opacity: 0.8;
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background-color: var(--secondary);
            transform: translateY(-3px);
        }
        
        .footer-links h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-links h3:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background-color: var(--secondary);
            bottom: 0;
            left: 0;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
        
        .exit-stats {
            background: linear-gradient(135deg, var(--dark), var(--primary));
            color: white;
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
        }
        
        .exit-stats h4 {
            color: var(--accent);
            margin-bottom: 15px;
            text-align: center;
        }
        
        .stats-summary {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            text-align: center;
        }
        
        .stat-summary-item {
            padding: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
        }
        
        .stat-summary-value {
            font-size: 1.5rem;
            font-weight: 800;
            display: block;
            color: var(--accent);
        }
        
        .stat-summary-label {
            font-size: 0.8rem;
            opacity: 0.9;
        }
        
        /* Responsive Styles */
        @media (max-width: 1200px) {
            .map-legend {
                max-height: 300px;
                overflow-y: auto;
            }
        }
        
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .map-container {
                flex-direction: column;
            }
            
            .map-visual, .exit-info {
                width: 100%;
                height: 500px;
            }
            
            .map-legend {
                position: relative;
                bottom: auto;
                left: auto;
                margin-top: 15px;
                max-height: 200px;
            }
        }
        
        @media (max-width: 768px) {
            nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--dark);
                flex-direction: column;
                padding: 1rem 0;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            nav ul.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                right: 20px;
            }
            
            .hero {
                padding: 3rem 0;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .content-section, .map-section, .faq-section {
                padding: 3rem 0;
            }
            
            .stats-summary {
                grid-template-columns: 1fr;
            }

            .map-visual {
                height: auto;
                min-height: 360px;
            }

            #googleMap {
                height: 360px;
                min-height: 360px;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .cta-button {
                display: block;
                margin: 10px auto;
                width: 90%;
                max-width: 300px;
            }
            
            .exit-scrollable {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
            
            .exit-btn {
                font-size: 1rem;
                padding: 10px 5px;
            }
            
            .map-controls {
                position: relative;
                top: auto;
                right: auto;
                margin-top: 15px;
            }

            .property-stats {
                text-align: center;
            }

            .property-stats .stat-row {
                flex-direction: column;
                align-items: center;
                gap: 6px;
            }

            .property-stats .stat-label,
            .property-stats .stat-value {
                justify-content: center;
                text-align: center;
            }

            .stat-label {
                text-align: center;
                justify-content: center;
            }

            #googleMap {
                height: 320px;
                min-height: 320px;
            }
        }
        
        
        
       /* Mobile Logo Size Reduction */
		@media (max-width: 768px) {
		    .logo-img {
		        max-height: 60px !important;
		        width: auto !important;
		    }
		    
		    .header-content {
		        padding: 10px 15px !important;
		    }
		}




/* ===== MAP ENHANCEMENTS ===== */

/* 1. Collapsible Legend for Desktop & Mobile */
.map-legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 1000;
    min-width: 200px;
    max-width: 250px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow: hidden;
}

.map-legend .legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.map-legend h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-legend-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-legend-btn:hover {
    background-color: var(--surface-tint);
}

.legend-content {
    transition: max-height 0.3s ease;
}

.map-legend.collapsed .legend-content {
    max-height: 0;
    opacity: 0;
}

.map-legend:not(.collapsed) .legend-content {
    max-height: 300px;
    opacity: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 0.85rem;
    color: var(--dark);
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* 2. Enhanced Map Controls with Slider for Desktop */
.map-controls-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 15px;
    box-shadow: var(--shadow);
    z-index: 1000;
    min-width: 200px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
    max-width: 250px;
}

.map-controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.map-controls h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-filters-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: none; /* Hidden by default, shown on mobile */
}

.toggle-filters-btn:hover {
    background-color: var(--surface-tint);
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: max-height 0.3s ease;
}

.filter-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    margin: 2px 0;
    background: var(--surface);
    color: var(--dark);
    border: 2px solid var(--border-strong);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    border-color: transparent;
    color: white;
}

.filter-btn i {
    margin-right: 10px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.filter-btn .filter-text {
    flex-grow: 1;
}

/* Filter button colors */
#showAll { background-color: var(--dark); }
#showResidential { background-color: var(--residential); }
#showCommercial { background-color: var(--commercial); }
#showPremium { background-color: var(--premium); }
#showEmerging { background-color: var(--emerging); }
#showIndustrial { background-color: var(--industrial); }
#showHighway { background-color: var(--highway); }
#showAirport { background-color: var(--airport); }

#showAll.active, #showAll.active:hover { background-color: var(--dark); }
#showResidential.active, #showResidential.active:hover { background-color: var(--residential); }
#showCommercial.active, #showCommercial.active:hover { background-color: var(--commercial); }
#showPremium.active, #showPremium.active:hover { background-color: var(--premium); }
#showEmerging.active, #showEmerging.active:hover { background-color: var(--emerging); }
#showIndustrial.active, #showIndustrial.active:hover { background-color: var(--industrial); }
#showHighway.active, #showHighway.active:hover { background-color: var(--highway); }
#showAirport.active, #showAirport.active:hover { background-color: var(--airport); }

/* Map Info Panel with close button */
.map-info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(var(--dark-rgb), 0.95);
    color: white;
    padding: 15px;
    border-radius: 12px;
    max-width: 280px;
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.map-info-header h4 {
    margin: 0;
    color: var(--accent);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-info-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.3s;
    line-height: 1;
}

.close-info-btn:hover {
    color: white;
}

.map-info-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.map-info-panel.collapsed .map-info-content {
    max-height: 0;
    margin-bottom: 0;
}

.map-info-panel:not(.collapsed) .map-info-content {
    max-height: 200px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 992px) */
@media (max-width: 992px) {
    .map-legend,
    .map-controls-wrapper {
        max-width: 220px;
    }
    
    .legend-item {
        font-size: 0.82rem;
    }
    
    .filter-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. Collapsible Legend on Mobile */
    .map-legend {
        max-width: 180px;
        bottom: 70px; /* Above filters */
        left: 15px;
        padding: 12px;
    }
    
    .map-legend.collapsed {
        max-height: 45px;
    }
    
    .toggle-legend-btn {
        display: flex;
    }
    
    /* 2. Enhanced Filters with Icons Only on Mobile */
    .map-controls-wrapper {
        position: absolute;
        bottom: 15px;
        left: 15px;
        right: 15px;
        top: auto;
        max-width: none;
        padding: 12px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .map-controls-wrapper.collapsed {
        max-height: 45px;
    }
    
    .toggle-filters-btn {
        display: flex;
    }
    
    .filter-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .filter-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        margin: 0;
        flex-direction: column;
    }
    
    .filter-btn i {
        margin: 0;
        font-size: 1.1rem;
    }
    
    .filter-text {
        display: none;
    }
    
    .map-controls-wrapper:not(.collapsed) .filter-container {
        max-height: 150px;
        overflow-y: auto;
    }
    
    /* Map Info Panel on Mobile */
    .map-info-panel {
        max-width: calc(100% - 30px);
        left: 15px;
        right: 15px;
    }
    
    /* Adjust map visual height to accommodate controls */
    .map-visual {
        height: 500px;
    }
    
    #googleMap {
        height: 500px;
    }
    
    /* Logo size reduction */
    .logo-img {
        max-height: 40px !important;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .map-legend {
        max-width: 96%;
    }
    
    
    .filter-btn {
        width: 40px;
        height: 40px;
    }
    
    .filter-btn i {
        font-size: 1rem;
    }
    
    .map-visual {
        height: 450px;
        padding: 0;
    }
    
    #googleMap {
        height: 450px;
    }
    
    .exit-info {
        height: auto;
        max-height: 500px;
    }
}

/* Desktop Slider Effect for Controls */
@media (min-width: 769px) {
    .map-controls-wrapper {
        transform: translateX(calc(100% - 50px));
        transition: transform 0.3s ease;
    }
    
    .map-controls-wrapper:hover {
        transform: translateX(0);
    }
    
    .map-controls-wrapper:hover .toggle-filters-btn {
        display: none;
    }
    
    .map-controls-header {
        cursor: pointer;
    }
    
    .map-controls-header:hover .toggle-filters-btn {
        display: flex;
    }
}

/* Ensure proper stacking context */
.map-visual {
    position: relative;
    z-index: 1;
}

.map-legend,
.map-controls-wrapper,
.map-info-panel {
    z-index: 1000;
}

/* Animation for smooth transitions */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}




/* Location CTA Buttons */
.location-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding: 0 20px;
}

.location-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.location-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .location-cta {
        gap: 5px;
    }
    
    .location-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    .location-cta {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 25px;
        padding: 0 0px;
    }
        .map-legend {
        max-width: 96%;
    }
    .toggle-legend-btn{margin-bottom: 14px;}
    .toggle-filters-btn{margin-bottom: 14px;}
    .exit-btn.active .exit-subtitle{color: #fff;}
}