/* ==========================================================================
   ECLAT HEALTHCARE STAFFING (EHS) - MASTER STYLESHEET
   Vanilla CSS3 - Responsive, Accessible, High Performance
   ========================================================================== */

/* Universal Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');


/* --- CSS Variables & Design Tokens --- */
:root {
  --color-primary-navy: #0e244d;
  --color-navy-dark: #091733;
  --color-navy-card: #0f2b5c;
  --color-primary-red: #e52329;
  --color-red-hover: #c91b21;
  --color-red-light: #fff0f1;
  --color-red-soft: #fde8e9;
  --color-blush-bg: #fdf5f2;
  --color-blush-border: #f7ded7;
  --color-text-main: #0c1b33;
  --color-text-muted: #53637e;
  --color-text-light: #8393a8;
  --color-border: #e2e8f0;
  --color-border-subtle: #f1f5f9;
  --color-white: #ffffff;
  --color-cyan-accent: #2dd4bf;

  /* Typography */
  --font-family-base: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(14, 36, 77, 0.05);
  --shadow-md: 0 6px 20px rgba(14, 36, 77, 0.08);
  --shadow-lg: 0 14px 38px rgba(14, 36, 77, 0.12);
  --shadow-red: 0 6px 20px rgba(229, 35, 41, 0.28);
  --shadow-float: 0 18px 45px rgba(14, 36, 77, 0.16);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: #ffffff;
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Soft background ambient gradient shapes */
body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 241, 238, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

/* Section Header Typography */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary-red);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.section-headline {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--color-primary-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-headline-center {
  text-align: center;
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}

.section-description-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.highlight-red {
  color: var(--color-primary-red);
  position: relative;
  display: inline-block;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  outline: none;
  line-height: 1.2;
}

.btn-arrow {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.btn-red {
  background-color: var(--color-primary-red);
  color: var(--color-white);
  box-shadow: var(--shadow-red);
}

.btn-red:hover {
  background-color: var(--color-red-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 35, 41, 0.38);
}

.btn-navy {
  background-color: var(--color-primary-navy, #091733);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(9, 23, 51, 0.22);
}

.btn-navy:hover {
  background-color: #0e2552;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 23, 51, 0.35);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary-navy);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--color-primary-navy);
  border: 1.5px solid var(--color-border);
}

.btn-outline-navy:hover {
  border-color: var(--color-primary-navy);
  background-color: #f8fafc;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* --- Common Red Badge Icon --- */
.red-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.red-badge svg {
  width: 20px;
  height: 20px;
}

/* Glassmorphism */
.glassmorphism {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(14, 36, 77, 0.08);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  box-sizing: border-box;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 82px !important;
  min-height: 82px !important;
  max-height: 82px !important;
  width: auto !important;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 12px rgba(229, 35, 41, 0.25));
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 1.15rem);
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link,
button.nav-link,
.dropdown-toggle {
  font-family: var(--font-family-base) !important;
  font-size: 0.875rem !important; /* Strict 14px everywhere */
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: var(--color-primary-navy) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.45rem 0.25rem !important;
  white-space: nowrap !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: color var(--transition-fast) !important;
  -webkit-font-smoothing: antialiased;
}

.nav-link:hover,
.nav-link:focus-visible,
button.nav-link:hover,
.dropdown-toggle:hover {
  color: var(--color-primary-red) !important;
}

.nav-link.active,
button.nav-link.active,
.dropdown-toggle.active {
  color: var(--color-primary-red) !important;
  font-weight: 700 !important;
}

.chevron-icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  transition: transform var(--transition-fast);
}

.has-dropdown:hover .chevron-icon,
.has-dropdown:focus-within .chevron-icon {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--color-white);
  min-width: 270px;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-subtle);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 100;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-red-light);
}

.dropdown-item:hover .dropdown-title {
  color: var(--color-primary-red);
}

.dropdown-icon-box {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background-color: var(--color-blush-bg);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.dropdown-item:hover .dropdown-icon-box {
  transform: scale(1.08);
  background-color: #fee2e2;
}

.dropdown-icon-box svg {
  width: 18px;
  height: 18px;
}

.dropdown-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.dropdown-desc {
  display: block;
  font-size: 0.8125rem !important;
  color: #475569 !important;
  font-weight: 500 !important;
  margin-top: 0.15rem;
  line-height: 1.35;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.2vw, 1.15rem);
  flex-shrink: 0;
}

.phone-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  color: var(--color-primary-red) !important;
  font-family: var(--font-family-base) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important; /* Strict 14px everywhere */
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color var(--transition-fast) !important;
  -webkit-font-smoothing: antialiased;
}

.phone-link:hover {
  color: var(--color-red-hover) !important;
}

.phone-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex-shrink: 0 !important;
}

.phone-icon,
.phone-icon-wrap svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.phone-number {
  font-family: var(--font-family-base) !important;
  font-size: 0.875rem !important; /* Strict 14px everywhere */
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1 !important;
}

/* Unified Header Button: Exact same size, height, padding & font across every page */
.btn-header,
.btn-header-cta {
  font-family: var(--font-family-base) !important;
  font-size: 0.85rem !important; /* 13.6px */
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 1.25rem !important;
  border-radius: var(--radius-pill) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  background-color: var(--color-primary-red) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-red) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--transition-normal) !important;
  -webkit-font-smoothing: antialiased;
}

.btn-header:hover,
.btn-header-cta:hover {
  background-color: var(--color-red-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 35, 41, 0.38) !important;
}

.btn-header .btn-arrow,
.btn-header-cta .btn-arrow {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  transition: transform var(--transition-fast) !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.btn-header:hover .btn-arrow,
.btn-header-cta:hover .btn-arrow {
  transform: translateX(4px);
}

/* Mobile Toggle Hamburger */
/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 7px;
  border-radius: 9px;
  background-color: var(--color-blush-bg);
  border: 1px solid var(--color-blush-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background-color: var(--color-red-light);
  border-color: var(--color-red-soft);
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary-navy);
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-toggle.active {
  background-color: var(--color-red-light);
  border-color: var(--color-red-soft);
}

.mobile-toggle.active .bar {
  background-color: var(--color-primary-red);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Backdrop */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 23, 51, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 998;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}

body.menu-open .mobile-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(14, 36, 77, 0.16);
  padding: 1.25rem 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.28s;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-item {
  width: 100%;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-navy);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 44px;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--color-primary-red);
  background-color: var(--color-blush-bg);
}

.mobile-nav-link.active {
  color: var(--color-primary-red);
  background-color: var(--color-red-light);
  font-weight: 700;
  border-left: 3px solid var(--color-primary-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mobile-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
}

.mobile-dropdown-header .mobile-nav-link {
  flex: 1;
}

.mobile-dropdown-label {
  cursor: default;
}

.mobile-submenu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.mobile-submenu-toggle:hover {
  color: var(--color-primary-red);
  background-color: var(--color-blush-bg);
}

.mobile-submenu-toggle .chevron-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-dropdown-item.open .mobile-submenu-toggle .chevron-icon {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  margin: 0.25rem 0 0.5rem 0.85rem;
  padding: 0.25rem 0 0.25rem 1rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 2px solid var(--color-border);
}

.mobile-dropdown-item.open .mobile-submenu {
  display: flex;
}

.mobile-sub-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  min-height: 40px;
}

.mobile-sub-link:hover {
  color: var(--color-primary-red);
  background-color: var(--color-blush-bg);
}

.mobile-sub-link.active {
  color: var(--color-primary-red);
  font-weight: 600;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.phone-link-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--color-primary-red);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.4rem 0;
}

.phone-link-mobile:hover {
  color: var(--color-red-hover);
}

.phone-link-mobile .phone-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-red-light);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.mobile-cta-group .btn {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  font-size: 0.925rem;
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, #0d2348 0%, #102a58 50%, #15356e 100%);
  border-radius: var(--radius-xl);
  padding: 3.75rem 3.5rem 3.25rem;
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  align-items: center;
  gap: 2.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 35, 72, 0.25);
}

/* Ambient hero background blobs */
.hero-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(229, 35, 41, 0.18) 0%, rgba(229, 35, 41, 0) 70%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, rgba(45, 212, 191, 0) 70%);
  pointer-events: none;
}

/* Plus Pattern Watermark */
.hero-plus-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-plus-pattern .plus {
  position: absolute;
  color: rgba(255, 255, 255, 0.08);
  font-size: 3rem;
  font-weight: 300;
  user-select: none;
}

