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

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #2D4A33;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1A2E23;
}

/* Selection Color */
::selection {
    background: #2D4A33;
    color: #F9F9F7;
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Navbar Transition */
#navbar.scrolled {
    background: rgba(26, 46, 35, 0.95);
    backdrop-filter: blur(10px);
}

#navbar.scrolled .nav-link {
    color: #F9F9F7;
}
