.sticky-navigation {
  display: flex;
  flex-direction: row;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 70px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  z-index: 10;
  font-size: 1.4rem;
}

.navbar {
  display: flex;
  width: 100%;
  pointer-events: auto;
}

.sticky-tab {
  display: flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #0a114b;
  letter-spacing: 0.1rem;
  font-size: 1.4rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  padding: 15px 0;
  transition: color 0.3s ease, background 0.3s ease;
}

.sticky-tab:hover,
.sticky-tab:active {
  color: #0a114b;
}

.sticky-tab::after {
  content: "";
  position: absolute;
  bottom: 0.8%;
  left: 50%;
  width: 0;
  height: 2px;
  background: #092532;
  transition: width 0.3s ease, left 0.3s ease;
}

.sticky-tab:hover::after,
.sticky-tab:active::after {
  width: 100%;
  left: 0;
}

.sticky-tab.active {
  color: #0a114b;
}

.sticky-tab.active::after {
  width: 100%;
  left: 0;
}

@media (max-width: 768px) {
  .sticky-navigation {
    flex-direction: column;
    height: auto;
  }

  .navbar {
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .navbar.active {
    display: flex;
    max-height: 100vh;
  }

  .toggle-btn {
    display: block;
    background: none;
    border: none;
    color: #0a114b;
    font-size: 1.5rem;
    padding: 15px;
    cursor: pointer;
    text-align: left;
  }

  .sticky-tab {
    font-size: 1rem;
    padding: 10px 15px;
    text-align: left;
  }
}

@media (min-width: 769px) {
  .toggle-btn {
    display: none;
  }

  .navbar {
    display: flex;
    flex-direction: row;
  }
}