/* Global Inter Font Application */
/* Apply Inter font to all elements except icon fonts */

/* Universal selector with icon font exclusions */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Override Elementor global typography variables */
.elementor-kit-873 {
  --e-global-typography-primary-font-family: 'Inter' !important;
  --e-global-typography-secondary-font-family: 'Inter' !important;
  --e-global-typography-text-font-family: 'Inter' !important;
  --e-global-typography-accent-font-family: 'Inter' !important;
}

/* Override any Core font family usage */
[style*="font-family: 'Core'"],
[style*="font-family: Core"],
.elementor-element[data-settings*="Core"] {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Preserve icon fonts - Font Awesome */
i.fa,
i.fas,
i.far,
i.fal,
i.fad,
.fa,
.fas,
.far,
.fal,
.fad,
[class*="fa-"]:not([class*="fab"]),
[class^="fa-"]:not([class*="fab"]) {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
}

/* Preserve Font Awesome Brand icons specifically */
i.fab,
.fab,
[class*="fab"],
.fab[class*="fa-"],
i.fab[class*="fa-"] {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* Preserve Elementor icons */
i.eicon,
.eicon,
[class*="eicon-"],
[class^="eicon-"] {
  font-family: "eicons" !important;
}

/* Preserve other icon fonts */
[class*="icon-"],
[class^="icon-"],
i[class*="icon-"],
i[class^="icon-"] {
  font-family: inherit !important;
}

/* Apply Inter to common text elements with higher specificity */
html,
body,
h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
input, textarea, select, label,
li, td, th,
figcaption,
code, kbd, samp,
small, sub, sup,
abbr, b, strong,
legend, fieldset {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Override theme body styles specifically */
body.hello-elementor,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Elementor specific overrides */
.elementor-heading-title,
.elementor-text-editor,
.elementor-button,
.elementor-nav-menu,
.elementor-widget,
.elementor-element,
.elementor-widget-container,
.elementor-column,
.elementor-section,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-button .elementor-button,
.elementor-widget-social-icons,
.elementor-social-icon,
.elementor-icon-list-item,
.elementor-icon-list-text,
.elementor-accordion-title,
.elementor-accordion-content,
.elementor-tab-title,
.elementor-tab-content,
.elementor-testimonial-content,
.elementor-testimonial-name,
.elementor-testimonial-job,
.elementor-price-table,
.elementor-counter-number,
.elementor-counter-title,
.elementor-progress-title,
.elementor-call-to-action,
.elementor-image-box-title,
.elementor-image-box-description,
.elementor-star-rating,
.elementor-widget-container *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
.elementor-element *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
.jet-elements *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
.jet-listing-grid *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
.jet-engine *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
[class*="elementor-"] *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]),
[class^="elementor-"] *:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Font smoothing and OpenType features */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Final comprehensive override - catch all remaining elements */
*:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.eicon) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Override any inline styles that might set font-family */
[style*="font-family"]:not(i):not([class*="fa-"]):not([class^="fa-"]):not([class*="eicon-"]):not([class^="eicon-"]):not([class*="icon-"]):not([class^="icon-"]) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Preserve icon font smoothing */
i.fa, i.fas, i.far, i.fab, i.fal, i.fad,
i.eicon,
.fab,
[class*="fa-"], [class^="fa-"],
[class*="fab"],
[class*="eicon-"], [class^="eicon-"],
[class*="icon-"], [class^="icon-"] {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  font-feature-settings: normal;
}

/* Remove green hover color from footer social media icons */
.elementor-social-icon:hover,
.elementor-social-icon:hover i,
.elementor-social-icon a:hover,
.elementor-social-icon a:hover i,
footer .elementor-social-icon:hover,
footer .elementor-social-icon:hover i,
footer .elementor-social-icon a:hover,
footer .elementor-social-icon a:hover i,
.elementor-widget-social-icons .elementor-social-icon:hover,
.elementor-widget-social-icons .elementor-social-icon:hover i,
.elementor-widget-social-icons .elementor-social-icon a:hover,
.elementor-widget-social-icons .elementor-social-icon a:hover i {
  color: inherit !important;
  background-color: transparent !important;
}