/* .iwm-map-container {
  position: relative;
  max-width: 100%;
  width: 100%;
} */
.iwm-map-container {
  width: 100%;
  max-width: 1200px; /* or set the exact image width */
  margin: 0 auto;
  padding-top:100px;	
}

.iwm-map-inner {
  position: relative;
  width: 100%;
/*   padding-top: 52.5%; aspect ratio of your image: (height/width)*100 */ 
}

.iwm-world-map {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}


/* .iwm-world-map {
  width: 100%;
  height: auto;
  display: block;
} */
/* 
.iwm-marker {
  position: absolute;
  cursor: pointer;
  text-align: center;
  z-index: 2;
  transform: translate(-50%, -50%);	
} */
.iwm-marker {
  position: absolute;
/*   transform: translate(-50%, -50%); /* instead of -10%/-10% */ */
  z-index: 10;
  pointer-events: auto;
  transition: all 0.3s ease-in-out;
}


.iwm-dot {
    width: 9px;
    height: 9px;
    background: #77C69C;
    border: 2px solid #77C69C;
	border-radius: 25px;
	cursor:pointer;
	position:relative;
	transition:all 0.5s ease-in-out;
}

.iwm-dot::after{
	content: " ";
    position: absolute;
    top: -13px;
    left: -13px;
    width: 30px;
    height: 30px;
    background: rgb(255 255 255 / 0%);
    border: 11px solid rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    cursor: pointer;
    z-index: 99;
    transition: all .3s ease-in-out;
    z-index: 3;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(11.9px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.iwm-marker:hover .iwm-dot::after{
    transition: opacity 0.5s ease, visibility .5s ease width 1s ease-in-out;
    opacity: 0.95;
}
.iwm-dot::after {
  transform: scale(0.5);
  opacity: 0;
}
.iwm-marker:hover .iwm-dot::after {
  transform: scale(1);
  opacity: 0.95;
}

/* .iwm-dot {
  width: 12px;
  height: 12px;
  background: red;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 2px rgba(0,0,0,0.4);
  margin: 0 auto;
} */

/* 
.iwm-dot {
  width: 20px;
  height: 20px;
  background: #dff5ef;
  border: 8px solid #036b4c;
  border-radius: 50%;
  margin: 0 auto;
} */

.iwm-label {
    font-weight: 400;
    color: white;
    margin-top: 5px;
    border-radius: 15px;
    font-family: 'CircularXX';
    letter-spacing: 1.2px;
    font-size: 17px;
}

.iwm-tooltip {
position: absolute;
    bottom: 100%;
    left: 10%;
    border-radius: 8px;
    padding: 15px;
    width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility .5s ease;
    z-index: 3;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(11.9px);
}

.iwm-marker:hover .iwm-tooltip {
  opacity: 1;
  visibility: visible;
	transition:all 1s ease-in-out;
}

.iwm-tooltip {
  max-width: 240px;
  word-wrap: break-word;
}
.iwm-tooltip[data-align="right"] { left: auto; right: 10%; }

.iwm-marker:hover .iwm-tooltip {
  display: block;
	transition:all 0.5s ease-in-out;
}

.iwm-tooltip h4 {
    font-family: 'HAL timezone';
    font-weight: 400;
    font-size: 16px;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}
.iwm-tooltip p {
	font-family: 'HAL timezone';
	font-weight: 400;
	font-size: 13px;
    color:#009759;
	letter-spacing:1px;
	padding-top:15px;
}


.iwm-slide h4::before {
  content: "•";
  color: black;
  font-size: 20px;
  margin-right: 8px;
  display: inline-block;
}

/* .iwm-label {
  transition: font-weight 0.3s ease;
} */

.iwm-marker:hover .iwm-label {
  font-weight: bold;
/* 	transition:all .5s ease-in-out; */
}


@media (min-width:768px){
	.iwm-marker-details, .iwm-marker-details-slider, .iwm-outside{
		display:none;
	}
	.iwm-marker.active .iwm-dot::after {
    transform: scale(1);
    opacity: 0.95;
}
	.iwm-marker.active .iwm-dot {
  background: #009759;
  border-color: #009759;
  transform: scale(1.3);
  transition: transform 0.3s ease;
}


.iwm-marker.active .iwm-label {
    opacity: 1;
}
.iwm-marker.active .iwm-label {
  font-weight: bold;
}
}

@media (max-width: 767px) {
    .iwm-tooltip, .iwm-global-tooltip {
        display: none !important;
    }
    .iwm-marker-details {
		display:block;
        padding: 20px;
        background: #EAF4EF;
        border-radius: 10px;
        margin-top: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,0.05);
        min-height: 100px;
        transition: all 0.3s ease;
    }
    .iwm-country-title {
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 600;
        border-bottom: 1px solid #333;
        padding-bottom: 8px;
        color: #333;
    }
    .iwm-country-desc {
        font-size: 16px;
        color: #333;
        line-height: 1.5;
    }
	.iwm-marker-details-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0;
    }
       .iwm-slide {
        flex: 0 0 80%;
        background: #ffffffa8;
        border-radius: 10px;
        padding: 16px;
        scroll-snap-align: start;
		    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(11.9px);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
/*         min-width: 197px; */
		           max-width: 250px;
		   	min-height: 180px;
	display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    }
       .iwm-slide h4 {
        font-family: "CircularXX";
    font-weight: 500;
    font-size: 16px;
    border-top: 1px solid black;
    padding-top: 10px;
    position: relative;
    letter-spacing: 1.5px;
    }
        .iwm-slide p {
        font-family: 'HAL timezone';
    font-weight: 500;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
    padding-top: 15px;
    line-height: 18px;
	margin-bottom:0px !important;
    }
	.iwm-outside{
		position: absolute;
    width: 112%;
    bottom: -310px;
	}
	.iwm-label{
		display:none;
	}
	 .iwm-marker.active .iwm-label {
    display: block;
    font-size: 13px;
    white-space: nowrap;
  }
	.iwm-dot {
    width: 6px;
    height: 6px;
}
}

