@media only screen and (max-width: 1200px) {
    .container {
        max-width: 100%;
    }

    .row {
        margin-right: 0px;
        margin-left: 0px;
    }
}

@media only screen and (max-width: 850px) {
    .mega-menu-toggle {
        position: fixed;
        top: 15px;
        left: 10px;
        z-index: 99 !important;
    }

    #mega-menu-wrap-main .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-box,
    #mega-menu-wrap-main .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
    #mega-menu-wrap-main .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
    #mega-menu-wrap-main .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
        width: 35px !important;
    }

    #mega-menu-wrap-main li.mega-current-menu-item a,
    #mega-menu-wrap-main>ul>li>a:hover {
        border-bottom: none !important;
    }

    ul.mega-menu {
        position: fixed !important;
        z-index: 99 !important;
        top: 0 !important;
        right: 0 !important;
        width: 75% !important;
        height: 100% !important;

    }

    #mega-menu-wrap-main #mega-menu-main>li.mega-menu-item>a.mega-menu-link {
        text-align: right !important;
    }

    .header-section #mega-menu-main>li>a::after {
        display: none !important;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 20px;
    }

    h4,
    h5,
    h6 {
        font-size: 19px;
    }

    #main-nav-sec {
        justify-content: start;
        flex-direction: row-reverse;
    }

    #top-logo-sec {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    #top-logo-sec img {
        height: 55px;
        width: auto;
        margin-right: 0;
        margin-left: 30px;
    }

    .slider-little-title {
        font-size: 19px !important;
        position: relative;
        top: 25px;
    }

    .slider-big-title {
        font-size: 39px !important;
        line-height: 55px !important;
        position: relative;
        top: 20px;
    }

    .slider-text {
        font-size: 14px !important;
        line-height: 30px !important;
        width: 70%;
        word-wrap: break-word;
    }

    #rev_slider_1_1_wrapper .hermes.tp-bullets {
        transform: translate(15px, -50px) !important;
        -webkit-transform: translate(15px, -50px) !important;
        -moz-transform: translate(15px, -50px) !important;
        -ms-transform: translate(15px, -50px) !important;
        -o-transform: translate(15px, -50px) !important;
    }

    .slider-section .col-12 {
        padding: 0;
    }

    .services-section {
        padding: 30px 0;
    }

    .site-title-wrap h2 {
        font-size: 39px;
        line-height: 60px;
        margin: 0 0 25px 0;
        padding-bottom: 20px;
    }

    .site-title-wrap p,
    .about-us-section h3 {
        font-size: 17px;
    }

    .site-title-wrap {
        margin-bottom: 35px;
    }

    .site-btn {
        font-size: 15px;
    }

    .site-btn::after {
        font-size: 16px;
        margin-right: 0;
        top: 0;
    }

    .service-links-sec {
        padding-right: 0;
    }

    #scroller {
        display: none !important;
    }

    .counter-number-sec {
        font-size: 55px;
        line-height: 75px;
    }

    .counter-title-sec {
        font-size: 15px;
        line-height: 40px;
    }

    .text-animate-section {
        margin-top: 35px;
    }

    .text-animate-section marquee {
        font-size: 85px;
        padding-top: 145px;
        -webkit-text-stroke-color: #fff;
        -webkit-text-stroke-width: 2px;
        height: 300px;
        letter-spacing: 3px;
        word-spacing: 0px;
    }

    .work-steps-section {
        padding: 40px 0 0;
    }

    .work-steps-items-sec {
        margin: 25px 0;
    }

    .portfolio-section {
        padding: 0;
    }

    .portfolio-section .owl-carousel .owl-nav button {
        font-size: 85px;
    }

    .portfolio-section .owl-carousel .owl-nav .owl-next {
        right: 10px;
    }

    .portfolio-section .owl-carousel .owl-nav .owl-prev {
        left: 10px;
    }

    .about-us-section {
        padding: 30px 0;
    }

    #about-us-text-sec {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .project-slider-title {
        font-size: 25px !important;
        line-height: 55px !important;
    }

    .project-slider-btn {
        font-size: 14px !important;
        padding: 14px 25px !important;
    }

    .blogs-section {
        padding: 30px 0;
    }

    .blog-item {
        margin-bottom: 20px;
    }

    .cta-section h2 {
        font-size: 39px;
        line-height: 50px;
    }

    .wordCarousel {
        color: #fff;
        font-size: 19px;
        margin-top: 15px;
        margin-bottom: 0px;
    }

    .cta-btn {
        padding: 11px 22px;
        border-radius: 11px;
        font-size: 15px;
    }

    .cta-btn::after {
        font-size: 15px;
    }

    #footer-sec-one,
    #footer-sec-three {
        display: none;
    }

    #footer-sec-three {
        text-align: center;
    }

    .footer-section {
        padding: 40px 0 0;
        text-align: center;
    }

    #copyright-wrap {
        margin-top: 30px;
        padding: 13px 0;
        font-size: 13px;
        text-align: center;
    }

    #copyright-sec-two {
        text-align: center;
    }

    .blog-header {
        padding: 75px 0;
        top: 0;
        margin-bottom: 0;
    }

    .blog-header h1 {
        font-size: 39px;
        line-height: 45px;
        margin-bottom: 11px;
    }

    .blog-header .breadcrumb {
        color: #fff;
        font-size: 14px;
    }

    .left-sidebar {
        display: none;
    }
    #top-btn {
        padding: 9px 23px;
        font-size: 15px;
    }

}

