.navigation {
    width: 360px;
    height: 70px;
    background: #ff7e40;
    position: fixed; 
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(255, 126, 64, 0.3);
    z-index: 9999; 
}

.navigation ul {
    display: flex;
    width: 300px;
    padding: 0;
    margin: 0;
    position: relative;
}

.navigation ul li {
    position: relative;
    list-style: none;
    width: 60px;
    height: 70px;
    z-index: 2;
}

.navigation ul li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.navigation ul li a .icon {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%); 
    font-size: 1.5rem;
    color: #ffffff;
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3;
}

.navigation ul li.active a .icon {
    transform: translate(-50%, -22px); 
    color: #ff7e40;
}

.navigation ul li a .text {
    position: absolute;
    bottom: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.7em;
    letter-spacing: 0.05em;
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(20px);
}

.navigation ul li.active a .text {
    opacity: 1;
    transform: translateY(0);
}

.indicator {
    position: absolute;
    top: -12px;
    left: 6px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.15);
}

.navigation ul li:nth-child(1).active ~ .indicator { transform: translateX(calc(60px * 0)); }
.navigation ul li:nth-child(2).active ~ .indicator { transform: translateX(calc(60px * 1)); }
.navigation ul li:nth-child(3).active ~ .indicator { transform: translateX(calc(60px * 2)); }
.navigation ul li:nth-child(4).active ~ .indicator { transform: translateX(calc(60px * 3)); }
.navigation ul li:nth-child(5).active ~ .indicator { transform: translateX(calc(60px * 4)); }