﻿@font-face {
    font-family: 'iransansM';
    src: url('../fonts/IRANSansMedium.woff');
    src: local('☺'), url('../fonts/IRANSansMedium.woff') format('woff');
}

@font-face {
    font-family: 'iransansL';
    src: url('../fonts/IRANSansWeb.woff');
    src: local('☺'), url('../fonts/IRANSansWeb.woff') format('woff');
}

@font-face {
    font-family: 'Peyda-B';
    src: url('../fonts/Peyda-Bold.ttf');
    src: local('☺'), url('../fonts/Peyda-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Peyda-M';
    src: url('../fonts/Peyda-Medium.ttf');
    src: local('☺'), url('../fonts/Peyda-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Peyda-L';
    src: url('../fonts/peyda-light.woff');
    src: local('☺'), url('../fonts/peyda-light.ttf') format('truetype');
}

@font-face {
    font-family: 'Peyda-R';
    src: url('../fonts/Peyda-Regular.woff');
    src: local('☺'), url('../fonts/Peyda-Regular.ttf') format('truetype');
}
/*iframe {
    width: 100%;
    height: 80vh;
    border: 0;
    overflow-y: auto;*/ /* عمودی باز */
/*overflow-x: hidden;*/ /* افقی بسته */
/*}*/

:root {
    --header-height: 100px;
    --warning-color: #D4A373;
    --blue-color: rgb(0 51 106);
    --light-blue: rgb(213 229 255);
    --silver-color: rgb(181 181 181);
}

@media (max-width:1536px) {
    :root {
        --header-height: 80px;
    }
}


.site-header .navbar {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .header-inner .right,
    .header-inner .center,
    .header-inner .left {
        display: flex;
        align-items: center;
    }

*:not(i) {
    font-family: Peyda-M !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Peyda-B !important;
}

html {
    font-size: 14px;
    direction: rtl;
    overflow-x: hidden
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e400 !important;
    border: 1px solid #aaaaaa54 !important;
    border-radius: 43px !important;
    padding: 3px !important;
    padding-left: 10px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    padding: 3px !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* margin-bottom: 60px;*/
    margin: 0;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    width: 100%;
    height: 100%;
    background: #f6f6f6;
    /*  overflow: auto !important;*/
    font-family: Arial, Helvetica, sans-serif;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient( to bottom, #d4d4d4, #555 );
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #111;
    }

* {
    scrollbar-width: thin;
    scrollbar-color: #777 transparent;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgb(255 255 255 / 25%);
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* background: rgba(255,255,255,.75);*/
    /* backdrop-filter: blur(1px);*/
    padding: 0 120px;
}

    header.header-scrolled {
        background-color: rgb(255 255 255 / 91%);
    }

.header-inner .center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.card {
    box-shadow: unset !important;
}

.site-footer {
    height: 807px !important;
    bottom: 0 !important;
    left: 8px !important;
    opacity: 1 !important;
    border-radius: 40px !important;
    background: black !important;
    height: auto !important;
    margin: 16px 8px;
}

.footer-info {
    border-radius: 58px;
    background: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer.a :hover {
    color: var(--warning-color) !important;
}

.footer-link {
    padding: 10px 8px !important;
    margin-bottom: 1px !important;
    text-decoration-style: unset !important;
    text-wrap: nowrap;
    text-align: center
}

    .footer-link a {
        color: rgba(173, 173, 173, 1) !important
    }


.footer-columns {
    display: flex;
    flex-wrap: wrap;
    direction: rtl;
}

.footer-column {
    width: 50%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

    .footer-column h3 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer-column p {
        display: block;
        width: 100%;
        margin: 0 0 12px;
        text-align: right;
    }

        .footer-column p a {
            display: inline-block;
        }

@media (max-width: 950px) {
    header {
        padding: 0 20px
    }
}

@media (min-width: 992px) {
    .footer-column {
        width: 25%;
    }
}


.left,
.right {
    z-index: 2; /* روی لوگو نیفتن */
}

.menu-button {
    width: 56px;
    height: 56px;
    border-radius: 99px;
    background-color: rgba(26,26,26,1);
    color: white;
    padding: 10px;
    border: black !important
}

.slider-button-black {
    /*    width: 188px;*/
    height: 56px;
    border-radius: 99px;
    background-color: rgba(26,26,26,1);
    color: white;
    padding: 8px 24px;
    border: black !important;
}

    .slider-button-black:hover {
        background: #333 !important;
        color: white !important;
    }


.slider-button-white {
    position: absolute;
    width: 168px;
    height: 56px;
    top: 50%;
    left: 636px;
    gap: 4px;
    angle: 0 deg;
    opacity: 1;
    border-radius: 99px;
    padding-top: 8px;
    padding-right: 24px;
    padding-bottom: 8px;
    padding-left: 24px;
}
/* ===== BACKGROUND LIGHT ===== */

@media (max-width: 1536px) and (min-width: 768px) {
    .header-inner .center #mainLogo {
        width: 200px;
        height: auto;
    }
}


@media (max-width: 768px) {
    .btn {
        font-size: 11px !important;
    }

    :root {
        --header-height: 72px;
    }

    header {
        height: var(--header-height);
        padding: 3px 16px;
    }




    .slider-button-white {
        left: 50%;
        top: 70%;
        transform: translateX(-50%);
        height: 48px;
        width: 160px;
    }



    /*.slider-button-black {
        display: none !important;
    }*/
    .menu-button {
        width: 45px !important;
        height: 45px !important;
        padding: 8px !important;
    }



    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


        .header-inner .center {
            position: static;
            transform: none;
            order: 1;
        }

            .header-inner .center #mainLogo {
                width: 150px;
                height: auto;
            }


    /*.right {*/
    /*margin-right: 146px;*/
    /*order: 2;
    }*/


    .left {
        display: none;
    }
}



/* ===== HEADER MODAL ===== */
/*.mega-modal {
    position: fixed;
    inset: 24px;
    background: #fff;
    z-index: 3000;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transform: scale(.98);
    transition: .4s ease;
}*/
/*.mega-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}*/
.mega-menu {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 20px;
    left: 20px;
    bottom: 40px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 24px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all .35s ease;
    overflow-y: auto;
}

    .mega-menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: .4s ease;
}

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

/* HEADER */
.mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
}

/* TOP MENU */
.mega-top-menu {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-bottom: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgb(220 220 220 / 56%) transparent
}

    .mega-top-menu::-webkit-scrollbar {
        height: 4px;
    }

    .mega-top-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .mega-top-menu::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,.2);
        border-radius: 999px;
    }

        .mega-top-menu::-webkit-scrollbar-thumb:hover {
            background: rgba(0,0,0,.4);
        }

    .mega-top-menu button {
        position: relative;
        background: none;
        border: 0;
        font-size: 20px;
        opacity: .5;
        padding: 0 0 20px;
        transition: color .3s ease, opacity .3s ease;
    }

        .mega-top-menu button[data-target="sales"] {
        }

        .mega-top-menu button:hover,
        .mega-top-menu button.active {
            opacity: 1;
        }

        .mega-top-menu button::after {
            content: "";
            position: absolute;
            left: 50%;
            top: calc(55% + 8px);
            width: 80px;
            height: 2px;
            transform: translateX(-50%) scaleX(0);
            transform-origin: center;
            opacity: 0;
            border-radius: 999px;
            background: radial-gradient( ellipse at center, rgba(125,125,125,1) 0%, rgba(125,125,125,.8) 35%, rgba(125,125,125,.3) 70%, rgba(125,125,125,0) 100% );
            transition: transform .35s cubic-bezier(.22,.61,.36,1), opacity .25s ease;
        }

        .mega-top-menu button:hover::after,
        .mega-top-menu button:focus::after,
        .mega-top-menu button.active::after {
            opacity: 1;
            transform: translateX(-50%) scaleX(1);
        }
