.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal-width columns */
  justify-content: space-evenly;
  gap: 8vh;
  padding: 2vw calc(8vw);
}

.sponsor-card {
  text-align: center;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 25vw;
  border: 1px solid var(--White);
}
.more {
  font-family: "Bricolage Grotesque";
  position: absolute;
  bottom: 40px;
  display: none;
}
.logo-container {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 66.66%;
  height: auto;
  max-height: 80%;
  display: block;
  transition: all 0.3s ease;
}

/* Details container styling */
.details-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: fit-content;
  background-color: var(--Green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 2vw;
  box-sizing: border-box;
}

.sponsor-card:hover .details-container {
  opacity: 1;
}
.sponsor-card:hover{
  border: 1px solid var(--Green);
}
.name {
  font-size: 4vw;
  color: var(--Black);
  margin: 1vh;
}

.about {
  font-size: 1vw;
  color: var(--Black);
  margin: 1vh;
  text-align: justify;
  font-family: "Bricolage Grotesque";
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {
  .sponsor-grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
    gap: 4vh;
  }
  .sponsor-card{
    height: 120vw;
  }
  .more {
    display: block;
  }
  .name {
    font-size: 48px;
  }

  .about {
    font-size: 16px;
  }
}
