/* World Map Styles */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 40px auto;
    overflow: visible;
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
}

.pin {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.city-name {
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 3;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.city-name a {
    color: #1B2337;
    text-decoration: none;
    transition: all 0.3s ease;
}

.city-name:hover {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* European Cities Positions */
.london { top: 15%; left: 47%; }
.london-name { top: 12%; left: 47%; }

.amsterdam { top: 14%; left: 49%; }
.amsterdam-name { top: 11%; left: 49%; }

.paris { top: 16%; left: 48%; }
.paris-name { top: 13%; left: 48%; }

.munich { top: 16%; left: 51%; }
.munich-name { top: 13%; left: 51%; }

.vienna { top: 16%; left: 53%; }
.vienna-name { top: 13%; left: 53%; }

.barcelona { top: 19%; left: 47%; }
.barcelona-name { top: 16%; left: 47%; }

.istanbul {  top: 49%; left: 65%; }
.istanbul-name { top: 49%; left: 65%; }

/* Asian Cities */
.dubai { top: 28%; left: 63%; }
.dubai-name { top: 25%; left: 63%; }

.kualalumpur { top: 69%; left: 76%; }
.kualalumpur-name { top: 69%; left: 76%; }

/* Pin and name animations */
.pin:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -3px;
    left: -3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .city-name {
        font-size: 10px;
        padding: 3px 8px;
    }
    .pin {
        width: 4px;
        height: 4px;
    }
    .pin:after {
        width: 8px;
        height: 8px;
        top: -2px;
        left: -2px;
    }
}

.city-name {
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 3;
}

.city-name a {
    color: var(--thm-black);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.9);
}

.city-name a:hover {
    color: var(--thm-base);
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* European Cities */
.london { top: 40%; left: 44%; }
.london-name { top: 40%; left: 44%; }

.amsterdam { top: 37%; left: 51%; }
.amsterdam-name { top: 37%; left: 51%; }

.munich { top: 40%; left: 54%; }
.munich-name { top: 40%; left: 54%; }

.paris { top: 45%; left: 46%; }
.paris-name { top: 45%; left: 46%; }

.vienna { top: 45%; left: 54%; }
.vienna-name { top: 45%; left: 54%; }

.barcelona { top: 49%; left: 48%; }
.barcelona-name { top: 49%; left: 48%; }

.istanbul {  top: 49%; left: 65%; }
.istanbul-name { top: 49%; left: 65%; }

/* Asian Cities */
.dubai { top: 56%; left: 63%;  }
.dubai-name { top: 56%; left: 63%; }

.kualalumpur { top: 69%; left: 76%; }
.kualalumpur-name { top: 69%; left: 76%; }


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .city-name {
        font-size: 12px;
    }
    .pin {
        width: 10px;
        height: 10px;
    }
    .pin:after {
        width: 16px;
        height: 16px;
        top: -3px;
        left: -3px;
    }
}

@media (max-width: 767px) {
    .map-container {
        height: 400px;
    }
    .city-name a {
        padding: 3px 6px;
    }
}