.mega-top-menu button {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

    .mega-top-menu button {
        background-color: transparent;
        color: inherit;
        border: none;
    }

        .mega-top-menu button:focus,
        .mega-top-menu button:active{
            color: inherit;
            background-color: transparent;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }



/* BODY */
.mega-body {
    max-width: 100%;
    /* width: 833px;*/
    margin: 0 auto;
    /*  display: flex;*/
    padding: 0 40px 40px;
    /*   height: calc(100% - 160px);*/
    /*  height: 436px;*/
}

/* IMAGE */
.mega-image {
    flex: 1;
}

    .mega-image img {
        max-width: 420px;
    }

/* SUBMENU */
.mega-submenus {
    flex: 1;
    display: flex;
    align-items: center;
}

.submenu {
    display: none;
    flex-direction: column;
    font-size: 20px;
    /* max-width: 100%;*/
    /* width: 332px;*/
    height: 193px;
    box-sizing: border-box;
    gap: 20px;
    padding: 12px 20px 28px
}

    .submenu img {
        max-width: 100%;
    }

    .submenu.active {
        display: flex;
    }

    .submenu a {
        text-decoration: none;
        color: #000;
        opacity: .5;
    }

        .submenu a:hover {
            opacity: 1;
            color: var(--warning-color)
        }

    .submenu[id="x3"] img {
        opacity: 0.7;
    }

    .submenu[id="about"] img {
        max-width: 80%
    }

@media (max-width: 1550px) {
    .submenu[id="x3"] img {
        /* max-width: 60% !important*/
    }
}

@media (max-width: 768px) {
    #regBtn {
        display: none !important
    }

    mega-menu {
        text-align: center !important
    }

    .mega-modal {
        inset: 12px;
        overflow: hidden;
    }

    /* هدر */
    .mega-header {
        padding: 16px;
    }

    /* منوی بالا */
    .mega-top-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

        .mega-top-menu button[data-target="sales"] {
            display: block !important
        }

    #saleBtn {
        display: none
    }

    .mega-body {
        display: none;
    }

        .mega-body.show {
            display: block;
        }


    /* .back-button {
            display: block !important;
        }*/
    /*  .mega-top-menu {
        padding: 1px;
        gap: 7px;
        overflow-x: auto;
        white-space: nowrap;
        justify-content:start !important
    }*/
    .mega-top-menu button {
        flex-shrink: 0;
        font-size: 13px;
    }

    /* بدنه */
    /*  .mega-body {
        flex-direction: column;
        padding: 0 16px 16px;
        height: auto;
        max-width:100%;
        //overflow: hidden;
    }
*/
    /* تصویر ماشین */
    .mega-image {
        /*display: flex;
        justify-content: center;
        margin-bottom: 24px;*/
        height: auto;
        max-width: 100%;
    }

        .mega-image img {
            max-width: 80%;
            height: auto;
        }

    /* زیرمنو */
    .mega-submenus {
        width: 100%;
        align-items: flex-start;
    }

    .submenu {
        height: auto;
        max-width: 100%;
        width: 100% !important;
        text-align: center;
        gap: 0 !important;
        padding: 0px !important
    }

        .submenu a {
            padding: 12px 0;
            font-size: 14px;
            border-bottom: 1px solid #eee;
        }

    .mx-sm-2 {
        margin-right: .5rem !important;
        margin-left: .5rem !important;
    }
}



