/* css reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    direction: ltr;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
    overflow: hidden;
    text-align: center !important;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --font-color: #fff;
    --second-color: #ff014f;
    --shadow-1: -10px 10px 19px #1c1e22, 10px -10px 19px #262a2e;
    --background-color-1: linear-gradient(100deg, #23272b, #1e2024);
    --shadow-2: 1px 4px 2px -3px rgba(0, 0, 0, 0.7) inset, -1px -3px 3px -2px hsla(0, 0%, 100%, 0.2) inset;

}

@font-face {
    font-family: "iransans";
    src: url(../fonts/eot/IRANSansWeb.eot);
    src: url(../fonts/eot/IRANSansWeb.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/IRANSansWeb.woff) format("woff"), url(../fonts/ttf/IRANSansWeb.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

/*=============*/
@font-face {
    font-family: "IRANSansWeb_Bold";
    src: url(../fonts/eot/IRANSansWeb_Bold.eot);
    src: url(../fonts/eot/IRANSansWeb_Bold.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/IRANSansWeb_Bold.woff) format("woff"), url(../fonts/ttf/IRANSansWeb_Bold.ttf) format("truetype");
    font-weight: bold;
    font-style: bold;
}

/*=============*/
@font-face {
    font-family: "IRANSansWeb_Light";
    src: url(../fonts/eot/IRANSansWeb_Light.eot);
    src: url(../fonts/eot/IRANSansWeb_Light.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/IRANSansWeb_Light.woff) format("woff"), url(../fonts/ttf/IRANSansWeb_Light.ttf) format("truetype");
    font-weight: lighter;
    font-style: lighter;
}

@font-face {
    font-family: "iransans2";
    src: url(../fonts/eot/IRANSansWeb_FaNum.eot);
    src: url(../fonts/eot/IRANSansWeb_FaNum.eot?#iefix) format("embedded-opentype"), url(../fonts/woff/IRANSansWeb_FaNum.woff) format("woff"), url(../fonts/ttf/IRANSansWeb_FaNum.ttf) format("truetype");
    font-weight: lighter;
    font-style: lighter;
}

/* @font-face {
    font-family: iransans;
    src: url("../fonts/IRANSansWebFaNum.eot"), url("../fonts/IRANSansWebFaNum.ttf"), url("../fonts/IRANSansWebFaNum.woff2");
} */

html {
    scroll-behavior: smooth;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 3.5rem;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.mr-top-30 {
    margin-top: 30px;
}

body {
    background-color: #212428;
    text-align: right;
    font-family: iransans;
    direction: rtl;
}

.header-wrapper {
    padding: 10px 0;
    background: #212428;
    z-index: 999;
    transition: .3s;
}

.header-wrapper .logo img {
    max-width: 150px;
}

.main-menu ul li {
    display: inline-block;
}

.main-menu ul li a {
    text-decoration: none;
    color: var(--font-color);
    padding: 20px;
    display: inline-block;
}

.main-menu {
    text-align: left;
}


.slider-wrapper,
.services-wrapper,
.portfolio-wrapper,
.blog-wrapper,
.resume-wrapper,
.contact-wrapper,
.pricing-wrapper {
    padding: 50px 0;
    border-bottom: 1px solid #000;
}

.slider-thumbnail {
    max-width: 500px;
    position: relative;
}

.slider-thumbnail img {
    border: 20px solid #2e3033;
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 0 20px #1f2021;
}

.text-wrapper {
    margin: 70px 0;
    text-align: left;
}

.animated-text {
    width: 440px;
    display: flex;
}

#typing {
    width: 0ch;
    color: white;
    font-weight: bold;
    font-size: 30px;
    line-height: 100px;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 5s steps(22) 1s infinite alternate;
}

#typing span {
    color: #27AAE1;
}

#crow {
    color: white;
    font-family: iransans;
    font-weight: bold;
    font-size: 60px;
    line-height: 100px;
    animation: crow 0.5s linear 0s infinite;
}

@keyframes typing {
    from {
        width: 0ch;
    }

    to {
        width: 26ch;
    }
}

@keyframes crow {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

span.fixed-text {
    font-size: 35px;
    color: #fff;
    font-weight: 600;
}

p.para {
    color: #fff;
    font-size: 16px;
    line-height: 28px;
}

.contact-way {
    margin: 50px 0;
}

.social ul li {
    display: inline-block;
}

.social ul li a {
    position: relative;
    padding: 20px;
    display: flex;
    margin-left: 10px;
    transition: .3s;
    z-index: 2;
    text-decoration: none;
    align-content: center;
    justify-content: center;
}

.social ul li a:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-1);
    background: var(--background-color-1);
    transition: .3s;
    z-index: -1;
}

