/**
 * Netra Technosys - Tech Stack Showcase (Devsto Master Card Layout with Netra Red Theme)
 * Clean tab bar on top, high-tech individual cards with company's original technologies.
 */

.tecgnologys {
  padding: 100px 0 120px;
  background-color: #f8fafc;
  position: relative;
}

.tecgnologys .tech_content {
  margin-bottom: 35px;
}

.tecgnologys .tech_content h2 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #080b14;
}

.tecgnologys .tech_content p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.65;
  max-width: 780px;
}

/* Master Rounded Card Container */
.nt-tech-master-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin-top: 30px;
}

/* Top Horizontal Tab Bar */
.nt-tech-tabs-bar {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nt-tech-tabs-bar::-webkit-scrollbar {
  display: none;
}

.nt-tech-tab-btn {
  flex: 1;
  min-width: 175px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #475467;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  white-space: nowrap;
}

.nt-tech-tab-btn:first-child {
  border-top-left-radius: 22px;
}

.nt-tech-tab-btn:last-child {
  border-right: none;
  border-top-right-radius: 22px;
}

.nt-tech-tab-btn:hover:not(.active) {
  background: #e2e8f0;
  color: #0f172a;
}

/* Active Tab (Netra Technosys Theme Red) */
.nt-tech-tab-btn.active {
  background: linear-gradient(135deg, #FF453A 0%, #E7201A 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.nt-tech-tab-btn.active i {
  color: #ffffff;
}

/* Tab Panes Container */
.nt-tech-panes-wrap {
  padding: 38px 36px 42px;
  background: #ffffff;
}

.nt-tech-pane {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nt-tech-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nt-tech-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
}

.nt-tech-pane-header h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nt-tech-pane-header h4 i {
  color: #E7201A;
}

.nt-tech-count-badge {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #E7201A;
  background: rgba(231, 32, 26, 0.08);
  border: 1px solid rgba(231, 32, 26, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Tech Cards Grid */
.nt-tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 16px;
}

/* Individual Tech Tile */
.nt-tech-tile {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
  min-height: 124px;
}

.nt-tech-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 32, 26, 0.45);
  box-shadow: 0 14px 28px rgba(231, 32, 26, 0.14), 0 4px 10px rgba(15, 23, 42, 0.04);
}

.nt-tech-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nt-tech-tile:hover .nt-tech-icon-wrap {
  transform: scale(1.15);
}

.nt-tech-icon-wrap img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

.nt-tech-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.nt-tech-tile:hover .nt-tech-name {
  color: #E7201A;
}

/* Tablet & Mobile */
@media (max-width: 991px) {
  .nt-tech-panes-wrap {
    padding: 26px 20px 30px;
  }

  .nt-tech-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 12px;
  }

  .nt-tech-tile {
    padding: 18px 10px 14px;
    min-height: 112px;
  }

  .nt-tech-tab-btn {
    font-size: 13.5px;
    padding: 14px 16px;
    min-width: 155px;
  }
}

@media (max-width: 575px) {
  .nt-tech-master-card {
    border-radius: 18px;
  }

  .nt-tech-tab-btn {
    min-width: 135px;
    font-size: 12.5px;
    padding: 12px 14px;
  }

  .nt-tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
