@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.ttf') format('truetype');
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.woff');
}
/*------------------------------------------------------------------
[Table of styles content]

1 - Header
2 - Hero
3 - CTA
4 - Services
5 - Featured
6 - Recent Posts
7 - Trust
8 - Pricing Tables
9 - Testimonials
10 - Clients
11 - CTA 2
12 - Footer Widgets
13 - Foot Note
--------------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}
body {
    font-family: IRANSansWeb;
}

h1, h2, h3, h4, h5, h6 {
    font-family: IRANSansWeb;
}

.btn, span, a, div {
    font-family: IRANSansWeb;
}
/*-----------------------------------
    1 - Header
------------------------------------*/
header {
    font-family: IRANSansWeb;
    background-color: rgba(26, 10, 56, 0.53);
    color: #fff;
    z-index: 1000;
}

    header a {
        color: #fff;
    }

    header::after {
        content: "";
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.02);
        position: absolute;
        left: 0;
        bottom: -20px;
    }

.nav-link {
    font-family: IRANSansWeb;
    text-transform: uppercase;
}

.contact {
    font-size: 16px;
}

.tel {
    margin-right: 30px;
    font-size:16px;
}

.contact i {
    color: #dc3545;
    margin-right: 10px;
}

.login {
    padding: 10px 20px;
    font-size: 14px;
    margin-right: 25px;
    text-transform: uppercase;
}

    .contact a:hover,
    .login:hover {
        color: rgba(255, 255, 255, 0.5);
        text-decoration: none;
    }

    .login i {
        color: #dc3545;
        margin-right: 8px;
    }

.navbar {
    font-family: IRANSansWeb;
    direction: rtl;
}

.navbar-brand h1 {
    margin: 0;
}

