/* ============================================
   HEADER & FOOTER — Exact replica of
   BestWaterHeater.com styles
   ============================================ */

/* ---------- Top Header Bar ---------- */
header#header .top-header {
  background: linear-gradient(270deg, #58BFE6 0%, #044FB5 100%);
  padding: 17px 0;
}
header#header .top-header ul li a,
header#header .top-header ul li {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  font-family: Arial, sans-serif;
  color: #fff;
}
header#header .top-header ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
header#header .top-header ul li {
  position: relative;
  padding-left: 83px;
  list-style: none;
}
header#header .top-header ul li.phone-no:before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  height: 34px;
  width: 34px;
  background-color: #fff;
  border-radius: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  right: 150px;
  color: #044FB5;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header#header .top-header ul li.email:before {
  content: "\f0e0";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  height: 34px;
  width: 34px;
  background-color: #fff;
  border-radius: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
  left: 0;
  right: 240px;
  color: #044FB5;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header#header .top-header ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.5s ease;
}
header#header .top-header ul li a:hover {
  color: #EE7325;
}

/* ---------- Header Wrapper ---------- */
header#header {
  background: #ffffff;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999;
}
header#header.fixed {
  box-shadow: 0 0 4px #404040;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
header#header .header-wrapper .colamu-3.col-left {
  margin-top: -52px;
}
.colamu-3 {
  float: left;
  margin-left: -70px;
  padding-right: 0px;
  position: relative;
  width: 35%;
}
.colamu-9 {
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 75%;
}
.header-logo img {
  height: 170px;
  
  display: block;
}
header#header ul.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
header#header ul.main-menu li.navigation {
  padding: 0 0 0 20px;
  position: relative;
  list-style: none;
}
header#header ul.main-menu li a {
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  font-family: "Poppins", sans-serif;
  color: #001D46;
  background: transparent;
  text-decoration: none;
  transition: color 0.5s ease;
}
header#header ul.main-menu li a:hover {
  color: #EE7325;
}
header#header ul.main-menu li.active a {
  color: #EE7325;
}

/* ---------- GET QUOTE Button ---------- */
div#wrapper a.button,
header#header ul.main-menu li a.button {
  background: linear-gradient(270deg, #FE3101 0%, #FEB704 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  padding: 24px 74px 24px 30px;
  height: auto;
  border-radius: 150px;
  position: relative;
}
div#wrapper a.button:before,
div#wrapper a.button:after,
header#header ul.main-menu li a.button:before,
header#header ul.main-menu li a.button:after {
  content: "\f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  width: 52px;
  height: 52px;
  position: absolute;
  top: 0;
  left: auto;
  right: 7px;
  bottom: 0;
  background-color: #fff;
  margin: auto;
  border-radius: 100%;
  color: #FE3101;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
header#header ul.main-menu li.navigation.active a.button {
  background: linear-gradient(270deg, #58BFE6 0%, #044FB5 100%);
  color: #fff;
}
div#wrapper a.button:hover,
header#header ul.main-menu li a.button:hover {
  background: linear-gradient(270deg, #58BFE6 0%, #044FB5 100%);
  color: #fff;
}

/* ---------- Mobile Menu Trigger ---------- */
.menu {
  color: #333333;
  cursor: pointer;
  display: none;
  float: left;
  font-size: 22px;
  line-height: 31px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}
.menu .menu-trigger {
  float: left;
  margin: 8px 20px 0 25px;
}
.menu .line {
  background: #333333;
  display: block;
  height: 3px;
  margin-bottom: 5px;
  width: 33px;
}
.close-button {
  display: none;
  text-align: right;
  padding: 10px 0;
  cursor: pointer;
}
.close-button i {
  font-size: 24px;
  color: #001D46;
}

/* ---------- Navigation (off-canvas mobile) ---------- */
#wrapper {
  background: #FFFFFF;
  position: relative;
  transition: all 0.3s ease 0s;
  z-index: 99;
}
.page-container.show-menu {
  overflow: hidden;
}
nav.menu-act .close-button {
  display: none;
}
nav.menu-act ul li {
  float: left;
  padding-bottom: 15px;
  position: relative;
}
nav.menu-act ul li a {
  float: left;
  padding: 5px;
  text-decoration: none;
  transition: color 0.5s ease;
}
.show-menu nav.menu-act {
  transition: all 1.4s ease 0s;
  right: 0;
}

