 /* Base */
 body {
  color: #fff;
  background-color: #073A63;
  font-family: system-ui, sans-serif;
  
}

.card-title {
  font-size: clamp(1rem, 3.2vw, 1.5rem); /* bigger difference */
}

.card-text {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
}


.car-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.car-title-link:hover {
  color: #263a90 !important;
  text-decoration: underline;
}


.visually-hidden-focusable {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  border: 5px solid yellow; 
  z-index: 1000;
  text-decoration: none;
}


.ckitc-logo {
  border-radius: 5px;
  display: block;
  width: auto;
  height: 141px;
}



/* Layout */
.main-aligned {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .main-aligned {
    max-width: calc(100% * 8 / 12);
  }
}

@media (max-width: 992px) {
  .thumbnail-img {
    height: calc(33.33% - 6px);
  }
}

@media (max-width: 768px) {
  .thumbnail-img {
    height: calc(50% - 6px);
  }
}
@media (max-width: 768px) {
  .gallery-hover-container img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .gallery-hover-container img {
    height: 140px;
  }
}
@media (max-width: 767px) {
  /* Make breadcrumb text smaller on mobile */
  .breadcrumb {
    font-size: 0.6rem;
  }
  /* Adjust watermark styling for mobile: smaller font and reduced padding */
  .glightbox-watermark {
    font-size: 0.5rem;
    padding: 2px 4px;
  }
}
.spotlight-img {
  height: 500px;
}

@media (max-width: 576px) {
  .spotlight-img {
    height: 280px;
  }
}


.spacer-row {
  height: 2rem;
}

.side-col {
  background-color: white;
  min-height: 100%;
}

.main-content {
  background-color: #e7eef7;
  padding: 2rem;
  color: #073A63;
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  margin-bottom: -2rem;
  
}

/* Navbar */
.navbar {
  background-color: #073A63 !important;
  position: relative;
  z-index: 2;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background-color: #073A63;
  color: #b9e46a !important;
  text-decoration: underline;
}

.dropdown-menu {
  background-color: #ffffff;
}

