/* Custom styles for Options Counseling Svces */

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

/* Base link reset */
.nav-link {
    cursor: pointer;
    text-decoration: none;
}

/* Navbar transitions */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(16, 42, 67, 0.06);
}

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

/* Service card hover */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 42, 67, 0.06);
}

/* Approach step hover */
.approach-step {
    transition: transform 0.3s ease;
}

.approach-step:hover {
    transform: translateY(-4px);
}

/* Mobile menu animations */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Menu toggle animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

/* Mobile links */
.mobile-link {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #3cbf7a;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .approach-step,
    .nav-link {
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Scroll reveal (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #627d98;
}
