/* ===============================================
   NEW MATRIX CAPITAL - Premium Financial Advisory CSS
   Design System: Second Wind Consultants Pattern
   Color Palette: Two-Blue Bank-Grade Theme
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ===============================================
   CSS VARIABLES - UNIFIED DESIGN SYSTEM
   =============================================== */
:root {
  /* PRIMARY COLOR SYSTEM - TWO BLUES ONLY */
  --navy: #0A2647;
  --navy-light: #144272;
  --navy-dark: #061830;
  --blue-accent: #2C74B3;
  --blue-bright: #3B9AE1;
  --blue-light: #E8F4FC;
  
  /* SURFACE & BACKGROUND SYSTEM */
  --bg-page: #F8FAFC;
  --bg-section: #FFFFFF;
  --bg-section-alt: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-hero: linear-gradient(135deg, #0A2647 0%, #144272 50%, #2C74B3 100%);
  
  /* TEXT HIERARCHY */
  --text-heading: #0A2647;
  --text-body: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-inverse: #FFFFFF;
  
  /* BORDERS & LINES */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-accent: rgba(44, 116, 179, 0.2);
  
  /* SHADOWS - PREMIUM DEPTH */
  --shadow-sm: 0 1px 2px rgba(10, 38, 71, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 38, 71, 0.08), 0 2px 4px -1px rgba(10, 38, 71, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(10, 38, 71, 0.1), 0 8px 10px -6px rgba(10, 38, 71, 0.05);
  --shadow-xl: 0 20px 40px -10px rgba(10, 38, 71, 0.15), 0 10px 20px -5px rgba(10, 38, 71, 0.08);
  --shadow-card: 0 1px 3px rgba(10, 38, 71, 0.08), 0 4px 12px rgba(10, 38, 71, 0.06);
  --shadow-card-hover: 0 10px 30px rgba(10, 38, 71, 0.12), 0 4px 12px rgba(10, 38, 71, 0.08);
  
  /* GOLD ACCENT - ULTRA SUBTLE DIVIDERS ONLY */
  --gold: #C9A962;
  --gold-subtle: rgba(201, 169, 98, 0.25);
  
  /* ACCENT COLOR - SOPHISTICATED BRONZE/COPPER (BANK-GRADE) */
  --accent: #A67C52;
  --accent-light: #C4956A;
  --accent-soft: rgba(166, 124, 82, 0.08);
  --accent-hover: #8B6543;
  --accent-border: rgba(166, 124, 82, 0.35);
  
  /* LAYOUT */
  --container-max: 1240px;
  --container-padding: clamp(20px, 4vw, 40px);
  --nav-height: 80px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  
  /* SPACING SCALE - Fibonacci-based for visual harmony (8, 13, 21, 34, 55, 89) */
  --space-xs: 8px;
  --space-sm: 13px;
  --space-md: 21px;
  --space-lg: 34px;
  --space-xl: 55px;
  --space-2xl: 89px;
  --section-padding: clamp(55px, 8vw, 89px);
  
  /* RADIUS - Refined for premium feel */
  --radius-sm: 6px;
  
  /* TRANSITIONS - Smooth, professional */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* TYPOGRAPHY SCALE */
  --font-display: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
}

/* ===============================================
   RESET & BASE STYLES
   =============================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-page);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 3.75rem); 
  font-weight: 800;
  line-height: 1.1;
}
h2 { 
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
}
h3 { 
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 600;
}
h4 { font-size: var(--text-xl); font-weight: 600; }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

/* Section title with accent underline */
h2 strong, h2 b {
  color: var(--blue-accent);
}

p {
  margin-bottom: 1.25em;
  max-width: 70ch;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

strong, b {
  font-weight: 600;
  color: var(--text-heading);
}

/* Eyebrow / Subtitle styling */
.hero-eyebrow,
.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero-subhead,
.section-subhead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 55ch;
}

/* ===============================================
   LAYOUT SYSTEM
   =============================================== */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===============================================
   NAVIGATION BAR
   =============================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-icon img,
.logo-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Full logo image */
.logo-full-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-slogan {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.navbar-link:hover {
  color: var(--blue-accent);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width 0.2s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

/* Navbar Actions (Phone, Login, Sign Up) */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--blue-accent);
}

.nav-phone svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.nav-login {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-login:hover {
  background: var(--bg-subtle);
  color: var(--blue-accent);
}

.navbar-actions .cta-btn {
  margin-left: 8px;
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* Golden ratio padding for balanced touch targets */
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--blue-accent);
  color: var(--text-inverse);
  border-color: var(--blue-accent);
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-inverse);
}

/* Accent button - Professional gold */
.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 148, 62, 0.25);
  color: var(--text-inverse);
}

.btn-outline {
  background: transparent;
  color: var(--blue-accent);
  border-color: var(--blue-accent);
}

.btn-outline:hover {
  background: var(--blue-accent);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-inverse);
  color: var(--navy);
  border-color: var(--text-inverse);
}

.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Legacy button support */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--blue-accent);
  color: var(--text-inverse) !important;
  border-color: var(--blue-accent);
}

.cta-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--text-inverse) !important;
}

.cta-btn.outline {
  background: transparent;
  color: var(--blue-accent) !important;
  border-color: var(--blue-accent);
}

.cta-btn.outline:hover {
  background: var(--blue-accent);
  color: var(--text-inverse) !important;
}

/* ===============================================
   HERO SECTION - SECONDWIND STYLE
   =============================================== */
.hero-section {
  position: relative;
  background: var(--bg-hero);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(44, 116, 179, 0.3) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-page) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.hero-section h1 {
  color: var(--text-inverse);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ===============================================
   SECTION SYSTEM
   =============================================== */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-section-alt);
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.section-header h2 strong {
  color: var(--blue-accent);
  font-weight: 700;
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 540px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: var(--space-sm) auto var(--space-md);
  border-radius: 2px;
}

/* Page Hero (Internal Pages) */
.page-hero {
  background: var(--bg-hero);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-page) 0%, transparent 100%);
}

.page-hero h1 {
  color: var(--text-inverse);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.page-hero .hero-subhead {
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.title-block {
  position: relative;
  z-index: 2;
  text-align: left;
}

.title-block h1 {
  text-align: left;
}

.title-block .hero-subhead {
  text-align: left;
  margin: 0;
}

.title-block h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  margin-top: var(--space-sm);
  border-radius: 2px;
}

.title-block.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* Section title styling consistency - unified */

/* ===============================================
   SERVICE CARDS - 3 COLUMN LAYOUT
   =============================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  color: var(--navy);
}

.service-card > p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.service-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-card .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  transition: all 0.2s ease;
}

.service-card .read-more-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.service-card:hover .read-more-link {
  color: var(--navy);
}

.service-card:hover .read-more-link::after {
  transform: translateX(4px);
}

/* ===============================================
   FEATURED SERVICES - 3 CARDS BELOW HERO
   =============================================== */
.featured-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: calc(-1 * var(--space-xl));
  position: relative;
  z-index: 10;
}

.featured-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.featured-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.featured-card h3 {
  font-size: var(--text-xl);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.featured-card h5 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.featured-card .subtitle {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.featured-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.featured-card .btn {
  padding: 10px 18px;
  font-size: var(--text-xs);
}

/* ===============================================
   ALLIANCE CARDS
   =============================================== */
.alliances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.alliance-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
}

.alliance-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.alliance-card h4 {
  font-size: var(--text-base);
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 8px;
}

.alliance-card h4::after {
  content: '→';
  color: var(--accent);
  transition: transform 0.2s ease;
}

.alliance-card:hover h4::after {
  transform: translateX(4px);
}

.alliance-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ===============================================
   INSIGHTS / EDUCATION CARDS
   =============================================== */
.insights-grid,
.insights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

  .insight-card,
.insight-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

  .insight-card:hover,
.insight-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent);
}

.insight-card h3,
.insight-item h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.insight-card p,
.insight-item p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.insight-card .read-more-link,
.insight-item .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

.insight-card .read-more-link::after,
.insight-item .read-more-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.insight-card:hover .read-more-link,
.insight-item:hover .read-more-link {
  color: var(--navy);
}

.insight-card:hover .read-more-link::after,
.insight-item:hover .read-more-link::after {
  transform: translateX(4px);
}

/* ===============================================
   CASE STUDIES
   =============================================== */
.cases-grid,
.cases-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.case-card,
.case-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.case-card:hover,
.case-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent);
}

.case-card h3,
.case-item h2 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.case-card p,
.case-item .case-summary {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.case-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.case-toggle::after {
  content: '→';
}

.case-details {
  display: none;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.case-item.open .case-details {
  display: block;
}

.case-details h3 {
  font-size: var(--text-base);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.case-details h3:first-child {
  margin-top: 0;
}

.case-details p {
  font-size: var(--text-sm);
  color: var(--text-body);
}

.case-details ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0;
}

.case-details ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.case-details ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.contact-card h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.contact-info {
  margin-bottom: var(--space-md);
}

.contact-line {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.contact-line a {
  color: var(--blue-accent);
  font-weight: 500;
}

.contact-line a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ===============================================
   CTA SECTION
   =============================================== */
.cta-section {
  background: var(--bg-section-alt);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.cta-container h2 {
  margin-bottom: var(--space-sm);
}

.cta-container .hero-subhead {
  color: var(--text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-container .hero-ctas {
  justify-content: center;
}

/* ===============================================
   APPLY FORM
   =============================================== */
.apply-form-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.apply-intro {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.apply-intro h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.apply-intro p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.apply-intro ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.apply-intro ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.apply-intro ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
}

.apply-note {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: var(--space-md);
}

.apply-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-light);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  margin-top: var(--space-md);
}

.apply-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

/* Wizard Steps */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding: 0 var(--space-sm);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  cursor: pointer;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-section-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-indicator.active .step-number {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: var(--text-inverse);
}

.step-indicator.completed .step-number {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--text-inverse);
}

.step-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
}

.step-indicator.active .step-label {
  color: var(--text-heading);
  font-weight: 600;
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 var(--space-sm);
}

.step-indicator.completed + .step-line {
  background: var(--navy);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.step-description {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.wizard-nav {
  display: flex;
  gap: var(--space-sm);
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

/* Form Inputs */
.apply-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: var(--space-xs);
  margin-top: var(--space-md);
}

.apply-form label:first-of-type {
  margin-top: 0;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="number"],
.apply-form input[type="password"],
.apply-form textarea,
.apply-form select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-heading);
  background: var(--bg-section-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
}

.apply-form input[type="file"] {
  padding: 12px;
  background: var(--bg-section-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.file-note {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: var(--space-xs);
}

.disclaimer-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.disclaimer-checkbox input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.disclaimer-checkbox span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* Clickwrap Section - Agreement Checkboxes */
.clickwrap-section {
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  border: 1px solid var(--border);
}

.clickwrap-heading {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.clickwrap-intro {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-md);
  padding: var(--space-sm);
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid #F59E0B;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.clickwrap-section .disclaimer-checkbox {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clickwrap-section .disclaimer-checkbox:first-of-type {
  margin-top: 0;
}

.clickwrap-section .disclaimer-checkbox:hover {
  border-color: var(--blue-accent);
}

.clickwrap-section .disclaimer-checkbox input[type="checkbox"]:checked + span {
  color: var(--text-heading);
}

.clickwrap-section .disclaimer-checkbox.has-error {
  border-color: #dc2626;
  background: #fef2f2;
}

.clickwrap-section .agreement-link {
  color: var(--blue-accent);
  text-decoration: underline;
  font-weight: 500;
}

.clickwrap-section .agreement-link:hover {
  color: var(--navy);
}

.checkbox-error {
  color: #dc2626;
  font-size: var(--text-xs);
  margin-top: var(--space-xs);
  margin-left: 28px;
  display: none;
}

.checkbox-error.visible {
  display: block;
}

/* Banking-Style Legal Consent Section */
.legal-consent-section {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
}

.legal-consent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.legal-consent-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-view-full {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.legal-view-full:hover {
  color: var(--blue-accent);
  text-decoration: underline;
}

.legal-consent-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
  position: relative;
}

.legal-consent-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.legal-consent-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-accent);
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}

.legal-checkmark {
  display: none;
}

.legal-consent-item:hover .legal-checkmark {
  border-color: #94a3b8;
}

.legal-consent-item input:checked + .legal-checkmark {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
}

.legal-consent-item input:checked + .legal-checkmark::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.legal-consent-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.legal-consent-text a {
  color: var(--text-body);
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 2px;
  transition: all 0.15s ease;
}

.legal-consent-text a:hover {
  color: var(--blue-accent);
  text-decoration-color: var(--blue-accent);
}

.legal-consent-item input:checked ~ .legal-consent-text {
  color: var(--text-body);
}

.legal-error {
  display: none;
  font-size: 11px;
  color: #dc2626;
  padding-left: 38px;
  margin-top: -4px;
  margin-bottom: 4px;
}

.legal-consent-item.has-error + .legal-error {
  display: block;
}

.legal-consent-item.has-error .legal-checkmark {
  border-color: #dc2626;
}

.legal-fine-print {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.review-summary {
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.review-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child {
  border-bottom: none;
}

.review-item strong {
  font-size: var(--text-sm);
  color: var(--text-heading);
}

.review-item span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ===============================================
   LEGAL CONTENT
   =============================================== */
.legal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
}

.legal-content ul li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--blue-accent);
  font-weight: 700;
}

.legal-content .disclosure-box {
  background: var(--blue-light);
  border: 1px solid var(--blue-accent);
  border-left: 4px solid var(--blue-accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
}

.legal-content .disclosure-box p {
  margin-bottom: var(--space-sm);
}

.legal-content .disclosure-box p:last-child {
  margin-bottom: 0;
}

.legal-content .disclosure-box a {
  color: var(--blue-accent);
  font-weight: 500;
  text-decoration: underline;
}

.legal-content .disclosure-box a:hover {
  color: var(--navy);
}

/* ===============================================
   FOOTER
   =============================================== */
/* ===============================================
   BANK FOOTER - Complete with all links
   =============================================== */
.bank-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: white;
  padding: 0;
}

.footer-main {
  padding: 40px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 260px;
}

.footer-brand .footer-logo {
  height: 36px;
  width: auto;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  margin-bottom: 4px;
}

.footer-brand-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.footer-contact-info a,
.footer-contact-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact-info a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.15s ease;
}

.footer-social .social-link:hover {
  background: var(--blue-accent);
  color: white;
  transform: translateY(-2px);
}

.footer-social .social-link svg {
  width: 16px;
  height: 16px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px 0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-column ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 55px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 8px 0;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  line-height: 1.4;
}

.footer-col a:hover {
  color: white;
}

.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 21px;
}

