@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
.wrapper {
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
}
header { padding: 18px 0 0; }
.header-image {
  display: block;
  width: 100%;
  height: auto;
}
nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: 14px 0 28px;
  padding: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 17px;
}
nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  padding: 7px 4px;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
nav a::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  background: #003b73;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}
nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}
nav a.active { color: #008000; }
nav a.active::after {
  transform: scaleX(0.55);
}
main { padding-bottom: 36px; }
.code-title {
  position: relative;
  display: inline-block;
  margin: 0 0 24px;
  padding: 0 0 7px;
  color: #003b73;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.code-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #003b73;
  transform-origin: left center;
  animation: titleLine 2.8s ease-in-out infinite;
}
@keyframes titleLine {
  0%, 100% { transform: scaleX(0.18); transform-origin: left center; }
  45% { transform: scaleX(1); transform-origin: left center; }
  55% { transform: scaleX(1); transform-origin: right center; }
  100% { transform: scaleX(0.18); transform-origin: right center; }
}
.lead {
  font-size: 18px;
  margin-top: 0;
}
.hero-copy { margin-bottom: 30px; }
.highlight {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid #008000;
  background: #fafafa;
}
.highlight h2 { margin: 0 0 8px; font-size: 19px; font-weight: normal; }
.section { margin: 0 0 32px; }
h2.subhead {
  margin: 24px 0 4px;
  font-size: 17px;
  font-weight: bold;
}
p { margin: 0 0 14px; }
ul { margin: 8px 0 18px 24px; padding: 0; }
li { margin-bottom: 12px; }
a { color: #0066cc; }
a:hover { color: #008000; }
.status-ok { color: #008000; font-weight: bold; }
.status-dot { color: #008000; }
.button {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 9px 15px;
  border: 1px solid #888;
  background: #eee;
  color: #111;
  text-decoration: none;
}
.button:hover { background: #ddd; color: #111; }
.small { font-size: 14px; }
.contact { white-space: normal; }
.service-hero {
  width: 100%;
  margin: 0 0 30px;
  overflow: hidden;
}
.service-hero img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  padding: 18px 0 30px;
  border-top: 1px solid #ddd;
  color: #555;
  font-size: 13px;
}
@media (max-width: 700px) {
  .wrapper { width: min(100% - 20px, 1000px); }
  nav { grid-template-columns: repeat(3, 1fr); }
  nav a { min-height: 40px; }
  .code-title { font-size: 19px; }
  .lead { font-size: 17px; }
}
