/* Font Loading and Fallbacks */

/* Ensure proper font loading - EkMukta for Marathi */
@import url('https://fonts.googleapis.com/css2?family=Ek+Mukta:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Font Awesome fallback */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* Base font stack */
body, html, * {
    font-family: 'Ek Mukta', 'Poppins', 'Arial', sans-serif !important;
}

/* Marathi text specific */
.marathi-text, .devanagari {
    font-family: 'Ek Mukta', 'Arial', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
    font-feature-settings: "liga" 1, "calt" 1;
    text-rendering: optimizeLegibility;
}

/* Font Awesome icons */
.fa {
    font-family: 'FontAwesome' !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa:before {
    font-family: 'FontAwesome' !important;
}

/* Icon fallbacks */
.fa-graduation-cap:before { content: "\f19d"; }
.fa-book:before { content: "\f02d"; }
.fa-users:before { content: "\f0c0"; }
.fa-trophy:before { content: "\f091"; }
.fa-chart-bar:before { content: "\f080"; }
.fa-sign-in:before { content: "\f090"; }
.fa-user-plus:before { content: "\f234"; }
.fa-dashboard:before { content: "\f0e4"; }
.fa-eye:before { content: "\f06e"; }
.fa-check-circle:before { content: "\f058"; }

/* Font loading test */
.font-test {
    font-family: 'Ek Mukta', 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
}

/* Ensure proper rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
