/* Variables and Common */
:root {
  --teal: #0799aa;
  --teal-dark: #048697;
  --navy: #14334c;
  --text: #26394a;
  --muted: #5f6f7c;
  --line: #cbe7ec;
  --soft: #edf8fa;
  --card: #ffffff;
}

/* Header Style */
.topbar {
  min-height: 84px;
  display: flex;
  align-items: center;
  background: #fff; /* Solid white for inner pages */
  border-bottom: 1px solid #d9e9ee; /* Border for inner pages */
  position: relative;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;
}

.topbar .wrap {
  width: min(calc(100% - 96px), 1260px);
  margin: 0 auto;
}

.topbar .nav {
  display: grid;
  grid-template-columns: 360px 1fr 230px;
  align-items: center;
  gap: 24px;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar .brand-logo {
  display: block;
  width: 360px;
  height: 112px;
  background-image: url("/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  overflow: hidden;
  text-indent: -9999px;
}

.topbar .menu {
  display: flex;
  justify-content: flex-start;
  padding-left: 24px;
  gap: clamp(18px, 1.8vw, 32px);
  color: #172c40;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar .menu a {
  color: #172c40;
  text-decoration: none;
}

.topbar .menu a:hover {
  color: var(--teal);
}

.topbar .menu a.active {
  color: var(--teal);
}

.topbar .btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(180deg, #12aabb, #0494a5);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.topbar .btn.round {
  height: 40px;
  border-radius: 22px;
}

.topbar .btn svg {
  width: 15px;
  height: 15px;
}

.topbar .mobile-menu {
  display: none;
}

@media (max-width: 1180px) {
  .topbar .wrap {
    width: min(100% - 48px, 960px);
  }

  .topbar .nav {
    grid-template-columns: 1fr auto;
    transform: none;
  }

  .topbar .menu,
  .topbar .nav > .btn {
    display: none;
  }

  .topbar .mobile-menu {
    display: inline-flex;
    color: var(--teal);
    border-color: var(--teal);
    background: #fff;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    padding: 16px 0;
  }

  .topbar .wrap {
    width: min(100% - 32px, 900px);
  }

  .topbar .nav {
    grid-template-columns: 1fr auto;
  }
}

/* Footer Style */
footer.global-footer {
  padding: 28px 0 14px;
  background: #fff;
  border-top: 1px solid #d9e9ee;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}

footer.global-footer a {
  color: inherit;
  text-decoration: none;
}

footer.global-footer .wrap {
  width: min(calc(100% - 96px), 1260px);
  margin: 0 auto;
}

footer.global-footer .footer-grid {
  display: grid;
  grid-template-columns: 300px 180px 340px 1fr;
  gap: 36px;
}

footer.global-footer .footer-logo {
  display: block;
  width: 280px;
  height: 124px;
  background-image: url("/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  overflow: hidden;
  text-indent: -9999px;
}

footer.global-footer h3 {
  margin: 0 0 12px;
  color: #17324b;
  font: 700 18px Georgia, serif;
}

footer.global-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer.global-footer li {
  margin-bottom: 7px;
  color: #314657;
  font-size: 12px;
}

footer.global-footer .two-col {
  columns: 2;
  column-gap: 28px;
}

footer.global-footer .footer-contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
}

footer.global-footer .socials {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 9px;
}

footer.global-footer .socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

footer.global-footer .legal {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  color: #50606b;
  font-size: 11px;
}

@media (max-width: 1180px) {
  footer.global-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  footer.global-footer .wrap {
    width: min(100% - 48px, 960px);
  }
}

@media (max-width: 900px) {
  footer.global-footer .wrap {
    width: min(100% - 32px, 900px);
  }
}
