/* body {
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   margin: 0;
   padding: 20px;
   background-color: #f8fafc;
   display: flex;
   flex-direction: column;
   align-items: center;
   min-height: 100vh;
 }*/

.tech-showcase {
  display: flex;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1000px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.tech-item {
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tech-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: all 0.6s ease;
  position: absolute;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.tech-icon.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tech-icon.inactive {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

h1 {
  text-align: center;
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 25px;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
}

@media (max-width: 768px) {
  .tech-showcase {
    gap: 25px;
  }

  .tech-item {
    width: 70px;
    height: 70px;
  }

  .tech-icon {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .tech-showcase {
    gap: 20px;
  }

  .tech-item {
    width: 65px;
    height: 65px;
    border-radius: 10px;
  }

  .tech-icon {
    width: 45px;
    height: 45px;
  }
}