.footer-disclosure {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.6;
  margin: 0 0 13px 0;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 21px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-copyright {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 21px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 13px;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
}

/* Simple footer layout fallback */
.footer-simple {
  text-align: center;
  padding: clamp(48px, 6vw, 72px) 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 0;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-inverse);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-address {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 0 auto var(--space-lg);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius);
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-meta-item {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ===============================================
   SCROLL REVEAL ANIMATIONS
   =============================================== */
/* Content is ALWAYS visible by default - animations are an enhancement only */
.scroll-reveal,
.scroll-reveal-fade,
.scroll-reveal-slide-left,
.scroll-reveal-slide-right,
.scroll-reveal-scale {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Only animate if user hasn't requested reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed,
  .scroll-reveal-fade.revealed,
  .scroll-reveal-slide-left.revealed,
  .scroll-reveal-slide-right.revealed,
  .scroll-reveal-scale.revealed {
    opacity: 1;
    transform: none;
  }
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */
@media (max-width: 1024px) {
  .featured-services {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .apply-form-container {
    grid-template-columns: 1fr;
  }
  
  .apply-intro {
    position: static;
  }
}

/* ===============================================
   MOBILE HAMBURGER MENU
   =============================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger animation when open */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ===============================================
   MOBILE RESPONSIVE STYLES (768px and below)
   =============================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --container-padding: 20px;
  }
  
  /* Show hamburger, hide nav by default */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile menu overlay */
  .navbar-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: white !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: var(--space-xl) var(--space-lg) !important;
    gap: var(--space-md) !important;
  opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    z-index: 9998 !important;
  }
  
  .navbar-nav.active {
  opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .navbar-nav li {
    border-bottom: 1px solid var(--border);
  width: 100%;
    text-align: center;
  }
  
  .navbar-nav li:last-child {
    border-bottom: none;
    margin-top: var(--space-md);
  }
  
  .navbar-nav .navbar-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--text-xl);
    font-weight: 600;
  }
  
  .navbar-nav .cta-btn {
  width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 0 auto;
  }
  
  /* Make sure header stays on top */
  .site-header {
    z-index: 10000 !important;
    position: sticky;
    top: 0;
    background: var(--navy);
  }
  
  .navbar {
    position: relative;
    z-index: 10001 !important;
    background: var(--navy);
  }
  
  .mobile-menu-toggle {
    z-index: 10002 !important;
    position: relative;
  }
  
  .navbar-nav li {
    border-bottom: 1px solid var(--border);
  }
  
  .navbar-nav li:last-child {
    border-bottom: none;
    margin-top: var(--space-md);
  }
  
  .navbar-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--text-lg);
  }
  
  .navbar-nav .cta-btn {
  text-align: center;
  width: 100%;
}

  /* Hero section mobile */
  .hero-section {
    padding: var(--space-lg) 0 var(--space-xl);
    min-height: auto;
  }
  
  .hero-with-image {
    padding: var(--space-lg) 0;
    min-height: auto;
  }
  
  .hero-split {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .hero-split .hero-content {
    text-align: center;
    order: 2;
  }
  
  .hero-split .hero-content h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.2;
    text-align: center;
  }
  
  .hero-split .hero-content p {
    text-align: center;
    max-width: 100%;
    font-size: var(--text-base);
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-image img {
    max-height: 200px !important;
  margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center !important;
  flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Page hero mobile */
  .page-hero-with-image {
    padding: var(--space-lg) 0;
  }
  
  .page-hero-split {
    grid-template-columns: 1fr !important;
    gap: var(--space-md);
    text-align: center;
  }
  
  .page-hero-split .title-block {
    text-align: center;
    order: 2;
  }
  
  .page-hero-split .title-block h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-align: center;
  }
  
  .page-hero-split .title-block .hero-subhead {
    text-align: center;
    margin: 0 auto;
  }
  
  .page-hero-image {
    order: 1;
  }
  
  .page-hero-image img {
    max-height: 160px !important;
    margin: 0 auto;
  }
  
  .title-block {
    text-align: center;
  }
  
  .title-block h1,
  .title-block .hero-subhead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Typography mobile */
  h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1.125rem, 4vw, 1.375rem);
  }
  
  /* Sections mobile */
  section {
    padding: var(--space-xl) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-lg);
    text-align: center;
  }
  
  .section-header h2 {
    text-align: center;
  }
  
  .section-header p {
    text-align: center;
  }
  
  /* Grids mobile - stack everything */
  .featured-services {
    grid-template-columns: 1fr;
    margin-top: calc(-1 * var(--space-md));
    gap: var(--space-md);
  }
  
  .services-grid,
  .insights-grid,
  .cases-grid,
  .insights-list,
  .cases-list,
  .alliances-grid,
  .solutions-grid,
  .industry-categories {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Cards mobile */
  .service-card,
  .insight-card,
  .case-card,
  .featured-card {
    padding: var(--space-md);
  }
  
  /* About/Intro sections mobile */
  .about-content,
  .industry-intro,
  .industry-expertise-section {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .about-content .about-image,
  .industry-intro-image,
  .industry-expertise-image {
    order: -1;
  }
  
  .about-image img {
    max-height: 250px;
    margin: 0 auto;
    display: block;
  }
  
  /* Footer responsive */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .footer-brand {
    max-width: none;
    margin: 0 auto var(--space-lg);
  }
  
  .footer-brand img {
    margin: 0 auto var(--space-md);
  }
  
  .footer-column {
    padding-bottom: var(--space-md);
  }
  
  .footer-column h3,
  .footer-column h4 {
    margin-top: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .footer-legal {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  /* Contact page mobile */
  .contact-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Apply wizard mobile */
  .apply-form-container {
    grid-template-columns: 1fr;
  }
  
  .apply-intro {
    position: static;
    order: -1;
  }
  
  .wizard-steps {
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
  }
  
  .step-line {
    display: none;
  }
  
  .wizard-step {
    flex: 0 0 auto;
    min-width: 60px;
  }
  
  .wizard-step-label {
    font-size: var(--text-xs);
  }
  
  /* Insights featured mobile */
  .insights-featured-grid {
    grid-template-columns: 1fr;
  }
  
  .insight-featured-card {
    grid-template-columns: 1fr;
  }
  
  .insight-featured-card img {
    height: 200px;
  }
  
  /* Case featured mobile */
  .case-featured {
    grid-template-columns: 1fr;
  }
  
  .case-featured-image {
    height: 200px;
    order: -1;
  }
  
  .case-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  /* Cases grid mobile */
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  /* Industry preview mobile */
  .industry-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .industry-preview-card {
    padding: var(--space-sm);
  }
  
  .industry-preview-card img {
    height: 80px;
  }
  
  .industry-preview-card h4 {
    font-size: var(--text-sm);
  }
  
  /* CTA sections mobile */
  .cta-section {
    padding: var(--space-xl) var(--space-md);
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Scroll reveal - show immediately on mobile */
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .step-indicator {
    flex: 0 0 calc(25% - var(--space-sm));
  }
  
  .wizard-nav {
    flex-direction: column;
  }
  
  .wizard-nav button,
  .wizard-nav .cta-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn,
  .hero-ctas .cta-btn {
    width: 100%;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .cta-container {
    padding: var(--space-lg);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ===============================================
   PREMIUM HOVER SYSTEM - NEIGHBOR DIMMING
   =============================================== */
[data-card-group] {
  position: relative;
}

[data-card-group].has-hover .service-card:not(.is-hovered),
[data-card-group].has-hover .insight-card:not(.is-hovered),
[data-card-group].has-hover .case-card:not(.is-hovered),
[data-card-group].has-hover .case-item:not(.is-hovered),
[data-card-group].has-hover .insight-item:not(.is-hovered),
[data-card-group].has-hover .alliance-card:not(.is-hovered),
[data-card-group].has-hover .featured-card:not(.is-hovered),
[data-card-group].has-hover .contact-card:not(.is-hovered) {
  opacity: 0.6;
  transform: scale(0.98);
  filter: grayscale(20%);
}

.is-dimmed {
  transition: all 0.3s ease;
}

.is-hovered {
  z-index: 10;
}

/* Enhanced hover glow for hovered card */
.service-card.is-hovered,
.insight-card.is-hovered,
.case-card.is-hovered,
.case-item.is-hovered,
.insight-item.is-hovered,
.featured-card.is-hovered,
.industry-card.is-hovered {
  box-shadow: 
    0 20px 40px rgba(10, 38, 71, 0.15),
    0 0 0 1px rgba(44, 116, 179, 0.2),
    0 0 30px rgba(59, 154, 225, 0.1);
}

/* ===============================================
   INDUSTRIES PAGE
   =============================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.industry-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
    flex-direction: column;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-accent);
}

.industry-card-image {
    width: 100%;
  height: 200px;
  overflow: hidden;
  }

.industry-card-image img {
    width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-image img {
  transform: scale(1.05);
}

.industry-card-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.industry-card h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 6px;
}

.industry-card h3::after {
  content: '→';
  color: var(--blue-accent);
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.industry-card:hover h3::after {
  transform: translateX(4px);
}

.industry-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0;
}

/* ===============================================
   ABOUT PAGE STYLES
   =============================================== */
.about-hero-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-content.reverse {
  direction: rtl;
}

.about-content.reverse > * {
  direction: ltr;
}

.about-text h2 {
  margin-bottom: var(--space-sm);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Value props list */
.value-list {
  list-style: none;
    padding: 0;
  margin: var(--space-md) 0;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.value-list li .icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-accent);
  font-weight: 700;
}

.value-list li .text h4 {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: 4px;
}

.value-list li .text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Solutions Hero Image Section */
.solutions-hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.solutions-hero-banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.solutions-hero-banner .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(10, 38, 71, 0.9), transparent);
  color: white;
}

.solutions-hero-banner h3 {
  color: white;
  margin-bottom: var(--space-xs);
}

.solutions-hero-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-content.reverse {
    direction: ltr;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   INDUSTRIES PAGE - ENHANCED STYLES
   =============================================== */

/* Industry Intro - Image & Text Side by Side */
.industry-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.industry-intro-content h2 {
  margin-bottom: var(--space-sm);
}

.industry-intro-content h2 strong {
  color: var(--blue-accent);
}

.industry-intro-content .section-divider {
  margin: var(--space-sm) 0 var(--space-md);
}

.industry-intro-content p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.industry-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.industry-intro-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.industry-intro:hover .industry-intro-image img {
  transform: scale(1.02);
}

/* Industry Card UL Styles */
.industry-card ul {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0;
}

.industry-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-body);
}

.industry-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
}

.industry-card .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue-accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--space-sm);
  transition: all 0.2s ease;
}

.industry-card .read-more-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.industry-card:hover .read-more-link {
  color: var(--navy);
}

.industry-card:hover .read-more-link::after {
  transform: translateX(4px);
}

/* Industry Categories - Grid of Lists */
.industry-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.industry-category {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.industry-category:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-category h4 {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--blue-accent);
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-list li {
  font-size: var(--text-sm);
  color: var(--text-body);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.industry-list li:last-child {
  border-bottom: none;
}

.industry-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Industry Expertise Section - Reversed Layout */
.industry-expertise-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.industry-expertise-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.industry-expertise-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.industry-expertise-section:hover .industry-expertise-image img {
  transform: scale(1.02);
}

.industry-expertise-content h2 {
  margin-bottom: var(--space-sm);
}

.industry-expertise-content h2 strong {
  color: var(--blue-accent);
}

.industry-expertise-content .section-divider {
  margin: var(--space-sm) 0 var(--space-md);
}

.industry-expertise-content p {
  color: var(--text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.industry-expertise-content ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
}

.industry-expertise-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: 1.6;
}

.industry-expertise-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
  font-size: var(--text-lg);
}

/* Logo image styles */
.logo-image {
  height: 50px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
    max-width: 200px;
  }
}

/* ===============================================
   SERVICE CARDS WITH IMAGES
   =============================================== */
.service-card-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) var(--space-md) calc(-1 * var(--space-lg));
  width: calc(100% + 2 * var(--space-lg));
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

/* ===============================================
   INDUSTRY PREVIEW GRID (HOMEPAGE)
   =============================================== */
.industry-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.industry-preview-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
}

.industry-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.industry-preview-card:hover img {
  transform: scale(1.08);
}

.industry-preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(10, 38, 71, 0.9) 0%, transparent 100%);
}

.industry-preview-overlay h4 {
  color: white;
  margin: 0;
  font-size: var(--text-base);
}

@media (max-width: 768px) {
  .industry-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industry-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   INSIGHT CARDS WITH IMAGES
   =============================================== */
.insight-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)) 0 calc(-1 * var(--space-lg));
  width: calc(100% + 2 * var(--space-lg));
}

.insight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-card:hover .insight-card-image img {
  transform: scale(1.05);
}

.insight-card-content {
  padding-top: var(--space-md);
}

.insight-card-content h3 {
  margin-bottom: var(--space-xs);
}

/* ===============================================
   CASE CARDS WITH TAGS
   =============================================== */
.case-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-accent);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

/* ===============================================
   ABOUT SECTION LAYOUT
   =============================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-xs);
}

.about-text h2 strong {
  color: var(--blue-accent);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.about-content:hover .about-image img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

/* ===============================================
   VALUE LIST COMPONENT
   =============================================== */
.value-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.value-list li:last-child {
  margin-bottom: 0;
}

.value-list .icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--blue-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: bold;
  margin-top: 2px;
}

.value-list .text h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--blue-dark);
  margin: 0 0 4px 0;
}

.value-list .text p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ===============================================
   FEATURED INSIGHTS GRID
   =============================================== */
.insights-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.insight-featured-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.insight-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.insight-featured-image {
  height: 220px;
  overflow: hidden;
}

.insight-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insight-featured-card:hover .insight-featured-image img {
  transform: scale(1.05);
}

.insight-featured-content {
  padding: var(--space-lg);
}

.insight-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-accent);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.insight-featured-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.insight-featured-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .insights-featured-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   FEATURED CASE STUDY
   =============================================== */
.case-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.case-featured-image {
  height: 100%;
  min-height: 400px;
}

.case-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-featured-content {
  padding: var(--space-xl);
}

.case-featured-content h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.case-excerpt {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.case-stat {
  text-align: center;
  padding: var(--space-md);
  background: var(--blue-light);
  border-radius: var(--radius);
}

.stat-number {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue-dark);
}

