* =========================================================
   Tibbrix (tibbrix.com) - Full Finanzia Theme Extensions
   ========================================================= */
.navbar-brand img.logo-dark,
.footer-logo {
  height: 48px !important;
  width: auto !important;
  max-height: 48px !important;
  object-fit: contain;
}

.bd-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(14, 159, 138, 0.12);
  color: #0e6f63;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.bd-stat-pill {
  background: #ffffff;
  border: 1px solid rgba(14, 43, 61, 0.1);
  border-radius: 14px;
  padding: 24px 22px;
  height: 100%;
  box-shadow: 0 10px 26px rgba(14, 43, 61, 0.05);
}

.bd-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: #0e2b3d;
  line-height: 1.1;
  margin-bottom: 6px;
}

/* Interactive Monthly Budget Estimator */
.bd-calc-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  color: #0e2b3d;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.bd-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f8fa;
  margin-bottom: 10px;
}

.bd-calc-val {
  font-size: 18px;
  font-weight: 700;
  color: #0e6f63;
}

/* Household Stories Dark Cards */
.bd-story-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bd-story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.bd-story-body {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bd-story-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #89B49B;
  margin-bottom: 10px;
}

/* Process Step Cards */
.bd-step-card {
  background: #ffffff;
  border: 1px solid rgba(14, 43, 61, 0.1);
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  position: relative;
  box-shadow: 0 8px 24px rgba(14, 43, 61, 0.04);
}

.bd-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e6f63;
  margin-bottom: 10px;
  display: block;
}

/* Interactive FAQ Accordion */
.bd-faq-item {
  background: #ffffff;
  border: 1px solid rgba(14, 43, 61, 0.12);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.bd-faq-btn {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #0e2b3d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.bd-faq-btn .bd-faq-plus {
  font-size: 20px;
  color: #0e6f63;
  transition: transform 0.25s ease;
}

.bd-faq-item.open .bd-faq-plus {
  transform: rotate(45deg);
}

.bd-faq-body {
  display: none;
  padding: 0 24px 20px;
  color: #53636d;
  font-size: 15px;
  line-height: 1.65;
}

.bd-faq-item.open .bd-faq-body {
  display: block;
}

/* TFN SMS Preference Cards */
.bd-pref-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e2b3d;
  margin-bottom: 8px;
}

.bd-pref-card {
  background: #f6f8fa;
  border: 1px solid rgba(14, 43, 61, 0.15);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.bd-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bd-consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  cursor: pointer;
}

.bd-consent-item label {
  font-size: 13.5px;
  line-height: 1.55;
  color: #3a4a54;
  margin-bottom: 0;
  cursor: pointer;
}

.bd-legal-tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: #f6f8fa;
  border: 1px solid rgba(14, 43, 61, 0.15);
  border-radius: 8px;
  max-width: 320px;
  margin-bottom: 24px;
}

.bd-legal-tab {
  flex: 1;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: transparent;
  color: #0e2b3d;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.bd-legal-tab.active,
.bd-legal-tab:hover {
  background: #0e2b3d;
  color: #ffffff;
}

.bd-legal-panel { display: none; }
.bd-legal-panel.active { display: block; }

.bd-highlight {
  margin: 18px 0 22px;
  padding: 16px 20px;
  background: #f6f8fa;
  border-left: 4px solid #0e6f63;
  border-radius: 6px;
  color: #0e2b3d;
  font-weight: 600;
}

/* =========================================================
   v4 Fixes: Working Hero Carousel, Crisp White Hero Text,
   Properly Formatted Vertical Blog Cards & Footer Contrast
   ========================================================= */

/* 1. Working Full-Width Hero Carousel (Single Slide Visible at a Time) */
.bd-hero-carousel {
  position: relative;
  overflow: hidden;
  background-color: #0e2b3d;
}

.bd-hero-slide {
  display: none;
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center center;
  align-items: center;
  padding: 110px 0 120px;
}

.bd-hero-slide.active {
  display: flex;
  animation: bdFadeIn 0.55s ease;
}

@keyframes bdFadeIn {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.bd-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 28, 40, 0.90) 0%,
    rgba(14, 43, 61, 0.78) 52%,
    rgba(14, 43, 61, 0.42) 100%
  );
  z-index: 1;
}

.bd-hero-slide .container {
  position: relative;
  z-index: 2;
}

