* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none !important;
}
header{
  padding: 8px 0px;
}
/* Common for Slick arrows */
.slick-prev,
.slick-next {
  position: absolute !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  z-index: 99 !important;
  background: #0000004f !important;
  border-radius: 10% !important;
  width: 45px !important;
  height: 45px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

/* Left arrow */
.slick-prev {
  left: -20px !important;
}

/* Right arrow */
.slick-next {
  right: -20px !important;
}

/* Hover effect */
.slick-prev:hover,
.slick-next:hover {
  background: #e31837 !important; /* MG Red */
  color: #fff !important;
  transform: translateY(-50%) scale(1.1) !important;
}

/* Arrow icons */
.slick-prev i,
.slick-next i {
  font-size: 18px !important;
  color: #000 !important;
  transition: color 0.3s ease !important;
}

.slick-prev:hover i,
.slick-next:hover i {
  color: #fff !important;
}

.car-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
  margin: 20px;
  transition: all 0.5s;
}

.car-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: all 0.3s;
}

.car-details {
  padding: 20px;
  text-align: center;
}

.car-specs p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.car-name {
  margin: 15px 0 10px;
  font-size: 20px;
  font-weight: bold;
  color: #d0021b; /* MG red */
}

.price {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.view-more-btn {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.view-more-btn i {
  margin-left: 6px;
}

/* body {
  background: #000 !important;

} */

  .footer {
    background: #111;
    position: relative;
  }

  .footer p, .footer a {
    color: #bbb;
    font-size: 14px;
  }

  .footer h5 {
    color: #fff;
    position: relative;
  }

  .footer h5::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #e31837;
    position: absolute;
    left: 0;
    bottom: -8px;
  }

  .footer-link {
    display: block;
    color: #bbb;
    margin-bottom: 6px;
    text-decoration: none;
    transition: 0.3s;
  }

  .footer-link:hover {
    color: #e31837;
    padding-left: 4px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
  }

  .social-icon:hover {
    background: #e31837;
    color: #fff;
  }

  hr {
    opacity: 0.2;
  }


.form-control,
.form-select {
  background: transparent !important;
  color: #000 !important;
  border: none !important;
  border-bottom: 1px solid #000 !important;
  border-radius: 0 !important;
}

.form-select option {
  background: #ffffff;
  color: #000;
}

.form-control::placeholder {
  color: #bbb !important;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none !important;
  border-bottom: 1px solid red !important;
}

.btn-submit {
  background-color: red !important;
  border: none;
  color: #efefef !important;
  padding: 12px;
  font-weight: bold;
}

.btn-submit:hover {
  background-color: red !important;
}

/* Video Section */
.video-container {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-overlay button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.video-overlay button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.video-overlay button svg {
  fill: #000;
  width: 50px;
  height: 50px;
}

.video-container video {
  width: 100%;
  border-radius: 5px;
}

.inquiry-section h2,
p {
  color: #000;
}

.dropdown-menu a:hover {
  background-color: red;
  color: #000;
}

.carousel-item img {
  height: auto;
  object-fit: contain;
}

.navigate-btn {
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black;
  mask-image: none;
  -webkit-mask: none;
  width: 15px;
  height: 15px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: red;
}

h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
}

.head {
  color: rgb(0, 0, 0);
}

.model-card {
  text-align: center;
  width: calc(33.33% - 20px);
  /* Ensures 3 items per row with spacing */
  margin: 0 10px;
  /* Adjusts spacing between items */
  text-decoration: none;
  /* Removes underline */
  color: #000;
  margin-bottom: 16px;
  overflow: hidden;
}

.model-card img {
  width: 100%;
  height: auto;
  /* Optional shadow */
  transition: transform 0.3s ease;
}

.model-card img:hover {
  transform: scale(1.05);
  /* Slight zoom-in effect on hover */
}

.model-title {
  font-size: 1rem;
  font-weight: bold;
  background-color: #e6e6e6;
  /* Black background for text */
  padding: 10px;
}
.faq-main {
  background-color: #f5f5f5;
}
.faq-container {
  width: 70% !important;
  margin: auto;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}
.container {
  width: 85% !important;
  max-width: 85% !important;
  margin: auto;
}

.faq-container h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #131313;
}

.tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 30px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  /* For Firefox */
}

.tabs::-webkit-scrollbar {
  height: 6px;
  /* Adjust scrollbar height */
}

.tabs::-webkit-scrollbar-thumb {
  background: red;
  /* Color for scrollbar thumb */
  border-radius: 10px;
}

.tabs::-webkit-scrollbar-track {
  background: #222;
  /* Background for scrollbar track */
}

.tab.active {
  color: red;
  border-bottom: 2px solid red;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  cursor: pointer;
  color: #888;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
}

.tab.active {
  color: red;
  border-bottom: 2px solid red;
}

.accordion-item {
  margin-bottom: 10px;
  background: transparent !important;
  border: none !important;
}

.accordion-title {
  font-size: 18px;
  padding: 15px;
  background: none;
  border: none;
  border-bottom: 1px solid #444;
  text-align: left;
  width: 100%;
  color: #3e3e3e;
  cursor: pointer;
  outline: none;
  transition: color 0.3s;
}

.accordion-title:hover {
  color: red;
}

.accordion-title:after {
  content: "▼";
  float: right;
  font-size: 14px;
  transition: transform 0.3s;
}

.accordion-title.active:after {
  content: "▲";
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: #1e1e1e;
  padding: 0 15px;
  color: #aaa;
  transition: max-height 0.3s ease-out, padding 0.3s;
}

.accordion-content.open {
  max-height: max-content;
  padding: 15px;
}

.open {
  max-height: max-content !important;
  text-align: start;
}

.faq-section {
  display: none;
}

.faq-section.active {
  display: block;
}

