.emprendedores-section {
  padding: 2rem;
  background-color: #fff8e1;
  font-family: sans-serif;
  text-align: center;
}
h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tab {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #ccc;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s;
}
.tab.active {
  background-color: red;
  color: white;
}
.gallery-container {
  margin-top: 1rem;
}
.gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.image-wrapper {
  position: relative;
  border-radius: 10%;
  overflow: hidden;
  transition: transform 0.3s, filter 0.3s;
}
.image-wrapper img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  filter: grayscale(60%);
  transition: transform 0.3s, filter 0.3s;
  cursor: pointer;
}
.image-wrapper:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffeb3b;
  font-weight: bold;
  font-size: 1rem;
  text-shadow: 1px 1px 3px black;
  pointer-events: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  margin: auto;
  display: block;
  max-width: 50%;
  max-height: 80vh;
  border-radius: 1rem;
}
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}
@media (max-width: 768px) {
  .tab {
    flex: 1 1 30%;
    text-align: center;
  }
  .image-wrapper img {
    width: 120px;
    height: 120px;
  }
  .modal-content {
    max-width: 90%;
    max-height: 50vh;
  }
}
.hidden {
  display: none;
}
