/********* CSS Styles *********

    Template Name: Hannah - Personal Template
    Author: Mosatafa Ahmadi
    version: 1.0
    Copyright: 2019

**************************/


/*==================================

        Table of Content
        1. General styles
        2. Preloader
        3. Navbar
        4. Banner Section
        5. About Section
        6. Services Section 
        7. Portfolio Section       
        8. Blog Section 
        9. Contact Form Section
        10. Footer      
        11. Mobile Responsive

==================================*/


/*==================================

        Colors
        1. #e12b3b
        2. #fcb8b5
        3. #d4e6ee
        4. #eee
        5. #fff

==================================*/



/*============ 0.  import custom font ============*/

@font-face {
    font-family: samim;
    src: url("../fonts/Samim.ttf");
}

@font-face {
    font-family: vazir;
    src: url("../fonts/Vazir-Bold-FD-WOL.ttf");
}

@font-face {
    font-family: shabnam;
    src: url("../fonts/Shabnam.ttf");
}


/*============ 1.  General styles ============*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none !important;
    list-style: none !important;
    outline: none !important;
    font-family: samim, vazir, shabnam;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222;
    direction: rtl;
}

img {
    width: 100%;
    height: auto;
}

a,
a:hover,
a:focus {
    color: inherit;
}

body {
    font-family: "Raleway", san-serif;
    position: relative;
    font-size: 16px;
    line-height: 1.65;
    color: #748182;
    -webkit-font-smoothing: antialiased;
}

p {
    font-size: 16px;
    line-height: 1.65;
    font-family: samim, vazir, shabnam;
    margin-bottom: 0 !important;
    direction: rtl;
}

span {
    display: inline-block;
}


/*===========Margin And Paddings============*/

