/* ============================================================
   PESA HELLO PRO — Business Blue Financial Theme
   ============================================================ */

/* --- Design tokens --- */
:root {
  --blue-900: #0A1F44;   /* deep navy */
  --blue-700: #1A3A6B;   /* primary blue */
  --blue-500: #2563EB;   /* action blue */
  --blue-400: #3B82F6;   /* hover blue */
  --blue-100: #DBEAFE;   /* light blue tint */
  --blue-50:  #EFF6FF;   /* near-white blue */

  --accent:       var(--blue-500);
  --accent-hover: var(--blue-400);
  --accent-dark:  var(--blue-700);
  --accent-light: var(--blue-50);

  --bg-page:   #F8FAFC;
  --bg-mid:    #F1F5F9;
  --bg-card:   #FFFFFF;
  --border:    #CBD5E1;
  --border-light: #E2E8F0;

  --text-heading: #0F172A;
  --text-body:    #334155;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;

  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: 'Inter', 'PT Sans Caption', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
[class^='heading-'] {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

p { color: var(--text-body); line-height: 1.75; }

a, a:focus, a:active { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

::selection { background: var(--blue-500); color: #fff; }

hr {
  border: none;
  border-top: 1px solid var(--border-light) !important;
  margin: 0 !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.rd-navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: 0 1px 8px rgba(15,23,42,0.07) !important;
}

.rd-navbar-fixed .rd-navbar-panel,
.rd-navbar-fixed .rd-navbar-nav-wrap {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(15,23,42,0.08) !important;
  border-color: var(--border-light) !important;
}

.rd-navbar-static .rd-nav-link {
  color: var(--text-muted) !important;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.rd-navbar-static .rd-nav-link:hover,
.rd-navbar-static .rd-nav-item.active .rd-nav-link,
.rd-navbar-static .rd-nav-item.focus .rd-nav-link {
  color: var(--accent) !important;
  background: transparent !important;
}

.rd-navbar-fixed .rd-nav-link { color: var(--text-body) !important; }
.rd-navbar-fixed .rd-nav-item:hover .rd-nav-link,
.rd-navbar-fixed .rd-nav-item.active .rd-nav-link {
  color: #ffffff !important;
  background: var(--accent) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: 6px !important;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background: var(--blue-500) !important;
  border-color: var(--blue-500) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.30) !important;
}

.btn-primary:hover {
  background: var(--blue-700) !important;
  border-color: var(--blue-700) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35) !important;
  transform: translateY(-1px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.section.bg-image-1 {
  background-color: var(--blue-900) !important;
  background-image: url(../images/home-01-1600x694.jpg) !important;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.section.bg-image-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,31,68,0.93) 0%,
    rgba(26,58,107,0.82) 55%,
    rgba(37,99,235,0.30) 100%
  );
  z-index: 0;
}

.section.bg-image-1 .container {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
}

.section.bg-image-1 .brand {
  display: inline-block;
  margin-bottom: 28px;
}

.section.bg-image-1 h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.section.bg-image-1 h4 {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--blue-100) !important;
  margin-top: 14px;
  letter-spacing: 0.01em;
}

.section.bg-image-1 p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: rgba(219,234,254,0.85) !important;
  max-width: 540px;
  margin-top: 18px;
}

.section.bg-image-1 .row.row-30 { margin-top: 40px; }

@media (min-width: 992px) {
  .section.bg-image-1 h1 { font-size: 3.4rem; }
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
section.section-md-2 {
  background: var(--bg-mid);
}

.jumbotron-custom {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.jumbotron-custom:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Icon container */
.jumbotron-custom .unit {
  align-items: flex-start !important;
  gap: 16px;
}

.jumbotron-custom .unit-left { flex-shrink: 0; }

.jumbotron-custom .icon-group {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jumbotron-custom .icon-group .icon-default {
  font-size: 26px !important;
  color: var(--blue-500) !important;
}

.jumbotron-custom .icon-group .icon-info { display: none !important; }

.jumbotron-custom .unit-body {
  display: flex;
  align-items: center;
  min-height: 56px;
}

.jumbotron-custom h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text-heading) !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em;
  margin-top: 0 !important;
}

.jumbotron-custom .jumbotron-wrap {
  flex: 1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.jumbotron-custom p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-muted) !important;
}

/* ============================================================
   ELIGIBILITY SECTION
   ============================================================ */
.bg-image-2 {
  background-image: url(../images/home-06-1600x576.jpg) !important;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-image-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(248,250,252,0.96) 0%,
    rgba(239,246,255,0.92) 60%,
    rgba(219,234,254,0.80) 100%
  );
  z-index: 0;
}

