.project-filter {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 240px;
}

.project-filter .filter-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-weight: 500;
}

/* the bullet */
.project-filter .filter-item .bullet {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    background-color: #777; /* fallback color */
}

/* per-category overrides */
.project-filter .filter-item.all-projects .bullet {
    background-color: #666;
}

.project-filter .filter-item.hospitality .bullet {
    background-color: #02ada9;
}

.project-filter .filter-item.experiences .bullet {
    background-color: #d10386;
}

.project-filter
    .filter-item.urban-communities-integrated-tourism-complex-itcs
    .bullet {
    background-color: #fb461f;
}

/* hover/focus state */
.project-filter .filter-item:hover,
.project-filter .filter-item:focus {
    opacity: 0.8;
}

.map-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.map-header {
    margin-bottom: 30px;
}

.map-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.map-container {
    height: 700px;
    position: relative;
    background: #fff;
    overflow: hidden;
}

#pMap {
    height: 100%;
}

/* Hide Leaflet attribution for cleaner look */
.leaflet-control-attribution {
    display: none;
}

.map-filters {
    display: none;
}

.filter-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-disclaimer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 11px !important;
    color: #666 !important;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 400;
}

.approximate-text {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 11px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 8px;
    z-index: 1000;
}

/* Custom marker styles */
.custom-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white !important;
    font-size: 10px !important;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.custom-marker:hover {
    transform: scale(1.15);
    z-index: 10000 !important;
}

.custom-marker.hospitality {
    background: #02ada9;
}

.custom-marker.experiences {
    background: #d00487;
}

.custom-marker.urban-communities-integrated-tourism-complex-itcs {
    background: #f7481d;
}

/* Tooltip styles */

.tooltip-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.tooltip-content {
    padding: 0;
    width: 280px;
    background: #fff;
}

.tooltip-category {
    position: absolute;
    top: 15px;
    left: 15px;
    margin-right: 10px;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    color: #fff;
}

.tooltip-category.hospitality {
    background-color: #02ada9;
}

.tooltip-category.experiences {
    background-color: #d00487;
}

.tooltip-category.urban-communities-integrated-tourism-complex-itcs {
    background-color: #f7481d;
}

.tooltip-title {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    color: #333;
    line-height: 1.3;
}

.tooltip-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.leaflet-popup-content {
    margin: 5px;
}
.leaflet-popup-content-wrapper {
    border-radius: 0;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    flex-direction: column;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #20c997;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Legend */
.map-legend {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.legend-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Leaflet customizations */
.leaflet-container {
    background: #f0f0f0;
}

.leaflet-tile-pane {
    display: none;
}

/* Style for Oman polygon */
.oman-boundary {
    fill: #dedede;
    fill-opacity: 1;
    stroke: #dedede;
    stroke-width: 1;
}

.map-wrapper {
    padding: 0;
    max-width: none;
}

.portfolio-info {
    padding: 40px;
    overflow-y: auto;
    background: #fff;
    margin: 60px 0;
}

.portfolio-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.portfolio-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.portfolio-stats {
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.stat-item i {
    margin-right: 10px;
    color: #20c997;
    font-size: 20px;
}

.map-filters-vertical {
    margin-bottom: 30px;
}

.map-filters-vertical .filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.map-note {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
}

.map-container {
    height: 100%;
    position: relative;
    margin: 0;
}
@media (max-width: 768px) {
    .portfolio-info {
        height: auto;
        padding: 30px 20px;
    }

    .map-container {
        height: 600px;
    }

    #pMap {
        height: 600px;
    }
}
