/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Skip Navigation Link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 0 0 0.5rem 0;
    font-weight: 600;
}

.skip-to-main:focus {
    left: 0;
    top: 0;
    outline: 3px solid #ffbf47;
    outline-offset: 0;
}

/* Focus Indicators */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

/* High Contrast for Links */
a:focus,
a:hover {
    text-decoration: underline;
}

/* Touch Target Size for Mobile */
@media (max-width: 767px) {

    .btn,
    .nav-link,
    a[href^="tel"],
    button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
    }
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Visible (Modern browsers) */
:focus-visible {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Screen readers automatically ignore aria-hidden="true" elements */

/* Loading Spinner Accessibility */
.spinner-border {
    vertical-align: text-bottom;
}