* { box-sizing: border-box; }
body {
  margin: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
.page { width: 80%; margin: 0 auto; }

header {
  width: 100%;
  text-align: center;
  padding: 30px 20px 20px;
  border-bottom: 1px solid #ccc;
  position: relative;
}
.topbar-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #f2f2f2;
  border: 1px solid #ccc;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 18px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.topbar-btn:hover { background: #e6e6e6; }
.topbar-btn.active { background: #2454C7; color: #ffffff; font-weight: bold; border-color: #2454C7; }

.header-line1 { display: flex; align-items: center; justify-content: center; gap: 16px; }
.header-line1 img { width: 52px; height: 52px; }
.header-line1 span { font-size: 34px; font-weight: bold; letter-spacing: 0.5px; }
.header-line2 { font-size: 18px; margin-top: 12px; color: #333; }
.header-line3 { font-size: 18px; margin-top: 4px; color: #333; }

nav.mainmenu {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  background: #f2f2f2;
  border-bottom: 1px solid #ccc;
}
nav.mainmenu a {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid #ccc;
  padding: 14px 8px;
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  color: #1a1a1a;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
nav.mainmenu a:last-child { border-right: none; }
nav.mainmenu a:hover { background: #e6e6e6; }
nav.mainmenu a.active { background: #2454C7; color: #ffffff; font-weight: bold; }

.body-wrap { display: flex; width: 100%; min-height: 480px; }

.carousel-col {
  width: 50%;
  border-right: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  background: #ffffff;
}
.carousel-frame { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.carousel-col img {
  max-width: 100%; max-height: 100%; width: 100%; height: auto;
  object-fit: contain; display: none;
}
.carousel-col img.showing { display: block; }

.content-col { width: 50%; padding: 30px 40px; }
.content-col h1 { font-size: 19px; margin: 0 0 16px; }
.content-col p { margin: 0 0 12px; }
.content-col ul { margin: 0; padding: 0; list-style: none; }
.content-col ul ul { margin-top: 4px; }
.content-col li { padding: 7px 0; font-size: 15px; }
.content-col li li { padding-left: 28px; font-size: 15px; }
.content-col a { color: #2454C7; }
.content-col h2 { font-size: 15px; margin: 18px 0 6px; }
.content-col table { border-collapse: collapse; margin: 10px 0; font-size: 13.5px; }
.content-col table th, .content-col table td { border: 1px solid #ccc; padding: 6px 10px; text-align: left; }
.content-col table th { background: #f2f2f2; }

form.contact-form { display: grid; gap: 12px; max-width: 380px; margin-top: 6px; }
form.contact-form label { font-size: 13px; color: #333; display: block; margin-bottom: 4px; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; font-family: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #ccc;
}
form.contact-form button {
  justify-self: start; background: #2454C7; color: #fff; border: none;
  padding: 10px 20px; font-size: 14px; cursor: pointer;
}

.clients-ticker { width: 100%; background: #2454C7; overflow: hidden; white-space: nowrap; padding: 16px 0; margin-top: 20px; }
.clients-track { display: inline-block; animation: scrollTicker 110s linear infinite; }
.clients-track .client {
  display: inline-block; color: #ffffff; font-family: 'Oswald', Arial, sans-serif;
  font-weight: 400; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0 28px; border-right: 2px solid rgba(255,255,255,0.35);
}
@keyframes scrollTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

footer.legalfooter { width: 100%; border-top: 1px solid #ccc; padding: 16px 20px; text-align: center; background: #fafafa; }
footer.legalfooter a { color: #555; font-size: 13px; font-family: inherit; text-decoration: underline; padding: 4px 10px; }
footer.legalfooter a:hover { color: #2454C7; }
footer.legalfooter .sep { color: #bbb; }
footer.legalfooter .copyline { margin-top: 8px; font-size: 12px; color: #999; }

@media (max-width: 720px) {
  .page { width: 92%; }
  .topbar-btn { position: static; transform: none; display: block; margin: 0 auto 14px; width: max-content; }
  .body-wrap { flex-direction: column; }
  .carousel-col, .content-col { width: 100%; }
  .carousel-col { border-right: none; border-bottom: 1px solid #ccc; }
  nav.mainmenu { flex-wrap: wrap; }
  nav.mainmenu a { flex: 1 1 33%; border-bottom: 1px solid #ccc; }
}
