.tech-section {
  padding: 40px 20px;
  text-align: center;
  height:max-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color:black;
}

.tech-heading {
  font-size: 2.5rem;
  margin-bottom: 10px;
}


.tech-subheading {
  font-size: 1.1rem;
  color:rgba(0, 0, 0, 0.902);
  max-width: 700px;
  margin: 0 auto 40px;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.tech-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.1s;
}

.tech-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.tech-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.tech-card h3 {
  font-size: 1.1rem;
  color: #333;
}

.tech-card:hover {
  transform: scale(1.05);
}

.tech-button {
  background: #ff00ff;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  width:max-content;
  margin: auto;
}

.tech-button.in-view {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}