.about {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(240,240,240,0.9));
  overflow: hidden;
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Liczniki --- */
.about-counters {
  display: flex;
  flex-wrap: wrap;
}

.counter-box {
  text-align: center;
}

.counter-box .counter {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  display: block;
}

.counter-box p {
  font-size: 0.9rem;
  color: #555;
}

/* --- Ikony i karty --- */
.about-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 6px solid transparent;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-item:nth-child(1):hover { border-left-color: #00ffff; }
.about-item:nth-child(2):hover { border-left-color: #ff00ff; }
.about-item:nth-child(3):hover { border-left-color: #ffff00; }

.about-icon {
  font-size: 2.5rem;
  color: #000;
}

.about-text h3 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.about-text p {
  margin: 0;
  color: #555;
}

.counter {
  font-weight: 700;
  font-size: 2.5rem;
  color: #000;
  display: inline-block;
  min-width: 2.5ch;
  text-align: center;
  font-variant-numeric: tabular-nums; /* ✅ stała szerokość cyfr */
  transition: color 0.3s ease;
}


.counter.animated {
  color: #ff00ff; /* podkreślenie animacji */
}


@media (max-width: 991px) {
  .about-item {
    text-align: left;
  }
}
