.main-container {
  min-height: 100vh;
  background-color: var(--light-gray);
}

.partners-section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.mb-16 {
  margin-bottom: 4rem;
}

.main-title {
  color: var(--text-title);
  margin-bottom: 1.5rem;
}

.main-description {
  color: var(--text-description);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.75;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid var(--light-gray-2);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-sm);
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-logo-section {
  height: 230px !important;
  padding: 2rem;
  border-bottom: 1px solid var(--light-gray-2);
}

.logo-container {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  color: var(--text-title);
  margin-bottom: 1.5rem;
  text-align: center;
}

.card-description {
  color: var(--text-description);
  line-height: 1.75;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-description p {
  margin-bottom: 1rem;
}

.visit-button {
  display: block;
  width: 100%;
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 0.75rem;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.visit-button:hover {
  background-color: #34495e;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 3rem 0;
  }

  .card-content {
    padding: 1.5rem;
  }

  .card-logo-section {
    padding: 1.5rem;
  }
}


.logo-image {
  width: 100%;
  height: 120px; /* Adjust this to match your design */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
