 /* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

.about-services-tabs .about-services-tabs-item {
    padding: 160px 30px 100px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 70px 0px 70px 30px;
}

}

 /* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {

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: 70px 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: 50px 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;
}

}

 /* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

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) {

.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:first-child {
    padding: 70px 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;
}
.account-ser .account-ser-item:nth-child(2) {
    padding: 50px 30px 50px 30px;
}
.tax-ser .tax-ser-item:nth-child(1) {
    padding: 40px 0px 40px 0px;
}
.tax-ser .tax-ser-item:nth-child(2) {
    padding: 120px 30px 120px 30px;
}
.contact-sec .contact-sec-item:nth-child(1) {
    padding: 30px 15px;
}
.main-slide {
    min-height: 500px;
}  
.main-slider .slider-caption {
    top: 60%;
}
}

@media (max-width: 479.98px) {

.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%;
}

}

@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%;
}
        
}