.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .case-featured {
    grid-template-columns: 1fr;
  }
  
  .case-featured-image {
    min-height: 250px;
  }
  
  .case-stats {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   FULL CASE CARDS
   =============================================== */
.case-card-full {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.case-card-full:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-image {
  height: 220px;
  overflow: hidden;
}

.case-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card-full:hover .case-card-image img {
  transform: scale(1.05);
}

.case-card-content {
  padding: var(--space-lg);
}

.case-card-content h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
}

.case-card-content p {
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.case-card-content p strong {
  color: var(--blue-dark);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   CONTACT PAGE LAYOUT - REDESIGNED
   =============================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
}

.contact-card-image {
  height: 180px;
  overflow: hidden;
}

.contact-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card-content {
  padding: var(--space-lg);
}

.contact-card-content h2 {
  margin-bottom: var(--space-sm);
  color: var(--navy);
  font-size: var(--text-2xl);
}

.contact-card-content > p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.contact-method:hover {
  background: var(--bg-section-alt);
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(166, 124, 82, 0.15));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-details h4 {
  font-size: var(--text-base);
  margin: 0 0 4px 0;
  color: var(--navy);
  font-weight: 600;
}

.contact-details p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--accent-hover);
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-card h2 {
  margin-bottom: var(--space-xs);
  color: var(--navy);
  font-size: var(--text-2xl);
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form .form-group {
  margin-bottom: var(--space-md);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-heading);
  font-size: var(--text-sm);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: var(--font-body);
  background: var(--bg-section-alt);
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.form-privacy {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.form-privacy a {
  color: var(--accent);
  font-weight: 500;
}

/* ===============================================
   DOCUMENT UPLOAD GROUP
   =============================================== */
.document-upload-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.document-upload-group label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-label {
  font-weight: 600;
  color: var(--blue-dark);
}

.doc-hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: italic;
}

.file-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  padding: var(--space-sm);
  background: var(--blue-light);
  border-radius: var(--radius);
}

.review-item-full {
  grid-column: 1 / -1;
}

.review-item-full p {
  margin-top: 4px;
  padding: var(--space-sm);
  background: var(--surface-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

/* ===============================================
   HERO WITH IMAGE (PERSON CUTOUT)
   =============================================== */
.hero-with-image {
  min-height: 580px;
  overflow: visible;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 450px;
}

.hero-split .hero-content {
  text-align: left;
}

.hero-split .hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-align: left;
}

.hero-split .hero-content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
  text-align: left;
  max-width: 540px;
}

.hero-split .hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
  filter: 
    drop-shadow(0 0 2px var(--accent))
    drop-shadow(0 0 6px var(--accent-border))
    drop-shadow(0 20px 40px rgba(10, 38, 71, 0.2));
}

/* Page hero with image */
.page-hero-with-image {
  padding-bottom: 0;
  overflow: visible;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.page-hero-split .title-block {
  text-align: left;
}

.page-hero-split .title-block h1 {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  text-align: left;
}

.page-hero-split .title-block p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  max-width: 500px;
}

