.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center
}

/* ---- Tech card ---- */
.tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 16px;
  padding: 28px 18px 22px;
  width: 134px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
  animation: cardIn .35s ease both;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(67, 97, 238, .15);
  border-color: rgba(67, 97, 238, .2);
  background: var(--white);
}

.tech-card.hidden {
  display: none
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.t-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px
}

.t-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain
}

/* Devicon font icons */
.t-icon i[class*="devicon"] {
  font-size: 52px;
  line-height: 1;
  display: block
}

/* Custom text icons for brands without SVG */
.cicon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  font-family: 'Inter', sans-serif;
}

.tech-card span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.35
}


@media(max-width:576px) {
  .tech-card {
    width: calc(33.333% - 12px);
    min-width: 100px;
    padding: 20px 10px 16px
  }

  .t-icon img,
  .cicon {
    width: 42px;
    height: 42px
  }

  .tech-card span {
    font-size: 11.5px
  }
}

@media(max-width:400px) {
  .tech-card {
    width: calc(50% - 8px)
  }
}


/* Tabs container */
.tabs-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  /* centers the tabs */
}

.tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tabs {
  display: flex;
  gap: 10px;
  padding: 10px 4px;
  width: max-content;
}

/* Tab buttons — pill style */
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  /* pill shape */
  border: 1.5px solid #d1d5db;
  /* light grey border */
  background-color: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab:hover {
  border-color: #6b7280;
  background-color: #f9fafb;
}

/* Active state — dark filled pill */
.tab.active {
  /* background-color: #111827; */
  background: linear-gradient(-45deg, rgba(15, 19, 66, 0.7), rgba(9, 40, 124, 0.8), rgb(4, 145, 223), rgb(9, 40, 124)) 0% 0% / 400% 400%;
  animation: 10s ease 0s infinite normal none running gradientMove;
  /* dark / near black */
  color: #ffffff;
  border-color: #111827;
}