@media (max-width: 1400px) {
    header .logo {
        width: 160px;
        height: 60px;
    }

    .input-with-icon {
        padding: 10px 20px 10px 40px;
    }

    #appointmentModal .modal-title {
        font-size: 1.2rem;
    }

    .main-banner .box-item .title h2 {
        font-size: 14px;
    }

    .content-box .heading h1 {
        font-size: 44px;
    }

    .why-choose .why-box {
        height: 100%;
    }
}

@media (max-width: 767px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-right: calc(var(--bs-gutter-x) * 0.7);
        padding-left: calc(var(--bs-gutter-x) * 0.7);
    }

    header .logo {
        width: auto;
        height: auto;
    }

    section[class]:not([id]) {
        padding: 30px 0;
    }

    .banner-top {
        padding-top: 120px !important;
        padding-bottom: 40px !important;
    }

    .mobile-header {
        height: 74px;
    }

    .content-box .heading h1 {
        font-size: 34px;
        text-align: center;
    }

    .content-box .heading h4 {
        font-size: 26px !important;
        font-weight: 600;
    }

    .social-media .social-btn .btn-smo img {
        width: 30px;
        height: 30px;
    }

    .social-media .social-btn .btn-smo {
        padding: 10px;
        border-radius: 10px;
        font-size: 14px;
        line-height: 20px;
        flex-direction: column;
    }

    .call-pitch-inner .content-image .image {
        margin: 140px;
    }

    .call-pitch-inner .content-image .image img {
        bottom: auto;
        top: 10px;
        left: 0;
        right: 0;
        margin: auto;
        height: 130px;
        width: 130px;
        object-fit: cover;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #ddd;
        padding-top: 20px;
    }

    .call-pitch-inner .social-info ul li a img {
        width: 44px;
        height: 44px;
    }

    .call-ad-pitch .contact-info ul {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-form .contact-head-box h6 {
        font-size: 24px;
        line-height: normal;
    }

    .location-contact .inner-box {
        max-width: 100%;
        min-width: 100%;
        position: static;
        padding: 10px;
    }

    .location-contact {
        margin-bottom: 0;
    }

    .footer-copyright {
        padding-bottom: 62px;
    }

    .footer-copyright p {
        margin-top: 0;
    }

    footer {
        padding-top: 20px;
    }

    .footer-wrapper {
        padding-bottom: 10px;
    }

    .faq-section .faq-items a.nav-link .icon-title span {
        font-size: 14px !important;
        line-height: 22px;
    }

    .error-404 .error {
        font-size: 130px;
    }

    .services-banner .content-box .subheading h2 {
        font-size: 28px;
        font-weight: 600;
        line-height: normal;
    }

    .services-banner .content-box .subheading h2 br {
        display: none;
    }

    .services-banner .content-box .subheading + p br {
        display: none;
    }

    .services-banner .content-box .heading h1 {
        font-size: 20px;
        text-align: start;
    }

    section.about-banner.banner-top.services-banner {
        background: #673ab712 !important;
        padding-top: 100px !important;
    }

    section.about-banner.banner-top.services-banner .mobile-banner-image img {
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
    }

    .general-consultation-section {
        padding: 30px 0 !important;
    }

    section.call-action-pitch {
        background-position: left !important;
    }

    .banner-boxes .icon-box {
        border-radius: 6px;
    }

    .page-template-service .owl-theme .owl-dots {
        margin-top: 10px !important;
    }

    .visit-steps .step {
        margin-top: 20px !important;
    }

    .service-items .service-item-box {
        margin: 10px;
    }

    .contact-us .contact-address-box {
        padding: 10px;
    }

    .social-media .image-box a img {
        border-radius: 10px;
        width: fit-content;
        margin: auto;
    }

}





@media (max-width: 767px) {

    .tab-controls {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-right: 10px;
    }

    .tab-controls button.next {
        position: absolute;
        z-index: 777;
        top: 0;
        bottom: 0;
        margin: auto;
        right: -12px;
        border-radius: 4px 0 0 4px;
        color: #333;
    }

    .tab-controls button.previous {
        position: absolute;
        z-index: 777;
        top: 0;
        bottom: 0;
        margin: auto;
        left: -12px;
        border-radius: 4px 0 0 4px;
        color: #333;
    }

    .tab-controls button {
        max-width: 30px;
        min-width: 30px;
        padding: 0;
        height: 70px;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
    }

    footer .footer-navigations {
        padding-top: 20px;
    }

    #has-ug .tab-content>div{
        padding: 20px;
    }

}