:root {
  --blue: #214C9A;
  --blue-dark: #16366E;
  --accent: #ed3e05;
  --accent-dark: #973A17;
  --alert-red: #c62a15;
  --light: #f6f6f6;
  --text: #222;
  --max: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-alert {
  background: var(--alert-red);
  color: #fff;
  padding: 14px 0;
  font-size: 15px;
}

.site-alert strong {
  display: block;
  font-size: 18px;
  margin-bottom: 3px;
  color: #fff;
}

.site-header {
  background-image: linear-gradient(to top, #e0e0e0, #fff);
  filter: drop-shadow(0px 3px 8px #aaa);
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  flex: 0 0 auto;
  max-width: 260px;
}

.main-nav { flex: 1; }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 14px 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  color: var(--blue);
  white-space: nowrap;
}

.nav-menu > li:hover > a,
.nav-menu > li > a:hover {
  color: var(--accent);
}

.nav-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 225px;
  background: var(--blue-dark);
  z-index: 999;
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

.nav-menu li:hover ul { display: block; }

.nav-menu ul a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.nav-menu ul a:hover {
  background: #0d244d;
}

.online-banking-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    flex: 0 0 auto;
    background: rgba(237,62,5,.88);
    color: #fff;
    padding: 12px 14px 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;

    transition: .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.online-banking-btn:hover {
    background: #973A17;
    transform: translateY(-2px);
}

.online-banking-btn .arrow-circle {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #B2461D;
    font-size: 17px;
    font-weight: bold;
    transition: .25s ease;
}

.online-banking-btn:hover .arrow-circle {
    transform: translateX(3px);
}

.mobile-toggle {
  display: none;
  background: var(--blue);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
}

.hero {
  position: relative;
  min-height: 500px;
  background-image: url("../images/slide1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero2 {
  display: none;
}

@media (min-width: 701px) {
  .hero2 {
    position: relative;
    max-height: 200px;
    background-image: url(../images/slide1.jpg);
    background-size: 90%;
    background-position: center 65%;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
  }
}

.hero-overlay { width: 100%; }

.hero-inner {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#slide2 {
  width: 420px;
  max-width: 38vw;
  z-index: 10;
}

#slide2 img {
  width: 100%;
  height: auto;
  transition: transform .25s ease;
}

#slide2:hover img {
  transform: scale(1.03);
}

.main-content {
  padding: 36px 0 10px;
}

.intro {
  max-width: 850px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 18px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.quick-links a {
  display: block;
  transition: transform .2s ease, filter .2s ease;
}

.quick-links a:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.15));
}

