/* All Tools Container */

.all-tools-container {

  max-width: 1200px;

  margin: 40px auto;

  padding: 0 20px;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

}



/* Filter Pills Navigation */

.tools-filter-pills {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  justify-content: center;

  margin-bottom: 32px;

}



.filter-pill {

  background-color: #f0f8ff; /* Light blue */

  color: #001f3f; /* Navy */

  border: 1px solid #cce7ff;

  padding: 8px 18px;

  border-radius: 99px;

  font-size: 14px;

  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;

  user-select: none;

}



.filter-pill:hover,

.filter-pill.active {

  background-color: #001f3f; /* Navy */

  color: #ffffff; /* White */

  border-color: #001f3f;

}



/* Tools Responsive Grid */

.tools-grid {

  display: grid;

  gap: 16px;

  /* Mobile: 1-2 cards per row */

  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));

}



/* Tablet: 2-3 cards per row */

@media (min-width: 640px) {

  .tools-grid {

    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

  }

}



.tools-grid {

  display: grid;

  gap: 18px;

  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));

}



/* Small Tool Card */

.tool-card {

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 16px;

  text-decoration: none;

  display: flex;

  flex-direction: column;

  gap: 8px;

  transition: all 0.2s ease;

}



.tool-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 10px 25px rgba(0,0,0,0.08);

  border-color: #1a73e8;

}



/* Hidden state for filtering */

.tool-card.hidden {

  display: none;

}



.tool-card-header {

  display: flex;

  align-items: center;

  gap: 10px;

}



.tool-icon {

  width: 20px;

  height: 20px;

  color: #0074D9; /* Blue */

  flex-shrink: 0;

}



.tool-name {

  font-size: 15px;

  font-weight: 600;

  color: #1e3a5f;

}



.tool-desc {

  font-size: 13px;

  color: #64748b;

}



/* FIX: ICON SIZE + CARD CONTROL */

.tool-card svg,

.tool-icon {

  width: 24px !important;

  height: 24px !important;

  max-width: 24px !important;

  max-height: 24px !important;

  stroke-width: 2;

}



.tool-card {

  overflow: hidden;

}