/* === Unique styles for Software Solutions page === */

/* Grid layout for "What We Build" section */
.what-we-build {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.build-column {
  flex: 1 1 30%;
  min-width: 300px;
}

.build-column h3 {
  text-align: center;
  font-size: 1.4rem;
  color: #0e1e40;
  font-weight: bold;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e3e9f0;
  padding-bottom: 0.5rem;
}

.build-column .services {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
  justify-content: center;
  padding: 0.5rem 0;
}

/* Service Button Styling */
a.service {
  display: inline-block;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  color: #0e1e40;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

a.service:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Bottom bar under grid */
.bottom-strip {
  background-color: #f8fafd;
  padding: 0;
  border-top: 1px solid #e3e9f0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Neon animation buttons */
.neon-button {
  position: relative;
  animation: neon-glow 4s linear infinite;
  border: 2px solid transparent;
  z-index: 0;
}

.neon-button:hover {
  animation-play-state: paused;
  z-index: 1;
}

.neon-button[data-index]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow:
    0 0 5px var(--glow-color),
    0 0 10px var(--glow-color),
    0 0 20px var(--glow-color),
    0 0 40px var(--glow-color);
  opacity: 0.6;
  z-index: -1;
}

@keyframes neon-glow {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(360deg); }
}

/* Tooltip */
.tooltip {
  position: absolute;
  background-color: #ffffff;
  color: #0e1e40;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 300px;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}


/* Responsive Adjustments */
@media (max-width: 900px) {
  .what-we-build {
    flex-direction: column;
    align-items: center;
  }

  .build-column {
    width: 100%;
  }

  .build-column h3 {
    margin-top: 1.5rem;
  }

  .build-column .services {
    grid-template-columns: repeat(1, 1fr);
  }

  a.service {
    width: 90%;
  }
}

