/* My EMI Locker — Bootstrap Brand Overrides */

/* ── Sticky footer: always at the bottom even on short pages ── */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-footer {
  margin-top: auto;
}

:root {
  --bs-primary:        #0A66FF;
  --bs-primary-rgb:    10, 102, 255;
  --mel-navy:          #001D5C;
  --mel-blue-dark:     #003B95;
}

/* ── Navbar ── */
.navbar-brand .brand-icon {
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, #0A66FF, #003B95);
  border-radius: .5rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-right: .45rem;
  vertical-align: middle;
}
.navbar { box-shadow: 0 1px 12px rgba(0,0,0,.08); }
.navbar-brand-name  { font-weight: 900; font-size: 1.05rem; }
.navbar-brand-sub   { font-size: .58rem; color: #6c757d; display: block; line-height: 1; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(140deg, var(--mel-navy) 0%, var(--mel-blue-dark) 55%, #0A66FF 100%);
  color: #fff; padding: 6rem 0 4.5rem;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,.04)' d='M0 0h60v60H0zM60 0L0 0 0 60' fill='none'/%3E%3C/svg%3E");
}
.hero-section > * { position: relative; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--mel-navy) 0%, var(--mel-blue-dark) 100%);
  color: #fff; padding: 5rem 0 3.5rem;
}