.social ul li a:hover {
    transform: translateY(-3px);
}

.social ul li a:hover:before {
    background: linear-gradient(to left bottom, #16181c, #212428);
}

.social span {
    color: #ddd;
    margin-bottom: 30px;
    display: inline-block;
}

.main-title {
    margin-bottom: 50px;
}

.main-title span {
    font-size: 24px;
    color: #27AAE1;
    line-height: 24px;
    display: inline-block;
    margin-bottom: 20px;
}

.main-title h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    line-height: 68px;
}

/*  Service */
.service-item {
    padding: 40px;
    box-shadow: var(--shadow-1);
    background: var(--background-color-1);
    color: #fff;
    border-radius: 5px;
    transition: all .3s;
}

.service-item-inner {
    transition: all .3s;
}

.service-item-icon {
    color: #27AAE1;
    font-size: 50px;
    margin-bottom: 20px;
}

.service-item-title {
    font-size: 25px;
    line-height: 50px;
    margin-bottom: 15px;
}

.service-item-description {
    font-size: 16px;
    line-height: 28px;
    color: #ddd;
}

.service-item-more {
    color: #27AAE1;
    font-size: 15px;
    margin-top: 10px;
    display: inline-block;
    transition: all .2s;
    opacity: 0;
}

.service-item:hover {
    background: #181b1f;
}

.service-item:hover span.service-item-more {
    opacity: 1;
}

.service-item:hover .service-item-inner {
    transform: translateY(-10px);
}


/*   portfolio  */

.portfolio-wrapper .main-title {
    text-align: center;
}

.portfolio-item {
    height: 100%;
    position: relative;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
}

.portfolio-item-thumb {
    border-radius: 10px;
    display: block;
    overflow: hidden;
}

.portfolio-item-thumb img {
    width: 100%;
    cursor: pointer;
    transition: .3s;
}

.portfolio-item-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
}

.category-item button {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #27AAE1;
    font-family: inherit;
    cursor: pointer;
}

.category-like {
    color: #bebebe;
}

.category-like span {
    display: flex;
    font-family: 'iransans';
}

.category-like i {
    margin-left: 7px;
}

.portfolio-item-title {
    color: #fff;
    font-size: 22px;
    line-height: 40px;
    transition: .3s;
    height: 80px;
}

.portfolio-item-inner {
    padding-bottom: 12px;
    display: block;
    text-decoration: none;
}

.portfolio-item-title i {
    transition: .3s;
    color: #27AAE1;
    font-size: 20px;
    transform: rotate(45deg) scale(0);
    transform-origin: bottom right;
    margin-right: 10px;
}

.portfolio-item:hover .portfolio-item-title {
    color: #27AAE1;
}

.portfolio-item:hover .portfolio-item-title i {
    transform: rotate(45deg) scale(1);
}

.portfolio-item:hover .portfolio-item-thumb img {
    transform: scale(1.1);
}

/*  blog */
.blog-wrapper .main-title,
.contact-wrapper .main-title {
    text-align: center;
}

.blog-item {
    text-align: right;
    height: 100%;
    position: relative;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    padding: 20px;
    border-radius: 20px;
    cursor: pointer;
}

.blog-item-inner {
    padding-bottom: 12px;
    display: block;
    text-decoration: none;
}

.blog-item-thumb {
    border-radius: 10px;
    display: block;
    overflow: hidden;
}

.blog-item-thumb img {
    width: 100%;
    cursor: pointer;
    transition: .3s;
}

.blog-item-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
}

.blog-item button {
    background: transparent;
    border: none;
    font-size: 15px;
    color: #27AAE1;
    font-family: inherit;
    padding: 0 2px 0 0;
    cursor: pointer;
}

.read-time {
    font-size: 13px;
    color: #bebebe;
}

.read-time i {
    margin-left: 7px;
}

.blog-item-title {
    font-size: 19px;
    line-height: 30px;
}

.shape-dot i.fas.fa-circle {
    font-size: 6px;
    color: #27AAE1;
}

.blog-like span {
    display: flex;
    color: #fff;
    font-family: 'iransans';
}

.blog-item-title i {
    transition: .3s;
    color: #27AAE1;
    font-size: 20px;
    transform: rotate(45deg) scale(0);
    transform-origin: bottom right;
    margin-right: 10px;
}

