/* Styles for products view - responsive grid and improved cards */

#products .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.services__title {
  text-align: center;
  margin-bottom: 0.25rem;
}

.lead-lg {
  text-align: center;
  color: #555;
  max-width: 900px;
  margin: 0.5rem auto 2rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.service-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 22px rgba(6, 18, 30, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  flex: 0 0 auto;
}

.service-card__title {
  font-size: 1.125rem;
  margin: 0 0 0.5rem 0;
}

.service-card__description {
  color: var(--color-text-secondary);
  line-height: 1.45;
  flex: 1 1 auto;
}

.blog-card__link {
  margin-top: 1rem;
  align-self: flex-start;
  color: #39ff14;
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(6, 18, 30, 0.12);
}

.blog__cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (prefers-color-scheme: dark) {
  .service-card {
    box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  }
  .service-card__description, .lead-lg {
    color: #cbd5e1;
  }
}