.page-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-hero-image img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  filter: 
    drop-shadow(0 0 2px var(--accent))
    drop-shadow(0 0 6px var(--accent-border))
    drop-shadow(0 20px 40px rgba(10, 38, 71, 0.2));
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-split .hero-content {
    text-align: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    max-height: 280px;
  }
  
  .page-hero-split {
    grid-template-columns: 1fr;
  }
  
  .page-hero-split .title-block {
    text-align: center;
  }
  
  .page-hero-image {
    order: -1;
  }
  
  .page-hero-image img {
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive for Industries */
@media (max-width: 1024px) {
  .industry-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-intro {
    grid-template-columns: 1fr;
  }
  
  .industry-intro-image {
    order: -1;
  }
  
  .industry-expertise-section {
    grid-template-columns: 1fr;
  }
  
  .industry-expertise-image {
    order: -1;
  }
  
  .industry-categories {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   COMPREHENSIVE FIXES - BRONZE ACCENTS & ALIGNMENT
   =============================================== */

/* Bronze accent on section headers */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

/* Page hero title alignment fix */
.page-hero .title-block,
.page-hero-split .title-block {
  text-align: left;
}

.page-hero .title-block h1,
.page-hero-split .title-block h1 {
  text-align: left;
  margin-bottom: var(--space-sm);
}

.page-hero .title-block .hero-subhead,
.page-hero-split .title-block .hero-subhead {
  text-align: left;
  margin: 0;
  max-width: 500px;
}

/* Bronze accent links */
.read-more-link {
  color: var(--accent) !important;
}

.read-more-link:hover {
  color: var(--accent-hover) !important;
}

/* Cards with bronze accent top border */
.service-card,
.insight-card,
.case-card,
.case-card-full {
  border-top: 3px solid var(--accent);
}

/* Alliance cards bronze hover */
.alliance-card:hover {
  border-color: var(--accent);
}

/* Industry cards bronze accent */
.industry-card {
  border-top: 3px solid var(--accent);
}

.industry-card .read-more-link {
  color: var(--accent);
}

/* CTA buttons with bronze option */
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Footer logo fix */
.footer-brand .footer-logo {
  background: transparent !important;
  border-radius: 8px;
  padding: 0;
}

/* ===============================================
   MOBILE OVERHAUL - COMPREHENSIVE FIX
   =============================================== */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding: 0 16px;
  }
  
  /* Hero sections mobile */
  .hero-section,
  .hero-with-image {
    padding: var(--space-lg) 0;
    min-height: auto;
  }
  
  .hero-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .hero-split .hero-content {
    text-align: center;
    order: 2;
  }
  
  .hero-split .hero-content h1 {
    font-size: 1.75rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .hero-split .hero-content .hero-subhead {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto var(--space-md);
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-image img {
    max-height: 180px;
    margin: 0 auto;
    display: block;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Page hero mobile fix */
  .page-hero {
    padding: var(--space-lg) 0;
  }
  
  .page-hero-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .page-hero-split .title-block {
    text-align: center !important;
    order: 2;
  }
  
  .page-hero-split .title-block h1 {
    text-align: center !important;
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .page-hero-split .title-block .hero-subhead {
    text-align: center !important;
    margin: 0 auto;
    font-size: 0.95rem;
  }
  
  .page-hero-image {
    order: 1;
    text-align: center;
  }
  
  .page-hero-image img {
    max-height: 140px;
    margin: 0 auto;
  }
  
  /* Section headers mobile */
  .section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  /* Featured cards mobile */
  .featured-services {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: calc(-1 * var(--space-lg));
  }
  
  .featured-card {
    padding: var(--space-md);
  }
  
  /* Grids mobile */
  .services-grid,
  .insights-grid,
  .cases-grid,
  .alliances-grid,
  .industries-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* Cards mobile */
  .service-card,
  .insight-card,
  .case-card,
  .case-card-full,
  .industry-card,
  .alliance-card {
    padding: var(--space-md);
  }
  
  /* About sections mobile */
  .about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .about-content .about-image {
    order: -1;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-text h2 {
    text-align: center;
  }
  
  .about-text .section-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Industry preview grid mobile */
  .industry-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .industry-preview-card {
    aspect-ratio: 1;
  }
  
  .industry-preview-overlay h4 {
    font-size: 0.75rem;
  }
  
  /* Contact page mobile */
  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .contact-info {
    position: static;
  }
  
  .contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* Case featured mobile */
  .case-featured {
    display: flex;
    flex-direction: column;
  }
  
  .case-featured-image {
    min-height: 200px;
  }
  
  .case-featured-content {
    padding: var(--space-lg);
  }
  
  .case-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  /* Insights featured mobile */
  .insights-featured-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* Industry sections mobile */
  .industry-intro,
  .industry-expertise-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .industry-intro-content,
  .industry-expertise-content {
    text-align: center;
  }
  
  .industry-intro-content h2,
  .industry-expertise-content h2 {
    text-align: center;
  }
  
  .industry-intro-content .section-divider,
  .industry-expertise-content .section-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .industry-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }
  
  /* CTA sections mobile */
  .cta-section {
    padding: var(--space-lg) 0;
  }
  
  .cta-container {
    padding: var(--space-lg);
    text-align: center;
  }
  
  .cta-container h2 {
    font-size: 1.25rem;
  }
  
  .cta-container .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-container .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Footer mobile */
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
    max-width: none;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto var(--space-md);
  }
  
  .footer-contact-info {
    align-items: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: var(--space-sm);
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .footer-legal-links {
    justify-content: center;
    gap: var(--space-md);
  }
  
  /* Apply form mobile */
  .apply-form-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .apply-intro {
    position: static;
  }
  
  .wizard-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
  }
  
  .step-line {
    display: none;
  }
  
  .step-indicator {
    flex: 0 0 auto;
  }
  
  .wizard-nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .wizard-nav button,
  .wizard-nav .btn {
    width: 100%;
  }
  
  /* Value list mobile */
  .value-list li {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .value-list .icon {
    margin: 0 auto;
  }
  
  .value-list .text {
    text-align: center;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .hero-split .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .page-hero-split .title-block h1 {
    font-size: 1.35rem;
  }
  
  .industry-preview-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

/* ===============================================
   FINAL OVERRIDES - MOBILE & ALIGNMENT FIXES
   =============================================== */

/* Footer logo - proper sizing */
.footer-brand .footer-logo {
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  display: block;
}

/* Desktop page hero alignment - title and subtitle left aligned together */
@media (min-width: 769px) {
  .page-hero-split .title-block {
    text-align: left !important;
  }
  
  .page-hero-split .title-block h1 {
    text-align: left !important;
    margin-bottom: 12px;
  }
  
  .page-hero-split .title-block .hero-subhead {
    text-align: left !important;
    margin: 0;
    max-width: 520px;
  }
}

/* MOBILE COMPREHENSIVE FIX */
@media (max-width: 768px) {
  /* Base container */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Page hero mobile - centered, clean layout */
  .page-hero {
    padding: 60px 0 40px;
  }
  
  .page-hero-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    align-items: center;
  }
  
  .page-hero-split .page-hero-image {
    order: 1;
    text-align: center;
    width: 100%;
  }
  
  .page-hero-split .page-hero-image img {
    max-height: 180px;
    width: auto;
    margin: 0 auto;
    display: block;
  }
  
  .page-hero-split .title-block {
    order: 2;
    text-align: center !important;
    width: 100%;
    max-width: 100%;
  }
  
  .page-hero-split .title-block h1 {
    text-align: center !important;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .page-hero-split .title-block .hero-subhead {
    text-align: center !important;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
    opacity: 0.9;
  }
  
  /* Main hero mobile */
  .hero-split {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .hero-split .hero-content {
    order: 2;
    text-align: center;
  }
  
  .hero-split .hero-content h1 {
    font-size: 1.75rem;
    text-align: center;
    line-height: 1.2;
  }
  
  .hero-split .hero-content .hero-subhead {
    text-align: center;
    margin: 0 auto 20px;
    font-size: 1rem;
  }
  
  .hero-image {
    order: 1;
  }
  
  .hero-image img {
    max-height: 200px;
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  /* Featured cards mobile */
  .featured-services {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -30px;
  }
  
  .featured-card {
    padding: 20px;
  }
  
  .featured-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .featured-card .subtitle {
    font-size: 0.8rem;
  }
  
  .featured-card .description {
    font-size: 0.9rem;
  }
  
  /* Section headers mobile */
  .section-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  /* Cards grid mobile */
  .services-grid,
  .insights-grid,
  .cases-grid,
  .alliances-grid,
  .industries-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  /* Service cards mobile */
  .service-card {
    padding: 20px;
  }
  
  .service-card .card-image {
    height: 140px;
    margin-bottom: 16px;
  }
  
  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .service-card p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  
  .service-card ul {
    font-size: 0.85rem;
  }
  
  /* About sections mobile */
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .about-content .about-image {
    order: -1;
  }
  
  .about-content .about-image img {
    width: 100%;
    border-radius: 12px;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-text h2 {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .about-text .section-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-text p {
    text-align: center;
  }
  
  /* Value list mobile */
  .value-list {
    text-align: left;
  }
  
  .value-list li {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }
  
  /* Alliance cards mobile */
  .alliance-card {
    padding: 20px;
  }
  
  .alliance-card h4 {
    font-size: 1rem;
  }
  
  .alliance-card p {
    font-size: 0.9rem;
  }
  
  /* Industry preview mobile */
  .industry-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .industry-preview-card {
    aspect-ratio: 1;
  }
  
  .industry-preview-overlay h4 {
    font-size: 0.75rem;
    padding: 8px;
  }
  
  /* Case cards mobile */
  .case-card {
    padding: 20px;
  }
  
  .case-featured {
    flex-direction: column;
  }
  
  .case-featured-image {
    min-height: 180px;
  }
  
  .case-featured-content {
    padding: 24px;
  }
  
  .case-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Insight cards mobile */
  .insight-card {
    padding: 20px;
  }
  
  .insights-featured-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Industry page mobile */
  .industry-intro,
  .industry-expertise-section {
    flex-direction: column;
    gap: 30px;
  }
  
  .industry-intro-content,
  .industry-expertise-content {
    text-align: center;
  }
  
  .industry-intro-content h2,
  .industry-expertise-content h2 {
    text-align: center;
  }
  
  .industry-intro-content .section-divider,
  .industry-expertise-content .section-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .industry-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  /* Contact page mobile */
  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-card-content {
    padding: 20px;
  }
  
  .contact-form .form-row {
    flex-direction: column;
    gap: 16px;
  }
  
  /* CTA section mobile */
  .cta-section {
    padding: 40px 0;
  }
  
  .cta-container {
    padding: 30px 20px;
    text-align: center;
  }
  
  .cta-container h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  
  .cta-container p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .cta-container .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  /* Footer mobile */
  .bank-footer {
    padding-top: 40px;
  }
  
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-brand {
    text-align: center;
    max-width: none;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto 16px;
    max-height: 50px;
  }
  
  .footer-brand-text {
    text-align: center;
    margin-bottom: 16px;
  }
  
  .footer-contact-info {
    align-items: center;
    text-align: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 12px;
    text-align: center;
  }
  
  .footer-column ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  /* Apply page mobile */
  .apply-form-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .apply-intro {
    position: static;
  }
  
  .wizard-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .step-line {
    display: none;
  }
  
  .wizard-nav {
    flex-direction: column;
    gap: 12px;
  }
  
  .wizard-nav button,
  .wizard-nav .btn {
    width: 100%;
  }
}

/* ===============================================
   FINAL DESIGN FIXES
   =============================================== */

/* REMOVE DOUBLE BRONZE LINES - Hide all ::after lines on section headers */
.section-header h2::after,
.title-block h2::after,
h2::after {
  display: none !important;
}

/* Keep only section-divider elements where explicitly placed */
.section-divider {
  display: block;
}

/* Footer logo with white card background for visibility */
.footer-brand .footer-logo {
  background: white;
  padding: 12px 16px;
  border-radius: 8px;
  height: auto;
  max-height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===============================================
   MOBILE REDESIGN - LOANS4 STYLE (CLEAN & PROFESSIONAL)
   =============================================== */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Hero images - NO BOX, just the cutout PNG below text */
  .hero-image,
  .page-hero-image {
    display: flex !important;
    justify-content: center;
    align-items: center;
    order: 2 !important;
    margin-top: var(--space-md);
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  
  .hero-image img,
  .page-hero-image img {
    max-height: 200px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* Keep subtle drop shadow on the cutout itself */
    filter: drop-shadow(0 10px 20px rgba(10, 38, 71, 0.15)) !important;
  }
  
  /* Column layout with content first, image second */
  .hero-split,
  .page-hero-split {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-md) !important;
  }
  
  .hero-split .hero-content,
  .page-hero-split .title-block {
    text-align: center !important;
    max-width: 100% !important;
    order: 1 !important;
  }
  
  /* Hero section - clean spacing */
  .hero-section,
  .hero-with-image {
    padding: 40px 0 30px !important;
    min-height: auto !important;
  }
  
  .page-hero {
    padding: 35px 0 25px !important;
  }
  
  /* Hero typography - readable sizes */
  .hero-split .hero-content h1,
  .page-hero-split .title-block h1,
  h1 {
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }
  
  .hero-split .hero-content .hero-subhead,
  .page-hero-split .title-block .hero-subhead,
  .hero-subhead {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 auto 20px !important;
    max-width: 100% !important;
    opacity: 0.9;
  }
  
  /* Buttons - side by side like loans4 */
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
  }
  
  .hero-ctas .btn {
    min-width: 130px !important;
    padding: 12px 18px !important;
    font-size: 0.85rem !important;
    text-align: center !important;
  }
  
  /* Section spacing - compact and clean */
  .section {
    padding: 40px 0 !important;
  }
  
  .section-header {
    margin-bottom: var(--space-lg) !important;
  }
  
  .section-header h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  
  /* Featured cards - clean stack */
  .featured-services {
    gap: 12px !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  .featured-card {
    padding: 18px 20px !important;
    margin: 0 !important;
    border-radius: 12px !important;
  }
  
  .featured-card h5 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
  }
  
  .featured-card .subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
  }
  
  .featured-card .description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* About content - stack vertically */
  .about-content {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-lg) !important;
  }
  
  .about-text {
    order: 1 !important;
  }
  
  .about-image {
    order: 2 !important;
  }
  
  .about-text h2 {
    font-size: 1.4rem !important;
    text-align: center !important;
  }
  
  .about-text p {
    font-size: 0.95rem !important;
    text-align: center !important;
    line-height: 1.7 !important;
  }
  
  /* Cards grid - single column */
  .cards-grid,
  .services-grid,
  .industries-grid,
  .insights-grid,
  .cases-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  /* Service cards */
  .service-card {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
  
  .service-card h3 {
    font-size: 1.15rem !important;
    margin-bottom: 8px !important;
  }
  
  .service-card p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  /* Insight cards */
  .insight-card {
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  .insight-card-image img {
    height: 180px !important;
  }
  
  .insight-card-content {
    padding: 18px !important;
  }
  
  .insight-card-content h3 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }
  
  .insight-card-content p {
    font-size: 0.9rem !important;
  }
  
  /* Case study cards */
  .case-card-full {
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  
  .case-card-image img {
    height: 180px !important;
  }
  
  .case-card-content {
    padding: 18px !important;
  }
  
  .case-card-content h3 {
    font-size: 1.05rem !important;
    margin-bottom: 10px !important;
  }
  
  .case-card-content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
  }
  
  /* CTA section */
  .cta-section {
    padding: 40px 20px !important;
  }
  
  .cta-container {
    padding: 30px 20px !important;
    border-radius: 16px !important;
  }
  
  .cta-container h2 {
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
  }
  
  .cta-container .hero-subhead {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
  }
  
  /* Process/How it works - handled in 768px breakpoint */
  
  /* Value list items */
  .value-list li {
    padding: 12px 0 !important;
  }
  
  .value-list .text h4 {
    font-size: 1rem !important;
  }
  
  .value-list .text p {
    font-size: 0.85rem !important;
  }
  
  /* Stats grid */
  .case-stats {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .case-stat {
    padding: 14px !important;
    border-radius: 10px !important;
  }
  
  .stat-number {
    font-size: 1.5rem !important;
  }
  
  .stat-label {
    font-size: 0.8rem !important;
  }
  
  /* Footer - clean and compact */
  .bank-footer {
    padding-top: 30px !important;
  }
  
  .footer-main {
    padding: 30px 0 !important;
  }
  
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
  }
  
  .footer-brand {
    max-width: none !important;
    text-align: center !important;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto 16px !important;
    padding: 14px 16px !important;
    max-height: 55px !important;
  }
  
  .footer-brand-text {
    font-size: 0.9rem !important;
    margin-bottom: 16px !important;
  }
  
  .footer-contact-info {
    align-items: center !important;
    font-size: 0.85rem !important;
  }
  
  .footer-social {
    justify-content: center !important;
    margin-top: 16px !important;
  }
  
  .footer-column {
    text-align: center !important;
  }
  
  .footer-column h4 {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
  }
  
  .footer-column ul li a {
    font-size: 0.85rem !important;
  }
  
  .footer-disclaimer-section {
    padding: 16px 0 !important;
  }
  
  .footer-disclaimer-text {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
  }
  
  .footer-bottom {
    padding: 14px 0 !important;
  }
  
  .footer-copyright {
    font-size: 0.8rem !important;
  }
  
  /* Navigation mobile */
  .navbar {
    padding: 12px 0 !important;
  }
  
  .navbar-logo img,
  .logo-image {
    max-height: 40px !important;
  }
  
  /* Header top bar */
  .header-top-bar {
    padding: 8px 0 !important;
  }
  
  .header-top-bar .container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .header-phone {
    font-size: 0.8rem !important;
  }
  
  .header-social a {
    width: 26px !important;
    height: 26px !important;
  }
  
  /* General typography mobile */
  h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }
  
  p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  /* Buttons general */
  .btn {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
  }
  
  .btn-outline {
    padding: 11px 19px !important;
  }
  
  /* Read more links */
  .read-more-link {
    font-size: 0.85rem !important;
  }
  
  /* Author info */
  .article-author {
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }
  
  .author-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  
  .author-name {
    font-size: 0.8rem !important;
  }
  
  .author-title {
    font-size: 0.7rem !important;
  }
  
  /* Hide decorative gradient overlays on mobile */
  .hero-section::after,
  .page-hero::after {
    display: none !important;
  }
  
  /* Sections - tighter spacing */
  .section {
    padding: 30px 0;
  }
  
  .section-header {
    margin-bottom: 20px;
  }
  
  .section-header h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  
  .section-header p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Cards - compact */
  .service-card,
  .insight-card,
  .case-card,
  .alliance-card {
    padding: 14px;
  }
  
  .service-card h3,
  .insight-card h3,
  .case-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .service-card p,
  .insight-card p,
  .case-card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .service-card ul {
    font-size: 0.8rem;
    margin: 8px 0;
  }
  
  .service-card ul li {
    margin-bottom: 4px;
  }
  
  /* Hide card images on mobile */
  .service-card .card-image,
  .insight-card .card-image {
    display: none;
  }
  
  /* About sections - hide images */
  .about-content .about-image {
    display: none;
  }
  
  .about-content {
    gap: 20px;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-text h2 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .about-text p {
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
  }
  
  .about-text .section-divider {
    margin: 10px auto;
  }
  
  /* Value list compact */
  .value-list li {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .value-list .icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .value-list h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  .value-list p {
    font-size: 0.8rem;
  }
  
  /* Alliance cards compact */
  .alliance-card h4 {
    font-size: 0.95rem;
  }
  
  .alliance-card p {
    font-size: 0.85rem;
  }
  
  /* Industry preview - 2 columns */
  .industry-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .industry-preview-overlay h4 {
    font-size: 0.7rem;
    padding: 6px;
  }
  
  /* Industry page - hide images */
  .industry-intro-image,
  .industry-expertise-image,
  .industry-card .card-image {
    display: none;
  }
  
  .industry-intro,
  .industry-expertise-section {
    display: block;
  }
  
  .industry-intro-content,
  .industry-expertise-content {
    text-align: center;
  }
  
  .industry-intro-content h2,
  .industry-expertise-content h2 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .industry-intro-content .section-divider,
  .industry-expertise-content .section-divider {
    margin: 10px auto;
  }
  
  /* Case cards */
  .case-featured {
    flex-direction: column;
  }
  
  .case-featured-image {
    display: none;
  }
  
  .case-featured-content {
    padding: 20px;
  }
  
  .case-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  /* Insights */
  .insights-featured-grid {
    flex-direction: column;
    gap: 12px;
  }
  
  /* CTA section */
  .cta-section {
    padding: 30px 0;
  }
  
  .cta-container {
    padding: 20px 16px;
    text-align: center;
  }
  
  .cta-container h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .cta-container p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  /* Contact page */
  .contact-layout {
    gap: 20px;
  }
  
  .contact-card-image {
    display: none;
  }
  
  .contact-card-content {
    padding: 16px;
  }
  
  .contact-methods {
    gap: 12px;
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .contact-details h4 {
    font-size: 0.85rem;
  }
  
  .contact-details p {
    font-size: 0.8rem;
  }
  
  /* Footer - cleaner spacing */
  .bank-footer {
    padding-top: 30px;
  }
  
  .footer-main {
    padding: 30px 0 20px;
  }
  
  .footer-grid {
    gap: 20px;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto 12px;
    padding: 10px 12px;
    max-height: 40px;
  }
  
  .footer-brand-text {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .footer-contact-info a,
  .footer-contact-info span {
    font-size: 0.8rem;
  }
  
  .footer-column h4 {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .footer-column ul li {
    margin-bottom: 4px;
  }
  
  .footer-column ul li a {
    font-size: 0.8rem;
  }
  
  .footer-disclaimer-section {
    padding: 12px 0;
  }
  
  .footer-disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .footer-bottom {
    padding: 12px 0;
  }
  
  .footer-legal-links {
    gap: 12px;
  }
  
  .footer-legal-links a {
    font-size: 0.75rem;
  }
  
  .footer-copyright {
    font-size: 0.75rem;
  }
}

/* ===============================================
   CONTACT PAGE ALIGNMENT FIX
   =============================================== */

/* Contact methods centered on mobile */
@media (max-width: 768px) {
  .contact-card-content {
    text-align: center;
  }
  
  .contact-card-content h2 {
    text-align: center;
  }
  
  .contact-card-content > p {
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details h4 {
    text-align: center;
  }
  
  .contact-details p {
    text-align: center;
  }
}

/* ===============================================
   PREMIUM DESIGN ENHANCEMENTS
   =============================================== */

/* Footer logo with white card background */
.footer-brand .footer-logo {
  background: white;
  padding: 14px 18px;
  border-radius: 12px;
  height: auto;
  max-height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
}

/* Premium card shadows */
.service-card,
.insight-card,
.case-card,
.alliance-card,
.featured-card,
.contact-card,
.contact-form-card {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.insight-card:hover,
.case-card:hover,
.alliance-card:hover,
.featured-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Premium button effects */
.btn {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(26, 54, 93, 0.35);
  transform: translateY(-2px);
}

.btn-outline:hover {
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.15);
  transform: translateY(-2px);
}

/* Premium header with subtle shadow */
.navbar {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Premium section dividers with gradient */
.section-divider {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 1px 4px rgba(166, 124, 82, 0.3);
}

/* Premium hero text shadow for depth */
.hero-split .hero-content h1,
.page-hero-split .title-block h1 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Premium form inputs */
.form-group input,
.form-group select,
.form-group textarea {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.06), 0 0 0 3px rgba(166, 124, 82, 0.15);
}

/* Premium CTA section */
.cta-container {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Premium footer */
.bank-footer {
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
}

/* ===============================================
   CONTACT PAGE - PROPER ALIGNMENT
   =============================================== */

/* Desktop contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-card-content {
  padding: var(--space-lg);
}

.contact-card-content h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.contact-card-content > p {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.contact-method:hover {
  background: var(--bg-section-alt);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(166, 124, 82, 0.2));
  border: 2px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(166, 124, 82, 0.2);
}

.contact-details {
  flex: 1;
}

.contact-details h4 {
  font-size: var(--text-base);
  margin: 0 0 4px 0;
  color: var(--navy);
  font-weight: 600;
}

.contact-details p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-details a:hover {
  color: var(--navy);
}

/* Contact form card */
.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-form-card h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.contact-form-card > p {
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

/* Mobile contact layout */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-card-image {
    display: none;
  }
  
  .contact-card-content {
    padding: var(--space-md);
    text-align: center;
  }
  
  .contact-card-content h2 {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .contact-card-content > p {
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
  
  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    padding: var(--space-md);
    background: var(--bg-section-alt);
    border-radius: var(--radius);
  }
  
  .contact-method:hover {
    background: rgba(166, 124, 82, 0.1);
  }
  
  .contact-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 20px;
    margin-bottom: var(--space-xs);
  }
  
  .contact-details {
    text-align: center;
  }
  
  .contact-details h4 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .contact-details p {
    text-align: center;
  }
  
  .contact-form-card {
    padding: var(--space-md);
  }
  
  .contact-form-card h2 {
    text-align: center;
  }
  
  .contact-form-card > p {
    text-align: center;
  }
  
  /* Footer logo mobile */
  .footer-brand .footer-logo {
    margin: 0 auto var(--space-md);
    padding: 12px 14px;
    max-height: 45px;
  }
}

/* Premium shine effect on featured cards */
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.featured-card:hover::before {
  left: 100%;
}

/* ===============================================
   ANALYTICS PREVIEW SECTION
   =============================================== */
.analytics-preview-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-accent) 100%);
  padding: var(--space-2xl) 0;
}

.analytics-preview-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.analytics-preview-content {
  color: white;
}

.preview-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.analytics-preview-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--space-md);
  color: white;
}

.analytics-preview-content h2 strong {
  color: var(--blue-bright);
}

.analytics-preview-content > p {
  font-size: var(--text-base);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.preview-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.preview-features li {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-features .feature-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

.analytics-preview-content .btn {
  background: white;
  color: var(--navy);
}

.analytics-preview-content .btn:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* Mock Analytics Card */
.analytics-preview-visual {
  display: flex;
  justify-content: center;
}

.mock-analytics-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 380px;
}

.mock-header {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--blue-light);
}

.mock-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.mock-metric {
  background: var(--bg-section-alt);
  border-radius: var(--radius);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid var(--border);
}

.mock-metric.highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-accent) 100%);
  border: none;
  grid-column: span 2;
}

.mock-metric.highlight .mock-label,
.mock-metric.highlight .mock-value {
  color: white;
}

.mock-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

.mock-value.status-medium {
  color: #f59e0b;
}

.mock-value.status-low {
  color: #10b981;
}

.mock-value.status-high {
  color: #ef4444;
}

.mock-footer {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  font-style: italic;
}

@media (max-width: 900px) {
  .analytics-preview-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .preview-features {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 300px;
    margin: 0 auto var(--space-lg);
  }
  
  .analytics-preview-content .btn {
    margin: 0 auto;
  }
  
  .mock-analytics-card {
    max-width: 340px;
    margin: 0 auto;
  }
}

/* Premium gradient overlays */
.hero-section::after,
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Ensure content is above gradient */
.hero-split,
.page-hero-split {
  position: relative;
  z-index: 2;
}

/* ===============================================
   REMOVE BRONZE LINES & MAKE LINKS BLUE
   =============================================== */

/* Hide all section dividers */
.section-divider {
  display: none !important;
}

/* Make read-more and learn-more links blue */
.service-card .read-more-link,
.insight-card .read-more-link,
.insight-item .read-more-link,
.case-card .read-more-link,
.featured-card .btn-text,
.featured-card a,
a.read-more-link {
  color: var(--blue-accent) !important;
}

.service-card:hover .read-more-link,
.insight-card:hover .read-more-link,
.insight-item:hover .read-more-link,
.case-card:hover .read-more-link {
  color: var(--navy-light) !important;
}

/* ===============================================
   ARTICLE PAGE STYLES
   =============================================== */

.page-article .article-content {
  padding: var(--space-xl) 0;
}

.article-header {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.article-back-link:hover {
  color: var(--accent-hover);
}

.article-back-link::before {
  content: '←';
}

.article-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.article-meta {
  display: flex;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--slate);
}

.article-featured-image {
  max-width: 900px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--slate);
}

.article-body h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: var(--space-lg) 0 var(--space-sm);
  font-family: var(--font-heading);
}

.article-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: var(--space-md) 0 var(--space-xs);
}

.article-body h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: var(--space-sm) 0 var(--space-xs);
}

.article-body p {
  margin-bottom: var(--space-md);
}

.article-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.article-body ul,
.article-body ol {
  margin: var(--space-sm) 0 var(--space-md);
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: var(--space-xs);
}

.article-body strong {
  color: var(--navy);
  font-weight: 600;
}

.article-callout {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-callout.warning {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.article-callout h4 {
  margin-top: 0;
  color: var(--navy);
}

.article-callout p:last-child,
.article-callout ul:last-child {
  margin-bottom: 0;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0;
  font-size: var(--text-sm);
}

.article-table th,
.article-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--silver);
}

.article-table th {
  background: var(--light);
  font-weight: 600;
  color: var(--navy);
}

.article-table tr:last-child td {
  font-weight: 600;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin: var(--space-xl) 0;
  text-align: center;
}

.article-cta-box h3 {
  color: white;
  margin-bottom: var(--space-xs);
}

.article-cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
}

.article-footer {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--silver);
}

.article-footer h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.related-article-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--silver);
}