@media only screen and (max-width: 570px) {
    .slider-little-title {
        font-size: 15px !important;
        top: -7px;
    }

    .slider-big-title {
        font-size: 27px !important;
        top: 0px;
        line-height: 31px !important;
    }

    .slider-text {
        display: none !important;
    }

    .site-title-wrap h2 {
        font-size: 25px;
        line-height: 45px;
    }

    .counter-items-sec {
        text-align: center;
        margin: 15px 0;
    }

    .text-animate-section marquee {
        font-size: 39px;
        padding-top: 80px;
        -webkit-text-stroke-width: 1px;
        height: 170px;
    }

    .indicator {
        display: none;
    }

    .work-steps-items-sec {
        margin: 15px 0;
        text-align: center;
    }

    .work-steps-section {
        padding: 25px 0 0;
    }

    .portfolio-section img {
        height: auto;
    }

    .portfolio-section .owl-carousel .owl-nav button {
        font-size: 55px;
    }

    .site-title-wrap h2 {
        font-size: 21px;
        line-height: 45px;
        padding-bottom: 0;
    }

    #about-us-main-right {
        display: block;
    }

    #about-us-links-sec,
    #about-us-text-sec {
        width: 100%;
    }

    #about-us-links-sec a {
        font-size: 15px;
        margin-bottom: 7px;
    }

    .project-slider-title {
        font-size: 13px !important;
        line-height: 35px !important;
    }

    .project-slider-btn {
        font-size: 12px !important;
        padding: 13px 18px !important;
    }

    .projects-section .tp-bullets {
        position: relative;
        left: -100px !important;
    }

    .blog-img-sec img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .cta-section h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .wordCarousel {
        color: #fff;
        font-size: 16px;
        margin-top: 0;
    }

    .wordCarousel div li {
        padding: 7px 10px;
        height: 45px;
        font-size: 15px;
    }

    .cta-section {
        padding: 35px 0;
    }

    .cta-btn {
        padding: 8px 17px;
        border-radius: 8px;
        font-size: 14px;
        margin-top: 5px;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -ms-border-radius: 8px;
        -o-border-radius: 8px;
    }

    .slider-section {
        margin-top: 0;
    }

    #rev_slider_1_1_wrapper .hermes.tp-bullets {
        display: none !important;
    }

    .blog-header {
        padding: 55px 0;
    }

    .blog-header h1 {
        font-size: 27px;
        line-height: 35px;
        margin-bottom: 9px;
    }

    .blog-header .breadcrumb {
        color: #fff;
        font-size: 14px;
    }

    .article-main {
        padding: 0;
    }

    .footer-section {
        font-size: 14px;
    }

    h1 {
        font-size: 23px;
        margin-bottom: 7px;
        margin-top: 10px;
    }

    h2 {
        font-size: 19px;
        margin-bottom: 7px;
        margin-top: 10px;
    }

    h3 {
        font-size: 17px;
        margin-bottom: 7px;
        margin-top: 10px;
    }

    h4,
    h5,
    h6 {
        font-size: 15px;
        margin-bottom: 7px;
        margin-top: 10px;
    }

    body {
        font-size: 14px;
    }

    #main-nav-sec {
        padding: 0;
    }
    .fixed-contact-button {
        position: fixed;
        left: 7px;
        bottom: 35px;
        z-index: 2;
    }
    .fixed-contact-button a.icon_phone {
        color: #fff!important;
        background: var(--main-color);
        border: 1px solid #fff;
        height: 45px;
        width: 45px;
        display: block;
        border-radius: 3px;
        line-height: 47px!important;
        position: relative;
        z-index: 2;
        font-size: 18px;
        text-align: center;
    }
    .fixed-contact-button .tooltip {
        position: absolute;
        left: 0;
        opacity: 1;
        bottom: 100%;
        font-family: 'IRANSANS';
        margin-bottom: 15px;
        z-index: 1;
        border-radius: 4px;
        pointer-events: none;
        padding: 8px 9px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.6;
        white-space: nowrap;
    }
    .portfolio-item-section h3 {
    font-size: 17px;
}
.projects-section .tp-bullets{
    display: none !important;
}
}

@media only screen and (max-width: 420px) {
    .project-slider-btn {
        font-size: 11px !important;
        padding: 11px 13px !important;
    }
}