/* Position the label relative to the marker dot, and allow JS offsets */
.iwm-marker { /* keep your existing transform if you like */
  position: absolute;
}

.iwm-label {
  position: absolute;
  top: 0;               /* start at dot */
  left: 50%;
  white-space: nowrap;
  pointer-events: none; /* labels shouldn't block hover/click */
  /* base: 12px below the dot; add JS offsets via CSS vars */
  transform: translate(
      calc(-50% + var(--dx, 0px)),
      calc(12px + var(--dy, 0px))
  );
}
.iwm-label {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none; 
}
.iwm-marker:hover .iwm-label {
  opacity: 1;
}
/* 
@meida (min-width:568px) and (max-width:767px){
	.iwm-map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 180px;
} }*/
/* REMOVE this old per-marker tooltip system */
.iwm-tooltip,
.iwm-marker:hover .iwm-tooltip {
  display: none !important;
}

/* Keep the global tooltip (fixed bottom-left inside map) */
.iwm-global-tooltip h4 {
    margin: 0 0 6px;
    font-family: "CircularXX";
    font-weight: 500;
    font-size: 16px;
    border-top: 1px solid black;
    padding-top: 10px;
    padding-left: 15px;
    position: relative;
    letter-spacing: 1.5px;
}
.iwm-global-tooltip p {
    margin: 0;
    font-family: 'HAL timezone';
    font-weight: 500;
    font-size: 14px;
    color: #000;
    letter-spacing: 0.5px;
    padding-top: 15px;
    line-height: 18px;
}
.iwm-global-tooltip h4:before {
    content: " ";
    position: absolute;
    top: 16px;
    left: 0px;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50px;
}
.iwm-global-tooltip {
position: absolute;
    top: 65%;
    left: 0px;
    max-width: 200px;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility .5s ease;
    z-index: 3;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(11.9px);
  pointer-events: none;
	min-height: 180px;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media(min-width:1970px){
	.iwm-global-tooltip {
position: absolute;
		top: 57%;
	}
}
.iwm-global-tooltip.active {
  opacity: 1;
  visibility: visible;
}
.iwm-slide.active {
  border: 2px solid #009759;
  background: #ffffffd9;
}
/* marker flash animation */
/* .iwm-marker.flash {
  animation: markerFlash 1s ease-out;
  transform-origin: center;
  z-index: 40; 
} */

/* @keyframes markerFlash {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  25%  { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }
  60%  { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
} */

/* optional visual state for active slide/marker */
/* .iwm-slide.active { box-shadow: 0 6px 18px rgba(0,0,0,0.12); border-radius: 10px; }
.iwm-marker.active .iwm-dot { transform: scale(1.25); } */

/* Initial hidden state */
.iwm-marker {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.iwm-marker.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.1s ease, transform 0.1s ease;
}

/* When revealed */
.iwm-marker.show {
  opacity: 1;
  transform: scale(1);
}

/* Glow animation */
@keyframes glowPulse {
  0%   { box-shadow: 0 0 5px rgba(37, 176, 88, 0.8), 0 0 10px rgba(37, 176, 88, 0.6); }
  50%  { box-shadow: 0 0 15px rgba(37, 176, 88, 1), 0 0 30px rgba(37, 176, 88, 1); }
  100% { box-shadow: 0 0 5px rgba(37, 176, 88, 0.8), 0 0 10px rgba(37, 176, 88, 0.6); }
}

.iwm-marker.glow {
  animation: glowPulse 2s infinite ease-in-out;
  border-radius: 50%; /* keep circular glow */
}
.iwm-global-tooltip, .iwm-outside{
	display:none !important;
}