.related-article-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .article-header {
    padding: 0 var(--space-sm);
  }
  
  .article-body {
    padding: 0 var(--space-sm);
  }
  
  .article-footer {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  
  .article-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }
}

/* ===============================================
   UNIFIED HEADER - Single Sleek Header
   =============================================== */

.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 42px;
  max-height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.header-nav a:hover {
  color: var(--blue-bright);
}

.header-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  color: white;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.header-phone svg {
  stroke: white;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.header-phone:hover {
  color: var(--blue-bright);
}

.header-phone:hover svg {
  stroke: var(--blue-bright);
}

/* Header Social Links */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: white;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.header-social a:hover {
  opacity: 1;
}

.header-social a svg {
  width: 18px;
  height: 18px;
}

.header-login {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.header-login:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.header-signup {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  background: var(--gold);
  transition: all 0.2s ease;
}

.header-signup:hover {
  background: #d4b46a;
  color: var(--navy);
}

/* Mobile Menu Toggle */
.site-header .mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.site-header .mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header .mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header .mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.site-header .mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Header */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 999;
  }
  
  .header-nav.active {
    display: flex;
  }
  
  .header-nav a {
    width: 100%;
    padding: 16px 0;
    text-align: center;
    font-size: var(--text-base);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .header-nav a:last-child {
    border-bottom: none;
  }
  
  .header-nav a::after {
    display: none;
  }
  
  .site-header .mobile-menu-toggle {
    display: flex;
  }
  
  .header-phone,
  .header-social {
    display: none;
  }
  
  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .header-main {
    height: 60px;
    padding: 0;
  }
  
  .header-logo img {
    height: 36px;
    max-height: 36px;
    max-width: 150px;
  }
  
  .header-login {
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .header-signup {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .header-nav {
    top: 60px;
  }
  
  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header-main {
    height: 56px;
  }
  
  .header-logo img {
    height: 32px;
    max-height: 32px;
    max-width: 130px;
  }
  
  .header-login {
    display: none;
  }
  
  .header-signup {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .header-nav {
    top: 56px;
  }
  
  .site-header .container {
    padding: 0 12px;
  }
}

/* ===============================================
   FOOTER SOCIAL LINKS
   =============================================== */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
}

.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.2s ease;
}

.footer-social .social-link:hover {
  background: var(--blue-accent);
  transform: translateY(-2px);
}

.footer-social .social-link svg {
  width: 18px;
  height: 18px;
}

/* ===============================================
   ARTICLE AUTHOR INFO
   =============================================== */

.article-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.author-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.article-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ===============================================
   SECTION HEADER SPACING
   =============================================== */

.section-header {
  margin-bottom: var(--space-xl);
}

.cta-section {
  padding: var(--section-padding) 0;
}

/* ===============================================
   PROFESSIONAL CONTACT ICONS (SVG STYLE)
   =============================================== */

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(20, 66, 114, 0.25);
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  stroke: white;
}

.contact-method:hover .contact-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 66, 114, 0.35);
}

/* ===============================================
   PROCESS STEPS (LOANS4 STYLE - "HOW IT WORKS")
   =============================================== */

.process-section {
  background: var(--bg-section-alt);
  padding: var(--section-padding) 0;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-top: var(--space-xl);
  position: relative;
}

/* Connecting line behind steps */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-accent) 0%, var(--navy) 100%);
  z-index: 0;
  border-radius: 2px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px 30px 24px;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
  max-width: 320px;
  z-index: 1;
}

.process-step:hover {
  transform: translateY(-4px);
}

/* Step number circle */
.process-step::before {
  content: attr(data-step);
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--blue-accent);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(44, 116, 179, 0.2);
}

.process-step:hover::before {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(10, 38, 71, 0.3);
}

/* Hide the original icon on desktop - we use the number instead */
.process-icon {
  display: none;
}

.process-step h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 260px;
}

/* Step CTA button */
.step-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--blue-accent);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.process-step:hover .step-cta {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 38, 71, 0.25);
}

/* Remove the old floating number */
.process-step::after {
  display: none;
}

/* ===============================================
   PROFESSIONAL CARD HOVER EFFECTS (LOANS4 STYLE)
   =============================================== */

.service-card,
.industry-card,
.insight-card,
.case-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-card::before,
.industry-card::before,
.insight-card::before,
.case-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-accent), var(--navy));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before,
.industry-card:hover::before,
.insight-card:hover::before,
.case-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover,
.industry-card:hover,
.insight-card:hover,
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ===============================================
   ENHANCED BUTTON STYLES (LOANS4 STYLE)
   =============================================== */

.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--navy) 100%);
  box-shadow: 0 4px 16px rgba(20, 66, 114, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(20, 66, 114, 0.4);
  transform: translateY(-2px);
}

/* ===============================================
   TESTIMONIAL CARDS (LOANS4 STYLE)
   =============================================== */

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  line-height: 1;
  color: var(--blue-accent);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.testimonial-quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-info h5 {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ===============================================
   FEATURED CARD ICONS (LOANS4 STYLE)
   =============================================== */

.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
}

.featured-icon svg {
  stroke: var(--blue-accent);
  transition: all 0.3s ease;
}

.featured-card:hover .featured-icon {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--navy) 100%);
  transform: scale(1.1);
}

.featured-card:hover .featured-icon svg {
  stroke: white;
}

/* ===============================================
   AUTHOR AVATARS WITH PROFESSIONAL ICONS
   =============================================== */

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(20, 66, 114, 0.2);
}

/* ===============================================
   SUBTLE SECTION BACKGROUNDS (LOANS4 STYLE)
   =============================================== */

.section-alt {
  background: linear-gradient(180deg, #fafbfc 0%, #f5f7fa 100%);
}

.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* ===============================================
   ABOUT PAGE STYLES
   =============================================== */

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: all 0.3s ease;
}

.value-icon svg {
  stroke: var(--blue-accent);
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--navy) 100%);
}

.value-card:hover .value-icon svg {
  stroke: white;
}

.value-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--text-body);
  line-height: 1.7;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.comparison-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: white;
}

.comparison-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--border);
}

.comparison-highlight .comparison-title {
  border-bottom-color: rgba(255,255,255,0.2);
  color: white;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.comparison-list li::before {
  position: absolute;
  left: 0;
  top: var(--space-sm);
  font-weight: 700;
}

.comparison-list li.negative::before {
  content: '✕';
  color: #dc2626;
}

.comparison-list li.positive::before {
  content: '✓';
  color: #16a34a;
}

.comparison-highlight .comparison-list li.positive::before {
  color: #4ade80;
}

.comparison-highlight .comparison-list li {
  color: rgba(255,255,255,0.9);
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.expertise-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.expertise-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--blue-accent);
  margin-bottom: var(--space-xs);
  font-family: var(--font-display);
}

.expertise-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.expertise-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.expertise-description p {
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Approach Timeline */
.approach-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.approach-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.approach-step::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 70px;
  bottom: -30px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-accent) 0%, var(--border) 100%);
}

.approach-step:last-child::before {
  display: none;
}

.approach-step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--navy) 100%);
  color: white;
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.approach-step-content {
  flex: 1;
  padding-top: var(--space-sm);
}

.approach-step-content h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.approach-step-content p {
  color: var(--text-body);
  line-height: 1.7;
}

/* About page responsive */
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .expertise-number {
    font-size: var(--text-3xl);
  }
  
  .approach-step {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .approach-step::before {
    display: none;
  }
  
  .approach-step-number {
    width: 50px;
    height: 50px;
    font-size: var(--text-lg);
  }
}

/* ===============================================
   FOOTER FINAL FIX - CLEAN & PROFESSIONAL
   =============================================== */

/* Footer logo - larger and more visible */
.footer-brand .footer-logo {
  background: white !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  height: auto !important;
  max-height: 70px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  margin-bottom: var(--space-lg) !important;
  display: block !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Footer brand section - clean layout */
.footer-brand {
  max-width: 320px !important;
}

.footer-brand-text {
  font-size: var(--text-base) !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: var(--space-lg) !important;
}

.footer-contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-sm) !important;
}

.footer-contact-info a,
.footer-contact-info span {
  font-size: var(--text-sm) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-contact-info a:hover {
  color: white !important;
}

/* Footer social links spacing */
.footer-social {
  margin-top: var(--space-lg) !important;
}

/* Footer columns - consistent styling */
.footer-column h4 {
  font-size: var(--text-base) !important;
  font-weight: 700 !important;
  margin-bottom: var(--space-md) !important;
  color: white !important;
  letter-spacing: 0.03em !important;
}

.footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-column ul li {
  margin-bottom: var(--space-xs) !important;
}

.footer-column ul li a {
  font-size: var(--text-sm) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease !important;
  display: inline-block !important;
}

.footer-column ul li a:hover {
  color: white !important;
  padding-left: 4px !important;
}

/* Footer mobile layout fix */
@media (max-width: 768px) {
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-xl) !important;
    text-align: center !important;
  }
  
  .footer-brand {
    max-width: none !important;
    text-align: center !important;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto var(--space-lg) !important;
    max-height: 60px !important;
    padding: 14px 18px !important;
  }
  
  .footer-contact-info {
    align-items: center !important;
  }
  
  .footer-social {
    justify-content: center !important;
  }
  
  .footer-column {
    text-align: center !important;
  }
}

/* ===============================================
   FAQ PAGE STYLES
   =============================================== */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-heading);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.2s ease;
}

.faq-question:hover {
  color: var(--blue-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--navy));
  color: white;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-body);
  line-height: 1.8;
}

.faq-answer-content p {
  margin-bottom: var(--space-sm);
}

.faq-answer-content ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.faq-answer-content li {
  margin-bottom: var(--space-xs);
}

.faq-category {
  margin-bottom: var(--space-xl);
}

.faq-category-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}

/* FAQ search box */
.faq-search {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.faq-search input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: var(--text-lg);
  transition: all 0.3s ease;
  outline: none;
}

.faq-search input:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.15);
}

/* ===============================================
   MOBILE COMPREHENSIVE FIX - FINAL OVERRIDE
   =============================================== */
