/* Global Services Section */
.global-services {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.global-services .section-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.red-text {
    color: #e74c3c;
}

.global-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.global-content p {
    color: #666;
    line-height: 1.6;
    font-size: 18px;
}
.map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 100;

}

.world-map {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Ensure map fits nicely */
}
.map-marker {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.map-marker:hover {
    z-index: 100;
}

.map-marker i {
      position: relative;
  z-index: 1;
    font-size: 32px;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.map-marker:not(.active-marker):hover i {
  transform: scale(1.2);
  animation: none; /* Disable pulse on hover */
}
.map-marker:not(.active-marker):hover::after {
  animation: none; /* Disable pulse circle on hover */
}

.marker-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
}

.map-marker:not(.active-marker):hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

.marker-tooltip h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.marker-tooltip p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    /* 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.marker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.marker-modal.active {
    opacity: 1;
    visibility: visible;
}

.marker-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
    top: 20%;
}

.marker-modal img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    margin: 15px 0;
    border-radius: 4px;
}

.marker-modal h3 {
    color: #333;
    margin-top: 0;
}

.marker-modal p {
    color: #666;
    line-height: 1.6;
    /* 4 lines with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.details-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.details-btn:hover {
    background: #c0392b;
}

/* Modal open state for body */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .marker-modal .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .marker-modal img {
        max-height: 200px;
    }
}
.map-marker::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #e74c3c;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  z-index: -1;
  pointer-events: none;
}
/* Pulsing animation for map markers */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(2);
    opacity: 0.3;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}