/* Wrapper for relative positioning */
.image-hotspots-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Base Hotspot Style */
.image-hotspot {
    position: absolute;
}

.image-hotspot-bullet {
    width: 16px;
    height: 16px;
    background-color: #0088cc; /* Blue for Links */
    border-radius: 50%;
    display: block;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 136, 204, 0.4);
    animation: pulseBlue 2s infinite;
}

/* Style for Pakistan Hub (Green) */
.bg-success {
    background-color: #28a745 !important;
    animation: pulseGreen 2s infinite !important;
}

/* Popup Visibility */
.image-hotspot-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 15px;
    width: 220px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 99;
    transition: all 0.3s ease;
}

.image-hotspot:hover .image-hotspot-content {
    visibility: visible;
    opacity: 1;
}

/* Animations */
@keyframes pulseBlue {
    0% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 136, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 136, 204, 0); }
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}