/*
|--------------------------------------------------------------------------
| Tivan Public - FontAwesome HARD Fix
|--------------------------------------------------------------------------
| Load this file after Vazirmatn CSS.
|--------------------------------------------------------------------------
*/

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/assets/vendor/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("/assets/vendor/fontawesome/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/vendor/fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("/assets/vendor/fontawesome/webfonts/fa-regular-400.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/vendor/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("/assets/vendor/fontawesome/webfonts/fa-brands-400.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/assets/vendor/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("/assets/vendor/fontawesome/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/vendor/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("/assets/vendor/fontawesome/webfonts/fa-brands-400.woff") format("woff");
}

/* Important: override Vazirmatn on icon pseudo elements */
i.fa,
i.fas,
i.far,
i.fab,
i.fa-solid,
i.fa-regular,
i.fa-brands,
i[class^="fa-"],
i[class*=" fa-"] {
    font-style: normal !important;
    line-height: 1 !important;
    display: inline-block !important;
}

i.fa::before,
i.fas::before,
i.fa-solid::before,
.fa::before,
.fas::before,
.fa-solid::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

i.far::before,
i.fa-regular::before,
.far::before,
.fa-regular::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

i.fab::before,
i.fa-brands::before,
.fab::before,
.fa-brands::before {
    font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* FA6 class compatibility with FA5 font */
.fa-house::before { content: "\f015" !important; }
.fa-home::before { content: "\f015" !important; }

.fa-envelope::before { content: "\f0e0" !important; }
.fa-phone::before { content: "\f095" !important; }
.fa-phone-alt::before { content: "\f879" !important; }
.fa-phone-volume::before { content: "\f2a0" !important; }
.fa-mobile-alt::before { content: "\f3cd" !important; }
.fa-map-marker-alt::before { content: "\f3c5" !important; }

.fa-arrow-left::before { content: "\f060" !important; }
.fa-chevron-right::before { content: "\f054" !important; }
.fa-chevron-left::before { content: "\f053" !important; }
.fa-chevron-up::before { content: "\f077" !important; }

.fa-shield-halved::before,
.fa-shield-alt::before { content: "\f3ed" !important; }

.fa-gears::before,
.fa-cogs::before { content: "\f085" !important; }

.fa-users-gear::before,
.fa-users-cog::before { content: "\f509" !important; }

.fa-headset::before { content: "\f590" !important; }
.fa-box-open::before { content: "\f49e" !important; }
.fa-network-wired::before { content: "\f6ff" !important; }
.fa-project-diagram::before,
.fa-diagram-project::before,
.fa-circle-nodes::before { content: "\f542" !important; }

.fa-info-circle::before,
.fa-circle-info::before { content: "\f05a" !important; }

.fa-balance-scale::before,
.fa-scale-balanced::before { content: "\f24e" !important; }

.fa-sign-in-alt::before,
.fa-right-to-bracket::before { content: "\f2f6" !important; }

.fa-broadcast-tower::before,
.fa-tower-broadcast::before { content: "\f519" !important; }

.fa-plug::before,
.fa-plug-circle-bolt::before { content: "\f1e6" !important; }

.fa-store::before { content: "\f54e" !important; }
.fa-newspaper::before { content: "\f1ea" !important; }
.fa-images::before { content: "\f302" !important; }
.fa-certificate::before { content: "\f0a3" !important; }
.fa-handshake::before { content: "\f2b5" !important; }
.fa-user-shield::before { content: "\f505" !important; }
.fa-scale-balanced::before { content: "\f24e" !important; }
.fa-tools::before { content: "\f7d9" !important; }
.fa-comments::before { content: "\f086" !important; }
.fa-drafting-compass::before { content: "\f568" !important; }
.fa-check-circle::before { content: "\f058" !important; }
.fa-clock::before { content: "\f017" !important; }
.fa-users::before { content: "\f0c0" !important; }

/* Brand icons */
.fa-linkedin::before { content: "\f08c" !important; }
.fa-instagram::before { content: "\f16d" !important; }
.fa-telegram::before { content: "\f2c6" !important; }
.fa-whatsapp::before { content: "\f232" !important; }

/* Icon sizing */
.service-icon,
.step-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.service-icon i::before {
    font-size: 28px !important;
}

.step-icon i::before {
    font-size: 22px !important;
}

.badge-item i::before {
    font-size: 26px !important;
}

.nav i::before {
    font-size: 13px !important;
}

.btn-primary i::before,
.btn-hero i::before,
.btn-footer-cta i::before {
    font-size: 14px !important;
}