/* Eye-Catching Professional Statistics Cards */

/* Striking Metric Cards */
.metric-card-striking {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 20px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  transform-style: preserve-3d;
}

.metric-card-striking::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, currentColor, rgba(255, 255, 255, 0.5));
  z-index: 1;
}

.metric-card-striking:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(76, 175, 80, 0.2);
  border-color: rgba(76, 175, 80, 0.3);
}

/* Card-specific hover effects */
.certification-card:hover {
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(40, 167, 69, 0.4);
}

.certified-card:hover {
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(13, 110, 253, 0.4);
}

.employment-card:hover {
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(255, 193, 7, 0.4);
}

.salary-card:hover {
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(13, 202, 240, 0.4);
}

/* Icon Backgrounds with Gradients */
.icon-background {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bg-success-gradient {
  background: linear-gradient(135deg, #28a745, #20c997, #28a745);
}

.bg-primary-gradient {
  background: linear-gradient(135deg, #007bff, #6610f2, #007bff);
}

.bg-warning-gradient {
  background: linear-gradient(135deg, #ffc107, #fd7e14, #ffc107);
}

.bg-info-gradient {
  background: linear-gradient(135deg, #17a2b8, #6f42c1, #17a2b8);
}

.metric-card-striking:hover .icon-background {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Striking Numbers */
.metric-number-striking {
  font-size: 3.5rem;
  font-weight: 900;
  margin: 1.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1;
}

.metric-number-striking::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.3;
}

/* Enhanced Labels */
.metric-label-striking {
  font-size: 1.1rem;
  font-weight: 700;
  color: #343a40;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Striking Indicators */
.metric-indicator-striking .badge {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.metric-card-striking:hover .badge {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Card Glow Effects */
.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, currentColor, transparent);
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.metric-card-striking:hover .card-glow {
  opacity: 0.1;
}

.success-glow { color: #28a745; }
.primary-glow { color: #007bff; }
.warning-glow { color: #ffc107; }
.info-glow { color: #17a2b8; }

/* Pulse Animation for Icons */
.pulse-icon {
  animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Number Animation Enhancement */
.metric-number-striking {
  animation: numberPop 0.6s ease-out;
}

@keyframes numberPop {
  0% { 
    transform: scale(0.8);
    opacity: 0;
  }
  50% { 
    transform: scale(1.1);
  }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* Card Entrance Animation */
.metric-card-striking {
  animation: cardSlideIn 0.8s ease-out;
}

.certification-card { animation-delay: 0.1s; }
.certified-card { animation-delay: 0.2s; }
.employment-card { animation-delay: 0.3s; }
.salary-card { animation-delay: 0.4s; }

@keyframes cardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) rotateX(-10deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Enhanced Hover States */
.metric-card-striking:hover .metric-number-striking {
  animation: numberBounce 0.6s ease;
}

@keyframes numberBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.05); }
  50% { transform: scale(0.98); }
  75% { transform: scale(1.02); }
}

/* Professional Shine Effect */
.metric-card-striking::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
  transition: left 0.6s ease;
}

.metric-card-striking:hover::after {
  left: 100%;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .metric-number-striking {
    font-size: 2.8rem;
  }
  
  .metric-label-striking {
    font-size: 1rem;
  }
  
  .icon-background {
    width: 70px;
    height: 70px;
  }
  
  .icon-background i {
    font-size: 2.5rem !important;
  }
  
  .metric-card-striking:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 576px) {
  .metric-number-striking {
    font-size: 2.5rem;
  }
  
  .metric-label-striking {
    font-size: 0.95rem;
  }
  
  .icon-background {
    width: 65px;
    height: 65px;
  }
  
  .icon-background i {
    font-size: 2.2rem !important;
  }
}

/* Focus States for Accessibility */
.metric-card-striking:focus-within {
  outline: 3px solid rgba(76, 175, 80, 0.5);
  outline-offset: 3px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .metric-card-striking {
    border: 3px solid #000;
  }
  
  .icon-background {
    border: 2px solid #000;
  }
  
  .badge {
    border: 2px solid #000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .metric-card-striking,
  .icon-background,
  .metric-number-striking,
  .pulse-icon {
    animation: none;
    transition: none;
  }
  
  .metric-card-striking:hover {
    transform: none;
  }
}