.plus-1 { top: 12%; left: 8%; }
.plus-2 { top: 60%; left: 35%; font-size: 2.2rem; }
.plus-3 { top: 20%; right: 10%; font-size: 4rem; color: rgba(255, 255, 255, 0.06); }
.plus-4 { bottom: 15%; right: 40%; font-size: 2.5rem; }

/* Hero Left Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero-eyebrow .eyebrow-text {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  backdrop-filter: blur(8px);
}

.hero-headline {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.025em;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.hero-btn {
  padding: 0.85rem 1.85rem;
}

/* Hero Right Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image-frame {
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover .hero-image {
  transform: scale(1.03);
}

/* Flight Trail & Floating Mascot */
/* Flight Trail & Floating Mascot */
.hero-mascot-flight-area {
  position: absolute;
  top: -38px;
  left: 20px;
  z-index: 15;
  pointer-events: none;
  display: flex;
  align-items: center;
  animation: heroSettleEntrance 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-flight-loop-svg {
  width: 100px;
  height: 65px;
  position: absolute;
  top: 15px;
  left: -40px;
  filter: drop-shadow(0 2px 4px rgba(229, 35, 41, 0.3));
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawTrail 1.4s ease-out forwards 0.2s;
}

@keyframes drawTrail {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-mascot-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  animation: heroHoverGentle 4s ease-in-out infinite 1.3s;
}

.hero-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center right;
  animation: heroWingFlap 0.8s ease-in-out infinite alternate;
}

/* 1. Hero Mascot: Settle entrance & gentle hover with wing flap */
@keyframes heroSettleEntrance {
  0% {
    opacity: 0;
    transform: translate(35px, -22px) rotate(-10deg) scale(0.85);
  }
  60% {
    opacity: 1;
    transform: translate(-3px, 4px) rotate(3deg) scale(1.03);
  }
  82% {
    transform: translate(1px, -2px) rotate(-1deg) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes heroHoverGentle {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes heroWingFlap {
  0% {
    transform: scale(1) skewY(0deg);
  }
  30% {
    transform: scale(0.97, 1.03) skewY(1.5deg);
  }
  70% {
    transform: scale(1.02, 0.98) skewY(-1deg);
  }
  100% {
    transform: scale(0.99, 1.01) skewY(0.5deg);
  }
}

/* Floating Mini Cards in Hero */
.hero-mini-cards-wrap {
  display: contents;
}

.hero-mini-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(9, 23, 51, 0.2);
  z-index: 10;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: normal;
  max-width: 160px;
  cursor: default;
}

.hero-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(9, 23, 51, 0.28);
}

.mini-card-icon-wrap {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background-color: var(--color-red-light);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-icon-wrap svg {
  width: 16px;
  height: 16px;
}

.mini-card-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.mini-card-line {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  letter-spacing: -0.01em;
}

.card-top {
  top: 22%;
  left: -20px;
}

.card-middle {
  top: 48%;
  left: -32px;
}

.card-bottom {
  top: 74%;
  left: -15px;
}

/* ==========================================================================
   FEATURED LOGOS CAROUSEL STRIP (Infinite Marquee)
   ========================================================================== */
.logo-carousel-section {
  padding: 2.25rem 0;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  overflow: hidden;
  position: relative;
}

.logo-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 8.5rem;
  animation: logoScroll 38s linear infinite;
  will-change: transform;
}

.logo-carousel-wrapper:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-carousel-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  transition: transform var(--transition-fast, 0.25s ease);
}

.logo-carousel-slide:hover {
  transform: translateY(-2px);
}

.carousel-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition-fast, 0.25s ease), transform var(--transition-fast, 0.25s ease), filter var(--transition-fast, 0.25s ease);
  user-select: none;
  -webkit-user-drag: none;
}

.logo-carousel-slide:hover .carousel-logo {
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* Individual optical calibrations for visual harmony */
.carousel-logo.logo-digital-journal {
  height: 26px;
}

.carousel-logo.logo-streetinsider {
  height: 32px;
}

.carousel-logo.logo-msn {
  height: 40px;
}

.carousel-logo.logo-yahoo-finance {
  height: 38px;
}

.carousel-logo.logo-forbes {
  height: 34px;
}

@keyframes logoScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 991px) {
  .logo-carousel-track {
    gap: 6rem;
    animation-duration: 30s;
  }
  .carousel-logo {
    height: 32px;
  }
  .carousel-logo.logo-digital-journal {
    height: 22px;
  }
  .carousel-logo.logo-streetinsider {
    height: 27px;
  }
  .carousel-logo.logo-msn {
    height: 34px;
  }
  .carousel-logo.logo-yahoo-finance {
    height: 32px;
  }
  .carousel-logo.logo-forbes {
    height: 28px;
  }
}

@media (max-width: 768px) {
  .logo-carousel-section {
    padding: 1.5rem 0;
  }
  .logo-carousel-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  }
  .logo-carousel-track {
    gap: 4.5rem;
    animation-duration: 22s;
  }
  .carousel-logo {
    height: 28px;
  }
  .carousel-logo.logo-digital-journal {
    height: 19px;
  }
  .carousel-logo.logo-streetinsider {
    height: 24px;
  }
  .carousel-logo.logo-msn {
    height: 30px;
  }
  .carousel-logo.logo-yahoo-finance {
    height: 28px;
  }
  .carousel-logo.logo-forbes {
    height: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    justify-content: space-around;
  }
}

/* ==========================================================================
   TRUSTED HEALTHCARE PARTNERS MARQUEE
   ========================================================================== */
.section-partners {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
  position: relative;
}

.partners-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2.25rem;
  animation: partnerScroll 50s linear infinite;
  will-change: transform;
}

.partners-carousel-wrapper:hover .partners-carousel-track {
  animation-play-state: paused;
}

.partner-card-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1.75rem;
  height: 72px;
  min-width: 170px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform var(--transition-fast, 0.25s ease), box-shadow var(--transition-fast, 0.25s ease), border-color var(--transition-fast, 0.25s ease);
}

.partner-card-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: rgba(229, 35, 41, 0.3);
}

.partner-logo-img {
  display: block;
  max-height: 42px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity var(--transition-fast, 0.25s ease), transform var(--transition-fast, 0.25s ease);
  user-select: none;
  -webkit-user-drag: none;
}

.partner-card-slide:hover .partner-logo-img {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes partnerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 991px) {
  .section-partners {
    padding: 3.75rem 0 3.25rem;
  }
  .partners-carousel-track {
    gap: 1.75rem;
    animation-duration: 40s;
  }
  .partner-card-slide {
    padding: 0.65rem 1.25rem;
    height: 62px;
    min-width: 140px;
  }
  .partner-logo-img {
    max-height: 36px;
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .section-partners {
    padding: 3rem 0 2.5rem;
  }
  .partners-carousel-wrapper {
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }
  .partners-carousel-track {
    gap: 1.25rem;
    animation-duration: 32s;
  }
  .partner-card-slide {
    padding: 0.5rem 1rem;
    height: 54px;
    min-width: 120px;
  }
  .partner-logo-img {
    max-height: 30px;
    max-width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-carousel-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    justify-content: space-around;
  }
}

/* ==========================================================================
   SECTION SPLIT GRID (PROFESSIONALS & FACILITIES)
   ========================================================================== */
.section-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4.5rem;
}

/* Feature Bullets List */
.feature-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.feature-bullet-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bullet-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(229, 35, 41, 0.22);
}

.bullet-icon-box svg {
  width: 18px;
  height: 18px;
}

.bullet-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-navy);
}

/* 2. Mascot Flight Badge (Between Sections - Subtle Flight) */
.mascot-flight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-40px) translateY(12px) rotate(-8deg);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-flight-badge.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(0deg);
}

.small-flight-mascot {
  width: 55px;
  height: 55px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.mascot-flight-badge.in-view .small-flight-mascot {
  animation: gentleMascotFloat 3.8s ease-in-out infinite 1.1s;
}

.flight-trail-svg {
  width: 70px;
  height: 30px;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.2s ease-out 0.2s;
}

.mascot-flight-badge.in-view .flight-trail-svg {
  stroke-dashoffset: 0;
}

@keyframes gentleMascotFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* ==========================================================================
   SECTION 1: PROFESSIONALS & INTERACTIVE PHONE MOCKUP
   ========================================================================== */
.professionals-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-container {
  width: 100%;
  max-width: 380px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-blush-bg);
}

.clinician-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* Interactive Phone Mockup Card */
.phone-mockup-card {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 290px;
  background: #ffffff;
  border-radius: 28px;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  z-index: 10;
  animation: floatMascot 6s ease-in-out infinite alternate;
}

