/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: top;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-10px) scaleY(0.95);
}

#mobile-menu.hidden {
    transform: translateY(-10px) scaleY(0.95);
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    padding-top: 0;
    padding-bottom: 0;
}

#mobile-menu:not(.hidden) {
    transform: translateY(0) scaleY(1);
    max-height: 300px;
    opacity: 1;
    padding-top: 0.75rem;
    padding-bottom: 1rem;
}

/* Individual menu items animation */
#mobile-menu a {
    transition: all 0.3s ease;
    transform: translateX(-20px);
    opacity: 0;
}

#mobile-menu:not(.hidden) a {
    transform: translateX(0);
    opacity: 1;
}

#mobile-menu:not(.hidden) a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu:not(.hidden) a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu:not(.hidden) a:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu:not(.hidden) a:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu:not(.hidden) a:nth-child(5) { transition-delay: 0.3s; }

#mobile-menu-button {
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 10px;
}

#mobile-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

#mobile-menu-button:active {
    transform: scale(0.95);
}

#mobile-menu-button i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

#mobile-menu-button.collapsed i {
    transform: rotate(0deg);
}

#mobile-menu-button:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Custom Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInLeft {
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 1s ease-out forwards;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(to right, #6B46C1, #4299E1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #6B46C1, #4299E1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #5B36B1, #3289D1);
}

/* Disable text selection on the entire body to prevent copying */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}
