 /* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

.about-remark {
    padding: 100px 0 100px;
}
.about-services-tabs .about-services-tabs-item {
    padding: 160px 30px 100px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 70px 0px 70px 30px;
}
.account-ser .account-ser-item h2 {
    font-size: 25px;
    margin-bottom: 27px;
}
.account-ser .account-ser-item:nth-child(1) {
    padding: 61px 0px 35px 30px;
}
.account-ser .account-ser-item:nth-child(2) {
    padding: 100px 0px 40px 30px;
}
.tax-detail-sec {
    padding: 5px 0 100px;
}
.tax-ser .tax-ser-item h2 {
    font-size: 29px;
    margin-bottom: 25px;
}
.tax-detail-sec .tax-detail-sec-item h3 {
    height: calc(100% - 348px);
}
.home-about .container-fluid .row {
    flex-direction: column-reverse;
}

}
 /* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    body .footer-top ul.links li {
    margin-bottom: 20px !important;
}
.about-services-tabs .about-services-tabs-item h3 {
    height: calc(100% - 80px);
    margin-bottom: 0px; 
}
.home-about .home-about-item {
    padding: 70px 16px;
}
.blog_search:before {
    right: 2px;
    top: 86px;
}
.text-res-next h2 {
    font-size: 30px;
}
.tax-ser {
    margin-top: 3px;
}
.tax-ser-item {
    text-align: center;
}
.tax-detail-sec .tax-detail-sec-item h3 {
    font-size: 21px;
}
.detail-sec {
    padding: 2px 0 120px;
}
.account-ser-item {
    text-align: center;
}
.tax-detail-sec3 .tax-detail-sec3-item h2 {
    font-size: 24px;
}
.tax-detail-sec .tax-detail-sec-item h3 {
    height: calc(100% - 434px);
}
.about-best .about-best-item h2 {
    font-size: 41px;
}
.staff-main .staff-main-item {
    padding: 0px 6px;
}
.about-remark-item h2 {
    font-size: 33px;
}
header .logo {
    max-width: 180px;
}    
.navbar-light .navbar-toggler {
    color: white;
    border-color: white;
    border-radius: 0px;
}
.navbar-nav {
    background: #1d44ac;
    text-align: left;
}
.main-slider .slider-caption h1 {
    font-size: 50px;
}
.services-tabs .services-item {
    padding: 50px 25px 35px;
    text-align: center;
}
.home-about .home-about-item:first-child {
    padding: 1px 15px;
}
.home-about h2 {
    margin-bottom: 20px;
}
.home-about p {
    margin-bottom: 15px;
}
.home-business .home-business-item:nth-child(1) {
    padding: 40px 16px 40px 16px;
}
.home-business .home-business-item:nth-child(2) {
    padding: 40px 16px 40px 16px;
}
.home-business .home-business-item .home-business-item-text {
    padding: 25px 15px;
}
.home-business .home-business-item .home-business-item-text h2 {
    font-size: 30px;
    margin-bottom: 30px;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap {
    width: 200px;
    height: 100px;
    padding: 9px 20px;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap img {
    margin-bottom: 10px;
    width: 50px;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap:before {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    top: -60px;
    border-bottom: 60px solid #1b3fa0;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap:after {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    bottom: -60px;
    border-top: 60px solid #1b3fa0;
}

.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap {
    width: 200px;
    height: 120px;
    padding: 9px 20px;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap img {
    margin-bottom: 10px;
    width: 50px;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap:before {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    top: -70px;
    border-bottom: 70px solid #1b3fa0;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap:after {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    bottom: -70px;
    border-top: 70px solid #1b3fa0;
}
.testimonial-slider .testimonial-inner {
    max-width: 460px;
}
.footer-top ul.info li .col-1 {
    padding-right: 17px;
}
.footer-top ul.info li .col-11 {
    padding-left: 9px !important;
}
.about-services-tabs .about-services-tabs-item {
    padding: 100px 10px 40px;
}
.about-best .about-best-item:first-child {
    padding: 60px 20px 50px 20px;
}
.staff-main .staff-main-item h4 {
    min-height: 66px;
    font-size: 16px;
}
.staff-main .staff-main-item .card .card-body {
    padding: 25px 25px 10px;
}
.services-services-tabs .services-services-tabs-item {
    padding: 70px 20px 20px;
}
.account-ser .account-ser-item:nth-child(2) {
    padding: 20px 0px 50px 30px;
}
.account-ser .account-ser-item h2 {
    font-size: 22px;
    margin-bottom: 25px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 45px 0px 35px 30px;
}
.tax-ser .tax-ser-item h2 {
    font-size: 22px;
}
.contact-sec .contact-sec-item:nth-child(2) h3 {
    font-size: 26px;
    margin-bottom: 20px;
}
.contact-sec .contact-sec-item:nth-child(2) h3 span {
    font-size: 20px;
}
.contact-sec .contact-sec-item:nth-child(2) ul.info {
    padding: 0;
}
.contact-sec .contact-sec-item:nth-child(2) ul.info li {
    font-size: 12px;
}
.menu-item {
    height: auto !important;
}
.dropdown-toggle::after {
    position: absolute;
    right: 12px;
    top: 20px;
}
.about-best .container-fluid .row {
    flex-direction: column-reverse;
}
.about-best .about-best-item:nth-child(2) {
    padding: 17px 17px;
}

}

 /* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
.services-tabs .services-tabs-text {
    height: calc(100% - 132px) !important;    
}
.about-best .about-best-item:first-child {
    padding: 30px 20px 50px 20px;
}
header .logo {
    max-width: 144px;
}    
.main-slider .slider-caption h1 {
    font-size: 26px;
}
.services-tabs .services-item {
    padding: 90px 50px 60px;
    text-align: center;
}
.services-tabs .services-tabs-text {
    min-height: 50px;
}
.home-about .home-about-item:first-child {
    padding: 70px;
}
.main-slider .slider-caption {
    top: 50%;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap {
    width: 270px;
    height: 160px;
    padding: 13px 20px;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap:before {
    top: -80px;
    border-left: 133px solid transparent;
    border-right: 133px solid transparent;
    border-bottom: 80px solid #1b3fa0;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap:after {
    bottom: -80px;
    border-left: 133px solid transparent;
    border-right: 133px solid transparent;
    border-top: 80px solid #1b3fa0;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap img {
    margin-bottom: 30px;
}
.home-serving .home-serving-item .home-serving-item-top .hex-shap img {
    width: auto;
}

.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap {
    width: 270px;
    height: 160px;
    padding: 13px 20px;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap:before {
    top: -80px;
    border-left: 133px solid transparent;
    border-right: 133px solid transparent;
    border-bottom: 80px solid #1b3fa0;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap:after {
    bottom: -80px;
    border-left: 133px solid transparent;
    border-right: 133px solid transparent;
    border-top: 80px solid #1b3fa0;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap img {
    margin-bottom: 30px;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-top .hex-shap img {
    width: auto;
}
.home-serving .home-serving-item .home-serving-item-bottom {
    padding: 50px 0px 0px;
}
.home-serving .home-serving-item:nth-child(3) .home-serving-item-bottom {
    padding: 30px 0px 0px;
}
.testimonial-slider .testimonial-inner {
    max-width: 360px;
}
.footer-top ul.links {
    padding: 0px;
}
.about-brand-item:nth-child(2) {
    border-right: 1px solid #425db7;
    border-left: 1px solid #425db7;
}
.staff-main .staff-main-item h4 {
    min-height: auto;
    font-size: 18px;
}
.staff-main .staff-main-item .card .card-body {
    padding: 25px;
}
.services-services-tabs .services-services-tabs-item {
    padding: 130px 80px 80px;
}
.account-ser .account-ser-item:nth-child(2) {
    padding: 100px 0px 100px 30px;
}
.account-ser .account-ser-item h2 {
    font-size: 30px;
    margin-bottom: 50px;
}
.account-ser .account-ser-item:nth-child(1) {
    padding: 40px 0px 40px 0px;
}
.detail-sec .detail-sec-item:nth-child(1) {
    border-right: 2px solid white;
}
.detail-sec .detail-sec-item:nth-child(3) {
    border-right: 2px solid white;
}
.detail-sec .detail-sec-item:nth-child(5) {
    border-right: 2px solid white;
    border-bottom: 0px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 120px 0px 120px 30px;
}
.tax-ser .tax-ser-item h2 {
    font-size: 30px;
}
.tax-detail-sec .tax-detail-sec-item:nth-child(1) {
    border-right: 2px solid white;
}
.tax-detail-sec .tax-detail-sec-item:nth-child(2) {
    border-right: 2px solid white;
}
.tax-detail-sec2 .tax-detail-sec2-item:nth-child(1) {
    border-right: 2px solid white;
}
.tax-detail-sec2 .tax-detail-sec2-item:nth-child(3) {
    border-right: 2px solid white;
}
.tax-detail-sec3 .tax-detail-sec3-item:nth-child(1) {
    border-right: 2px solid white;
}
.tax-detail-sec3 .tax-detail-sec3-item:nth-child(3) {
    border-right: 2px solid white;
}
.contact-sec .contact-sec-item:nth-child(2) h3 span {
    font-size: 24px;
}
.contact-sec .contact-sec-item:nth-child(2) h3 {
    font-size: 35px;
    margin-bottom: 50px;
}

.contact-sec .contact-sec-item:nth-child(2) {
    max-height: 600px;
}
.contact-sec .contact-sec-item:nth-child(1) {
    padding: 30px 0px;
}
.about-remark {
    padding: 0;
}
.about-remark-item {
    background: rgba(29, 68, 172, 0.5);
}

}

 /* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .tax-detail-sec {
        padding: 5px 0 1px;
    }
    .new-entry {
        margin-left: 38px !important; 
    }
    .detail-sec {
        padding: 2px 0 1px;
    }
    .tax-ser-item img {
        padding: 0px 10px;
    }
    .account-ser {
        margin-top: 11px;
    }
    .account-ser .account-ser-item h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .account-ser .account-ser-item:nth-child(2) {
        padding: 1px 30px 50px 30px;
    }
    .account-ser .account-ser-item:nth-child(1) {
        padding: 0px 10px 1px 10px;
    }
    .about-best .about-best-item h2 {
        font-size: 33px;    
        margin-bottom: 25px;
    }
    .services-help .services-help-item h2 {
        font-size: 34px;
    }
    .services-indi-sec .services-indi-sec-inner .services-indi-sec-item {
        padding: 40px 15px 1px;
    }
    .services-indi-sec-item h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .services-services-tabs .services-services-tabs-item h3 {
        height: calc(100% - 95px);
    }
    .services-services-tabs .services-services-tabs-item {
        padding: 50px 80px 50px;
    }
    .about-brand {
        padding: 1px 0;
    }
    .about-remark-item {
        padding: 45px 30px 30px;
    }
    .about-remark-item h2 {
        margin-bottom: 15px;
    }
    .home-serving .home-serving-item {
        padding: 10px 15px;
    }
    .testimonial-slider {
        padding: 40px 0;
    }
    .services-tabs .services-item {
        padding: 57px 50px 60px !important;
    }
    .home-business .home-business-item:nth-child(1) {
        padding: 40px 16px 1px 16px;
    }
    .home-business .home-business-item:nth-child(2) {
        padding: 40px 16px 1px 16px;
    }
    .home-serving {
        padding: 30px 0 0px;
    }
    .footer-top ul.links li {
        padding-bottom: 10px;  
    }
.header-top .header-top-left img {
    margin-right: 9px;
}
.header-top-right .col-5 {
    padding-left: 9px;
}
header .container .col-sm-3 {
    text-align: center;
}
header .container .col-sm-9 {
    position: absolute;
    top: 0px;
}
.home-about .home-about-item {
    padding: 18px 16px;
}
.home-about .home-about-item:first-child {
    padding: 1px 15px 0;
}
.aboutus h1 {
    font-size: 40px;
}
.aboutus {
    padding: 150px 0 25px;
}
.about-services-tabs .about-services-tabs-item {
    padding: 60px 20px 40px;
}
.services-indi-sec .services-indi-sec-item:nth-child(1) {
    max-width: 320px;
}
.services-indi-sec-inner {
    max-width: 320px;
}
.tax-res {
    padding: 50px 0 20px;
}
.blog_detail_box h2 {
    font-size: 25px;
}
.text-res-next h2 {
    font-size: 25px;
}
.text-res-next {
    padding-bottom: 35px;
}
.tax-detail-sec2 {
    padding: 50px 0 1px;
}
.account-ser .account-ser-item:nth-child(2) {
    padding: 50px 30px 1px 30px;
}
.tax-ser .tax-ser-item:nth-child(1) {
    padding: 10px 0px 40px 0px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 1px 30px 1px 30px;
}
.contact-sec .contact-sec-item:nth-child(1) {
    padding: 30px 15px;
}
.main-slide {
    min-height: 500px;
}  
.main-slider .slider-caption {
    top: 60%;
}
.blog_search:before {
    right: 4px;
    top: 87px;
}
}

@media (max-width: 479.98px) {
.blog_search:before {
    right: 1px;
    top: 86px;
}
.testimonial-prev i {
    display: none;
}
.testimonial-next i {
    display: none;
}
.testimonial-slider .testimonial-inner {
    max-width: 300px;
}
.testimonial-slider .testimonial-inner p::before {
    top: -24px;
    left: -4px;
    font-size: 18px;
}
.testimonial-slider .testimonial-inner p::after {
    bottom: -24px;
    right: -4px;
    font-size: 18px;
}
.footer-bottom .copyright p {
    font-size: 12px;
}
.footer-bottom .powerby p {
    margin: 9px 5px 9px 0;
    font-size: 12px;
}
.footer-bottom .powerby img {
    width: 54%;
}
.main-slide {
    min-height: 450px;
}
.main-slider .slider-caption {
    top: 55%;
}
.time-clock p {
    margin-left: 52px;
}
}

@media (max-width: 379.98px) {
.main-slider .slider-caption {
    top: 50%;
}
}

@media (max-width: 359.98px) {

.services-indi-sec .services-indi-sec-item:nth-child(1) {
    max-width: 300px;
}
.services-indi-sec-inner {
    max-width: 300px;
}
.main-slider .slider-caption {
    top: 40%;
}
        
}