.phone-notch {
  width: 80px;
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 10px;
  margin: 8px auto 4px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.phone-signals {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.signal-bar {
  width: 3px;
  background-color: var(--color-text-muted);
  border-radius: 1px;
}
.signal-bar:nth-child(1) { height: 4px; }
.signal-bar:nth-child(2) { height: 7px; }
.signal-bar:nth-child(3) { height: 10px; }

.phone-app-bar {
  padding: 0.4rem 1rem 0.2rem;
}

.phone-app-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.phone-search-box {
  margin: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
}

.phone-search-icon {
  width: 14px;
  height: 14px;
  color: var(--color-text-light);
}

.phone-search-box input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.75rem;
  color: var(--color-text-main);
  outline: none;
}

.phone-jobs-list {
  padding: 0.4rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
}

.phone-job-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.phone-job-item:hover {
  background-color: var(--color-red-light);
  border-color: #fecdd3;
  transform: translateX(3px);
}

.phone-job-item .job-item-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.phone-job-item .job-item-icon svg {
  width: 14px;
  height: 14px;
}

.job-item-details {
  display: flex;
  flex-direction: column;
}

.job-item-details .job-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-navy);
}

.job-item-details .job-meta {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.job-type-pill {
  color: var(--color-primary-red);
  font-weight: 700;
}

.job-type-pill.part-time {
  color: #0284c7;
}

.phone-footer-hint {
  text-align: center;
  font-size: 0.65rem;
  color: var(--color-primary-red);
  font-weight: 700;
  padding: 0.5rem;
  background-color: var(--color-red-light);
}

/* ==========================================================================
   SECTION 2: FACILITIES
   ========================================================================== */
.facilities-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curved-photo-blob {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-blush-bg);
}

/* Organic blush blob in background */
.curved-photo-blob::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #fde8e4 0%, rgba(253, 232, 228, 0) 70%);
  z-index: -1;
}

.facilities-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.curved-photo-blob:hover .facilities-photo {
  transform: scale(1.03);
}

.badge-facility-stat {
  position: absolute;
  bottom: 25px;
  left: -25px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  z-index: 10;
}

.stat-highlight {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.stat-sublabel {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   SECTION 3: SPECIALIZED CARE ENVIRONMENTS
   ========================================================================== */
.section-care-settings {
  background-color: #ffffff;
}

.care-header-block {
  margin-bottom: 3.5rem;
}

.care-mascot-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateX(-30px) translateY(-8px) rotate(-6deg);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.care-mascot-trail.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0) rotate(0deg);
}

.care-curve-path {
  width: 90px;
  height: 30px;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  transition: stroke-dashoffset 1.2s ease-out 0.2s;
}

.care-mascot-trail.in-view .care-curve-path {
  stroke-dashoffset: 0;
}

.care-mascot-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.care-mascot-trail.in-view .care-mascot-img {
  animation: gentleMascotFloat 4.2s ease-in-out infinite 1.1s;
}

.care-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.care-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(14, 36, 77, 0.08);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(9, 23, 51, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  height: 100%;
}

.care-card:hover, 
.care-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -8px rgba(9, 23, 51, 0.12), 0 0 0 1px rgba(229, 35, 41, 0.25);
  border-color: rgba(229, 35, 41, 0.3);
  outline: none;
}

/* Thumbnail Container */
.care-card-thumb {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.care-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.care-card:hover .care-card-img {
  transform: scale(1.07);
}

/* Subtle image overlay for photographic depth */
.care-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(9, 23, 51, 0.16) 100%);
  pointer-events: none;
}

/* Specific focal points for each image */
.care-img-hospitals {
  object-position: center 25%;
}

.care-img-long-term {
  object-position: 28% 20%;
}

.care-img-home-hospice {
  object-position: 32% 22%;
}

.care-img-dental {
  object-position: 78% 22%;
}

.care-img-cna,
.care-img-nurse {
  object-position: center 18%;
}

/* Floating Icon Badge */
.care-icon-badge,
.care-icon-circle {
  position: absolute;
  top: -24px;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--color-primary-red, #e52329);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(229, 35, 41, 0.4);
  border: 3.5px solid #ffffff;
  z-index: 10;
  margin: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.care-card:hover .care-icon-badge,
.care-card:hover .care-icon-circle {
  transform: translateY(-2px) scale(1.08);
  background-color: #c4181e;
  box-shadow: 0 6px 18px rgba(229, 35, 41, 0.5);
}

.care-icon-badge svg,
.care-icon-circle svg {
  width: 22px;
  height: 22px;
}

/* Card Body Content */
.care-card-body,
.care-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2.25rem 1.5rem 1.5rem 1.5rem;
  background-color: #ffffff;
  z-index: 2;
  overflow: visible;
}

.care-title,
.care-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #091733;
  line-height: 1.35;
  margin: 0 0 0.55rem 0;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.care-card:hover .care-title,
.care-card:hover .care-card-title {
  color: var(--color-primary-red, #e52329);
}

.care-desc,
.care-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

/* Bottom CTA Action Row */
.care-card-cta,
.care-btn-link,
.care-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid #f1f5f9;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-red, #e52329);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease;
}

.care-card-cta .care-cta-text,
.care-btn-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-red, #e52329);
}

.care-cta-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background-color: rgba(229, 35, 41, 0.08);
  color: var(--color-primary-red, #e52329);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease, 
              color 0.2s ease;
}

.care-cta-arrow svg,
svg.care-cta-arrow {
  width: 14px;
  height: 14px;
}

.care-card:hover .care-cta-arrow {
  transform: translateX(4px);
  background-color: var(--color-primary-red, #e52329);
  color: #ffffff;
}

.care-card:hover .care-card-cta .care-cta-text,
.care-card:hover .care-btn-link,
.care-card:hover .care-card-link {
  color: #c4181e;
}

/* ==========================================================================
   SECTION 4: NATIONWIDE SUPPORT (MAP & NETWORK)
   ========================================================================== */
.section-nationwide {
  background: radial-gradient(circle at right center, #fff6f4 0%, #ffffff 70%);
}

.nationwide-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.nationwide-bullet-card {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.nationwide-bullet-card:hover {
  transform: translateX(4px);
  border-color: #fed7d7;
}

.bullet-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 0.25rem;
}

.bullet-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}



/* US Map Wrapper */
.nationwide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.us-map-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 15px 35px rgba(14, 36, 77, 0.14));
}

/* Interactive Map Hotspot Pins */
.map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.pin-dot {
  display: block;
  width: 12px;
  height: 12px;
  background-color: #ff334b;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff334b;
}

.pin-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 51, 75, 0.4);
  animation: pulsePin 2s infinite ease-out;
}

