/* ==========================================================================
   KFCA Modern Design System & Style Framework
   Theme: Executive Financial Advisory — Safe, Prestigious & Responsive
   Colors: Charcoal Black (#0f172a), Crisp White (#ffffff), Slate Silver (#e2e8f0),
           Signature Muted Red Accent (#dc2626 / #f1090a)
   ========================================================================== */

:root {
  /* Primary Executive Colors */
  --primary-950: #090d16;
  --primary-900: #0f172a; /* Executive Dark Charcoal */
  --primary-800: #1e293b;
  --primary-700: #334155;
  --primary-600: #475569;

  /* Red Accent - Logo Signature 'M' Red (Balanced & Reassuring) */
  --red-accent: #dc2626;
  --red-hover: #b91c1c;
  --red-light: rgba(220, 38, 38, 0.06);
  --red-border: rgba(220, 38, 38, 0.2);

  /* Silver & Neutral Grays */
  --silver-50:  #f8fafc;
  --silver-100: #f1f5f9;
  --silver-200: #e2e8f0;
  --silver-300: #cbd5e1;
  --silver-400: #94a3b8;
  --silver-500: #64748b;
  --silver-600: #475569;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #dc2626;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Modern Responsive Fluid Spacing & Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(226, 232, 240, 0.8);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--red-accent);
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Responsive Container across ultra-wide & mobile */
.kfca-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

/* Top Contact Bar */
.top-bar {
  background-color: var(--primary-900);
  color: var(--silver-300);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden; /* prevents any bleed on narrow viewports */
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-contact-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap; /* stay on one row — we control visibility instead */
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--silver-300);
  white-space: nowrap;
}

.top-contact-item i {
  position: relative;
  top: 1px;
}

.top-contact-item a {
  color: #ffffff;
  font-weight: 500;
}

.top-contact-item a:hover {
  color: var(--silver-200);
  text-decoration: underline;
}

.top-badge {
  background: var(--red-light);
  color: var(--red-accent);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  border: 1px solid var(--red-border);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sticky Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: clamp(56px, 6vw, 76px);
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--primary-800);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--red-accent);
  background: var(--silver-100);
}

.nav-cta-btn {
  margin-left: 0.5rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  color: var(--primary-900);
  cursor: pointer;
  padding: 0.4rem 0.75rem;
}

/* Button System - Professional & Safe */
.kfca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.kfca-btn-primary {
  background: var(--primary-900);
  color: #ffffff;
  border-color: var(--primary-900);
}

.kfca-btn-primary:hover {
  background: var(--red-accent);
  color: #ffffff;
  border-color: var(--red-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.25);
}

.kfca-btn-accent {
  background: var(--red-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.kfca-btn-accent:hover {
  background: var(--red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.kfca-btn-secondary {
  background: var(--bg-surface);
  color: var(--primary-900);
  border-color: var(--border-light);
}

.kfca-btn-secondary:hover {
  background: var(--silver-100);
  color: var(--primary-900);
  border-color: var(--silver-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kfca-btn-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.kfca-btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.kfca-btn-outline {
  background: transparent;
  border-color: var(--silver-300);
  color: var(--primary-800);
}

.kfca-btn-outline:hover {
  background: var(--primary-900);
  border-color: var(--primary-900);
  color: #ffffff;
  transform: translateY(-2px);
}

.kfca-btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* Modern Responsive Hero Section with Logo Watermark Overlay */
.hero-slider-section {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  overflow: hidden;
  min-height: clamp(500px, 70vh, 680px);
  display: flex;
  align-items: center;
}

.hero-slider-section::before {
  content: '';
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  background: url('../img/kfca-no-background-logo-plain-svg.svg') no-repeat center center / contain;
  opacity: 0.04;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: scale(1.02);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 13, 22, 0.95) 0%, rgba(30, 41, 59, 0.8) 60%, rgba(220, 38, 38, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--text-white);
  padding: clamp(3rem, 8vw, 6rem) 0;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--silver-200);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title span.colored {
  color: var(--silver-100);
  border-bottom: 3px solid var(--red-accent);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--silver-300);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 36px;
  border-radius: 6px;
  background: var(--red-accent);
}

/* Feature Pillars Section */
.pillars-section {
  padding: clamp(4rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem) 0;
  margin-top: -2rem;
  position: relative;
  z-index: 25;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 380px), 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  align-items: stretch;
}

.pillar-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--silver-300);
}

.pillar-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--silver-100);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--red-accent);
  color: #ffffff;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Section Headings */
.section-header {
  width: 100%;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem) auto;
  text-align: center;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0;
  color: var(--red-accent);
  font-size: clamp(0.85rem, 1vw, 0.975rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-subtitle::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--red-accent);
}