.social {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

    .social li:not(:last-child) {
        margin-right: 20px;
    }

    .social a {
        font-size: 14px;
        display: inline-block;
        width: 40px;
        height: 40px;
        border: 1px solid #dc3545;
        border-radius: 10px;
        line-height: 40px;
        text-align: center;
        background-color: transparent;
        transition: all 0.25s ease-in-out;
    }

        .social a:hover {
            color: #fff;
            background-color: #dc3545;
        }

.navbar-brand img {
    width: 100% !important;
}
.navbar-collapse{
	flex-grow:0.2;
}
.navbar-collapse .search-form {
    left: 0 !important;
}

    .navbar-collapse .search-form input[type="text"] {
        border: 1px solid #ced4da;
        color: #333;
        padding: 1.5625rem 0.625rem;
        font-family: IRANSansWeb;
    }

    .navbar-collapse .search-form .btn {
        margin-top: 0;
        border-radius: 0;
        margin-left: -1px;
        font-family: IRANSansWeb;
    }

.navbar-collapse .nav-link {
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

    .navbar-collapse .nav-link:hover {
        color: #dc3545;
    }

.cart,
.login-icon,
.search-icon {
    color: #fff;
    font-size: 1.5rem;
}

    .cart:hover,
    .login-icon:hover,
    .search-icon:hover {
        color: #dc3545;
    }

.cart {
    margin-left: 20px;
}

form input.btn-primary:hover,
form button.btn-primary:hover {
    background-color: #fff;
    color: #dc3545;
}

/*-----------------------------------
    1 - Hero
------------------------------------*/
.hero {
    background: url("../images/5-things-to-consider-when-selecting-a-web-design-agency-1-1.jpg") no-repeat center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

    .hero .container {
        position: relative;
        z-index: 5;
        font-family: IRANSansWeb;
    }

    .hero .slide-content {
        font-family: IRANSansWeb;
        min-height: 600px;
        color: #fff;
        padding-right: 5%;
    }

        .hero .slide-content span {
            color: #dc3545;
        }

        .hero .slide-content h2 {
            font-family: IRANSansWeb;
            color: #fff;
            text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.56);
            -webkit-transform: matrix(0.93128, 0, 0, 0.93128, 0, 0);
            transform: matrix(0.93128, 0, 0, 0.93128, 0, 0);
            font-weight: bold;
            line-height: 80px !important;
        }

        .hero .slide-content p {
            font-size: 20px !important;
            text-align: right;
            color: #170936;
            -webkit-transform: matrix(0.93128, 0, 0, 0.93128, 0, 0);
            transform: matrix(0.93128, 0, 0, 0.93128, 0, 0);
            padding: 35px 30px 35px 0px;
            background-color: rgba(255, 255, 255, 0.51);
            border-top-left-radius: 100px;
            border-bottom-right-radius: 10px;
            margin-bottom: 0;
        }

        .hero .slide-content .btn {
            margin-top: 50px;
            font-family: IRANSansWeb;
        }

            .hero .slide-content .btn:last-child {
                margin-right: 30px;
                font-family: IRANSansWeb;
            }

    .hero .arr-left,
    .hero .arr-right {
        font-size: 3rem;
        display: block;
        color: #fff;
        text-align: center;
        position: absolute;
        top: 85%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 9;
    }

        .hero .arr-left:hover,
        .hero .arr-right:hover {
            cursor: pointer;
        }

    .hero .arr-right {
        right: 15px;
    }

    .hero .diag-bg {
        width: 100%;
        height: 100%;
        clip-path: polygon(0 0, 100% 100%, 100% 0);
        background-color: rgba(240, 0, 255, 0.1);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .hero .texture {
        width: 100%;
        height: 100%;
        background: url("../images/hero-texture.png") no-repeat center;
        background-size: cover;
        opacity: 0.4;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .hero::after {
        content: "";
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.02);
        position: absolute;
        left: 0;
        bottom: 29%;
    }

    .hero::before {
        content: "";
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.02);
        position: absolute;
        left: 0;
        bottom: 58%;
    }

.slide-content {
    direction: rtl;
    text-align: right;
}
/*-----------------------------------
    1 - CTA
------------------------------------*/
.cta {
    direction: rtl;
    font-family: IRANSansWeb;
}

.cta-content {
    padding: 30px 0 90px;
    color: #fff;
    background-color: #dc3545;
    position: relative;
    z-index: 1;
}

    .cta-content::after {
        content: "";
        width: 100%;
        height: 100%;
        background-color: rgba(24, 9, 53, 0.77);
        position: absolute;
        top: -25px;
        left: -1px;
        z-index: -1;
        transition: all 0.2s ease-in-out;
    }

    .cta-content .subscribe-btn {
        align-self: flex-end;
        margin-right: 30px;
    }

/*-----------------------------------
    1 - Services
------------------------------------*/
.services {
    direction: rtl;
}

.title {
    font-weight: 700;
    direction: rtl;
    text-align: right;
}

    .title h6 {
        letter-spacing: 4px;
        margin-bottom: 20px;
    }

    .title h2 {
        font-size: 35px;
        text-align: right !important;
    }

    .title .title-blue {
        color: #26264b;
    }

    .title .title-primary {
        color: #dc3545;
    }

.services {
    padding: 80px 0 50px;
}

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

    .services .media {
        margin: 40px 0;
    }

    .services h5 {
        color: #26264b;
        border-bottom: 2px solid #e7e7e7;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

/*-----------------------------------
    1 - Featured
------------------------------------*/
.featured {
    direction: rtl;
    padding: 80px 0;
    background-color: #fafafa;
}

    .featured p {
        margin: 30px 0 53px;
        text-align: justify;
    }

    .featured .media i {
        font-size: 24px;
        color: #dc3545;
    }

    .featured .title-blue {
        font-size: 30px !important;
    }

    .featured .media h5 {
        text-transform: uppercase;
        color: #26264b;
    }

    .featured .btn {
        margin-top: 80px;
    }

.featured-img {
    position: relative;
    height: 530px;
    margin-top: 60px;
}

.featured-big {
    position: absolute;
    bottom: 0;
    right: 0;
}

.featured-small {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px 25px 0 0;
    background-color: #fff;
}

/*-----------------------------------
    1 - Recent Posts
------------------------------------*/
.recent-posts {
    padding: 65px 0 100px;
}

    .recent-posts .btn {
        margin-top: 60px;
    }

    .recent-posts .row .col-lg-6:nth-of-type(odd) .post-thumb {
        margin-top: 30px;
    }

    .recent-posts .row .col-lg-6:nth-of-type(even) .post-thumb {
        margin-bottom: 30px;
    }

.single-rpost {
    margin: 35px 0 0;
}

.post-thumb {
    flex: 0 0 273px;
}

.post-content {
    color: #ccc;
}

    .post-content time {
        font-size: 14px;
        color: #ccc;
    }

    .post-content h3 {
        margin: 10px 0 2px;
    }

        .post-content h3 a {
            color: #26264b;
            font-weight: 600;
        }

            .post-content h3 a:hover {
                font-weight: 700;
                text-decoration: none;
            }

    .post-content a {
        color: #ccc;
    }

        .post-content a:hover {
            color: #26264b;
        }

    .post-content .post-btn {
        color: #6e6e6e;
        text-align: center;
        font-size: 10px;
        display: inline-block;
        width: 38px;
        height: 38px;
        line-height: 38px;
        border-radius: 50%;
        background-color: whitesmoke;
    }

        .post-content .post-btn:hover {
            color: #fff;
            background-color: #dc3545;
        }

/*-----------------------------------
    1 - Trust
------------------------------------*/
.trust {
    padding: 75px 0;
    background-color: #26264b;
    color: #ddd;
    position: relative;
}

    .trust .title {
        margin-bottom: 46px;
    }

    .trust h2 {
        color: #fff;
    }

    .trust h5 {
        font-size: 24px;
        color: #fefefe;
        margin: 28px 0 12px;
        text-align:right;
        direction:rtl;
    }

    .trust ul {
        color: #fff;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        direction:rtl;
        text-align:right;
    }

    .trust li {
        margin-bottom: 15px;
    }

    .trust .gallery img {
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        height: 100%;
    }

    .trust .gal-img {
        display: inline-block;
        position: relative;
        z-index: 1;
    }

        .trust .gal-img i {
            font-size: 72px;
            color: #fff;
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            opacity: 0;
            z-index: 2;
        }

        .trust .gal-img::after {
            content: "";
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: all 0.2s ease-in-out;
        }

        .trust .gal-img:hover {
            cursor: pointer;
        }

            .trust .gal-img:hover i {
                opacity: 1;
            }

            .trust .gal-img:hover::after {
                opacity: 1;
            }

    .trust .gal-img3 {
        top: -50%;
        left: 50%;
    }

    .trust.trust-text {
        direction: rtl;
    }
    .trust p {
        text-align: justify;
        direction: rtl;
    }
/*-----------------------------------
    1 - Pricing Table
------------------------------------*/
.pricing-table {
    padding: 100px 0;
}

.single-pricing {
    padding: 65px 0 30px;
    margin: 23px 1%;
    color: #fff;
    background: #26264b;
    border: 0px solid #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.2s ease-in-out;
}

    .single-pricing span {
        font-size: 12px;
        text-transform: uppercase;
        padding: 6px 15px;
        border-radius: 15px;
        background-color: transparent;
        position: absolute;
        top: 28px;
        right: 6px;
        transition: all 0.2s ease-in-out;
    }

    .single-pricing h2 {
        margin-bottom: -5px;
        margin-top:5%;
    }

    .single-pricing .desc {
        color: #9d9d9d;
        padding-bottom: 30px;
        margin-bottom: 32px;
        border-bottom: 2px solid #2f2f2f;
        transition: all 0.2s ease-in-out;
    }

    .single-pricing .price {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .single-pricing p {
        color: #ddd;
        padding:10%;
        text-align:justify;
        direction:rtl;
    }

        .single-pricing p:last-of-type {
            margin-bottom: 25px;
        }

    .single-pricing svg {
        width: 170px;
        position: absolute;
        top: -45px;
        right: -60px;
        z-index: -1;
        transition: all 0.5s ease-in-out;
    }

    .single-pricing:hover {
        border: 4px solid #fff;
        box-shadow: 0px 10px 18px 0px rgba(0, 0, 0, 0.16);
        margin: 19px 0 -4px;
    }

        .single-pricing:hover span {
            background-color: #26264b;
        }

        .single-pricing:hover .desc {
            color: #fff;
            border-bottom: 2px solid rgba(245, 245, 245, 0.322);
        }

        .single-pricing:hover svg {
            width: 500%;
            top: -200%;
            right: -50%;
        }

        .single-pricing:hover .btn {
            box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
        }

/*-----------------------------------
    1 - Testimonials
------------------------------------*/
.testimonial-and-clients {
    background: url(../images/test-clients-bg.png) center center/cover no-repeat #ccc;
}

.testimonials {
    padding: 95px 0 85px;
    color: #fff;
    border-bottom: 1px solid #26264b;
}

    .testimonials .test-img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        margin: 0 auto;
        overflow: hidden;
    }

        .testimonials .test-img img {
            -o-object-fit: cover;
            object-fit: cover;
            width: 100%;
            height: 90px;
        }

    .testimonials h5 {
        color: #26264b;
        margin-top: 15px;
    }

    .testimonials span {
        color: #c4c4c4;
        display: inline-block;
        margin: 0 0 17px;
    }

    .testimonials p {
        font-size: 17px;
        line-height: 27px;
    }

.test-pagination {
    text-align: center;
    margin-top: 8px;
}

    .test-pagination span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background-color: #26264b;
        margin-bottom: 0;
        transition: all 0.2s ease-in-out;
    }

        .test-pagination span:hover {
            cursor: pointer;
        }

        .test-pagination span:not(:last-child) {
            margin-right: 10px;
        }

        .test-pagination span.swiper-pagination-bullet-active {
            width: 12px;
            height: 12px;
            background-color: white;
        }

/*-----------------------------------
    1 - Clients
------------------------------------*/
.clients {
    padding: 70px 0;
}

    .clients .swiper-wrapper {
        text-align: center;
    }

/*-----------------------------------
    1 - CTA 2
------------------------------------*/
.cta2 {
    margin: 50px 0 -30px;
}




#backtotop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    border-radius:50%;
    color: white;
    cursor: pointer;
    padding: 2px 10px;
}

    #backtotop:hover {
        opacity:0.4;
        transition:0.6s;
    }




