/*
Theme Name: BSE Framework New Logo
Theme URI: https://brandstoryexperts.com
Author: Joey Z
Author URI: https://github.com/joeyz
Description: BSE Framework with refreshed brand colors and stabilized header UI.
Version: 4.1.0
License: GNU General Public License v2 or later
*/

/* =========================================================
   GLOBAL
========================================================= */
body {
  overflow-x: hidden;
}

#header-background {
  content:'';
  display: block;
  position: fixed;
  z-index: -2;
  width: 100%;
  height: 100%;
  background-size: cover;
  inset: 0;
}

#top-nav {
  background: rgba(255,255,255,0.8);
  padding-top: 40px;
}
#header-background {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================================
   LOGO
========================================================= */
.main-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


@media (min-width: 992px) {
  .main-logo {
    max-width: 280px;
  }
}

/* =========================================================
   FONTS
========================================================= */
:root {
  --font-primary: 'Jost', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
}
html, body {
  font-family: var(--font-secondary);
  font-weight: 400; /* Montserrat Regular */
  letter-spacing: 0.01em;
}
h1, h2, h3 {
  font-family: var(--font-primary);
  font-weight: 600; /* SemiBold */
  letter-spacing: 0.03em;
}

h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 500;
}
p,
li,
td,
th,
label,
small {
  font-family: var(--font-secondary);
  font-weight: 300;
}
button,
.btn,
.nav a,
.menu a,
input[type="submit"] {
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.04em;
}
h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

p {
  line-height: 1.6;
}

/* =========================================================
   SOCIAL ICONS
========================================================= */
.social {
  display: block;
  margin: 0 auto;
  text-align: center;
}

i.round,
i.round2 {
  background-color: #0147BA; /* PRIMARY DARK */
  color: #fff;
  display: inline-block;
  border-radius: 60px;
  box-shadow: 0 0 2px #888;
  font-size: 1.2em;
}

i.round {
  padding: 0.5em 0.8em;
}

i.round2 {
  padding: 0.5em 0.6em;
}

.social a:hover i {
  background-color: #05A9C6; /* SECONDARY */
}
/* ======================================================
   BRAND COLORS
====================================================== */
:root {
    --primary-dark: #002654;
    --primary: #0147BA;
    --secondary: #05A9C6;
    --secondary-dark: #008053;
    --accent-muted: #A2ACAB;
    --white: #ffffff;
}

/* ======================================================
   HEADER
====================================================== */
.team-header h1 {
    color: var(--primary-dark);
}

.team-header p {
    color: #5f6f7f;
}

/* ======================================================
   FILTER BUTTONS
====================================================== */
.team-filters button {
    border-color: var(--accent-muted);
    color: var(--primary-dark);
}

.team-filters button.active,
.team-filters button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ======================================================
   TEAM CARD NAME AREA
====================================================== */
.team-card-body {
    background: linear-gradient(
        180deg,
        rgba(0, 38, 84, 0.88),
        rgba(0, 38, 84, 0.96)
    );
}

/* ======================================================
   VIEW PROFILE BUTTON
====================================================== */
.team-card-footer .view-btn {
    background: var(--secondary);
}

.team-card-footer .view-btn:hover {
    background: var(--secondary-dark);
}

/* ======================================================
   SLIDE PANEL
====================================================== */
.close-modal {
    color: var(--primary-dark);
}

.profile-modal-name {
    color: var(--primary-dark);
}

.profile-modal-role,
.profile-modal-role2 {
    color: var(--primary);
}

/* ======================================================
   TAG CHIPS
====================================================== */
.profile-tag {
    background: rgba(5,169,198,0.15);
    color: var(--primary-dark);
    border-color: rgba(5,169,198,0.4);
}

/* ======================================================
   TAGLINE
====================================================== */
.profile-tagline-wide {
    color: var(--primary);
}

/* =========================================================
   BUTTONS (SINGLE SOURCE OF TRUTH)
========================================================= */
.btn-green {
  background-color: #008053; /* SECONDARY DARK */
  color: #fff;
}

.btn-blue {
  background-color: #0147BA; /* PRIMARY */
  color: #fff;
  font-weight: 600;
}
.btn-navy {
  background-color: #002654; /* PRIMARY */
  color: #fff;
  font-weight: 600;
}

/* =========================================================
   HEADER BUTTON NORMALIZATION (CRITICAL FIX)
========================================================= */
#top-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  line-height: 1;
  margin: 0;
}

#top-nav .dropdown-toggle::after {
  margin-left: 8px;
}

/* =========================================================
   HOME CARDS
========================================================= */
.card-home {
  margin: -95px auto 150px auto;
  box-shadow: 0 0 5px rgba(0,0,0,0.75);
  border: none !important;
}

.card-header-home {
  color: #fff;
  background-color: #008053; /* SECONDARY DARK */
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  min-height: 88px;
}

.card-body-home {
  text-align: center;
  background-color: #888;
  padding: 10px;
  border: 2px solid #555;
}

.card-body-home a {
  color: #fff;
  text-transform: uppercase;
}

