@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

:root {
  --primary-color: #fe0000;
  --secondary: #006db7;
  --grey: #343a40;
  --white: #fff;
  --black: #000;
  --border-radius: 10px;
  --btn-border-radius: 5px;
}

body {
  font-family: "Rubik", sans-serif;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.btn-all {
  padding: 8px 15px;
  border-radius: var(--btn-border-radius);
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid;
  text-transform: capitalize;
  font-size: 15px;
  transition: 0.4s;
  cursor: pointer;
}

.btn-all:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.vehicle-title {
  font-size: 25px;
  margin: 20px 0;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid grey;
  padding: 10px 20px;
  text-transform: capitalize;
  border-left: 5px solid var(--secondary);
}

.inner-title {
  margin: 11px 0;
  font-size: 16px;
  height: 42px;
}

/* width */
::-webkit-scrollbar {
  /* width: 5px; */
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  cursor: grab;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#famous-bike-section ul {
  display: flex;
  overflow-x: auto;
}

#famous-car-section ul {
  display: flex;
  overflow-x: auto;
}

/* navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  z-index: 99;
  background-color: var(--white);
  border-bottom: 1px solid #ddd;
}
header .navbar {
  height: 100%;
  /* max-width: 1250px; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}

header .navbar .nav-links {
  line-height: 70px;
  height: 100%;
}
header .navbar .links {
  display: flex;
}
header .navbar .links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 20px;
}
header .navbar .links li a {
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: var(--black);
  font-size: 16px;
  font-weight: 600;
}

.navbar .nav-links .sidebar-logo {
  display: none;
}
.navbar .bx-menu {
  display: none;
}
@media (max-width: 920px) {
  header .navbar {
    max-width: 100%;
    padding: 0 25px;
  }

  header .navbar .logo a {
    font-size: 27px;
  }
  header .navbar .links li {
    padding: 0 10px;
    white-space: nowrap;
  }
  header .navbar .links li a {
    font-size: 15px;
  }
}
@media (max-width: 800px) {
  .navbar .bx-menu {
    display: block;
  }
  header .navbar .nav-links {
    position: fixed;
    /* text-align: center; */
    top: 0;
    left: -100%;
    display: block;
    /* max-width: 270px; */
    width: 100%;
    background-color: var(--white);
    line-height: 24px;
    padding: 2px 24px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
    color: var(--black);
  }
  .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }
  .sidebar-logo .logo-name {
    font-size: 25px;
    color: #fff;
  }
  .sidebar-logo i,
  .navbar .bx-menu {
    font-size: 25px;
    color: var(--black);
  }
  header .navbar .links {
    display: block;
    margin-top: 20px;
  }

  header .navbar .links li {
    display: block;
    margin: 30px 0;
    text-align: center;
  }
}
@media (max-width: 370px) {
  header .navbar .nav-links {
    max-width: 100%;
  }
}
/*end navbar */

/* inner path */
.inner-path {
  margin-top: 70px;
  background-color: var(--grey);
  padding: 20px;
}

.inner-path a {
  color: var(--white);
}

.inner-path ul {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
}

.inner-path ul i {
  margin: 0 15px;
  font-size: 15px;
}

@media (max-width: 992px) {
  .inner-path {
    padding: 20px 10px;
  }

  .inner-path ul {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }
  .inner-path ul i {
    margin: 0 5px;
    font-size: 11px;
  }
}
/* end inner path */

/* page title */
.page-title h1 {
  font-size: 32px;
  padding: 10px 0;
}

.page-title p {
  font-size: 16px;
  font-weight: 300;
  text-align: justify;
  line-height: 23px;
  margin-bottom: 10px;
}

#more {
  display: none;
}

#brandMore {
  display: none;
}

.page-title button {
  float: right;
}
/*end page title  */

/* brand table */
.brand-title {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: background-color 0.6s;
  margin: 20px 0;
}

.brand-title h4 {
  margin: 0;
  font-size: 1.2em;
}

#brand-table-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.brand-item.open #brand-table-wrapper {
  max-height: 1000px;
}

#brand-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#brand-table th,
#brand-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

#brand-table td {
  width: 50%;
}

#brand-table td a {
  color: var(--black);
}

#brand-table th {
  background-color: #343a40;
  color: #fff;
}

#brand-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

#brand-table tr:hover {
  background-color: #ddd;
}

.brand-item .fa-plus,
.brand-item .fa-minus {
  transition: transform 0.3s;
}

.brand-item.open .fa-plus {
  transform: rotate(45deg);
}

/* end btand table*/

/* home banner */
.home-banner img {
  margin: 0px;
  margin-top: 70px;
  width: 100%;
}
/*end home banner  */

/* brand */
.brand-content {
  text-align: center;
  border: 1px solid var(--grey);
  padding: 10px;
  border-radius: var(--border-radius);
  transition: 0.4s;
  margin-bottom: 15px;
}

.brand-content img {
  width: 100%;
  height: 50px;
}

.brand-content h4 {
  font-size: 16px;
  margin: 10px 0;
  color: var(--black);
}

.brand-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-btn button {
  padding: 10px 30px;
  margin: 15px 0;
}

/* end brand */

#myBrandBtn {
  float: right;
}

/* vehicle type */

.vehicle-type-content {
  text-align: center;
  border: 1px solid var(--grey);
  padding: 10px;
  border-radius: var(--border-radius);
  transition: 0.4s;
  margin-bottom: 15px;
}

.vehicle-type-img img {
  width: 100%;
}

.vehicle-type h4 {
  font-size: 16px;
  margin: 10px 0;
  color: var(--black);
}
/*end vehicle type */

/* vehicle card */
.vehicle {
  overflow-x: hidden;
}

.vehicle a {
  color: black;
}