/* ---------- Locations Dropdown ---------- */
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs {
  position: relative;
}
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs > .loc-tabs__toggle {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs > .loc-tabs__toggle::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  border-color: currentColor transparent transparent transparent;
  margin-left: 7px;
  margin-top: -2px;
  transition: transform .2s ease;
}
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs:hover > .loc-tabs__toggle::after,
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs.is-open > .loc-tabs__toggle::after {
  transform: rotate(180deg);
}

/* Mega-panel container */
header#header nav.menu-act .loc-tabs {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  width: 760px;
  min-height: 380px;
  background: #fff;
  border: 1px solid rgba(0, 29, 70, .10);
  border-top: 3px solid #044FB5;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 29, 70, .18);
  font-family: "Poppins", sans-serif;
  float: none;
  padding: 0;
}
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs:hover > .loc-tabs,
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs:focus-within > .loc-tabs,
header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs.is-open > .loc-tabs {
  display: block;
}

/* Left rail (tab strip) */
header#header nav.menu-act .loc-tabs__nav {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  padding: 14px 0;
  background: #fafbfd;
  border-right: 1px solid rgba(0, 29, 70, .08);
  border-radius: 0 0 0 8px;
  box-sizing: border-box;
}
header#header nav.menu-act .loc-tabs__nav > a.loc-tabs__tab {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 13px 18px 13px 22px !important;
  margin: 0 !important;
  float: none !important;
  border-left: 3px solid transparent;
  background: transparent !important;
  color: #001D46 !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
header#header nav.menu-act .loc-tabs__nav > a.loc-tabs__tab:hover {
  background: rgba(4, 79, 181, .05) !important;
  color: #001D46 !important;
}
header#header nav.menu-act .loc-tabs__nav > a.loc-tabs__tab.is-active {
  background: #fff !important;
  color: #EE7325 !important;
  border-left-color: #EE7325;
}
header#header nav.menu-act .loc-tabs__tab .loc-tabs__tab-label {
  flex: 1 1 auto;
}
header#header nav.menu-act .loc-tabs__tab .loc-tabs__chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent currentColor;
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}
header#header nav.menu-act .loc-tabs__tab.is-active .loc-tabs__chevron {
  opacity: 1;
}

/* Right panel area */
header#header nav.menu-act .loc-tabs__panels {
  margin-left: 240px;
  min-height: 380px;
  position: relative;
}
header#header nav.menu-act .loc-tabs__panel {
  display: none;
  padding: 22px 26px 24px;
}
header#header nav.menu-act .loc-tabs__panel.is-active {
  display: block;
}
header#header nav.menu-act a.loc-tabs__overview {
  display: block !important;
  padding: 0 0 12px 0 !important;
  margin: 0 0 14px 0 !important;
  float: none !important;
  background: transparent !important;
  color: #044FB5 !important;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 29, 70, .10);
}
header#header nav.menu-act a.loc-tabs__overview:hover,
header#header nav.menu-act a.loc-tabs__overview:focus {
  color: #EE7325 !important;
}
header#header nav.menu-act .loc-tabs__cities {
  column-count: 2;
  column-gap: 22px;
}
header#header nav.menu-act a.loc-tabs__city {
  display: block !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  float: none !important;
  background: transparent !important;
  color: #001D46 !important;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
header#header nav.menu-act a.loc-tabs__city:hover,
header#header nav.menu-act a.loc-tabs__city:focus {
  color: #EE7325 !important;
}

/* ---------- Footer ---------- */
footer#footer {
  background-color: #002056;
  color: #fff;
  font-family: Arial, sans-serif;
}
footer#footer .container {
  width: 100%;
  max-width: 1430px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  position: relative;
}
footer#footer .footer-wrap {
  /* no border on wrap — original doesn't have it */
}
footer#footer .top-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 98px;
  padding-bottom: 67px;
}
footer#footer .top-footer > div {
  width: 25%;
}

