:root {
  --theme-bg: #f2f5f7;
  --theme-surface: #ffffff;
  --theme-surface-alt: #0f2f3f;
  --theme-text: #1f2d35;
  --theme-text-muted: #5b6973;
  --theme-primary: #1b7f8b;
  --theme-primary-dark: #135c68;
  --theme-accent: #e9f5f7;
  --theme-border: #d8e1e5;
  --theme-shadow: 0 14px 34px rgba(17, 42, 56, 0.12);
  --theme-radius: 14px;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--theme-text);
  background: linear-gradient(180deg, #eef4f7 0%, #f8fbfc 45%, #ffffff 100%);
}

.container {
  max-width: 1200px;
}

.topbar .container-fluid,
.site-header-container,
.footer-bk .container-fluid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

p,
li,
span {
  color: var(--theme-text);
}

a {
  color: var(--theme-primary-dark);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

a:hover,
a:focus {
  color: var(--theme-primary);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #102a3a;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.control {
  overflow-x: hidden;
  padding-bottom: 2.5rem;
}

.menu-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--theme-border);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.topbar {
  background: linear-gradient(90deg, #16394d 0%, #1f5569 100%);
  color: #fff;
  font-size: 0.95rem;
  padding: 0.4rem 0;
}

.topbar .textwidget p,
.topbar p,
.topbar a,
.topbar span,
.topbar strong {
  color: #e9f4f8;
  margin-bottom: 0;
}

.topbar a:hover,
.topbar a:focus {
  color: #ffffff;
}

.topbar-col {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.topbar-col-right {
  justify-content: flex-end;
}

.site-header-container {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.navbar {
  padding: 0;
}

.navbar-brand {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  margin-right: 1.5rem;
  color: #123247 !important;
}

.navbar-toggler {
  border: 1px solid var(--theme-border) !important;
  border-radius: 10px;
  width: auto;
  margin-left: auto;
  padding: 0.5rem 0.75rem;
  background: #fff;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2818, 50, 71, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  gap: 0.15rem;
}

.navbar-expand-xl .navbar-nav .nav-link,
a.nav-link {
  border-radius: 9px;
  border: 1px solid transparent;
  color: #244255 !important;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  margin-left: 0;
  padding: 0.65rem 0.95rem;
}

a.nav-link.active,
a.nav-link:hover,
a.nav-link:focus {
  border-color: #9fcdd6;
  background: var(--theme-accent);
  color: #153d4f !important;
}

.title-bar {
  background: radial-gradient(circle at 15% 10%, rgba(57, 131, 149, 0.24) 0%, rgba(14, 38, 54, 0.96) 62%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 0 3.5rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.title-bar h1,
.title-bar h2,
.title-bar h3 {
  color: #fff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
}

.home .title-bar {
  display: none !important;
}

.border-space {
  padding: 1.2rem;
  margin-bottom: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.notice-row {
  margin-bottom: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.date-block,
.date-block-wrapper {
  background: #214d62;
  color: #fff;
  font-weight: 700;
  margin: auto;
  text-align: center;
}

.inner-notice {
  padding: 12px;
  background: #fff;
}

.centered {
  text-align: center;
  background: #ecf2f4;
  color: #1f2d35;
  padding: 8px;
  margin-top: -10px;
  margin-bottom: 16px !important;
}

.centered p {
  margin-bottom: 5px;
}

ul.ag {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.ag li a {
  display: block;
  background: #187685;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  color: #fff;
}

.ag li a:hover,
.ag li a:focus {
  background: #125c68;
  color: #fff;
}

.service-box {
  color: #fff;
  background: linear-gradient(180deg, #1f2f3c 0%, #213d4f 100%);
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
}

.service-box h3,
.service-box p,
.service-box a,
.service-box h3 a {
  color: #fff;
}

.service-box h3 {
  font-size: 1.45em;
  min-height: 45px;
}

.service-box hr {
  background: #98c6d6;
}

.service-box:hover {
  background: linear-gradient(180deg, #20889c 0%, #1d6f80 100%);
}

.service-linebreak {
  margin-bottom: 24px;
}

.col-md-4 .service-linebreak {
  background: transparent;
}

ul#menu-sidebar-services.menu,
.footer-bk ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu-sidebar-services li a {
  display: block;
  border-bottom: 1px solid #c9d8df;
  color: #1d3c4f;
  padding: 8px 0;
}

.footer-bk {
  padding: 2.1rem 0;
  color: #fff;
  background: linear-gradient(155deg, #223746 0%, #172933 100%);
}

.footer-bk h3,
.footer-bk h3 a,
.footer-bk a,
.footer-bk p,
.footer-bk li {
  color: #f2f8fb;
}

.footer-bk .menu li {
  display: inline-block;
  margin: 0.2rem 0.35rem 0.2rem 0;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 227, 227, 0.4);
}

footer,
.site-footer {
  background: #0f1f2a;
  color: #dce8ef;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

footer p,
.site-footer p,
.site-footer .copyright {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #dce8ef;
}

footer a,
.site-footer a {
  color: #ffffff;
  font-weight: 700;
}

footer a:hover,
.site-footer a:hover,
footer a:focus,
.site-footer a:focus {
  color: #9fd9e5;
}

.table td,
.table th,
.table .thead-dark th {
  text-align: center;
}

.table .fa {
  font-size: 2rem !important;
  text-align: center !important;
  color: #05a44a;
  padding-top: 9px;
}

th {
  font-weight: 400 !important;
}

th strong,
b,
strong {
  font-weight: 700 !important;
}

.white,
.white a {
  color: #fff;
}

.theme-default .nivoSlider {
  box-shadow: none !important;
}

.nivoSlider img {
  height: 100%;
}

.attachment-thumbnail {
  margin: 10px 8px !important;
  border: 1px solid #e4e4e4;
}

br.clear {
  display: none;
}

.vc_load-inline-editor,
.post-edit-link {
  display: none !important;
}

@media (max-width: 1199.98px) {
  .navbar-collapse {
    margin-top: 0.75rem;
    border-top: 1px solid var(--theme-border);
    padding-top: 0.5rem;
  }

  .navbar-nav {
    width: 100%;
    gap: 0.25rem;
  }

  .navbar-expand-xl .navbar-nav .nav-link,
  a.nav-link {
    width: 100%;
    text-align: left;
    padding: 0.8rem 0.95rem;
  }

  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .title-bar {
    padding: 3.2rem 0 2.5rem;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 16.5px;
    line-height: 1.65;
  }

  .topbar {
    font-size: 0.86rem;
  }

  .topbar-col,
  .topbar-col-right {
    justify-content: center;
    text-align: center;
    min-height: 34px;
  }

  .topbar-col-right {
    padding-top: 0.2rem;
  }

  .navbar-brand {
    max-width: 78%;
    white-space: normal;
    line-height: 1.2;
  }

  .border-space {
    padding: 0;
  }

  .service-box h3 {
    min-height: auto;
  }

  .footer-bk {
    padding: 1.6rem 0;
  }

  footer,
  .site-footer {
    padding: 0.9rem 0.75rem;
  }
}
