/* ROBOTO SLAB FONT FAMILY - Critical fonts with swap for immediate visibility */
@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

/* Non-critical Roboto Slab weights - optional display to prevent layout shifts */
@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-semi-bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-extra-bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../../fonts/roboto-slab-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

/* BALOO THAMBI 2 FONT FAMILY - Critical fonts with swap for immediate visibility */
@font-face {
    font-family: 'Baloo Thambi 2';
    src: url('../../fonts/baloo-thambi2-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

@font-face {
    font-family: 'Baloo Thambi 2';
    src: url('../../fonts/baloo-thambi2-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

@font-face {
    font-family: 'Baloo Thambi 2';
    src: url('../../fonts/baloo-thambi2-semi-bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap; /* Critical font - show immediately */
}

/* Non-critical Baloo Thambi 2 weights - optional display to prevent layout shifts */
@font-face {
    font-family: 'Baloo Thambi 2';
    src: url('../../fonts/baloo-thambi2-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

@font-face {
    font-family: 'Baloo Thambi 2';
    src: url('../../fonts/baloo-thambi2-extra-bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: optional; /* Non-critical - don't block rendering */
}

/* Font fallback optimization */
.font-baloo {
    font-family: 'Baloo Thambi 2', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-display: swap;
}

.font-roboto {
    font-family: 'Roboto Slab', Georgia, 'Times New Roman', serif;
    font-display: swap;
}