@media (max-width: 768px) {
  /* ===== ROOT SPACING ADJUSTMENTS ===== */
  :root {
    --space-sm: 10px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --section-padding: 40px;
  }
  
  /* ===== TYPOGRAPHY - PROPER MOBILE SIZING ===== */
  body {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }
  
  h2 {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
  }
  
  h3 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }
  
  h4 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }
  
  p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }
  
  /* ===== CONTAINER ===== */
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  /* ===== FAQ MOBILE FIXES ===== */
  .faq-container {
    padding: 0;
  }
  
  .faq-category {
    margin-bottom: var(--space-lg);
  }
  
  .faq-category-title {
    font-size: 1.25rem !important;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
  }
  
  .faq-item {
    margin-bottom: 10px;
    border-radius: 10px;
  }
  
  .faq-question {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    gap: 12px;
  }
  
  .faq-question span:first-child {
    flex: 1;
    padding-right: 8px;
  }
  
  .faq-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    font-size: 16px !important;
  }
  
  .faq-answer-content {
    padding: 0 16px 16px !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }
  
  .faq-answer-content p {
    margin-bottom: 10px;
  }
  
  .faq-answer-content ul {
    padding-left: 20px;
    margin: 10px 0;
  }
  
  .faq-answer-content li {
    margin-bottom: 6px;
    font-size: 0.875rem;
  }
  
  /* ===== PAGE HERO FIXES ===== */
  .page-hero,
  .page-hero-with-image {
    padding: 24px 0 20px !important;
    min-height: auto !important;
  }
  
  .page-hero-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }
  
  .page-hero-split .title-block {
    order: 1 !important;
  }
  
  .page-hero-split .title-block h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  
  .page-hero-split .title-block .hero-subhead {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    opacity: 0.9;
  }
  
  /* ===== HERO SPLIT IMAGE ===== */
  .page-hero-split .hero-image,
  .hero-split .hero-image {
    max-width: 200px !important;
    margin: 0 auto !important;
  }
  
  /* ===== SECTION HEADERS ===== */
  .section-header h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  
  .section-header .section-subhead,
  .section-subhead {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  /* ===== SECTION SPACING ===== */
  .section,
  .section-alt {
    padding: 40px 0 !important;
  }
  
  .page-hero-image {
    order: 2 !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .page-hero-image img {
    max-height: 160px !important;
    width: auto !important;
    max-width: 80% !important;
    filter: drop-shadow(0 8px 16px rgba(10, 38, 71, 0.12)) !important;
  }
  
  /* ===== HERO SECTION (HOME) ===== */
  .hero-section,
  .hero-with-image {
    padding: 35px 0 25px !important;
    min-height: auto !important;
  }
  
  .hero-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    text-align: center !important;
  }
  
  .hero-split .hero-content {
    order: 1 !important;
    text-align: center !important;
  }
  
  .hero-split .hero-content h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }
  
  .hero-split .hero-content .hero-eyebrow {
    font-size: 0.7rem !important;
    margin-bottom: 8px !important;
  }
  
  .hero-split .hero-content .hero-subhead {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
  }
  
  .hero-image {
    order: 2 !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }
  
  .hero-image img {
    max-height: 180px !important;
    width: auto !important;
    max-width: 90% !important;
  }
  
  /* Hero buttons */
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  .hero-ctas .btn {
    min-width: 120px !important;
    padding: 10px 16px !important;
    font-size: 0.85rem !important;
  }
  
  /* ===== SECTIONS ===== */
  .section,
  .section-alt,
  .process-section {
    padding: 48px 0 !important;
  }
  
  .section-header {
    margin-bottom: 24px !important;
    text-align: center !important;
  }
  
  .section-header h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  
  .section-header p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }
  
  /* Grid gaps - consistent spacing */
  .services-grid,
  .insights-grid,
  .cases-grid,
  .alliances-grid,
  .featured-services {
    gap: 16px !important;
  }
  
  .process-steps {
    gap: 0 !important;
  }
  
  /* ===== FOOTER MOBILE FIX ===== */
  .bank-footer {
    padding-top: 0 !important;
  }
  
  .footer-main {
    padding: 30px 0 20px !important;
  }
  
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
  }
  
  .footer-brand {
    max-width: none !important;
    text-align: center !important;
    margin-bottom: 10px !important;
  }
  
  .footer-brand .footer-logo {
    margin: 0 auto 14px !important;
    max-height: 50px !important;
    padding: 12px 16px !important;
  }
  
  .footer-brand-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  
  .footer-contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
  
  .footer-contact-info a,
  .footer-contact-info span {
    font-size: 0.8rem !important;
  }
  
  .footer-social {
    justify-content: center !important;
    margin-top: 14px !important;
  }
  
  .footer-social .social-link {
    width: 36px !important;
    height: 36px !important;
  }
  
  .footer-column {
    text-align: center !important;
  }
  
  .footer-column h4 {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
    color: white !important;
  }
  
  .footer-column ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  
  .footer-column ul li a {
    font-size: 0.8rem !important;
  }
  
  .footer-disclaimer-section {
    padding: 14px 0 !important;
  }
  
  .footer-disclaimer-text {
    font-size: 0.7rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }
  
  .footer-bottom {
    padding: 14px 0 !important;
  }
  
  .footer-bottom .container {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .footer-legal-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
  
  .footer-legal-links a {
    font-size: 0.75rem !important;
  }
  
  .footer-copyright {
    font-size: 0.75rem !important;
    text-align: center !important;
  }
  
  /* ===== CTA SECTION ===== */
  .cta-section {
    padding: 30px 0 !important;
  }
  
  .cta-container {
    padding: 24px 18px !important;
    border-radius: 14px !important;
    text-align: center !important;
  }
  
  .cta-container h2 {
    font-size: 1.25rem !important;
    margin-bottom: 10px !important;
  }
  
  .cta-container p,
  .cta-container .hero-subhead {
    font-size: 0.9rem !important;
    margin-bottom: 18px !important;
  }
  
  .cta-container .hero-ctas {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .cta-container .hero-ctas .btn {
    width: 100% !important;
    max-width: 250px !important;
  }
  
  /* ===== FEATURED CARDS ===== */
  .featured-services {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
  
  .featured-card {
    padding: 16px 18px !important;
    border-radius: 10px !important;
  }
  
  .featured-card h5 {
    font-size: 1rem !important;
    margin-bottom: 4px !important;
  }
  
  .featured-card .subtitle {
    font-size: 0.75rem !important;
    margin-bottom: 8px !important;
  }
  
  .featured-card .description,
  .featured-card p:not(.subtitle) {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  
  .featured-card .btn {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  
  /* Process steps - handled in 768px main breakpoint */
  
  /* ===== SERVICE/INSIGHT/CASE CARDS ===== */
  .services-grid,
  .insights-grid,
  .cases-grid,
  .cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  
  .service-card,
  .insight-card,
  .case-card {
    padding: 18px !important;
    border-radius: 12px !important;
  }
  
  .service-card h3,
  .insight-card h3,
  .case-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }
  
  .service-card p,
  .insight-card p,
  .case-card p {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
  }
  
  .service-card ul {
    font-size: 0.8rem !important;
    margin: 10px 0 !important;
    padding-left: 16px !important;
  }
  
  .service-card ul li {
    margin-bottom: 4px !important;
  }
  
  /* Card images - hide on mobile for cleaner look */
  .service-card .card-image,
  .insight-card-image {
    display: none !important;
  }
  
  .insight-card-content {
    padding: 16px !important;
  }
  
  /* ===== ABOUT CONTENT ===== */
  .about-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  .about-image {
    display: none !important;
  }
  
  .about-text {
    text-align: center !important;
  }
  
  .about-text h2 {
    font-size: 1.35rem !important;
    text-align: center !important;
    margin-bottom: 14px !important;
  }
  
  .about-text p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }
  
  .about-text .btn {
    margin-top: 16px !important;
  }
  
  /* ===== ALLIANCE CARDS ===== */
  .alliances-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .alliance-card {
    padding: 16px !important;
    border-radius: 10px !important;
  }
  
  .alliance-card h4 {
    font-size: 0.95rem !important;
    margin-bottom: 6px !important;
  }
  
  .alliance-card p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  
  /* ===== INDUSTRY PREVIEW ===== */
  .industry-preview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .industry-preview-overlay h4 {
    font-size: 0.7rem !important;
    padding: 6px !important;
  }
  
  /* ===== TYPOGRAPHY GENERAL ===== */
  h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
  
  h3 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
  }
  
  h4 {
    font-size: 1rem !important;
  }
  
  p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  /* ===== BUTTONS ===== */
  .btn {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
  }
  
  .btn-outline {
    padding: 9px 17px !important;
  }
  
  /* ===== HEADER/NAV ===== */
  .navbar {
    height: auto !important;
    min-height: 60px !important;
    padding: 10px 0 !important;
  }
  
  .logo-image {
    max-height: 38px !important;
  }
  
  .header-top-bar {
    padding: 6px 0 !important;
  }
  
  .header-top-bar .container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  .header-phone {
    font-size: 0.75rem !important;
  }
  
  .header-social a {
    width: 24px !important;
    height: 24px !important;
  }
  
  /* ===== READ MORE LINKS ===== */
  .read-more-link {
    font-size: 0.8rem !important;
  }
  
  /* ===== PROCESS STEPS MOBILE - CARD LAYOUT ===== */
  .process-section {
    padding: 40px 0 !important;
  }
  
  .process-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 24px !important;
    padding-left: 0 !important;
    position: relative !important;
  }
  
  /* Hide connecting line on mobile */
  .process-steps::before {
    display: none !important;
  }
  
  .process-step {
    flex-direction: column !important;
    text-align: center !important;
    padding: 24px 20px !important;
    gap: 0 !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(10, 38, 71, 0.08) !important;
    max-width: 100% !important;
  }
  
  .process-step:hover {
    transform: none !important;
  }
  
  /* Step number for mobile - above content */
  .process-step::before {
    content: attr(data-step) !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 auto 16px !important;
    font-size: 1.1rem !important;
    border-width: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--navy) !important;
    border-color: var(--navy) !important;
    color: white !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
  }
  
  .process-icon {
    display: none !important;
  }
  
  .process-step h4 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: var(--navy) !important;
  }
  
  .process-step p {
    font-size: 0.9rem !important;
    margin-bottom: 16px !important;
    max-width: 100% !important;
    line-height: 1.5 !important;
    color: var(--text-muted) !important;
  }
  
  .step-cta {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    background: var(--blue-accent) !important;
    color: white !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }
  
  /* ===== APPLY PAGE MOBILE - FORM FIRST ===== */
  .apply-form-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .apply-form {
    order: 1 !important;
  }
  
  .apply-intro {
    order: 2 !important;
    position: static !important;
  }
}

/* ===== EXTRA SMALL MOBILE (320-480px) ===== */
@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .section,
  .section-alt,
  .process-section {
    padding: 40px 0 !important;
  }
  
  .hero-split .hero-content h1,
  .page-hero-split .title-block h1 {
    font-size: 1.4rem !important;
  }
  
  .section-header h2 {
    font-size: 1.3rem !important;
  }
  
  .hero-ctas {
    flex-direction: column !important;
  }
  
  .hero-ctas .btn {
    width: 100% !important;
    max-width: 220px !important;
  }
  
  .faq-question {
    font-size: 0.9rem !important;
    padding: 14px 16px !important;
  }
  
  .faq-answer-content {
    padding: 0 16px 16px !important;
    font-size: 0.85rem !important;
  }
  
  .industry-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .featured-card {
    padding: 16px 18px !important;
  }
}

/* ===============================================
   SITEWIDE SPACING CONSISTENCY FIX
   =============================================== */

/* Unified Section Padding - Desktop */
.section,
.section-alt,
.process-section {
  padding: 64px 0;
}

/* Unified Section Header Spacing */
.section-header {
  margin-bottom: 40px;
}

/* Unified Grid Gaps */
.services-grid,
.alliances-grid,
.insights-grid,
.insights-list,
.cases-grid,
.cases-list,
.featured-services,
.industry-preview-grid {
  gap: 24px;
}

/* Unified Card Internal Spacing */
.service-card,
.alliance-card,
.insight-card,
.insight-item,
.case-card,
.case-item,
.featured-card {
  padding: 28px;
}

/* Card Title Spacing */
.service-card h3,
.alliance-card h4,
.insight-card h3,
.case-card h3,
.featured-card h5 {
  margin-bottom: 12px;
}

/* Card Description Spacing */
.service-card p,
.alliance-card p,
.insight-card p,
.case-card p,
.featured-card p {
  margin-bottom: 16px;
}

/* CTA Section Spacing */
.cta-section {
  padding: 64px 0;
}

/* View All Links Spacing */
.section > .container > a[href*="View"],
.section > .container > .btn-outline,
a.read-more-link {
  margin-top: 32px;
}

/* Footer Spacing */
.footer {
  padding: 56px 0 32px;
}

/* Process Section Spacing */
.process-steps {
  margin-top: 32px;
}

/* About Content Spacing */
.about-content {
  gap: 48px;
}

/* Tablet Spacing Adjustments */
@media (max-width: 1024px) {
  .section,
  .section-alt,
  .process-section {
    padding: 56px 0;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .services-grid,
  .alliances-grid,
  .insights-grid,
  .cases-grid,
  .featured-services {
    gap: 20px;
  }
}

/* Mobile Spacing Adjustments */
@media (max-width: 768px) {
  .section,
  .section-alt,
  .process-section {
    padding: 48px 0 !important;
  }
  
  .section-header {
    margin-bottom: 28px !important;
  }
  
  .services-grid,
  .alliances-grid,
  .insights-grid,
  .insights-list,
  .cases-grid,
  .cases-list,
  .featured-services,
  .industry-preview-grid {
    gap: 16px !important;
  }
  
  .service-card,
  .alliance-card,
  .insight-card,
  .insight-item,
  .case-card,
  .case-item,
  .featured-card {
    padding: 20px !important;
  }
  
  .cta-section {
    padding: 48px 0 !important;
  }
  
  .footer {
    padding: 40px 0 24px !important;
  }
  
  .process-steps {
    margin-top: 24px !important;
  }
  
  .about-content {
    gap: 32px !important;
  }
}

/* ===== DISCLAIMER STYLES ===== */
.service-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius);
  border-left: 2px solid var(--blue-accent);
}

.illustrative-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* Dashboard Preview Section - SUPER PREMIUM Design */
.dashboard-preview-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #0f3460 70%, #0a2540 100%);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  position: relative;
}

/* Animated gradient overlay */
.dashboard-preview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(21, 151, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(21, 151, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating orbs */
.dashboard-preview-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 151, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-30px, 20px) scale(1.05); }
  50% { transform: translate(-10px, -20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

.dashboard-preview-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: center;
}

.dashboard-preview-content {
  color: white;
}

.dashboard-preview-content .preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(21, 151, 255, 0.2) 0%, rgba(21, 151, 255, 0.1) 100%);
  border: 1px solid rgba(21, 151, 255, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
  box-shadow: 
    0 4px 16px rgba(21, 151, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: badgePulse 3s ease-in-out infinite;
}

.dashboard-preview-content .preview-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(21, 151, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 6px 24px rgba(21, 151, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.dashboard-preview-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--space-md);
  color: white;
  line-height: 1.2;
}

.dashboard-preview-content h2 strong {
  color: var(--blue-bright);
}

.dashboard-preview-content .lead {
  font-size: var(--text-base);
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Benefits List */
.dashboard-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(21, 151, 255, 0.2) 0%, rgba(21, 151, 255, 0.1) 100%);
  border: 1px solid rgba(21, 151, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-bright);
  box-shadow: 
    0 4px 12px rgba(21, 151, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.05);
  box-shadow: 
    0 6px 16px rgba(21, 151, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: var(--text-base);
  color: white;
  margin-bottom: 2px;
}

.benefit-text span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-preview-content .btn {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  color: var(--navy);
  font-weight: 700;
  padding: 18px 36px;
  font-size: var(--text-base);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.dashboard-preview-content .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.dashboard-preview-content .btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #e8f4ff 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 6px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.dashboard-preview-content .btn:hover::before {
  left: 100%;
}

.cta-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-top: var(--space-md);
  font-weight: 500;
}

