/* Animated Button Styles */
.animated-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: bold;
  color: var(--orange);
  background-color: transparent;
  border: 2px solid var(--orange);
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.animated-button:hover {
  background-color: var(--orange);
  color: #fff;
}

/* Animated Menu Styles */
.animated-menu-wrapper {
  display: flex;
  position: relative;
  max-width: 100%;
  border-radius: 100px;
  overflow: hidden;
  border: 3px solid rgba(0, 0, 0, 0.1);
  padding: 7px;
}

.animated-menu-container {
  width: 100%;
}

.animated-menu-container ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.animated-menu-container li {
  border-radius: 100px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.animated-menu-container .menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: #000;
  background-color: transparent;
  text-decoration: none;
  transition: color 0.3s ease;
  width: 100%;
  height: 100%;
}
.animated-menu-container .menu-item,
.animated-menu-container .menu-item:hover,
.animated-menu-container .menu-item:focus,
.animated-menu-container .menu-item:active {
  background: none !important;
  background-color: transparent !important;
  outline: none;
  * {
    background-color: transparent !important;
    background: none !important;
    outline: none;
  }
}
/* Neutralize Chrome-specific focus states */
.animated-menu-container .menu-item:focus {
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Chrome-specific hack to target focus states */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  .animated-menu-container .menu-item:focus {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* .animated-menu-container .active {
  background-color: var(--orange);
} */

.animated-menu-container .active .menu-item {
  color: #fff;
  pointer-events: none;
}

.animated-menu-container .active .menu-item a {
  background-color: transparent;
}

/* Sliding background indicator */
.menu-background-slide {
  position: absolute;
  height: calc(100% - 14px);
  top: 7px;
  left: 0;
  width: 50%;
  background-color: var(--orange);
  border-radius: 100px;
  transition: transform 0.3s ease;
  z-index: 0;
}
