/* Custom styles beyond Tailwind */

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

/* Navbar transitions */
.nav-logo-text,
.nav-logo-sub {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.nav-logo-sub {
    color: rgba(255, 255, 255, 0.4);
}

.navbar-scrolled .nav-logo-text,
.navbar-scrolled .nav-logo-sub {
    color: rgba(10, 22, 40, 0.8);
}

.navbar-scrolled .nav-logo-sub {
    color: rgba(10, 22, 40, 0.4);
}

.navbar-scrolled .nav-link {
    color: rgba(10, 22, 40, 0.7);
}

.navbar-scrolled .nav-link:hover {
    color: #3aad88;
}

.navbar-scrolled #navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

/* Mobile nav links */
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.7);
}

/* Service cards */
.service-card {
    background: #ffffff;
}

/* Process steps */
.process-step {
    position: relative;
}

/* Testimonial cards */
.testimonial-card {
    background: #ffffff;
}

/* Form selects */
select option {
    background: #0f1f3a;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Selection color */
::selection {
    background: rgba(58, 173, 136, 0.2);
    color: #0a1628;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5ec5a3;
}
