/* ===== AH Management — Custom Styles ===== */

:root {
  --navy: #1a2a3a;
  --navy-light: #243447;
  --dark: #111111;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #f5f6f8;
  --accent: #1e3a5f;
  --accent-hover: #15294a;
  --white: #ffffff;
  --border: #dee2e6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  font-weight: 600;
}

p { line-height: 1.75; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  padding: .85rem 0;
  background: var(--white) !important;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06); }

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark) !important;
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.02em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 4px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.nav-link {
  font-weight: 500;
  font-size: .88rem;
  color: var(--gray-dark) !important;
  padding: .5rem 1rem !important;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav-link:hover,
.nav-link.active { color: var(--accent) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 10rem 0 8rem;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, rgba(17,17,17,.85) 0%, rgba(26,42,58,.7) 100%);
}
.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.hero .lead {
  font-size: 1.15rem;
  opacity: .85;
  max-width: 640px;
}
.hero .subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  position: relative;
  color: var(--white);
  padding: 7rem 0 4rem;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.page-header .hero-bg {
  opacity: .25;
}
.page-header .hero-overlay {
  background: linear-gradient(160deg, rgba(17,17,17,.8) 0%, rgba(26,42,58,.65) 100%);
}
.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: .5rem;
}
.page-header p {
  opacity: .7;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-light { background: var(--gray-light); }

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.section-subtitle {
  color: var(--gray-mid);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ---------- Divider ---------- */
.divider {
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ---------- Full-width Image Bands ---------- */
.image-band {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--navy);
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.image-band-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}
.image-band-overlay h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 600;
  max-width: 600px;
}

/* ---------- Portfolio Snapshot ---------- */
.snapshot-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}
.snapshot-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.snapshot-number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: .5rem;
}
.snapshot-label {
  font-size: .95rem;
  color: var(--gray-mid);
  line-height: 1.4;
}

/* ---------- Approach ---------- */
.approach-text {
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 780px;
}

/* ---------- Image + Text Row ---------- */
.img-text-block img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* ---------- Capabilities / Feature Cards ---------- */
.capability-card {
  padding: 2rem 1.75rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}
.capability-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.capability-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 1.35rem;
}
.capability-card h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.capability-card p {
  font-size: .9rem;
  color: var(--gray-mid);
  margin-bottom: 0;
}

/* ---------- Asset Category Cards with Images ---------- */
.asset-card {
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  height: 100%;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.asset-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
}
.asset-card-img {
  height: 200px;
  overflow: hidden;
}
.asset-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.asset-card:hover .asset-card-img img { transform: scale(1.04); }
.asset-card-body {
  padding: 1.75rem;
}
.asset-card-body h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .6rem;
}
.asset-card-body p {
  color: var(--gray-mid);
  font-size: .95rem;
  margin-bottom: 0;
}

/* ---------- Emphasis list ---------- */
.emphasis-list {
  list-style: none;
  padding: 0;
}
.emphasis-list li {
  padding: .65rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 1.05rem;
  color: var(--gray-dark);
}
.emphasis-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.cta-banner .hero-bg { opacity: .2; }
.cta-banner h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.cta-banner p {
  opacity: .75;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: .7rem 1rem;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(30,58,95,.12);
}
.form-label {
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--gray-dark);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  padding: .65rem 2rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 6px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: .6rem 1.75rem;
  border-radius: 6px;
}

/* ---------- Investor Login ---------- */
.login-wrapper {
  max-width: 420px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.login-wrapper h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.login-note {
  text-align: center;
  color: var(--gray-mid);
  font-size: .9rem;
  margin-top: 2.5rem;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 2rem;
  font-size: .9rem;
}
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: .5rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .35rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .hero { padding: 6rem 0 5rem; }
  .hero h1 { font-size: 2.25rem; }
  .page-header { padding: 5rem 0 3rem; }
  .section { padding: 4rem 0; }
  .image-band { height: 260px; }
}
@media (max-width: 575px) {
  .hero { padding: 5rem 0 4rem; }
  .hero h1 { font-size: 1.75rem; }
  .snapshot-number { font-size: 2.25rem; }
  .login-wrapper { padding: 2rem 1.5rem; }
  .image-band { height: 200px; }
}
