/* -----------------------------------
   TECH STACK GRID
----------------------------------- */

.tech-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;


  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}

.tech-grid:nth-of-type(1) { animation-delay: 0.1s; }
.tech-grid:nth-of-type(2) { animation-delay: 0.2s; }
.tech-grid:nth-of-type(3) { animation-delay: 0.3s; }
.tech-grid:nth-of-type(4) { animation-delay: 0.4s; }
.tech-grid:nth-of-type(5) { animation-delay: 0.5s; }
.tech-grid:nth-of-type(6) { animation-delay: 0.6s; }

.tech-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(94,163,255,0.25);
  border-color: var(--accent);
}

.tech-item img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  margin-bottom: 10px;
  filter: var(--icon-filter);
}

.tech-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.2;
}

@media (max-width: 500px) {
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

/* -----------------------------------
   TECH CATEGORY HEADINGS
----------------------------------- */

.tech-category {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.9;
  position: relative;
  padding-bottom: 6px;
}

.tech-category::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
  border-radius: 2px;
}