/*fontSize*/
.font-12 {
    font-size: 12px;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

.font-24px {
    font-size: 24px;
}

.font-32 {
    font-size: 32px;
}

.font-24px {
    font-size: 24px;
}

.font-weight-700 {
    font-weight: 700;
}


/* BUTTONS */
.btn {
    width: auto;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-dark {
    background: #111;
    color: #fff;
}

    .btn-dark:hover {
        background: #333;
    }

.btn-light {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
}

    .btn-light:hover {
        background: #eee;
    }

.btn-light-outline {
    border: 1px solid #111;
    color: #111;
    background: transparent;
}

    .btn-light-outline:hover {
        background: #111;
        color: #fff;
    }

.nav-link {
    border-radius: 30px !important;
    background: #f2f2f2;
    margin-bottom: 10px;
}

    .nav-link.active {
        background: #111 !important;
        color: #fff !important;
    }

.text-justify {
    text-align: justify !important
}

/*COLOR PALLETE*/
.color-palette {
    text-wrap: nowrap !important;
    max-width: 300px;
    width: 100%;
    /* height: 56px;*/
    gap: 4px;
    opacity: 1;
    border-radius: 47px;
    border-width: 1px;
    padding: 13px 7px;
    background: #F3F6F6;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
}

    .color-palette .color-option {
        width: 32px;
        height: 32px;
        opacity: 1;
        border-radius: 33px;
        border: 0px !important;
        margin: 0 2px;
    }

        .color-palette .color-option.white {
            background: #fff !important;
        }

        .color-palette .color-option.turquoiseblue {
            background: #1cebef !important;
        }

        .color-palette .color-option.blue {
            background: #285073 !important;
        }

        .color-palette .color-option.beige {
            background: #918071 !important;
        }

        .color-palette .color-option.black {
            background: #2E2C2E !important;
        }

        .color-palette .color-option.red {
            background: #dd3729 !important;
        }

        .color-palette .color-option.gray {
            background: #56565a !important;
        }

        .color-palette .color-option.orange {
            background: #ab4932 !important
        }

        .color-palette .color-option.cherry {
            background: #452932 !important
        }

        .color-palette .color-option.brown {
            background: #2d2016 !important
        }

        .color-palette .color-option.selected {
            width: 40px;
            height: 40px;
            top: -4px;
            left: -4px;
            angle: 0 deg;
            opacity: 1;
            border-radius: 33px;
            border-width: 2px;
            border: 2px solid #000000
        }


/*Card*/
.card {
    position: relative;
    border-radius: 40px;
    background: #FFFFFF;
    box-shadow: -3px 8px 20px 0px #dbd4d4;
    border: 0px;
    overflow: hidden
}

.tooltip-inner {
    opacity: 1;
    gap: 8px;
    border-radius: 8px;
    padding-top: 12px;
    padding-right: 16px;
    padding-bottom: 12px;
    padding-left: 16px;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-left {
    text-align: left;
}

.form-control {
    padding: 10px 18px !important;
    border-radius: 19px;
}

.form-select, .select2-selection {
    background-position: left .75rem center !important;
    padding: 10px 18px !important;
    border-radius: 40px !important;
}

.w-80 {
    width: 80% !important
}

.w-90 {
    width: 90% !important
}

@media (max-width: 1700px) {
    .w-md-75 {
        width: 75% !important;
    }

    .w-md-100 {
        width: 100% !important;
    }
}



@media (max-width: 900px) {

    .w-sm-100 {
        width: 100% !important;
    }
}

.bg-custom-grey {
    background-color: rgb(250 250 250) !important;
}

.rounded-25 {
    border-radius: 40px;
}

.rounded-100 {
    border-radius: 100px;
}

@media (min-width: 992px) {
    .text-lg-end {
        text-align: left !important;
    }
}

@media (min-width: 992px) {
    .text-lg-nowrap {
        text-wrap: nowrap !important
    }
}

@media (max-width: 992px) {
    .text-sm-wrap {
        text-wrap: wrap !important
    }
}

@media (max-width: 752px) {
    .d-xs-none {
        display: none !important
    }

    .owl-dots {
        height: 25px !important;
    }

    .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
        display: none !important;
    }
}


.btn-close {
    left: 2%;
    top: 3%;
    z-index: 3;
    background: white;
    padding: 15px;
    border-radius: 40px;
    color: black;
}

.top-20 {
    top: 20% !important
}

.top-25 {
    top: 25% !important
}

.top-30 {
    top: 30% !important
}

.top-35 {
    top: 35% !important
}

.top-40 {
    top: 40% !important
}

button:focus,
button:active,
button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.owl-dots {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    margin-top: 0;
    background: white;
    border-radius: 166px;
    width: auto;
    height: 56px;
    padding: 16px 24px;
}



.owl-dot span {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 50px !important;
    background: #cfcfcf !important;
    transition: all .3s ease;
    overflow: hidden;
    position: relative;
}


.owl-dot.active span {
    width: 70px !important;
    background: #e5e5e5 !important;
}


.owl-dot.active.progressing span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #444;
    border-radius: 50px;
    animation: progressFill 2s linear forwards;
}

.owl-dot.active {
    margin: 0px 8px !important
}

    .owl-dot.active.progressing {
        margin: 0px 5px !important
    }

@keyframes progressFill {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.owl-nav .owl-next span,
.owl-nav .owl-prev span {
    display: none !important;
}

.owl-nav .owl-next {
    width: 50px !important;
    height: 50px !important;
    background: url('/images/icons/arrow-right.png') center center no-repeat !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: white !important;
}

.owl-nav .owl-prev {
    width: 50px !important;
    height: 50px !important;
    background: url('/images/icons/arrow-left.png') center center no-repeat !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: white !important;
}
/* ARROWS */
.owl-nav button {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    /*    background: #fff !important;*/
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
}

.owl-nav .owl-prev {
    left: 10px;
}

.owl-nav .owl-next {
    right: 10px;
}

.slide-caption {
    position: absolute;
    max-width: 779px;
    right: 40px;
    bottom: 100px;
    color: #fff;
    z-index: 2;
}

    .slide-caption h3 {
        margin: 0 0 10px;
        font-size: 32px;
        font-weight: bold;
        color: white !important;
        text-align: right;
        z-index: 2;
    }

    .slide-caption p {
        margin: 0;
        font-size: 16px;
        color: rgba(173, 173, 173, 1) !important;
        text-align: right;
    }


/*    LOADER*/

/*  #preloader {
        position: fixed;
        inset: 0;
        z-index: 999999;
        background: #f3f3f3;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1;
        visibility: visible;
    }

        #preloader.hide {
            opacity: 0;
            visibility: hidden;
            transition: .6s;
        }

    .loader-wrapper {
        text-align: center;
        c
    }

    #loadingPercent {
        font-size: clamp(60px, 8vw, 110px);
        font-weight: 800;
        line-height: 1;
        color: #111;
        font-family: IRANSansX, sans-serif;
    }


    .loader-logo {
        width: 260px;
        max-width: 80vw;
        display: block;
        margin: 0 auto;
    }*/



#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient( circle at center, #ffffff 0%, #f8f8f8 45%, #eeeeee 100% );
    opacity: 1;
    visibility: visible;
    transition: opacity .8s ease, visibility .8s ease;
}

    #preloader.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }


/* ==============================
   CONTENT
================================ */

.loader-content {
    width: min(430px, 80vw);
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ==============================
   LOGO
================================ */

.bac-logo-loader {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* لوگوی اولیه تقریباً نامرئی */
.bac-logo-base {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.06;
    filter: grayscale(1);
}


/* لوگوی اصلی */

.bac-logo-reveal {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(.1) brightness(1.05) contrast(1.05);
    clip-path: inset(0 100% 0 0);
    animation: bacLogoReveal 1.8s cubic-bezier(.65, 0, .35, 1) 0s forwards;
}


.bac-logo-shine {
    position: absolute;
    top: 0;
    left: -40%;
    width: 15%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.3), rgba(255,255,255,1), rgba(255,255,255,.3), transparent );
    filter: blur(4px);
    opacity: 0;
    animation: bacShine 1s ease-in-out 1.8s forwards;
}




@keyframes bacShine {

    0% {
        left: -40%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    75% {
        left: 125%;
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

/* =========================
   LOGO REVEAL
========================= */

@keyframes bacLogoReveal {

    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}


/* =========================
   SHINE
========================= */

@keyframes bacShine {

    0% {
        left: -40%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    70% {
        left: 125%;
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}
/* ==============================
   PROGRESS
================================ */

.loader-bottom {
    width: 280px;
    max-width: 65vw;
    margin-top: 10px;
    opacity: 0;
    animation: bottomEnter .8s ease .8s forwards;
}


.loader-line {
    position: relative;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,.12);
    overflow: hidden;
}


#loader-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: #555;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    transition: width .15s ease;
}


.loader-info {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    font-family: iransansM,Arial, sans-serif;
    font-size: 9px;
    /*letter-spacing: 3px;*/
    color: #888;
}


#loadingPercent {
    color: #333;
    letter-spacing: 1px;
}
ز

/* ==============================
   ANIMATIONS
================================ */

@keyframes logoIntro {

    from {
        opacity: 0;
        transform: scale(.92);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}


@keyframes logoFill {

    0% {
        clip-path: inset(0 100% 0 0);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}


@keyframes logoShine {

    0% {
        left: -45%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    70% {
        left: 125%;
        opacity: 1;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


@keyframes bottomEnter {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 765px) {
    .bac-logo-loader {
        width: 50vw;
        height: 50vw;
    }

    .loader-bottom {
        width: 220px;
        max-width: 65vw;
    }
}
/******* Switch Tab *********/
/******* Switch Tabs *********/
.switch-tabs {
    position: relative;
    display: flex;
    padding: 4px;
    border: 1px solid #edebeb;
    border-radius: 45px;
    background: #fbfbfb;
    overflow: hidden;
}

    .switch-tabs::before {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: var(--indicator-left);
        width: var(--indicator-width);
        background: #222;
        border-radius: 40px;
        z-index: 0;
        transition: left .45s cubic-bezier(.4, 0, .2, 1), width .45s cubic-bezier(.4, 0, .2, 1);
    }

.switch-tab {
    position: relative;
    z-index: 1;
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    padding: 12px 20px;
    color: #555 !important;
    transition: color .3s ease;
}

    .switch-tab.active {
        color: #fff !important;
    }
/*  .switch-tab.active {
        background: #222 !important;
        color: #fff !important;
    }*/
/******* Switch Tab *********/


.radius-40 {
    border-radius: 40px
}

.image-fade {
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.text-right {
    text-align: right;
}






.read-more-container {
    position: relative;
}

    .read-more-container .read-more-button {
        margin-top: 20px;
        text-align: center
    }

.read-more-box {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    line-height: 2.1;
    transition: max-height .5s ease;
}

    .read-more-box::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 90px;
        pointer-events: none;
        /* بالا شفاف، پایین کاملاً سفید => انتهای متن محو می‌شود */
        background: linear-gradient( to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0.40) 55%, rgba(255,255,255,0.75) 80%, rgba(255,255,255,1) 100% );
        transition: opacity .25s ease;
    }

    .read-more-box.no-read-more {
        max-height: none !important;
    }

        .read-more-box.no-read-more::after {
            content: none !important;
        }

    .read-more-box.open {
        max-height: 2000px;
    }

        .read-more-box.open::after {
            opacity: 0;
        }


.read-more-btn {
    justify-content: center;
    display: flex;
    align-items: center;
    border: 1px solid var( --warning-color);
    border-radius: 36px;
    background: transparent;
    color: var( --warning-color);
    font-weight: 700;
    padding: 12px 30px;
    cursor: pointer;
    transition: color .25s ease;
}

    .read-more-btn:hover {
        color: #d97706;
    }

.pdf-card {
    width: 220px;
    flex: 0 1 220px;
    font-family: Tahoma, sans-serif;
    text-align: center;
}

.pdf-preview {
    display: block;
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.pdf-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.pdf-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00000055;
    opacity: 0;
    transition: opacity 0.25s ease;
}

    .pdf-overlay span {
        background: #173b63;
        color: #fff;
        padding: 10px 14px;
        border-radius: 6px;
        font-size: 13px;
    }

.pdf-preview:hover .pdf-overlay {
    opacity: 1;
}

.pdf-download {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #173b63;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

    .pdf-download:hover {
        background: #245581;
        color: #fff;
    }

.pdf-card h3 {
    font-size: 14px;
    margin-top: 12px;
}

@media (max-width: 576px) {


    .pdf-card {
        flex-basis: 160px;
    }

    .pdf-preview {
        height: 220px;
    }

    .pdf-overlay {
        opacity: 1;
        background: transparent;
        align-items: flex-end;
    }

        .pdf-overlay span {
            margin-bottom: 8px;
            padding: 7px 9px;
        }
}

.lightbox .lb-image {
    border: 0 !important
}

.lb-outerContainer {
    border-radius: 52px !important;
}

.page-link {
    color: #1a1a1a;
}

    .page-link:hover {
        color: #1a1a1a !important;
    }

.page-item.active .page-link {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}



@media screen and (max-width: 900px) and (orientation: landscape) and (max-height: 450px) {

    * {
        font-size: 12px !important
    }

    .mega-top-menu {
        padding-top: 20px;
        padding-bottom: 0px;
        margin-bottom: 0px !important
    }

    .menu div {
        font-size: 12px;
        padding: 1px 0;
    }




    .slider-button-black {
        height: 34px !important;
        padding: 8px 14px !important
    }
}

@media (max-width: 768px) {
    .slider-button-black {
        height: 46px !important;
    }

    .btn {
      
        padding: 8px 20px !important;
    }
}
