:root {
  color-scheme: light;
  --navy: #003b71;
  --navy-dark: #002b5c;
  --blue: #0077cc;
  --blue-soft: #eaf6ff;
  --hero-blue: #e8f5fe;
  --ink: #071d39;
  --muted: #52677c;
  --line: #ddeaf5;
  --surface: #ffffff;
  --shadow: 0 14px 35px rgba(0, 43, 92, 0.12);
  --pad: clamp(20px, 4.4vw, 84px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.portal-header {
  position: relative;
  z-index: 5;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid rgba(0, 43, 92, 0.08);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-height: 94px;
  padding: 0 var(--pad);
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 275px;
  color: var(--navy-dark);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 64px;
  flex: 0 0 auto;
  overflow: hidden;
  background: linear-gradient(145deg, #eaf6ff, #fff);
  border: 1px solid rgba(0, 59, 113, 0.16);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 43, 92, 0.08);
}

.brand-mark img {
  display: block;
  width: 40px;
  height: 40px;
  image-rendering: auto;
}

.brand-text strong,
.brand-text em {
  display: block;
  font-style: normal;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text em {
  margin-top: 0.18rem;
  color: var(--navy-dark);
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
  font-weight: 950;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2.35vw, 2.65rem);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--blue);
  outline: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  width: 48px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 20px;
  flex: 0 0 auto;
}

.header-icon-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 43, 92, 0.14);
  outline: none;
}

.bip-icon {
  background: #ffffff;
  border: 1px solid #e4edf6;
  position: relative;
  overflow: hidden;
}

.bip-icon::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 38%;
  background: #e30613;
}

.bip-icon span {
  position: relative;
  z-index: 2;
  color: #e30613;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.shield-icon {
  background: linear-gradient(145deg, #eaf6ff, #ffffff);
  border: 1px solid #d9e8f5;
}

.shield-icon svg {
  width: 27px;
  height: 27px;
  fill: #0077cc;
  stroke: #003b71;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shield-icon:hover svg,
.shield-icon:focus-visible svg {
  fill: #005fa8;
}

#site-content,
.portal-home {
  width: 100%;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 345px;
  padding: 3.2rem var(--pad) 2.7rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--hero-blue) 0%, rgba(232, 245, 254, 0.98) 38%, rgba(232, 245, 254, 0.5) 51%, rgba(232, 245, 254, 0) 68%),
    linear-gradient(90deg, rgba(232, 245, 254, 0) 0%, rgba(232, 245, 254, 0) 76%, var(--hero-blue) 98%),
    linear-gradient(180deg, rgba(232, 245, 254, 0) 0%, rgba(232, 245, 254, 0) 78%, var(--hero-blue) 100%),
    url("assets/hero-water.png") right center / auto 100% no-repeat,
    var(--hero-blue);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: var(--navy-dark);
  font-size: clamp(2.6rem, 4.25vw, 5.1rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 1.15rem 0 0;
  max-width: 650px;
  color: #213a56;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.water-visual {
  display: none;
}

.water-visual::before {
  content: "";
  position: absolute;
  inset: -22% -8% -14% -16%;
  background:
    radial-gradient(ellipse at 64% 66%, rgba(255, 255, 255, 0.96) 0 7%, rgba(151, 211, 248, 0.74) 8% 12%, transparent 13%),
    radial-gradient(ellipse at 64% 66%, transparent 0 15%, rgba(0, 82, 147, 0.35) 16% 17%, transparent 18%),
    radial-gradient(ellipse at 64% 66%, transparent 0 22%, rgba(0, 119, 204, 0.28) 23% 24%, transparent 25%),
    radial-gradient(ellipse at 64% 66%, transparent 0 30%, rgba(0, 59, 113, 0.2) 31% 32%, transparent 33%),
    radial-gradient(ellipse at 64% 66%, transparent 0 40%, rgba(0, 119, 204, 0.12) 41% 42%, transparent 43%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(191, 228, 250, 0.35));
  filter: saturate(1.12);
}

.water-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.36));
}