/* Dashboard Mockup - Premium Glass Effect */
.dashboard-mockup {
  perspective: 1200px;
  position: relative;
  z-index: 1;
}

/* Glow effect behind mockup */
.dashboard-mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(21, 151, 255, 0.2) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(40px);
  z-index: -1;
}

.mockup-window {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 30px 60px -30px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotateY(-8deg) rotateX(4deg) scale(1);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: mockupFloat 6s ease-in-out infinite;
}

@keyframes mockupFloat {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-8px); }
}

.mockup-window:hover {
  transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
  box-shadow: 
    0 60px 120px -20px rgba(0, 0, 0, 0.6),
    0 40px 80px -30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: none;
}

.mockup-header {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 100%);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
  display: flex;
  gap: 7px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.2);
}

.mockup-dots span:first-child { 
  background: linear-gradient(135deg, #ff5f57 0%, #e0443e 100%); 
}
.mockup-dots span:nth-child(2) { 
  background: linear-gradient(135deg, #febc2e 0%, #e5a61f 100%); 
}
.mockup-dots span:last-child { 
  background: linear-gradient(135deg, #28c840 0%, #1ea835 100%); 
}

.mockup-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex: 1;
  text-align: center;
  margin-right: 50px;
}

.mockup-body {
  padding: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  min-height: 320px;
}

.mockup-window-full {
  max-width: 540px;
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mockup-body-preview {
  padding: 14px;
  min-height: 440px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Exact Dashboard Preview Styles */
.preview-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0f3460 100%);
  border-radius: 10px;
  margin: -14px -14px 12px -14px;
  position: relative;
  overflow: hidden;
}

.pd-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: radial-gradient(circle at right, rgba(21, 151, 255, 0.15) 0%, transparent 70%);
}

.pd-title {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pd-status {
  font-size: 9px;
  color: #6EE7B7;
  background: rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Health Score Card */
.pd-health-card {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 14px;
  align-items: center;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.08),
    0 1px 3px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.04);
}

.pd-score-ring {
  position: relative;
  width: 50px;
  height: 50px;
}

.pd-score-ring svg {
  width: 100%;
  height: 100%;
}

.pd-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.pd-score-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pd-score-info strong {
  font-size: 10px;
  color: var(--navy);
}

.pd-score-status {
  font-size: 9px;
  color: #10b981;
  font-weight: 600;
}

.pd-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pd-bar-item {
  display: grid;
  grid-template-columns: 50px 1fr 20px;
  gap: 6px;
  align-items: center;
  font-size: 8px;
  color: var(--text-muted);
}

.pd-bar {
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.pd-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 2px;
}

.pd-bar.warning .pd-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Metrics Row */
.pd-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pd-metric {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 
    0 3px 12px rgba(0,0,0,0.06),
    0 1px 3px rgba(0,0,0,0.03),
    inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  transition: all 0.2s ease;
}

.pd-metric:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0,0,0,0.1),
    0 2px 6px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,1);
}

.pd-metric.highlight::before,
.pd-metric.success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 8px 8px 0 0;
}

.pd-metric.highlight::before {
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-bright));
}

.pd-metric.success::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.pd-metric-label {
  display: block;
  font-size: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.pd-metric-value {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-display);
}

.pd-metric-change {
  display: block;
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pd-metric-change.up {
  color: #10b981;
}

.pd-metric-change.warn {
  color: #d97706;
}

/* Chart Row */
.pd-chart-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
}

.pd-chart {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 
    0 3px 12px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.03);
}

.pd-chart-title {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.pd-chart-visual {
  height: 50px;
  position: relative;
  background: linear-gradient(to top, rgba(0,0,0,0.02) 0%, transparent 100%);
  border-radius: 4px;
}

.pd-line {
  position: absolute;
  bottom: 15px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #64748b 0%, #64748b 50%, transparent 50%);
  background-size: 8px 2px;
}

.pd-line.optimized {
  bottom: 30px;
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-bright));
  height: 3px;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(21, 151, 255, 0.4);
}

/* Bar Chart Styles */
.pd-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 60px;
  padding: 4px 0;
  gap: 4px;
}

.pd-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 3px;
}

.pd-bar-current,
.pd-bar-optimized {
  width: 8px;
  border-radius: 2px;
  min-height: 4px;
}

.pd-bar-current {
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
}

.pd-bar-optimized {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
}

.pd-bar-label {
  font-size: 7px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pd-chart-legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
}

.pd-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  color: var(--text-muted);
}

.pd-legend-item::before {
  content: '';
  width: 8px;
  height: 3px;
  border-radius: 1px;
}

.pd-legend-item.current::before {
  background: #64748b;
}

.pd-legend-item.optimized::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.pd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-benchmark,
.pd-recs {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,1);
  border: 1px solid rgba(0,0,0,0.03);
}