.vehicle-tab {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--grey);
}

.vehicle-tab h4 {
  margin: 0px 10px 10px 10px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  width: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-radius: var(--btn-border-radius);
}

.vehicle-tab h4.active {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.vehicle-card {
  margin: 15px;
  box-shadow: 0 0 2px var(--black);
  text-align: center;
  padding: 20px;
  border-radius: var(--border-radius);
}

.vehicle-img img {
  width: 100%;
  height: auto;
}

.vehicle-content h3 {
  font-size: 20px;
  color: var(--black);
}

.vehicle-content h5 {
  font-size: 15px;
  margin: 15px 0;
  color: var(--grey);
}

.vehicle-card button {
  margin-bottom: 10px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.slick-dots {
  display: flex;
  justify-content: center;
}

@media (max-width: 468px) {
  .vehicle-title {
    font-size: 18px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
}

@media (max-width: 372px) {
  .vehicle-title {
    font-size: 16px;
    padding: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 468px) {
  th{
    font-size: 16px;
  }
}

@media (max-width: 352px) {
  .vehicle-title {
    font-size: 14px;
    padding: 10px;
    white-space: nowrap;
  }
}
/*end vehicle card */

/* vehicle product */

.vehicle-product-img img {
  width: 100%;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
}

.vehicle-product {
  margin-top: 15px;
}

.vehicle-product-content {
  margin: 15px 0;
}

.vehicle-product-content h2 {
  font-size: 30px;
}

.vehicle-product-content ul {
  margin: 0px 0px;
}

.vehicle-product-content ul li {
  margin: 15px 0;
  font-size: 18px;
}

.vehicle-product-content li a {
  color: var(--black);
}

.ex-showroom {
  font-size: 12px;
  color: var(--grey);
}

.product-info p {
  font-size: 16px;
  font-weight: 300;
  line-height: 23px;
}

@media (max-width: 992px) {
  .vehicle-product-content h2 {
    font-size: 20px;
  }
}
/*end vehicle product */

/* about */

.about-h3 {
  font-size: 20px;
  margin: 20px 0;
}

/*end about */

/* table all */

.table-all {
  margin-bottom: 10px;
}

.for-show {
  display: none;
}

@media (max-width: 992px) {
  .for-hide {
    display: none;
  }

  .for-show {
    display: block;
  }
}

/*end table all */

/* table-all-contact-form */
.table-all-contact-form {
  width: 100%;
}

.table-all-contact-form form {
  border: 1px solid #ddd;
  border-top: 0px;
  padding: 20px;
  margin-top: -12px;
}

.table-all-contact-form input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: var(--btn-border-radius);
  box-sizing: border-box;
}
.table-all-contact-form input[type="submit"] {
  background-color: var(--primary-color);
  padding: 8px 15px;
  border-radius: var(--btn-border-radius);
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid;
  text-transform: capitalize;
  font-size: 15px;
  transition: 0.4s;
  cursor: pointer;
  color: var(--white);
}

.table-all-contact-form input[type="submit"]:hover {
  background-color: var(--white);
  color: var(--black);
}

/*end table-all-contact-form */

/* contact form */
.contact-form {
  width: 100%;
  padding: 20px;
}

.contact-form h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.contact-form input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: var(--btn-border-radius);
  box-sizing: border-box;
}
.contact-form input[type="submit"] {
  background-color: var(--primary-color);
  padding: 8px 15px;
  border-radius: var(--btn-border-radius);
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid;
  text-transform: capitalize;
  font-size: 15px;
  transition: 0.4s;
  cursor: pointer;
  color: var(--white);
}

.contact-form input[type="submit"]:hover {
  background-color: var(--white);
  color: var(--black);
}
/* end contact form */

/* faq */

.faq {
  width: 100%;
}

.faq-item {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--grey);
}

.faq-question {
  padding: 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  font-size: 18px;
}

.faq-answer p {
  font-size: 16px;
}

.faq-answer {
  padding: 15px;
  display: none;
}

/* end faq */

/* footer */

footer {
  width: 100%;
  color: white;
  background-color: #161a1d;
  padding: 30px 0px 30px 0px;
  margin-top: 20px;
}

footer .footer-logo img {
  background-color: var(--white);
  padding: 10px;
  border-radius: var(--border-radius);
}

footer .footer-logo p {
  margin-top: 5px;
}

.footer-para{
  transform: none !important;
  cursor: default;
}

footer .footer-logo a {
  color: var(--primary-color) !important;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 0px;
}

footer li {
  margin: 15px 0;
  transition: 0.4s;
  cursor: pointer;
}

footer li:hover {
  transform: translateX(5px);
}

footer li i {
  margin-right: 5px;
}

footer a {
  color: whitesmoke !important;
}

footer li:first-child {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 0px;
  color: var(--primary-color);
  transform: none;
}

@media (max-width: 1199px) {
  footer li:first-child {
    margin-top: 10px;
  }
}
/* LEGAL */

.legal {
  margin-top: 20px;
}

.legal-right {
  float: right;
}

.legal-right a {
  margin-left: 10px;
}

.legal-links-separator {
  margin: 0 5px;
}

@media (max-width: 992px) {
  .legal-right {
    text-align: center;
    float: none;
    margin: 20px 0 0 0;
    display: inline-block;
  }

  .legal-right a {
    margin-left: 0;
  }
}
/* end footer */

.pagination-wrapper {
    text-align: center;
    margin: 30px 0;
}

.pagination {
  display: flex;
    justify-content: center;
}

.pagination .page-link {
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.pagination .page-item.active .page-link {
    background-color: #fe0000;
    border-color: #fe0000;
}

.pagination .page-link:hover {
    color: #fe0000;
    background-color: #e9ecef;
}