.tech-hero {
  padding: 110px 0 70px;
  text-align: center;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.tech-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.tech-hero p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tech-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  justify-content: center;
  align-items: center;

  position: relative;
  top: 0;
}

.tech-tab {
  padding: 12px 16px;

  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #fff;

  font-weight: 500;
  cursor: pointer;

  text-align: center;

  transition: 0.25s ease;
  white-space: nowrap;
}

.tech-tab:hover {
  background: #f8fafc;
}

.tech-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(79,70,229,0.25);
}

.tech-main {
  padding-top: 10px;
}

.tech-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tech-pane.active {
  display: block;
}

.tech-pane h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.tech-pane p {
  color: var(--muted);
  line-height: 1.6;
}

.module-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 25px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;

  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 22px;
  border-radius: 16px;

  border: 1px solid var(--border-soft);
  text-align: center;

  box-shadow: 0 6px 18px rgba(0,0,0,0.04);

  transition: 0.25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.card i {
  font-size: 22px;
  color: var(--accent);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(79,70,229,0.25);
}

.tech-pane ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tech-pane ul li {
  background: #fff;
  padding: 20px;
  border-radius: 16px;

  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);

  display: flex;
  align-items: center;
  gap: 10px;

  transition: 0.25s ease;
  font-weight: 500;
  color: #334155;
}

.tech-pane ul li::before {
  content: "●";
  color: var(--accent);
  font-size: 14px;
}

.tech-pane ul li:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  border-color: rgba(79,70,229,0.25);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .tech-nav {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .tech-pane ul {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}