@keyframes pulsePin {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Specific pin positions on map (17 highlighted states) */
.pin-al { top: 65.0%; left: 67.5%; }
.pin-ca { top: 47.0%; left: 13.5%; }
.pin-co { top: 44.0%; left: 36.5%; }
.pin-de { top: 42.0%; left: 83.5%; }
.pin-md { top: 42.5%; left: 79.5%; }
.pin-mi { top: 33.0%; left: 66.5%; }
.pin-nv { top: 39.0%; left: 19.5%; }
.pin-nh { top: 22.0%; left: 87.0%; }
.pin-nj { top: 37.0%; left: 84.5%; }
.pin-nm { top: 57.0%; left: 34.5%; }
.pin-ny { top: 29.5%; left: 81.5%; }
.pin-nc { top: 53.0%; left: 78.5%; }
.pin-pa { top: 36.5%; left: 77.0%; }
.pin-tx { top: 68.0%; left: 47.0%; }
.pin-vt { top: 23.5%; left: 84.5%; }
.pin-wa { top: 19.0%; left: 16.5%; }
.pin-wv { top: 43.5%; left: 74.5%; }

/* Map Pin Highlight State (via state pills or active) */
.map-pin.pin-highlighted .pin-dot {
  transform: scale(1.4);
  background-color: #ff1f38;
  box-shadow: 0 0 16px #ff1f38, 0 0 28px rgba(255, 31, 56, 0.9);
}

.map-pin.pin-highlighted .pin-pulse {
  background-color: rgba(255, 31, 56, 0.7);
  animation: pulsePinFast 0.9s infinite ease-out;
}

@keyframes pulsePinFast {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Map Pin Tooltips */
.map-pin::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: var(--color-navy-dark);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(9, 23, 51, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 30;
}

.map-pin:hover::after,
.map-pin.pin-highlighted::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Smart offsets for Northeast cluster so tooltips don't clip */
.pin-vt::after {
  left: auto;
  right: 50%;
  transform: translateY(5px);
}
.pin-vt:hover::after,
.pin-vt.pin-highlighted::after {
  transform: translateY(0);
}

.pin-de::after,
.pin-nj::after,
.pin-nh::after {
  left: 0;
  transform: translateY(5px);
}
.pin-de:hover::after,
.pin-de.pin-highlighted::after,
.pin-nj:hover::after,
.pin-nj.pin-highlighted::after,
.pin-nh:hover::after,
.pin-nh.pin-highlighted::after {
  transform: translateY(0);
}

.pin-md::after {
  bottom: auto;
  top: 22px;
  transform: translateX(-50%) translateY(-5px);
}
.pin-md:hover::after,
.pin-md.pin-highlighted::after {
  transform: translateX(-50%) translateY(0);
}



/* Floating Avatars around Map */
.floating-avatar-badge {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-lg);
  overflow: visible;
  z-index: 15;
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.floating-avatar-badge:hover {
  transform: scale(1.12);
}

.floating-avatar-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.avatar-badge-top {
  top: 15%;
  right: 8%;
}

.avatar-badge-mid {
  top: 55%;
  right: -10px;
}

.avatar-badge-bottom {
  bottom: 12%;
  left: 10%;
}

/* Map Mascot (Nationwide Section Soaring Hover & Wing Flap) */
.floating-map-mascot {
  position: absolute;
  bottom: -15px;
  left: 36%;
  width: 72px;
  height: 72px;
  z-index: 20;
  filter: drop-shadow(0 8px 16px rgba(14, 36, 77, 0.25));
  opacity: 0;
  transform: translate(-25px, 20px) rotate(-8deg) scale(0.9);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.floating-map-mascot.in-view {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
  animation: mapMascotSoar 4.2s ease-in-out infinite 1.1s;
}

.floating-map-mascot:hover {
  transform: translateY(-10px) scale(1.12) rotate(5deg) !important;
  filter: drop-shadow(0 12px 22px rgba(229, 35, 41, 0.35));
}

.mascot-map-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center right;
  animation: mapWingFlutter 0.82s ease-in-out infinite alternate;
}

@keyframes mapMascotSoar {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  30% {
    transform: translateY(-7px) rotate(-3deg);
  }
  65% {
    transform: translateY(-3px) rotate(2.5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes mapWingFlutter {
  0% {
    transform: scale(1) skewY(0deg);
  }
  50% {
    transform: scale(0.97, 1.02) skewY(1.2deg);
  }
  100% {
    transform: scale(1.01, 0.98) skewY(-1.2deg);
  }
}

/* ==========================================================================
   SECTION 5: HOW IT WORKS
   ========================================================================== */
.section-how-it-works {
  background-color: #ffffff;
}

.how-it-works-card {
  background-color: var(--color-blush-bg);
  border: 1px solid var(--color-blush-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
}

.how-header {
  margin-bottom: 3.5rem;
}

.how-tracks-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2.5rem;
}

.track-divider {
  width: 1px;
  height: 80%;
  background-color: #ecd5cf;
}

.how-track-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.track-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.track-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-red);
}

.track-badge svg {
  width: 28px;
  height: 28px;
  display: block;
}

.track-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
}

.step-item {
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1.35rem 0.65rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  min-width: 0;
  min-height: 130px;
  border: 1px solid rgba(254, 215, 215, 0.6);
  box-shadow: 0 4px 14px rgba(14, 36, 77, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(229, 27, 36, 0.12);
}

.step-num-circle {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-icon {
  width: 42px;
  height: 42px;
  margin: 0.4rem auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-red);
  background: transparent;
  border: none;
  box-shadow: none;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.25;
  text-align: center;
  display: block;
}

.step-connector {
  color: var(--color-primary-red);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
  user-select: none;
}

/* ==========================================================================
   SECTION 6: TESTIMONIALS
   ========================================================================== */
.section-testimonials {
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}

/* Testimonial Carousel Card */
.testimonial-carousel-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  position: relative;
  min-height: 160px;
}

.testimonial-slide {
  display: none;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 0.4s ease forwards;
}

.testimonial-slide.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-avatar-wrap {
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.testimonial-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-body {
  position: relative;
}

.quote-symbol {
  font-size: 3rem;
  color: var(--color-primary-red);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -15px;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1rem;
  color: var(--color-primary-navy);
}

.author-role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Carousel Nav Footer */
.carousel-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: 1.5rem;
}

.carousel-dots {
  display: flex;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 24px;
  border-radius: 10px;
  background-color: var(--color-primary-red);
}

.carousel-arrows {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-navy);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  color: #ffffff;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

/* Community Banner Card */
.community-banner-card {
  background-color: var(--color-blush-bg);
  border: 1px solid var(--color-blush-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
}

.community-icon-box {
  width: 48px;
  height: 48px;
}

.community-icon-box svg {
  width: 24px;
  height: 24px;
}

.community-headline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 7: CTA BANNER (LET'S WORK TOGETHER)
   ========================================================================== */
.section-cta-banner {
  padding-bottom: 4rem;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(135deg, #0b1d3d 0%, #0e2752 60%, #13336c 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Plus watermark on CTA */
.cta-banner-card::before {
  content: "+";
  position: absolute;
  right: 5%;
  bottom: -20px;
  font-size: 9rem;
  color: rgba(255, 255, 255, 0.04);
  font-weight: 300;
  pointer-events: none;
}

/* 3. Call-to-action Mascot (Friendly Greeting Bob & Tilt) */
.cta-mascot-wrap {
  width: 95px;
  height: 95px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
  transform-origin: bottom center;
  animation: ctaMascotGreeting 5s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.cta-mascot-wrap:hover {
  transform: translateY(-10px) rotate(6deg) scale(1.08);
}

.cta-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes ctaMascotGreeting {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  12% {
    transform: translateY(-8px) rotate(-4deg); /* gentle bob up & friendly head tilt */
  }
  24% {
    transform: translateY(-2px) rotate(3deg);  /* slight reciprocal tilt */
  }
  36% {
    transform: translateY(-6px) rotate(-2deg); /* soft secondary bob */
  }
  50% {
    transform: translateY(0px) rotate(0deg);  /* returns peacefully to rest */
  }
  100% {
    transform: translateY(0px) rotate(0deg);  /* calm resting interval */
  }
}

.cta-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.cta-headline {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-subtext {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 540px;
  line-height: 1.55;
}

.cta-btn-wrap {
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.footer-logo-img {
  height: 84px !important;
  min-height: 84px !important;
  max-height: 84px !important;
  width: auto !important;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.footer-brand:hover .footer-logo-img {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(229, 35, 41, 0.25));
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-navy);
}

.footer-nav a {
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-primary-red);
}

.footer-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  background-color: var(--color-blush-bg);
  color: var(--color-primary-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  background-color: var(--color-primary-red);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 35, 41, 0.28);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon-btn:hover svg {
  color: #ffffff !important;
  stroke: #ffffff;
}

/* Footer Accreditation & Quality Certification Cards */
.footer-badges-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badges-bar {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: none;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.footer-badges-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  flex-wrap: wrap;
  width: 100%;
}

.footer-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  cursor: default;
}

.footer-badge-item:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer-badge-img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.footer-badge-img.badge-joint-commission {
  height: 52px;
}

.footer-badge-img.badge-bbb {
  height: 48px;
}

.footer-badge-img.badge-wbenc {
  height: 40px;
}

.footer-badge-img.badge-gptw {
  height: 50px;
}

@media (max-width: 640px) {
  .footer-badges-row {
    padding: 1.25rem 0;
  }

  .footer-badges-bar {
    padding: 0;
  }

  .footer-badges-list {
    gap: 1.25rem 1.75rem;
  }

  .footer-badge-img {
    height: 38px;
  }

  .footer-badge-img.badge-joint-commission {
    height: 42px;
  }

  .footer-badge-img.badge-bbb {
    height: 38px;
  }

  .footer-badge-img.badge-wbenc {
    height: 32px;
  }

  .footer-badge-img.badge-gptw {
    height: 40px;
  }
}

/* Inter-State Healthcare Staffing Network Directory */
.footer-states-row {
  margin: 1.5rem 0 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: center;
}

.footer-states-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.footer-states-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.85rem;
}

.footer-state-link {
  color: var(--color-text-body);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-state-link:hover {
  color: var(--color-primary-red);
}

.footer-state-link.is-hq {
  color: var(--color-primary-navy);
  font-weight: 700;
}

.footer-state-link.is-hq:hover {
  color: var(--color-primary-red);
}

.footer-state-dot {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

.footer-bottom-row {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright-text {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

.copyright-text a {
  color: var(--color-primary-navy);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.copyright-text a:hover {
  color: var(--color-primary-red);
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.legal-link {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.legal-link:hover {
  color: var(--color-primary-red);
}

.staff-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.staff-portal-link:hover {
  color: var(--color-primary-red);
}

/* Header Staff Portal Quick Access Button */
.portal-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.42rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary-navy);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.portal-header-btn:hover {
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  background-color: var(--color-red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(229, 35, 41, 0.15);
}

@media (max-width: 991px) {
  .portal-header-btn .portal-btn-text {
    display: none;
  }
  .portal-header-btn {
    padding: 0.45rem;
    border-radius: 50%;
  }
}

@media (max-width: 640px) {
  .portal-header-btn {
    display: none;
  }
}

.mobile-portal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-portal-link:hover {
  color: var(--color-primary-red);
  border-color: var(--color-primary-red);
  background-color: var(--color-red-light);
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   MODALS & DIALOGS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 23, 51, 0.72) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100050 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-dialog,
.modal-card {
  background-color: #ffffff !important;
  width: 100% !important;
  max-width: 620px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  overflow: hidden !important;
  transform: scale(0.95) translateY(12px);
  transition: all var(--transition-bounce);
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  z-index: 10000 !important;
}

.modal-overlay.open .modal-dialog,
.modal-overlay.open .modal-card {
  transform: scale(1) translateY(0) !important;
}

.modal-header {
  padding: 1.5rem 1.75rem !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
}

.modal-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.modal-badge {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-badge.red-badge {
  background-color: var(--color-blush-bg) !important;
  color: var(--color-primary-red) !important;
}

.modal-badge svg {
  width: 22px !important;
  height: 22px !important;
}

.modal-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--color-primary-navy) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.modal-subtitle {
  font-size: 0.875rem !important;
  color: #475569 !important;
  margin-top: 0.25rem !important;
  line-height: 1.4 !important;
}

.modal-close {
  font-size: 1.4rem !important;
  line-height: 1 !important;
  color: #64748b !important;
  transition: all var(--transition-fast) !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  cursor: pointer !important;
  padding: 0 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-close:hover {
  color: #ffffff !important;
  background-color: var(--color-primary-red) !important;
  border-color: var(--color-primary-red) !important;
}

.modal-form {
  padding: 1.75rem !important;
  background-color: #ffffff !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label,
.form-label {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  color: var(--color-primary-navy) !important;
  display: block !important;
  margin-bottom: 0.2rem !important;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input,
.form-select {
  width: 100% !important;
  padding: 0.75rem 0.95rem !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--radius-sm) !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  outline: none !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast) !important;
  box-sizing: border-box !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus,
.form-select:focus {
  border-color: var(--color-primary-red) !important;
  box-shadow: 0 0 0 3px rgba(229, 35, 41, 0.14) !important;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: none;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 1.25rem 1.75rem 1.75rem !important;
  background-color: #ffffff !important;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.modal-form .modal-footer {
  padding: 1.25rem 0 0.5rem !important;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.5rem;
}

.modal-footer .btn {
  padding: 0.7rem 1.5rem !important;
  font-weight: 700 !important;
}

.modal-body-content {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.modal-body-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

.modal-body-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.modal-body-content li {
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background-color: var(--color-navy-dark);
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideInToast 0.35s ease forwards;
  border-left: 4px solid var(--color-primary-red);
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1080px) */
@media (max-width: 1080px) {
  .hero-section {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding: 3.25rem 2.25rem;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  }

  .hero-subtext {
    max-width: 600px;
    margin-bottom: 2rem;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 1.15rem;
  }

  .hero-visual {
    margin: 0 auto;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .hero-image-frame {
    max-width: 380px;
    border-radius: 24px;
  }

  .hero-image {
    height: 380px;
    object-position: center 20%;
  }

  .hero-mascot-flight-area {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 0.5rem;
    justify-content: center;
    display: flex;
  }

  .hero-flight-loop-svg {
    display: none;
  }

  .hero-mini-cards-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.25rem;
    z-index: 5;
  }

  .hero-mini-card {
    position: static !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(9, 23, 51, 0.16);
    max-width: none;
  }

  .value-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .care-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-tracks-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .track-divider {
    width: 100%;
    height: 1px;
  }

  .cta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 3rem 2rem;
  }

  .cta-mascot-wrap {
    margin: 0 auto;
  }

  .cta-subtext {
    margin: 0 auto;
  }
}

/* Tablets & Mobile Navigation Breakpoint (<= 1150px) */
@media (max-width: 1150px) {
  .main-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-actions .btn-header,
  .header-actions .btn-header-cta {
    display: none !important;
  }

  .brand-logo-img {
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
  }

  .footer-logo-img {
    height: 74px;
  }

  .section-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .phone-mockup-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: -60px;
    margin-left: auto;
    margin-right: auto;
  }

  .badge-facility-stat {
    left: 10px;
    bottom: 10px;
  }

  .page-hero {
    padding: 4rem 0 3.5rem;
  }

  .page-hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .page-hero-content {
    width: 100%;
  }

  .page-hero-visual {
    width: 100%;
    justify-content: flex-start;
  }

  .page-hero-image-card {
    max-width: 100%;
  }

  .page-hero-img {
    height: 260px;
  }
}

/* Medium Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .brand-logo-img {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }

  .hero-section {
    padding-top: 1rem;
    padding-bottom: 1.75rem;
  }

  .hero-card {
    padding: 2.75rem 1.75rem 2.25rem;
    gap: 2.25rem;
    border-radius: 24px;
  }

  .hero-card::before {
    width: 320px;
    height: 320px;
    top: -60px;
    right: -60px;
  }

  .hero-card::after {
    width: 340px;
    height: 340px;
    bottom: -80px;
  }

  .hero-eyebrow {
    margin-bottom: 1rem;
  }

  .hero-eyebrow .eyebrow-text {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 0.35rem 0.85rem;
  }

  .hero-headline {
    font-size: clamp(1.9rem, 5.2vw, 2.45rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.65rem;
    max-width: 520px;
  }

  .hero-image-frame {
    max-width: 330px;
    border-radius: 20px;
  }

  .hero-image {
    height: 320px;
    object-position: center 15%;
  }

  .hero-mascot-wrap {
    width: 68px;
    height: 68px;
  }

  .hero-plus-pattern .plus {
    opacity: 0.35;
  }

  .hero-mini-cards-wrap {
    gap: 0.65rem;
    margin-top: 1.15rem;
  }

  .hero-mini-card {
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
  }

  .mini-card-icon-wrap {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }

  .mini-card-icon-wrap svg {
    width: 14px;
    height: 14px;
  }

  .mini-card-line {
    font-size: 0.72rem;
  }
}

/* Mobile Screens (<= 640px) */
@media (max-width: 640px) {
  .brand-logo-img {
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-actions .phone-link {
    padding: 0 !important;
    gap: 0 !important;
  }

  .header-actions .phone-link .phone-number {
    display: none !important;
  }

  .header-actions .phone-icon-wrap {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    background-color: var(--color-red-light);
    border: 1px solid var(--color-red-soft);
  }

  .footer-logo-img {
    height: 64px;
  }

  .hero-section {
    padding-top: 0.85rem;
    padding-bottom: 1.5rem;
  }

  .hero-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-card {
    padding: 2.25rem 1.35rem 2rem;
    border-radius: 20px;
    gap: 1.85rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6.2vw, 2.15rem);
    line-height: 1.22;
  }

  .hero-subtext {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-visual {
    max-width: 320px;
  }

  .hero-image-frame {
    max-width: 290px;
    border-radius: 18px;
  }

  .hero-image {
    height: 280px;
    object-position: center 15%;
  }

  .hero-mascot-wrap {
    width: 60px;
    height: 60px;
  }

  .value-strip-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .value-item {
    justify-content: flex-start;
  }

  .care-cards-grid {
    grid-template-columns: 1fr;
  }

  .care-card {
    height: auto;
    min-height: unset;
  }

  .care-card-thumb {
    height: 200px;
  }

  .steps-row {
    flex-direction: column;
    gap: 0.85rem;
  }

  .step-item {
    width: 100%;
    min-height: 115px;
    padding: 1.25rem 1rem;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: 0.25rem 0;
  }

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

  .testimonial-slide {
    flex-direction: column;
    text-align: center;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-sep {
    display: none;
  }

  .footer-states-row {
    padding: 1rem 0;
    margin: 1rem 0 0.75rem;
  }

  .footer-states-links {
    gap: 0.35rem 0.6rem;
    font-size: 0.8rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .page-hero {
    padding: 3.5rem 0 3rem;
  }

  .page-hero-img {
    height: 220px;
  }

  .page-hero-badge {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 0.75rem;
  }
}

/* Compact Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .header-container {
    padding: 0.4rem 0.85rem;
  }

  .brand-logo-img {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
  }

  .header-actions .btn-header,
  .header-actions .btn-header-cta {
    display: none !important;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding-top: 0.65rem;
    padding-bottom: 1.25rem;
  }

  .hero-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-card {
    padding: 1.75rem 1rem 1.65rem;
    gap: 1.35rem;
    border-radius: 18px;
  }

  .hero-plus-pattern {
    display: none;
  }

  .hero-eyebrow {
    margin-bottom: 0.85rem;
  }

  .hero-eyebrow .eyebrow-text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
  }

  .hero-headline {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.22;
    margin-bottom: 0.85rem;
    word-break: break-word;
  }

  .hero-subtext {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: #cbd5e1;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
  }

  .hero-btn .btn-arrow {
    width: 16px;
    height: 16px;
    margin-left: 0.4rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 270px;
  }

  .hero-mascot-flight-area {
    margin-bottom: 0.25rem;
  }

  .hero-mascot-wrap {
    width: 54px;
    height: 54px;
  }

  .hero-image-frame {
    max-width: 250px;
    border-radius: 16px;
  }

  .hero-image {
    height: 240px;
  }

  .hero-mini-cards-wrap {
    gap: 0.45rem;
    margin-top: 0.85rem;
    width: 100%;
  }

  .hero-mini-card {
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    gap: 0.4rem;
  }

  .mini-card-icon-wrap {
    width: 22px;
    height: 22px;
    min-width: 22px;
  }

  .mini-card-icon-wrap svg {
    width: 12px;
    height: 12px;
  }

  .mini-card-line {
    font-size: 0.66rem;
  }
}

/* Extra Small Mobile Devices (<= 360px) */
@media (max-width: 360px) {
  .header-container {
    padding: 0.35rem 0.65rem;
  }

  .brand-logo-img {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }

  .hero-container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .hero-card {
    padding: 1.4rem 0.75rem 1.35rem;
    gap: 1.15rem;
    border-radius: 14px;
  }

  .hero-headline {
    font-size: 1.42rem;
  }

  .hero-subtext {
    font-size: 0.825rem;
  }

  .hero-eyebrow .eyebrow-text {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
  }

  .hero-image-frame {
    max-width: 215px;
  }

  .hero-image {
    height: 205px;
  }

  .hero-mini-cards-wrap {
    gap: 0.35rem;
  }

  .hero-mini-card {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .hero-btn {
    font-size: 0.85rem;
    padding: 0.75rem 0.85rem;
  }
}

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-mascot-flight-area,
  .hero-mascot-wrap,
  .hero-mascot-img,
  .mascot-flight-badge,
  .small-flight-mascot,
  .care-mascot-trail,
  .care-mascot-img,
  .cta-mascot-wrap,
  .hero-flight-loop-svg,
  .flight-trail-svg,
  .care-curve-path,
  .floating-map-mascot,
  .mascot-map-icon,
  .brand-logo-img,
  .footer-logo-img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ==========================================================================
   INTERNAL PAGES: UNIFIED DESIGN SYSTEM EXTENSION
   ========================================================================== */

/* Page Header & Breadcrumbs */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 36, 77, 0.93) 0%, rgba(21, 51, 108, 0.88) 60%, rgba(14, 36, 77, 0.95) 100%),
              url('assets/images/page-hero-bg.jpg') center center / cover no-repeat;
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(229, 35, 41, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.page-hero-content {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.page-hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(9, 23, 51, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(9, 23, 51, 0.55), 0 0 0 1px rgba(229, 35, 41, 0.35);
}

.page-hero-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.page-hero-image-card-compact .page-hero-img {
  height: 230px;
}

.page-hero-badge {
  position: absolute;
  bottom: -18px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-navy);
}

.page-hero-badge .badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
}

.page-hero-badge .badge-icon svg {
  width: 18px;
  height: 18px;
}

.page-hero-badge .badge-text {
  display: flex;
  flex-direction: column;
}

.page-hero-badge .badge-text strong {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.2;
}

.page-hero-badge .badge-text span {
  font-size: 0.75rem;
  color: var(--color-primary-red);
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.breadcrumbs-current {
  color: #fca5a5;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 27, 36, 0.22);
  border: 1px solid rgba(229, 27, 36, 0.4);
  color: #fee2e2;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.page-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
}

.page-hero-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 680px;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Internal Section Containers */
.internal-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.internal-section-alt {
  padding: 5rem 0;
  background-color: var(--color-blush-bg);
  border-top: 1px solid var(--color-blush-border);
  border-bottom: 1px solid var(--color-blush-border);
}

/* Impact Metrics Grid */
.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.metric-card {
  background: #ffffff;
  border: 1px solid rgba(254, 215, 215, 0.6);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(14, 36, 77, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(229, 27, 36, 0.08);
}

.metric-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-primary-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 0.35rem;
}

.metric-sub {
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(254, 215, 215, 0.6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(229, 27, 36, 0.08);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

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

/* Mascot Story Spotlight Card */
.mascot-story-card {
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%);
  border: 1.5px solid #fed7d7;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-md);
}

.mascot-story-img-wrap {
  position: relative;
  text-align: center;
}

.mascot-story-img {
  width: 210px;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(14, 36, 77, 0.15));
  animation: mascotGentleFloat 3.8s ease-in-out infinite alternate;
}

/* ==========================================================================
   JOBS PORTAL STYLES (jobs.html)
   ========================================================================== */
.jobs-filter-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(254, 215, 215, 0.7);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.jobs-search-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.jobs-input-group {
  position: relative;
}

.jobs-input-group svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.jobs-input-group input,
.jobs-input-group select {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-primary-navy);
  outline: none;
  background-color: #fafbfc;
  transition: all var(--transition-fast);
}

.jobs-input-group input:focus,
.jobs-input-group select:focus {
  border-color: var(--color-primary-red);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 27, 36, 0.12);
}

.job-category-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.job-tab-btn {
  background: #f1f5f9;
  border: 1px solid transparent;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.job-tab-btn:hover {
  background: #e2e8f0;
  color: var(--color-primary-navy);
}

.job-tab-btn.active {
  background: var(--color-primary-red);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(229, 27, 36, 0.25);
}

.job-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.job-results-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.job-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary-red);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.job-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 27, 36, 0.4);
  box-shadow: 0 10px 24px rgba(14, 36, 77, 0.08);
}

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

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 0.35rem;
}

.job-facility-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.job-pay-badge {
  background: rgba(229, 27, 36, 0.09);
  color: var(--color-primary-red);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.job-meta-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--color-primary-navy);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.job-chip svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary-red);
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.job-posted-time {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   FACILITY INTAKE / FIND STAFF (find-staff.html)
   ========================================================================== */
.staffing-intake-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid rgba(254, 215, 215, 0.8);
}

.intake-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.intake-full-col {
  grid-column: 1 / -1;
}

.hotline-callout {
  background: linear-gradient(135deg, #0e244d 0%, #15336c 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(14, 36, 77, 0.15);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   CONTACT US (contact.html)
   ========================================================================== */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  width: 100%;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(254, 215, 215, 0.6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(229, 27, 36, 0.08);
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-navy);
}

.contact-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.contact-card-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-red);
  margin-top: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-card-link:hover {
  text-decoration: underline;
}

/* Contact Main Layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3.5rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary-red);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary-red);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   POLICY & LEGAL CONTENT (privacy.html, terms.html)
   ========================================================================== */
.policy-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.policy-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.policy-card ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

/* Responsive Overrides for Internal Pages */
@media (max-width: 1024px) {
  .impact-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .mascot-story-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mascot-story-img-wrap {
    margin: 0 auto;
  }
}

/* ==========================================================================
   ABOUT PAGE: FOUNDER & CEO AND STAFFING TEAM STYLES
   ========================================================================== */
.ceo-spotlight-card {
  background: #ffffff;
  border: 1.5px solid #fed7d7;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(14, 36, 77, 0.06);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.ceo-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--color-primary-red);
}

.ceo-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ceo-image-wrapper {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #e51b24 0%, #0e244d 100%);
  box-shadow: 0 12px 28px rgba(229, 27, 36, 0.22);
  margin-bottom: 1.5rem;
}

.ceo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background-color: #f8fafc;
}

.ceo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 36, 77, 0.06);
  color: var(--color-primary-navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(14, 36, 77, 0.12);
  margin-bottom: 0.6rem;
}

.ceo-name {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-primary-navy);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.ceo-title-role {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-red);
  margin-bottom: 1.25rem;
}

.ceo-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: var(--color-primary-navy);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ceo-link-btn:hover {
  background: var(--color-primary-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 27, 36, 0.25);
}

.ceo-bio-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ceo-bio-quote {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}

.ceo-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.ceo-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary-navy);
}

.ceo-highlight-pill svg {
  color: var(--color-primary-red);
}

/* Team Section Styles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 2.25rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: #fca5a5;
  box-shadow: 0 16px 36px rgba(14, 36, 77, 0.1);
}

.team-avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1.35rem;
  padding: 5px;
  background: linear-gradient(135deg, rgba(229, 27, 36, 0.25) 0%, rgba(14, 36, 77, 0.25) 100%);
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar-wrap {
  transform: scale(1.05);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  background-color: #f8fafc;
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 0.35rem;
}

.team-member-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-red);
  background: rgba(229, 27, 36, 0.08);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.team-member-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.team-member-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: color var(--transition-fast);
}

.team-member-link:hover {
  color: var(--color-primary-red);
}

@media (max-width: 1024px) {
  .ceo-spotlight-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
  }
  .ceo-profile-col {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 2rem;
  }
  .ceo-highlights-row {
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ceo-spotlight-card {
    padding: 2rem 1.5rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   GLOBAL ALIGNMENT, SECTION EYEBROWS, SPLIT GRIDS & PERKS
   ========================================================================== */

/* Section Eyebrow Pill */
.section-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 27, 36, 0.08);
  border: 1px solid rgba(229, 27, 36, 0.22);
  color: var(--color-primary-red);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  width: fit-content;
}

/* Split Columns Layout & Alignment */
.split-col-content,
.content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-col-content .section-headline {
  margin-bottom: 1rem;
}

.split-col-content .section-description {
  margin-bottom: 1.15rem;
  max-width: 100%;
}

.split-col-visual,
.visual-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.visual-img-card {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(14, 36, 77, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background-color: #f8fafc;
}

.visual-img-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Perks & Feature Checklists */
.perks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.check-icon.red-check {
  background-color: rgba(229, 27, 36, 0.1);
  color: var(--color-primary-red);
}

.check-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.perk-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.55;
}

.perk-text strong {
  color: var(--color-primary-navy);
}

/* Care Settings Cards (Staffing Solutions) Fallback Support */
.care-card-overlay {
  display: contents;
}

/* Form Controls & Card Alignment */
.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary-red);
  box-shadow: 0 0 0 3px rgba(229, 27, 36, 0.12);
}

.form-textarea {
  resize: vertical;
}

.form-footer {
  margin-top: 1.25rem;
}

/* Equal Height Pillars & Cards */
.pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

/* 4-Pillars Responsive Grid */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .pillars-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Team Grid Harmonious Centering (5 Members) */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  flex: 0 1 calc(33.333% - 1.5rem);
  min-width: 290px;
  max-width: 370px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .team-card {
    flex: 0 1 calc(50% - 1rem);
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .team-card {
    flex: 0 1 100%;
  }
}

/* Contact Cards Equal Height */
.contact-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-link {
  margin-top: auto;
}

.mascot-story-content {
  display: flex;
  flex-direction: column;
}

/* Jobs Search Filter Alignment & Responsiveness */
.jobs-search-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 1rem;
  align-items: stretch;
}

