/*your custom css goes here*/

/* Space Grotesk Global Font Override */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Universal font family override - EXCLUDING icon fonts */
*:not([class*="la-"]):not([class*="las"]):not([class*="lab"]):not([class*="lad"]):not([class*="lar"]):not([class*="fas"]):not([class*="far"]):not([class*="fab"]):not([class*="fad"]):not([class*="fal"]):not([class*="fa-"]):not(i[class*="icon"]):not(.icon):not([class*="material-icons"]):not([class*="glyphicon"]) {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Specific element overrides - EXCLUDING icon elements */
body, html, div:not([class*="la-"]):not([class*="las"]):not([class*="fa-"]), span:not([class*="la-"]):not([class*="las"]):not([class*="fa-"]), p, h1, h2, h3, h4, h5, h6, 
a:not([class*="la-"]):not([class*="las"]):not([class*="fa-"]), button, input, textarea, select, label, 
.btn, .form-control, .dropdown-item, .nav-link,
.card-title, .card-text, .modal-title, .modal-body,
.navbar-brand, .breadcrumb-item, .badge, .alert,
.table, .table th, .table td {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Bootstrap component overrides */
.navbar, .nav, .card, .modal, .dropdown-menu,
.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info,
.form-group, .input-group, .list-group-item {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Preserve icon fonts - IMPORTANT: Keep these font families intact */
.la, .las, .lab, .lad, .lar, [class*="la-"], [class*="las"], [class*="lab"], [class*="lad"], [class*="lar"],
.fa, .fas, .far, .fab, .fad, .fal, [class*="fa-"], 
.icon, [class*="icon"], .material-icons, .glyphicon, [class*="glyphicon"] {
    font-family: inherit !important;
}

/* Line Awesome icons specifically */
.la, .las, .lab, .lad, .lar, [class*="la-"] {
    font-family: "Line Awesome Brands", "Line Awesome Free", "Line Awesome" !important;
}

/* Font Awesome icons specifically */
.fa, .fas, .far, .fab, .fad, .fal, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", FontAwesome !important;
}

/* Ensure consistent font weights with Space Grotesk */
.fw-300, .font-weight-light { font-weight: 300 !important; }
.fw-400, .font-weight-normal { font-weight: 400 !important; }
.fw-500, .font-weight-medium { font-weight: 500 !important; }
.fw-600, .font-weight-semibold { font-weight: 600 !important; }
.fw-700, .font-weight-bold { font-weight: 700 !important; }