.footer {
  background-color: #f1f1f1;
  color: #fafafa;
  padding: 15px 7px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: #000000;
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-showroom-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.showroom {
  background: #898989;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
}

.showroom-title {
  font-size: 16px;
  font-weight: bold;
}

.showroom-address {
  font-size: 14px;
  margin-bottom: 10px;
}

.showroom-phone a {
  color: #d32f2f;
  font-weight: bold;
  text-decoration: none;
}

.direction-btn {
  color: #0066cc;
  font-weight: bold;
  cursor: pointer;
}

/* ✅ Row 2 = 2 columns (50% - 50%) */
.footer-showroom-main > :nth-child(4),
.footer-showroom-main > :nth-child(5) {
  grid-column: span 1;
}

.footer-showroom-main {
  grid-auto-rows: auto;
}

/* Row 2 ko 2 columns banana */
.footer-showroom-main {
  grid-template-rows: auto auto;
}
.footer-showroom-main > :nth-child(4),
.footer-showroom-main > :nth-child(5) {
  grid-column: span 1;
}
.footer-showroom-main > :nth-child(4) {
  grid-column: 1 / 2;
}
.footer-showroom-main > :nth-child(5) {
  grid-column: 2 / 3;
}
.showroom-title {
  font-size: 16px;
  margin: 0 0 5px 0;
}

.showroom-address,
.showroom-phone {
  font-size: 14px;
  margin: 15px 0;
  color: white;
}

.showroom-phone a {
  color: white;
}

.dir {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.direction-btn {
  background-color: #dfd9d9;
  color: #070708;
  border: none;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 0;
  font-weight: 400;
}

.business-hours {
  font-size: 14px;
}

.quick-links {
  list-style: none;
  padding: 0;
}

.quick-links li {
  margin: 5px 0;
}

.link {
  color: #000;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-bottom p {
  margin: 5px 0;
}

.firt {
  width: 100%;
}

.action-buttons {
  position: fixed;
  /* Sticky at the bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  /* Full-width */
  display: flex;
  justify-content: space-around;
  /* Space out buttons */

  background: linear-gradient(45deg, #111, #222);
  /* Sleek gradient */
  z-index: 1000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  /* Strong shadow for separation */
  animation: slideUp 0.4s ease-out;
  /* Slide-in effect */
}

.action-button {
  flex: 1;
  padding: 15px;
  color: white;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-button i {
  font-size: 22px;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
  color: white;
}

.action-button.phone {
  background: #4caf50;
}

.action-button.book-now {
  background: #3f51b5;
}

.action-button.test-drive {
  background: #484848;
}

.action-button:active {
  transform: scale(0.95);
  /* Subtle press effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.action-buttons {
  display: none;
}

.navbar-brand img {
  width: 70%;
}

.navbar-collapse {
  justify-content: end;
}

html {
  scroll-behavior: smooth;
}

.fle {
  flex: 1;
}

.video-container img {
  width: 100%;
}

.our-ser {
  margin: 80px 0px;
  text-align: center;
}

.our-ser h2 {
  color: white;
}

.hero-comtact-us img {
  width: 100%;
}

.carousel-dark .carousel-caption {
  color: #000;
  background: #00000085;
  width: max-content;
  padding: 8px 10px;
}

.carousel-caption h5 {
  color: white;
}

.carousel-caption span {
  color: white;
}

.carousel-dark .carousel-control-next-icon,
.carousel-dark .carousel-control-prev-icon {
  filter: none !important;
}
.serfor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.serfor .mb-3 {
  width: 48%;
}
@media only screen and (max-width: 768px) {
  .faq-container {
    width: 93% !important;
  }
  .inquiry-section input,
  .inquiry-section select,
  .inquiry-section textarea {
    border: 1px solid #123632 !important;
  }
  .serfor .mb-3 {
    width: 100%;
  }
  .video-sec {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .footer-showroom-main {
    display: block;
    align-items: start;
    justify-content: space-between;
    width: 100%;
  }

  .tab {
    border: 1px solid #333;
    padding: 5px 8px;
    font-size: 12px;
  }

  .firt {
    width: 100%;
  }
  .faq-container h1 {
    font-size: 18px;
  }
  .accordion-title {
    font-size: 11px;
    padding: 5px 0px;
  }
  .accordion-title:after {
    content: "▼";
    float: right;
    font-size: 7px;
    transition: transform 0.3s;
  }
  .accordion-content {
    font-size: 10px;
  }
  .footer-bottom {
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 0px;
    display: block;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 8px;
    text-align: center;
    margin-bottom: 46px;
  }

  .footer-container {
    flex-direction: column;
  }

  .navbar-brand {
    width: 40%;
  }

  .navbar-brand img {
    width: 100%;
    margin-left: 10px;
  }

  .action-buttons {
    display: flex;
  }

  .action-button {
    padding: 10px;
    font-size: 12px;
  }

  .action-button i {
    font-size: 18px;
    /* Slightly smaller icons */
  }

  .navbar-nav {
    margin-left: 15px !important;
  }

  .showroom {
    margin-bottom: 20px;
    width: 100%;
    padding: 20px;
    height: auto;
  }

  .model-card {
    width: calc(100% - 20px) !important;
  }
  .our-ser {
    margin: 15px 0px;
    text-align: justify;
  }
  .car-model-sec h2 {
    font-size: 17px;
    margin-top: 30px;
  }
  .our-ser {
    background: #141719;
    padding: 15px;
  }
  .row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }
  .slick-prev,
  .slick-next {
    display: none !important;
  }
  .slick-active .car-card {
    margin: 0px;
    transition: all 0.5s;
  }
  .car-image img {
    height: auto;
    transition: all 0.3s;
  }
  .service-outlet-section .row{
    gap: 30px;
  }
    .service-outlet-section h3{
      padding-bottom: 40px;
    }
}

@media only screen and (max-width: 515px) {
  .tab {
    border-right: 1px solid #333;
    padding: 5px 8px;
  }

  /* .model-title {
    display: none;
  } */

  .model-card {
    margin: 3px !important;
    margin-bottom: 0px;
  }
  .footer-bottom p {
    margin: 5px 0;
    font-size: 12px;
  }
}
