﻿/* Mobile Menu */
.mobile-menu {
    position: fixed;
    bottom: -100px; /* Initially hidden */
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid #ddd;
    z-index: 1000;
    animation: slideUp 0.4s ease-out forwards;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

/* Menu Items */
.menu-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out, transform 0.2s ease;
}

    /* Scale Effect on Hover */
    .menu-item:hover {
        transform: scale(1.1);
    }

    /* Icons */
    .menu-item i {
        font-size: 22px;
        display: block;
        margin-bottom: 2px;
        transition: transform 0.3s ease;
    }

    /* Ripple Effect */
    .menu-item:active::after {
        content: "";
        position: absolute;
        width: 80px;
        height: 80px;
        background: rgba(0, 123, 255, 0.3);
        border-radius: 50%;
        transform: scale(0);
        animation: ripple 0.5s linear;
    }

/* Ripple Animation */
@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 0.6;
    }

    to {
        transform: scale(4);
        opacity: 0;
    }
}
