/* ============================================================
   LTMB Brand Override — LivingTrust Mortgage Bank Plc
   Primary: #0100a4  |  Accent: #0cb9d5
   ============================================================ */

:root {
  --elixir-primary:                  #0100a4;
  --elixir-primary-rgb:              1, 0, 164;
  --elixir-warning:                  #0cb9d5;
  --elixir-warning-rgb:              12, 185, 213;
  --ltmb-primary:                    #0100a4;
  --ltmb-accent:                     #0cb9d5;
  --ltmb-accent-light:               rgba(12,185,213,.12);
  --ltmb-dark:                       #060845;
  --ltmb-text:                       #3a3d5c;
  --ltmb-border:                     #dde3ef;
  --ltmb-bg-light:                   #f4f7fc;
  --ltmb-white:                      #ffffff;
}

/* ---- Global resets ---- */
body { color: var(--ltmb-text); font-family: 'Open Sans', sans-serif; }
a { color: var(--ltmb-primary); }
a:hover { color: var(--ltmb-accent); }

/* ---- Top-bar ---- */
.ltmb-topbar {
  background: var(--ltmb-primary);
  padding: 8px 0;
  font-size: .8rem;
}
.ltmb-topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.ltmb-topbar a:hover { color: var(--ltmb-accent); }
.ltmb-topbar .sep { border-left: 1px solid rgba(255,255,255,.25); margin: 0 12px; height: 14px; display: inline-block; vertical-align: middle; }

