:root {
  --hero-color: rgba(0, 0, 0, 0.763);
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  --black-color: black;
  --green-color-500: #2ea001;
  --green-color-600: #aef319;
  --green-color-700: #a1e018;
  --grey-color-500: #e3e3e2;
  --grey-color-600: #dedfdf;
  --grey-color-700: #f5f4f4;
  --hover-grey-color: #aaa8a8;
}
body {
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}
nav {
  position: relative;
  background-color: var(--black-color);
  /* Other navbar styles */
}

nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px; /* Border height */
  background: linear-gradient(
    to right,
    var(--green-color-500),
    var(--green-color-600),
    var(--green-color-700),
    var(--green-color-500)
  );
}
/* Top Banner Styles */
.top-banner {
  background-color: var(--green-color-700);
  color: white;
  padding: 8px 0;
}

.top-banner .social-icons a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}
@media (max-width: 990px) {
  .top-banner {
    display: none;
  }
}
nav {
  background-color: var(--black-color);
}
.green-text {
  color: var(--green-color-700);
}
.nav-link {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding-left: 1.5rem !important; /* Adjust spacing as needed */
  padding-right: 1.5rem !important; /* Adjust spacing as needed */
}

.nav-link.active {
  color: var(--green-color-700) !important; /* Example for active link */
}
.nav-link:hover {
  color: var(--green-color-700);
}
.navbar-brand .logo-img {
  height: 80px; /* Adjust as needed */
  width: auto;
}

/* Bottom Banner Styles */
.bottom-banner {
  background: linear-gradient(
    to right,
    var(--grey-color-700),
    var(--grey-color-500),
    var(--green-color-600),
    var(--green-color-500)
  );
  height: 5px; /* Thin border height */
  padding: 0; /* Remove extra padding */
}

.bottom-banner h2 {
  font-size: 2.5em; /* Adjust font size as needed */
  font-weight: 700;
  margin-bottom: 0;
  /* padding-bottom: 10px;
  padding-top: 10px; */
}

.hero-home {
  background-image: url(/image/herohome.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
  min-height: 80vh; /* Adjust this value as needed */
}

/* 
.hero-home::after {
  content: "";
  width: 100%;
  height: 60%;
  position: absolute;
  top: 0;
  left: 0;
 
  z-index: -1;
} */
.custom-sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 500;  /* Lower than your modal (e.g., 1050) */
}
.ta-modal-container, 
.ta-modal-overlay,
.ta-modal {
  z-index: 1500 !important; /* Higher than any other element */
}

#ta-widget-container .md\:ta-p-10 {
  margin-top: 100px !important; 
  padding: 1rem !important;
  position: relative;
  z-index: 1200 !important; /* Ensure widget is above hero section */
}
.hero-hazard {
  background-image: url(https://d3ofp6pqjcl4nc.cloudfront.net/carside.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
  height: 50vh; /* Adjust this value as needed */
}
@media (max-width: 768px) {
  .hero-hazard {
    height: 75vh; /* Even more height for smaller screens if needed */
  }
}
.modal-dialog {
    margin-top: 70px; /* adjust this value as needed */
}
.hero-hazard::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--hero-color);
  z-index: -1;
}

/* Keep the circle icon the same size */
.hero-hazard p i.bi-circle-fill {
  font-size: 0.7rem !important; /* Fixed size for the icon */
}
.hero-hazard p.fs-4 i.bi-circle-fill {
  vertical-align: middle;
}
.service-block {
  background-color: var(--black-color); /* Default background color */
  color: var(--green-color-700); /* Default icon and text color */
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Ensure blocks take full height of their column */
}
/* Add right border for dividers on medium and larger screens */
@media (min-width: 768px) {
  .service-block {
    border-right: 2px solid rgba(255, 255, 255, 0.74); /* Light white border for divider */
    border-top: 2px solid rgba(255, 255, 255, 0.74); /* Light white border for divider */
  }
  /* Remove border from the last service block in the row */
  .col-md-4:last-child .service-block {
    border-right: none;
  }
}
.custom-icon {
  width: 60px; /* Adjust the size as needed */
  height: auto;
  margin-bottom: 20px;
}
.service-block:hover {
  background-color: var(
    --green-color-700
  ); /* Change background color on hover */
  color: white; /* Change icon and text color to white on hover */
}
.service-block .icon {
  font-size: 3rem; /* Larger icon size */
  margin-bottom: 1rem;
}
.service-block h3 {
  font-size: 1.25rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
  .service-block {
    margin-bottom: 1rem; /* Add space between blocks on small screens */
    border-bottom: 2px solid rgba(255, 255, 255, 0.74); /* Add bottom border for mobile dividers */
    border-right: none; /* Remove right border on small screens */
  }
  /* Remove bottom border from the last service block when stacked */
  .col-12:last-child .service-block {
    border-bottom: none;
  }
}

