@media (min-width: 768px) and (max-width: 1350px) {
  .car-price {
    font-size: 14px;
  }

  .book-btn {
    padding: 4px 8px;
  }

  .modern-car-card {
    border-radius: 12px;
    padding: 12px;
    margin: 15px 0;
  }

  .rating-badge {
    font-size: 14px;
  }

  .location-badge {
    font-size: 14px;
  }

  .price-tag {
    font-size: 14px;
  }

  .modern-btns {
    border-radius: 6px;
    padding: 4px 10px;
  }

}

@media (max-width: 992px) {
  .banner-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .banner-content p {
    font-size: 1.1rem;
  }

  .vehicle-info h5 {
    font-size: 1rem;
  }

  .vehicle-info p {
    font-size: 0.9rem;
  }

}

@media (max-width: 991.98px) {
  .vehicles-container {
    padding-bottom: 80px !important;
  }

  .new-search-page-sec {
    padding: 0 !important;
    margin: 0 !important;
  }

  .new-search-page-sec .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .new-search-page-sec .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .new-search-page-sec .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .new-search-page-car-listing {
    margin: 0 !important;
  }

  .new-search-page-car-listing .col-lg-5,
  .new-search-page-car-listing .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  header .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  body {
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .class-description {
    font-size: 0.8rem !important;
    opacity: 0.8;
  }

  .vehicle-class-section .d-flex {
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px;
  }

  .vehicle-class-section .class-header {
    flex: 1;
  }

  .vehicle-class-section .btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .header-button {
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-button .btn {
    flex: 1;
    min-width: 120px;
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .new-search-page-car-listing {
    margin-top: 0 !important;
  }

  .pagination {
    margin-top: -31px !important;
  }

  .user-login-container {
    padding: 15px;
  }

  .login-layout {
    flex-direction: column;
    min-height: auto;
  }

  .login-left-section {
    flex: 0 0 auto;
    min-height: 300px;
    padding: 40px 20px;
  }

  .login-right-section {
    flex: 0 0 auto;
    padding: 40px 20px;
  }

  .main-title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .welcome-subtitle {
    font-size: 1rem;
  }

  .form-header {
    margin-bottom: 35px;
  }

  .user-login-form .form-input {
    padding: 14px 18px;
    font-size: 16px;
    height: 50px;
  }

  .user-login-form .form-label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .login-button {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .form-options {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }

  .remember-me {
    align-self: auto;
  }

  .forgot-password {
    align-self: auto;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .banner-content p {
    font-size: 1rem;
  }

  .recent-vehicle-sec {
    padding: 24px 0;
  }

  .banner-content h1 {
    font-size: 34px;
  }

  .recent-vehicle-sec .section-title {
    font-size: 22px;
  }

  #wf-current-image {
    max-height: 66vh !important;
  }

  .banner-content p {
    width: 65%;
    margin: 0 auto 20px auto;
  }

  .car-new-banner {
    padding: 24px 0;
  }

  .recent-vehicle-sec .carousel-control-prev {
    left: -1%;
  }

  .recent-vehicle-sec .carousel-control-next {
    right: -1%;
  }

  .new-searchbar .search-container {
    padding: 20px;
    margin-top: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .new-searchbar input {
    text-align: center;
  }

  .new-searchbar label {
    text-align: center;
  }

  .new-searchbar .search-btn {
    margin: 0 auto;
  }

  .new-cities-sec {
    padding: 24px 0;
  }

  .new-cities-sec .col-12,
  .new-cities-sec .col-sm-6,
  .new-cities-sec .col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .vehicles-categories .col-lg-3,
  .recent-vehicle-sec .col-lg-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .vehicles-categories .col-lg-3,
  .recent-vehicle-sec .col-lg-3 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .new-cities-sec .col-12,
  .new-cities-sec .col-sm-6,
  .new-cities-sec .col-lg-3 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .vehicle-card {
    margin-bottom: 15px;
  }

  .car-name {
    font-size: 0.9rem !important;
  }

  .car-price {
    font-size: 12px !important;
  }

  .vehicle-card .line-first {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px;
  }

  .vehicle-card .car-name {
    width: 100% !important;
    margin-bottom: 0;
    font-size:22px!important;
  }

  .vehicle-card .car-rating {
    align-self: flex-start;
  }

  .recent-vehicle-sec .carousel-control-next,
  .recent-vehicle-sec .carousel-control-prev {
    top: 41%;
  }

  .book-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .footer-area .col-xl-2 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .footer-area .col-xl-2 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .new-searchbar .col-lg-3:first-child,
  .new-searchbar .col-lg-3:nth-child(2),
  .new-searchbar .col-lg-3:nth-child(3) {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }

  .new-searchbar .col-lg-1 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 15px;
  }

  .new-searchbar .col-lg-3,
  .new-searchbar .col-lg-1 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .header-button {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }

  .header-button .btn {
    width: 100% !important;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .header-right {
    width: 100%;
    padding: 0 15px;
  }

  .user-login-container {
    padding: 10px;
  }

  .login-layout {
    flex-direction: column;
    min-height: auto;
    border-radius: 15px;
  }

  .login-left-section {
    flex: 0 0 auto;
    min-height: 250px;
    padding: 30px 20px;
  }

  .login-right-section {
    flex: 0 0 auto;
    padding: 30px 20px;
  }

  .main-title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .welcome-subtitle {
    font-size: 0.9rem;
  }

  .login-form-container {
    max-width: 100%;
  }

  .form-header {
    margin-bottom: 30px;
  }

  .login-separator {
    gap: 10px;
  }

  .separator-text {
    font-size: 0.8rem;
  }

  .user-login-form .form-input {
    height: 56px;
    padding: 16px 20px;
    font-size: 18px;
    border-radius: 12px;
    border: 2px solid #e1e5e9;
  }

  .user-login-form .form-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .remember-me {
    align-self: flex-start;
  }

  .forgot-password {
    align-self: flex-start;
    font-size: 0.9rem;
  }

  .login-button {
    padding: 16px 20px;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .register-link {
    margin-top: 20px;
  }

  .register-link p {
    font-size: 0.9rem;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 20px;
  }

  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .checkbox-label {
    font-size: 13px;
    line-height: 1.4;
  }

  .vehicles-categories .section-heading {
    text-align: center !important;
  }

  .vehicles-categories .section-title {
    text-align: center !important;
  }

  .recent-vehicle-sec .carousel-indicators {
    margin-bottom: 20px;
  }

  .recent-vehicle-sec .carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
    background-color: #ccc !important;
    border: none !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
  }

  .recent-vehicle-sec .carousel-indicators button.active {
    background-color: hsl(var(--base)) !important;
    opacity: 1 !important;
    transform: scale(1.2) !important;
  }
}

@media (max-width: 768px) {
  .clt-section-wrapper {
    text-align: center;
  }

  .new-search-page-car-listing {
    margin-top: -19px !important;
  }

  .clt-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .clt-content__subheading,
  .clt-content__heading,
  .clt-content__desc {
    text-align: center;
  }

  .clt-content__desc {
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 992px) {

  .nav-menu .dropdown-menu.user-dropdown,
  .nav-menu .dropdown-menu.user-dropdown.show {
    margin-right: 17px !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand.logo img {
    width: 150px !important;
    height: auto !important;
    min-width: 0 !important;
  }
}