.bg-image-2 .container { position: relative; z-index: 1; }

.bg-image-2 h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-heading) !important;
  padding-bottom: 16px;
  position: relative;
}

.bg-image-2 h1::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--blue-500);
  border-radius: 2px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .bg-image-2 h1::after { margin-left: 0; }
}

.bg-image-2 h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body) !important;
  margin-top: 20px;
  line-height: 1.65;
}

.bg-image-2 p { color: var(--text-muted) !important; }

.bg-image-2 .list { margin-top: 20px; }

.bg-image-2 .list li {
  color: var(--text-body);
  font-size: 0.96rem;
  line-height: 1.7;
  padding-left: 26px;
  margin-top: 12px;
  position: relative;
}

.bg-image-2 .list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}

.image-wrap::before {
  background-color: var(--blue-500) !important;
  opacity: 0.12;
}

/* ============================================================
   LOAN STEPS SECTION
   ============================================================ */
section.bg-gray-100 {
  background: var(--bg-page) !important;
}

section.bg-gray-100 h1 {
  color: var(--text-heading) !important;
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 16px;
}

section.bg-gray-100 h1.text-center::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue-500);
  border-radius: 2px;
  margin: 14px auto 0;
}

.blockquote-wrapper {
  background: transparent !important;
  overflow: visible;
}

.blockquote-wrapper.bg-white { background: transparent !important; }

.quote-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.quote-wrap:hover {
  border-color: var(--blue-400) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-4px);
}

.blockquote-wrapper .quote-wrap:before {
  background: linear-gradient(135deg, rgba(37,99,235,0.06) 0%, rgba(239,246,255,0.5) 100%) !important;
  border-radius: 10px;
}

.blockquote-wrapper .quote {
  padding: 24px 20px !important;
  text-align: left !important;
}

.blockquote-wrapper .unit.unit-middle {
  align-items: center;
  gap: 14px;
}

.blockquote-wrapper .unit-body h4 {
  font-size: 0.93rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.03em;
  color: var(--text-heading) !important;
}

.blockquote-wrapper .quote-caption {
  margin-top: 14px !important;
  min-height: auto !important;
}

.blockquote-wrapper .quote-caption q {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--text-muted) !important;
  quotes: none;
}

.blockquote-wrapper .quote-caption q::before,
.blockquote-wrapper .quote-caption q::after { content: '' !important; }

/* Step number circles — override inline style via specificity */
.icon-circle {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%) !important;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35) !important;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
section#contacts {
  background: var(--bg-mid);
}

.contact-section-wrapper {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-md) !important;
  padding: 48px 40px !important;
}

.contact-section-wrapper h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading) !important;
  position: relative;
  padding-bottom: 14px;
}

.contact-section-wrapper h1::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: var(--blue-500);
  border-radius: 2px;
  margin-top: 12px;
}

@media (min-width: 992px) {
  .contact-section-wrapper h1::after { margin-left: 0; }
}

.contact-section-wrapper p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-muted) !important;
}

.divider-vertical {
  background-color: var(--border-light) !important;
}

.contact-info-inline dl {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.contact-info-inline dt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  font-weight: 600;
  color: var(--text-heading) !important;
  white-space: nowrap;
}

.contact-info-inline dt span,
.contact-info-inline dd,
.contact-info-inline a.link-black {
  color: var(--text-muted) !important;
}

.contact-info-inline a.link-black:hover { color: var(--accent) !important; }

.icon-default { color: var(--blue-500) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
  background: var(--blue-900) !important;
  border-top: 3px solid var(--blue-500);
  padding-top: 56px !important;
  padding-bottom: 48px !important;
}

