/* Font Override CSS - Optimized for performance */
:root {
  --livvic: var(--font-livvic);
  --raleway: var(--font-livvic);
  --figtree: var(--font-livvic);
  --font-primary: var(--font-livvic);
  --font-secondary: var(--font-livvic);
  --bs-body-font-family: var(--font-livvic);
  --bs-font-sans-serif: var(--font-livvic);
}

/* Global font override with fallback */
* {
  font-family: var(--font-livvic), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Preserve Font Awesome for icons */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone,
.fa-brands {
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
}

.fab,
.fa-brands {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
}

/* Bootstrap overrides with fallback */
body,
button,
input,
optgroup,
select,
textarea {
  font-family: var(--font-livvic), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Specific class overrides with fallback */
.heading1,
.heading2,
.heading3,
.heading4,
.heading5,
.heading6,
.heading7,
.heading8,
.heading9,
.heading10,
.heading11 {
  font-family: var(--font-livvic), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Form elements with fallback */
input,
textarea,
select,
button {
  font-family: var(--font-livvic), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Add Livvic utility class */
.font-livvic {
  font-family: var(--font-livvic), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Performance optimizations */
.font-display-swap {
  font-display: swap;
} 