.tech-stack {
  background-color: #0d0d0d;
  padding: 80px 30px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 60px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  justify-items: center;
}

.stack-card {
  background: linear-gradient(135deg, #1c1c1c, #121212);
  border-radius: 20px;
  width: 160px;
  height: 160px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
  border: 1px solid #222;
}

.stack-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
  border-color: #00ffff40;
}

.stack-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.stack-card span {
  color: #ccc;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