.pd-bm-title,
.pd-recs-title {
  display: block;
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.pd-bm-compare {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
}

.pd-bm-warn {
  color: #d97706;
  font-weight: 600;
}

.pd-rec-item {
  font-size: 9px;
  color: var(--navy);
  padding: 4px 6px;
  background: rgba(0,0,0,0.03);
  border-radius: 4px;
  margin-top: 4px;
}

.pd-rec-item.featured {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border-left: 2px solid #10b981;
}

/* Simulator Preview */
.pd-simulator {
  background: linear-gradient(135deg, rgba(21, 151, 255, 0.08) 0%, rgba(21, 151, 255, 0.02) 100%);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 
    0 2px 8px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(21, 151, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-sim-title {
  font-size: 9px;
  font-weight: 600;
  color: var(--navy);
}

.pd-sim-controls {
  display: flex;
  gap: 4px;
}

.pd-toggle {
  font-size: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-muted);
}

.pd-toggle.active {
  background: var(--blue-accent);
  color: white;
  border-color: var(--blue-accent);
}

.pd-sim-result {
  margin-left: auto;
  font-size: 9px;
  color: var(--text-muted);
}

.pd-sim-result strong {
  color: #10b981;
  font-size: 11px;
}

.preview-label {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 9px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Mockup Health Score Row */
.mockup-health-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mockup-health-score {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.mockup-health-score svg {
  width: 100%;
  height: 100%;
}

.mini-score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.mockup-health-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.health-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--navy);
}

.health-status {
  font-size: 9px;
  font-weight: 600;
  color: #10b981;
}

.health-desc {
  font-size: 8px;
  color: #64748b;
}

/* Benchmark Mini */
.benchmark-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bm-label {
  font-size: 9px;
  color: #64748b;
}

.bm-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.bm-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 3px;
}

.bm-status {
  font-size: 8px;
  font-weight: 600;
  color: #d97706;
}

/* Priority rec item */
.rec-item.priority {
  background: linear-gradient(135deg, rgba(21, 151, 255, 0.15) 0%, rgba(21, 151, 255, 0.08) 100%);
  border: 1px solid rgba(21, 151, 255, 0.2);
}

.rec-item.priority::before {
  background: linear-gradient(135deg, #10b981, #34d399);
}

/* Additional bar height */
.bar.h48 { height: 38px; }
.bar.h78 { height: 62px; }
.bar.h88 { height: 70px; }
.bar.h92 { height: 74px; }

/* KPI Cards - Premium Style */
.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.mockup-kpi {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mockup-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(21, 151, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mockup-kpi.highlight::before {
  background: linear-gradient(90deg, var(--blue-accent), var(--blue-bright));
  opacity: 1;
}

.mockup-kpi.success::before {
  background: linear-gradient(90deg, #10b981, #34d399);
  opacity: 1;
}

.kpi-label {
  display: block;
  font-size: 9px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 600;
}

.kpi-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.kpi-change {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
}

.kpi-change.positive {
  color: #10b981;
}

/* Chart Area - Premium */
.mockup-chart-area {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 14px;
}

.mockup-chart {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.chart-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 80px;
  padding: 0 8px;
}

.bar-group {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.bar {
  width: 18px;
  border-radius: 4px 4px 0 0;
  transition: all 0.5s ease;
  flex-shrink: 0;
  position: relative;
}

.bar.current {
  background: linear-gradient(to top, #cbd5e1, #94a3b8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bar.projected {
  background: linear-gradient(to top, #0d4f8c, #1597ff, #4eb8ff);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 12px rgba(21, 151, 255, 0.3);
}

/* Bar height classes */
.bar.h40 { height: 32px; }
.bar.h45 { height: 36px; }
.bar.h50 { height: 40px; }
.bar.h55 { height: 44px; }
.bar.h60 { height: 48px; }
.bar.h75 { height: 60px; }
.bar.h80 { height: 64px; }
.bar.h85 { height: 68px; }
.bar.h90 { height: 72px; }
.bar.h95 { height: 76px; }

.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: center;
}

.chart-legend span {
  font-size: 9px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chart-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.chart-legend .dot.current {
  background: #94a3b8;
}

.chart-legend .dot.projected {
  background: var(--blue-accent);
}

/* Sidebar - Premium */
.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.risk-indicator {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 0.02em;
}

.risk-indicator.moderate {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.rec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rec-item {
  font-size: 10px;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 10px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.rec-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-bright));
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(21, 151, 255, 0.4);
}

.mockup-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 9px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dashboard-preview-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .mockup-window {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .mockup-window:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .mockup-kpi-row {
    grid-template-columns: 1fr;
  }
  
  .mockup-chart-area {
    grid-template-columns: 1fr;
  }
  
  .dashboard-benefits {
    gap: var(--space-sm);
  }
}

.dashboard-disclaimer {
  background: var(--bg-section-alt);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.dashboard-disclaimer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ====== DASHBOARD SLIDESHOW PREVIEW ====== */
.dashboard-slideshow {
  perspective: 1200px;
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

/* Floating background cards */
.dashboard-slideshow::before,
.dashboard-slideshow::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.dashboard-slideshow::before {
  width: 480px;
  height: 340px;
  top: 60px;
  right: -30px;
  transform: rotateY(-12deg) rotateX(6deg);
  z-index: -1;
}

.dashboard-slideshow::after {
  width: 460px;
  height: 320px;
  top: 80px;
  right: -50px;
  transform: rotateY(-15deg) rotateX(8deg);
  z-index: -2;
  opacity: 0.5;
}

.slideshow-window {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.slideshow-window:hover {
  transform: rotateY(-2deg) rotateX(1deg) scale(1.01);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.slideshow-header {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 100%);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slideshow-dots {
  display: flex;
  gap: 7px;
}

.slideshow-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.slideshow-dots span:first-child { background: #ff5f57; }
.slideshow-dots span:nth-child(2) { background: #febc2e; }
.slideshow-dots span:last-child { background: #28c840; }

.slideshow-title {
  color: white;
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  text-align: center;
  margin-right: 50px;
}

.slideshow-body {
  background: #f8fafc;
  padding: 24px;
  min-height: 360px;
  position: relative;
}

.slides-container {
  position: relative;
  min-height: 280px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-content {
  height: 100%;
}

/* Slide 1: Health Score */
.slide-health {
  display: flex;
  gap: 24px;
  align-items: center;
}

.slide-score {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.slide-score svg {
  width: 100%;
  height: 100%;
}

.slide-score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.slide-score-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.slide-score-label {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.slide-health-details h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 16px;
}

.health-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hbar {
  display: grid;
  grid-template-columns: 80px 1fr 30px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.hbar-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.hbar-track > div {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 3px;
}

.hbar-track.warn > div {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.hbar span:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy);
}

/* Slide 2: Metrics */
.slide-metrics h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 20px;
}

.metrics-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mp-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
}

.mp-card.highlight {
  border-left: 3px solid var(--blue-accent);
}

.mp-card.success {
  border-left: 3px solid #10b981;
}

.mp-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mp-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.mp-change {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.mp-change.up { color: #10b981; }
.mp-change.warn { color: #f59e0b; }

/* Slide 3: Chart */
.slide-chart h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 16px;
}

.chart-preview {
  background: white;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.chart-preview svg {
  width: 100%;
  height: 120px;
}

.chart-legend-preview {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.chart-legend-preview span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.chart-legend-preview i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Slide 4: Simulator */
.slide-simulator h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.sim-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sim-preview-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.sim-row-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.sim-btns-preview {
  display: flex;
  gap: 6px;
}

.sim-btns-preview span {
  padding: 6px 12px;
  font-size: 11px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.sim-btns-preview span.active {
  background: var(--blue-accent);
  color: white;
  border-color: var(--blue-accent);
}

.sim-result-preview {
  background: linear-gradient(135deg, #0a1628 0%, #0d2847 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.sim-result-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.sim-result-value {
  font-size: 28px;
  font-weight: 700;
  color: #34d399;
}

/* Slide Navigation */
.slide-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.slide-dot:hover {
  background: #cbd5e1;
}

.slide-dot.active {
  background: var(--blue-accent);
  transform: scale(1.2);
}

.slide-label {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 1024px) {
  .dashboard-slideshow {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .slideshow-window {
    transform: none;
  }
  
  .slideshow-window:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .slide-health {
    flex-direction: column;
    text-align: center;
  }
  
  .metrics-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================================
   DASHBOARD MOCKUP - Clean Static Preview
   =============================================== */
.dashboard-mockup {
  perspective: 1000px;
}

.dashboard-mockup .dash-mockup {
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.dashboard-mockup:hover .dash-mockup {
  transform: rotateY(-2deg) rotateX(1deg);
}

.dash-mockup {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.1);
}

.dash-mockup-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dmh-dots {
  display: flex;
  gap: 6px;
}

.dmh-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dmh-dots span:nth-child(1) { background: #ff5f57; }
.dmh-dots span:nth-child(2) { background: #febc2e; }
.dmh-dots span:nth-child(3) { background: #28c840; }

.dmh-title {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 500;
}

.dash-mockup-body {
  background: #f8fafc;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dmb-row {
  display: flex;
  gap: 12px;
}

.dmb-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Score Card */
.dmb-score-card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dsc-ring {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.dsc-ring svg {
  width: 100%;
  height: 100%;
}

.dsc-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.1;
}

.dsc-num span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: #10b981;
}

.dsc-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.dsc-bar {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #64748b;
}

.dsc-track {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.dsc-track div {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  border-radius: 3px;
}

.dsc-track.warn div {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Metrics Grid */
.dmb-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dmm-card {
  background: white;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-left: 3px solid transparent;
}

.dmm-card.warn { border-left-color: #f59e0b; }
.dmm-card.good { border-left-color: #10b981; }

.dmm-label {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.dmm-val {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.dmm-delta {
  display: inline-block;
  font-size: 9px;
  color: #94a3b8;
  margin-top: 2px;
}

.dmm-delta.up { color: #10b981; }
.dmm-delta.warn { color: #f59e0b; }

/* Bottom Row */
.dmb-row-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}

/* Chart */
.dmb-chart {
  background: white;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dmc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.dmc-header span {
  font-size: 9px;
  color: #94a3b8;
  font-weight: 400;
}

.dmc-svg {
  width: 100%;
  height: 60px;
  display: block;
}

.dmc-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 9px;
}

.dmc-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.leg-rev::before,
.leg-debt::before {
  content: '';
  width: 10px;
  height: 3px;
  border-radius: 2px;
}

.leg-rev::before { background: #3b82f6; }
.leg-debt::before { background: #ef4444; }

/* Simulator */
.dmb-sim {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 10px;
  padding: 14px;
  color: white;
}

.dms-header {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 10px;
  color: rgba(255,255,255,0.7);
}

.dms-pills {
  display: flex;
  gap: 4px;
}

.dms-pills span {
  padding: 4px 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 9px;
  cursor: pointer;
}

.dms-pills span.active {
  background: #3b82f6;
  color: white;
}

.dms-result {
  background: rgba(16, 185, 129, 0.15);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  margin-top: 10px;
}

.dms-result span {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,0.6);
}

.dms-result strong {
  font-size: 18px;
  color: #34d399;
}

/* Toggle style for simulator */
.dms-toggle {
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

.dms-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.dms-toggle.active {
  background: #10b981;
}

.dms-toggle.active::after {
  transform: translateX(16px);
}

/* Approved Offers Preview in Mockup */
.dmb-approved {
  background: white;
  border-radius: 10px;
  padding: 14px;
}

.dma-header {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}

.dma-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dma-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-section-alt);
  border-radius: 6px;
}

.dma-type {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-heading);
  flex: 1;
}

.dma-amt {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-accent);
}

.dma-badge {
  font-size: 8px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.dma-badge.approved {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.dma-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
}

.dash-mockup-footer {
  background: #f1f5f9;
  padding: 8px;
  text-align: center;
  font-size: 10px;
  color: #94a3b8;
}

/* CTA */
.dash-cta {
  text-align: center;
}

.dash-cta p {
  margin-top: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* Section Eyebrow */
.section-eyebrow {
  display: inline-block;
  background: rgba(21, 151, 255, 0.2);
  border: 1px solid rgba(21, 151, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1597FF;
  margin-bottom: 16px;
}

.dashboard-preview-section .section-header {
  color: white;
  margin-bottom: 34px;
}

.dashboard-preview-section .section-header h2 {
  color: white;
}

.dashboard-preview-section .section-header h2 strong {
  color: #1597FF;
}

.dashboard-preview-section .section-header p {
  color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .dmb-row-top,
  .dmb-row-bottom {
    grid-template-columns: 1fr;
  }
  
  .dmb-score-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .dsc-bars {
    width: 100%;
  }
}

/* ===============================================
   PREMIUM POLISH - FINAL ENHANCEMENTS
   Bank-Grade Visual Refinements
   =============================================== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 2px;
}

/* Improved selection colors */
::selection {
  background: rgba(44, 116, 179, 0.2);
  color: var(--navy);
}

/* Premium card hover effects */
.service-card,
.case-card,
.insight-card,
.alliance-card,
.featured-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover,
.case-card:hover,
.insight-card:hover,
.alliance-card:hover,
.featured-card:hover {
  transform: translateY(-4px);
}

/* Subtle divider lines between sections */
.section + .section-alt,
.section-alt + .section {
  position: relative;
}

.section + .section-alt::before,
.section-alt + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 30%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Enhanced button styles */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(166, 124, 82, 0.25);
}

/* Form improvements */
.apply-form input,
.apply-form select,
.apply-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
}

/* Wizard step improvements */
.wizard-step h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.step-description {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
}

/* Review summary polish */
.review-summary {
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, #fff 100%);
  border: 1px solid var(--border);
}

.review-summary .review-item {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}

.review-summary .review-item:last-child {
  border-bottom: none;
}

.review-summary .review-item strong {
  color: var(--text-muted);
  font-weight: 500;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.review-summary .review-item span {
  color: var(--text-heading);
  font-weight: 500;
  text-align: right;
}

/* Legal consent section refinements */
.legal-consent-section {
  background: linear-gradient(180deg, var(--bg-section-alt) 0%, #fff 100%);
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid var(--border);
}

.legal-consent-header {
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-md);
}

/* Preview cards enhancement */
.preview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.preview-card {
  background: linear-gradient(135deg, #fff 0%, var(--bg-section-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.preview-card-highlight {
  background: linear-gradient(135deg, var(--blue-light) 0%, #fff 100%);
  border-color: var(--blue-accent);
}

/* Footer enhancements */
.bank-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Footer disclaimer section */
.footer-disclaimer-section {
  background: rgba(0, 0, 0, 0.15);
  padding: 14px 0;
  margin-top: 0;
}

.footer-disclaimer-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

/* Footer bottom */
.footer-bottom {
  padding: 14px 0;
  border-top: none;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.1);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

@media (max-width: 600px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Section header polish */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Section divider polish */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: var(--space-md) auto;
  border-radius: 2px;
}

/* Hero polish */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.8));
  pointer-events: none;
}

/* CTA section polish */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue-accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* Loading states */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Subtle animations for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Apply page specific */
.apply-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.apply-intro {
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.apply-intro h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.apply-intro p {
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.apply-intro p:last-child {
  margin-bottom: 0;
}

.apply-note {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.apply-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-light);
  padding: var(--space-sm);
  background: rgba(245, 158, 11, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Wizard navigation polish */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.wizard-nav .btn {
  min-width: 140px;
}

/* Mobile wizard nav */
@media (max-width: 480px) {
  .wizard-nav {
    flex-direction: column;
  }
  
  .wizard-nav .btn {
    width: 100%;
  }
}

/* Success page polish */
.apply-success {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.success-icon {
  margin-bottom: var(--space-lg);
}

.success-icon svg {
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.apply-success h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.success-subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.reference-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-accent);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

/* Analytics grid in success page */
.success-analytics {
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  text-align: left;
}

.success-analytics h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.analytics-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.analytics-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.analytics-value {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.analytics-card.highlight {
  background: linear-gradient(135deg, var(--blue-light) 0%, #fff 100%);
  border-color: var(--blue-accent);
}

.analytics-card.highlight .analytics-value {
  color: var(--blue-accent);
}

/* Next steps timeline */
.next-steps {
  margin-top: var(--space-xl);
  text-align: left;
}

.next-steps h3 {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.steps-timeline {
  max-width: 500px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--blue-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.step-content p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Print styles */
@media print {
  .navbar,
  .bank-footer,
  .cta-section,
  .wizard-nav {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ===============================================
   FOOTER FINAL COMPACT OVERRIDE
   Ensures footer is tight and professional
   =============================================== */
.bank-footer {
  background: linear-gradient(180deg, #0A2647 0%, #061830 100%) !important;
  padding: 0 !important;
}

.bank-footer .footer-main {
  padding: 36px 0 28px !important;
}

.bank-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.3fr repeat(3, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
}

.bank-footer .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  max-width: 260px !important;
}

.bank-footer .footer-brand .footer-logo {
  height: auto !important;
  max-height: 50px !important;
  width: auto !important;
  max-width: 200px !important;
  padding: 12px 16px !important;
  background: white !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.bank-footer .footer-brand-text {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.5 !important;
  margin: 0 0 10px 0 !important;
}

.bank-footer .footer-contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  margin: 0 !important;
}

.bank-footer .footer-contact-info a,
.bank-footer .footer-contact-info span {
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
}

.bank-footer .footer-social {
  display: flex !important;
  gap: 8px !important;
  margin-top: 12px !important;
}

.bank-footer .footer-social .social-link {
  width: 32px !important;
  height: 32px !important;
  background: rgba(255,255,255,0.08) !important;
  border-radius: 6px !important;
}

.bank-footer .footer-social .social-link svg {
  width: 16px !important;
  height: 16px !important;
}

.bank-footer .footer-column h4 {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin: 0 0 10px 0 !important;
}

.bank-footer .footer-column ul {
  gap: 5px !important;
}

.bank-footer .footer-column ul li a {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
}

.bank-footer .footer-disclaimer-section {
  background: rgba(0,0,0,0.15) !important;
  padding: 12px 0 !important;
  margin: 0 !important;
}

.bank-footer .footer-disclaimer-text {
  font-size: 10px !important;
  color: rgba(255,255,255,0.35) !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

.bank-footer .footer-bottom {
  background: rgba(0,0,0,0.1) !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  border-top: none !important;
}

.bank-footer .footer-bottom-inner {
  gap: 12px !important;
}

.bank-footer .footer-legal-links {
  gap: 14px !important;
}

.bank-footer .footer-legal-links a {
  font-size: 11px !important;
  color: rgba(255,255,255,0.4) !important;
}

.bank-footer .footer-copyright {
  font-size: 11px !important;
  color: rgba(255,255,255,0.3) !important;
}

/* Footer mobile compact */
@media (max-width: 900px) {
  .bank-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  
  .bank-footer .footer-brand {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    text-align: center !important;
    align-items: center !important;
  }
  
  .bank-footer .footer-contact-info {
    align-items: center !important;
  }
  
  .bank-footer .footer-social {
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .bank-footer .footer-main {
    padding: 28px 0 20px !important;
  }
  
  .bank-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .bank-footer .footer-column {
    text-align: center !important;
  }
  
  .bank-footer .footer-bottom-inner {
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .bank-footer .footer-legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* ===============================================
   FINAL MOBILE POLISH - ALL SCREENS
   =============================================== */

/* Header Auth Buttons - Small Screens */
@media (max-width: 480px) {
  .header-top-bar .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
  }
  
  .header-phone {
    order: 1;
    font-size: 11px !important;
  }
  
  .header-social {
    order: 3;
    display: none; /* Hide on very small screens */
  }
  
  .header-auth {
    order: 2;
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;
  }
  
  .header-login,
  .header-signup {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }
  
  .header-login svg {
    display: none !important;
  }
}

/* Navbar Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }
  
  .navbar-logo .logo-image {
    height: 36px !important;
    max-width: 160px !important;
  }
  
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }
  
  /* Mobile menu when open */
  .navbar-nav.active {
    padding: 20px !important;
    gap: 0 !important;
  }
  
  .navbar-nav.active li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .navbar-nav.active .navbar-link {
    padding: 14px 0 !important;
    font-size: 1rem !important;
  }
  
  .navbar-nav.active .cta-btn {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    padding: 14px 20px !important;
  }
}

/* Form Elements - Mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="date"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents iOS zoom */
    padding: 14px 16px !important;
    height: auto !important;
    min-height: 50px;
  }
  
  select {
    background-position: right 12px center !important;
  }
  
  label {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group.full-width {
    margin-bottom: 16px;
  }
}

/* Apply Page - Mobile */
@media (max-width: 768px) {
  .page-apply .apply-form-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .page-apply .apply-intro {
    position: static !important;
    order: 2 !important;
  }
  
  .page-apply .apply-form {
    order: 1 !important;
    padding: 20px !important;
  }
  
  .wizard-step h3 {
    font-size: 1.25rem !important;
  }
  
  .wizard-step .step-description {
    font-size: 0.9rem !important;
  }
  
  .step-progress {
    gap: 6px !important;
  }
  
  .step-dot {
    width: 8px !important;
    height: 8px !important;
  }
  
  .account-creation-box {
    padding: 16px !important;
  }
  
  .account-creation-box h4 {
    font-size: 1rem !important;
  }
  
  .section-header {
    margin: 20px 0 16px !important;
  }
  
  .section-header h4 {
    font-size: 0.95rem !important;
  }
  
  .owner-section {
    padding: 16px !important;
  }
  
  .file-upload-display {
    padding: 24px 16px !important;
  }
  
  .file-upload-text {
    font-size: 13px !important;
  }
  
  .wizard-nav {
    flex-direction: column !important;
    gap: 12px !important;
  }
  
  .wizard-nav .btn {
    width: 100% !important;
    min-width: auto !important;
  }
  
  .wizard-nav .wizard-back,
  .wizard-nav .wizard-next,
  .wizard-nav .wizard-finish {
    margin: 0 !important;
  }
  
  /* Terms section mobile */
  .terms-agreement-section {
    padding: 16px !important;
  }
  
  .terms-checkbox {
    padding: 12px !important;
    gap: 10px !important;
  }
  
  .terms-checkbox span {
    font-size: 13px !important;
  }
  
  .esign-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .terms-links {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }
  
  /* Preview cards mobile */
  .preview-cards {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  .preview-card {
    padding: 16px !important;
    min-height: auto !important;
  }
  
  .preview-card-icon {
    font-size: 24px !important;
  }
  
  .preview-card-value {
    font-size: 1.25rem !important;
  }
  
  .recommendation-box {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }
}

/* Contact Page - Mobile */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .contact-card {
    order: 2 !important;
  }
  
  .contact-form-card {
    order: 1 !important;
    padding: 20px !important;
  }
  
  .contact-methods {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  
  .contact-method {
    flex-direction: column !important;
    text-align: center !important;
    padding: 16px !important;
  }
}

/* Services Page - Mobile */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  
  .service-card {
    padding: 20px !important;
  }
  
  .service-card h3 {
    font-size: 1.1rem !important;
  }
  
  .featured-services {
    grid-template-columns: 1fr !important;
  }
  
  .featured-card {
    padding: 20px !important;
  }
}

/* Dashboard - Mobile */
@media (max-width: 768px) {
  .dash-hero {
    padding: 24px 0 !important;
  }
  
  .dash-hero h1 {
    font-size: 1.5rem !important;
  }
  
  .dash-grid-main {
    grid-template-columns: 1fr !important;
  }
  
  .kpi-card {
    padding: 16px !important;
  }
  
  .kpi-value {
    font-size: 1.5rem !important;
  }
}

/* Login/Register Pages - Mobile */
@media (max-width: 768px) {
  .auth-container {
    padding: 24px 20px !important;
    margin: 20px !important;
    max-width: 100% !important;
  }
  
  .auth-form h2 {
    font-size: 1.5rem !important;
  }
}

/* Cards and Grids - Prevent Overflow */
@media (max-width: 768px) {
  .card,
  .service-card,
  .insight-card,
  .case-card,
  .alliance-card,
  .featured-card,
  .kpi-card,
  .process-step {
    overflow: hidden !important;
    word-wrap: break-word !important;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden !important;
  }
  
  .page-shell,
  main,
  section,
  .container {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Images responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Tables responsive */
  table {
    display: block !important;
    overflow-x: auto !important;
  }
}

/* Button Touch Targets */
@media (max-width: 768px) {
  .btn,
  button,
  .cta-btn,
  .navbar-link,
  a.btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .btn {
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
  
  .btn-primary {
    padding: 14px 24px !important;
  }
}