.blog-item:hover .blog-item-title {
    color: #27AAE1;
}

.blog-item:hover .blog-item-title i {
    transform: rotate(45deg) scale(1);
}

.blog-item:hover .blog-item-thumb img {
    transform: scale(1.1);
}



/* resume */
.progress {
    width: 100%;
    background: #212428;
    border-radius: 10px;
    box-shadow: inset 8px 8px 16px #00000075, inset -8px -8px 16px #383e4575;
    font-size: 14px;
    height: 13px;
    overflow: visible;
    padding: 3px;
}

.skill-progress {
    width: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, #f02981, #c81901);
    text-align: center;
    color: white;
    transition: 1s;
}

.skill-labl {
    color: #fff;
    padding: 10px;
    display: inline-block;
}



/*   pricing   */

.sticky-title {
    top: 120px;
    position: sticky;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
}

.tabs label {
    order: 1;
    display: block;
    padding: 1rem 2rem;
    margin-left: 0.2rem;
    cursor: pointer;
    background: var(--background-color-1);
    color: #fff;
    font-weight: bold;
    transition: background ease 0.2s;
    font-size: 22px;
    padding: 22px 40px;
    z-index: 1;
    box-shadow: var(--shadow-1);
}

.tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none;
    color: #fff;
    line-height: 28px;
    padding: 3rem;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
}

.tabs input[type="radio"] {
    display: none;
}

.tabs input[type="radio"]:checked+label {
    color: #27AAE1;
    background: transparent;
}

.tabs input[type="radio"]:checked+label+.tab {
    display: block;
    box-shadow: var(--shadow-1);
}

@media (max-width: 45em) {

    .tabs .tab,
    .tabs label {
        order: initial;
    }

    .tabs label {
        width: 100%;
        margin-right: 0;
        margin-top: 0.2rem;
    }
}

.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.pricing-header .header-left button {
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    border: none;
    color: #27AAE1;
    padding: 17px 28px;
    border-radius: 5px;
    font-size: 18px;
    font-family: inherit;
}

.pricing-body,
.pricing-footer {
    color: #ccc;
}

.pricing-header .header-right span {
    font-size: 18px;
}

.pricing-body .description {
    font-size: 17px;
    margin: 30px 0px;
    line-height: 40px;
    max-width: 480px;
}

.pricing-list {
    display: flex;
    justify-content: space-between;
}

.pricing-list i.fa-times {
    color: red;
}

.pricing-list .body-right,
.pricing-list .body-left {
    font-size: 18px;
    line-height: 47px;
}

.pricing-list .body-right i,
.pricing-list .body-left i {
    margin-left: 8px;
    font-size: 14px;
}

.btn {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 20px 0;
    background: var(--background-color-1);
    border: 0;
    border-radius: 6px;
    box-shadow: var(--shadow-1);
    font-size: 19px;
    font-weight: 500;
    position: relative;
    transition: .3s;
    z-index: 2;
    color: #27aae1;
    font-family: inherit;
}

