/* Roboto Font Override - Replace all non-icon fonts with Roboto */

/* Base font family override for all text elements - exclude icon elements */
*:not([class*=' eicon-']):not([class^='eicon']):not([class*=' fa-']):not(
        [class^='fa']
    ):not([class*=' fab']):not([class^='fab']):not([class*=' fas']):not(
        [class^='fas']
    ):not([class*=' far']):not([class^='far']):not([class*=' fal']):not(
        [class^='fal']
    ):not([class*=' fad']):not([class^='fad']):not(.fa):not(.fab):not(.fas):not(
        .far
    ):not(.fal):not(.fad):not(svg):not(svg *) {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Preserve icon fonts - restore original icon font families */
[class*=' eicon-'],
[class^='eicon'] {
    font-family: eicons !important;
}

/* Preserve SVG icons and other non-text elements */
svg,
svg *,
.mobile-menu-toggle-icon,
.ahfb-svg-iconset,
.ast-mobile-svg {
    font-family: inherit !important;
}

[class*=' fa-'],
[class^='fa'],
.fa {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

[class*=' fab'],
[class^='fab'],
.fab {
    font-family: 'Font Awesome 5 Brands' !important;
    font-weight: 400 !important;
}

[class*=' fas'],
[class^='fas'],
.fas {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
}

[class*=' far'],
[class^='far'],
.far {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 400 !important;
}

[class*=' fal'],
[class^='fal'],
.fal {
    font-family: 'Font Awesome 5 Pro' !important;
    font-weight: 300 !important;
}

[class*=' fad'],
[class^='fad'],
.fad {
    font-family: 'Font Awesome 5 Duotone' !important;
    font-weight: 900 !important;
}

/* Specific Elementor overrides */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4,
.elementor-widget-text-editor h5,
.elementor-widget-text-editor h6,
.elementor-widget-text-editor div,
.elementor-widget-text-editor span,
.elementor-widget-text-editor a,
.elementor-widget-text-editor li,
.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Navigation menu fonts */
.main-header-menu,
.main-header-menu a,
.main-header-menu li,
.site-navigation,
.site-navigation a,
.site-navigation li,
.menu-link {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Button fonts */
.elementor-button,
.elementor-button-text,
.wpforms-submit,
button,
input[type='submit'],
input[type='button'] {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Form fonts */
input,
textarea,
select,
.wpforms-field,
.wpforms-field-label {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Testimonial fonts */
.elementor-testimonial-content,
.elementor-testimonial-name,
.elementor-testimonial-details {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Accordion fonts */
.elementor-accordion-title,
.elementor-tab-title,
.elementor-tab-content,
.elementor-tab-content p {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Icon box fonts */
.elementor-icon-box-title,
.elementor-icon-box-description {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Footer fonts */
.site-footer,
.site-footer p,
.site-footer a,
.ast-footer-copyright {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Site branding */
.site-branding,
.custom-logo-link {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* General text elements */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
div,
span,
a,
li,
ul,
ol,
td,
th,
label {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen,
        Ubuntu, Cantarell, sans-serif !important;
}

/* Ensure proper font weights are maintained */
.elementor-heading-title {
    font-weight: 700 !important;
}

.elementor-button-text {
    font-weight: 500 !important;
}

.menu-link {
    font-weight: 400 !important;
}

.elementor-testimonial-name {
    font-weight: 600 !important;
}

.elementor-icon-box-title {
    font-weight: 600 !important;
}
