/* ==========================================================================
   PAGE: HOW WE WORK (how-we-work.html)
   Saishnaa Software Solutions
   Styles for 4-Step Agile Delivery Cycle, Git Transparency,
   and Tooling Ecosystem.
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: #0864C5;
  box-shadow: 0 16px 36px rgba(8, 100, 197, 0.12);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0864C5, #00A884);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.tooling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Battle-Tested DevOps & Quality Tools (Left-to-Right Horizontal Layout) */
.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 36px;
  align-items: stretch;
}

.tech-matrix-grid .tech-item-card {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 30px 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05) !important;
  animation: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.tech-matrix-grid .tech-item-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: #0864C5 !important;
  box-shadow: 0 16px 36px rgba(8, 100, 197, 0.16) !important;
}

.tech-matrix-grid .tech-item-card .tech-icon {
  font-size: 2.4rem !important;
  color: #0284c7 !important;
  margin-bottom: 14px !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}

.tech-matrix-grid .tech-item-card:hover .tech-icon {
  color: #0864C5 !important;
  transform: scale(1.16) rotate(4deg) !important;
}

.tech-matrix-grid .tech-item-card .tech-name {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
  transition: color 0.2s ease !important;
}

.tech-matrix-grid .tech-item-card:hover .tech-name {
  color: #0864C5 !important;
}

.tech-matrix-grid .tech-item-card .tech-category {
  font-size: 0.82rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

@media (max-width: 1100px) {
  .tech-matrix-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 640px) {
  .tech-matrix-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .tech-matrix-grid .tech-item-card {
    padding: 22px 10px !important;
  }
}

@media (max-width: 400px) {
  .tech-matrix-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
