/* HR India Solutions: shared styles. Page layout lives in inline styles on each page. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #0B1F3A; font-family: 'Figtree', 'Segoe UI', Arial, sans-serif; color: #334155; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #1F7A3A; outline-offset: 2px;
}
main { display: block; background: #FFFFFF; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: #FFFFFF; color: #0F172A; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Client ticker on the home page */
@keyframes hris-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hris-ticker:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hris-ticker { animation: none !important; flex-wrap: wrap; width: auto !important; }
  .hris-ticker ul[aria-hidden="true"] { display: none !important; }
}

/* Small screens: shrink the header and let the menu scroll sideways */
@media (max-width: 720px) {
  header img { height: 44px !important; width: auto !important; }
  header nav { width: 100%; flex-wrap: nowrap !important; overflow-x: auto; gap: 20px !important; padding-bottom: 4px; }
  header nav a { white-space: nowrap; }
}