.btn:before {
    background: linear-gradient(to right bottom, #212428, #16181c);
    border-radius: 6px;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: .3s;
    width: 100%;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover:before {
    opacity: 1;
}

.time-line {
    display: flex;
    align-content: center;
    justify-content: center;
}

.time-line li {
    font-size: 12px;
    margin-right: 16px;
}

.time-line li i {
    margin-left: 7px;
}


/*  Contact */


.contact-about-area {
    padding: 30px;
    box-shadow: var(--shadow-1);
    border-radius: 5px;
    height: 100%;
}

.contact-about-area .thumbnail img {
    border-radius: 5px;
}

.contact-about-area .description h2 {
    color: #fff;
    margin: 20px 0;
}

.contact-about-area .description span {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 20px;
    display: inline-block;
}

.contact-about-area .description p {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-about-area .info a {
    margin-right: 8px;
    position: relative;
    transition: .3s;
    padding: 0 5px;
    display: inline-block;
}

.contact-about-area .info a:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 2px;
    background: #27AAE1;
    right: 0;
    bottom: 0;
    transition: inherit;
}

.contact-about-area .info a:hover:before {
    width: 100%;
}

.contact-about-area .info li {
    margin-bottom: 20px;
    color: #ccc;
}

.contact-form-area {
    padding: 50px;
    box-shadow: var(--shadow-1);
    border-radius: 5px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group input {
    background-color: #191b1e;
    border: 2px solid #191b1e;
    border-radius: 6px;
    box-shadow: var(--shadow-2);
    color: #27AAE1;
    font-family: inherit;
    font-size: 14px;
    height: 55px;
    letter-spacing: 1px;
    padding: 0 15px;
    transition: .3s;
}

.form-group label {
    color: #a0a8b3;
    display: block;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-transform: uppercase;
    text-align: left;
}

.form-group textarea {
    background-color: #191b1e;
    border: 2px solid #191b1e;
    border-radius: 6px;
    box-shadow: var(--inner-shadow);
    color: var(--color-lightn);
    font-family: var(--font-secondary);
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 18px;
    min-height: 105px;
    padding: 10px 15px;
    resize: none;
    transition: var(--transition);
}

.contact-form-area input:focus {
    border-color: #27AAE1;
    color: #ccc;
    outline: none;
}

.contact-form-area textarea:focus {
    border-color: #27AAE1;
    color: #000;
    background-color: #fff;
    outline: none;
}


/* footer  */

.footer-wrapper {
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-wrapper .logo {
    margin-bottom: 30px;
}

.footer-wrapper p {
    color: #ccc;
}

.footer-wrapper .logo {
    max-width: 100px;
}




/* mobile menu */

.offconvas-menu {
    text-align: left;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mobile-nav {
    font-size: 38px;
    color: #27AAE1;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.offconvas {
    position: fixed;
    right: 0;
    min-width: 350px;
    top: 0;
    height: 100%;
    background: #212428;
    box-shadow: 4px 0 30px #00000080;
    transform: translateX(350px);
    transition: .5s;
    z-index: 200;
}

.offconvas-wrapper {
    padding: 50px 30px;
}

.mobile-logo img {
    max-width: 100px;
}

.bio {
    font-size: 18px;
    color: #fff;
    line-height: 30px;
    margin: 20px 0;
}

.vertical-menu nav ul li a {
    padding: 10px 5px;
    display: inline-block;
}

.social-wrapper {
    margin-top: 40px;
    border-top: 1px solid #48494b;
    padding: 30px 5px;
}

.bio {
    font-size: 18px;
    color: #fff;
    border-top: 1px solid #44494f;
    line-height: 30px;
    margin: 20px 0;
    padding-top: 35px;
}

.show-sidebar {
    transform: translateX(0);
    display: none;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-1);
    z-index: 10;
}


/*     single post    */

.modal-content {
    box-shadow: var(--shadow-1);
    padding: 100px 50px 0 50px;
    color: #fff;
    position: relative;
}

.modal-thumb {
    text-align: center;
}

.modal-desc {
    padding: 50px 0;
}

.modal-meta {
    color: #ddd;
    margin-bottom: 30px;
    display: inline-block;
}

.modal-desc h3 {
    color: #fff;
    font-size: 22px;
    line-height: 40px;
    margin-bottom: 30px;
}

.modal-content p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 40px;
    color: #a0a0a0;
}

.modal-close,
.service-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #a5a5a5;
    background: #434649;
    font-size: 23px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 10px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-1);
    background-color: var(--background-color-1);
}

.modal {
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    position: fixed;
    width: 100%;
    z-index: 999999999999;
    top: 0;
    height: 100%;
    background: #212428;
    left: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 100px 0;
}



/*   service    */

.service {
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    vertical-align: middle;
    transition: .3s;
    position: fixed;
    width: 100%;
    z-index: 999999999999;
    top: 0;
    height: 100%;
    background: #212428;
    left: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 5%;
}

.service-content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    max-width: 1300px;
    padding: 50px;
    box-shadow: var(--shadow-1);
    color: #fff;
    position: relative;
    border-radius: 5px;
}

.service-buttons {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.service-buttons .btn {
    padding: 20px;
    margin-left: 20px;
}

.service-title {
    margin-bottom: 25px;
}

.service-desc {
    margin-right: 30px;
}

.service-category {
    font-size: 15px;
    color: #979797;
}

.service-desc p {
    color: #979797;
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 20px;
}

.service-thumb img {
    border-radius: 5px;
}

.service-buttons .btn i {
    margin-right: 10px;
}

.service-thumb {
    max-width: 800px;
}

.service-thumb img {
    max-width: 100%;
    width: 100%;
}

@media screen and (max-width: 1000px) {
    .service-content {
        flex-direction: column;
    }

    .service {
        overflow-x: hidden;
    }

    .service-category {
        margin-top: 30px;
        display: inline-block;
    }

}

.show-modal {
    visibility: visible;
    opacity: 1;
}