/* ============================================================
   GLOBAL VARIABLES — NAVY BANKING/FINANCE THEME
   ============================================================ */
:root {
  --bg: #f7f9fc;
  --card: #ffffff;

  /* NAVY ACCENT SYSTEM */
  --accent: #0b2a4a;        /* deep navy */
  --accent-soft: #13406f;   /* lighter navy hover */
  --accent-light: rgba(11, 42, 74, 0.12); /* soft navy tint */

  --text: #1a1a1a;
  --muted: #555;
  --border: #d4d7e2;
  --shadow: rgba(0, 0, 0, 0.08);

  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* Floating Contact Button */
.contact-floating {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 999;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;
  border-radius: 999px;

  background: linear-gradient(135deg, #0b1f3b, #1f3f7a);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

/* Hover / focus */
.contact-floating:hover,
.contact-floating:focus {
  background: linear-gradient(135deg, #1f3f7a, #3459a8);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Active click */
.contact-floating:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/* Optional icon support if you add one later */
.contact-floating::before {
  content: "✉️";
  margin-right: 8px;
  font-size: 1rem;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .contact-floating {
    right: 16px;
    bottom: 16px;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   RESET
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   HEADER + NAVIGATION
   ============================================================ */
header {
  padding: 1.6rem 4vw 1.2rem;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-left h1 {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-left p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Header Search */
.header-search {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  width: 240px;
  box-shadow: 0 2px 6px var(--shadow);
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.header-search:focus {
  border-color: var(--accent);
  box-shadow: 0 3px 10px rgba(11, 42, 74, 0.25);
  outline: none;
}

#search-results {
  position: absolute;
  right: 4vw;
  top: 4.8rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow);
  display: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
  width: 260px;
}

.search-result-item {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--accent-light);
}

.search-result-title {
  font-weight: 600;
  color: var(--accent);
}

.search-result-snippet {
  font-size: 0.85rem;
  color: #333;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
  max-width: 1400px;        /* full-width content */
  margin: 0 auto;           /* center the container */
  padding: 2rem 40px 3rem;  /* fixed padding for consistent spacing */
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
  position: relative;
}

/* Navy underline accent */
h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

/* ============================================================
   HERO SECTION WITH NAVY GRADIENT
   ============================================================ */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
  background: linear-gradient(
    180deg,
    rgba(11, 42, 74, 0.08) 0%,
    rgba(11, 42, 74, 0.03) 60%,
    transparent 100%
  );
  border-radius: 12px;
}

/* Workflow Banner */
.hero-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
  flex-wrap: wrap;
}

.hero-flow-step {
  background: #ffffff;
  border: 1px solid #c9cdd8;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: 0 2px 6px var(--shadow);
}

.hero-flow-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

/* Divider */
.section-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

/* ============================================================
   EXECUTIVE FRAMEWORKS — NEW 2×2 CARD GRID
   ============================================================ */
.framework-section {
  margin: 2.5rem 0;
}

.framework-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.framework-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.framework-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.framework-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px var(--shadow);
}

.framework-card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.framework-card h4 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.framework-card p {
  color: #444;
  font-size: 0.9rem;
}

/* ============================================================
   CTA ACTION BLOCK
   ============================================================ */
.cta-block {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-button:hover {
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.cta-secondary {
  background: #ffffff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-secondary:hover {
  background: var(--accent-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  background: #ffffff;
}

/* ===== OPERATING RHYTHM CARDS ===== */
.rhythm-section {
  margin: 2.5rem 0;
}

.rhythm-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.rhythm-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.rhythm-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rhythm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px var(--shadow);
}

.rhythm-card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.rhythm-card h4 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.rhythm-card p {
  color: #444;
  font-size: 0.9rem;
}
/* ===== INTERACTIVE CARD EXPANSION ===== */
.framework-card,
.rhythm-card {
  position: relative;
  overflow: hidden;
}

.card-expand {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  margin-top: 0.6rem;
  color: #333;
  font-size: 0.85rem;
}

.framework-card:hover .card-expand,
.rhythm-card:hover .card-expand {
  opacity: 1;
  max-height: 200px;
}
/* ===== EXECUTIVE FRAMEWORKS DEEP-DIVE CARDS ===== */
.framework-section {
  margin: 2.5rem 0;
}

.framework-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.framework-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.framework-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.framework-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px var(--shadow);
}

.framework-card-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.framework-card h4 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.framework-card p {
  color: #444;
  font-size: 0.9rem;
}
/* Print to PDF Button */
.print-button {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px 0;
  border-radius: 8px;

  background: linear-gradient(135deg, #0b1f3b, #1f3f7a);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

/* Hover */
.print-button:hover {
  background: linear-gradient(135deg, #1f3f7a, #3459a8);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* Active */
.print-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Print Mode — hide navigation, floating button, etc */
@media print {
  nav,
  header,
  .contact-floating,
  .print-button {
    display: none !important;
  }

  body {
    background: #ffffff;
  }
}
/* ====== CORPORATE BANKING NAVIGATION ====== */
nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 6px;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover: subtle lift + authoritative colour shift */
nav a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Underline: corporate-style precision bar */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px; /* thinner, more corporate */
  width: 0%;
  background-color: var(--accent);
  border-radius: 1px;
  transition: width 0.25s ease;
}

/* Underline grows on hover */
nav a:hover::after {
  width: 100%;
}

/* Active page: stronger anchor */
nav a.active {
  color: var(--accent);
}

nav a.active::after {
  width: 100%;
}
/* ===== HERO SECTION ===== */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Headline */
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1.2rem;
}

/* Value Proposition */
.value-prop {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 800px;
}

/* ===== CORPORATE SKILL BADGES ===== */
.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0;
}

.skill-badges span {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px var(--shadow);
}
/* ===== CLICKABLE + EXPAND PILLAR CARDS ===== */
.pillar-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px var(--shadow);
  border-color: var(--accent);
}

/* Details element */
.pillar-card details summary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  margin-bottom: 0.6rem;
}

.pillar-card details p {
  color: #444;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* Link inside card */
.pillar-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
}

.pillar-card-link:hover {
  text-decoration: underline;
}
/* Remove underline from expand content inside clickable cards */
.framework-card-link .card-expand {
  text-decoration: none;
}

.framework-card-link .card-expand br,
.framework-card-link .card-expand * {
  text-decoration: none !important;
}
.framework-card-link * {
  text-decoration: none !important;
}

.framework-card-link h4:hover {
  text-decoration: underline !important;
}
/* Remove underline from EVERYTHING inside the clickable card */
.framework-card-link,
.framework-card-link * {
  text-decoration: none !important;
}
/* Desktop: 5-column layout for case studies */
@media (min-width: 1400px) {
  .framework-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1200px) {
  .framework-card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.framework-section-title-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.case-context-pill {
  background: var(--accent-light, #eef4ff);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--accent);
}
.outcome-banner-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outcome-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.outcome-banner-icon {
  font-size: 2rem;
  line-height: 1;
}

.outcome-banner-content h4 {
  margin: 0 0 0.4rem 0;
}

.outcome-banner-metrics {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