.dropdown-item {
  color: #073A63;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #073A63;
  color: #ffffff;
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Footer */
.footer {
  position: relative;
  background-color: #073A63;
  color: white;
  padding: 2rem 1rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.footer a:hover {
  text-decoration: underline;
  color: #9eca4e;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #073A63 0%, transparent 10%, transparent 90%, #073A63 100%),
    url('../images/footerimage.png') no-repeat center;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}


.footer-logo-text .classic {
  color: #851c1a;
  font-family: "Rockwell", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  font-style: normal;
}

.footer-logo-text .kitcars {
  color: #ffffff;
  font-family: "Rockwell", cursive;
  font-size: 1.4rem;
  font-weight: 500;
  font-style: normal;
}

.footer-logo {
  width: 40%;
  height: auto;
}

.car-type-button:hover {
  background-color: #003399;
  color: #fff;
  text-decoration: none;
}

.car-type-button img {
  max-height: 24px;
}

.car-type-wrapper {
  min-width: 0; /* Prevent flexbox overflow */
}

.car-type-button span {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  line-height: 1.2;
}


.card-img-top {
  max-height: 200px;
  object-fit: cover;
  border: none !important; /* Ensure no border */
}


.glightbox-container .gdesc-inner,
.glightbox-container .gdesc-inner p {
  font-family: 'Titillium Web', sans-serif !important;
}

.glightbox-watermark {
  position: relative;
}

.gslide-media.glightbox-watermark::after {
  content: 'KitcarUSA.com';
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #073A63;
  color: #fff;
  font-size: 1.5rem;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 9999;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif, sans-serif;
}
.gallery-hover-container {
  overflow: hidden;
  position: relative;
}

.gallery-hover-container img {
  transition: transform 0.3s ease;
}

.gallery-hover-container:hover img {
  transform: scale(1.05);
}

.gallery-title-link {
  text-decoration: none;
  color: inherit;
}

.gallery-title-link:hover {
  text-decoration: underline;
}

.hover-caption {
  position: absolute;
  bottom: 0;
  background: rgba(38, 58, 144, 0.85);
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
  padding: 6px 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-hover-container:hover .hover-caption {
  opacity: 1;
}

.blue-bar {
  background-color: #073A63;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  overflow-x: hidden;
}

.main-image-wrapper {
  padding-left: 0.5rem;
  padding-top: 0.5rem;
}

.thumbnail-wrapper:first-child {
  padding-top: 0.5rem;
}
/* Optional */
.thumbnail-img {
  transition: opacity 0.2s ease;
}
.thumbnail-img:hover {
  opacity: 0.8;
}

  .tabbed-bar {
    display: flex;
    margin-top: 2rem;
  }

  .tab-header {
    background-color: #073A63;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem;
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .tab-header:hover {
    background-color: #0f5288;
    color: #fff;
    text-decoration: underline;
  }

  .tab-header.active {
    background-color: #0f5288;
    color: #fff;
    text-decoration: underline;
  }

  .tab-content-area {
    background-image: url('../images/graphbg.png');
    background-repeat: repeat;
    min-height: 200px;
    max-height: 450px;
    overflow-y: auto;
    padding: 1rem;
    margin-top: 0;
  }

  .tab-section {
    min-height: 200px;
  }

  .tab-section.active {
    display: block;
  }

  .tab-header.active-tab {
    background-color: #0f5288;
    color: #fff;
    text-decoration: underline;
  }
  .tabbed-bar {
    background-color: #0f5288;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0;
  }
  
  .tab-header {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .tab-header:hover {
    color: #9eca4e;
    text-decoration: underline;
  }
  
  .tab-header.active {
    background-color: #0f5288;
  }
  
  .ebay-header {
    width: 25%;
    background-color: #073A63;
    font-size: 1rem;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
  }
    
  
@media (max-width: 767.98px) {
  .tab-header {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

.related-car-link {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.related-car-link:hover {
  color: #003399 !important;
  text-decoration: underline !important;
}
.sidebar-links li:hover span {
  color: #003399;
  text-decoration: underline;
}

.logo-container {
  width: 100px; /* Set the desired width */
  height: 100px; /* Set the desired height */
  border-radius: 50%; /* Creates the circular shape */
  overflow: hidden; /* Ensures the image stays within the bounds of the container */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0; /* Optional: sets a background color */
  border: 3px solid #073A63; /* Adds a border around the circle */
}

.logo-container img {
  width: 100%; /* Ensures the image covers the container */
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

  .manufacturer-link {
    text-decoration: none;
    color: inherit;
  }

  .manufacturer-link:hover {
    text-decoration: underline;
    color: #b9e46a;
  }

   .manufacturer-listing-link {
    text-decoration: none;
    color: inherit;
  }
    .manufacturer-listing-link:hover {
    text-decoration: underline;
    color: #073A63;
  }
  .feedback-link {
    text-decoration: none;
    color: inherit;
  }
  
  .feedback-link:hover {
    text-decoration: underline;
    font-weight:600;
    color: #003399;
  }


  /* Add custom styles for uniform feedback card heights */
   
  .feedback-card {
    border: 3px solid #3A6BBA;
    border-radius: 5px;
    padding: 1rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .feedback-opinion {
    font-size: 1rem;
    font-style: italic;
    font-family:  'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 0.5rem;
    color:#333;
    max-height: 350px; /* Adjust as needed */
    overflow-y: auto;
  }
  .feedback-divider {
    border: none;
    border-top: 2px solid #3A6BBA;
    margin: 0.5rem 0;
  }
  .feedback-quote {
    font-size: 2rem;
    vertical-align: middle;
    color: #3A6BBA;
  }
  @media (max-width: 767px) {
    .feedback-quote {
      font-size: 1.5rem;
    }
  }

  .parent-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 1.5rem; /* Adjust to match your header font size */
    font-weight: bold;
    color: #000; /* Adjust as needed */
    cursor: pointer;
  }
  .parent-toggle:focus {
    outline: none;
  }
  .car-image-container {
    position: relative;
    display: inline-block;
  }
  
  .car-image-container:hover .car-overlay {
    opacity: 1;
  }
  
  .car-image-container {
    position: relative;
    display: inline-block;
  }
  
  .car-image-container img {
    border: 2px solid #3A6BBA;
    border-radius: 2px;
    object-fit: cover;
    height: 80px;
    width: 100%;
  }
  
  .car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 5px;
    font-size: 0.8rem;
  }
  
  .car-image-container:hover .car-overlay {
    opacity: 1;
  }
  
   .breakdown-table th, .breakdown-table td {
        padding: 0.25rem;
    }
    .calculator-form {
        background-color: #073A63;
        padding: 1rem;
        border-radius: 6px;
        color: #fff;
    }
    .calculator-form label {
        color: #fff;
    }
    .btn-calc {
      background-color: #198754;
      color: #fff;
  }
  
  .btn-calc:hover {
      background-color: #0e5e39; 
  }
  
  .btn-reset {
      background-color: #FFA500;
      color: #263A90;
  }
  
  .btn-reset:hover {
      background-color: #cf9427;
      color: #263A90; 
  }
  
  .btn-export {
      background-color: #107C41;
      color: #fff;
  }
  
  .btn-export:hover {
      background-color: #08572b; 
      color: #fff;
  }
    /* Blue bar heading */
    .blueb-bar {
      background-color: #3A6BBA;
      color: #fff;
      padding: 1rem;
      text-align: center;
      margin-bottom: 1rem;
    }
    /* Styling for the spotlight links in the blue bar */
    .spotlight-link {
      color: inherit; /* Inherit white from the blue bar */
      text-decoration: none;
    }
    .spotlight-link:hover {
      color: #263A90;
      text-decoration: underline;
    }

  