.hero-tabs {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem;
  color: white;
}

.hero-background.active {
  opacity: 1;
  z-index: 1;
}

.hero-tabs-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  background: rgba(0, 0, 0, 0.5);
}

.tab-button {
  flex: 1;
  padding: 1rem;
  background: transparent;
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.tab-button:hover,
.tab-button.active {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .tab-button {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .hero-tabs-nav {
    overflow-x: auto;
  }
}

.hero-tabs-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  z-index: 2; /* Make sure it's above the backgrounds */
  background: rgba(0, 0, 0, 0.5);
}

.hero-tabs {
  position: relative;
  width: 100%;
  height: 100vh; /* This ensures full screen height */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  /* ... */
}

.hero-tabs-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
}

.tab-button {
  flex: 1;
  padding: 1rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4); /* Thin white border */
  font-size: 1rem;
  cursor: pointer;
  height: 175px; /* You can change this to any height you prefer */

}

.tab-button.active {
  border-top: 3px solid #fff; /* top border for active tab */
  background-color: rgba(255, 255, 255, 0.1); /* optional subtle background */
}