.water-drop {
  position: absolute;
  left: 64%;
  z-index: 2;
  display: block;
  background: linear-gradient(155deg, #ffffff 0%, #79c7f5 42%, #003b71 100%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(0, 43, 92, 0.28);
}

.water-drop-small {
  top: 22px;
  width: 10px;
  height: 10px;
}

.water-drop-medium {
  top: 66px;
  width: 18px;
  height: 18px;
}

.water-drop-main {
  top: 115px;
  width: 38px;
  height: 88px;
  border-radius: 56% 56% 62% 12px;
  transform: translateX(-11px) rotate(45deg);
}

.ripple {
  position: absolute;
  left: 64%;
  top: 68%;
  z-index: 1;
  border: 2px solid rgba(0, 59, 113, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ripple-one {
  width: 185px;
  height: 44px;
}

.ripple-two {
  width: 310px;
  height: 72px;
}

.ripple-three {
  width: 470px;
  height: 108px;
}

.ripple-four {
  width: 640px;
  height: 148px;
  border-color: rgba(0, 119, 204, 0.11);
}

.news-section,
.contact-section {
  width: 100%;
  padding: 2.35rem var(--pad) 1.35rem;
  background: #fff;
}

.contact-section {
  padding-top: 1.15rem;
  padding-bottom: 2rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.15;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.text-link,
.news-card a,
.contact-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.text-link::after,
.news-card a::after {
  content: "  >";
}

.text-link:hover,
.text-link:focus-visible,
.news-card a:hover,
.news-card a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45rem;
}

.news-card,
.contact-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  min-height: 170px;
  padding: 1.5rem 1.45rem;
}

.news-card time {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.7rem;
  color: #3a5068;
  font-size: 0.86rem;
  font-weight: 800;
}

.news-card time::before {
  content: "□";
  margin-right: 0.52rem;
  color: var(--blue);
  font-weight: 950;
}

.news-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.32;
}

.news-card p {
  margin: 0.6rem 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  align-self: center;
  color: var(--navy);
  background: #edf6ff;
  border-radius: 50%;
  font-size: 2.1rem;
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.02fr 1fr 1fr;
  gap: 1.35rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.05rem;
  min-height: 105px;
  padding: 1.2rem 1.25rem;
}

.contact-icon {
  grid-row: 1 / span 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--navy);
  background: #edf6ff;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 950;
}

.contact-card > span:not(.contact-icon) {
  display: block;
  color: #52677c;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.32;
}

.contact-card p {
  margin: 0;
  color: var(--ink);
}

.contact-card a {
  display: inline-flex;
  width: max-content;
}

.contact-card-alert {
  color: #fff;
  background: linear-gradient(145deg, #003b71, #002b5c);
  border-color: #003b71;
  box-shadow: 0 16px 38px rgba(0, 43, 92, 0.22);
}

.contact-card-alert .contact-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-card-alert > span:not(.contact-icon),
.contact-card-alert strong,
.contact-card-alert p {
  color: #fff;
}

.content-panel {
  width: 100%;
  padding: 2rem var(--pad);
  background: #fff;
}

#contentFrame {
  display: block;
  width: 100%;
  min-height: 740px;
  overflow: hidden;
  background: #fff;
  border: 0;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #002b5c;
}

.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.noscript-links {
  width: 100%;
  margin: 0;
  padding: 1rem var(--pad);
  background: #fff;
}

.noscript-links a {
  display: inline-block;
  margin: 0 0.75rem 0.5rem 0;
}

@media (max-width: 1180px) {
  .main-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-section {
    min-height: 330px;
    background-size: auto 100%;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 840px) {
  .news-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 360px;
    padding-top: 2.4rem;
    background:
      linear-gradient(90deg, var(--hero-blue) 0%, rgba(232, 245, 254, 0.98) 54%, rgba(232, 245, 254, 0.82) 100%),
      linear-gradient(180deg, rgba(232, 245, 254, 0) 0%, rgba(232, 245, 254, 0) 78%, var(--hero-blue) 100%),
      url("assets/hero-water.png") right bottom / auto 78% no-repeat,
      var(--hero-blue);
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 560px) {
  .main-nav {
    min-height: 0;
  }

  .header-actions {
    gap: 8px;
  }

  .header-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .bip-icon span {
    font-size: 11px;
  }

  .shield-icon svg {
    width: 24px;
    height: 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 50px;
    height: 58px;
  }

  .brand-text strong {
    font-size: 0.74rem;
  }

  .brand-text em {
    font-size: 1.05rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .news-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .news-icon {
    justify-self: start;
  }

  .contact-icon {
    grid-row: auto;
  }
}