/*-----------------------------------
    1 - Footer
------------------------------------*/
footer {
    background: url(../images/footer-bg.png) center center/cover no-repeat #26264b;
    direction:rtl;
    text-align:right;
}

/*-----------------------------------
    1 - Footer Widgets
------------------------------------*/
.footer-widgets {
    padding: 100px 0;
}

    .footer-widgets .col-md-6 .single-widget:not(:first-child) .widget-tiltle {
        margin: 40px 0 30px;
    }

.single-widget {
    color: #aaa;
}

    .single-widget .widget-tiltle {
        font-size: 17px;
        text-transform: uppercase;
        color: #fff;
        margin-bottom: 45px;
    }

    .single-widget i {
        color: #dc3545;
    }

    .single-widget h6 {
        color: #fff;
        margin-right:4%;
    }

    .single-widget .media {
        margin-bottom: 20px;
    }

.contact-widget a {
    color: #aaa;
}

.contact-widget i {
    font-size: 22px;
}

.twitter-widget i,
.twitter-widget h6 {
    color: #777;
}

span {
    color: #fff;
}

.recent-post-widget .rcnt-img {
    width: 68px;
    height: 68px;
    border-radius: 4px;
    overflow: hidden;
}

    .recent-post-widget .rcnt-img img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

.recent-post-widget a {
    color: #fff;
}

