@import url(reset.css);
@import url(global.css);
@import url(default.css);
@import url(layout.css);
@import url(module.css);
@import url(controller.css);

body {
    font-family: "Yekan Bakh FaNum ExtraCondensed";
}

/*---------------------------------home-about item------------------------*/

.home-about {
    width: 100%;
    height: 856px;
    background-image: url(../img/about-bg-1.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.home-about-right {
    width: 50%;
    border: 15px solid var(--text-color2);
}

    .home-about-right img {
        height: 100%;
        object-fit: cover;
    }

.home-about-left {
    width: 48%;
    padding-right: 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
}

    .home-about-left button {
        margin: 20px 0 0;
    }

@media screen and (max-width:990px) {
    .home-about {
        height: 1050px;
    }

        .home-about .container {
            flex-direction: column;
        }

    .home-about-right {
        width: 100%;
    }

    .home-about-left {
        width: 100%;
        margin-top: 20px;
    }
}

/*------------------------------home-gallery item-------------------------*/

.home-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-gallery-box {
    grid-row: span 1;
    grid-column: span 1;
    height: 220px;
    transition: all .2s ease;
    overflow: hidden;
}

.home-gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: all .2s linear;
}

.home-gallery-box:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
    height: 470px;
}

    .home-gallery-box:nth-child(3) > .home-gallery-hover > img {
        height: 470px;
    }


.home-gallery-box:nth-child(5) {
    grid-row: span 2;
    height: 470px;
}

    .home-gallery-box:nth-child(5) > .home-gallery-hover > img {
        height: 470px;
    }

.home-gallery-hover {
    transition: all .3s ease;
}

.home-gallery-box:hover .home-gallery-hover {
    margin-top: -100px;
    transition: all .3s ease;
}

.home-gallery-text {
    width: 100%;
    height: 100px;
    padding-left: 9%;
    padding-right: 9%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .2s ease;
}

    .home-gallery-text h3 {
        font-size: 18px;
        margin-bottom: 12px;
        color: var(--main-color);
    }

@media screen and (max-width:1200px) {

    .home-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-gallery-box:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
        height: 220px;
    }

    .home-gallery-box:nth-child(4) {
        grid-column: span 2;
        grid-row: span 2;
        height: 470px;
    }

    .home-gallery-box:nth-child(5) {
        grid-row: span 2;
    }
}

@media screen and (max-width:990px) {

    .home-gallery-box {
        height: 233px;
    }

        .home-gallery-box:nth-child(3) {
            grid-column: span 1;
            grid-row: span 1;
            height: 233px;
        }

        .home-gallery-box:nth-child(4) {
            grid-column: span 2;
            grid-row: span 2;
            height: 433px;
        }

        .home-gallery-box:nth-child(5) {
            height: 433px;
        }

        .home-gallery-box:hover .home-gallery-hover,
        .home-gallery-hover {
            transition: none;
            margin-top: -80px;
        }

    .home-gallery-text {
        height: 80px;
    }

        .home-gallery-text h3 {
            margin-bottom: 5px;
            font-size: 15px;
        }
}

@media screen and (max-width:768px) {
    .home-gallery-box {
        height: 257px;
    }

    .home-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-gallery-box:nth-child(3) {
        grid-column: span 2;
        grid-row: span 2;
        height: 482px;
    }

    .home-gallery-box:nth-child(5) {
        grid-column: span 1;
        grid-row: span 2;
        height: 544px;
    }

    .home-gallery-box:nth-child(4) {
        grid-row: span 1;
        grid-column: span 1;
        height: 257px;
    }
}

@media screen and (max-width:498px) {

    .home-gallery-box {
        height: 284px;
    }

    .home-gallery {
        grid-template-columns: repeat(1, 1fr);
    }

    .home-gallery-box:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
        height: 284px;
    }

    .home-gallery-box:nth-child(5) {
        grid-column: span 1;
        grid-row: span 2;
        height: 470px;
    }

    .home-gallery-box:nth-child(4) {
        grid-row: span 1;
        grid-column: span 1;
    }
}
/*--------------------Blog page--------------------*/

