/* Interactive Map Container */
.interactive-map-container {
    position: relative;
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.map-container img {
    width: 100%;
    height: auto;
}

/* Map Points Styles */
.map-point {
    position: absolute;
        border-radius: 50%;
    background-color: #fcae17!important;   
    cursor: pointer;
    transform: translate(-50%, -50%);
}

/* Category-Based Styling */
.map-point.subsidiaries {
    background-color: #4caf50;
    border-color: #388e3c;
}

.map-point.partnerships {
    background-color: #2196f3;
    border-color: #1976d2;
}

.map-point.marketing {
    background-color: #ffeb3b;
    border-color: #fbc02d;
}

/* Map Legend */
.map-legend {
    margin-top: 20px;
    text-align: left;
}

.map-legend ul {
    list-style: none;
    padding: 0;
}

.map-legend li {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.map-legend li span {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    border-radius: 50%;
}

.map-legend .subsidiaries {
    background-color: none!important;
}

.map-legend .partnerships {
    background-color: none!important;
}

.map-legend .marketing {
    background-color: none!important;
}

/* Tooltip Styles */
.map-point::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.map-point:hover::after {
    opacity: 1;
    visibility: visible;
    
}

/* Ensure map points are correctly positioned on the map */
.map-point {
    position: absolute;
    width: 20px; /* Size of the map point */
    height: 20px;
    background-color: #fcae17!important; /* Default map point color */
    border-radius: 50%;
    cursor: pointer;
    z-index: 10; /* Ensure map points are clickable */
}

/* Tooltip box styling */
.tippy-box {
    z-index: 9999; /* Ensure tooltips are above other content */
}

/* Optional: Customize tooltip styles */
.tippy-box .tippy-arrow {
    display: block;
    visibility: visible;
}
