@font-face {
  font-family: 'Avenir';
  src: url('../fonts/AvenirRegular/Avenir\ Regular.ttf') format('.tff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --heading-font: 'Avenir', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}

.background-img {
background-image: linear-gradient(rgb(255,255,255, .7), rgb(255, 255, 255, .7) ), url('../img/background.webp');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
min-height: 100%;  
}

.nav-button-color.nav-pills .nav-link.active{
  background-color: #495676 !important;
  color: white !important;
}

.nav-button-color.nav-pills .nav-link{
  color: #495676 !important;
}

.form-label{
  font-size: 12px;
  margin-bottom: 4px !important;
}

.btn-dropdown-color.btn-primary{
  background-color: #495676 !important;
  color: white !important;
  border: none;
}

.form-check-label{
  font-size: 12px;
  color: #898989;
}

.submit-button{
  color: white;
  font-size: 14px;
  background-color: #495676;
  padding: 8px 24px;
  border: solid;
  border-width: 1px;
  border-radius: 4px;
  cursor: pointer;
}

.submit-button:hover{
  color: #495676;
  background-color: white;
  border: solid;
  border-width: 1px;
}

.header-link a{
  color: white;
  text-decoration: none;
}

.contact-button{
  background-color: #DAD696;
  color: #495676;
  text-decoration: none;
}

.contact-button:hover{
  background-color: #4EBD88;
  color: white;
}

.logo-responsive{
  width: 23%;
}





.header-custom {
  background-color: #495676;
  height: 70px;              /* same feel as real site */
  display: flex;
  align-items: center;
}

.header-container {
  padding-left: 24px;
}

.logo {
  height: 45px;
  width: auto;
  display: block;
}

.info-card {
    background: rgba(255,255,255,0.96);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 28px;
}

.info-title {
    color: #495676;
    font-weight: 600;
    margin-bottom: 6px;
}

.info-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

.info-badge {
    display: inline-block;
    background: #495676;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.info-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #495676;
    margin-top: 24px;
    margin-bottom: 14px;
    border-left: 4px solid #495676;
    padding-left: 10px;
}

.info-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-value {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 48px;
    color: #111827;
    font-size: 14px;
    word-break: break-word;
}

.info-value.amount {
    color: #495676;
    font-weight: 600;
}

.action-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    background: #495676;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.action-btn.secondary {
    background: #e9ecef;
    color: #495676;
}

@media (max-width: 768px) {
    .info-card {
        padding: 20px;
    }
}

/* Blog menu */
.blog-menu {
  position: relative;
  padding: 15px 8px;
}

.blog-menu-link {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-menu-link:hover,
.blog-menu-link:focus {
  color: #ffffff;
  text-decoration: none;
}

/* Arrow */
.blog-arrow {
  width: 7px;
  height: 7px;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

/* Dropdown */
.blog-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 82px;
  background: #ffffff;
  z-index: 9999;
  padding: 6px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Show when mouse over Blog OR dropdown */
.blog-menu:hover .blog-dropdown {
  display: block;
}

/* Arrow turns upward when opened */
.blog-menu:hover .blog-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

/* Dropdown links */
.blog-dropdown a {
  display: block;
  padding: 7px 10px;
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.blog-dropdown a:hover {
  background-color: #f5f5f5;
  color: #111111;
}

/* ======================================== */
/* Main Header                              */
/* ======================================== */

.mortgage-header {
  background-color: #495676;
  position: relative;
  z-index: 1000;
}

.mortgage-header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px;
}

.header-logo-wrapper {
  display: flex;
  align-items: center;
}


/* Desktop nav */
.desktop-navigation {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}


/* Mobile nav hidden by default */
.mobile-navigation {
  display: none;
}


/* ======================================== */
/* Mobile Hamburger                        */
/* ======================================== */

.mobile-menu-button {
  width: 54px;
  height: 54px;

  padding: 8px;

  border: 0;
  outline: none;
  background: transparent;

  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 7px;

  cursor: pointer;

  transition: transform 0.2s ease;
}


/* default yellow like Contact Us */
.mobile-menu-button span {
  display: block;

  width: 30px;
  height: 2px;

  margin: 0 auto;

  background-color: #DAD696;

  transition:
    background-color 0.2s ease,
    width 0.2s ease,
    height 0.2s ease;
}


/* hover = black + bigger */
.mobile-menu-button:hover {
  transform: scale(1.15);
}

.mobile-menu-button:hover span {
  width: 36px;
  height: 3px;
  background-color: #000000;
}


/* ======================================== */
/* Mobile Full Screen Menu                  */
/* ======================================== */

.mobile-menu-overlay {
  display: none;

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100vh;

  background-color: #ffffff;

  z-index: 99999;

  overflow-y: auto;
}


/* displayed when open */
.mobile-menu-overlay.open {
  display: block;
}


/* ======================================== */
/* Mobile Close X                          */
/* ======================================== */

.mobile-menu-close {
  position: absolute;

  top: 34px;
  right: 42px;

  width: 38px;
  height: 38px;

  border: none;
  background: transparent;

  cursor: pointer;
}

.mobile-menu-close span {
  position: absolute;

  top: 18px;
  left: 4px;

  width: 30px;
  height: 1.5px;

  background-color: #000000;

  transition: all 0.2s ease;
}

.mobile-menu-close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
  background-color: #0d6efd;
}


/* ======================================== */
/* Mobile Menu Content                      */
/* ======================================== */

.mobile-menu-content {

  width: 100%;

  padding-top: 115px;

  display: flex;
  flex-direction: column;
  align-items: center;
}


.mobile-menu-link {

  display: block;

  margin-bottom: 32px;

  color: #000000;

  font-size: 18px;
  font-weight: 400;

  text-decoration: none;

  transition: color 0.2s ease;
}


.mobile-menu-link:hover {
  color: #DAD696;
}


/* ======================================== */
/* Mobile Blog                              */
/* ======================================== */

.mobile-blog {
  text-align: center;
}


/* Blog button */
.mobile-blog-button {

  border: none;
  outline: none;
  background: transparent;

  padding: 0;

  color: #000000;

  font-size: 18px;

  display: flex;
  align-items: center;

  gap: 7px;

  cursor: pointer;
}


.mobile-blog-button:hover {
  color: #DAD696;
}


/* Blog arrow */
.mobile-blog-arrow {

  width: 7px;
  height: 7px;

  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;

  transform: rotate(45deg);

  margin-top: -4px;

  transition: transform 0.2s ease;
}


/* when Blog open */
.mobile-blog.open .mobile-blog-button {
  color: #DAD696;
}


.mobile-blog.open .mobile-blog-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}


/* Submenu */
.mobile-blog-submenu {

  display: none;

  flex-direction: column;

  margin-top: 12px;

  text-align: left;
}


/* show submenu */
.mobile-blog-submenu.open {
  display: flex;
}


.mobile-blog-submenu a {

  color: #000000;

  text-decoration: none;

  font-size: 16px;

  padding: 8px 0;

  white-space: nowrap;
}


.mobile-blog-submenu a:hover {
  color: #DAD696;
}