.jobs-search-row .btn {
  height: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .jobs-search-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .jobs-search-row {
    grid-template-columns: 1fr;
  }
}

/* Facility Intake & Hotline Responsive Alignment */
.hotline-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* Floating Badge in Facilities Section */
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-icon-wrap {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-wrap.red-bg {
  background-color: var(--color-primary-red);
  color: #ffffff;
}

.badge-icon-wrap svg {
  width: 20px;
  height: 20px;
}

/* CTA Text Wrap */
.cta-text-wrap {
  display: flex;
  flex-direction: column;
}

/* Dropdown Toggle & Header Action Alignment */
.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}


.section-action-wrap {
  margin-top: 2rem;
}

.phone-clock {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-navy);
}

.shadow-soft {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.bullet-card-icon {
  flex-shrink: 0;
}

.bullet-card-text {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   SPARKY CHATBOT - THE HEART BEHIND THE EHS HUMMINGBIRD
   ========================================================================== */

/* Keyframe Animations */
@keyframes sparkyFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@keyframes sparkyPulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 35, 41, 0.55), 0 8px 24px rgba(9, 23, 51, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(229, 35, 41, 0), 0 10px 28px rgba(9, 23, 51, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(229, 35, 41, 0), 0 8px 24px rgba(9, 23, 51, 0.35);
  }
}

@keyframes sparkySlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sparkyDotBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

@keyframes sparkyBeaconPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

/* Sparky Floating Launcher */
.sparky-launcher-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.sparky-launcher-btn,
.sparky-teaser-bubble,
.sparky-chat-window.sparky-open {
  pointer-events: auto;
}

.sparky-chat-window:not(.sparky-open),
.sparky-chat-window:not(.sparky-open) * {
  pointer-events: none !important;
}

/* Proactive Teaser Speech Bubble */
.sparky-teaser-bubble {
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 12px 35px rgba(9, 23, 51, 0.18), 0 0 0 1px rgba(9, 23, 51, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 290px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  animation: sparkySlideIn 0.35s ease-out;
  transition: all 0.25s ease;
  border-left: 3px solid var(--color-primary-red);
}

.sparky-teaser-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(9, 23, 51, 0.24);
}

.sparky-teaser-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
  border-right: 1px solid rgba(9, 23, 51, 0.06);
  border-bottom: 1px solid rgba(9, 23, 51, 0.06);
}

