/* Custom styles beyond Tailwind */

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

/* Hero section */
.hero {
    background-color: #102a43;
}

/* Navigation scroll effect */
.nav-scrolled {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button,
a {
    cursor: pointer;
}

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

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

::-webkit-scrollbar-thumb {
    background: #486581;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Form validation styles */
input:invalid:focus,
textarea:invalid:focus {
    border-color: #ef4444;
}

input:valid:focus,
textarea:valid:focus {
    border-color: #22c55e;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
