/* Mobile Fixed Navigation Bar */
.mobile-fixed-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4d5bed 0%, #3a47d5 100%);
    box-shadow: 0 -2px 10px rgba(77, 91, 237, 0.2);
    z-index: 999;
    display: none;
    padding: 4px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show only on mobile devices */
@media (max-width: 991px) {
    .mobile-fixed-nav {
        display: block;
    }

    /* Add padding to body to prevent content from being hidden */
    body {
        padding-bottom: 55px;
    }
}

.mobile-fixed-nav__container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    flex: 1;
    max-width: 100px;
    background: transparent;
    border: none;
    outline: none;
}

.mobile-nav-btn:hover,
.mobile-nav-btn:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.mobile-nav-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-btn__icon {
    font-size: 20px;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.mobile-nav-btn:hover .mobile-nav-btn__icon {
    transform: scale(1.1);
}

.mobile-nav-btn__text {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

/* Ripple effect on tap */
.mobile-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mobile-nav-btn:active::before {
    width: 80px;
    height: 80px;
}

/* Badge for notifications (optional future use) */
.mobile-nav-btn__badge {
    position: absolute;
    top: 3px;
    right: 8px;
    background: #ff5757;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
}

/* Animation on page load */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-fixed-nav {
    animation: slideUp 0.4s ease-out;
}

/* Responsive adjustments */
@media (max-width: 575px) {
    .mobile-nav-btn {
        padding: 4px 8px;
    }

    .mobile-nav-btn__icon {
        font-size: 18px;
    }

    .mobile-nav-btn__text {
        font-size: 8px;
    }
}

@media (max-width: 375px) {
    .mobile-nav-btn__text {
        font-size: 7px;
    }

    .mobile-nav-btn__icon {
        font-size: 16px;
        margin-bottom: 1px;
    }
}

/* Hide cursor pointer on mobile devices */
@media (max-width: 991px) {
    #cursor-pointer {
        display: none !important;
    }
}