.sparky-teaser-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--color-border-subtle);
  overflow: hidden;
}

.sparky-teaser-avatar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sparky-teaser-text {
  flex: 1;
}

.sparky-teaser-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sparky-teaser-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.sparky-teaser-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.sparky-teaser-close:hover {
  color: var(--color-primary-red);
  background: rgba(229, 35, 41, 0.1);
  transform: scale(1.1);
}

.sparky-teaser-close:active {
  transform: scale(0.95);
}

/* Floating Round Button */
.sparky-launcher-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #091733 0%, #152445 60%, #e52329 100%);
  border: 3px solid #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: sparkyPulseRing 3.5s infinite;
}

.sparky-launcher-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 36px rgba(229, 35, 41, 0.55), 0 0 0 3px #ffffff;
}

.sparky-launcher-mascot {
  width: 52px;
  height: 52px;
  object-fit: contain;
  animation: sparkyFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sparky-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-primary-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.sparky-beacon {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  background: #10b981;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 8px #10b981;
  animation: sparkyBeaconPulse 2s infinite;
}

/* Sparky Chat Window */
.sparky-chat-window {
  position: fixed;
  bottom: 104px;
  right: 24px;
  width: 395px;
  height: 610px;
  max-height: calc(100vh - 125px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -10px rgba(9, 23, 51, 0.35), 0 0 0 1px rgba(9, 23, 51, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(0.94);
  transform-origin: bottom right;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  z-index: 100000;
}

.sparky-chat-window.sparky-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.sparky-header {
  background: linear-gradient(135deg, #091733 0%, #152445 60%, #991b1b 100%);
  padding: 14px 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(229, 35, 41, 0.35);
  box-shadow: 0 4px 14px rgba(9, 23, 51, 0.15);
}

.sparky-header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sparky-header-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  flex-shrink: 0;
}

.sparky-header-avatar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sparky-header-avatar .sparky-header-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.sparky-header-details {
  display: flex;
  flex-direction: column;
}

.sparky-header-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.2;
}

.sparky-header-name .sparky-badge-pill {
  background: rgba(229, 35, 41, 0.25);
  color: #fecaca;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  border: 1px solid rgba(229, 35, 41, 0.4);
  letter-spacing: 0.05em;
}

.sparky-header-subtitle {
  font-size: 0.725rem;
  color: #fca5a5;
  font-weight: 600;
  margin: 2px 0 0;
  letter-spacing: -0.01em;
}

.sparky-header-status {
  font-size: 0.675rem;
  color: #86efac;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.sparky-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sparky-header-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.sparky-header-btn:hover {
  background: rgba(229, 35, 41, 0.85);
  border-color: rgba(229, 35, 41, 0.85);
  transform: scale(1.05);
}

/* Chat Messages Container */
.sparky-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.sparky-messages-body::-webkit-scrollbar {
  width: 5px;
}

.sparky-messages-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

/* Chat Message Rows */
.sparky-msg-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: sparkySlideIn 0.25s ease-out;
}

.sparky-msg-row.bot {
  max-width: 90%;
}

.sparky-msg-row.user {
  justify-content: flex-end;
  align-self: flex-end;
  max-width: 84%;
}

.sparky-bot-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(9, 23, 51, 0.08);
}

