/* Custom Animations and Styles */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(20, end);
}

.fade-in-text {
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 2s;
}

.skills-container {
    margin-top: 20px;
}

.skill-bar {
    background-color: #f3f4f6;
    border-radius: 5px;
    margin-bottom: 10px;
}

.skill-name {
    font-weight: bold;
    padding: 5px;
    background-color: #e5e7eb;
    border-radius: 5px 0 0 5px;
    display: inline-block;
    width: 200px;
}

.skill-progress {
    height: 30px;
    background-color: #3b82f6;
    border-radius: 0 5px 5px 0;
    transition: width 1.5s ease-in-out;
    width: 0;
}

/* Responsive Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
}
