@import url("../fonts/vazirmatn/font-face.css");

:root {
    --wrapper--max-width: 992px;

    --color--primary: #005385;
    --color--accent: #D25100;

    /* #8bc600; */
    /* #F5D400; */

    --box-shadow--primary: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

* {
    font-family: Vazirmatn;
    box-sizing: border-box;
    outline: none;
    color: #333;
}

html {
    scroll-behavior: smooth !important;
}

body {
    background-image: url("../images/patters1.svg");
    background-color: #F8FAFC;
}

.bi::before,
[class*=" bi-"]::before,
[class^=bi-]::before {
    vertical-align: -0.25em;
}

/* Header */

#header {
    display: block;
    width: 100%;
    height: fit-content;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 11;
}

#header__wrapper {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 2rem 2rem 0;
}

#header__logo {
    display: block;
    width: fit-content;
    height: fit-content;
}

#header__logo__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    background-color: transparent;
    text-decoration: none;
    padding: 0;
    line-height: 0;
}

#header__logo__link img {
    display: block;
    width: 100%;
    max-width: 165px;
    border-radius: 0;
}

#header__special-btn {
    display: block;
    width: fit-content;
    height: fit-content;
    background-color: transparent;
}

#header__special-btn__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    background-color: var(--color--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--box-shadow--primary);
    border-radius: 5rem;
    padding: 0.85rem 1.25rem;
}

#header__special-btn__link i.bi {
    color: #fff;
    font-size: 1.5rem;
}

#header__nav-menu-btn ,
#header__nav-close-btn {
    display: none;
}

#header__nav {
    display: block;
    width: calc(150px * 4);
    height: fit-content;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    border-radius: 15rem;
    padding: 1rem;
}

#header__nav__items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header__nav__items .nav-item {
    display: block;
    color: #333;
    text-decoration: none;
    border: none;
    padding: 0.35rem 1rem;
    border-radius: 5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

#header__nav__items .nav-item:hover {
    background-color: #efefef;
}

#header__nav__items .nav-item.style--active {
    background-color: var(--color--accent);
    color: #ffffff;
}

#header__nav__items .nav-item.style--active .bi {
    color: #ffffff;
}

@media screen and (max-width: 1100px) {

    #header__wrapper {
        padding: 1rem 1rem 0;
    }

    #header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding: 0.5rem;
        display: none;
    }

    #header__nav__items .nav-item {
        display: block;
        text-align: center;
        margin-top: 0.5rem;
    }

    #header__nav-menu-btn {
        display: block;
        background-color: #ffffff;
        box-shadow: var(--box-shadow--primary);
        padding: 0.5rem;
        border-radius: 0.5rem;
    }

    #header__nav-menu-btn i.bi {
        line-height: 0;
        font-size: 2rem;
        color: #333 !important;
    }

    #header__nav-close-btn {
        display: flex;
        justify-content: flex-end;
    }

    #header__nav.style--open {
        display: block;
    }

    #header__nav.style--open #header__nav__items {
        display: block;
        margin-top: 0.5rem;
    }
}

/* Pages Layout */

#page {
    margin-top: 10rem;
    min-height: calc(100vh - 10rem - 2.025rem);
}

#page__wrapper {
    width: 100%;
    max-width: var(--wrapper--max-width);
    margin: auto;
}

@media screen and (max-width: 992px) {
    #page {
        margin-top: 8rem;
        min-height: calc(100vh - 8rem - 2.025rem);
    }
}

/* Index Page : Content Boxes */

.box {
    width: 100%;
    margin-bottom: 5rem;
}

.box .box__wrapper:not(.box.style--first) {
    width: 100%;
    max-width: var(--wrapper--max-width);
    margin: auto;
}

.box.style--first {
    position: relative;
    background-color: transparent;
    width: 100%;
    margin-top: 14rem;
    padding: 0 55vw 0 0;
    margin-bottom: 6rem;
}

.box.style--first .box__wrapper {
    width: 100%;
}

.box.style--first .box__bg-cover {
    position: absolute;
    top: -22rem;
    right: -1rem;
    width: 50rem;
    height: 50rem;
    z-index: -1;
    opacity: 0.8;
}

@media screen and (max-width: 992px) {

    .box.style--first {
        margin-top: 8rem;
        padding: 0;
    }

    .box.style--first .box__wrapper {
        width: fit-content !important;
        margin: auto !important;
    }

    .box.style--first .box__bg-cover {
        display: none;
    }
}