.recent-post-widget p {
    font-size: 13px;
}

.recent-post-widget i {
    margin-right: 10px;
}

    .recent-post-widget i:last-of-type {
        margin-right: 15px;
    }

.tags-widget {
    margin: -10px 0 0 -10px;
}

    .tags-widget a {
        color: #aaa;
        display: inline-block;
        padding: 10px 12px;
        border-radius: 2px;
        background-color: #363636;
        font-size: 14px;
        font-family: IRANSansWeb;
        font-weight: 700;
        margin: 10px 10px 0 10px;
    }

        .tags-widget a:hover {
            text-decoration: none;
            color: #26264b;
            background-color: #dc3545;
        }

.subscribe-widget form {
    margin-bottom: 10px;
}

.subscribe-widget input {
    font-size: 14px;
    padding: 0px 10px;
    background-color: #444;
    border: none;
    line-height: 0;
    position: relative;
    z-index: 1;
}

    .subscribe-widget input:focus {
        outline: none;
        box-shadow: none;
    }

.subscribe-widget button {
    background: #dc3545;
    border: none;
    padding: 9px 14px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-right: -10px;
    position: relative;
    z-index: 5;
}

    .subscribe-widget button i {
        color: #fff;
    }

.subscribe-widget .social-nav {
    margin-top: 32px;
}

    .subscribe-widget .social-nav a {
        display: inline-block;
        text-align: center;
        width: 36px;
        height: 36px;
        line-height: 36px;
        background-color: #fff;
        color: #ddd;
        background-color: #444;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 10px;
        margin-left: 10px;
    }

        .subscribe-widget .social-nav a i {
            color: #ddd;
        }

        .subscribe-widget .social-nav a:hover {
            background-color: #dc3545;
        }

