@font-face {
    font-family: 'Quicksand';
    src: url('/static/font/Quicksand/Quicksand-Light.woff2') format('woff2'),
         url('/static/font/Quicksand/Quicksand-Light.woff') format('woff'),
         url('/static/font/Quicksand/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/static/font/Quicksand/Quicksand-Regular.woff2') format('woff2'),
         url('/static/font/Quicksand/Quicksand-Regular.woff') format('woff'),
         url('/static/font/Quicksand/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/static/font/Quicksand/Quicksand-Medium.woff2') format('woff2'),
         url('/static/font/Quicksand/Quicksand-Medium.woff') format('woff'),
         url('/static/font/Quicksand/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/static/font/Quicksand/Quicksand-Bold.woff2') format('woff2'),
         url('/static/font/Quicksand/Quicksand-Bold.woff') format('woff'),
         url('/static/font/Quicksand/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Apply Quicksand as the primary font */
:root {
    --bs-body-font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Override Bootstrap's font-family */
body {
    font-family: var(--bs-body-font-family) !important;
}

/* Ensure headings also use Quicksand */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
