/* ============================================================
   HEADER — RESTORE COLORS + PREVENT FOOTER LEAKING
   ============================================================ */

#header {
  background-color: #1e73be !important; /* Everlight blue */
  color: #ffffff !important;
}

#header .menu a {
  color: #ffffff !important;
}

#header .menu a:hover {
  color: #ffcc00 !important; /* gold hover */
}

/* Prevent footer rules from affecting header */
#header * {
  color: inherit;
}


/* ============================================================
   PRODUCTS DROPDOWN — BACKGROUND + TEXT + HOVER
   ============================================================ */

#_desktop_top_menu .top-menu .sub-menu {
  background-color: #0B4F8C !important; /* deep Everlight blue */
  border: none !important;
  top: 80px !important; /* spacing from header */
  padding: 10px 0;
}

#_desktop_top_menu .top-menu .sub-menu a {
  color: #ffffff !important;
  padding: 8px 15px;
}

#_desktop_top_menu .top-menu .sub-menu a:hover {
  background-color: #ff9900 !important; /* orange hover */
  color: #ffffff !important;
}


/* ============================================================
   FOOTER — GLOBAL BACKGROUND + TEXT COLORS
   ============================================================ */

#footer,
#footer .footer-container,
#footer .bottom-footer {
  background-color: #0B4F8C !important; /* deep Everlight blue */
  color: #e6ecf5 !important;
}


/* ============================================================
   FOOTER TITLES (HEADERS)
   ============================================================ */

#footer .footer-block-title,
#footer h3,
#footer .h3 {
  color: #ffffff !important; /* bright white */
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}


/* ============================================================
   FOOTER LINKS — BRIGHTENED
   ============================================================ */

#footer .footer-block ul li a {
  color: #f8fbff !important; /* brighter white */
  opacity: 1 !important;
  font-weight: 400;
  transition: color 0.2s ease;
}

#footer .footer-block ul li a:hover {
  color: #1e73be !important; /* Everlight blue hover */
}


/* ============================================================
   REMOVE ANY DIVIDER ABOVE FOOTER COLUMNS
   ============================================================ */

#footer .footer-container .row {
  border-top: none !important;
}


/* ============================================================
   COPYRIGHT DIVIDER — ONLY ABOVE COPYRIGHT
   ============================================================ */

#footer .footer-container p.text-sm-center {
  border-top: 1px solid rgba(255,255,255,0.8);
  border-image: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,1),
    rgba(255,153,0,0.9),
    rgba(255,255,255,1),
    rgba(255,255,255,0)
  ) 1;
  padding-top: 12px;
  margin-top: 18px;

  /* COPYRIGHT TEXT COLOR — THEME MATCH */
  color: #cfe3ff !important; /* bright Everlight blue */
  font-size: 0.95rem;
  text-align: center;
}


/* ============================================================
   FOOTER ICONS
   ============================================================ */

.footer-icon {
  color: #a9c9ff !important; /* soft Everlight blue */
  margin: 0 6px 0 12px;
  opacity: 0.9;
  font-size: 1rem;
  position: relative;
  top: 1px;
}


/* ============================================================
   REMOVE UNWANTED CMS LINKS
   ============================================================ */

.footer-container .cms-page-link {
  display: none !important;
}
