@media (max-width: 1199px) {
  h1 {
    font-size: 36px;
    line-height: 40px;
  }
  h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .vehicles .card h5 {
    font-size: 17px;
    line-height: 23px;
  }
  .content.p-md-5,
  .gallery.p-md-5 {
    padding: 2rem !important;
  }
  .ad-banner .card img {
    width: 110px;
  }
  .ad-banner .card-body h5 {
    font-size: 22px;
    line-height: 28px;
  }
  .signup h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .signup ul li {
    font-size: 17px;
    line-height: 23px;
  }
  .signup .card2 .cta {
    font-size: 22px;
  }
  .signup p {
    font-size: 22px;
    line-height: 28px;
  }
  .banner .position-absolute.make_logo_bg img {
    width: 90px;
  }
  .banner .position-absolute.make_logo_bg {
    right: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90px;
    background: rgba(255, 255, 255, 0.5);
  }
}
@media (max-width: 991px) {
  h1 {
    font-size: 32px;
    line-height: 38px;
    text-align: center;
  }
  h2 {
    font-size: 28px;
    line-height: 34px;
  }
  .header-banner-shape::after {
    display: none;
  }
  .navbar-light .navbar-nav .nav-link:before {
    display: none;
  }
  .signup h3 {
    font-size: 22px;
    line-height: 28px;
  }
  .signup p {
    font-size: 20px;
    line-height: 26px;
  }
  .signup ul li {
    font-size: 16px;
    line-height: 22px;
  }
  .how-it-works h6 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px !important;
  }
  .other-makes .card img {
    width: 90px;
  }
  .reviews p {
    font-size: 16px;
    line-height: 26px;
  }
  header .navbar-nav a {
    border-bottom: 1px solid #e8e8e8;
  }
  header .navbar-nav a:last-child {
    border-bottom: 0;
  }
  .vehicles .card h5 {
    font-size: 16px;
    line-height: 22px;
  }
  .wrapper-img img {
    margin-top: 30px;
  }
  .widget form h4 {
    font-size: 20px;
    line-height: 26px;
  }
  .bullets .list-group .list-group-item.border-end {
    border-right: none !important;
  }
  .bullets .list-group .list-group-item.border-end {
    border-bottom: 1px solid #dee2e6 !important;
  }
  .banner .list-group-item.ps-5 {
    padding-left: 2.5rem !important;
  }
  .bullets .list-group {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  * .why-choose p,
  .content p {
    font-size: 16px;
    line-height: 26px;
  }
  .table-responsive {
    display: block;
    padding: 0px;
    width: 100%;
    overflow-x: auto;
  }
  .wrapper-img {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .sticky_reg .main {
    max-width: 200px;
  }
  .sticky_reg .main input {
    font-size: 20px;
    min-height: 40px;
  }
  .modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -2.5rem -1rem -0.5rem auto;
  }
  h1 {
    font-size: 26px;
    line-height: 36px;
  }
  h2 {
    font-size: 24px;
    line-height: 30px;
  }
  h3,
  h4,
  h5,
  h6 {
    font-size: 18px;
    line-height: 24px;
  }
  .logo {
    width: 150px;
  }

  .widget form h4 {
    font-size: 18px;
    line-height: 24px;
  }
  .dataTables_length {
    margin-bottom: 8px;
  }
  .banner .list-group-item.ps-5 {
    padding-left: 3rem !important;
  }
  .widget .col-xl-4:first-child img {
    height: 150px !important;
    object-fit: cover;
  }
  .widget .col-xl-4:nth-child(3) {
    display: none;
  }
  .video-review .col-xl-4:nth-child(7) .border-bottom{
    border-bottom: 0 !important;
  }
  .banner .col-xl-8 {
    padding: 0;
  }
  .signup h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .signup p {
    font-size: 18px;
  }
  .signup .card2 .cta {
    font-size: 17px;
  }
  .signup ul li {
    font-size: 16px;
    line-height: 22px;
  }
  .footer-copy small {
    font-size: 16px;
    line-height: 25px;
  }
  .signup .owl-carousel .owl-nav button.owl-prev,
  .signup .owl-carousel .owl-nav button.owl-next {
    color: #000;
    position: static;
  }
  .signup .owl-nav {
    text-align: center;
  }
  .signup .card2 .cta {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .sticky_reg .main {
    max-width: 160px;
  }
  .sticky_reg .main input {
    min-height: 35px;
  }
  .signup .card img.pb-2.pb-md-0 {
    width: 80px;
  }
  h1 {
    font-size: 26px;
    line-height: 32px;
  }
  h2 {
    font-size: 24px;
    line-height: 30px;
  }
  h3,
  h4,
  h5,
  h6 {
    font-size: 17px;
    line-height: 23px;
  }
  .signup-logo {
    width: 120px;
  }
  .vehicles .card img {
    width: 90px;
  }
  .header-banner-shape::after {
    display: none !important;
  }
  .logo {
    width: 145px;
  }
  .banner span {
    margin-top: 0rem !important;
  }
  .banner .list-group-item.ps-5 {
    padding-left: 2rem !important;
  }
  .banner .list-group-item {
    font-size: 13px;
    line-height: 19px;
  }
  .how-it-works h6 {
    font-size: 15px;
    line-height: 21px;
  }
  .how-it-works img {
    width: 120px;
  }
  .ad-banner .card img {
    width: 100px;
  }
  .ad-banner .card-body h5 {
    font-size: 20px;
    line-height: 26px;
  }
  .ad-banner .card-body p {
    font-size: 15px;
    line-height: 25px;
  }
  .video-review .title {
    min-height: 38px;
  }
  /* .video-review figure {
    border-bottom: 1px solid #ccc;
  } */
  .phone img {
    margin-right: 0rem !important;
    width: 17px;
  }
  .webp aside {
    /*background-image: url("../images/shape-mob.webp");*/
  }
  .no-webp aside {
    /*background-image: url("../images/shape-mob.png");*/
  }
  aside {
    background-color: transparent;
    /*background-repeat: no-repeat;*/
    /*background-size: 100% 100%;*/
    background: linear-gradient(165deg, #ffffff 35%, #333 35%);
  }
  aside ul li:before {
    left: 20px;
    font-size: 16px;
  }
  aside li {
    font-size: 14px;
    line-height: 20px;
  }
  .banner .main_inner {
    max-width: 380px;
  }
  .banner input {
    min-height: 60px;
  }
  .banner button {
    font-size: 24px;
    height: 60px;
    line-height: 60px;
    max-width: 340px;
    /* z-index: 1; */
  }
  .banner aside li {
    font-size: 16px;
    line-height: 22px;
  }
  .widget form h4 {
    font-size: 16px;
    line-height: 22px;
  }
  .get-quote a {
    width: 100% !important;
  }
  .vehicles .card h5 {
    font-size: 16px;
    line-height: 22px;
  }
  .engine-sizes .bg-white strong {
    font-size: 14px;
    line-height: 20px;
  }
  #gallery .card-img-top {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .content p {
    font-size: 15px;
    line-height: 21px;
  }
  .signup h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .video-review img {
    width: 250px;
    height: 250px;
  }
  .video-review h6 {
    font-size: 16px;
    line-height: 22px;
  }
  .signup .card2 .cta {
    height: 50px;
  }
  #signupForm .input-group.mb-3 {
    margin-bottom: 0.5rem !important;
  }
  .signup .card .card2 .mb-3.mt-4 {
    margin-top: 1rem !important;
    margin-bottom: 0rem !important;
  }
  .why-choose p,
  .content p {
    font-size: 15px;
    line-height: 25px;
  }
  .thanks img,
  .error img {
    max-width: 150px;
  }
  .thanks p {
    font-size: 15px;
    line-height: 21px;
  }
  .signup input {
    height: 48px;
  }
  .signup ul li {
    font-size: 14px;
    line-height: 20px;
  }
  .footer-copy small {
    font-size: 14px;
    line-height: 23px;
  }
  address {
    margin-top: 10px;
    margin-bottom: 1.5rem !important;
  }
  .social-bar {
    margin-top: 10px;
  }
}
@media (max-width: 479px) {
  .sticky_reg .main {
    max-width: 150px;
  }
  h1 {
    font-size: 24px;
    line-height: 30px;
  }
  h2 {
    font-size: 22px;
    line-height: 28px;
  }
  .banner h1 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -2.5rem -1rem -0.5rem auto;
  }
  header .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }
  .bmw-logo {
    width: 70px;
  }
  .logo {
    width: 120px;
  }
  header .phone a {
    font-size: 20px;
    line-height: 26px;
  }
  header a.h3 {
    border: 2px solid;
    padding: 3px 10px;
  }
  .navbar-toggler {
    padding: 0.05rem 0.35rem;
  }
  .banner input {
    min-height: 55px;
    font-size: 26px;
  }
  .banner .main_inner {
    max-width: 340px;
    margin: 0px auto !important;
  }
  .banner button {
    font-size: 20px;
    height: 51px;
    line-height: 51px;
    max-width: 280px;
    /* z-index: 1; */
  }
  .thanks p {
    font-size: 14px;
    line-height: 20px;
  }
  .thanks img,
  .error img {
    max-width: 130px;
  }
  .engine-sizes .col-6 {
    width: 100%;
    padding: 0px;
  }
  .other-makes .card img {
    width: 85px;
  }
  .ad-banner .card img {
    width: 90px;
  }
  .signup-logo {
    width: 100px;
  }
  .banner aside li {
    font-size: 14px;
    line-height: 20px;
  }
  .main input {
    font-size: 26px;
  }
  .engine-for-sale .get-quote a {
    font-size: 18px;
    letter-spacing: 0px;
    height: 45px;
    line-height: 45px;
  }
  .signup h3 {
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 0px;
  }
  .hr-line {
    margin-bottom: 5px;
  }
  .content.p-md-5 {
    padding: 0.5rem !important;
    padding-top: 1rem !important;
  }
  .gallery.p-md-5 {
    padding: 0rem !important;
  }
  .gallery a.px-5 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
  .gallery a.py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .signup input::placeholder {
    font-size: 14px;
    line-height: 20px;
  }
  .contact-us.p-3 {
    padding: 0rem !important;
  }
  .signup .card,
  .contact-us .card.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .signup .card p.mb-4 {
    margin-bottom: 0.5rem !important;
  }
  .signup .card .card2 .mb-3.mt-4 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .wrapper-text span,
  .wrapper-text strong {
    font-size: 15px;
    line-height: 21px;
  }
  .signup p {
    font-size: 16px;
  }
  .social-link img {
    width: 30px;
    height: 30px;
  }
  #button {
    width: 35px;
    height: 35px;
  }
  .reviews p {
    font-size: 15px;
    line-height: 25px;
  }
  .ad-banner .col-12,
  .engine-for-sale .col-12 {
    padding: 0px;
  }
  .engine-for-sale .ad-banner .card img {
    width: 90px;
  }
  .ad-banner .card-body h5 {
    font-size: 18px;
    line-height: 24px;
  }
  .footer-img {
    margin: 0px !important;
    margin-bottom: 5px !important;
  }
  .vehicles .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }
}
@media (max-width: 414px) {
  .modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -4.5rem -1rem -0.5rem auto;
  }
}
@media (max-width: 384px) {
  .navbar-toggler {
    font-size: 1rem !important;
  }
  .banner .main_inner {
    max-width: 320px;
  }
  .banner button {
    max-width: 270px;
  }
  .logo {
    width: 100px;
  }

  .footer-img {
    width: 18px;
  }
  .phone-analytics {
    font-size: 17px !important;
    line-height: 23px !important;
  }
  .engine-for-sale .get-quote a {
    font-size: 16px;
    letter-spacing: 0px;
    height: 40px;
    line-height: 40px;
  }
}
