/* Last update 5:40 PM 6/24/25 */
/* Accessibility Enhancements */
/* Screen Reader Only */
.sr-only,
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
white-space: nowrap;
border: 0;
}

/* ARIA Hidden Element */
[aria-hidden="true"] {
display: none;
}

/* Responsive Banner */
.custom-img {
width: 100% !important;
height: auto !important;
max-width: 1200px !important;
}
/* Improved Link Styling */
.bill-link {
  font-size: 1rem; /* Larger text */
  font-weight: bold;
  font-style: italic;
  display: inline-block; /* Shrinks to text content */
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.3s ease-in-out, outline 0.3s ease-in-out; /* Smooth visual feedback */
}

.bill-link:hover,
.bill-link:focus {
  color: #003366; /* Navy tone on hover/focus */
  text-decoration: underline;
}

.bill-link:focus {
  outline: 5px dashed red; /* Highly visible for keyboard users */
}

.bill-link:active {
  color: green; /* Feedback on active state */
}

.bill-link:visited {
  color: purple; /* Clear indication of visited state */
}

/* Base style */
.bill-section img {
  width: 100%;
  max-width: 600px;
  height: auto;
}
/* Optional tweaks for smaller screens */
@media (max-width: 768px) {
  .bill-section img {
    max-width: 90%;
  }
}

#float {
position: fixed;
top: 25%; /* Center vertically */
left: 10px; /* Adjust distance from left edge */
transform: translateY(-50%); /* Ensures perfect vertical centering */
z-index: 1000; /* Keeps it above other elements */
}

#float img {
width: auto; /* Maintains aspect ratio */
height: 100px; /* Sets the fixed height */
cursor: pointer; /* Makes it clickable */
}

.accessibility-icon {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


#hitCounter {
font-size: clamp(1rem, 5vw, 6.5rem);
}

/* Fix contrast for visually hidden text */
/* Ensure elements remain hidden while keeping them accessible for screen readers */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
color: #444; /* Slightly lighter gray for better contrast */
}

/* Improve Footer and Copyright Visibility */
#footer-nav-heading, #copyright-info {
color: #222; /* Darker shade improves readability */
}

/* Fix Visitor Count Heading */
#visitor-count-heading, #hitCounter {
font-size: 3.5rem;
color: #222; /* Slightly lighter than pure black */
font-weight: bold;
}

/* Improve Button & Background Contrast */
button, span {
background-color: #FDF997;
color: #000000; /* White text for maximum readability */
}

/* BIG BUTTON */
.centered-button-container {
  text-align: center;
  margin: 2rem 0;
}


/* Adjust External Links */
a {
color: #003366; /* Dark navy for readability */
text-decoration: none;
}

a:hover {
color: #cc0000; /* Strong red for high contrast */
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 0.75em 1.25em;
  font-size: 1.1em;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.3s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
}