#company-section {
  margin-top: 100px;
  padding: 20px;
}

.company-search-header {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.company-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto;
  justify-content: center;
}

@media (max-width: 480px) {
  .company-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 481px) and (max-width: 760px) {
  .company-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 761px) and (max-width: 896px) {
  .company-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 897px) {
  .company-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.company-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  width: 360px;
  display: flex;
  flex-direction: column;
}

.company-image {
  justify-content: center;
  align-items: center;
  margin: 20px;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.company-image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-info {
  padding: 16px;
}

.company-info h3 {
  font-size: 1.1rem;
  margin: 12px 0;
  color: #333;
}

.company-info p {
  font-size: 0.9rem;
  margin: 4px 0;
}

.company-tags {
  margin-top: 8px;
}

.tag {
  display: inline-block;
  background: #eef3f8;
  color: #0070c0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  margin-right: 6px;
}

.tag.new {
  background-color: #ff3260;
  color: white;
}

.company-button {
  margin-top: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.company-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  margin: 8px 0;
  background-color: #d6e9f8;
  color: #007cc0;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.company-btn:last-child {
  margin-right: 0;
}

.company-btn.primary {
  background-color: #0070c0;
  color: white;
}

.company-btn:hover {
  opacity: 0.9;
}