.sparky-bot-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.sparky-bubble {
  border-radius: 18px;
  padding: 11px 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.sparky-msg-row.bot .sparky-bubble {
  background: #ffffff;
  color: var(--color-navy-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(9, 23, 51, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.sparky-msg-row.user .sparky-bubble {
  background: linear-gradient(135deg, #091733 0%, #1e3a8a 100%);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(9, 23, 51, 0.16);
}

.sparky-bubble p {
  margin: 0 0 6px;
}

.sparky-bubble p:last-child {
  margin-bottom: 0;
}

.sparky-bubble strong {
  color: var(--color-primary-navy);
}

.sparky-msg-row.user .sparky-bubble strong {
  color: #ffffff;
}

.sparky-time {
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
  display: block;
}

.sparky-msg-row.user .sparky-time {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

/* Action Buttons inside Bot Message */
.sparky-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.sparky-action-btn {
  background: #f8fafc;
  color: var(--color-primary-navy);
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sparky-action-btn:hover {
  background: var(--color-primary-navy);
  color: #ffffff;
  border-color: var(--color-primary-navy);
  transform: translateX(2px);
}

.sparky-action-btn.red-action {
  background: rgba(229, 35, 41, 0.08);
  color: var(--color-primary-red);
  border-color: rgba(229, 35, 41, 0.25);
}

.sparky-action-btn.red-action:hover {
  background: var(--color-primary-red);
  color: #ffffff;
  border-color: var(--color-primary-red);
}

/* Typing Indicator */
.sparky-typing-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}

.sparky-typing-bubble {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(9, 23, 51, 0.04);
}

.sparky-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary-red);
  animation: sparkyDotBounce 1.4s infinite ease-in-out;
}

.sparky-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.sparky-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Quick Suggestion Chips */
.sparky-chips-bar {
  padding: 8px 12px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sparky-chip {
  background: #f1f5f9;
  color: var(--color-primary-navy);
  border: 1px solid #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sparky-chip:hover {
  background: var(--color-primary-navy);
  color: #ffffff;
  border-color: var(--color-primary-navy);
  transform: translateY(-1px);
}

/* Chat Input Bar */
.sparky-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.sparky-input-field {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 9px 15px;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.sparky-input-field:focus {
  border-color: var(--color-primary-red);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(229, 35, 41, 0.12);
}

.sparky-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary-red);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(229, 35, 41, 0.35);
}

.sparky-send-btn:hover {
  background: #c81e24;
  transform: scale(1.05);
}

.sparky-send-btn svg {
  width: 17px;
  height: 17px;
  transform: translateX(1px);
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .sparky-launcher-wrap {
    bottom: 16px;
    right: 16px;
  }

  .sparky-launcher-btn {
    width: 60px;
    height: 60px;
  }

  .sparky-launcher-mascot {
    width: 46px;
    height: 46px;
  }

  .sparky-chat-window {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 84px;
    height: calc(100dvh - 96px);
    height: calc(100vh - 96px);
    max-height: 560px;
    border-radius: 20px;
  }

  .sparky-teaser-bubble {
    right: 16px;
    max-width: 250px;
  }
}

/* ==========================================================================
   GLOBAL MULTI-DEVICE & MOBILE RESPONSIVENESS SYSTEM
   Desktop, Tablet Landscape, Tablet Portrait, Phablet, Mobile Standard, Mobile XS
   ========================================================================== */

/* --- Base & HTML / Viewport Safeguards --- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* Fluid Responsive Containers */
@media (max-width: 1200px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .section,
  .internal-section,
  .internal-section-alt {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  input, select, textarea,
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section,
  .internal-section,
  .internal-section-alt {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* --- Responsive Modals System --- */
@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-dialog,
  .modal-card {
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    max-height: 94vh !important;
    border-radius: 18px !important;
  }

  .modal-header {
    padding: 1.15rem 1.25rem !important;
  }

  .modal-title {
    font-size: 1.2rem !important;
  }

  .modal-form {
    padding: 1.25rem 1.15rem !important;
    gap: 0.85rem !important;
  }

  .modal-footer {
    flex-direction: column-reverse;
    width: 100%;
    gap: 0.65rem;
    padding: 1rem 1.15rem 1.4rem !important;
  }

  .modal-form .modal-footer {
    padding: 0.85rem 0 0.25rem !important;
  }

  .modal-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 420px) {
  .modal-overlay {
    padding: 0.45rem !important;
  }

  .modal-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }

  .modal-badge svg {
    width: 18px !important;
    height: 18px !important;
  }

  .modal-close {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 1.15rem !important;
  }

  .modal-header {
    padding: 0.85rem 1rem !important;
  }

  .modal-title {
    font-size: 1.05rem !important;
  }

  .modal-form {
    padding: 1rem 0.85rem !important;
  }
}

/* --- Form Grids & Intake Cards --- */
@media (max-width: 640px) {
  .intake-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .intake-full-col {
    grid-column: auto !important;
  }
}

@media (max-width: 768px) {
  .staffing-intake-card {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 480px) {
  .staffing-intake-card {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
  }
}

/* --- Contact & About Components --- */
@media (max-width: 860px) {
  .contact-channels-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 520px) {
  .impact-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

.contact-info-card {
  padding: 2.25rem;
}

@media (max-width: 640px) {
  .contact-info-card {
    padding: 1.5rem 1.15rem !important;
  }
}

@media (max-width: 380px) {
  .contact-info-card {
    padding: 1.25rem 0.85rem !important;
  }
}

.compliance-guarantee-card {
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .compliance-guarantee-card {
    padding: 1.5rem 1.15rem !important;
  }
}

@media (max-width: 380px) {
  .compliance-guarantee-card {
    padding: 1.25rem 0.85rem !important;
  }
}

/* --- Job Portal Responsiveness --- */
@media (max-width: 640px) {
  .job-results-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    margin-top: 2rem !important;
  }

  .job-card {
    padding: 1.35rem 1.15rem !important;
  }
}

@media (max-width: 540px) {
  .job-card-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }
  
  .job-pay-badge {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .job-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .job-card-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .job-tab-btn {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.75rem !important;
  }
}

/* --- Policy & Legal Cards --- */
@media (max-width: 768px) {
  .policy-card {
    padding: 2.25rem 1.75rem !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 480px) {
  .policy-card {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
  }
  
  .policy-card h2 {
    font-size: 1.35rem !important;
  }
}

/* --- Pennsylvania Page Component Grids --- */
.pa-trust-section {
  padding: 2.25rem 0;
}

.pa-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.pa-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pa-trust-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  line-height: 1.25;
  white-space: nowrap;
}

.pa-trust-lbl {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .pa-trust-grid {
    gap: 1rem;
  }
  .pa-trust-item {
    gap: 0.75rem;
  }
  .pa-trust-val {
    font-size: 1.08rem;
  }
  .pa-trust-lbl {
    font-size: 0.78rem;
  }
}

@media (max-width: 1024px) {
  .pa-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .pa-trust-section {
    padding: 1.75rem 0;
  }

  .pa-trust-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

.pa-path-card {
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .pa-path-card {
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .pa-path-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 380px) {
  .pa-path-card {
    padding: 1.35rem 0.95rem;
  }
}

.pa-regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .pa-regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .pa-regions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.pa-compliance-card,
.pa-intake-card {
  padding: 2.5rem;
}

@media (max-width: 640px) {
  .pa-compliance-card,
  .pa-intake-card {
    padding: 1.5rem 1.15rem;
  }
}

@media (max-width: 380px) {
  .pa-compliance-card,
  .pa-intake-card {
    padding: 1.25rem 0.85rem;
  }
}

.pa-final-headline {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.pa-final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .pa-final-cta-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .pa-final-cta-btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Internal Page Heroes --- */
@media (max-width: 520px) {
  .page-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .page-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Sparky AI Floating Chat Safe Margins on Ultra-Compact Devices --- */
@media (max-width: 360px) {
  .sparky-launcher-wrap {
    bottom: 12px;
    right: 12px;
  }

  .sparky-launcher-btn {
    width: 50px;
    height: 50px;
  }

  .sparky-launcher-mascot {
    width: 38px;
    height: 38px;
  }

  .sparky-chat-window {
    width: calc(100vw - 12px);
    right: 6px;
    bottom: 68px;
    height: calc(100dvh - 80px);
  }
}