/* ── Stat number ── */
.stat-num { font-size: 2rem; font-weight: 900; color: #0A66FF; }
.stat-num-white { color: #fff !important; }

/* ── Section tags ── */
.section-badge {
  display: inline-block;
  background: #E8F0FF; color: #0A66FF;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .3rem .9rem; border-radius: 999px;
}
.section-badge-white {
  background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25);
}

/* ── Feature icon box ── */
.icon-box {
  width: 3rem; height: 3rem; border-radius: .75rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}

/* ── Cards ── */
.card { border: 1px solid #e8ecf4; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 6px 24px rgba(10,102,255,.12); transform: translateY(-3px); }
.card-navy  { background: var(--mel-navy); }

/* ── Step connector ── */
.step-wrap { position: relative; }
.step-num-badge {
  width: 2rem; height: 2rem;
  background: #0A66FF; color: #fff;
  border-radius: 50%; font-size: .7rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── CTA section ── */
.cta-section {
  background: linear-gradient(135deg, var(--mel-navy), var(--mel-blue-dark), #0A66FF);
  border-radius: 1.25rem;
  padding: 3.5rem;
  position: relative; overflow: hidden;
}
.cta-section::before, .cta-section::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section::before { width: 280px; height: 280px; top: -80px; right: -80px; }
.cta-section::after  { width: 180px; height: 180px; bottom: -60px; left: -60px; }
.cta-section > * { position: relative; }

/* ══════════════════════════════════════════
   FOOTER — redesigned
══════════════════════════════════════════ */
.site-footer {
  background: var(--mel-navy);
  color: rgba(255,255,255,.55);
  margin-top: auto;
}

/* CTA Band */
.footer-cta {
  background: linear-gradient(135deg, #0A66FF 0%, var(--mel-blue-dark) 60%, #001D5C 100%);
  padding: 3.5rem 0;
  position: relative; overflow: hidden;
}
.footer-cta::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.footer-cta-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  color: rgba(255,255,255,.85);
  padding: .25rem .9rem;
  margin-bottom: .75rem;
  letter-spacing: .06em;
}
.footer-cta-title {
  font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: .5rem; line-height: 1.25;
}
.footer-cta-sub {
  color: rgba(255,255,255,.65); font-size: .9rem; margin: 0;
}
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem 1.4rem; border-radius: .6rem;
  font-size: .875rem; font-weight: 700;
  text-decoration: none; transition: all .2s;
}
.footer-cta-btn-solid {
  background: #fff; color: #0A66FF;
}
.footer-cta-btn-solid:hover { background: #E8F0FF; color: #003B95; }
.footer-cta-btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.footer-cta-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Stats Strip */
.footer-stats-strip {
  background: rgba(0,0,0,.25);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-stat-num {
  font-size: 1.4rem; font-weight: 900; color: #0A66FF; line-height: 1.1;
}
.footer-stat-label {
  font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .2rem;
  text-transform: uppercase; letter-spacing: .07em;
}

/* Main footer grid */
.footer-main {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

/* Brand section */
.footer-brand-desc {
  font-size: .84rem; line-height: 1.8; color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}
.footer-contact-block {
  display: flex; flex-direction: column; gap: .55rem;
}
.footer-contact-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-contact-icon { font-size: .9rem; flex-shrink: 0; }
.footer-contact-item a {
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .2s;
}
.footer-contact-item a:hover { color: #fff; }

/* App badges */
.footer-app-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .6rem;
  padding: .45rem .85rem;
  text-decoration: none; color: #fff;
  transition: background .2s;
}
.footer-app-badge:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Column headings */
.footer-col-title {
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Link lists */
.footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .45rem;
}
.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .83rem;
  text-decoration: none;
  transition: color .2s, padding-left .15s;
  display: inline-block;
}
.footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-link-highlight { color: #0A66FF !important; font-weight: 700; }
.footer-link-highlight:hover { color: #3b82f6 !important; }

/* City badges */
.footer-cities {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.footer-city-badge {
  font-size: .67rem;
  font-weight: 600;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.4);
  padding: .2rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s, color .2s;
}
.footer-city-badge:hover {
  background: rgba(10,102,255,.3); color: rgba(255,255,255,.85);
}
.footer-city-more {
  font-size: .67rem; color: rgba(255,255,255,.25);
  padding: .2rem .4rem; align-self: center;
}

/* Bottom bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.2);
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: .75rem; padding: 1.1rem 0;
  font-size: .75rem; color: rgba(255,255,255,.3);
}
.footer-bottom-links {
  display: flex; align-items: center; gap: 1.1rem;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.35); text-decoration: none;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: #fff; }

/* ── Check list ── */
.check-item { display: flex; gap: .65rem; font-size: .9rem; }
.check-item .ci-icon { color: #0A66FF; flex-shrink: 0; font-size: 1rem; margin-top: .1rem; }

/* ── Trust band ── */
.trust-band { background: #E8F0FF; border-top: 1px solid rgba(10,102,255,.12); border-bottom: 1px solid rgba(10,102,255,.12); overflow: hidden; }
.trust-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 28s linear infinite; padding: .75rem 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-item { white-space: nowrap; font-size: .82rem; font-weight: 700; color: #003B95; }

/* ── Testimonial ── */
.testimonial-card { border-left: 3px solid #0A66FF !important; }
.stars { color: #f59e0b; }

/* ── Timeline ── */
.timeline-line { border-left: 2px solid #0A66FF; }
.tl-dot { width: 2rem; height: 2rem; background: #0A66FF; border-radius: 50%; color: #fff; font-size: .55rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 4px #E8F0FF; }

/* ── OEM logo ── */
.oem-card { border: 1px solid #e8ecf4; border-radius: .75rem; padding: 1rem; text-align: center; transition: box-shadow .2s; }
.oem-card:hover { box-shadow: 0 4px 16px rgba(10,102,255,.1); }
.oem-icon { width: 3rem; height: 3rem; border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; color: #fff; margin-bottom: .5rem; }

/* ── FAQ override ── */
.accordion-button:not(.collapsed) { background: #E8F0FF; color: #0A66FF; box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ── Partner card head ── */
.partner-head { border-radius: .75rem .75rem 0 0; padding: 1.5rem; color: #fff; }
.partner-earn { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: .5rem; padding: .5rem .85rem; font-size: .85rem; font-weight: 700; color: #15803d; margin: .75rem 0; }

/* ── Form ── */
.form-control:focus, .form-select:focus { border-color: #0A66FF; box-shadow: 0 0 0 .2rem rgba(10,102,255,.15); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000;
  width: 3.5rem; height: 3.5rem; background: #25D366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-section { padding: 5rem 0 3rem; }
  .cta-section { padding: 2.5rem 1.5rem; }
}

/* ── Legal page content ── */
.mel-legal h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mel-navy);
  margin-top: 2rem;
}
.mel-legal h6 { color: var(--mel-navy); }
.mel-legal p, .mel-legal li { font-size: .92rem; color: #374151; line-height: 1.75; }
.mel-legal ul { padding-left: 1.5rem; }
.mel-legal li { margin-bottom: .35rem; }
.mel-legal strong { color: var(--mel-navy); }
.mel-legal table { font-size: .88rem; }
.mel-legal table th { background: #E8F0FF; color: var(--mel-navy); }
.mel-legal a { color: var(--bs-primary); }

