/*
 * Arise Theme — Deep blue / white / amber
 * Google Fonts: Playfair Display (headings) + Inter (body)
 * Character: Institutional, credible, trustworthy — dark navy header + deep footer
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bs-primary: #1a3a6b;
  --bs-primary-rgb: 26, 58, 107;
  --bs-secondary: #f59e0b;
  --bs-secondary-rgb: 245, 158, 11;
  --bs-body-bg: #ffffff;
  --bs-body-color: #1f2937;
  --bs-link-color: #1a3a6b;
  --bs-link-hover-color: #0f224a;
  --bs-font-sans-serif: 'Inter', system-ui, -apple-system, sans-serif;
  --bs-font-headings: 'Playfair Display', Georgia, serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.65;
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 0.75rem;
  --bs-box-shadow: 0 2px 8px rgba(26, 58, 107, 0.12);
  --bs-box-shadow-sm: 0 1px 4px rgba(26, 58, 107, 0.08);

  --arise-navy: #1a3a6b;
  --arise-navy-dark: #0d1f3c;
  --arise-amber: #f59e0b;
  --arise-amber-dark: #d97706;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bs-font-headings);
  font-weight: 700;
  color: var(--arise-navy);
}

.btn-primary {
  background-color: var(--arise-navy);
  border-color: var(--arise-navy);
}
.btn-primary:hover {
  background-color: var(--arise-navy-dark);
  border-color: var(--arise-navy-dark);
}
.btn-secondary {
  background-color: var(--arise-amber);
  border-color: var(--arise-amber);
  color: #1f2937;
}
.btn-secondary:hover {
  background-color: var(--arise-amber-dark);
  border-color: var(--arise-amber-dark);
  color: #1f2937;
}

/* ---- HEADER — Dark navy bar, amber underline accent on active/hover ---- */
.subsite-header .navbar {
  background-color: var(--arise-navy) !important;
  border-bottom: 4px solid var(--arise-amber) !important;
  box-shadow: 0 2px 16px rgba(13, 31, 60, 0.4) !important;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.subsite-header .navbar-brand,
.subsite-header .navbar-brand-text {
  color: #ffffff !important;
  font-family: var(--bs-font-headings);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.subsite-header .navbar-logo {
  height: 80px;
  width: auto;
}

.subsite-header .nav-link {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s;
}

.subsite-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--arise-amber);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.subsite-header .nav-link:hover {
  color: #ffffff !important;
}

.subsite-header .nav-link:hover::after {
  transform: scaleX(1);
}

.subsite-header .nav-link.active {
  color: var(--arise-amber) !important;
  font-weight: 600;
}

.subsite-header .nav-link.active::after {
  transform: scaleX(1);
}

.subsite-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.4rem 0.6rem;
}

.subsite-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .subsite-header .navbar-collapse {
    background-color: var(--arise-navy-dark);
    margin: 0 -0.75rem -0.875rem;
    padding: 0.5rem 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .subsite-header .nav-link::after {
    display: none;
  }
}

/* ---- FOOTER — Deep dark navy, amber headings, circular social icons ---- */
.subsite-footer {
  margin-top: 4rem;
  background-color: var(--arise-navy-dark);
  color: rgba(255, 255, 255, 0.82);
}

.subsite-footer .footer-brand-text {
  color: #ffffff;
  font-family: var(--bs-font-headings);
  font-size: 1.35rem;
}

.subsite-footer .footer-logo {
  opacity: 0.9;
}

.subsite-footer .footer-tagline {
  color: rgba(255, 255, 255, 0.5);
}

.subsite-footer .footer-heading {
  color: var(--arise-amber);
  letter-spacing: 0.12em;
}

.subsite-footer .footer-links a,
.subsite-footer .footer-links li,
.subsite-footer .subsite-powered-link {
  color: rgba(255, 255, 255, 0.62);
}

.subsite-footer .footer-links a:hover,
.subsite-footer .subsite-powered-link:hover {
  color: var(--arise-amber);
}

.subsite-footer .footer-social-link {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.65);
  background-color: transparent;
}

.subsite-footer .footer-social-link:hover {
  border-color: var(--arise-amber);
  color: var(--arise-amber);
  background-color: rgba(245, 158, 11, 0.12);
}

.subsite-footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subsite-footer-bottom {
  background-color: rgba(0, 0, 0, 0.28);
}

.subsite-footer .footer-copy {
  color: rgba(255, 255, 255, 0.35);
}
