 :root {
  --primary-red: #f00;
  --dark-bg: #111111;
  --nav-bg: #1a1a1a;
  --text-light: #ffffff;
  --max-width: 1800px;
}

body { 
  margin: 0; 
  font-family: 'Poppins', sans-serif; 
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

.flex-between { display: flex; justify-content: space-between; }
.align-center { align-items: center; }

/* TOP ROW */
.header-top {
  background-color: var(--dark-bg);
  padding: 25px 0;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text { color: var(--text-light); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-accent { color: var(--primary-red); font-size: 1.4rem; font-weight: 700; letter-spacing: 2px; }

.header-ctas { display: flex; align-items: center; gap: 40px; }

/* === NEW GOOGLE TRUST BADGE === */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.icon-google { width: 18px; height: 18px; }
.stars-container { display: flex; gap: 2px; }
.icon-star { width: 16px; height: 16px; }

.trust-text { color: #fff; font-size: 0.85rem; font-weight: 600; opacity: 0.8; }

/* Phone & Button */
.phone-cta {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; color: var(--text-light); transition: color 0.2s;
}
.phone-cta:hover { color: var(--primary-red); }
.phone-label { font-size: 0.9rem; font-weight: 600; color: var(--primary-red); text-transform: uppercase; }
.phone-number { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; }

/* === UPDATED CTA BUTTON (Slightly smaller, still bold) === */
.btn-primary {
  background-color: var(--primary-red);
  color: #fff;
  padding: 14px 30px; /* Reduced from 16px 36px */
  font-size: 1.1rem;  /* Reduced from 1.2rem */
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  text-transform: uppercase;
  transition: transform 0.2s, background-color 0.2s;
}
.btn-primary:hover { background-color: #cc0000; transform: translateY(-2px); }

.mobile-toggle { display: none; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 0; }

/* BOTTOM ROW (Navigation) */
.header-nav { background-color: var(--nav-bg); position: relative; }
.main-menu { display: flex; gap: 50px; }
.nav-item { position: relative; }

.nav-link {
  display: block; color: var(--text-light); text-decoration: none;
  font-size: 1.15rem; font-weight: 700; padding: 20px 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; text-transform: uppercase; transition: color 0.2s;
}
.nav-link:hover { color: var(--primary-red); }

/* === NEW STRESSED "UNSURE" LINK === */
.highlight-urgent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.highlight-urgent:hover { color: var(--primary-red); }

.pulse-dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* MEGA MENUS */
.mega-menu {
  position: absolute; top: 100%; left: 0; background: #ffffff; color: #111;
  width: 900px; max-width: 90vw; padding: 40px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-radius: 0 0 12px 12px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 0.3s ease; z-index: 100;
}
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 50px; }
.mega-column h4 { margin: 0 0 20px 0; color: var(--primary-red); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.mega-column a { display: block; color: #333; text-decoration: none; font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; transition: color 0.2s; }
.mega-column a:hover { color: var(--primary-red); }

.promo-column { background-color: #f8f8f8; padding: 20px; border-radius: 8px; }
.mega-img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; margin-bottom: 15px; }
.promo-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: #111; }
.promo-text p { margin: 0; font-size: 1rem; color: #555; font-weight: 500; }

.specialists-grid { grid-template-columns: 1fr 1fr; gap: 30px 50px; }
.brand-link { display: flex; flex-direction: column; text-decoration: none; background: #f8f8f8; padding: 20px; border-radius: 8px; transition: background 0.2s; }
.brand-link:hover { background: #ffeeee; }
.brand-name { color: #111; font-size: 1.3rem; font-weight: 800; }
.brand-desc { color: #666; font-size: 1rem; font-weight: 600; margin-top: 5px;margin-left:10px; }

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
  .hide-mobile { display: none !important; }
  .mobile-toggle { display: block; }
  .header-ctas { gap: 20px; }
  
  .header-nav { position: absolute; min-height:100vh; left: 0; width: 100%; background: var(--dark-bg); display: none; z-index: 99; }
  .header-nav.mobile-active { display: block; }
  .main-menu { flex-direction: column; gap: 0; padding: 0 20px 20px 20px; }
  
  .nav-link { padding: 15px 0; border-bottom: 1px solid #333; width: 100%; text-align: left; }
  .mega-menu { position: static; width: 100%; transform: none; box-shadow: none; padding: 15px 0 25px 0; display: none; background: var(--dark-bg); }
  .has-mega:hover .mega-menu { display: none; }
  .has-mega.active .mega-menu { display: block; opacity: 1; visibility: visible; }
  
  .mega-grid { grid-template-columns: 1fr; gap: 30px; }
  .mega-column h4 { color: #fff; }
  .mega-column a { color: #aaa; }
  .promo-column, .brand-link { background: #222; }
  .brand-name, .promo-text h4 { color: #fff; }
  .brand-desc, .promo-text p { color: #aaa; }
}
/* ==================
   VEHICLE TYPE TAGS
   ================== */
   
/* Adjust grid for this specific menu to give Brands more room than Tags */
.type-specialist-layout {
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.type-column {
  border-right: 1px solid #eee;
  padding-right: 40px;
}

/* Styling the Taxonomy Tags as UI Pills */
.type-tag {
  display: flex !important;
  align-items: center;
  gap: 15px;
  background-color: #f4f4f4;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.type-tag svg{
    width:40px;
    height:auto;
}

.type-tag .tag-icon {
  font-size: 1.4rem;
}

.type-tag .tag-text {
  color: #111;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Hover State - Turns Red and text goes White */
.type-tag:hover {
  background-color: var(--primary-red);
  transform: translateX(5px); /* Gentle nudge to the right */
}

.type-tag:hover .tag-text {
  color: #ffffff;
}

/* Make the Fleet tag stand out slightly */
.fleet-tag {
  background-color: #111;
  margin-top: 20px;
}

.fleet-tag .tag-text {
  color: #fff;
}

.fleet-tag:hover {
  background-color: var(--primary-red);
}

/* Mobile Adjustments for the new tags */
@media (max-width: 1024px) {
  .type-specialist-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .type-column {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
  }
  
  .type-tag {
    background-color: #222;
  }
  
  .type-tag .tag-text {
    color: #fff;
  }
}

.site-footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
}

/* PRE-FOOTER CTA BANNER */
.footer-cta-banner {
  background-color: var(--primary-red);
  padding: 40px 0;
  border-bottom: 5px solid #cc0000;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 5px 0;
  color: #fff;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cta-huge-phone {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s;
}

.cta-huge-phone:hover {
  transform: scale(1.05);
}

.cta-huge-phone .pulse-dot {
  width: 16px;
  height: 16px;
  background-color: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

.cta-hours-text {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
}

/* MAIN FOOTER COLUMNS */
.footer-main {
  padding: 80px 0 50px 0;
  background-color: #111111;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Bio gets more space, contact gets slightly more */
  gap: 50px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-bio {
  color: #aaaaaa;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 90%;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 8px 16px;
  background-color: #222;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.social-icon:hover {
  background-color: var(--primary-red);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 25px 0;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 8px; /* Smooth indent effect on hover */
}

/* CONTACT COLUMN */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.4rem;
  margin-top: 2px;
}

.contact-detail {
  color: #aaaaaa;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-detail strong {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

.contact-detail.link {
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail.link:hover {
  color: var(--primary-red);
}

.garage-hours {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
}

.hours-title {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.garage-hours p {
  margin: 0 0 5px 0;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.garage-hours p strong {
  color: #fff;
}

/* FOOTER BOTTOM */
.footer-bottom {
  background-color: #080808;
  padding: 25px 0;
  border-top: 1px solid #222;
}

.copyright {
  color: #777;
  margin: 0;
  font-size: 0.95rem;
}

.legal-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.95rem;
  margin-left: 20px;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #fff;
}

/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .mobile-col {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cta-banner-action {
    align-items: flex-start;
    margin-top: 20px;
  }

  .cta-huge-phone {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 40px;
  }
  
  .footer-bottom .mobile-col {
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  .legal-links a {
    margin: 0 10px;
  }
}

/* ==========================================
   GLOBAL BUTTON STYLES (Reusable)
   ========================================== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  border: 2px solid transparent; /* Keeps sizing identical between buttons */
}

/* Primary: Red background, white text */
.btn-primary {
  background-color: var(--primary-red, #f00);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

/* Secondary: Dark grey background, white text (matches the header/footer aesthetic) */
.btn-secondary {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
}

.btn-secondary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(17, 17, 17, 0.2);
}

/* ==========================================
   404 PAGE SPECIFIC STYLES
   ========================================== */
.error-404-page {
  background-color: #ffffff; /* Crisp white background */
  color: #111111;
  font-family: 'Poppins', sans-serif;
  padding-bottom: 80px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Hero Section */
.error-hero {
  padding: 100px 0 60px 0;
}

.error-icon {
  margin-bottom: 30px;
  animation: pulse-soft 3s infinite ease-in-out;
}

.error-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
  color: #111111;
}

.error-subtitle {
  font-size: 1.2rem;
  color: #555555;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Routing / Helpful Links Section */
.error-routing {
  background-color: #f8f9fa; /* Very subtle off-white to separate sections */
  padding: 60px 0;
  border-radius: 12px;
  margin: 0 20px;
}

.routing-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.routing-header p {
  color: #555;
  font-size: 1.1rem;
  margin: 0 0 40px 0;
}

/* Dynamic Grid for Services */
.services-routing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.routing-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.routing-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
}

.routing-card-arrow {
  font-size: 1.5rem;
  color: #cccccc;
  transition: color 0.2s, transform 0.2s;
}

.routing-card:hover {
  border-color: var(--primary-red, #f00);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

.routing-card:hover .routing-card-title {
  color: var(--primary-red, #f00);
}

.routing-card:hover .routing-card-arrow {
  color: var(--primary-red, #f00);
  transform: translateX(5px);
}

/* Subtle animation for the SVG */
@keyframes pulse-soft {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .error-title {
    font-size: 2.2rem;
  }
  
  .button-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .error-routing {
    margin: 0;
    border-radius: 0;
  }
}

/* ==========================================
   URGENT SINGLE PAGE STYLES
   ========================================== */
.urgent-single-page {
  background-color: #f4f5f7;
  padding-bottom: 80px;
  font-family: 'Poppins', sans-serif;
}

/* Breadcrumbs */
.breadcrumb-container {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  font-size: 0.9rem;
  font-weight: 600;
}
.breadcrumbs a { color: #555; text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary-red); }
.breadcrumbs .current { color: #111; }

/* Layout Grid */
.urgent-article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

/* Header & Badges */
.urgent-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111;
  margin: 15px 0 25px 0;
  line-height: 1.2;
}

.danger-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #fff;
}
.badge-warning { background-color: #ff9800; color: #111; }
.badge-critical { background-color: #e91e63; }
.badge-fatal { background-color: var(--primary-red); animation: pulse-border 2s infinite; }

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* The AI Snippet Box */
.ai-answer-box {
  background-color: #eef2f9;
  border-left: 5px solid #2196f3;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  border-radius: 0 8px 8px 0;
  margin-bottom: 40px;
  line-height: 1.6;
}
.ai-answer-box strong { color: #0d47a1; text-transform: uppercase; font-size: 0.9rem; display: block; margin-bottom: 5px; }

/* Split View: Image + Steps */
.urgent-split-view {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 50px;
}

.symptom-visual img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.visual-caption { display: block; font-size: 0.85rem; color: #777; text-align: center; margin-top: 8px; }

.immediate-action-list h3 { margin: 0 0 15px 0; color: var(--primary-red); font-weight: 800; }
.action-steps { padding-left: 20px; margin: 0; }
.action-steps li { font-size: 1.1rem; color: #111; font-weight: 600; margin-bottom: 12px; line-height: 1.4; padding-left: 5px; }
.action-steps li::marker { color: var(--primary-red); font-weight: 800; }

/* Process Section */
.repair-process-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 40px;
}
.repair-process-content h2 { margin-top: 0; font-size: 1.6rem; font-weight: 800; }
.repair-process-content p { font-size: 1.05rem; color: #444; line-height: 1.7; }

/* Taxonomy Pills */
.tags-title { margin: 0 0 10px 0; font-size: 1rem; color: #777; }
.tags-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vehicle-tag-pill {
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.vehicle-tag-pill:hover { background: var(--primary-red); }

/* Sidebar */
.emergency-cta-box {
  background: #111;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 30px;
  border-top: 5px solid var(--primary-red);
}
.pulse-icon { font-size: 3rem; margin-bottom: 15px; }
.emergency-cta-box h3 { margin: 0 0 10px 0; font-size: 1.6rem; font-weight: 800; }
.emergency-cta-box p { margin: 0 0 25px 0; color: #ccc; font-size: 1rem; }
.huge-btn { width: 100%; display: block; box-sizing: border-box; font-size: 1.3rem; padding: 18px 0; margin-bottom: 15px; }
.outline-btn { width: 100%; display: block; box-sizing: border-box; background: transparent; border: 2px solid #fff; color: #fff; }
.outline-btn:hover { background: #fff; color: #111; }

/* Related Widget */
.related-widget { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.related-widget h4 { margin: 0 0 15px 0; font-weight: 800; font-size: 1.2rem; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.related-list { list-style: none; padding: 0; margin: 0; }
.related-list li { margin-bottom: 12px; }
.related-list a { display: flex; justify-content: space-between; text-decoration: none; color: #444; font-weight: 600; transition: color 0.2s; }
.related-list a:hover { color: var(--primary-red); }

/* Mobile */
@media (max-width: 900px) {
  .urgent-article-layout { grid-template-columns: 1fr; }
  .urgent-split-view { grid-template-columns: 1fr; }
  .urgent-sidebar { order: -1; margin-bottom: 30px; } /* Moves the Call CTA to the very top on mobile */
}

/* ==========================================
   ARCHIVE GRID & CARDS
   ========================================== */
.archive-content-section {
  background-color: #f4f5f7;
  padding: 0 0 80px 0;
  margin-top: -40px; /* Pulls the grid up slightly over the dark hero */
  position: relative;
  z-index: 2;
}

.search-results-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
  font-weight: 800;
}

.urgent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.urgent-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.urgent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Card Image & Overlay Badge */
.urgent-card-image-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.urgent-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.urgent-card:hover .urgent-card-img {
  transform: scale(1.05); /* Slight zoom on hover */
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #fff;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Card Text Content */
.urgent-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.urgent-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.urgent-card-title a {
  text-decoration: none;
  color: #111;
  transition: color 0.2s;
}

.urgent-card-title a:hover {
  color: var(--primary-red);
}

.urgent-card-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 12px;
  font-style: italic;
}

.urgent-card-answer {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.read-more-btn {
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  padding: 12px 0;
}


/* ==========================================
   GENERIC HERO SECTION (Light Theme)
   ========================================== */
.generic-hero-light {
  background-color: #f8f9fa; /* Soft light grey */
  color: #111111;
  padding: 80px 20px 80px 20px;
  position: relative;
  border-bottom: 1px solid #eaeaea;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* SEARCH FORM IN LIGHT HERO */
.urgent-search-form {
  max-width: 700px;
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Softer shadow for light theme */
  border: 1px solid #ddd; /* Added border for contrast */
  padding: 5px;
}

.search-field {
  flex-grow: 1;
  border: none;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  color: #111;
  outline: none;
}

.search-submit {
  border: none;
  padding: 15px 35px;
  border-radius: 6px;
}

/* ==========================================
   ARCHIVE GRID & CARDS
   ========================================== */
.archive-content-section {
  background-color: #ffffff;
  padding: 60px 0 80px 0;
  position: relative;
  z-index: 2;
}

/* Card Text Content */
.urgent-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.urgent-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.urgent-card-title a { text-decoration: none; color: #111; transition: color 0.2s; }
.urgent-card-title a:hover { color: var(--primary-red); }

.urgent-card-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 12px;
  font-style: italic;
}

.urgent-card-answer {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

/* Dynamic Recommendation Box */
.urgent-card-recommendation {
  background-color: #fcfcfc;
  border-left: 4px solid #111;
  padding: 12px 15px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes the CTA to the absolute bottom of the card */
}

.urgent-card-recommendation strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 4px;
}

/* Text-Only CTA Link */
.text-only-cta {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  padding-top: 15px;
  border-top: 1px solid #eee;
  transition: color 0.2s;
}

.text-only-cta .arrow {
  color: var(--primary-red);
  transition: transform 0.2s;
  display: inline-block;
}

.urgent-card:hover .text-only-cta {
  color: var(--primary-red);
}

.urgent-card:hover .text-only-cta .arrow {
  transform: translateX(5px);
}
/* ==========================================
   BOTTOM CTA SECTION (Dark Premium Theme)
   ========================================== */
.archive-cta-bar.dark-cta {
  background-color: #111111; /* Deep charcoal/black */
  color: #ffffff;
  padding: 60px 0;
  border-top: 4px solid var(--primary-red); /* Sharp branded accent line */
}

.archive-cta-bar.dark-cta .cta-text h2 { 
  margin: 0 0 10px 0; 
  font-size: 2rem; 
  font-weight: 800; 
  color: #ffffff;
}

.archive-cta-bar.dark-cta .cta-text p { 
  margin: 0; 
  font-size: 1.1rem; 
  color: #cccccc; 
  max-width: 800px;
}

.archive-cta-bar.dark-cta .cta-text strong {
  color: #ffffff;
}

.archive-cta-bar.dark-cta .cta-subtext {
  margin-top: 15px !important; 
  font-size: 0.95rem !important; 
  color: #888888 !important;
  line-height: 1.6;
}

.archive-cta-bar.dark-cta .cta-buttons { 
  display: flex; 
  gap: 15px; 
}

.archive-cta-bar.dark-cta .cta-btn { 
  font-size: 1.1rem; 
  padding: 14px 28px; 
}

/* Secondary button styling for the dark background */
.archive-cta-bar.dark-cta .outline-dark { 
  background: #222222; 
  border: 2px solid #333333; 
  color: #ffffff; 
}

.archive-cta-bar.dark-cta .outline-dark:hover { 
  background: #ffffff; 
  color: #111111; 
  border-color: #ffffff;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .archive-cta-bar.dark-cta .cta-buttons { 
    flex-direction: column; 
    width: 100%; 
    margin-top: 25px; 
  }
  .archive-cta-bar.dark-cta .cta-btn { 
    width: 100%; 
    text-align: center; 
  }
}

/* ==========================================
   HOMEPAGE HERO SECTION CSS
   ========================================== */
.home-hero {
  position: relative;
  padding: 100px 0 120px 0;
  color: #ffffff;
  overflow: hidden;
  background-color: #222222; 
}

.home-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  /* Removed grayscale to let natural colors pop */
}

.home-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Dark on the left for text readability, fading to completely clear on the right */
  background: linear-gradient(90deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.6) 50%, rgba(255,255,255,0) 100%);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px 0;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.hero-bio {
  font-size: 1.25rem;
  color: #dddddd;
  max-width: 650px;
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.hero-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.service-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-pill:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.urgent-pill {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.4);
  color: #ffcccc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.urgent-pill:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

.cta-find-us {
  font-size: 1.2rem;
  padding: 16px 36px;
}

.outline-light { 
  background: transparent; 
  border: 2px solid #ffffff; 
  color: #ffffff; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.outline-light:hover { 
  background: #ffffff; 
  color: #111111; 
}

.hero-trust-column {
  display: flex;
  justify-content: flex-end;
}

.trust-card {
  background: #ffffff;
  color: #111111;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25); /* Softened shadow */
  max-width: 400px;
  /* Removed top border here */
}

.trust-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 15px;
}

.ggs-icon {
  width: 32px;
  height: 32px;
}

.ggs-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111111;
}

.trust-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.trust-rating-row .stars {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.trust-rating-row .score {
  font-size: 1.1rem;
  color: #111111;
}

.trust-rating-row .score strong {
  font-size: 1.3rem;
  color: #00a651; 
}

.trust-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.trust-link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  transition: color 0.2s;
}

.trust-link .arrow {
  color: #00a651;
  transition: transform 0.2s;
  display: inline-block;
}

.trust-link:hover { color: #00a651; }
.trust-link:hover .arrow { transform: translateX(5px); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .home-hero-overlay { background: rgba(17,17,17,0.85); }
  .hero-trust-column { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 2.8rem; }
  .hero-bio { font-size: 1.1rem; }
  .hero-ctas { flex-direction: column; }
  .cta-find-us { width: 100%; justify-content: center; }
  .outline-light { width: 100%; text-align: center; justify-content: center; }
  .trust-card { max-width: 100%; }
}

/* ==========================================
   QUICK LINKS SECTION CSS
   ========================================== */
.quick-links-section {
  background-color: #ffffff;
  padding: 70px 20px;
}

/* We restrict this container to 1200px so the tiles stay compact and easy to read, 
   even on massive 1800px monitors */
.quick-links-container {
  max-width: 1200px; 
  margin: 0 auto;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* The Clickable Tile */
.quick-link-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: all 0.2s ease-in-out;
}

/* Hover Effects: Lift up, shadow drops, and border turns red */
.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--primary-red, #f00);
}

.quick-link-img-wrapper {
  width: 100%;
  height: 160px; /* Keeps the images short and compact */
  overflow: hidden;
}

.quick-link-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Subtle image zoom on hover */
.quick-link-card:hover .quick-link-img {
  transform: scale(1.05);
}

.quick-link-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.quick-link-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
  transition: color 0.2s;
}

.quick-link-card:hover .quick-link-title {
  color: var(--primary-red, #f00);
}

.quick-link-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1; /* Pushes the arrow down so they all align perfectly */
}

.quick-link-arrow {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-red, #f00);
  display: inline-block;
  transition: transform 0.2s;
}

/* Move the arrow slightly to the right on hover */
.quick-link-card:hover .quick-link-arrow {
  transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  .quick-link-img-wrapper {
    height: 200px; /* Slightly taller on mobile so it doesn't look squished */
  }
}

/* ==========================================
   BRANDS & TAXONOMIES SECTION CSS
   ========================================== */
.brands-taxonomies-section {
  background-color: #ffffff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #555555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid Layout */
.brands-tax-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px;
  margin-bottom: 50px;
}

/* Individual Brand Card */
.brand-tax-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
}

.brand-tax-card:hover {
  border-color: #cccccc;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

/* Brand Card Header (Flexbox for Logo & Title) */
.brand-tax-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 15px; /* Ensures title and logos don't collide on small screens */
}

.brand-tax-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111111;
  margin: 0;
}

/* New Flex Group for Multiple Logos */
.brand-logos-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0; /* Prevents logos from being squished */
}
.brand-logos-group svg{
    width:40px;
}
.brand-card-logo {
  height: 28px; /* Kept small and tight */
  width: auto;
  max-width: 45px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.brand-tax-card:hover .brand-card-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-tax-desc {
  font-size: 0.95rem;
  color: #666666;
  margin: 0 0 25px 0;
  line-height: 1.5;
  flex-grow: 1; 
}

/* Taxonomy Pills */
.tax-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.tax-pill {
  background: #f4f5f7;
  color: #333333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
/* 1. Turn the pill into a flexbox to align the icon and text perfectly */
.tax-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between the SVG and the text */
}

/* 2. Lock the size of the SVG so it behaves like an icon */
.tax-pill svg {
    width: 1.2em;  /* Sizes the icon relative to the text size */
    height: 1.2em;
    flex-shrink: 0; /* Prevents the icon from squishing */
}

/* 3. Force the SVG to match the pill's text color (Crucial for the dark Fleet pill!) */
.tax-pill svg,
.tax-pill svg path {
    fill: currentColor !important; 
}

.tax-pill:hover {
  background: var(--primary-red, #f00);
  color: #ffffff;
}

.fleet-pill {
  background: #111111;
  color: #ffffff;
}

.fleet-pill:hover {
  background: var(--primary-red, #f00);
}

/* Main Call to Action Link */
.brand-specialist-link {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-red, #f00);
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
}

.brand-specialist-link .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.brand-tax-card:hover .brand-specialist-link .arrow {
  transform: translateX(5px);
}

/* "We Do Even More" Banner - Clean Dark Block */
.all-makes-banner {
  background: #111111;
  color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.all-makes-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 800;
}

.all-makes-content p {
  margin: 0;
  font-size: 1.05rem;
  color: #cccccc;
  line-height: 1.6;
  max-width: 700px;
}

.all-makes-action {
  flex-shrink: 0;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .brands-tax-grid {
    grid-template-columns: 1fr;
  }
  
  .all-makes-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .all-makes-content p {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  /* On very small screens, stack the title and logos if they get too crowded */
  .brand-tax-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================
   HOME LATEST URGENT ARTICLES CSS
   ========================================== */
.home-urgent-section {
  background-color: #ffffff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #f0f0f0; /* Soft divider from previous section */
}

/* Header Flexbox */
.urgent-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.urgent-header-text {
  max-width: 650px;
}

/* Inherit section-title and section-subtitle from previous CSS block, 
   but reset margins for flexbox alignment */
.urgent-header-text .section-title {
  margin: 0 0 10px 0;
}
.urgent-header-text .section-subtitle {
  margin: 0;
}

/* Grid setup for 3 articles */
.urgent-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Reusing the exact card layout from your archive page to maintain consistency */
.urgent-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.urgent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-color: #cccccc;
}

.urgent-card-image-wrapper {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  display: block;
}

.urgent-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.urgent-card:hover .urgent-card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #fff;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Badge Colors */
.badge-warning { background-color: #ff9800; color: #111; }
.badge-critical { background-color: #e91e63; }
.badge-fatal { background-color: var(--primary-red, #f00); animation: pulse-border 2s infinite; }

.urgent-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.urgent-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.urgent-card-title a { text-decoration: none; color: #111; transition: color 0.2s; }
.urgent-card-title a:hover { color: var(--primary-red, #f00); }

.urgent-card-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1; 
}

/* Utility visibility classes */
.show-mobile { display: none; }

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .urgent-home-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .urgent-section-header { flex-direction: column; align-items: flex-start; }
  .hide-mobile { display: none; }
  .show-mobile { display: block; margin-top: 30px; }
  .urgent-home-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   COMPACT INNER PAGE HERO CSS
   ========================================== */
.inner-page-hero {
  position: relative;
  padding: 60px 20px; /* Reduced padding to keep the section compact */
  background-color: #111111;
  color: #ffffff;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  min-height: 300px;
  display: flex;
  align-items: center;
}

/* Native Background Image Styling */
.inner-hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space without stretching */
  z-index: 1;
}

.inner-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 60%, rgba(17,17,17,0.3) 100%);
  z-index: 2;
}

.inner-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto; /* Right column only takes as much space as the badge needs */
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Title & Icon Flexbox */
.inner-hero-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.inner-hero-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.inner-hero-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Forces any dark logo/icon to be pure white */
}

.inner-hero-h1 {
  font-size: 3rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -1px;
}

.inner-hero-desc {
  font-size: 1.15rem;
  color: #cccccc;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

/* Call to Actions */
.inner-hero-actions {
  display: flex;
  gap: 15px;
}

.inner-cta-btn {
  padding: 12px 24px;
  font-size: 1.05rem;
}

.outline-light { 
  background: transparent; 
  border: 2px solid #ffffff; 
  color: #ffffff; 
}
.outline-light:hover { 
  background: #ffffff; 
  color: #111111; 
}

/* Compact Trust Badge */
.compact-trust-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.compact-trust-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00a651; /* Scheme Green */
  transform: translateY(-3px);
}

.compact-trust-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.compact-trust-text {
  display: flex;
  flex-direction: column;
}

.trust-stars {
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 3px;
}

.trust-score {
  font-size: 0.95rem;
  color: #ffffff;
}

.trust-score strong {
  color: #00a651;
}

.trust-label {
  font-size: 0.8rem;
  color: #aaaaaa;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .inner-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .inner-hero-overlay { background: rgba(17,17,17,0.85); }
}

@media (max-width: 600px) {
  .inner-page-hero { padding: 40px 20px; }
  .inner-hero-h1 { font-size: 2.2rem; }
  .inner-hero-desc { font-size: 1.05rem; }
  .inner-hero-actions { flex-direction: column; width: 100%; }
  .inner-cta-btn { width: 100%; text-align: center; }
}

/* ==========================================
   3-STEP PROCESS SECTION CSS
   ========================================== */
.service-process-section {
  background-color: #ffffff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
  border-bottom: 1px solid #f0f0f0;
}

.process-header {
  margin-bottom: 60px;
}

.process-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.process-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin: 0;
}

/* Grid Layout */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* The Individual Step */
.process-step {
  text-align: center;
  position: relative;
  z-index: 2; /* Keeps text above the connecting line */
  padding: 0 10px;
}


/* Icon Circle Styling */
.step-icon-circle {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border: 2px solid #eaeaea;
  border-radius: 50%;
  margin: 0 auto 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #111111;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.process-step:hover .step-icon-circle {
  border-color: var(--primary-red, #f00);
  color: var(--primary-red, #f00);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.1);
}

/* The small red number badge */
.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-red, #f00);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff; /* Gives it a cutout effect from the circle */
}

/* Typography */
.step-h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 15px 0;
}

.step-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.step-desc strong {
  color: #111111;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .process-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .process-step {
    padding: 0 20px;
  }
}

/* ==========================================
   WIDE BOOKING PANEL CSS
   ========================================== */
.booking-panel-section {
  background-color: #f4f5f7; 
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* The unified horizontal bar */
.booking-panel {
  display: flex;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden; /* Keeps the image inside the rounded corners */
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border: 1px solid #eaeaea;
}

/* Left Half: Image */
.booking-panel-image {
  flex: 0 0 45%; /* Takes up 45% of the bar */
  position: relative;
}

.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Half: Content */
.booking-panel-content {
  flex: 1; /* Takes the remaining 55% */
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.panel-header p {
  font-size: 1.05rem;
  color: #666666;
  margin: 0 0 35px 0;
  line-height: 1.6;
}

/* Booking Methods Layout */
.panel-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Interactive Rows */
.panel-method-row {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background: #fcfcfc;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.panel-method-row:hover {
  background: #ffffff;
  border-color: #cccccc;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}

/* Primary Highlight for the Online Booking Row */
.primary-method {
  background: #111111;
  border-color: #111111;
}

.primary-method:hover {
  background: #222222;
  border-color: #222222;
}

.primary-method .method-title,
.primary-method .method-desc,
.primary-method .method-icon,
.primary-method .method-arrow {
  color: #ffffff;
}

.primary-method .method-desc {
  color: #aaaaaa;
}

/* Row Content Layout */
.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #111111;
}

.method-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.method-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 2px;
}

.method-desc {
  font-size: 0.9rem;
  color: #666666;
}

.method-arrow {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111111;
  transition: transform 0.2s;
}

.method-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
}

/* Hover Animations */
.panel-method-row:hover .method-arrow {
  transform: translateX(5px);
}

/* ==========================================
   "CLEVER" MOBILE DRAWER LAYOUT
   ========================================== */
@media (max-width: 900px) {
  .booking-panel {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  
  .booking-panel-image {
    width: 100%;
    height: 300px;
  }

  .panel-img {
    border-radius: 20px 20px 0 0; /* Rounds only the top of the image */
  }

  /* The Content "Drawer" slides up over the image */
  .booking-panel-content {
    background: #ffffff;
    border-radius: 20px; /* Fully rounds the content box */
    padding: 40px 25px;
    margin-top: -40px; /* Pulls the white box up OVER the image */
    position: relative;
    z-index: 2;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1); /* Casts a shadow UP onto the image */
    border: 1px solid #eaeaea;
  }

  .panel-header h2 {
    font-size: 1.8rem;
  }
  
  .panel-method-row {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .method-icon {
    display: none; /* Hides icons on very small screens to give text more room */
  }
}

/* ==========================================
   FAQ SECTION CSS
   ========================================== */
.faq-section {
  background-color: #ffffff;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.faq-container {
  max-width: 800px; /* Kept narrow so the text is easy to read */
  margin: 0 auto;
}

.faq-header {
  margin-bottom: 40px;
}

.faq-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.faq-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin: 0;
}

/* Accordion Styling */
.faq-accordion {
  margin-bottom: 50px;
}

.faq-item {
  border-bottom: 1px solid #eaeaea;
  padding: 20px 0;
}

/* The Question (Clickable Toggle) */
.faq-question {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  list-style: none; /* Hides native arrow in most browsers */
  position: relative;
  padding-right: 30px;
  transition: color 0.2s;
  outline: none;
}

.faq-question:hover {
  color: var(--primary-red, #f00);
}

/* Hide the default arrow in Safari/Chrome */
.faq-question::-webkit-details-marker {
  display: none;
}

/* Custom Plus/Minus Icon using ::after */
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-red, #f00);
  transition: transform 0.3s ease;
}

/* Change icon to Minus when open */
details[open] .faq-question::after {
  content: '−'; /* Using an en-dash for a cleaner minus sign */
  transform: translateY(-50%) rotate(180deg);
}

/* The Answer Content */
.faq-answer {
  padding-top: 15px;
  padding-bottom: 10px;
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  animation: fadeDown 0.3s ease-in-out;
}

.faq-answer p {
  margin: 0;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ Contact Box */
.faq-contact-box {
  background-color: #f8f9fa; /* Very soft grey to separate it from the white background */
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
}

.faq-contact-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 10px 0;
}

.faq-contact-box p {
  font-size: 1rem;
  color: #666666;
  margin: 0 0 25px 0;
}

.faq-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.faq-btn {
  padding: 12px 28px;
  font-size: 1.05rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .faq-cta-buttons {
    flex-direction: column;
  }
  
  .faq-btn {
    width: 100%;
    text-align: center;
  }
  
  .faq-contact-box {
    padding: 30px 20px;
  }
}

  /* --- Layout Container --- */
.contact-page-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* --- Left Column: Details --- */
.contact-info-panel {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px;
}

.contact-info-panel h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
}

.contact-info-panel p {
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item svg {
  color: #e53935; /* Accent color - change to match your brand */
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-item span {
  color: #aaaaaa;
  line-height: 1.5;
}

/* --- Right Column: Form --- */
.contact-form-panel {
  padding: 40px;
}

.contact-form-panel h3 {
  margin-top: 0;
  margin-bottom: 25px;
  color: #333333;
}

/* --- CF7 Form Styling --- */
.garage-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.garage-form .form-group {
  margin-bottom: 20px;
}

.garage-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555555;
  font-size: 0.9rem;
}

.garage-form input[type="text"],
.garage-form input[type="email"],
.garage-form input[type="number"],
.garage-form select,
.garage-form input[type="tel"],
.garage-form textarea {
  width: 100%;
  box-sizing: border-box; /* This keeps the padding inside the 100% width */
  padding: 12px 15px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: border-color 0.3s ease;
}

.garage-form input:focus,
.garage-form textarea:focus {
  border-color: #e53935;
  outline: none;
  background-color: #ffffff;
}

.garage-form .btn-primary {
  background-color: #e53935;
  color: #ffffff;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.garage-form .btn-primary:hover {
  background-color: #c62828;
}

/* Hide CF7 validation wrappers initially */
span.wpcf7-not-valid-tip {
  font-size: 0.85rem;
  margin-top: 5px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .garage-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}