﻿@font-face {
    font-family: 'EnglishFont';
    unicode-range: U+0041-005A, U+0061-007A; /* محدوده یونیکد برای حروف انگلیسی بزرگ و کوچک */
}


:root {
    --base-color: #0046f5;
    --medium-gray: #59595C;
    --dark-gray: #242E45;
    --light-gray: #878898;
    --alt-font: 'farhang2', 'english';
    --primary-font: 'farhang2', 'english';
    --ar-body-font-family 'farhang2';
    --ar-font-sans-serif: 'farhang2', sans-serif;
}

.text-base-color {
    font-family: 'farhang2', "EnglishFont"; /* فونت اصلی و فونت انگلیسی */
}

text-base-color::selection {
    color: red; /* تنظیم رنگ برای کلمات انگلیسی */
}


body {
    font-size: 18px;
    line-height: 28px;
    word-spacing: -0.1em
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
    font-weight: 500;
    word-spacing: -0.1em
}

h1, .h1 {
    font-size: 3.65rem;
    line-height: 4.2rem;
}

h2, .h2 {
    font-size: 2.65rem;
}

h3, .h3 {
    font-size: 2.25rem;
    line-height: 3.125rem;
}

h4, .h4 {
    font-size: 1.95rem;
    line-height: 3.125rem;
}

h5, .h5 {
    font-size: 1.4rem;
    line-height: 2.5rem;
}

a {
    color: var(--dark-gray);
}

header .navbar-brand {
    padding: 20px 0;
}

header.sticky .navbar-brand {
    padding: 15px 0;
}

    header.sticky .navbar-brand img {
        max-height: 35px;
    }

.navbar .navbar-nav .nav-link {
    font-size: 19px;
}

header .navbar {
    border-top: 4px solid #FFC000;
}

header.sticky .navbar .navbar-nav .nav-link {
    font-size: 17px;
}


.navbar .btn.btn-switch-text.btn-medium > span {
    padding: 5px 25px;
    font-size: 17px;
}

header.sticky .navbar .btn.btn-switch-text.btn-medium > span {
    padding: 5px 25px;
    font-size: 15px;
}

.navbar .navbar-nav .nav-item:hover .nav-link, .navbar .navbar-nav .nav-item.active .nav-link {
    opacity: 1;
    color: var(--base-color);
}



footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: var(--very-light-gray);
    position: relative;
}

    footer .footer-logo img {
        max-height: 42px;
    }

    footer .footer-pattern {
        position: absolute;
        top: 25px;
        left: 25px;
        z-index: 1;
    }

        footer .footer-pattern img {
            width: 200px;
        }

        footer .footer-pattern .cls-1, footer .footer-pattern .cls-2 {
            fill: #0000cd !important;
            stroke-width: 0px;
        }



    footer.style-2 {
        position: relative
    }

        footer.style-2 .footer-logo img {
            max-height: 64px;
            position: relative;
            z-index: 2;
        }



        footer.style-2 .footer-logo-box {
            position: absolute;
            width: calc(50% - 380px);
            height: 120px;
            background: var(--base-color);
            top: 20px;
            left: 0;
            z-index: 1;
        }

.bg-gradient-transparent-base {
    background-image: linear-gradient(to top, var(--base-color), rgba(0,0,0,0));
}

.navbar .navbar-nav .nav-item > a > i {
    display: block;
    margin-right: 5px !important;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.navbar .navbar-nav .nav-item > a:hover > i {
    display: block;
    margin-right: 5px !important;
    margin-top: 5px !important;
}


.navbar .navbar-nav .nav-item .dropdown-toggle:after {
    display: none;
    border: 0;
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    background-color: #fff;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    border-radius: 0;
    box-shadow: none;
    /*    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.85) !important;*/
}

    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        font-size: 16px;
        line-height: 28px;
        padding: 14px 25px 14px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        color: var(--dark-gray);
    }

        .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
        .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a {
            opacity: 1;
            color: var(--base-color);
            padding-right: 28px;
        }


