/* ============================================================
   CUSTOM.CSS (DROP-IN)
   Modern font system that matches your new logo style
   Headings: Montserrat
   Body/UI: Inter (modern, clean)
   Fallbacks: Open Sans / system fonts
   ============================================================ */

/* ====== FONT IMPORTS (GOOGLE FONTS) ====== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
/* ====== GLOBAL TYPOGRAPHY BASE ====== */
html, body {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-size: 18px;
  line-height: 1.75;
  color: #2b2b2b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin: 0 0 22px; }
li { line-height: 1.75; }
a { transition: 0.25s ease; }

/* Force body font across common theme selectors */
html body,
html body p,
html body li,
html body a,
html body span,
html body div,
html body small {
  font-family: "Open Sans", Arial, sans-serif !important;
}

/* Inputs / buttons should also match */
html body button,
html body input,
html body select,
html body textarea {
  font-family: "Open Sans", Arial, sans-serif !important;
}

/* ====== HEADING SYSTEM (MODERN / LOGO-MATCHING) ====== */
html body h1,
html body h2,
html body h3,
html body h4,
html body .title h2,
html body .title h3 {
  font-family: "Open Sans", Arial, sans-serif !important;
  letter-spacing: -1px !important;
  color: #1e2a38 !important;
	font-weight: 800;
  
  text-transform: none !important;
}

/* Global heading sizes + spacing */
html body h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 60px 0 16px;
}

html body h2 {
  font-size: 32px;
  line-height: 1.18;
  margin: 52px 0 12px;
}

html body h3 {
  font-size: 26px;
  line-height: 1.25;
  margin: 38px 0 10px;
}

html body h4 {
  font-size: 20px;
  line-height: 2;
  margin: 30px 0 10px;
  font-weight: 700 !important;
}

/* Keep paragraph close under headings (less space underneath heading) */
html body h1 + p,
html body h2 + p,
html body h3 + p,
html body h4 + p {
  margin-top: 6px;
}

/* ====== CONTENT SECTION CONTROL (YOUR MAIN BODY AREA) ====== */
.content-section h1,
.content-section h2,
.content-section h3 {
  margin-top: 55px; /* space above */
}

.content-section p {
  line-height: 1.75;
}

/* Prevent extra top space on first visible heading area */
.hero-section h1,
#page-title2 h1,
#page-title2 h2,
#page-title2 h3 {
  margin-top: 0 !important;
}

/* ====== HERO / BANNER (PAGE-TITLE2) TYPOGRAPHY FIXES ====== */
/* Your banner headings are inside .rate-form-main */
#page-title2 .rate-form-main h1,
#page-title2 .rate-form-main h2 {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px !important;
  color: #ffffff !important;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.35);
}

/* Main hero title */
#page-title2 .rate-form-main h1 {
  font-size: 56px !important;
  line-height: 1.08 !important;
  margin-bottom: 10px !important;
}

/* If you ever use H2 in the banner */
#page-title2 .rate-form-main h2 {
  font-size: 34px !important;
  line-height: 1.15 !important;
  margin-bottom: 12px !important;
}

/* Banner subhead (currently an H3 with inline font) */
#page-title2 .rate-form-main h3 {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  color: #ffffff !important;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.35);
  font-size: 22px !important;
  line-height: 1.55 !important;
  margin: 10px 0 22px !important;
}

/* Banner supporting line */
#page-title2 .rate-form-main p,
#page-title2 .rate-form-main span,
#page-title2 .rate-form-main strong {
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}

/* ====== FIX: “FIRST H2 LOOKS BLANK” SCENARIO ======
   If the first heading after the hero is inheriting white text or opacity.
*/
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: #1e2a38 !important;
  opacity: 1 !important;
  visibility: visible !important;
	font-family: "Open Sans", Arial, sans-serif !important;
	font-weight: 500;
}

/* Also ensure content-area headings are not white */
.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4 {
  color: #1e2a38 !important;
}

/* ====== BUTTON REFINEMENT (KEEP YOUR EXISTING .btn-calc + IMPROVE THE HERO BUTTONS) ====== */
.btn-calc {
  background-color: #e29408;
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-size: 14px;
  padding: 25px 15px;
  line-height: 0;
  color: #ffffff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 3px;
}

.btn-calc:hover { background-color: #82bc00; }

/* Your banner uses: .btn-big.white.empty  (make sure it doesn’t turn “all white”) */
#page-title5 .btn-big.white.empty {
  background: rgba(255,255,255,0.12) !important;
  border: 2px solid rgba(255,255,255,0.35) !important;
  color: #ffffff !important;
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 14px 20px !important;
}

#page-title5 .btn-big.white.empty:hover {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(255,255,255,0.55) !important;
}

/* If you have a primary CTA button class on inner sections */
.btn-primary {
  display: inline-block;
  background: #c9a24d;
  color: #131922 !important;
  padding: 14px 22px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: #d7b15a;
  color: #131922 !important;
}

/* ====== FOOTER – LADY BIRD BRANDING ====== */
.footer-wrapper {
  background-color: #131922;
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 35px;
  border-top: 3px solid #c9a24d;
}

.footer-wrapper p,
.footer-wrapper li,
.footer-wrapper span,
.footer-wrapper strong {
  color: #ffffff !important;
  font-family: "Inter", "Open Sans", Arial, sans-serif !important;
}

.footer-wrapper a {
  color: #ffffff !important;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-wrapper a:hover { color: #c9a24d !important; }

.footer-wrapper img { margin-bottom: 20px; }

.footer-wrapper .footer-widget-container:last-child {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-wrapper [data-slbadge] { margin-top: 20px; }



/* ====== EXISTING UTILITY STYLES (PRESERVED) ====== */
.style5 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #000;
  line-height: 16px;
  text-align: right;
}

.style5 input {
  height: 35px;
  margin: 10px 0;
}

.color {
  color: #d4a907;
  font-weight: bold;
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */
@media only screen and (max-width: 768px) {
  html body { font-size: 17px; }

  html body h1 { font-size: 34px; margin-top: 42px; }
  html body h2 { font-size: 26px; margin-top: 36px; }
  html body h3 { font-size: 22px; }

  #page-title2 .rate-form-main h1 { font-size: 36px !important; }
  #page-title2 .rate-form-main h3 { font-size: 22px !important; }

  .btn-calc { padding: 20px 10px; font-size: 14px; }
}
/* Fix banner subheading color */
#page-title2 .rate-form-main p,
#page-title2 .rate-form-main p strong,
#page-title2 .rate-form-main .mb-sm + p strong {
  color: #ffffff !important;
  opacity: 0.92;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.35);
}

/* If that line is ever an <h2> or other tag in the banner */
#page-title2 .rate-form-main h2,
#page-title2 .rate-form-main h4 {
  color: #ffffff !important;
  text-shadow: 0px 2px 10px rgba(0,0,0,0.35);
}