.bd-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #89B49B !important;
  background: rgba(137, 180, 155, 0.18);
  border: 1px solid rgba(137, 180, 155, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.bd-hero-title {
  color: #ffffff !important;
  font-size: clamp(34px, 4.4vw, 56px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.bd-hero-desc {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  max-width: 620px;
  margin-bottom: 32px !important;
}

.bd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.bd-hero-actions .btn-white.btn-outlined {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.bd-hero-actions .btn-white.btn-outlined:hover {
  background: #ffffff !important;
  color: #0e2b3d !important;
}

/* Carousel Prev/Next Arrows & Dots */
.bd-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(14, 43, 61, 0.62);
  color: #ffffff;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bd-carousel-arrow:hover {
  background: #0e9f8a;
  border-color: #0e9f8a;
}

.bd-carousel-prev { left: 22px; }
.bd-carousel-next { right: 22px; }

.bd-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.bd-carousel-dot {
  width: 32px;
  height: 5px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.bd-carousel-dot.active {
  width: 48px;
  background: #89B49B;
}

/* 2. Properly Formatted Vertical Insight Cards (No Squished Thumbnails) */
.bd-insight-card {
  background: #ffffff;
  border: 1px solid rgba(14, 43, 61, 0.1);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(14, 43, 61, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bd-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(14, 43, 61, 0.1);
}

.bd-insight-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  display: block;
}

.bd-insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bd-insight-card:hover .bd-insight-img img {
  transform: scale(1.04);
}

.bd-insight-body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bd-insight-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0e6f63;
  background: rgba(14, 159, 138, 0.12);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: flex-start;
  text-decoration: none;
}

.bd-insight-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.bd-insight-title a {
  color: #0e2b3d;
  text-decoration: none;
}

.bd-insight-title a:hover {
  color: #0e6f63;
}

.bd-insight-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #53636d;
  margin-bottom: 18px;
  flex: 1;
}

.bd-insight-link {
  font-size: 14px;
  font-weight: 700;
  color: #0e2b3d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bd-insight-link:hover {
  color: #0e9f8a;
}

/* 3. High-Contrast Footer Links & Copyright (Fixes dark-on-dark links) */
.footer .footer-widget-nav ul li a,
.footer .footer-secondary a,
.footer .footer-secondary span,
.footer .contact-list li a:not(.btn) {
  color: rgba(255, 255, 255, 0.86) !important;
}

.footer .footer-widget-nav ul li a:hover,
.footer .footer-secondary a:hover,
.footer .contact-list li a:not(.btn):hover {
  color: #89B49B !important;
}

.footer .footer-widget-nav ul li {
  margin-bottom: 10px;
}

/* Fix Inner Page-Title Banner Text Contrast */
.page-title-layout1.bg-overlay::before {
  background: linear-gradient(115deg, rgba(10, 28, 40, 0.86) 0%, rgba(14, 43, 61, 0.72) 100%) !important;
}

.page-title-layout1 .pagetitle-heading,
.page-title-layout1 .breadcrumb-item,
.page-title-layout1 .breadcrumb-item a {
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .bd-hero-slide {
    min-height: 520px;
    padding: 80px 0 95px;
  }
  .bd-carousel-arrow {
    display: none;
  }
}

/* Ensure crisp white contrast on native Swiper hero slides */
.slider .slide-item.bg-overlay::before {
  background: linear-gradient(100deg, rgba(10, 28, 40, 0.85) 0%, rgba(14, 43, 61, 0.65) 55%, rgba(14, 43, 61, 0.35) 100%) !important;
}
.slider .hero-title,
.slider .hero-desc {
  color: #ffffff !important;
}

/* =========================================================
   v7 Fixes: White Button Primary Text Color + Clean Hover
   ========================================================= */

/* 1. Solid white buttons (Hero, CTA, Footer) — exclude .btn-link & .btn-outlined */
.btn-white:not(.btn-link):not(.btn-outlined),
.footer .btn-white:not(.btn-link):not(.btn-outlined),
.footer .contact-list li a.btn-white:not(.btn-link):not(.btn-outlined) {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #223140 !important;
}

.btn-white:not(.btn-link):not(.btn-outlined):hover,
.btn-white:not(.btn-link):not(.btn-outlined):focus,
.footer .btn-white:not(.btn-link):not(.btn-outlined):hover,
.footer .contact-list li a.btn-white:not(.btn-link):not(.btn-outlined):hover {
  background-color: #223140 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* 2. Outlined white buttons on dark backgrounds */
.btn-white.btn-outlined {
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  color: #ffffff !important;
}

.btn-white.btn-outlined:hover,
.btn-white.btn-outlined:focus {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #223140 !important;
}

/* 3. Topbar text link (.btn-link.btn-white) */
.btn-link.btn-white {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.btn-link.btn-white:hover,
.btn-link.btn-white:focus {
  background-color: transparent !important;
  color: #89B49B !important;
}

/* 4. Never paint a background on inner span/icon/svg elements */
.btn-white span,
.btn-white i,
.btn-white svg,
.footer .btn-white span,
.footer .btn-white i,
.footer .btn-white svg {
  background-color: transparent !important;
  color: inherit !important;
}

/* Improved 5-Column Vertical Progress Bars (banner-layout9) */
.banner-layout9 .progressbars-vertical {
  min-height: 340px;
  gap: 8px;
}

.banner-layout9 .progressbars-vertical .progress-item .progress {
  height: 320px;
}

.banner-layout9 .progressbars-vertical .progress-item .progress-bar {
  min-height: 150px;
  padding: 22px 18px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.banner-layout9 .progressbars-vertical .progress-percentage {
  position: static !important;
  display: block !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  margin-bottom: 12px;
}

.banner-layout9 .progressbars-vertical .progress-title {
  position: static !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
}

@media (max-width: 767.98px) {
  .banner-layout9 .progressbars-vertical {
    flex-direction: column;
    align-items: stretch !important;
    min-height: auto;
    gap: 12px;
  }
  .banner-layout9 .progressbars-vertical .progress-item .progress {
    height: auto !important;
  }
  .banner-layout9 .progressbars-vertical .progress-item .progress-bar {
    height: auto !important;
    min-height: 90px;
    width: 100% !important;
  }
}