.page-title {
  color: var(--blue);
  margin-top: 0;
  text-align: center;
  font-size: 34px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.location-card {
  border: 1px solid #ddd;
  border-top: 5px solid var(--accent);
  padding: 22px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.location-card h2 {
  margin-top: 0;
  color: var(--blue);
  font-size: 23px;
}

.location-card h3 {
  color: var(--blue);
  font-size: 17px;
  margin-bottom: 6px;
}

.location-card ul { padding-left: 20px; }

.site-footer {
  background: linear-gradient(to top, #0c1f3f, var(--blue-dark));
  color: #fff;
  padding: 42px 0 22px;
  margin-top: 30px;
}

.site-footer a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

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

.footer-brand {
  text-align: center;
  margin-bottom: 32px;
}

.footer-brand h2 {
  margin: 0 0 8px;
  color: #b8b8b8;
  font-size: 28px;
}

.footer-brand p {
  margin: 0;
  opacity: .9;
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer-location h3,
.footer-column h3 {
  color: #b8b8b8;
  margin-top: 0;
  font-size: 17px;
}

.footer-location p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

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

.footer-column li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-regulatory {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 80px;
  height: auto;
}

.housing-logo { max-width: 75px; }

.footer-regulatory-text {
  font-size: 12px;
  line-height: 1.6;
  opacity: .9;
}

.footer-regulatory-text p {
  margin: 0 0 10px;
}

.routing {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px !important;
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  opacity: .85;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 18px;
}

.footer-bottom p { margin: 4px 0; }

@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; }

  .mobile-toggle { display: block; }

  .logo { max-width: 230px; }

  .main-nav {
    display: none;
    order: 4;
    flex: 0 0 100%;
    background: var(--blue);
  }

  .main-nav.is-open { display: block; }

  .nav-menu { display: block; }

  .nav-menu > li > a {
    color: #fff;
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .nav-menu > li:hover > a,
  .nav-menu > li > a:hover {
    background: var(--blue-dark);
    color: #fff;
  }

  .nav-menu ul {
    position: static;
    display: block;
    background: rgba(0,0,0,.18);
    box-shadow: none;
  }

  .nav-menu ul a { padding-left: 32px; }

  .online-banking-btn {
    order: 3;
    margin-left: auto;
  }
}

@media (max-width: 850px) {
  .quick-links,
  .locations-grid,
  .footer-locations,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .intro {
    text-align: left;
    font-size: 16px;
  }

  .footer-brand { text-align: left; }
}

@media (max-width: 700px) {
  .hero {
    min-height: 420px;
    background-position: center center;
  }

  .hero-inner {
    min-height: 420px;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 24px;
  }

  #slide2 {
    width: min(100%, 380px);
    max-width: 90vw;
  }

  .footer-regulatory {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-logo-column {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .footer-bottom { text-align: left; }
}

@media (max-width: 600px) {
  .header-inner { gap: 12px; }

  .logo { max-width: 190px; }

  .online-banking-btn {
    width: auto;
    order: 5;
    margin: 0px auto;
  }

  .main-nav { order: 6; }
}

.services-layout{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.services-left{
    flex:0 0 420px;
    min-width:0;
}

.services-right{
    flex:1;
    min-width:0;
}

@media (max-width:900px){
  .services-layout{
    flex-direction:column;
    gap:30px;
  }

  .services-left,
  .services-right{
    width:100%;
    flex:none;
  }
}

.responsive-video {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 25px auto;
  aspect-ratio: 16 / 9;
}

.responsive-video iframe,
.responsive-video embed,
.responsive-video object,
.responsive-video video {
  width: 100%;
  height: 100%;
  border: 0;
}

.locations-row {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin-top: 30px;
}

.location-card {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-top: 5px solid var(--accent);
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.location-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 18px;
}

.location-card h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 23px;
}

.location-card h3 {
  color: var(--blue);
  font-size: 17px;
  margin: 18px 0 6px;
}

.location-card ul {
  padding-left: 20px;
}

@media (max-width: 900px) {
  .locations-row {
    flex-direction: column;
  }
}

.contact-row{
    display:flex;
    gap:28px;
    align-items:flex-start;
    margin-top:30px;
}

.contact-main{
    flex:2;
    min-width:0;
}

.contact-branch{
    flex:1;
    min-width:0;
}

.contact-main,
.contact-branch{
    background:#fff;
    border:1px solid #ddd;
    border-top:5px solid var(--accent);
    padding:24px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}

.contact-main h2{
    margin-top:0;
    color:var(--blue);
}

.contact-branch h3{
    margin-top:0;
    color:var(--blue);
}

.contact-main p,
.contact-branch p{
    margin-bottom:14px;
    line-height:1.6;
}

.contact-main a,
.contact-branch a{
    color:var(--blue);
    text-decoration:none;
}

.contact-main a:hover,
.contact-branch a:hover{
    color:var(--accent);
}

@media (max-width:900px){

    .contact-row{
        flex-direction:column;
    }

    .contact-main,
    .contact-branch{
        width:100%;
    }

}

/* Fonts ---------------------------------------------------------------------------------------------------- */
@font-face {
    font-family: 'cooper_hewittlight_italic';
    src: url('../fonts/cooperhewitt-lightitalic-webfont.eot');
    src: url('../fonts/cooperhewitt-lightitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-lightitalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-lightitalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-lightitalic-webfont.svg#cooper_hewittlight_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittheavy';
    src: url('../fonts/cooperhewitt-heavy-webfont.eot');
    src: url('../fonts/cooperhewitt-heavy-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-heavy-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-heavy-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-heavy-webfont.svg#cooper_hewittheavy') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittbold_italic';
    src: url('../fonts/cooperhewitt-bolditalic-webfont.eot');
    src: url('../fonts/cooperhewitt-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-bolditalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-bolditalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-bolditalic-webfont.svg#cooper_hewittbold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittmedium_italic';
    src: url('../fonts/cooperhewitt-mediumitalic-webfont.eot');
    src: url('../fonts/cooperhewitt-mediumitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-mediumitalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-mediumitalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-mediumitalic-webfont.svg#cooper_hewittmedium_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittbold';
    src: url('../fonts/cooperhewitt-bold-webfont.eot');
    src: url('../fonts/cooperhewitt-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-bold-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-bold-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-bold-webfont.svg#cooper_hewittbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittbook_italic';
    src: url('../fonts/cooperhewitt-bookitalic-webfont.eot');
    src: url('../fonts/cooperhewitt-bookitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-bookitalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-bookitalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-bookitalic-webfont.svg#cooper_hewittbook_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittheavy_italic';
    src: url('../fonts/cooperhewitt-heavyitalic-webfont.eot');
    src: url('../fonts/cooperhewitt-heavyitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-heavyitalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-heavyitalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-heavyitalic-webfont.svg#cooper_hewittheavy_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittmedium';
    src: url('../fonts/cooperhewitt-medium-webfont.eot');
    src: url('../fonts/cooperhewitt-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-medium-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-medium-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-medium-webfont.svg#cooper_hewittmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittbook';
    src: url('../fonts/cooperhewitt-book-webfont.eot');
    src: url('../fonts/cooperhewitt-book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-book-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-book-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-book-webfont.svg#cooper_hewittbook') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittsemibold_italic';
    src: url('../fonts/cooperhewitt-semibolditalic-webfont.eot');
    src: url('../fonts/cooperhewitt-semibolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-semibolditalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-semibolditalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-semibolditalic-webfont.svg#cooper_hewittsemibold_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittsemibold';
    src: url('../fonts/cooperhewitt-semibold-webfont.eot');
    src: url('../fonts/cooperhewitt-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-semibold-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-semibold-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-semibold-webfont.svg#cooper_hewittsemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittthin';
    src: url('../fonts/cooperhewitt-thin-webfont.eot');
    src: url('../fonts/cooperhewitt-thin-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-thin-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-thin-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-thin-webfont.svg#cooper_hewittthin') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittlight';
    src: url('../fonts/cooperhewitt-light-webfont.eot');
    src: url('../fonts/cooperhewitt-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-light-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-light-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-light-webfont.svg#cooper_hewittlight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cooper_hewittthin_italic';
    src: url('../fonts/cooperhewitt-thinitalic-webfont.eot');
    src: url('../fonts/cooperhewitt-thinitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cooperhewitt-thinitalic-webfont.woff') format('woff'),
         url('../fonts/cooperhewitt-thinitalic-webfont.ttf') format('truetype'),
         url('../fonts/cooperhewitt-thinitalic-webfont.svg#cooper_hewittthin_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}