/* css/ecosystem.css */

.ecosystem-section {
  background-color: #fff;
  padding: 4rem 0;
  color: #333;
}

.ecosystem-title {
  font-size: 1.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  font-weight: 500;
  line-height: 1.4;
}

/* Force exactly 4 columns on wider screens, 
   fallback to auto-fit if screen is smaller */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive media query: if screen is narrower than ~1000px, 
   revert to auto-fit for wrapping. Adjust breakpoint as needed. */
@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.feature-item {
  background-color: #fff;
  border: 1px solid #ddd; /* Instead of box-shadow */
  border-radius: 8px;
  padding: 2rem;
  text-align: left; /* Align text to the left */
  transition: box-shadow 0.3s;
}

.feature-item:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feature-number {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #000;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}