.section-title {
  margin: 0;
  color: var(--primary-900);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-title span.colored {
  color: var(--primary-900);
  border-bottom: 3px solid var(--red-accent);
}

.section-description {
  margin: 0.85rem auto 0;
  max-width: 700px;
  font-size: clamp(0.975rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-muted);
}

/* Executive portrait backdrop */
.exec-spotlight-backdrop {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.56) 13%, rgba(255, 255, 255, 0) 41%),
    radial-gradient(circle at 78% 16%, rgba(220, 38, 38, 0.18) 0%, rgba(220, 38, 38, 0) 46%),
    radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 42%),
    linear-gradient(135deg, rgba(9, 18, 34, 0.98) 0%, rgba(30, 41, 59, 0.9) 44%, rgba(148, 163, 184, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 65px -28px rgba(15, 23, 42, 0.72);
  color: var(--primary-900);
}

.exec-spotlight-backdrop::before {
  content: '';
  position: absolute;
  inset: 1rem 1.15rem auto auto;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.exec-spotlight-backdrop::after {
  content: '';
  position: absolute;
  inset: auto auto 1rem 1rem;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.12);
  filter: blur(16px);
}

.exec-spotlight-wrapper::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: auto 12% 1.2rem 12%;
  height: 1.3rem;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0) 72%);
  filter: blur(10px);
}

.services-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(3.5rem, 7vw, 5.5rem) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 28vw, 380px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-900);
  opacity: 0.8;
  transition: var(--transition);
}

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

.service-card:hover::before {
  background: var(--red-accent);
  opacity: 1;
}

.service-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--silver-100);
  color: var(--primary-800);
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-900);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

.service-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  margin-bottom: 1.75rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.925rem;
  color: var(--primary-800);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red-accent);
  font-weight: 800;
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: var(--text-white);
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.25rem;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--silver-300);
  font-weight: 600;
}

/* About / Story Section */
.about-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(4rem, 7vw, 6rem) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 45vw, 600px), 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* About Page Tasteful Vignette Fade-to-White Image Effect */
.about-image-fade-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-main);
}

.about-image-fade {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition);
}

/* Wide banner-style feathered images (e.g. home page) — matches the image's own native shape so cover/crop doesn't chop off the baked-in feathered edges */
.about-image-fade--wide {
  aspect-ratio: 800 / 286;
}

.about-image-fade-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(248, 250, 252, 0) 58%, rgba(248, 250, 252, 0.04) 74%, rgba(248, 250, 252, 0.16) 88%, rgba(248, 250, 252, 0.36) 100%),
    linear-gradient(to right, rgba(248, 250, 252, 0.18) 0%, transparent 12%, transparent 88%, rgba(248, 250, 252, 0.18) 100%),
    linear-gradient(to bottom, rgba(248, 250, 252, 0.12) 0%, transparent 18%, transparent 82%, rgba(248, 250, 252, 0.12) 100%);
}

.about-badge-card {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-badge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-badge-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--silver-100);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-badge-title {
  font-weight: 800;
  color: var(--primary-900);
}

.about-badge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .about-badge-card {
    gap: 0.05rem;
  }
}

.about-badge-list li {
  padding-left: calc(46px + 1rem + 0.9em);
  text-indent: -0.9em;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-accent);
  vertical-align: middle;
  margin-right: 0.4em;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-grid .about-content h2 {
  margin-top: 0;
}

.about-grid .about-content h2 + p {
  margin-top: 0;
  font-size: 1.08rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.025rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-900);
}

/* Interactive Tabs Component */
.tabs-wrapper {
  margin-top: 0;
}

.tab-buttons {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -2px;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary-900);
  border-bottom-color: var(--red-accent);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
  display: block;
}

/* Executive Director Profile */
.management-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--bg-main);
}

.director-card {
  background: linear-gradient(90deg, rgba(239, 248, 255, 0.96) 0%, rgba(245, 250, 255, 0.98) 34%, rgba(250, 252, 255, 1) 50%, var(--bg-surface) 72%, var(--bg-surface) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: none;
  background-clip: padding-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(340px, 420px) 1fr;
  /* Align columns at the top so the portrait and metric cards share the same top baseline */
  align-items: start;
  gap: 0;
}

@media (max-width: 900px) {
  .director-card {
    grid-template-columns: 1fr;
  }
}

.director-img-box {
  position: sticky;
  top: 60px;
  padding: clamp(1rem, 2vw, 1.6rem);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-right: none;
  overflow: hidden;
}

@media (max-width: 900px) {
  .director-img-box {
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

/* Creative Executive Portrait Integration */
.exec-spotlight-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0.45rem 1rem;
  isolation: isolate;
}

.exec-spotlight-wrapper::before {
  content: '';
  position: absolute;
  inset: 8% 7% 12% 7%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0) 34%),
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 36%),
    radial-gradient(circle at 50% 82%, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0) 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.65) 0%, rgba(248, 250, 252, 0.35) 46%, rgba(255, 255, 255, 0.08) 100%);
  filter: blur(18px);
  opacity: 0.95;
  z-index: 0;
  pointer-events: none;
}

