body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.page-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../team-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

#content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 120px);
  padding: 20px;
  margin-top: 70px;
  margin-bottom: 20px; /* Reduced from 50px */
}

.sponsors-footer {
  position: relative;
  z-index: 2;
  padding: 15px 0; /* Reduced from 30px */
  background-color: rgba(255, 255, 255, 0.8);
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0 20px;
}

.sponsor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 15px;
}

.sponsor-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
  padding: 10px;
}

.sponsor-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .sponsors-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sponsors-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsor-item {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .sponsors-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #00439b;
  color: white;
  text-align: center;
  padding: 0.25rem;
  font-size: 0.8rem;
  z-index: 3;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Update content margin to match new footer size */
#content {
  margin-bottom: 35px;
}

.sponsors-footer {
  margin-bottom: 35px;
}

.sponsors-footer {
  background: white;
  padding: 2rem 0;
  margin-top: 2rem;
  overflow: hidden;
}

.sponsors-container {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.sponsors-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 2rem;
}

.sponsor-item {
  flex: 0 0 auto;
  padding: 0 1rem;
}

.sponsor-item img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 768px) {
  .sponsor-item img {
    height: 50px;
  }
}

@media screen and (max-width: 480px) {
  .sponsors-footer {
    padding: 1rem 0;
  }

  .sponsor-item img {
    height: 40px;
  }
}
