#products {
  background-color: #002940;
  text-align: center;
  padding: 40px 0; /* Added vertical padding for better section breathing room */
}

.container-products {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  padding: 20px; /* Reduced from 40px for better mobile fit */
  gap: 20px;
  margin: auto;
  align-items: center;
  box-sizing: border-box;
}

.usage-areas-grid {
  display: grid;
  /* Auto-fit ensures it uses 4 columns on desktop, but wraps as screen shrinks */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  width: 100%; /* Ensure grid takes full container width */
  font-family: Arial, sans-serif;
}

.usage-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #00a5ff;
  border-radius: 10px;
  overflow: hidden;
  background-color: transparent;
  transition: transform 0.3s ease; /* Subtle hover effect */
}

.usage-card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-footer {
  padding: 1.5rem;
  text-align: left;
}

.card-footer h4 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1.4;
}

.container-products h3,
.section-bottom h3 {
  text-align: center;
  font-weight: 600;
  color: #00a5ff;
  line-height: 1.3;
}

.section-bottom {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.section-bottom h3 {
  margin-top: 0px;
  margin-bottom: 30px;
  font-size: 1.4rem; /* Responsive sizing */
}

/* --- Mobile Specific Adjustments --- */
@media (max-width: 768px) {
  .container-products {
    padding: 15px;
  }

  .usage-areas-grid {
    /* Switches to 2 columns on tablets, 1 column on small phones */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 1rem 0;
  }

  .card-image {
    height: 180px; /* Slightly shorter images on mobile */
  }

  .section-bottom h3 {
    font-size: 1.2rem;
  }

  .section-header img {
    max-width: 100%; /* Prevents SVG from overflowing screen */
    height: auto;
  }
}

@media (max-width: 480px) {
  .usage-areas-grid {
    grid-template-columns: 1fr; /* Force single column on small phones */
  }
}
