@import "../fonts/saadAbadIcon/css/saad-abad.css";
@import "../fonts/iranSansX/fontiran.css";

:root {
    --container-size: 1270px;
    --primary-color: #E6BA6F;
    --primary-dark-color: #d3ac68;
    --secondary-color: #1E463E;
    --font-icon: "Font Awesome 7 Pro";
}

* {
    outline: none;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";

}

button {
    cursor: pointer;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 87.5%;
}

@media only screen and (min-width: 768px) {
    html {
        font-size: 100%;
    }
}

body {
    background: #222;
    color: #fff;
}

.m-container {
    margin: 0 auto;
    max-width: calc(var(--container-size) + 2rem);
    padding: 0 1rem;
}

.max-w-container {
    max-width: calc(var(--container-size) + 2rem);
}

.fit-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fit-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dir-ltr {
    direction: ltr;
}

.fade-in {
    animation: fadeInAnim .3s;
}

@keyframes fadeInAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.transform-fade-anim {
    animation: transformFadeAnim .2s;
}

@keyframes transformFadeAnim {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-modal {
    display: none;
}

.search-modal.active {
    display: flex;
}

.search-modal .wrapper {
    transition: transform .2s;
    animation: searchModalWrapper .2s;
}

@keyframes searchModalWrapper {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

.primary-btn {
    background: var(--primary-color);
    width: 100%;
    font-size: .875rem;
    padding: 1rem;
    border-radius: .25rem;
    font-weight: bold;
    transition: background .3s;
}

.primary-btn:hover {
    background: var(--primary-dark-color);
}

.header.fixed-mode {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    animation: headerFixedModeAnim .1s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .2);
}

.header-navbar .sub-nav {
    position: absolute;
    width: 9rem;
    top: 100%;
    right: 0;
    animation: transformFadeAnim .2s;
    display: none;
}

.header-navbar li {
    position: relative;
}

.header-navbar .sub-nav li:first-child {
    border-top-right-radius: .5rem;
    border-top-left-radius: .5rem;
}

.header-navbar .sub-nav li:last-child {
    border-bottom-right-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

.header-navbar .sub-nav .sub-nav {
    top: 0;
    right: 100%;
    padding-right: .5rem;
}

.header-navbar li:hover>.sub-nav {
    display: block;
}

.header-navbar li:hover>a {
    color: var(--primary-color);
}

.header-navbar a {
    transition: color .2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-navbar .sub-nav li:hover>a {
    background: rgba(0, 0, 0, .1);
}

.header-navbar .sub-nav li.has-child>a::after {
    content: "\f053";
    font-family: var(--font-icon);
    font-size: .75rem;
    color: rgba(255, 255, 255, .2);
    font-weight: 300;
    margin-left: .25rem;
}

@keyframes headerFixedModeAnim {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

.vertical-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 220px;
    background: #222;
    right: 0;
    top: 0;
    z-index: 51;
    font-size: .875rem;
    animation: verticalMenuAnim .5s;
    transition: box-shadow .3s;
}

.vertical-menu:last-child {
    box-shadow: -10px 0 10px rgba(0, 0, 0, .2);
}

@keyframes verticalMenuAnim {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

.vertical-menu .back-btn {
    padding: 1rem;
}

.vertical-menu .back-btn::after {
    font-family: var(--font-icon);
    content: "\f061";
    font-size: .875rem;
}

.vertical-menu>div:first-child {
    text-align: right;
}

.vertical-menu .content {
    flex-grow: 1;
    min-height: 0;
    scrollbar-width: 0;
    overflow: auto;
}

.vertical-menu li {
    margin: .5rem 0;
}

.vertical-menu li>div {
    display: flex;
    align-items: stretch;
}

.vertical-menu li>div a {
    display: flex;
    flex-grow: 1;
    padding: .75rem;
}

.vertical-menu li>div button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: rgba(0, 0, 0, .1);
    font-weight: 300;
}

.vertical-menu li>div button::before {
    font-family: var(--font-icon);
    content: "\f053";
}

.vertical-menu ul ul {
    display: none;
}

@media (width >=48rem) {
    .welcome-anim {
        animation: 1s 1s welcomeAnimation forwards ease-in-out,
            1s 6s welcomeAnimation1 forwards ease-in-out;
        opacity: 0;
    }
}

@keyframes welcomeAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes welcomeAnimation1 {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.sec-title .in {
    font-size: 1.125rem;
    font-weight: 800;
}

[class^="icn-"]:before,
[class*=" icn-"]:before {
    width: auto;
}

.icn-no-m::before {
    margin: 0;
}

.home-report-slider img {
    filter: grayscale(100%);
}

.home-report-slider .swiper-slide {
    transition: transform .3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.home-report-slider .swiper-slide-active {
    transform: scale(1.1);
    z-index: 1;
}

.home-report-slider .swiper-slide-active img {
    filter: grayscale(0);
}

.home-intro-sec .img-1,
.home-intro-sec .img-2 {
    transition: transform 1s;
}

.footer {
    background-size: cover;
    background-position: 0 -200px;
    background-position: top center;
}

@media (width >=64rem) {
    .footer {
        background-position: 0 -200px;
    }
}

.footer-sec-title b {
    display: block;
    font-weight: 600;
}

.footer-sec-title .spec-border {
    display: flex;
    align-items: center;
    gap: 3px;
}

.footer-sec-title .spec-border div {
    background: var(--primary-color);
    height: 3px;
}

.footer-sec-title .spec-border div:first-child {
    width: 28px;
    border-radius: 10rem;
}

.footer-sec-title .spec-border div:nth-child(2),
.footer-sec-title .spec-border div:nth-child(3) {
    width: 3px;
    border-radius: 100%;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    font-size: .875rem;
}

.breadcrumb .in {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem .25rem;
    transition: color .2s;
}

.breadcrumb span.in {
    cursor: default;
}

.breadcrumb a.in:hover {
    color: #d4d4d4;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li::after {
    content: "/";
    margin: 0 .5rem;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb li:first-child {
    font-weight: bold;
}

.museum-detail-anim .child-c1 {
    animation: museumDetailAnim1 .75s ease-out;
}

.museum-detail-anim .child-c2 {
    animation: museumDetailAnim2 1s ease-out;
}

@keyframes museumDetailAnim1 {
    0% {
        transform: translateY(-5rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 100%;
    }
}

@keyframes museumDetailAnim2 {
    0% {
        transform: translateY(5rem);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 50;
    }
}

.nav-btn-c1 {
    width: 3rem;
    height: 3rem;
    border-radius: 100%;
    position: absolute;
    top: calc((100% - 3rem) / 2);
    font-size: 2.5rem;
    z-index: 10;
    transition: opacity .3s;
}

.nav-btn-c1.prev {
    right: 1rem;
}

.nav-btn-c1.next {
    left: 1rem;
}

.nav-btn-c1.swiper-button-disabled {
    opacity: .25;
}

.tree-vc {
    position: relative;
    overflow: hidden;
}

.tree-vc::before,
.tree-vc::after {
    background: url("../images/tree-pattern-1.png") no-repeat;
    background-position-y: center;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.tree-vc::before {
    content: "";
    background-position-x: -101px;
}

.tree-vc::after {
    content: "";
    background-position-x: calc(100% + 101px);
}

.typography-box {
    font-size: .937rem;
    line-height: 2.5rem;
}

.special-border {
    background: var(--secondary-color);
    position: relative;
    border-radius: 10rem;
    overflow: hidden;
}

.special-border::before {
    content: "";
    height: 100%;
    width: 60%;
    background: #CFCFCF;
    position: absolute;
    left: 0;
    top: 0;
}

.above-tree-bg {
    background-image: url("../images/tree-pattern-2.png");
    background-repeat: no-repeat;
    background-position: center -75px;
}

.field-c1 {
    background: rgba(255, 255, 255, .25);
    font-size: .875rem;
    padding: 1rem;
    color: #000;
    transition: color .3s;
    transition: background .3s;
}

.field-c1::placeholder {
    color: #585858;
}

.field-c1:focus {
    background: rgba(255, 255, 255, .4);
}

.contact-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .04);
    padding: 1rem;
    gap: .5rem;
    font-size: .875rem;
    transition: background .2s;
}

a.contact-card:hover {
    background: rgba(255, 255, 255, .07);
}

.contact-bg {
    background: url("../images/black-tree-vc.png") no-repeat;
    background-position-x: 100px;
}

.page-transition {
    animation: pageTransitionAnim .3s ease-in-out;
}

@keyframes pageTransitionAnim {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.news-detail-slider img {
    filter: grayscale(100%);
}

.news-detail-slider .swiper-slide-active img {
    filter: grayscale(0);
}

.pagination {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    font-size: .875rem;
    justify-content: center;
    align-items: center;
}

.pagination a {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.pagination>a {
    background: #fff;
    color: #222;
    border-radius: .75rem;
}

.pagination>a:hover {
    background: #e7e7e7;
}

.pagination ul {
    scrollbar-width: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pagination ul::-webkit-scrollbar {
    display: none;
}

.pagination ul a {
    background: rgba(238, 238, 238, .1);
    color: #b8b8b8;
    border-radius: .5rem;
}

.pagination ul a:hover {
    background: rgba(238, 238, 238, .15);
}

.pagination .active a {
    background: rgba(238, 238, 238, .25) !important;
    color: #fff;
}

.museum-imgBox::after {
    width: 100%;
    height: 15px;
    background: url("../images/musiem-arrow.svg") no-repeat;
    background-size: auto 100%;
    background-position: center;
    content: "";
    display: block;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1.5rem;
}

.modal .close-cover {
    background: rgba(0, 0, 0, .75);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.modal .modal-wrapper {
    background: #461410;
    width: 100%;
    max-width: 450px;
    border-radius: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: .75s cubic-bezier(0.4, 0, 0, 1.5) 0s 1 normal forwards running ModalWrap;
    padding: 2.5rem 1.5rem;
}

.modal .close-modal-btn {
    transition: color .2s;
    font-size: 1.5rem;
    position: absolute;
    right: -1rem;
    top: -1rem;
    padding: .75rem;
    line-height: 1rem;
}

.modal .close-modal-btn:hover {
    color: #ccc;
}

.modal .close-modal-btn::before {
    content: "\f057";
    font-family: var(--font-icon);
    font-weight: 300;
}

.modal .spec-border {
    width: 1.5rem;
    height: 2px;
    border-radius: 10rem;
    margin: .75rem auto;
    background: var(--primary-color);
}

.modal .modal-wrapper>p {
    font-size: .875rem;
    line-height: 1.75rem;
}

.modal .modal-wrapper>i {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.modal .modal-wrapper>b {
    font-size: 1.125rem;
}

.modal .modal-wrapper.close {
    animation: .25s ModalWrapClose forwards;
}

.modal.warning .modal-wrapper {
    background: var(--secondary-color);
    max-width: 780px;
}

.modal.warning .modal-wrapper>i {
    font-size: 2rem;
}

.modal.warning .modal-wrapper>b {
    font-size: 1rem;
}

.modal.warning .spec-border {
    background: #fff;
}

@keyframes ModalWrap {
    0% {
        transform: translate3d(0px, 2rem, 0px);
        opacity: 0;
    }

    100% {
        transform: translateZ(0px);
        opacity: 1;
    }
}

@keyframes ModalWrapClose {
    0% {
        transform: 0;
        opacity: 1;
    }

    100% {
        transform: translateY(2rem);
        opacity: 0;
    }
}