.mt-0 {
    margin-top: 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-35 {
    margin-top: 35px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-45 {
    margin-top: 45px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mt-55 {
    margin-top: 55px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-62 {
    margin-top: 62px !important;
}

.mt-65 {
    margin-top: 65px !important;
}

.mt-70 {
    margin-top: 70px !important;
}

.mt-75 {
    margin-top: 75px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

.mt-85 {
    margin-top: 85px !important;
}

.mt-90 {
    margin-top: 90px !important;
}

.mt-95 {
    margin-top: 95px !important;
}

.mt-100 {
    margin-top: 100px !important;
}


/* Custom Margin Bottom */

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-35 {
    margin-bottom: 37px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-100 {
    margin-bottom: 100px !important;
}

.m-0 {
    margin: 0px !important;
}


/* Custom Padding top */

.pt-0 {
    padding-top: 0 !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pt-50 {
    padding-top: 50px !important;
}

.pt-100 {
    padding-top: 100px !important;
}


/* Custom Padding top */

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-5 {
    padding-bottom: 5px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.pb-70 {
    padding-bottom: 70px !important;
}

.pb-100 {
    padding-bottom: 100px !important;
}

.pb-150 {
    padding-bottom: 150px !important;
}

.pb-175 {
    padding-bottom: 175px !important;
}

.pb-200 {
    padding-bottom: 200px !important;
}

.p-0 {
    padding: 0 !important;
}

.bg-gray {
    background-color: #f2f2f2;
}

.btn-purple {
    direction: rtl;
    display: inline-block;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    /* background-color: #e12b3b;
    background-image: -webkit-gradient(linear,left top,right top,from(#e12b3b),to(#cc199d));
    background-image: -webkit-linear-gradient(left,#e12b3b,#cc199d);
    background-image: -moz-linear-gradient(left, #e12b3b, #cc199d);
    background-image: -ms-linear-gradient(left,#e12b3b,#cc199d);
    background-image: -o-linear-gradient(left,#e12b3b,#cc199d);
    background-image: linear-gradient(left,#e12b3b,#cc199d); 
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#e12b3b',endColorStr='#cc199d',gradientType='1');*/
    border: 3px solid #333;
    background-color: #d4e6ee;
    color: #333;
    font-size: 15px;
    padding: 0 32px;
    line-height: 50px;
    -webkit-border-radius: 0px;
    -khtml-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    position: relative;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    white-space: nowrap;
    /* -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.36);
    -khtml-box-shadow: 0 2px 10px rgba(0,0,0,.36);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,.36);
    -ms-box-shadow: 0 2px 10px rgba(0,0,0,.36);
    -o-box-shadow: 0 2px 10px rgba(0,0,0,.36);
    box-shadow: 0 2px 10px rgba(0,0,0,.36); */
    text-transform: uppercase;
    /* transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; */
    transition: all .4s linear;
}

.btn-purple:hover {
    border-color: #e12b3b;
    background-color: #fcb8b5;
    color: #e12b3b;
}

.curve {
    position: absolute;
    z-index: 7;
}

.curve.curve-center:after {
    border-left: 50vw solid transparent;
}

.curve.curve-center:before {
    border-right: 50vw solid transparent;
}

.curve.curve-center.curve-top:after {
    border-left: 50vw solid transparent;
}

.curve.curve-center.curve-top:before {
    border-right: 50vw solid transparent;
}

.curve.curve-bottom {
    left: 0;
    bottom: -1px;
    width: 100%;
    position: relative;
}

.curve.curve-bottom:after,
.curve.curve-bottom:before {
    bottom: 0;
}

.curve.curve-top {
    left: 0;
    top: -1px;
    width: 100%;
    position: relative;
}

.curve.curve-top:after,
.curve.curve-top:before {
    top: 0;
    border-top: 50px solid #fff;
    border-bottom: 0;
}

.curve.curve-top:after {
    border-left: 60vw solid transparent;
}

.curve.curve-top:before {
    border-right: 40vw solid transparent;
}

.curve.curve-gray-b:after,
.curve.curve-gray-b:before {
    border-bottom: 50px solid #f9f9f9;
}

.curve.curve-white-b:after,
.curve.curve-white-b:before {
    border-bottom: 50px solid #fff;
}

.curve.curve-gray-t:after,
.curve.curve-gray-t:before {
    border-top: 50px solid #f9f9f9;
}

.curve.curve-white-t:after,
.curve.curve-white-t:before {
    border-top: 50px solid #fff;
}

.curve:after,
.curve:before {
    content: '';
    width: 0;
    height: 0;
    border-bottom: 50px solid #fff;
    position: absolute;
}

.curve:after {
    right: 0;
    border-left: 40vw solid transparent;
}

.curve:before {
    left: 0;
    border-right: 60vw solid transparent;
}


/*=========== Section Style ============*/

.section-title p {
    color: #6f6e6e;
}

.section-padding {
    padding: 120px 0;
}

.paddingtop {
    padding: 70px 0;
}

.section-title {
    margin-bottom: 55px;
}

.inner-title h4 {
    font-size: 45px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 700;
}

.inner-title h6 {
    color: #0E1F37;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 15px;
    position: relative;
}

.inner-title h6:before,
.inner-title h6:after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: #FCB900;
    position: absolute;
    bottom: 8px;
}

.inner-title h6:before {
    left: -25px;
}

.inner-title h6:after {
    right: -25px;
}

.inner-title {
    position: relative;
    text-align: center;
}

.section-title p {
    text-align: center;
}

.section-title p {
    margin-bottom: 50px;
    font-size: 16px;
    text-align: center;
}

.inner-title span {
    color: #FCB900;
    font-weight: 700;
}

.divi-title {
    margin-bottom: 20px;
}

.divi-title h4 {
    font-size: 35px;
    font-weight: 600;
    position: relative;
    margin-bottom: 20px;
}

.divi-title span {
    color: #e12b3b;
}

.divi-title h4:before {
    content: '';
    width: 40px;
    height: 3px;
    background-color: #e12b3b;
    position: absolute;
    bottom: -10px;
}


/*============ 2. Preloader ============*/

.preloader {
    width: 100%;
    height: 100%;
    position: fixed;
    background: #fff;
    z-index: 9999;
}

.spinner {
    margin: 25% auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    -webkit-animation: sk-rotate 2.0s infinite linear;
    animation: sk-rotate 2.0s infinite linear;
}

.dot1,
.dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot2 {
    top: auto;
    bottom: 0;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate {
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes sk-rotate {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes sk-bounce {
    0%,
    100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/*============ 3. Navbar ============*/

nav.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 999;
    padding-top: 30px;
    padding-bottom: 20px;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

nav.navbar .logo {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

nav.navbar .navbar-toggler {
    border: 0;
}

nav.navbar .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

nav.navbar .nav-item {
    font-size: 13px;
    font-weight: 400;
    padding-right: 13px;
    padding-left: 13px;
    color: #fff;
    text-transform: uppercase;
}

nav.navbar .nav-item:first-child {
    padding-left: 0;
}

nav.navbar .nav-item:last-child {
    padding-right: 0;
}

nav.navbar .nav-item .nav-link {
    color: #fff;
    position: relative;
    text-decoration: none;
    padding: 0;
}

nav.navbar .nav-item .nav-link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FCB900;
    -webkit-transform: scale3d(0, 1, 1);
    -moz-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -moz-transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    -o-transition: all .4s ease-in;
    transition: all .4s ease-in;
}

nav.navbar.bootsnav ul.nav>li>a:before,
.cbp-l-filters .cbp-filter-item span:after,
.overlay-menu ul.full-nav li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f2c900;
    -webkit-transform: scale3d(0, 1, 1);
    -moz-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
}

nav.navbar.bootsnav ul.nav>li>a:hover::before,
nav.navbar.bootsnav ul.nav>li.active a:before,
.cbp-l-filters .cbp-filter-item span:hover::after,
.cbp-l-filters .cbp-filter-item-active span:after,
.overlay-menu ul.full-nav li a:hover::before,
.overlay-menu ul.full-nav li.active a:before {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

nav.navbar .nav-item .nav-link.active:before {
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

nav.fixed-top {
    position: fixed;
    padding-top: 13px;
    padding-bottom: 13px;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.1);
}

nav.fixed-top .logo {
    color: #000;
}

nav.fixed-top .logo:focus,
nav.fixed-top .logo:hover {
    color: #000;
}

nav.fixed-top .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

nav.fixed-top .nav-item {
    color: #000;
}

nav.fixed-top .nav-item .nav-link {
    color: #000 !important;
}

nav.fixed-top .nav-item .nav-link:before {
    background-color: #FCB900;
}

nav.fixed-top .nav-item .nav-link:after {
    background-color: #e12b3b;
}


/*============ 4. Banner Section============*/

.banner {
    height: 100vh;
    width: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    z-index: 0;
    background-image: url('../images/banner.jpg');
}

.banner:after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: transparent linear-gradient(to right bottom, #ffffff, #c5189a); */
    z-index: -1;
    opacity: .4;
}

.video-bg:after {
    opacity: .25;
}

.banner-container {
    top: 66%;
    left: 0;
    width: 100%;
    text-align: center;
    position: absolute;
    color: #fff;
    z-index: 11;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.banner-container h1 {
    font-size: 70px;
    margin-bottom: 0;
    color: #fff;
}

.banner-container h1 span {
    color: #FCB900;
}

.banner-container p {
    font-family: "Raleway", san-serif;
    color: #fff;
    font-size: 23px;
    text-transform: capitalize;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-container p span {
    display: inline-block;
    padding: .2em 0;
}

.banner-container-center {
    text-align: center;
    width: 100%;
    left: 0px;
}

.avatar img {
    width: 220px !important;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.52);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.52);
    border: 2px solid #fff;
    padding: 2px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    -webkit-border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    -moz-border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    -ms-border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
    -o-border-radius: 63% 37% 30% 70% / 50% 45% 55% 50%;
}

.avatar img.circle {
    border-radius: 50%;
}

.banner-center {
    top: 50%;
    position: absolute;
    left: 0px;
    color: #fff;
    text-align: center;
    z-index: 11;
    width: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.social-icons a i {
    font-size: 18px;
    width: 35px;
    height: 35px;
    background: #FCB900;
    margin-right: 10px;
    margin-top: 0px;
    text-align: center;
    color: #ffffff;
    line-height: 35px;
    border-radius: 50%;
}

.curve-banner {
    position: relative;
    bottom: 0;
    left: 0;
}

.curve-banner-left {
    position: absolute;
    bottom: 0;
    left: 0;
    background: none;
    z-index: 99;
    width: 23%;
}

.curve-banner-right {
    position: absolute;
    bottom: 0;
    right: 0 !important;
    background: none;
    z-index: 99;
    left: auto;
    width: 77%;
}

.curve-banner-left,
.curve-banner-right {
    height: 130px;
}

.curve-banner-left path,
.curve-banner-right path {
    fill: #fff;
    stroke: #fff;
    stroke-width: 4;
}

.slider-item {
    width: 100%;
    height: 100vh;
    background-size: cover;
}

.slider-item:after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    opacity: .6;
}

.slider-area .owl-dots {
    position: relative;
    top: -60px;
}

.slider-area .owl-dots .owl-dot {
    background: #fff;
}

.slider-area .owl-dot.active {
    background: #e12b3b;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: transparent;
}

.owl-theme .owl-dots .owl-dot span {
    background: transparent;
}

.slider-area .owl-dot {
    width: 30px;
    height: 5px;
    border-radius: 10px;
}


/*============ 5. About Section ============*/

.about {
    padding-top: 100px;
    padding-bottom: 90px;
}

.about-summary {}

.about .about-title span {
    color: #FCB900;
}

.about-img-content {
    position: relative;
    margin-left: 30px;
}

.about-img-content:before {
    display: none;
    position: absolute;
    content: "";
    bottom: -55px;
    right: 40px;
    width: 100%;
    height: 475px;
    /* background-image: -moz-linear-gradient(40deg, #e12b3b 0%, #cc199d 100%);
        background-image: -webkit-linear-gradient(40deg, #e12b3b 0%, #cc199d 100%);
        background-image: -ms-linear-gradient(40deg, #e12b3b 0%, #cc199d 100%);
        z-index: -1;
        border-top-right-radius: 250px;
        border-bottom-left-radius: 250px; */
}

.about-img-content .about-right-img {
    position: relative;
    overflow: hidden;
    /* border-bottom-left-radius: 0px;
        border-top-left-radius: 250px;
        border-top-right-radius: 250px; */
}

.about-title h2 {
    margin-bottom: 15px;
}

.about-title {
    margin-bottom: 20px;
}

.about .about-div .about-title h2 {
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

.about .about-div .about-title span {
    font-family: "Raleway", san-serif;
    color: #e12b3b;
}

.about-title h4 {
    color: #222;
    font-size: 20px;
}

.about .about-div p {
    line-height: 28px;
}

.skills {
    position: relative;
    background-color: #f2f2f2;
    overflow: hidden;
}

.skills .part-text h4 {
    font-size: 18px;
    font-weight: 700;
}

.skill-div {
    position: relative;
    margin: 35px 35px 35px 0px;
}

.skill-div .skills-item {
    position: relative;
    width: 100%;
}

.skill-div .skills-item h6 {
    position: relative;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.skill-div .skills-item .bar {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 0px;
}

.skill-div .skills-item .bar .fill {
    position: absolute;
    width: 0;
    height: 100%;
    background-color: #fcb900c9;
    border-radius: 0px;
    -webkit-transition: all 3s;
    transition: all 3s;
}

.skill-div .skills-item .bar .fill:before {
    content: attr(data-width);
    position: absolute;
    top: -30px;
    right: -15px;
    font-family: sans-serif;
    color: #222;
    font-size: 14px;
    font-weight: 400;
}


/*============ 6. Services Section ============*/

.services {
    background-color: #F9F9F9;
    padding-bottom: 100px;
    padding-top: 100px;
}

.service-item {
    text-align: center;
    padding: 20px 20px;
    border-radius: 0px;
}

.service-icon {
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-icon .icon {
    width: 80px;
    height: 80px;
    line-height: 78px;
    border: 3px solid #333;
    background-color: #d4e6ee;
    -webkit-border-radius: 0%;
    border-radius: 0%;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}

.service-item h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 22px;
    font-weight: 600;
    transition: all .3s ease-in;
}

.service-item p {}


/* .service-item p {
    transition: all 0s linear !important;
} */

.service-icon i {
    height: 70px;
    width: 70px;
    line-height: 70px;
    color: #333;
    border-radius: 0%;
    font-size: 30px;
    transition: all .4s linear;
}

.service-text h5 {
    font-weight: 600;
}

.service-item:hover .icon {
    background-color: #fcb8b5;
    border-color: #e12b3b;
}

.service-item:hover i {
    color: #e12b3b;
}

.service-item:hover h2 {
    color: #e12b3b;
}


/*============ 7. Portfolio Section ============*/

.portfolio .port-filter {
    margin-bottom: 40px;
}

.portfolio .port-filter ul li {
    display: inline-block;
    font-size: 13px;
    margin-right: 20px;
    color: #333;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 500;
}

.port-filter ul li {
    border: 3px solid #333;
    background-color: #d4e6ee;
    padding: 8px 12px;
}

.portfolio .port-filter ul li:last-child {
    margin-right: 0;
}

.portfolio .port-filter ul li:last-child:before {
    visibility: hidden;
}

.portfolio .port-filter ul li.filter-item {
    font-weight: 600;
    background: #e12b3b;
    color: #fff;
    border-color: #e12b3b;
}

.portfolio .portfolio-section .item {}

.portfolio .portfolio-section .item .portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-section .item .portfolio-item:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #333;
    /* background: transparent linear-gradient(to bottom right, #e12b3b, #cc199d); */
    opacity: 0;
    /* -webkit-transform: scale(0.8);
            -ms-transform: scale(0.8);
            transform: scale(0.8); */
    -webkit-transition: .5s all ease-out;
    -o-transition: .5s all ease-out;
    transition: .5s all ease-out;
}

.portfolio .portfolio-section .item .portfolio-item:hover:before {
    /* -webkit-transform: scale(1);
            -ms-transform: scale(1);
            transform: scale(1); */
    opacity: .7;
}

.portfolio .portfolio-section .item .portfolio-item .item-overlay {
    position: absolute;
    width: 100%;
    top: 75%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: right;
    margin-left: -10px;
}

.portfolio .portfolio-section .item .portfolio-item .item-overlay h6 {
    text-transform: uppercase;
    opacity: 0;
    margin-right: 0px;
    color: #fff;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.portfolio .portfolio-section .item .portfolio-item .item-overlay p {
    text-transform: uppercase;
    opacity: 0;
    margin-right: 0px;
    color: #ddd;
    -webkit-transition: .8s all ease;
    -o-transition: .8s all ease;
    transition: .8s all ease;
    letter-spacing: 1px;
}


/* .portfolio .portfolio-section .item .portfolio-item .item-overlay .icons .icon {
                -webkit-transform: translateY(10px);
                -ms-transform: translateY(10px);
                transform: translateY(10px);
                -webkit-transition: .5s all ease;
                -o-transition: .5s all ease;
                transition: .5s all ease;
                opacity: 0;
            }

                .portfolio .portfolio-section .item .portfolio-item .item-overlay .icons .icon a {
                    display: inline-block;
                    -webkit-transition: .5s all ease;
                    -o-transition: .5s all ease;
                    transition: .5s all ease;
                    height: 40px;
                    width: 40px;
                    margin-top: 10px;
                    border: 1px solid #fff;
                    font-size: 18px;
                    line-height: 40px;
                    color: #fff;
                    margin-right: 5px;
                    border-radius: 100%;
                } */

.portfolio .portfolio-section .item .portfolio-item:hover .item-overlay h6,
.portfolio .portfolio-section .item .portfolio-item:hover .item-overlay p,
.portfolio .portfolio-section .item .portfolio-item:hover .item-overlay .icons .icon {
    opacity: 1;
    margin-right: 20px;
}

.item-overlay h6 {
    color: #fff;
}


/*============ 8. Blog Section ============*/

.blogs {
    padding-top: 100px;
    padding-bottom: 100px;
}

.blog-list {
    background: #fff none repeat scroll 0 0;
    position: relative;
    max-width: 340px;
    margin: 30px auto;
    box-shadow: -6px 10px 40px rgba(0, 0, 0, 0.06);
    display: block;
    color: #5b5963 !important;
    transition: all 0.3s ease 0s;
    position: relative;
    font-size: inherit;
    text-indent: 0;
}

.blog-list-desc {
    padding: 25px 20px;
    text-align: right;
}

.blog-list-img {
    position: relative;
}

.blog-list-img img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.blog-list-img span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    box-shadow: -6px 10px 40px rgba(0, 0, 0, 0.06);
    color: #429f98;
    transition: all 0.5s ease 0s;
    text-transform: capitalize;
}

.blog-list:hover {
    margin-top: 25px;
}

.blog-list:hover .blog-list-img span {
    background: #e12b3b;
    color: #fff;
}

.blog-list-desc h3 {
    margin-bottom: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    direction: rtl;
}

.blog-viewMore {
    display: block;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -ms-transition: all 0.4s ease-in-out 0s;
    -o-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    border: 3px solid #333;
    background: #d4e6ee;
    color: #333;
    max-width: 170px;
    margin: 10px auto;
    text-align: center;
}

.blog-viewMore:hover {
    border-color: #e12b3b;
    background: #fcb8b5;
    color: #e12b3b;
}

.page-title {
    height: 40vh;
    width: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    z-index: 0;
    background-image: url(../images/blog/abundance-achievement-advertising-bank-623046.jpg)
}

.page-title:after {
    content: " ";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent linear-gradient(to right bottom, #3f51b5, #ff4081);
    z-index: -1;
    opacity: .6;
}

.page-title-div {
    top: 50%;
    position: absolute;
    color: #fff;
    z-index: 11;
    width: 100%;
    left: 0;
    text-align: center;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.page-title-div h1 {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0px;
    color: #fff;
}

.blog-details-img a {
    width: 100%;
}

.blog-details-post .entry-meta {
    padding: 20px 10px 5px 0px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-details-post .entry-meta li {
    margin-right: 20px;
}

.blog-details-post .entry-meta li {
    display: inline-block;
}

.blog-details-post .entry-meta li i {
    color: #e12b3b;
}

.blog-details-img a {
    width: 100%;
}

.blog-details-post .entry-title {
    margin: 20px 0 5px;
}

.blog-details-post .entry-title h2 {
    font-size: 26px;
    line-height: 1.4em;
    margin: 0;
}

.blog-details-post .entry-body p {
    margin-bottom: 30px;
}

blockquote {
    font-size: 15px;
    color: #222;
    border-right: 4px solid #222;
    padding-left: 20px;
    margin: 40px 0;
    font-weight: 500;
}

.blog-details-post .entry-body blockquote {
    background-color: #f8f8f8;
    font-style: italic;
    padding: 25px;
    border-color: #e12b3b;
    margin-bottom: 35px;
}

.blog-details-post .entry-body blockquote p {
    margin-bottom: 0;
    line-height: 1.9em;
}

.blog-details-post .tag-social-share {
    border-top: 1px solid #efefef;
    padding: 25px 0;
    overflow: hidden;
}

.blog-details-post .tag-social-share>div {
    display: inline-block;
}

.blog-details-post .tag-social-share .tag a {
    font-size: 13px;
    color: #222;
    border: 1px solid #e4e4e4;
    padding: 5px 7px;
    display: inline-block;
    margin: 0 5px 0 0;
}

.blog-details-post .comments-area {
    margin-top: 30px;
}

.blog-details-post .comments-area .comments-title {
    font-size: 22px;
    margin: 0 0 15px;
}

.blog-details-post .comments-area .comment-list {
    padding-left: 0;
}

.comment-list li article {
    margin-bottom: 20px;
}

.blog-details-post .comments-area .comment-author-metadata {
    min-height: 80px;
    position: relative;
    padding: 15px 0 0 10px;
}

.blog-details-post .comments-area .comment-author-metadata img {
    height: 80px;
    border: 3px solid #e12b3b;
    width: 80px;
    border-radius: 50%;
}

.blog-details-post .comments-area .comment-author-metadata h4 {
    font-size: 18px;
}

.blog-details-post .comments-area .comment-author-metadata h4 a {
    color: #2d2c2c;
}

.blog-details-post .comments-area .comment-content {
    margin: 5px 0;
}

.blog-details-post .comment-respond {
    margin-top: 30px;
}

.blog-details-post .comment-respond>h3 {
    font-size: 22px;
    margin: 0 0 35px;
}

.blog-details-post .comment-respond .comment-form input,
.blog-details-post .comment-respond .comment-form textarea {
    background-color: rgb(255, 255, 255);
    border-color: #e4e4e4;
    height: 45px;
    -webkit-box-shadow: none;
    margin-bottom: 15px;
    box-shadow: none;
    border-radius: 0;
    padding: 6px 15px;
}

form.comment-form.row input {
    margin-bottom: 30px !important;
}

.blog-sidebar .search-widget .form input {
    height: 50px;
    border-color: #c0c0c0;
    border-radius: 0px;
}

.blog-sidebar .widget>h3 {
    font-size: 20px;
    padding-bottom: 0.9em;
    margin: 0 0 1.3em;
    text-transform: uppercase;
    position: relative;
}

.blog-sidebar .widget>h3:after {
    content: "";
    background-color: #e12b3b;
    width: 60px;
    height: 3px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.blog-sidebar .categories-widget ul li a {
    font-size: 15px;
    color: #222;
    display: block;
    border-bottom: 1px dotted #e4e4e4;
    padding: 9px 15px 9px 9px;
    position: relative;
}

.blog-sidebar .tags-widget div>a {
    font-size: 13px;
    color: #222;
    display: inline-block;
    border: 1px solid #e4e4e4;
    padding: 5px 8px;
    margin: 0 5px 10px 0;
}

.blog-details-post .comments-area .comment-author-metadata .comment-metadata a {
    font-size: 14px;
    font-style: italic;
    color: #808080;
}

.div-btn:hover {
    color: #e12b3b;
    background-color: transparent;
}

.div-btn {
    display: inline-block;
    background-color: #e12b3b;
    padding: 10px 15px;
    border: 2px solid #e12b3b;
    color: #fff;
    text-transform: uppercase;
    -webkit-transition: .2s background-color ease;
    -o-transition: .2s background-color ease;
    transition: .2s background-color ease;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
}


/*============ 9. Contact Section ============*/

.contact-info-title {
    text-align: right;
    direction: rtl;
    padding-bottom: 25px;
}

section.contact {
    background: #F9F9F9;
    padding-top: 130px;
    padding-bottom: 130px;
}

form#contact-form input {
    height: 50px;
    border-radius: 0px;
    direction: rtl;
}

form#contact-form textarea {
    height: 170px;
    border-radius: 0px;
    margin-top: 15px;
    direction: rtl;
}

.success {
    text-align: center;
    background: #e12b3b;
    color: #fff;
    font-size: 18px;
    padding: 20px 0px;
    border-radius: 5px;
    box-shadow: 0 1px 27px -3px rgba(0, 0, 0, .2);
}

.contact-text h2 {
    font-size: 22px;
}

.contact-info-item i {
    width: 30px;
    height: 30px;
    border: 2px solid #748182;
    text-align: center;
    line-height: 25px;
    border-radius: 25px;
    font-size: 14px;
    color: #748182;
    margin-right: 10px;
    margin-bottom: 10px;
}

.contact-info-item i:hover {
    border-color: #e12b3b;
    color: #e12b3b;
}

button#contact-submit {
    margin-top: 15px;
}


/*============ 10. Footer  ============*/

footer {
    background: #333;
    padding-bottom: 10px;
}

footer .contact-info h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

footer .contact-info p {
    color: #fff;
    font-size: 14px;
}

footer hr {
    border-color: #333;
}

footer .copy {
    font-size: 14px;
    color: #748182;
}

.social-icon-header ul li {
    list-style: none;
    display: inline-block;
    padding: 5px;
}

.social-icon-header a {
    font-size: 16px;
    width: 35px;
    height: 35px;
    background: #e12b3b;
    display: block;
    text-align: center;
    color: #ffffff;
    line-height: 36px;
    border-radius: 50%;
}

.social-icon-header a:hover {
    background: #151515;
}


/*============ 11. Mobile Responsive  ============*/

@media (max-width: 1199px) {
    .banner {
        background-position: center;
    }
}

@media (max-width: 1199px) {
    .about-img-content:before {
        height: 425px;
    }
}

@media screen and (max-width: 991px) {
    .navbar-collapse {
        text-align: center;
        background: #333;
    }
    .navbar-collapse .nav-item {
        padding: 0 !important;
    }
    .navbar-collapse .nav-item a {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .fixed-top .navbar-collapse {
        background-color: transparent;
    }
    .banner-container h1 {
        font-size: 75px;
    }
    .banner-container p {
        font-size: 21px;
    }
    .about .about-img:before {
        display: none;
    }
    .about .about-div {
        margin-bottom: 30px;
    }
    .banner-blog .banner-container h1 {
        font-size: 40px;
    }
    button#contact-submit {
        margin-bottom: 50px;
    }
    .skills .skill-div {
        position: relative;
        margin-top: 50px;
    }
    .counter-area .counter-item h5 {
        margin-bottom: 30px;
    }
    .about .about-img {
        margin-top: 50px;
    }
    .social-icons {
        margin-bottom: 15px
    }
    .social-icons a i {
        margin-top: 3px
    }
    section.contact {
        padding-bottom: 30px
    }
    section.blogs {
        padding-bottom: 30px;
    }
    .section-title {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 767px) {
    .banner-container h1 {
        font-size: 45px;
    }
    .section-title {
        margin-bottom: 35px;
    }
    .banner-container p {
        font-size: 18px;
    }
    section.banner-blog .banner-container h1 {
        font-size: 32px;
    }
    button#contact-submit {
        margin-bottom: 20px;
    }
    .port-filter ul li {
        margin-bottom: 15px;
    }
    .page-title-div h1 {
        font-size: 35px !important;
        font-weight: 700;
        letter-spacing: 0px;
        color: #fff;
    }
    .about {
        padding-top: 20px;
        padding-bottom: 115px;
    }
    .about-img {
        margin-top: 50px
    }
    .about-img-content:before {
        height: 355px;
        bottom: -40px;
        right: 10px;
    }
    .about .about-img img {
        position: relative;
        width: 100%;
        z-index: 1;
        box-shadow: none;
    }
    .portfolio .port-filter ul li {
        margin-right: 15px;
        font-family: samim, vazir, shabnam !important;
    }
    .social-icons a {
        margin-bottom: 10px;
        display: inline-block;
    }
    section.contact {
        padding-top: 65px;
        padding-bottom: 20px;
    }
    form#contact-form textarea {
        height: 170px;
        border-radius: 0px;
        margin-top: 0px;
    }
    form#contact-form input {
        margin-bottom: 30px;
    }
    .counter-area .counter-item h2 {
        font-size: 35px;
    }
    .testi-description {
        font-size: 16px;
    }
    .inner-title h4 {
        font-size: 35px;
        text-transform: uppercase;
        margin-bottom: 5px;
        font-weight: 700;
    }
    .inner-title h6 {
        font-size: 12px;
    }
    .service-item {
        margin-bottom: 15px;
    }
    .services {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .project-img img {
        height: 100%;
    }
    .project-img {
        margin-bottom: 50px;
    }
    .banner-container {
        left: 0;
        right: 0;
        right: 0;
        text-align: center;
        z-index: 11;
    }
    .blogs {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .btn-purple {
        font-size: 13px;
        line-height: 40px;
    }
    footer {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media screen and (min-width: 474px) and (max-width:991px) {
    .banner-container {
        top: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row-reverse;
    }
}

@media screen and (max-width: 474px) {
    .banner-container {
        transform: scale(0.6);
        top: 77px;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 380px) {
    .avatar img {
        width: 180px;
        margin-top: 65px;
    }
    .inner-title h4 {
        font-size: 35px;
    }
    .inner-title h6:before {
        display: none;
    }
    .inner-title h6:after {
        display: none;
    }
    table.about-table i {
        display: none;
    }
    span.about-btn a {
        margin-top: 15px;
    }
    span.about-btn {
        display: inline-block;
    }
    .about .about-img img {
        position: relative;
        width: 100%;
        z-index: 1;
        box-shadow: none;
    }
    table.about-table span {
        font-weight: 500;
        font-size: 13px;
    }
    .about-table td {
        padding-left: 8px;
        font-family: "Open Sans", sans-serif;
        display: inline-block;
        font-size: 13px;
    }
    .btn-purple {
        padding: 6px 10px;
    }
}