/* English Fonts - Macan */
@font-face {
    font-family: 'Macan';
    src: url('fonts/Macan-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Macan';
    src: url('fonts/Macan-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Macan';
    src: url('fonts/Macan-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Hebrew Fonts - Eleganti */
@font-face {
    font-family: 'Eleganti';
    src: url('fonts/Eleganti-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Eleganti';
    src: url('fonts/Eleganti-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Eleganti';
    src: url('fonts/Eleganti-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Arabic Fonts - Albert */
@font-face {
    font-family: 'Albert';
    src: url('fonts/Albert-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Albert';
    src: url('fonts/Albert-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Albert';
    src: url('fonts/Albert-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Albert';
    src: url('fonts/Albert-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Russian Fonts - Graphik */
@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Graphik';
    src: url('fonts/Graphik-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global Font Classes */
.global-light * {
  font-weight: 300 !important;
}

.global-regular * {
    font-weight: 400 !important;
}

.global-semibold * {
    font-weight: 600 !important;
}

.global-bold * {
    font-weight: 700 !important;
}

/* Language-specific font family */
html[lang|="en"] .global-regular,
html[lang|="en"] .global-semibold,
html[lang|="en"] .global-bold
html[lang|="en"] .global-light{
    font-family: 'Macan', sans-serif !important;
}

html[lang="he-IL"] .global-regular,
html[lang="he-IL"] .global-semibold,
html[lang="he-IL"] .global-bold
html[lang="he-IL"] .global-light {
    font-family: 'Eleganti', sans-serif !important;
}

html[lang="ar"] .global-regular,
html[lang="ar"] .global-semibold,
html[lang="ar"] .global-bold
html[lang="ar"] .global-light {
    font-family: 'Albert', sans-serif !important;
}

html[lang="ru"] .global-regular,
html[lang="ru"] .global-semibold,
html[lang="ru"] .global-bold
html[lang="ru"] .global-light {
    font-family: 'Graphik', sans-serif !important;
}