.page-footer h3 {
  color: #ffffff !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-footer p {
  color: rgba(219,234,254,0.65) !important;
  font-size: 0.87rem !important;
  line-height: 1.78 !important;
  margin-top: 10px !important;
}

.page-footer .copyright { color: rgba(219,234,254,0.75) !important; }

.page-footer .list a {
  color: var(--blue-100) !important;
  font-size: 0.9rem;
}

.page-footer .list a:hover { color: #ffffff !important; }

.page-footer .list li + li { margin-top: 8px; }

.page-footer .footer-brand {
  display: block;
  margin-bottom: 20px;
}

/* ============================================================
   MISC
   ============================================================ */
.preloader { background: var(--bg-page) !important; }
.preloader-body p { color: var(--text-muted) !important; }
.cssload-speeding-wheel {
  border-color: var(--blue-500) !important;
  border-left-color: transparent !important;
  border-bottom-color: transparent !important;
}

.ui-to-top { background: var(--blue-500) !important; }
.ui-to-top:hover { background: var(--blue-700) !important; }

/* Section backgrounds */
section.section-md-3:not(.bg-image-2):not(#contacts) {
  background: var(--bg-page);
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */

/* Tablet ≤991px */
@media (max-width: 991px) {
  .jumbotron-custom { max-width: 100%; }
  .contact-section-wrapper { padding: 32px 24px !important; }
  .section.bg-image-1 h1 { font-size: 2.1rem; }
  .bg-image-2 h1 { font-size: 1.85rem; }
  .contact-section-wrapper h1 { font-size: 1.5rem; }
  .blockquote-wrapper .row { gap: 16px 0; }
}

/* Mobile ≤767px */
@media (max-width: 767px) {
  body { font-size: 15px; }

  .section, .section-md, .section-md-2, .section-md-3 {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  /* Hero */
  .section.bg-image-1 {
    min-height: auto;
    text-align: center;
  }
  .section.bg-image-1 .container { padding-top: 52px; padding-bottom: 52px; }
  .section.bg-image-1 h1 { font-size: 1.8rem; }
  .section.bg-image-1 h4 { font-size: 0.97rem; }
  .section.bg-image-1 p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .section.bg-image-1 .brand img { max-width: 150px; }
  .section.bg-image-1 .row.row-30 { justify-content: center; margin-top: 28px; }
  .section.bg-image-1 .btn { width: 100%; max-width: 280px; }

  /* Feature cards */
  .row-50 .col-lg-4.jumbotron-custom { width: 100%; margin-bottom: 16px; }
  .jumbotron-custom { padding: 20px 18px; }

  /* Eligibility */
  .bg-image-2 .col-md-4 { margin-bottom: 24px; }
  .bg-image-2 h1 { font-size: 1.55rem; }
  .bg-image-2 h1::after,
  .contact-section-wrapper h1::after { margin-left: auto; margin-right: auto; }
  .bg-image-2 .image-wrap img { max-width: 200px; }

  /* Steps */
  .quote-wrap { width: 100%; margin-bottom: 16px; }
  .blockquote-wrapper .quote { padding: 18px 16px !important; }

  /* Contact */
  .contact-section-wrapper { padding: 28px 16px !important; border-radius: 10px !important; }
  .contact-section-wrapper h1 { font-size: 1.4rem; }
  .contact-info-inline dl { flex-direction: column; gap: 4px; }
  .contact-info-inline dt { min-width: auto; }

  /* Footer */
  .page-footer { padding-top: 40px !important; padding-bottom: 32px !important; }
  .page-footer .col-lg-6 + .col-lg-6 { margin-top: 32px; }

  section.bg-gray-100 h1.text-center::after { margin: 14px auto 0; }
}

/* Small mobile ≤480px */
@media (max-width: 480px) {
  .section.bg-image-1 h1 { font-size: 1.5rem; }
  .bg-image-2 h1 { font-size: 1.35rem; }
  .jumbotron-custom h3 { font-size: 0.95rem !important; }
  .contact-section-wrapper { padding: 20px 14px !important; }
}