.navbar.header-light .navbar-nav .dropdown .dropdown-menu a {
    font-size: 16px;
    line-height: 28px;
    padding: 14px 0px 14px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

    .navbar.header-light .navbar-nav .dropdown .dropdown-menu a:hover, .navbar.header-light .navbar-nav .dropdown .dropdown-menu li.active > a {
        opacity: 1;
        color: var(--base-color)
    }



.demo-corporate-slider_wrapper, .full-screen-slider {
    height: 88vh !important;
}

.full-screen {
    height: 100vh !important;
}

header .navbar [class*=col-] .navbar-nav {
    gap: 22px;
}

    header .navbar [class*=col-] .navbar-nav .nav-item a {
        align-self: center;
        padding: 18px 0;
    }


.navbar .navbar-nav .nav-link {
    line-height: 32px !important;
}

.navbar .navbar-nav .nav-item .nav-link:before, .navbar .navbar-nav .nav-item .nav-link:after {
    content: '';
    width: 0px;
    height: 2px;
    position: absolute;
    bottom: 12px;
    right: 0;
    transition: all 0.3s ease-in-out;
}

.navbar .navbar-nav .nav-item .nav-link.lang:before, .navbar .navbar-nav .nav-item .nav-link.lang:after {
    bottom: -11px;
}

.navbar .navbar-nav .nav-item .nav-link:before {
    background: #f7f7f7;
}

.navbar .navbar-nav .nav-item .nav-link:after {
    background: #0045f5;
}

.navbar .navbar-nav .nav-item.active .nav-link:before {
    width: 100%;
}

.navbar .navbar-nav .nav-item.active .nav-link:after {
    width: 15px;
}

.navbar .navbar-nav .nav-item .nav-link:hover:after {
    width: 100%;
}

.divider-line {
    width: 1px;
    height: 22px;
    background: #ddd;
    display: inline-block;
}

button.mfp-close:before, button.mfp-close:active:before {
    font-family: "Font Awesome 5 Pro";
}

button.mfp-close, button.mfp-close:active {
    top: 0
}


.video-icon i {
    margin-right: 0
}


.counter-style-06 .feature-box-content .counter-title {
    top: auto;
}

.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: inherit;
}

.slider-navigation-style-06.swiper-button-prev {
    right: 60px;
    left: inherit;
}

.row.gutter-very-small {
    margin-right: -5px;
    margin-left: -5px;
}

    .row.gutter-very-small > * {
        padding-left: 2px;
        padding-right: 2px;
    }

.row.gutter-very-small {
    margin-right: -2px;
    margin-left: -2px;
}

    .row.gutter-very-small > * {
        padding-left: 2px;
        padding-right: 2px;
    }


.scroll-progress .scroll-text {
    -webkit-transform: rotate(-180deg);
    transform: rotate(90deg);
    writing-mode: vertical-lr;
    margin-bottom: 15px;
    color: var(--white);
    font-size: 30px;
    text-transform: uppercase;
    position: absolute;
    top: -33px;
    right: -15px;
}

.scroll-progress .scroll-top {
    margin-left: 15px;
}

.interactive-banner-style-04 .object-fit {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.arrow {
    border: solid #fff;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 10px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.interactive-banner-style-04 figure:hover .bg-gradient-gray-light-dark-transparent {
    background-image: linear-gradient(to top, rgb(32 35 41) 15%, transparent 100%);
    opacity: 1;
}

.interactive-banner-style-09 .image-content .content-title {
    opacity: 0.8;
    line-height: 1.3
}

.card-title {
    line-height: 1.2em
}

article.body .blockquote {
    font-size: 1.4rem;
    line-height: 1.7em;
    font-weight: 600
}

    article.body .blockquote:before, article.body .blockquote:after {
        font-weight: 100 !important;
    }


#table-contents ul {
    list-style: none;
    padding: 0;
}

    #table-contents ul li a {
        text-decoration: none;
        display: block;
        margin-bottom: 15px;
        padding-right: 1rem;
        border-right: 3px solid transparent;
        transition: all 0.3s ease-in-out;
    }

        #table-contents ul li a:hover {
            color: var(--base-color);
        }

        #table-contents ul li a.selected {
            color: var(--base-color);
            border-right: 3px solid var(--base-color);
        }