/* Index Page : Top Introduction Content */

.introduction__logo {
    display: block;
    width: auto;
    max-width: 256px;
}

.introduction__text--md {
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 1rem;
}

.introduction__text--lg {
    font-weight: 900;
    font-size: 4rem;
}

@media screen and (max-width: 992px) {

    .introduction__logo {
        margin: auto;
    }

    .introduction__text--lg {
        text-align: center;
    }
}

/* Index Page : Section Title */

.section-title {
    display: block;
    width: 100%;
    margin-bottom: 3rem;
}

.section-title__line {
    display: block;
    width: 7rem;
    height: 0.65rem;
    border-radius: 2rem;
    margin: 0 auto 1rem auto;
    background-color: var(--color--accent);
}

.section-title__text {
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Index Page : Section Button */

.section-btn {
    display: block;
    width: fit-content;
    height: auto;
    text-decoration: none;
    margin: auto;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color--primary);
    border: 3px solid var(--color--primary);
    border-radius: 5rem;
    padding: 1rem 3rem;
    background-color: #fff;
}

.section-btn:hover {
    background-color: var(--color--primary);
    color: #fff;
}

/* Index Page : Features Section */

.feature {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature .feature-wrapper {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    padding: 2rem;
    border-radius: 0.75rem;
}

.feature .feature-wrapper__icon {
    display: block;
    width: 100%;
    text-align: center;
    transition: 0.3s;
}

.feature .feature-wrapper__icon i.bi {
    font-size: 4rem;
    color: var(--color--primary);
}

.feature .feature-wrapper__text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.feature:hover .feature-wrapper__icon {
    transform: scale(1.15);
}

.feature:hover .feature-wrapper__text {
    color: var(--color--primary);
}

/* Index Page : Customers Section */

.customer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer .customer-wrapper {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    padding: 1rem 0.5rem;
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.customer .customer-wrapper__image {
    display: block;
    width: 100%;
    max-width: 128px;
    height: auto;
}

.customer:hover .customer-wrapper {
    transform: scale(1.035);
}

/* Index Page : Download Section */

.download {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.download .download-wrapper {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    padding: 1.35rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.download .download-wrapper__icon {
    display: block;
    width: fit-content;
    text-align: center;
}

.download .download-wrapper__icon i.bi {
    font-size: 3rem;
    color: var(--color--primary);
    line-height: 0;
}

.download .download-wrapper__text {
    display: block;
    width: fit-content;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color--primary);
    text-decoration: underline;
}

.download:hover .download-wrapper__text {
    color: var(--color--accent);
}

.download:hover .download-wrapper__icon i.bi {
    color: var(--color--accent);
}

/* Index Page : Contact Us Section */

.contact-us {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.contact-us .contact-us-wrapper {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    padding: 2rem;
    border-radius: 0.75rem;
    display: block;
}

.contact-us .contact-us-wrapper__image {
    display: block;
    width: 100%;
    max-width: 128px;
    margin: auto;
}

.contact-us .contact-us-wrapper__title {
    display: block;
    width: 100%;
    font-weight: 900;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1rem;
}

.contact-us .contact-us-wrapper__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    margin: auto;
}

.contact-us .contact-us-wrapper__item i.bi {
    color: var(--color--accent);
    font-size: 1.5rem;
    line-height: 0;
}

.contact-us .contact-us-wrapper__item a {
    text-decoration: none;
    color: var(--color--primary);
}

@media screen and (max-width: 768px) {
    .contact-us .contact-us-wrapper__item {
        width: 100%;
    }
}

/* Free Consulting Page */

#page.consulting .big-image {
    display: block;
    width: 100%;
    height: auto;
    align-self: center;
    max-width: 512px;
    margin: auto;
}

#page.consulting .form-box {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    box-shadow: var(--box-shadow--primary);
    padding: 2rem;
    border-radius: 0.75rem;
}

#page.consulting .big-title {
    display: block;
    width: 100%;
    color: #333;
    font-weight: 900;
    font-size: 2rem;
    position: relative;
    margin-bottom: 2.5rem;
}

#page.consulting .big-title::before {
    content: '';
    display: block;
    position: absolute;
    height: 65%;
    width: 45%;
    background-color: #ffc107;
    z-index: -1;
    right: 0;
    top: 55%;
}

/* End Footer */

#end {
    display: block;
    width: 100%;
    background-color: #3a3a3a;
    padding: 0.5rem;
}

#end a {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 0.7rem;
    color: #ccc;
}