/* ---- Navbar ---- */
.navbar-elixir { background: #fff; box-shadow: 0 2px 18px rgba(1,0,164,.10); }
.navbar-elixir .navbar-brand img { height: 48px; }
.navbar-elixir .nav-link { color: #222 !important; font-weight: 600; font-size: .875rem; }
.navbar-elixir .nav-link:hover,
.navbar-elixir .nav-link.active { color: var(--ltmb-primary) !important; }
.navbar-elixir .dropdown-menu { border: none; box-shadow: 0 6px 24px rgba(1,0,164,.12); border-radius: 8px; }
.navbar-elixir .dropdown-item { font-size: .85rem; padding: 8px 20px; color: #333; }
.navbar-elixir .dropdown-item:hover { color: var(--ltmb-primary); background: var(--ltmb-accent-light); }
.navbar-elixir .btn-ebanking {
  background: var(--ltmb-primary);
  color: #fff !important;
  border-radius: 4px;
  padding: 8px 22px;
  font-size: .85rem;
  font-weight: 700;
  border: none;
  transition: background .25s;
}
.navbar-elixir .btn-ebanking:hover { background: var(--ltmb-accent); color: #fff !important; }

/* ---- Hero Slider ---- */
.ltmb-hero { position: relative; }
.ltmb-hero .swiper-slide .bg-holder { background-size: cover; background-position: center; }
.ltmb-hero .slide-label {
  display: inline-block;
  background: var(--ltmb-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.ltmb-hero .slide-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.ltmb-hero .slide-title span { color: var(--ltmb-accent); }
.ltmb-hero .slide-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  line-height: 1.65;
}
.ltmb-hero .swiper-button-prev,
.ltmb-hero .swiper-button-next {
  background: rgba(1,0,164,.6);
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff !important;
  font-size: .85rem;
}
.ltmb-hero .swiper-button-prev:hover,
.ltmb-hero .swiper-button-next:hover { background: var(--ltmb-accent); }
.ltmb-hero .swiper-button-prev::after,
.ltmb-hero .swiper-button-next::after { font-size: .85rem !important; }

/* ---- Stats bar ---- */
.ltmb-stats {
  background: linear-gradient(135deg, var(--ltmb-primary) 0%, #0300c8 60%, #020090 100%);
  padding: 0;
}
.ltmb-stats .stat-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
  flex: 1;
}
.ltmb-stats .stat-item:last-child { border-right: none; }
.ltmb-stats .stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}
.ltmb-stats .stat-num span { color: var(--ltmb-accent); }
.ltmb-stats .stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  display: block;
}
@media (max-width: 767px) {
  .ltmb-stats .d-flex { flex-wrap: wrap; }
  .ltmb-stats .stat-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ---- Section labels & headings ---- */
.ltmb-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ltmb-accent);
  background: var(--ltmb-accent-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ltmb-section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ltmb-dark); }
.ltmb-section-title span { color: var(--ltmb-accent); }

/* ---- Buttons ---- */
.btn-ltmb {
  background: var(--ltmb-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: .875rem;
  transition: all .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-ltmb:hover { background: var(--ltmb-accent); color: #fff; }
.btn-ltmb-outline {
  border: 2px solid rgba(255,255,255,.55);
  color: #fff;
  background: transparent;
  border-radius: 4px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}
.btn-ltmb-outline:hover { background: var(--ltmb-accent); border-color: var(--ltmb-accent); color: #fff; }
.btn-accent {
  background: var(--ltmb-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  display: inline-block;
  transition: all .25s;
}
.btn-accent:hover { background: var(--ltmb-primary); color: #fff; }

/* ---- Page hero (inner pages) ---- */
.ltmb-page-hero {
  background: url('../img/hero.jpg') center/cover no-repeat;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.ltmb-page-hero::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(12,185,213,.12);
}
.ltmb-page-hero h1 { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.ltmb-breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.ltmb-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .875rem; }
.ltmb-breadcrumb a:hover { color: var(--ltmb-accent); }
.ltmb-breadcrumb span { color: rgba(255,255,255,.4); font-size: .875rem; }
.ltmb-breadcrumb .active { color: var(--ltmb-accent); font-size: .875rem; }

/* ---- Cards ---- */
.ltmb-card {
  border: 1px solid var(--ltmb-border);
  border-radius: 10px;
  background: #fff;
  transition: all .3s;
  overflow: hidden;
  height: 100%;
}
.ltmb-card:hover {
  border-color: var(--ltmb-accent);
  box-shadow: 0 8px 32px rgba(12,185,213,.15);
  transform: translateY(-4px);
}
.ltmb-card .card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--ltmb-primary), var(--ltmb-accent));
}
.ltmb-card .card-icon.icon-accent { background: linear-gradient(135deg, var(--ltmb-accent), #00d4f5); }
.ltmb-card .card-icon.icon-green { background: linear-gradient(135deg, #157347, #28a745); }

/* ---- Service list items ---- */
.svc-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ltmb-border);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all .3s;
  text-decoration: none;
  color: inherit;
}
.svc-item:hover {
  border-color: var(--ltmb-accent);
  box-shadow: 0 4px 20px rgba(12,185,213,.12);
  transform: translateX(5px);
  color: inherit;
  text-decoration: none;
}
.svc-item .svc-icon {
  width: 48px; min-width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.svc-item .svc-icon.blue { background: linear-gradient(135deg, #0100a4, #0300c8); }
.svc-item .svc-icon.cyan { background: linear-gradient(135deg, #0cb9d5, #00d4f5); }
.svc-item .svc-icon.green { background: linear-gradient(135deg, #157347, #20c997); }
.svc-item .svc-icon.orange { background: linear-gradient(135deg, #c85a00, #fd7e14); }
.svc-item h5 { font-size: .95rem; font-weight: 700; color: var(--ltmb-dark); margin: 0 0 3px; }
.svc-item p { font-size: .82rem; color: #6c757d; margin: 0; line-height: 1.5; }
.svc-item .svc-arrow { margin-left: auto; align-self: center; color: #c0cbd6; transition: all .3s; }
.svc-item:hover .svc-arrow { color: var(--ltmb-accent); transform: translateX(4px); }

/* ---- Values ---- */
.value-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--ltmb-border);
  height: 100%;
  transition: all .3s;
}
.value-card:hover { box-shadow: 0 8px 32px rgba(1,0,164,.1); border-color: var(--ltmb-accent); }
.value-card .v-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--ltmb-primary), var(--ltmb-accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem; color: #fff;
}
.value-card h5 { font-weight: 700; color: var(--ltmb-dark); margin-bottom: 10px; }
.value-card p { font-size: .875rem; color: #6c757d; line-height: 1.65; margin: 0; }

/* ---- Board / Team cards ---- */
.team-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ltmb-border);
  transition: all .3s;
}
.team-card:hover { box-shadow: 0 8px 30px rgba(1,0,164,.12); transform: translateY(-4px); }
.team-card img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.team-card .tc-body { padding: 20px; }
.team-card h5 { font-weight: 700; color: var(--ltmb-dark); margin: 0 0 4px; font-size: 1rem; }
.team-card .tc-role { font-size: .82rem; color: var(--ltmb-accent); font-weight: 600; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  border: 1px solid var(--ltmb-border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--ltmb-accent);
  opacity: .25;
  position: absolute;
  top: 10px; left: 18px;
  font-family: Georgia, serif;
}
.testimonial-card p { font-size: .9rem; color: #555; line-height: 1.7; margin-bottom: 18px; position: relative; z-index: 1; }
.testimonial-card .t-name { font-weight: 700; color: var(--ltmb-dark); font-size: .9rem; }
.testimonial-card .t-role { font-size: .78rem; color: var(--ltmb-accent); }

/* ---- FAQ ---- */
.ltmb-accordion .accordion-button {
  background: #fff;
  color: var(--ltmb-dark);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px !important;
}
.ltmb-accordion .accordion-button:not(.collapsed) {
  background: var(--ltmb-primary);
  color: #fff;
  box-shadow: none;
}
.ltmb-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.ltmb-accordion .accordion-item {
  border: 1px solid var(--ltmb-border);
  border-radius: 8px !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.ltmb-accordion .accordion-body {
  font-size: .9rem;
  color: #555;
  line-height: 1.7;
}

/* ---- Partners ---- */
.partner-logo {
  filter: grayscale(100%);
  opacity: .55;
  transition: all .3s;
  max-height: 50px;
  object-fit: contain;
}
.partner-logo:hover { filter: none; opacity: 1; }

/* ---- CTA banner ---- */
.ltmb-cta {
  background: linear-gradient(135deg, var(--ltmb-primary) 0%, #0300c8 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.ltmb-cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(12,185,213,.15);
}
.ltmb-cta h2 { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; }
.ltmb-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ---- Footer ---- */
.ltmb-footer-top {
  background: var(--ltmb-dark);
  padding: 60px 0 40px;
}
.ltmb-footer-top h5 { color: var(--ltmb-accent); font-weight: 700; margin-bottom: 20px; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.ltmb-footer-top p { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.7; }
.ltmb-footer-top ul { list-style: none; padding: 0; margin: 0; }
.ltmb-footer-top ul li { margin-bottom: 10px; }
.ltmb-footer-top ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .875rem; transition: color .2s; }
.ltmb-footer-top ul li a:hover { color: var(--ltmb-accent); }
.ltmb-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
  margin-right: 8px;
  text-decoration: none;
  transition: all .25s;
  font-size: .85rem;
}
.ltmb-footer-social a:hover { background: var(--ltmb-accent); color: #fff; }
.ltmb-footer-bottom {
  background: #040230;
  padding: 18px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.ltmb-footer-bottom a { color: var(--ltmb-accent); text-decoration: none; }

/* ---- Contact form ---- */
.ltmb-form .form-control {
  border: 1px solid var(--ltmb-border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: .9rem;
  background: #f9fbff;
  transition: all .25s;
}
.ltmb-form .form-control:focus {
  border-color: var(--ltmb-accent);
  box-shadow: 0 0 0 3px rgba(12,185,213,.12);
  background: #fff;
}
.ltmb-form label { font-weight: 600; font-size: .85rem; color: var(--ltmb-dark); margin-bottom: 6px; }

/* ---- Info box ---- */
.info-box {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--ltmb-border);
  margin-bottom: 16px;
}
.info-box .ib-icon {
  width: 48px; min-width: 48px; height: 48px;
  background: var(--ltmb-accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--ltmb-primary);
}
.info-box h6 { font-weight: 700; color: var(--ltmb-dark); margin: 0 0 4px; }
.info-box p { font-size: .875rem; color: #6c757d; margin: 0; }

/* ---- Awards grid ---- */
.award-card {
  background: #fff;
  border: 1px solid var(--ltmb-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all .3s;
  height: 100%;
}
.award-card:hover { box-shadow: 0 8px 32px rgba(1,0,164,.1); border-color: var(--ltmb-accent); transform: translateY(-4px); }
.award-card img { width: 100%; height: 200px; object-fit: cover; }
.award-card .aw-body { padding: 18px; }
.award-card .aw-year { font-size: .78rem; font-weight: 700; color: var(--ltmb-accent); text-transform: uppercase; letter-spacing: 1px; }
.award-card h6 { font-weight: 700; color: var(--ltmb-dark); margin-top: 5px; font-size: .9rem; }

/* ---- Loan product card ---- */
.product-card {
  background: #fff;
  border: 1px solid var(--ltmb-border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all .3s;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ltmb-primary), var(--ltmb-accent));
  transform: scaleX(0);
  transition: transform .3s;
}
.product-card:hover { box-shadow: 0 8px 32px rgba(1,0,164,.1); transform: translateY(-4px); }
.product-card:hover::after { transform: scaleX(1); }
.product-card .p-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ltmb-accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--ltmb-primary);
  margin-bottom: 16px;
}
.product-card h5 { font-weight: 700; color: var(--ltmb-dark); margin-bottom: 10px; font-size: 1rem; }
.product-card p { font-size: .875rem; color: #6c757d; line-height: 1.65; }
.product-card .p-rate { font-size: .82rem; font-weight: 700; color: var(--ltmb-accent); margin-top: 12px; }

/* ---- Location card ---- */
.location-card {
  background: #fff;
  border: 1px solid var(--ltmb-border);
  border-radius: 10px;
  padding: 24px;
  height: 100%;
  transition: all .3s;
}
.location-card:hover { box-shadow: 0 6px 24px rgba(1,0,164,.1); border-color: var(--ltmb-accent); }
.location-card h5 { font-weight: 700; color: var(--ltmb-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.location-card .l-icon { color: var(--ltmb-accent); font-size: 1.1rem; }
.location-card p { font-size: .875rem; color: #6c757d; margin: 0 0 6px; }

/* ---- e-Banking page ---- */
.ebank-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--ltmb-bg-light);
  border-radius: 10px;
  margin-bottom: 14px;
}
.ebank-feature .ef-icon {
  width: 46px; min-width: 46px; height: 46px;
  background: var(--ltmb-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.ebank-feature h6 { font-weight: 700; color: var(--ltmb-dark); margin: 0 0 4px; }
.ebank-feature p { font-size: .82rem; color: #6c757d; margin: 0; }

/* ---- Investors page ---- */
.inv-doc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ltmb-border);
  font-size: .875rem;
}
.inv-doc-row:last-child { border-bottom: none; }
.inv-doc-row .doc-icon { color: var(--ltmb-accent); margin-right: 10px; }
.inv-doc-row a { color: var(--ltmb-primary); text-decoration: none; font-weight: 600; }
.inv-doc-row a:hover { color: var(--ltmb-accent); }

/* ---- Utility ---- */
.text-ltmb { color: var(--ltmb-primary) !important; }
.text-accent { color: var(--ltmb-accent) !important; }
.bg-ltmb { background: var(--ltmb-primary) !important; }
.bg-accent { background: var(--ltmb-accent) !important; }
.border-accent { border-color: var(--ltmb-accent) !important; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
hr.ltmb-divider {
  width: 56px; height: 3px;
  background: var(--ltmb-accent);
  border: none; opacity: 1;
  margin: 12px 0 24px;
}
hr.ltmb-divider.center { margin: 12px auto 24px; }
.overlay-blue { background: rgba(1,0,164,.72); }

/* ---- Preloader override ---- */
.preloader .line-scale > div { background-color: var(--ltmb-accent) !important; }

/* ---- Swiper nav ---- */
.swiper-nav .swiper-button-prev,
.swiper-nav .swiper-button-next { color: #fff; }
