/* style/sponsors.css */

.sponsors-section {
  text-align: center;
  padding: .5rem 1rem;
  background-color: #3c3c3c;
}

.sponsors-section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: -30px;
  color: goldenrod;
  background-color: #222;
  border: solid 1px white;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

@media (max-width: 1200px) {
  .sponsors-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
}

.sponsor-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  width: 100%;
  max-width: 220px;
}

.sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
}

.sponsor-card img {
  max-width: 100px;
  height: auto;
  margin-bottom: 0.75rem;
  object-fit: contain;
}

.sponsor-placeholder {
  width: 100px;
  height: 100px;
  background: #ddd;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 0.75rem auto;
}

.sponsor-name {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.sponsor-contact span {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin: 0.15rem 0;
}

.sponsor-contact i {
  margin-right: 0.4rem;
  color: #888;
}