/* Social icon column */
footer#footer .top-footer .social-icon {
  /* 25% width from parent */
}
footer#footer .top-footer .social-icon .inage-wrap img {
  height: 150px;
  width: auto;
  display: block;
}
footer#footer .top-footer .social-icon h4 {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 160%;
  color: #fff;
  margin-top: 45px;
}
footer#footer .top-footer .social-icon ul.social {
  display: flex;
  gap: 23px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
footer#footer .top-footer .social-icon ul.social li a {
  height: 44px;
  display: block;
  width: 44px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 100%;
  position: relative;
  text-decoration: none;
  transition: background 0.3s ease;
}
footer#footer .top-footer .social-icon ul.social li a:hover {
  background: linear-gradient(270deg, #FE3101 0%, #FEB704 100%);
}
footer#footer .top-footer .social-icon ul.social li.facebook a:before {
  content: "\f39e";
  font-family: "Font Awesome 5 Brands";
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer#footer .top-footer .social-icon ul.social li.instagram a:before {
  content: "\f16d";
  font-family: "Font Awesome 5 Brands";
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer#footer .top-footer .social-icon ul.social li.linkedin a:before {
  content: "\f0e1";
  font-family: "Font Awesome 5 Brands";
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Company menu column */
footer#footer .top-footer .company-menu {
  padding-left: 68px;
}
footer#footer .top-footer .company-menu h4,
footer#footer .top-footer .legal-link h4,
footer#footer .top-footer .contact-link h4 {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 160%;
  color: #fff;
  margin: 0 0 0 0;
}
footer#footer .top-footer ul.main-menu {
  padding-top: 5px;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
footer#footer .top-footer ul.main-menu li {
  margin-bottom: 26px;
  list-style: none;
}
footer#footer .top-footer ul.main-menu li a {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 100%;
  color: #fff;
  text-decoration: none;
  transition: color 0.5s ease;
}
footer#footer .top-footer ul.main-menu li a:hover {
  color: #EE7325;
}
footer#footer .top-footer ul.main-menu li.active a {
  color: #EE7325;
}

/* Legal link column */
footer#footer .top-footer .legal-link {
  padding-left: 50px;
}

/* Contact link column */
footer#footer .top-footer .contact-link ul.contact-detail {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 10px;
}
footer#footer .top-footer .contact-link ul.contact-detail li {
  position: relative;
  padding-left: 63px;
  margin-bottom: 0;
}
footer#footer .top-footer .contact-link ul.contact-detail li:before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 200;
  color: #fff;
  font-size: 18px;
  border-radius: 0;
  z-index: 9;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer#footer .top-footer .contact-link ul.contact-detail li:after {
  content: "";
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 200;
  border-radius: 100%;
  background: linear-gradient(270deg, #FE3101 0%, #FEB704 100%);
  z-index: 1;
  margin: auto;
}
footer#footer .top-footer .contact-link ul.contact-detail li.email:before {
  content: "\f0e0";
}
footer#footer .top-footer .contact-link ul.contact-detail li.address:before {
  content: "\f3c5";
}
footer#footer .top-footer .contact-link ul.contact-detail li a,
footer#footer .top-footer .contact-link ul.contact-detail li p {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #fff;
  text-decoration: none;
  transition: color 0.5s ease;
}
footer#footer .top-footer .contact-link ul.contact-detail li a:hover {
  color: #EE7325;
}
footer#footer .top-footer .contact-link ul.contact-detail li.email {
  margin: 49px 0 35px 0;
}
footer#footer .footer-address-label {
  display: block;
  font-weight: 700;
}

/* Bottom footer */
footer#footer .bottom-fotter {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
footer#footer .bottom-fotter p,
footer#footer .bottom-fotter p a {
  text-align: center;
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 145%;
  margin: 0;
}
footer#footer .bottom-fotter p a {
  text-decoration: none;
  transition: color 0.5s ease;
}
footer#footer .bottom-fotter p a:hover {
  color: #EE7325;
}

