/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a6b1a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

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

/* Scroll Reveal Animations */
/* All reveal elements are visible by default (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .program-reveal,
    .program-card {
        opacity: 1;
        transform: none;
    }

    .why-image-reveal,
    .why-text-reveal {
        opacity: 1;
        transform: none;
    }

    .process-reveal,
    .process-step {
        opacity: 1;
        transform: none;
    }

    .testimonial-card {
        opacity: 1;
        transform: none;
    }

    .contact-reveal,
    .contact-form-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Subtle hover effects */
.program-card:hover {
    border-color: #d9ecd9;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1a6b1a;
    outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1a6b1a;
}

/* Selection color */
::selection {
    background: #d9ecd9;
    color: #0c300c;
}
