/* Worldwide Service Network Cards Style Adjustment */

/* Import necessary CSS variables if needed */

/* Update Global Data Cards Container */
.global-data-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Transform data-card to match profile-card style */
.data-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: left;
  /* Animation for card entrance */
  animation: cardEntrance 0.6s ease-out;
}

/* Add the top gradient border like profile-card */
.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
}

/* Update hover effect to match profile-card */
.data-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #3b82f6;
}

/* Update data-icon style to match card-icon */
.data-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

/* Add hover effect for icon */
.data-card:hover .data-icon {
  background-color: #3b82f6;
  color: white;
  transform: scale(1.05);
}

/* Update data-value style to match stat-number */
.data-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.2rem;
  line-height: 1.1;
  transition: color 0.3s ease;
}

/* Update data-label style to match card-title */
.data-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Update data-description style to match card-description */
.data-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

/* Add hover effects for text elements */
.data-card:hover .data-description {
  color: #475569;
}

/* Animation for card entrance */
@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add animation delays for individual cards */
.data-card:nth-child(1) {
  animation-delay: 0.1s;
}

.data-card:nth-child(2) {
  animation-delay: 0.2s;
}

.data-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Add responsive adjustments similar to profile-card */
@media (max-width: 768px) {
  .global-data-cards {
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .data-card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .data-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
  }
  
  .data-label {
    font-size: 1.125rem;
  }
  
  .data-description {
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .global-data-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .data-card {
    padding: 1.25rem;
  }
  
  .data-icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.375rem;
  }
  
  .data-label {
    font-size: 1.0625rem;
  }
  
  .data-description {
    font-size: 0.75rem;
  }
}

/* Add subtle shadow effects for depth */
.data-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
  border-radius: 50%;
  z-index: 0;
  transition: all 0.3s ease;
}

.data-card:hover::after {
  transform: scale(1.5);
  opacity: 0;
}

/* Add focus state for accessibility */
.data-card:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Add touch feedback for mobile devices */
@media (hover: none) and (pointer: coarse) {
  .data-card:active {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
}