/* ---------- Responsive for Header/Footer ---------- */
@media screen and (max-width: 767px) {
  nav.menu-act .close-button,
  nav.menu-act ul {
    display: none;
  }
  .menu,
  .show-menu nav.menu-act .close-button,
  .show-menu nav.menu-act ul {
    display: block;
  }
  nav.menu-act {
    background: #333333;
    bottom: 0;
    height: 100%;
    right: -275px;
    overflow: hidden;
    padding: 50px 0;
    position: fixed;
    left: auto;
    top: 0;
    transition: all 0.4s ease 0s;
    width: 275px;
    z-index: 999;
  }
  html.show-menu #desktop-nav {
    right: 0;
  }
  header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs > .loc-tabs__toggle::after {
    display: none;
  }
  header#header nav.menu-act {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .show-menu .sticky-cta {
    display: none !important;
  }
  header#header nav.menu-act .loc-tabs {
    position: static;
    display: none;
    flex-direction: column;
    width: auto;
    min-height: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 4px 0 8px;
  }
  header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs:hover > .loc-tabs,
  header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs:focus-within > .loc-tabs {
    display: none;
  }
  header#header nav.menu-act ul.main-menu li.navigation.has-loc-tabs.is-open > .loc-tabs {
    display: flex;
  }
  header#header nav.menu-act .loc-tabs__nav,
  header#header nav.menu-act .loc-tabs__panels {
    display: contents;
  }
  header#header nav.menu-act .loc-tabs__nav > .loc-tabs__tab:nth-child(1) { order: 1; }
  header#header nav.menu-act .loc-tabs__panels > .loc-tabs__panel:nth-child(1) { order: 2; }
  header#header nav.menu-act .loc-tabs__nav > .loc-tabs__tab:nth-child(2) { order: 3; }
  header#header nav.menu-act .loc-tabs__panels > .loc-tabs__panel:nth-child(2) { order: 4; }
  header#header nav.menu-act .loc-tabs__nav > .loc-tabs__tab:nth-child(3) { order: 5; }
  header#header nav.menu-act .loc-tabs__panels > .loc-tabs__panel:nth-child(3) { order: 6; }
  header#header nav.menu-act .loc-tabs__nav > a.loc-tabs__tab {
    padding: 14px 14px 14px 18px !important;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 29, 70, .08);
  }
  header#header nav.menu-act .loc-tabs__tab .loc-tabs__chevron {
    opacity: 1;
  }
  header#header nav.menu-act .loc-tabs__tab.is-active .loc-tabs__chevron {
    transform: rotate(90deg);
  }
  header#header nav.menu-act .loc-tabs__panel {
    display: block !important;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    background: rgba(4, 79, 181, .03);
    transition: max-height .35s ease, padding .25s ease, opacity .2s ease;
  }
  header#header nav.menu-act .loc-tabs__panel.is-active {
    max-height: 1500px;
    padding: 12px 16px 16px 28px;
    opacity: 1;
  }
  header#header nav.menu-act .loc-tabs__cities {
    column-count: 1;
  }
  header#header nav.menu-act a.loc-tabs__city {
    padding: 9px 0 !important;
    font-size: 14px;
  }
  header#header nav.menu-act a.loc-tabs__overview {
    font-size: 14px;
  }

  .colamu-3 {
    width: 60%;
  }
  .colamu-9 {
    width: 40%;
  }
  .header-wrapper {
    padding: 12px 0;
  }
  .header-logo img {
    height: 45px;
  }

  /* Footer mobile */
  footer#footer .top-footer {
    flex-direction: column;
    gap: 30px;
  }
  footer#footer .top-footer > div {
    width: 100%;
  }
  footer#footer .top-footer .social-icon {
    text-align: center;
  }
  footer#footer .top-footer .social-icon ul.social {
    justify-content: center;
  }
  footer#footer .top-footer .company-menu,
  footer#footer .top-footer .legal-link {
    padding-left: 0;
    text-align: center;
  }
  footer#footer .top-footer .contact-link {
    text-align: center;
  }
  footer#footer .top-footer .contact-link ul.contact-detail li {
    padding-left: 0;
    text-align: center;
  }
  footer#footer .top-footer .contact-link ul.contact-detail li:before,
  footer#footer .top-footer .contact-link ul.contact-detail li:after {
    display: none;
  }
  footer#footer .top-footer .contact-link ul.contact-detail li.email {
    margin: 20px 0;
  }
}
