/* Custom styles for Angel Mortgage Services */

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Service card hover effect */
.service-card {
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Process step hover */
.process-step:hover .w-16 {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(200, 164, 94, 0.1);
}

.process-step .w-16 {
    transition: all 0.3s ease;
}

/* Testimonial card hover */
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 13, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #C8A45E !important;
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15) !important;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #224788;
}

/* Selection color */
::selection {
    background: rgba(200, 164, 94, 0.3);
    color: #0a1628;
}