.btn-primary-custom {
  background-color: var(
    --green-color-700
  ); /* Example dark blue - adjust to your exact color */
  color: white;
  /* padding is handled by Bootstrap's px-4 py-2 and btn-lg, but you can override here if needed */
  border-radius: 10px; /* For rounded corners, adjust as needed */
  text-decoration: none; /* Removes underline from links */
  font-weight: bold;
  border: none; /* If buttons in image have no border */
  text-transform: uppercase; /* To match the image text style */
  /* transition: background-color 0.3s ease; Optional: for smooth hover effect */
}

.btn-primary-custom:hover {
  background-color: var(--black-color);
  color: white;
}

/* .btn-primary-custom {
    background-color: var(--green-color-700); 
    padding: 10px 25px;
    font-size: 1rem;
    border-radius: 5px;
    color: white; 
    text-decoration: none; 
    display: inline-block; 
    border-width: 3px; 
    transition: transform 0.3s ease; 
}

.btn-primary-custom:hover {
    transform: scale(1.1); 
} */
@media (max-width: 991px) {
  .hero-hazard .col-12.text-center {
    text-align: left !important;
  }
}
.services-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.services-carousel-container {
  position: relative;
  margin-bottom: 40px;
}

.services-wrapper {
  display: flex;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-behavior: smooth;
  padding-bottom: 20px; /* Space for scrollbar if it appears */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.services-wrapper::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.service-item {
  width: 100%;
  min-width: 150px; /* Minimum width for each service item */
  max-width: 180px;
  flex: 0 0 auto; /* Prevent items from shrinking/growing */
  text-align: center;
  padding: 20px 10px;
  border: 1px solid #dee2e6; /* Light border */
  border-radius: 8px; /* Rounded corners */
  margin-right: 15px;
  background-color: #fff; /* White background for items */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.service-item:last-child {
  margin-right: 0;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 3rem; /* Icon size */
  color: var(--green-color-700); /* Dark blue icon color */
  margin-bottom: 10px;
  display: block;
}

/* To replace with an image:
        .service-item img {
            width: 48px;  Adjust as needed
            height: 48px; Adjust as needed
            margin-bottom: 10px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        */

.service-item p {
  font-size: 0.9rem;
  color: #343a40; /* Darker text color */
  margin-bottom: 0;
  line-height: 1.3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black; /* Dark blue background for arrows */
  border-radius: 50%;
  padding: 10px; /* Adjust padding to make icon visible */
  width: 2rem; /* Fixed width */
  height: 2rem; /* Fixed height */
  background-size: 50% 50%; /* Make the actual arrow smaller */
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%; /* Adjust width of the clickable area for arrows */
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.action-buttons .btn {
  background-color: var(--green-color-700); /* Dark blue button background */
  color: #fff; /* White text */
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px; /* Rounded corners for buttons */
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  margin: 0 10px; /* Spacing between buttons */
}

.action-buttons .btn:hover {
  background-color: var(--green-color-700); /* Slightly darker blue on hover */
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .service-item {
    min-width: 130px;
  }
  .action-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  .action-buttons .btn:last-child {
    margin-bottom: 0;
  }
  .action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 576px) {
  .service-item i {
    font-size: 2.5rem;
  }
  .service-item p {
    font-size: 0.8rem;
  }
}

.grey-bg {
  background-color: var(--grey-color-700);
}
.white-bg {
  background-color: white;
}

.tires-section {
  padding-top: 50px;
  padding-bottom: 50px;
}
.welcome-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(
      -50%
    ); /* This moves one full set of original images out of view when content is duplicated */
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 100px; /* Adjusted */
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos-slide {
  display: inline-block;
  animation: 20s slide infinite linear; /* Adjusted */
}

.logos-slide img {
  margin-right: 100px;
  margin-left: 100px;
}
footer {
  background-color: var(--black-color);
  color: white;
  padding-top: 50px;
  padding-bottom: 30px;
  position: relative; /* Needed for positioning the pseudo-element */
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px; /* Adjust border thickness as needed */
  background: linear-gradient(
    to right,
    var(--green-color-500),
    var(--green-color-600),
    var(--green-color-700),
    var(--green-color-500)
  );
}
.logo-margin {
  margin-top: 120px;
}
.logo-footer {
  width: 250px;
  height: auto;
}

.nav-link:focus {
  color: white;
}
.footer-link {
  text-decoration: none;
  color: white;
}
.footer-link:hover {
  color: var(--green-color-700) !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23a1e018' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-menu.dropdown-menu-dark {
  background-color: var(--black-color) !important;
  border: none;
}
.dropdown-menu.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu.dropdown-menu-dark .dropdown-item:focus,
.dropdown-menu.dropdown-menu-dark .dropdown-item:active {
  background-color: var(--green-color-700) !important;
  color: white !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: white;
}
.h3-container {
  display: inline-block; /* This is important to make the container only as wide as its content */
  position: relative; /* Establishes a positioning context for the pseudo-element if you choose that route, or helps if you adjust the div directly */
}

.dividerline {
  height: 2px; /* Adjust thickness as needed */
  background-color: var(
    --green-color-700
  ); /* Or any solid hex color, e.g., #333333 for dark gray, #FF0000 for red. Avoid rgba() if you don't want transparency. */
  width: 100%; /* This will make it span the width of its parent, which is h3-container */
  margin-top: 0px; /* Optional: Adds some space between the text and the line */
}

.modern-form-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}
.form-control::placeholder {
  color: white;
  opacity: 1; /* Ensure the placeholder is fully visible */
}
.modern-input {
  margin-bottom: 1.5rem;
}

.modern-label {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.modern-input .form-control,
.modern-input .form-select {
  background-color: white;
  color: var(--dark);
  border: 1px solid rgb(225, 224, 224);
  border-radius: 5px;
  padding: 15px;
  transition: all 0.3s ease;
}

.modern-input .form-control:focus,
.modern-input .form-select:focus {
  background-color: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}
.btn-dark {
  background-color: var(--dark);
}
.modern-btn {
  background-color: var(--green-color-700);
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  width: 100%;
  /* transition: all 0.3s ease; */
}

.modern-btn:hover {
  background-color: var(--black-color);
  color: white;
  /* transform: scale(1.05); */
}

.modern-btn i {
  margin-left: 10px;
}

@media (min-width: 991px) {
  .about-img {
    padding-left: 50px;
  }
}
.modern-btn:disabled {
  background-color: var(--dark); /* Retain primary color */
  opacity: 0.8; /* Slightly dim to indicate disabled state */
  cursor: not-allowed;
  color: white;
}
.form-border {
  /* Rounded corners for a modern look */
  padding: 30px; /* Add padding inside the border */
  background-color: #ffffff;

  box-shadow: var(--box-shadow);
}
.responsive-map {
  height: 100%; /* Default height for large screens */
}

@media (max-width: 992px) {
  /* Bootstrap's lg breakpoint */
  .responsive-map {
    height: 450px; /* Height for smaller screens */
  }
}
.modern-btn:disabled {
  background-color: var(--green-color-700); /* Keep the same background color */
  color: white; /* Keep the text color */
  opacity: 0.6; /* Slightly dim to indicate disabled state */
  cursor: not-allowed; /* Show a "not-allowed" cursor */
}
@media (max-width: 575px) {
  .tire-img {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
  }
}
.card-style {
  border: 2px solid var(--grey-color-500); /* Original grey color */
  border-radius: 10px; /* Rounded corners */
  padding: 20px; /* Add some padding inside the card */
  background-color: white; /* Optional: Add a white background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: transform 0.3s ease; /* Smooth hover effect */
  height: 100%; /* Ensure cards take full height of their container */
}

.card-style:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}
.img-round {
  border-radius: 10px; /* Rounded corners for images */
}
.service-icon {
  width: 80px; /* Adjust the size as needed */
  height: auto;
  margin-bottom: 20px; /* Adds spacing between the icon and the heading */
  color: var(--green-color-700);
}
.wheels-section {
  padding: 3rem 0;
}

.wheels-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}
.wheels-section img {
  max-width: 100%; /* Ensure the image scales properly */
  height: auto; /* Maintain aspect ratio */
}

.star-rating i {
  font-size: 1.2rem; /* Adjust the size of the stars */
  margin: 0 2px; /* Add spacing between stars */
}
.text-warning {
  color: #ffc107 !important; /* Bootstrap's warning color for stars */
}
.review-card {
  height: 100%; /* Ensure all cards have the same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute content evenly */
}

.review-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Align content at the top */
  height: 100%; /* Ensure the body takes full height */
}

.review-card .card-title,
.review-card .star-rating {
  margin-top: auto; /* Push the name and stars to the bottom */
  text-align: center; /* Center-align the name and stars */
}
.review-card {
  position: relative; /* Ensure the card is the positioning context */
}

.review-card .google-icon {
  position: absolute;
  top: 10px; /* Adjust the spacing from the top */
  left: 10px; /* Adjust the spacing from the left */
  width: 24px; /* Adjust the size of the icon */
  height: 24px;
}

.review-card .google-icon img {
  width: 100%; /* Ensure the SVG scales properly */
  height: auto;
}
