@media (max-width:1200px) {
    .mobile_justify {
        justify-content: center;
    }
}

@media(min-width:1024px) {
    .wysiwyg-content p {
        max-width: 450px
    }
}

@media (max-width:1024px) {
    .navbar .navbar-brand {
        max-width: 158px;
    }

    .banner h1 {
        font-size: 48px;
        margin-bottom: 44px;
    }

    .banner .step-text {
        margin-top: 29px;
    }

    .banner .tab_cont {
        margin-top: 1rem;
    }

    .banner .tab_cont .box p {
        font-size: 18px;
    }

    .tax .heading {
        font-size: 80px;
    }

    .tax h2 {
        line-height: 1;
        margin-bottom: 25px;
    }

    .who img {
        max-height: 681px;
        height: 100%;
    }

}


@media (min-width:768px) and (max-width:992px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
    }

    .banner .tab_cont {
        margin-top: 0rem;
    }

    .what {
        padding-top: 0px;
    }

    .what .fixed_cont {
        position: static;
        top: 0;
    }


}

@media (max-width:768px) {
    .navbar ul li {
        margin-right: 0;
    }

    .navbar ul li a {
        padding: 1rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar ul li a i {
        font-size: 18px;
    }

    .navbar ul.dropdown-menu {
        max-width: 500px;
        min-width: 300px;
    }

    .mobile_card .owl-nav button,
    .feedback .owl-nav button {
        width: 48px;
        height: 48px;
        background-color: #2c3d5b !important;
        color: white !important;
        opacity: 1 !important;
    }

    .who .text {
        padding: 5rem 2rem;
    }

    .who .text.text-2 {
        padding: 0rem 1.5rem 5rem;
    }

    .what {
        margin-bottom: 40px !important
    }

    a.default_btn.text-uppercase.fw-bold {
        margin-bottom: 60px !important;
        margin-top: 20px;
    }

    .testimonial-info img {
        position: relative;
        right: 10px;
    }

    .testimonials .box .testimonial-info img {
    width: 40px;
}
}


@media (max-width:767px) {
    .heading-icon::after {
        content: url(../images/citytax-icon2.svg);
        font-family: "polston-tax-icon";
        position: absolute;
        bottom: 0;
        left: -4px;
        font-size: 10px;
        top: 50%;
        transform: translateY(-50%);
        height: fit-content;
    }

    .default_btn {
        background-color: var(--primary-color);
        width: 100%;
        border-radius: 4px;
        padding: 15px 32px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        text-decoration: none;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.1875em;
        text-align: center;
    }


    footer {
        padding: 40px 0;
    }

    /* .container{padding: 0 20px;} */
    .navbar {
        padding: 15px 0;
    }

    .banner .container {
        padding: 0;
    }

    .banner .content {
        margin-top: 2.5rem;
        padding: 0 20px;
    }

    .mobile_container {
        margin: 0 20px;
    }

    .banner .content a.default_btn {
        font-size: 16px;
    }

    .banner .sub-heading {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.35em;
        letter-spacing: .05em;
    }

    .banner h1 {
        line-height: 1.4em;
        margin-bottom: 24px;
        font-size: 30px;
    }

    .banner .tab_cont {
        margin-top: 1rem;
    }

    .banner .tab_cont .box img {
        width: 48px;
        height: auto;
        object-fit: contain;
        background: none;
    }

    .banner .tab_cont .box:after,
    .banner .tab_cont .box:before {
        display: none;
    }

    .banner .tab_cont .box {
        border-bottom: solid 2px gray;
        padding: 1.5rem;
        background: none;
    }

    .banner .tab_cont .box p {
        font-size: 16px;
    }

    .what {
        padding-top: 0;
        margin-top: 2rem;
    }

    .what .fixed_cont {
        position: static;
        top: 0;
        height: fit-content;
        margin-top: 0px;
    }

    .what h4,
    .services h4,
    .who .text h4,
    .form h4 {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.35em;
        position: relative;
        color: #d22a2d !important;
        letter-spacing: .05em;
        font-family: "Montserrat", sans-serif;
        display: inline-block;
        text-transform: uppercase;
        padding-left: 20px;
        margin-bottom: 2px;
    }

    .what h2,
    .services h2,
    h2 {
        font-size: 28px;
        line-height: 1.14em;
        margin-bottom: 15px;
    }

    /* .what p{font-size: 18px;} */

    .mobile_card .item,
    .testimonials .item {
        margin: 1rem 0.5rem;
    }

    .mobile_card .owl-nav button,
    .feedback .owl-nav button {
        width: 48px;
        height: 48px;
        background-color: #2c3d5b !important;
        color: white !important;
        opacity: 1 !important;
    }

    .mobile_card .owl-nav button:hover,
    .mobile_card .owl-nav button.active,
    .feedback .owl-nav button:hover,
    .feedback .owl-nav button.active {
        background-color: var(--primary-color) !important;
    }

    .mobile_card .owl-nav button i,
    .feedback .owl-nav button i {
        font-size: 30px;
    }

    .services .box_details h3 {
        text-align: center;
    }

    .tax .cursive {
        font-size: 56px !important;
    }

    .tax h2 {
        margin-bottom: 1rem;
        font-size: 30px;
    }

    .tax .heading {
        font-size: 50px;
    }

    .testimonials .average_card {
        padding: 1rem 3rem;
    }

    .who .text {
        padding: 2rem 1.5rem;
    }

    .who .text p {
        margin-bottom: 20px;
    }

    .ul-new {
        gap: 20px;
        display: grid;

    }

    .let-us-sort {
        width: 100% !important;
        padding: 20px;

    }

    .heading-corporate {
        font-size: 36px !important;
        font-family: "Playfair Display", serif;
        color: #fff;
    }

    .unfiled-returns h2 {
        color: #d1272a !important;
        font-size: 28px !important;
    }

}


@media (max-width:576px) {
    .what .box {
        height: 280px;
    }

    .tax .heading {
        font-size: 54px;
    }


}



@media (min-width:992px) and (max-width:1400px) {}


@media (max-width:1200px) {
    .navbar ul.dropdown-menu {
        max-width: 100%;
    }
}