.exec-spotlight-wrapper::after {
  content: '';
  position: absolute;
  inset: 15% 14% 18% 14%;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  transform: rotate(-2deg);
  z-index: 1;
  pointer-events: none;
}

.exec-portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: translateY(0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  /* reserve space at bottom for caption and avoid overlap */
  padding-bottom: 4.5rem;
  background: transparent;
  transform: none;
}

.exec-portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: none;
  transform-origin: center center;
  transition: none;
  /* clean editorial tone */
  filter: saturate(0.96) contrast(1) brightness(1);
}

.exec-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* keep only a faint edge lift */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 24%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.exec-portrait-frame::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 12%;
  z-index: 1;
  /* subtle grounding without a dark block */
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.08) 100%);
  pointer-events: none;
}

.exec-portrait-caption {
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.95rem;
  z-index: 2;
  padding: 0.7rem 0.9rem 0.68rem;
  display: grid;
  gap: 0.08rem;
  border-radius: 0.9rem;
  color: var(--primary-900);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.62) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.exec-portrait-caption-kicker {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(30, 41, 59, 0.58);
}

.exec-portrait-caption-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.exec-portrait-caption-role {
  font-size: 0.75rem;
  color: rgba(30, 41, 59, 0.72);
  font-weight: 600;
}

@media (max-width: 900px) {
  .exec-portrait-caption {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

.director-info {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.director-name {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.director-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red-accent);
  margin-bottom: 1.5rem;
}

.director-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.director-tag {
  background: var(--silver-100);
  color: var(--primary-800);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
}

.director-bio p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Reworked Executive Management Styles */
.exec-metrics-grid {
  display: grid;
  /* Force two columns so the four metric cards form two aligned rows */
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  /* remove top spacing so first metric row aligns with the top of the left column */
  margin: 0 0 0 0;
  align-items: start;
}

@media (max-width: 900px) {
  .exec-metrics-grid {
    grid-template-columns: 1fr;
    margin: 1.25rem 0 0 0;
  }
}

.exec-metric-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.exec-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--red-accent);
}

.exec-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.exec-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.exec-metric-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

.exec-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 45vw, 540px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.exec-feature-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exec-feature-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.exec-feature-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: var(--radius-md);
  background: var(--primary-900) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
}

.exec-feature-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--primary-900) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  flex: 1 1 auto !important;
}

.committee-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.committee-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--silver-100);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--primary-900);
  font-size: 0.95rem;
}

.committee-item i {
  color: var(--red-accent);
  font-size: 1.1rem;
}

.audit-success-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.06), rgba(15, 23, 42, 0.04));
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  margin-top: 1rem;
  overflow: hidden;
}

.audit-success-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--red-accent);
}

.audit-success-banner h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-success-banner h4 i {
  color: var(--red-accent);
}

/* Contact Page Section */
.contact-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 32vw, 420px), 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--silver-100);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.25rem;
}

.info-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
}

.contact-form-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-family);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-900);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.alert-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: none;
}

.alert-success {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--text-white);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--silver-300);
  margin-top: 0.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Footer Section */
.main-footer {
  background: var(--primary-950);
  color: var(--silver-300);
  padding: clamp(4rem, 6vw, 5.5rem) 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--silver-400);
  line-height: 1.65;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--silver-300);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--silver-100);
  padding-left: 0.25rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.sub-footer {
  background: #04060a;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.sub-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--silver-500);
}

.sub-footer a {
  color: var(--silver-300);
}