/*-----------------------------------
    1 - Foot Note
------------------------------------*/
.foot-note {
    padding: 35px 0;
    background-color: #dc3545;
    color: #26264b;
}

    .foot-note a {
        color: #26264b;
    }

        .foot-note a:last-child {
            margin-left: 30px;
        }

        .foot-note a.fh5-link {
            margin-left: 0;
        }




/*-----------------------------------
    1 - Portfolio
------------------------------------*/

.ourportfolio {
    direction:rtl !important;
    text-align:center;
}

    .ourportfolio .box {
        position: relative;
        display: inline-block;
        margin: 10px;
        width: calc((100% / 3) - 25px );
        height: 250px;
        background: #262626;
        overflow: hidden;
        -webkit-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
    }
@media only screen and (max-width: 600px) {

    .ourportfolio .box {
        position: relative;
        display: inline-block;
        margin: 10px;
        width: 90%;
        height: 300px;
        background: #262626;
        overflow: hidden;
        -webkit-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
    }
}
        .ourportfolio .box img {
            position: relative;
            width: 350px;
            height: 100%;
            transition: 3s;
        }

        .ourportfolio .box:hover img {
            transform: scale(2);
        }


        .ourportfolio .box::before, .container .box::after {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            transition: 1s;
            z-index: 2;
        }

        .ourportfolio .box::before {
            transform: scale(1,0);
            border-left: 1px solid #fff;
            border-right: 1px solid #fff;
        }

        .ourportfolio .box::after {
            transform: scale(0,1);
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
        }

        .ourportfolio .box:hover::before, .container .box:hover::after {
            transform: scale(1,1);
        }


        .ourportfolio .box .content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: 1s;
        }

        .ourportfolio .box:hover .content {
            background: rgba(0,0,0,.7);
        }

        .ourportfolio .box .content .wrap {
            box-sizing: border-box;
            padding: 20px;
            color: #fff;
            z-index: 3;
        }

            .ourportfolio .box .content .wrap h3 {
                position: relative;
                font-size: 20px;
                margin-bottom: 10px;
                transform: translateY(-80px);
                opacity: 0;
                transition: 1s;
            }

        .ourportfolio .box:hover .content .wrap h3 {
            transform: translateY(0);
            opacity: 1;
        }

        .ourportfolio .box .content .wrap p {
            position: relative;
            font-size: 15px;
            transform: translateY(170px);
            opacity: 0;
            transition: .5s;
        }

        .ourportfolio .box:hover .content .wrap p {
            transform: translateY(0px);
            opacity: 1;
        }



