/* Impact Section Styles */

.impact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23015FC9" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.impact-section .container {
  position: relative;
  z-index: 2;
}

/* Impact Cards */
.impact-card {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(1, 95, 201, 0.1);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(1, 95, 201, 0.05), transparent);
  transition: left 0.6s ease;
}

.impact-card:hover::before {
  left: 100%;
}

.impact-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

/* Impact Icons */
.impact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--heading-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(1, 95, 201, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.impact-card:hover .impact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(1, 95, 201, 0.4);
}

/* Impact Numbers */
.impact-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.impact-number .purecounter {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-color);
  font-family: var(--heading-font);
  line-height: 1;
}

.impact-number .number-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-left: 0.25rem;
}

/* Impact Text */
.impact-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.impact-card p {
  color: var(--default-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* Impact CTA */
.impact-cta {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(1, 95, 201, 0.1);
  transition: all 0.3s ease;
}

.impact-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.impact-cta h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.impact-cta p {
  font-size: 1.125rem;
  color: var(--default-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.impact-cta .btn {
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.impact-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(1, 95, 201, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .impact-section {
    padding: 4rem 0;
  }
  
  .impact-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .impact-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  
  .impact-number .purecounter {
    font-size: 2.5rem;
  }
  
  .impact-number .number-suffix {
    font-size: 1.5rem;
  }
  
  .impact-cta {
    padding: 2rem;
  }
  
  .impact-cta h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .impact-card {
    padding: 1.5rem;
  }
  
  .impact-number .purecounter {
    font-size: 2rem;
  }
  
  .impact-number .number-suffix {
    font-size: 1.25rem;
  }
  
  .impact-card h4 {
    font-size: 1.125rem;
  }
  
  .impact-cta h3 {
    font-size: 1.25rem;
  }
  
  .impact-cta p {
    font-size: 1rem;
  }
}

/* Animation Effects */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.impact-card:hover .impact-number {
  animation: pulse 2s infinite;
}