/*
 * Arbor Finance — shared brand theme.
 * Single source of truth for site-wide colors. Linked from navigation.php and
 * footer.php so every page that includes those two partials automatically
 * gets a consistent navbar/footer regardless of that page's own <style> block.
 */

:root {
  --brand-primary: #3b6363;
  --brand-primary-dark: #295454;
  --brand-primary-darker: #1c4040;
  --brand-accent: #F15E22;
  --brand-accent-dark: #d54e18;
  --brand-success: #047857;
  --brand-bg: #e9ecef;
  --brand-panel: #ffffff;
  --brand-text-on-brand: #ffffff;
  --brand-text-muted: rgba(255, 255, 255, 0.75);
}

/* ---------- Navbar ---------- */
.navbar.navbar-brand-theme {
  background-color: var(--brand-panel);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.navbar.navbar-brand-theme .navbar-nav .nav-link {
  color: var(--brand-primary);
  font-weight: 500;
  padding: 0.6rem 1rem;
  transition: color 0.15s ease;
}
.navbar.navbar-brand-theme .navbar-nav .nav-link:hover,
.navbar.navbar-brand-theme .navbar-nav .nav-link.active {
  color: var(--brand-accent);
}
.navbar.navbar-brand-theme .navbar-nav .nav-link.active {
  position: relative;
}
.navbar.navbar-brand-theme .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 1px;
}
.navbar.navbar-brand-theme .navbar-toggler {
  border-color: var(--brand-primary);
}
.navbar-cta-pill {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}
.navbar-cta-pill:hover {
  background-color: var(--brand-accent-dark);
  color: #fff;
}

/* ---------- Landing page sections ---------- */
.hero-band {
  background:
    radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(120deg, var(--brand-primary) 0%, var(--brand-primary-darker) 100%);
  background-size: 22px 22px, cover;
  color: #fff;
  padding: 90px 0;
}
.hero-photo-panel {
  background: linear-gradient(160deg, #f7e6c8 0%, #f0d9a8 100%);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero-photo-panel img.hero-photo {
  max-width: 100%;
  border-radius: 16px;
}
.hero-photo-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.stats-strip {
  background: #fff;
  padding: 32px 0;
  border-bottom: 1px solid #eef0f0;
}
.stats-strip .stat-number {
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 2.25rem;
}
.stats-strip .stat-label {
  color: #6b7280;
}

.solution-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.09);
}
.solution-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(59, 99, 99, 0.12);
  color: var(--brand-primary);
}
.solution-card:nth-child(even) .solution-icon {
  background: rgba(241, 94, 34, 0.12);
  color: var(--brand-accent);
}
.solution-card a {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}
.solution-card a:hover { color: var(--brand-accent); }

.why-bullet-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 99, 99, 0.12);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-photo {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  width: 100%;
  object-fit: cover;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.testimonial-card .quote-mark {
  font-size: 2.5rem;
  color: rgba(59, 99, 99, 0.15);
  line-height: 1;
  font-weight: 800;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-badge {
  background: rgba(59, 99, 99, 0.1);
  color: var(--brand-primary);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}
.faq-item {
  background: #fff;
  border: 1px solid #eef0f0;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item .faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--brand-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  color: #6b7280;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item .faq-chevron { transition: transform 0.2s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.closing-cta-band {
  background: linear-gradient(120deg, var(--brand-primary) 0%, var(--brand-primary-darker) 100%);
  color: #fff;
  padding: 70px 0;
}

/* Compact hero variant used on interior pages (About, etc.) — title + subtitle only */
.hero-band.hero-band-compact {
  padding: 60px 0;
}

/* Highlight row (icon + title + description), used on About */
.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(59, 99, 99, 0.12);
  color: var(--brand-primary);
}
.highlight-col:nth-child(2n) .highlight-icon {
  background: rgba(241, 94, 34, 0.12);
  color: var(--brand-accent);
}

/* Rectangular team cards (About page) */
.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}
.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.team-card .team-card-body {
  padding: 1rem;
}
.team-card .team-card-body h6 {
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

/* ---------- Buttons ---------- */
.btn-brand-accent {
  background-color: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}
.btn-brand-accent:hover,
.btn-brand-accent:focus {
  background-color: var(--brand-accent-dark);
  border-color: var(--brand-accent-dark);
  color: #fff;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #14181b;
  color: var(--brand-text-on-brand);
}
footer.site-footer .footer-brand-logo {
  height: 42px;
}
footer.site-footer h6.footer-heading {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
footer.site-footer a {
  color: var(--brand-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
footer.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}
footer.site-footer .footer-tagline {
  color: var(--brand-text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}
footer.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 0.5rem;
  font-size: 0.95rem;
}
footer.site-footer .footer-social a:hover {
  background: var(--brand-accent);
  color: #fff;
}
footer.site-footer .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1.25rem;
}
footer.site-footer .footer-bottom {
  font-size: 0.85rem;
  color: var(--brand-text-muted);
}
footer.site-footer .footer-bottom a {
  color: var(--brand-text-muted);
}