.sub-footer a:hover {
  color: #ffffff;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-900);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--red-accent);
  transform: translateY(-4px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Navigation for Mobile/Tablet */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--primary-900);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1rem;
    transform: translateY(-160%);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.mobile-open {
    transform: translateY(0);
  }

  .nav-link {
    color: var(--text-white);
    width: 100%;
    text-align: center;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .about-badge-card {
    position: static;
    margin-top: 1.5rem;
  }
}

/* ==========================================================================
   Extended Fluid Breakpoint System
   The rest of the site leans on clamp()/minmax() to scale smoothly, but a
   handful of components need explicit adjustments at these widths so
   nothing ever feels cramped or oddly gapped in between the big jumps.
   ========================================================================== */

/* Ultra-wide desktop: give the container a bit more breathing room so
   content doesn't feel like a narrow column floating in empty space */
@media (min-width: 1600px) {
  .kfca-container {
    max-width: 1480px;
  }
}

/* Small laptops / large tablets landscape */
@media (max-width: 1024px) {
  .about-grid {
    gap: clamp(2rem, 4vw, 3rem);
  }
}

/* Tablet-only tweak to the director card's two-column ratio — scoped with
   a min-width so it never overrides the single-column mobile layout below
   900px (that rule lives earlier in the file and would otherwise lose to
   this one on source order) */
@media (min-width: 901px) and (max-width: 1024px) {
  .director-card {
    grid-template-columns: minmax(300px, 380px) 1fr;
  }
}

/* Tablets (portrait) and small laptops in split-view */
@media (max-width: 900px) {
  .services-section {
    padding: clamp(1.75rem, 5vw, 2.75rem) 0 clamp(2.75rem, 8vw, 4rem) 0;
  }

  .pillars-section {
    margin-top: -1.5rem;
    padding: clamp(3rem, 7vw, 4rem) 0 clamp(1.25rem, 3vw, 2rem) 0;
  }

  .about-section {
    padding: clamp(1.25rem, 4vw, 2rem) 0 clamp(3rem, 8vw, 4.5rem) 0;
  }

  .management-section,
  .contact-section {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
  }

  .exec-metrics-grid {
    gap: 0.85rem;
  }
}

/* Tablets / large phones — drop the badge and label prefixes first, keep contact info on one row */
@media (max-width: 768px) {
  .top-badge {
    display: none;
  }

  .top-item-label {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-contact-info {
    gap: 1.25rem;
  }
}

/* Small tablets — drop location, keep phone + email (< 600px) */
@media (max-width: 600px) {
  .top-item-location {
    display: none;
  }
}

/* Small mobile — drop phone, show email only (< 480px) */
@media (max-width: 479px) {
  .top-item-phone {
    display: none;
  }

  .top-bar {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }
}

/* Tablets / large phones */
@media (max-width: 768px) {
  .hero-slider-section {
    min-height: 640px;
    align-items: flex-start;
  }

  .hero-content {
    padding: clamp(2.5rem, 10vw, 4rem) 0 4.5rem 0;
  }

  .hero-actions {
    width: 100%;
  }

  .slider-controls {
  bottom: 1rem;
  right: 50%;
  transform: translateX(50%);
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .cta-actions {
    width: 100%;
  }

  .director-info {
    padding: clamp(1.75rem, 5vw, 2.5rem);
  }

  .tab-buttons {
    gap: 0.25rem;
  }

  .tab-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
}

/* Large phones / small phones landscape */
@media (max-width: 600px) {
  .contact-form-wrapper {
    padding: clamp(1.5rem, 5vw, 2rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .footer-grid {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .sub-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
  }

  .committee-item {
    font-size: 0.9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .kfca-container {
    padding: 0 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
  }

  .hero-title {
    letter-spacing: -0.02em;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .kfca-btn,
  .cta-actions .kfca-btn {
    width: 100%;
    text-align: center;
  }

  .kfca-btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .pillar-card,
  .service-card,
  .exec-feature-card {
    padding: 1.5rem;
  }

  .director-name {
    font-size: 1.6rem;
  }

  .director-tags {
    gap: 0.4rem;
  }

  .director-tag {
    font-size: 0.775rem;
    padding: 0.35rem 0.7rem;
  }

  .contact-form-title {
    font-size: 1.5rem;
  }

  .scroll-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .kfca-container {
    padding: 0 0.85rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .kfca-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
  }

  .director-metric-card,
  .exec-metric-card {
    padding: 0.85rem 1rem 0.85rem 1.25rem;
  }
}

/* Page Hero Tagline Accent — fills empty space beside short hero headings on wide screens */
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.page-hero-tagline {
  display: none;
  flex: 0 0 auto;
  position: relative;
  width: fit-content;
  max-width: 380px;
  text-align: left;
}

.page-hero-tagline i {
  display: block;
  position: absolute;
  top: 0.05rem;
  left: 0%;
  width: 3px;
  height: 1.7rem;
  background: var(--red-accent);
  font-size: 0;
  animation:
    kfca-cursor-move 1.6s steps(28, end) 0.3s forwards,
    kfca-blink-caret 0.7s step-end infinite 1.9s;
}

.page-hero-tagline p {
  display: inline-block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-style: italic;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin: 0 0 0.85rem 0;
  clip-path: inset(0 100% 0 0);
  animation: kfca-reveal-text 1.6s steps(28, end) 0.3s forwards;
}

@keyframes kfca-reveal-text {
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes kfca-cursor-move {
  to { left: 100%; }
}

@keyframes kfca-blink-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.page-hero-tagline::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--red-accent);
  border-radius: var(--radius-full);
  animation: kfca-draw-underline 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.9s forwards;
}

@keyframes kfca-draw-underline {
  to { width: 100%; }
}

@media (min-width: 1024px) {
  .page-hero-tagline {
    display: block;
  }
}
