/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08) !important;
}

.nav-scrolled .nav-link-text {
    color: #1e3a5f !important;
}

.nav-scrolled .menu-line {
    background: #1e3a5f !important;
}

/* Hero nav text */
.nav-link-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Mobile menu links */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Smooth select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Selection color */
::selection {
    background: #d4952a;
    color: white;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8fb3e0;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4952a;
    outline-offset: 2px;
    border-radius: 4px;
}
