:root {
  --navy: #003f6b;
  --blue: #017886;
  --teal: #00d398;
  --ink: #263746;
  --muted: #61717e;
  --paper: #ffffff;
  --mist: #eef9f8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.navbar,
button,
input,
select,
textarea {
  font-family: "Segoe UI", Arial, sans-serif !important;
}

body > #page,
.site {
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.static-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 63, 107, 0.12);
}

.static-nav-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 28px;
}

.static-brand {
  flex: 0 0 auto;
}

.static-brand img {
  display: block;
  width: auto;
  max-width: 205px;
  height: 62px;
  object-fit: contain;
}

.static-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.static-menu > a {
  padding: 10px 11px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.static-menu > a:hover,
.static-menu > a:focus {
  color: var(--blue);
  text-decoration: none;
}

.static-menu > .static-signin,
.static-menu > .static-register {
  padding: 9px 15px;
  border: 2px solid var(--teal);
}

.static-menu > .static-register {
  color: #fff;
  background: var(--teal);
}

.static-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  margin-left: auto;
  padding: 8px 9px;
  border: 2px solid var(--teal);
  border-radius: 4px;
  background: #fff;
}

.static-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 3px;
  background: var(--navy);
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--navy);
}

.navbar {
  min-height: 100px;
  height: auto;
  margin: 0;
  border: 0;
  box-shadow: 0 2px 14px rgba(0, 63, 107, 0.12);
}

.navbar > .container,
.navbar-header {
  min-height: 100px;
}

.navbar-brand {
  height: 100px;
  padding: 18px 15px;
}

.navbar-brand img {
  width: auto;
  max-width: 245px;
  height: 64px;
  object-fit: contain;
}

.navbar-toggle {
  margin-top: 30px;
  border-color: var(--teal) !important;
  background: transparent !important;
}

.navbar-toggle .icon-bar {
  background-color: var(--navy) !important;
}

.navbar-nav > li > a,
.navbuttons a {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar-collapse {
  max-height: none !important;
}

.dropdown-menu.dmenu {
  min-width: 190px;
  padding: 8px 0;
  border: 0;
  box-shadow: 0 10px 30px rgba(0, 63, 107, 0.18);
}

.dropdown-menu.dmenu > li > a {
  padding: 10px 20px;
  color: var(--navy);
}

.dropdown-menu.dmenu > li > a:hover {
  color: #fff;
  background: var(--blue);
}

#content,
.site-content {
  padding-top: 100px;
}

.home #content {
  padding-top: 100px;
}

.content-area.container,
.entry-content {
  overflow-wrap: anywhere;
}

.entry-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 35px 0 55px;
  font-size: 17px;
  line-height: 1.7;
}

.entry-content h2,
.entry-content h3 {
  line-height: 1.18;
}

.entry-content img {
  display: inline-block;
  width: auto;
  max-height: 240px;
  margin: 12px 22px 22px 0;
  object-fit: contain;
}

.entry-content::after {
  display: table;
  clear: both;
  content: "";
}

.single-challenge #challenges {
  min-height: 260px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.single-challenge #challenges h1 {
  z-index: 2;
  top: auto;
  margin: 0;
  padding: 35px 20px 70px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.single-challenge #challenges > img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.applybtn {
  margin: 15px 0 55px;
  text-align: center;
}

.applybtn a,
.btn-primary,
.lm {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--teal);
  border-radius: 2px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.applybtn a:hover,
.btn-primary:hover,
.lm:hover {
  color: #fff;
  background: var(--teal);
  text-decoration: none;
  transform: translateY(-1px);
}

.cust-quotes blockquote {
  display: none;
}

.cust-quotes blockquote.is-active {
  display: block;
  animation: quote-fade 0.45s ease;
}

@keyframes quote-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.timeline li {
  opacity: 1;
}

.timeline li.in-view {
  opacity: 1;
}

.footer {
  padding: 40px 0 30px;
  color: #fff;
  background: var(--navy);
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.site-info,
#tempdev {
  display: none !important;
}

.static-note {
  max-width: 760px;
  margin: 20px auto;
  padding: 14px 18px;
  border-left: 4px solid var(--teal);
  color: var(--ink);
  background: var(--mist);
}

.icheckbox_square-green,
.iradio_square-green {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--teal);
  background: #fff !important;
  vertical-align: middle;
}

.fa::before {
  font-family: "Segoe UI", Arial, sans-serif;
  font-style: normal;
}

.fa-facebook::before { content: "Facebook"; }
.fa-twitter::before { content: "X / Twitter"; }
.fa-linkedin::before { content: "LinkedIn"; }

.modal.is-open {
  display: block;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.55);
}

.modal.is-open .modal-dialog {
  margin-top: 40px;
}

.modal.is-open .modal-content {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.modal .close {
  min-width: 40px;
  min-height: 40px;
}

.header-back {
  min-height: 360px;
  background-color: var(--blue) !important;
  background-image: linear-gradient(135deg, rgba(0, 63, 107, 0.72), rgba(0, 211, 152, 0.35)), url("/wp-content/themes/watertechhub/home/success-bg.png") !important;
  background-position: center !important;
  background-size: cover !important;
}

.hide.header-back {
  display: block !important;
}

form input,
form select,
form textarea {
  max-width: 100%;
}

@media (max-width: 767px) {
  .static-header {
    position: relative;
  }

  .static-nav-inner {
    position: relative;
    min-height: 78px;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .static-brand img {
    max-width: 180px;
    height: 56px;
  }

  .static-menu-toggle {
    display: none;
  }

  .static-menu {
    display: flex;
    flex: 1 0 100%;
    padding: 10px 0 14px;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .static-menu.is-open,
  .no-js .static-menu {
    display: flex;
  }

  .static-menu > a {
    display: block;
    flex: 1 1 28%;
    padding: 9px 12px;
    text-align: center;
  }

  .static-menu > .static-signin,
  .static-menu > .static-register {
    flex-basis: 42%;
    margin-top: 4px;
  }

  #inSlider {
    margin-top: 0 !important;
  }

  .navbar,
  .navbar > .container,
  .navbar-header {
    min-height: 82px;
  }

  .navbar-brand {
    height: 82px;
    padding: 12px 15px;
  }

  .navbar-brand img {
    max-width: 190px;
    height: 56px;
  }

  .navbar-toggle {
    margin-top: 23px;
  }

  .navbar-collapse {
    padding-bottom: 18px;
    border: 0;
    background: #fff;
  }

  .navbar-nav {
    margin: 8px 0;
  }

  .navbar-nav > li,
  .navbuttons > li {
    margin: 7px 15px;
  }

  .navbar-nav > li > a,
  .navbuttons a {
    display: block;
    padding: 10px 14px;
  }

  .navbuttons {
    position: static;
    display: flex;
    clear: both;
    margin: 0 15px 10px;
    padding: 0;
    gap: 8px;
  }

  .navbuttons li {
    flex: 1;
    margin: 0;
    list-style: none;
    text-align: center;
  }

  #content,
  .site-content,
  .home #content {
    padding-top: 0;
  }

  .entry-content {
    padding: 25px 4px 40px;
    font-size: 16px;
  }

  .entry-content img {
    display: block;
    max-width: 100%;
    margin: 16px auto 24px;
  }

  .single-challenge #challenges {
    min-height: 220px;
  }

  .timeline ul li div {
    max-width: calc(100vw - 95px);
  }

  .footer .col-sm-4 {
    margin-bottom: 24px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
