
:root { 
  --default-color: #3b5353; /* Default color used for the majority of the text content across the entire website */
  --accent-color: #009985; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

.stats .main-headline {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.stats .main-description {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stats .achievement-badge {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 30%));
  border-radius: 2rem;
  padding: 1.25rem 2rem;
  display: inline-block;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.stats .achievement-badge .achievement-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stats .achievement-badge .achievement-icon {
  background: var(--contrast-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats .achievement-badge .achievement-icon i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.stats .achievement-badge .achievement-details {
  color: var(--contrast-color);
}

.stats .achievement-badge .achievement-title {
  font-size: 1.125rem;
  font-weight: 600;
  font-family: var(--heading-font);
  margin-bottom: 0.25rem;
}

.stats .achievement-badge .achievement-subtitle {
  font-size: 0.875rem;
  opacity: 0.9;
}

.stats .stats-grid {
  margin-top: 2rem;
}

.stats .stat-item {
  background: var(--surface-color);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stats .stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 40%));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}


.stats .stat-item a {
	color:#333;
}

.stats .stat-item:hover a {
	color:#FFF;
}

.stats .stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 30%));
  color: var(--contrast-color);
  transform: scale(1.05);
}


.stats .stat-item:hover .stat-icon {
    background: color-mix(in srgb, var(--surface-color), transparent 90%);
}


.stats .stat-item:hover i{
 
  color: var(--contrast-color);
  transform: scale(1.05);
}


.stats .stat-item:hover::before {
  transform: scaleX(1);
}

.stats .stat-item.featured {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6366f1 30%));
  color: var(--contrast-color);
  transform: scale(1.05);
}

.stats .stat-item.featured .stat-icon {
  background: var(--contrast-color);
}

.stats .stat-item.featured .stat-icon i {
  color: var(--accent-color);
}

.stats .stat-item.featured .stat-number {
  color: var(--contrast-color);
}

.stats .stat-item.featured .stat-label {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
}

.stats .stat-item.featured .stat-growth {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.stats .stat-item.featured .stat-growth i {
  color: var(--contrast-color);
}

.stats .stat-item.featured:hover {
  transform: scale(1.08) translateY(-8px);
}

.stats .stat-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.stats .stat-icon i {
  color: var(--accent-color);
  font-size: 1.75rem;
}



.stats .stat-number {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stats .stat-number .purecounter {
  font-size: inherit;
  color: inherit;
}

.stats .stat-label {
  color: var(--heading-color);
  font-size: 1.9rem;
  font-weight: 600;
  font-family: var(--heading-font);
  margin-bottom: 1rem;
}

.stats .stat-growth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.875rem;
  font-weight: 500;
}

.stats .stat-growth i {
  color: #22c55e;
  font-size: 0.75rem;
}

@media (max-width: 1200px) {
  .stats .main-headline {
    font-size: 2.25rem;
  }

  .stats .stat-item {
    padding: 1.75rem 1.25rem;
  }

  .stats .stat-number {
    font-size: 2.25rem;
  }
}

@media (max-width: 992px) {
  .stats .main-headline {
    font-size: 2rem;
  }

  .stats .achievement-badge {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
  }

  .stats .achievement-badge .achievement-content {
    gap: 0.75rem;
  }

  .stats .achievement-badge .achievement-icon {
    width: 40px;
    height: 40px;
  }

  .stats .achievement-badge .achievement-icon i {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .stats .main-headline {
    font-size: 1.75rem;
  }

  .stats .main-description {
    font-size: 1rem;
  }

  .stats .achievement-badge .achievement-content {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .stats .stat-item {
    padding: 1.5rem 1rem;
  }

  .stats .stat-item.featured {
    transform: none;
  }

  .stats .stat-item.featured:hover {
    transform: translateY(-8px);
  }

  .stats .stat-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .stats .stat-icon i {
    font-size: 1.5rem;
  }

  .stats .stat-number {
    font-size: 2rem;
  }

  .stats .stat-label {
    font-size: 1rem;
  }
}