.map {
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
}

.map img {
  width: 100%;
  display: block;
}

/* Container for all pins */
.map-pins {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Map marker */
.map-location-marker {
    width: 10px;
    height: 10px;
    background-color: #ff5000;
    border-radius: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
}

/* Active pulse effect */
.map-location-marker.active {
  animation: pulse 1s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 80, 0, 0.6);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 80, 0, 0.6);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 10px 10px rgba(255, 80, 0, 0.3);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 80, 0, 0.6);
  }
}

/* Tooltip always visible */
.tooltip-box {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  display: block;
  /* always visible */
  z-index: 20;
  pointer-events: none;
  white-space: nowrap;
}

/* Arrow line from tooltip to marker */
.tooltip-box::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 22px;
  background-color: #ff5000;
  left: 50%;
  top: 96%;
  transform: translateX(-50%);
  z-index: 0;

}

/* Example marker positions */
.marker-south-africa {
  top: 78%;
  left: 54.4%;
}

.marker-united-arab-emirates {
    top: 31%;
    left: 65.2%;
}
.marker-usa {
    top: 35%;
    left: 13.2%;
}
.marker-tanzania {
    top: 64%;
    left: 56.9%;
}

.marker-iran {
    top: 33%;
    left: 62.5%;
}

.marker-canada {
  top: 24%;
  left: 18%;
}

.marker-nigeria {
    top: 45%;
    left: 45.4%;
}

.marker-uganda {
    top: 48%;
    left: 56.8%;
}

.marker-bahrain {
    top: 36%;
    left: 63.4%;
}

.marker-united-kingdom {
  top: 12%;
  left: 46%;
}

/* Marker positions */
.marker-assam {
  top: 35%;
  left: 85%;
}

.marker-bihar {
  top: 40%;
  left: 51.2%;
}

.marker-delhi {
  top: 23%;
  left: 29.2%;
}

.marker-gujarat {
    top: 40%;
    left: 16.4%;
}

.marker-jammu-kashmir {
  top: 3%;
  left: 30%;
}

.marker-karnataka {
    top: 56%;
    left: 27.9%;
}

.marker-maharastra {
    top: 44%;
    left: 22.6%;
}

.marker-odisa {
  top: 46%;
  left: 37.9%;
}

.marker-punjab {
    top: 8%;
    left: 40%;
}



.marker-tamil-nadu {
    top: 66%;
    left: 34.9%;
}

.marker-west-bengal {
  top: 22%;
  left: 59.8%;
}

.marker-uttar-pradesh {
  top: 12%;
  left: 41.8%;
}

.marker-haryana {
    top: 0%;
    left: 27.6%;
}

.marker-agra {
  top: 12%;
  left: 31.5%;
}