/* Mobile menu styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 999;
        max-height: 70vh; /* Ensure it doesn't take full screen */
        overflow-y: auto; /* Make it scrollable */
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001; /* Ensure it's above other elements */
    }
    
    /* Add transition for hamburger icon */
    .mobile-menu i {
        transition: transform 0.3s ease;
    }
}