.blog-news {
    display: flex;
    flex-direction: column;
    width: 66.666%;
}

.blog-title {
    color: var(--text-color1) !important;
    margin: 8px 0 14px;
}

.blog-side {
    display: flex;
    flex-direction: column;
    width: 33.333%;
    align-items: flex-end;
    color: var(--text-color3);
}

.blog-sidebar {
    background: var(--bg-color1);
    padding: 30px;
    margin-bottom: 30px;
    width: 96.8%;
}

    .blog-sidebar:last-child {
        margin-bottom: 0px;
    }

.blog-search {
    width: 100%;
    padding: 12px 10px;
    background-color: var(--text-color2);
    display: flex;
    justify-content: space-between;
}

    .blog-search input {
        width: 93%;
        color: #999;
    }

.blog-search-icon {
    color: var(--text-color1);
    cursor: pointer;
}

.blog-span {
    border-bottom: 1px solid var(--main-color);
    display: flex;
    width: 100%;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.blog-side-img {
    width: 90px;
}

.blog-sidebar li {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.blog-text {
    display: flex;
    padding: 0 15px 0 0px;
    line-height: 25px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: color .3s ease;
    font-size: 15px;
}

    .blog-text:hover, .blog-text.active {
        color: var(--main-color);
    }

.blog-tags {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
}

    .blog-tags a {
        color: var(--text-color2);
        background-color: #b8b6b6;
        padding: 9.5px 16px;
        margin: 3px;
        letter-spacing: 1;
        cursor: pointer;
        transition: all .15s ease;
    }

        .blog-tags a:hover {
            background-color: var(--main-color);
        }

@media screen and (max-width:768px) {

    .blog-news {
        width: 100%;
        margin-bottom: 40px;
    }

    .w-98p {
        width: 100% !important;
    }

    .blog-side,
    .blog-sidebar {
        width: 100% !important;
    }
}
/*------------------------------sub-blog page-------------------------*/

.subblog {
    width: 100% !important;
}

.slider-height {
    /*height: 60vh;*/
}

.subblog-info {
    width: 86%;
    margin-top: -100px;
    z-index: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

    .subblog-info li {
        margin-right: 10px;
    }

.subblog-box {
    width: 86%;
    height: 100px;
    background: #fff;
    box-shadow: 0 0 24px rgba(0, 0, 0, .1);
    text-transform: capitalize;
    z-index: 1;
    -moz-box-shadow: 0 0 24px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 0 24px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .subblog-box h2 {
        font-size: 22px;
        font-weight: 600;
    }

.subblog-categories {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
}

    .subblog-categories a {
        color: var(--main-color);
        transition: all 0.1s linear;
        margin: 30px 10px 0;
        font-weight: 700;
    }

        .subblog-categories a:hover {
            color: var(--text-color1);
        }

.subblog-text {
    width: 86%;
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}

    .subblog-text p {
        padding: 5px;
        text-align: justify;
    }

    .subblog-text div {
        width: 100%;
        background-color: #eee;
    }

.subblog-admin {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    padding: 65px 0;
    width: 79%;
    display: flex;
    justify-content: space-between;
}

    .subblog-admin div {
        display: flex;
        align-items: center;
    }

    .subblog-admin svg {
        margin-left: 10px;
    }

.subblog-like {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid var(--bg-color);
}

.subblog-recent {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-top: 50px;
}

@media screen and (max-width: 767px) {

    .slider-height {
        height: 350px;
    }

    .subblog-admin {
        padding: 28px 15px;
    }

        .subblog-admin svg {
            width: 16px;
        }
}

@media screen and (min-width: 768px) {
    .slider-height {
        height: 350px;
    }

    .subblog-info {
        margin-top: -88px;
    }

    .subblog-box {
        height: 70px;
        display: flex;
        align-items: anchor-center;
        justify-content: center;
    }

        .subblog-box h2 {
            font-size: 25px;
        }

    .subblog-text,
    .subblog-admin {
        width: 100%;
    }

        .subblog-text p {
            /*padding: 40px 0;*/
        }

        .subblog-text div p {
            /*padding: 30px;*/
        }
}

@media screen and (min-width:990px) {
    .slider-height {
        height: 485px;
    }
}

@media screen and (min-width:1200px) {
    .slider-height {
        height: 683px;
    }
}
/*@media screen and (max-width:768px) {
    .slider-height {
        height: 350px;
    }

    .subblog-info {
        margin-top: -88px;
    }

    .subblog-box {
        height: 70px;
        display: flex;
        align-items: anchor-center;
        justify-content: center;
    }

        .subblog-box h2 {
            font-size: 25px;
        }

    .subblog-text,
    .subblog-admin {
        width: 100%;
    }

        .subblog-text p {
            padding: 40px 0;
        }

        .subblog-text div p {
            padding: 30px;
        }
}*/
/*@media screen and (max-width:768px) {
    .subblog-admin {
        padding: 28px 15px;
    }

    .subblog-admin svg {
        width: 16px;
    }
}*/
/*--------------------about page--------------------*/

.about {
    width: 100%;
    background-color: var(--text-color2);
}

    .about .home-about-right {
        border-color: #f8f5f5;
    }

.about-work {
    width: 100%;
    background: url(../img/meric-dagli-uVdOLNJpxA0-unsplash-scaled-1.jpg) no-repeat center center / cover fixed;
    position: relative;
}

    .about-work::after {
        content: '';
        width: 100%;
        height: 100%;
        background-color: #303849;
        opacity: .7;
        position: absolute;
        top: 0;
    }

.about-itemwork {
    width: 25%;
    border-left: 1px solid var(--text-color1);
    text-align: center;
    z-index: 3;
}

    .about-itemwork:last-child {
        border-left: none;
    }


    .about-itemwork span {
        margin-bottom: 0px;
        color: var(--main-color);
    }

.client {
    width: 100%;
    background-color: #FAFAFA;
}

    .client .container {
        overflow: hidden;
        flex-direction: column;
    }

@media screen and (max-width:768px) {
    .about-work .container {
        flex-direction: column;
    }

    .about-itemwork { 
        width: 100%;
        border-left: none;
        margin-bottom: 30px;
    }
}

/*--------------------products page--------------------*/

.products-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.products-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.products-button {
    padding: 35px 80px;
    margin: 0 0 50px;
    font-weight: 700;
    font-size: 20px;
    background: var(--main-color);
    border: 2px solid var(--main-color);
    color: #FFF;
    transition: all 0.15s linear;
}

    .products-button:hover {
        background: #fff;
        color: var(--main-color);
    }

/*--------------------subproduct page--------------------*/

.subproduct {
    justify-content: space-between;
}

.subproduct-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px
}

.subproduct-price {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.subproduct-text {
    display: flex;
    flex-direction: column;
    width: 40%;
    align-items: start;
}

    .subproduct-text .button {
        margin: 35px 0 0;
    }

.subproduct-detail {
    display: flex;
    flex-direction: column;
    width: 58%;
}

.subproduct-slider {
    width: 100%;
    height: 750px;
}

.subproduct-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySwiper2 {
    /*height: 160px;*/
    margin-top: 10px;
}

    .mySwiper2 .subproduct-slide {
        width: 25%;
        height: 100%;
        opacity: 0.4;
        cursor: pointer;
    }

    .mySwiper2 .swiper-slide-thumb-active {
        opacity: 1;
    }

.subproduct-table {
    width: 100%;
    margin-top: 130px;
    border: 0.1px solid var(--main-color);
}

    .subproduct-table tr {
        display: flex;
        border: none;
    }

    .subproduct-table td {
        border: 0.1px solid var(--main-color);
        padding: 20px;
        color: var(--text-color1);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

        .subproduct-table td:first-child {
            width: 36%;
        }

        .subproduct-table td:last-child {
            width: 64%;
        }

@media screen and (max-width:990px) {
    .subproduct {
        flex-direction: column-reverse;
    }

    .subproduct-text,
    .subproduct-detail {
        width: 100%;
        margin-bottom: 20px;
    }

    .subproduct-slider {
        height: auto;
    }

    .subproduct-table {
        margin-top: 20px;
    }
}
/*--------------------subproject page--------------------*/

.subproject-box {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.subproject-text {
    display: flex;
    flex-direction: column;
}

    .subproject-text:first-child {
        flex: .69;
    }

    .subproject-text:last-child {
        flex: .25;
    }

@media screen and (max-width:990px) {
    .subproject-text:first-child {
        flex: .62;
    }

    .subproject-text:last-child {
        flex: .34;
    }
}

@media screen and (max-width:770px) {

    .subproject-box {
        flex-direction: column;
    }

    .subproject-text:first-child {
        margin-bottom: 30px;
    }
}
/*--------------------subproject page--------------------*/

.contact-us {
    padding: 70px 0;
}

    .contact-us .container {
        padding: 50px 0;
        display: flex;
        align-items: center;
        /*justify-content: space-between;*/
    }

.contact-map {
    width: 520px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map1 {
    background: url(../img/map-1.jpg) no-repeat center center/cover;
}

.map2 {
    background: url(../img/map-2.jpg) no-repeat center center/cover;
}

.contact-button {
    width: 193px;
    height: 69px;
    border-radius: 31px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s linear;
}



.contact-phone-item {
    margin: 10px 0;
    display: flex;
    align-items: center
}

    .contact-phone-item span {
        color: #777;
        margin: 0 0 0 10px;
        font-size: 22px;
    }

    .contact-phone-item a {
        color: #333;
        margin: 0 0 0 10px;
        font-size: 22px;
        font-weight: 700
    }

.contact-content {
    margin-right: 40px;
}


    .contact-content > p {
        margin: 40px 0 30px 0px;
        line-height: 35px;
        position: relative;
        color: var(--text-color1);
        font-size: 22px
    }
    /*        .contact-content > p::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 1px;
            background: var(--bg-color);
            bottom: -40px;
            right: 0;
        }*/
    /*.contact-content-call {
    margin: 80px 0 10px;
}*/

    .contact-content > span {
        display: flex;
        color: var(--text-color1);
    }

.contact-content-phone {
    display: flex;
    color: var(--colorMain) !important;
    font-size: 36px;
}

@media screen and (max-width:1200px) {

    .contact-us {
        padding: 40px 0;
    }

    .contact-map {
        width: calc(50% - 40px);
        height: 350px;
    }

    .contact-content {
        margin: 0 40px 0 0;
        /*width: 50%;*/
    }
}

@media screen and (max-width:990px) {

    .contact-us {
        padding: 40px 0;
    }

    .contact-us .container {
        width: 90%;
    }

    .contact-content {
        margin: 0 40px 0 0;
    }
}

@media screen and (max-width:768px) {

    .contact-us {
        padding: 30px 0;
    }

    .contact-us .container {
        width: 90%;
    }

    .contact-map {
        width: 100%;
    }

    .contact-content {
        margin: 40px 0px 0 0;
    }
}

@media screen and (max-width:490px) {

    .contact-us {
        padding: 20px 0;
    }

    .contact-us .container {
        width: 88%;
        padding: 60px 0;
    }
}
/*
@media screen and (max-width: 767px) {
    .contact-us .container {
        width: 88%;
        padding: 60px 0;
    }

    .contact-content {
        margin: 40px 0px 0 0;
    }
}

@media screen and (min-width: 768px) {
    .contact-us .container {
        width: 420px;
    }

    .contact-map {
        width: 100%;
    }

    .contact-content {
        margin: 40px 0px 0 0;
    }
}

@media screen and (min-width:990px) {
    .contact-us .container {
        width: 90%;
    }

    .contact-content {
        margin: 0 40px 0 0;
    }
}

@media screen and (min-width:1200px) {
    .contact-map {
        width: 50%;
        height: 350px;
    }

    .contact-content {
        margin: 0 40px 0 0;
    }
}*/
