/* IRANSansXVF Font Face Declarations */
@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Light.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_UltraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXVF';
    src: url('../fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root body{
    font-family: 'IRANSansXVF', sans-serif !important;
}

/* Typography System Classes */

/* Display Styles */
.text-display-1 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.02em;
}

.text-display-y {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.02em;
}

/* Heading Styles */
.text-h1 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

.text-h2 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

.text-h3 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

.text-h4 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

.text-h5 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

.text-h6 {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.01em;
}

/* Body Styles */
.text-body-xl {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 44px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-xlg {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-lg {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-md {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-smd {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-regular {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-s {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-xs {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

.text-body-xxs {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

/* Button & Mobile Styles */
.text-button-xlg {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0;
}

.text-button-lg {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-button-md {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-button-s {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

.text-mobile-card {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 0;
}

.text-mobile {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0;
}

/* Caption Styles */
.text-caption-lg {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: 0;
}

.text-caption-md {
    font-family: 'IRANSansXVF', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0;
}

/* Font Weight Utilities */
.font-thin {
    font-weight: 100;
}

.font-ultralight {
    font-weight: 200;
}

.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-demibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

/* Direction Support for RTL */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .text-display-1 {
        font-size: 48px;
    }

    .text-display-y {
        font-size: 40px;
    }

    .text-h1 {
        font-size: 32px;
    }

    .text-h2 {
        font-size: 28px;
    }

    .text-h3 {
        font-size: 24px;
    }

    .text-body-xl {
        font-size: 32px;
    }

    .text-body-xlg {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .text-display-1 {
        font-size: 36px;
    }

    .text-display-y {
        font-size: 32px;
    }

    .text-h1 {
        font-size: 28px;
    }

    .text-h2 {
        font-size: 24px;
    }

    .text-h3 {
        font-size: 20px;
    }

    .text-body-xl {
        font-size: 24px;
    }

    .text-body-xlg {
        font-size: 20px;
    }
}
