
.hover-trigger {
    transition: all 0.2s ease-in-out;
}
.hover-trigger:hover .hover-icon {
    opacity: 1 !important;
    transform: scale(1.1);
}
.hover-icon {
    transition: all 0.3s ease-in-out;
}

/* Map pins */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 5%;
    max-width: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1;
}
.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 999; /* bring to front */
}

.map-pin img {
    width: 2rem;
    height: 2rem;
    display: block;
}



.custom-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color:var(--color-primary-500);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.map-pin a:hover .custom-tooltip,
.map-pin a:focus .custom-tooltip,
.map-pin a:active .custom-tooltip {
    opacity: 1;
}