/* =========================================================
   SECTIONS
========================================================= */
#news-section {
  background-color: rgba(5,169,198,0.5);
}

.news-heading {
  margin-top: 50px;
  color: #fff;
}

section {
  padding: 60px 0;
}

.section-title {
  color: #002654;
  text-transform: uppercase;
}

/* =========================================================
   FOOTER
========================================================= */
#footer-container {
  background-color: #191f6c;
  padding: 30px 0;
}

.footer-titles,
#footer-info,
#footer-bottom-row,
#footer-bottom-row a {
  color: #fff;
}

/* =========================================================
   TEAM / PROPERTY CARDS
========================================================= */
#team .card,
#property .card,
#featured-properties .card {
  background-color: #008053;
  box-shadow: 0 0 5px rgba(0,0,0,0.75);
  border: none;
}

.frontside .card-title,
.backside .card-title,
.card-text {
  color: #fff !important;
}

/* =========================================================
   TABLES
========================================================= */
.table .thead-dark th,
.thead-dark {
  background-color: #191f6c !important;
  border-color: #191f6c !important;
  color: #fff;
}

/* =========================================================
   PROFILE / CONTACT
========================================================= */
.profile-body {
  background-color: #d0d3d3;
  color: #191f6c;
}

.view-profile,
.view-profile a {
  background-color: #191f6c;
  color: #fff;
}

/* =========================================================
   MISC
========================================================= */
.sub-content h1 {
  color: #888;
}

.ubermenu-item-level-1:hover {
  background-color: #d0d3d3 !important;
}
/* =========================================================
   PAGE BACKGROUND (RESTORED FROM ORIGINAL)
========================================================= */
#main-body {
  background: rgba(255, 255, 255, 0.9) !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10) !important;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* =========================================================
   RESIDENTIAL HEADER BUTTON COLOR FIX (FINAL)
========================================================= */
#top-nav .btn,
#top-nav .btn-blue,
#top-nav #property-search .btn {
  background-color: #0147BA;
}
.header-images {
  display: flex;
  flex-direction: column;   /* forces new line */
  align-items: center;      /* horizontal center */
  gap: 20px;                /* space between images */
}

.header-images img {
  max-width: 100%;
  height: auto;
  display: block;
}
.stacked-image {
  display: block;       /* forces new line */
  margin: 0 auto 20px;  /* center + spacing */
  width: auto;          /* preserve aspect ratio */
}
/* =========================================================
   FOOTER CLEANUP
========================================================= */

#footer-container {
  background-color: #002654;
  color: #ffffff;
  padding: 80px 0 40px;
}

.footer-main {
  margin-bottom: 40px;
}

/* LOGO */
.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

/* CONTACT */
.footer-contact {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* TITLES */
.footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffffff;
}

/* LINKS */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #ffffff;
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* DIVIDER */
.footer-divider {
  border-color: rgba(255,255,255,0.2);
  margin: 40px 0;
}

/* BOTTOM */
.footer-bottom {
  font-size: 0.85rem;
}

/* BADGES */
.compliance-badges {
  max-width: 120px;
  margin-bottom: 15px;
  display: block;
}

/* SOCIAL */
.footer-social-icons a {
  color: #ffffff;
  margin-right: 12px;
  font-size: 1.1rem;
  opacity: 0.85;
}

.footer-social-icons a:hover {
  opacity: 1;
}

/* INLINE POLICY */
.footer-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-inline li {
  display: inline-block;
  margin-left: 15px;
}

.footer-inline a {
  color: #ffffff;
  opacity: 0.85;
}

.footer-inline a:hover {
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-policy,
  .footer-copy {
    text-align: center !important;
    margin-top: 15px;
  }

  .footer-social-left {
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto;
  }
}
.footer-addresses {
  margin: 30px 0;
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-address {
  line-height: 1.6;
}

.footer-address strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .footer-address {
    margin-bottom: 20px;
    text-align: center;
  }
}
/* FOOTER BASE */
#footer-container {
  background-color: #002654;
  padding: 70px 0 40px;
  color: #ffffff;
}

/* BRAND */
.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

/* TITLES */
.footer-title {
  text-transform: uppercase;
  font-size: 1.0rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  font-weight: 600;
}

/* LISTS */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 600;
	
}

.footer-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ADDRESSES */
.footer-addresses {
  margin: 40px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-addresses strong {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* DIVIDER */
.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 40px 0;
}

/* BOTTOM BAR */
.footer-bottom {
  font-size: 0.8rem;
  opacity: 0.85;
}

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

.footer-policy li {
  display: inline-block;
  margin-left: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
}
/* =========================================
   PAGE TITLES (REPLACES PNG HEADERS)
========================================= */

.page-title-wrap {
  text-align: center;
  margin: 40px auto 30px;
}

/* Script-style / decorative title replacement */
.page-title-primary {
  font-family: var(--font-primary); /* Jost */
  font-weight: 600; /* SemiBold */
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* Location / section title */
.page-title-secondary {
  font-family: var(--font-primary); /* Jost */
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.ada-description {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 500px;
}

.ada-description img {
    height: 100px;
    width: auto;
}
