.map-section {
    position: relative;
    padding: 80px 0;
    background: #001529;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.map-section h2,
.map-section p,
.map-section .section-subtitle {
    color: #ffffff !important;
}

.map-section h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.map-container {
    position: relative;
    margin: 40px auto;
    max-width: 1000px;
    width: 100%;
    aspect-ratio: 2 / 1;
    background: radial-gradient(circle at center, #002b57 0%, #001529 70%);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/World_Map_Blank.svg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1) opacity(0.3);
    mix-blend-mode: screen;
    pointer-events: none;
}

.world-map-svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.waypoint {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--secondary-gold);
    z-index: 10;
    cursor: pointer;
}

.waypoint::after {
    content: '';
    position: absolute;
    inset: -6px;
    border: 1px solid var(--secondary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: radar-ping 2.5s infinite ease-out;
    will-change: transform, opacity;
}

.waypoint:nth-child(even)::after {
    animation-delay: 1.25s;
}

.waypoint-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.waypoint:hover .waypoint-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.flight-path {
    fill: none;
    stroke: var(--secondary-gold);
    stroke-width: 2;
    stroke-opacity: 0.6;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-in-out;
}

.flight-plane {
    fill: #ffffff;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes radar-ping {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .map-container {
        width: calc(100% - 40px);
        margin: 20px auto;
    }
}