@media only screen and (max-width: 1200px) {
    .site-header .menu-item .menu-link {
        font-size: 14px;
        padding: 0 10px !important;
    }
}

@media only screen and (max-width: 1024px) {
    .site-header .menu-item .menu-link {
        padding: 0 8px !important;
    }

    .header-cta p a {
        font-size: 18px;
        line-height: 28px;
    }

    .site-footer-section-2 .menu-quick-links-container .menu {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 921px) {
    .ast-mobile-header-wrap {
        background: var(--white);
        border-radius: 0 0 12px 12px !important;
    }

    .ast-mobile-header-wrap .ast-primary-header-bar,
    .ast-primary-header-bar .site-primary-header-wrap {
        min-height: auto !important;
    }

    .main-header-menu>.menu-item>.menu-link:after {
        display: none;
    }

    .main-header-menu>.menu-item>.menu-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid #E2E8F0;
        font-size: 16px;
    }

    .ast-hfb-header.ast-header-break-point .main-header-bar-navigation {
        display: block !important;
        left: -100%;
        transition: all 0.3s ease-in-out;
    }

    .ast-hfb-header.ast-header-break-point .main-header-bar-navigation.toggle-on {
        left: 0;
    }

    .site-header .main-header-menu .sub-menu .menu-link {
        padding: 10px 16px !important;
        background: var(--white) !important;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        color: #374151 !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item>.menu-link {
        color: var(--secondary-color);
    }

    .site-header .main-header-menu .content-btn {
        margin: 15px 15px 0 !important;
    }

    .ast-header-break-point .main-header-menu {
        background: transparent !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
        top: 0 !important;
        right: 16px !important;
        box-shadow: unset !important;
    }

    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle:focus {
        outline: none !important;
        border: 0 !important;
    }

    .site-header .main-header-menu .sub-menu {
        border: 0 !important;
    }

    .header-cta p a {
        font-size: 20px;
    }

    .site-primary-footer-wrap .ast-builder-grid-row {
        flex-wrap: wrap !important;
    }
}

@media only screen and (max-width: 767px) {
    .get-quote-form .form-group {
        width: calc(50% - 12px);
    }

    .get-quote-form .form-group:nth-child(8) {
        width: 100%;
        margin-bottom: 24px !important;
    }

    .trusted-car-img {
        position: relative !important;
        top: unset;
    }

    .process-item:not(:last-child):after {
        right: inherit;
        left: 50%;
        top: inherit;
        bottom: -40px;
        transform: translate(-50%) rotate(90deg);
    }

    .contact-us-form form .form-group {
        width: 100%;
    }

    .site-primary-footer-wrap .site-footer-section {
        width: 100% !important;
        max-width: 100% !important;
    }

    .site-footer-section-2 .menu-quick-links-container .menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 640px) {
    .header-cta {
        padding: 5px 10px;
    }

    .get-quote-form .form-group {
        width: 100%;
    }

    .get-quote-form form {
        flex-direction: column;
    }

}

@media only screen and (max-width: 512px) {

    .site-footer-section-2 .menu-quick-links-container .menu {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width: 420px) {

    header .custom-logo-link img,
    .ast-header-break-point .site-logo-img .custom-mobile-logo-link img {
        max-width: 110px !important;
        width: 110px;
    }

    .header-cta {
        padding: 5px;
    }

    .header-cta p a {
        font-size: 17px;
        font-weight: 500;
    }

    .header-cta p {
        margin: 0;
        font-size: 12px;
        line-height: 20px;
    }
}

@media only screen and (max-width: 330px) {
    .site-header .site-primary-header-wrap {
        padding-left: 7px !important;
    }

    .header-cta p a {
        font-size: 15px;
        font-weight: 500;
    }
}