
/* --- Toggle FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mt-5 { margin-top: 3rem; }
.mt-4 { margin-top: 1.9rem; }
.mb-5 { margin-bottom: 4rem; }
/* === FAQ GRID LAYOUT === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }
  .car-description h2 { 
    font-size: 1.5rem;
  }
  .faq-header h2 {
  font-size: 24px !important;
  text-transform: uppercase;
}
}
 /* === FAQ SECTION === */
.faq-section {
  background: #fff;
}

.faq-header {
  margin-bottom: 0.5rem;
}

.faq-header h2 {
  font-size: 2rem;
  text-transform: uppercase;
}

/* VIEW ALL BUTTON */
.view-all-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-all-btn:hover {
  background: #ff6f00;
}

/* INTRO + FOOTER TEXT */
.faq-intro,
.faq-footer {
  font-size: 14px;
  line-height: 1.6;
  color: #222;
}

.text-orange {
  color: #ff6f00;
  font-weight: 600;
}

/* === FAQ GRID LAYOUT === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* === FAQ ITEM === */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 10px rgba(255, 111, 0, 0.15);
}

/* === QUESTION BUTTON === */
.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  flex: 1;
  line-height: 1.4;
}

.faq-question i {
  font-size: 18px;
  color: #ff6f00;
  transition: transform 0.3s ease;
}

/* === ANSWER CONTENT === */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #fff;
  padding: 0 20px;
}

.faq-answer p {
  font-size: 14px;
  color: #444;
  margin: 10px 0 15px;
  line-height: 1.5;
}

/* === ACTIVE STATE === */
.faq-item.active .faq-answer {
  padding: 10px 20px 15px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* READ MORE button (for description) */
.read-more-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: #ff5a00;
  color: #fff;
}

.read-more-btn-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* VIEW ALL button (for FAQs heading) */
/* View All button styling */
.view-all-btn {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background-color: #ff5a00;
  color: #fff;
}

/* Fix layout: view all button inline with heading */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .faq-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .view-all-btn {
    margin-top: 10px;
  }
}


@media (max-width: 768px) {
  .view-all-wrapper {
    text-align: center;
  }
}



@media (max-width: 576px) {
  .read-more-btn,
  .view-all-btn {
    font-size: 12px;
    padding: 8px 18px;
  }
}
 /* Wrapper for icon + heading */.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  margin-bottom: 15px;
}

.heading-with-icon img.heading-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}
.heading-with-icon img{
  width: 26px !important;
}


/* Headings inside description */
.car-description h2,
.car-description h3,
.car-description h4,
.car-description h5,
.car-description h6 {
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Level-based font sizes and colors */
.car-description h2 {
  font-size: 2rem;
  text-transform: uppercase;
}

.car-description h3 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
}

.car-description h4 {
  font-size: 20px;
  font-weight: 600;
  color: #444;
}

.car-description h5 {
  font-size: 17px;
  font-weight: 600;
  color: #555;
}

.car-description h6 {
  font-size: 16px;
  font-weight: 500;
  color: #666;
}

/* Decorative underline for H2 */
 
/* Paragraph and lists styling */
.car-description p,
.car-description ul,
.car-description ol {
  margin-bottom: 15px;
  color: #444;
  line-height: 1.6;
  font-size: 16px;
}
/* Make bullet points orange but text stays dark */
.car-description ul {
  list-style-type: disc;
  padding-left: 25px;
}

.car-description ul li {
  position: relative;
  margin-bottom: 8px;
  color: #222; /* text color */
  line-height: 1.6;
}

/* Replace browser bullets with orange custom bullets */
.car-description ul li::marker {
  color: #ff6f00; /* orange bullet */
  font-weight: 700;
}

/* Optional – for ordered lists (numbers) */
.car-description ol {
  padding-left: 25px;
}

.car-description ol li::marker {
  color: #ff6f00;
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .heading-with-icon img.heading-icon {
    width: 1.14rem;
  }
  .car-description h2 {
    font-size: 24px;
  }
  .car-description h3 {
    font-size: 21px;
  }
  
}




/* Desktop only */
.show-desktop-only {
  display: block;
}

/* Mobile only (default hidden) */
.show-mobile-only {
  display: none;
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .show-desktop-only {
    display: none !important;
  }

  .show-mobile-only {
    display: flex !important;     /* 👈 flex, not block */
    justify-content: center;
    margin-top: 20px;
  }
}




/* =================================================
   FAQ ACCORDION – SAFE OVERRIDES (END OF FILE)
   Scoped to .faq-container ONLY
================================================= */

/* Fix question text overlapping arrow */
.faq-container .accordion-header {
    position: relative;
    padding-right: 44px !important; /* arrow (14px) + 4px gap + safety */
    white-space: normal;
    line-height: 1.5;
    word-break: break-word;
}

/* Arrow positioning (stable across screens) */
.faq-container .accordion-header::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50% !important; /* override old 63% */
    width: 14px;
    height: 14px;


    pointer-events: none;
    transition: transform 0.25s ease;
}
 
/* Remove previous mobile hack */
@media (max-width: 768px) {
    .accordion-header::after {
        top: 50% !important;
    }
}
