/* === CSS Variables for colors === */
:root {
  --bg-dark: #181c23;
  --card-bg: #444750;
  --card-text: #ddd;
  --primary-red: #eb1b28;
  --primary-red-dark: #c91720;
  --primary-blue: #0b5ed7;
  --primary-blue-dark: #0a58ca;
  --grey-dark: #33383f;
  --grey-light: #555b62;
  --text-light: #f5f5f5;
  --text-muted: #ccc;
  --text-dark: #444;
}

/* === Body & Main Card === */
body.ptm-contact-page {
  background: var(--bg-dark);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 10px;
  color: var(--card-text);
  display: flex;
  justify-content: center;
  padding: 40px 10px;
  min-height: 100vh;
  box-sizing: border-box;
}

.ptm-contact-card {
  background: var(--card-bg);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 1200px;
  width: 100%;
  padding: 48px 40px 40px;
  position: relative;
  color: var(--card-text);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .ptm-content-card {
    padding: 28px 20px 24px;
    margin: 16px 0;
    border-radius: 10px;
  }
}

/* === Header === */
.ptm-content-card > header {
  text-align: center;
  margin-bottom: 40px;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: default !important;
  transition: none !important;
  outline: none !important;
  /* Disable pseudo-elements */
  position: relative;
}

.ptm-content-card > header::before,
.ptm-content-card > header::after {
  content: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* Disable hover effect when no-hover-disabled class is present */
.ptm-content-card > header.no-hover-disabled,
.ptm-content-card > header.no-hover-disabled:hover {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: inherit !important;
  cursor: default !important;
  transition: none !important;
  outline: none !important;
}

/* === Buttons === */
.ptm-content-card .btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: var(--primary-red);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.ptm-content-card .btn-primary:hover,
.ptm-content-card .btn-primary:focus {
  background-color: var(--primary-red-dark);
  box-shadow: 0 0 6px var(--primary-red);
  outline: none;
}

.ptm-content-card .btn-offer {
  display: inline-block;
  padding: 16px 32px;
  background-color: #fff;
  color: var(--primary-red);
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.ptm-content-card .btn-offer:hover,
.ptm-content-card .btn-offer:focus {
  background-color: #f0f0f0;
  outline: none;
  box-shadow: 0 0 6px var(--primary-red);
}

/* === Scroll behavior === */
html {
  scroll-behavior: smooth;
}

/* === Section Titles === */
.ptm-content-card h2.section-title,
.ptm-content-card .faq h2,
.ptm-content-card .certifications h2,
.ptm-content-card .offices h2 {
  text-align: center;
  color: var(--primary-red);
  margin-bottom: 30px;
  font-size: 28px;
}

/* === Services Grid === */
.ptm-content-card .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.ptm-content-card .service-card-wrapper {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.ptm-content-card .service-card-wrapper:hover,
.ptm-content-card .service-card-wrapper:focus-within {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ptm-content-card .service-card-link {
  color: inherit;
  text-decoration: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ptm-content-card .service-card-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-bottom: 4px solid var(--primary-red);
}

.ptm-content-card .service-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ptm-content-card .service-card-content h3 {
  margin: 0 0 10px;
  color: var(--primary-red);
  font-size: 20px;
}

.ptm-content-card .service-card-content p {
  font-size: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

/* === CTA Section === */
.ptm-content-card .offer-section {
  background-color: var(--primary-red);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.ptm-content-card .offer-section h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.ptm-content-card .offer-section p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* === Testimonials === */
.ptm-content-card .testimonials {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.ptm-content-card .testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ptm-content-card blockquote {
  background: var(--grey-dark);
  padding: 25px 30px;
  border-radius: 8px;
  color: var(--card-text);
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
}

.ptm-content-card blockquote::before {
  content: "“";
  font-size: 60px;
  color: var(--primary-red);
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
  opacity: 0.2;
}

.ptm-content-card blockquote footer {
  margin-top: 15px;
  text-align: right;
  font-weight: bold;
  color: var(--primary-red);
  font-style: normal;
}

/* === FAQ Accordion === */
.ptm-content-card .faq {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  color: var(--card-text);
  font-size: 16px;
}

.ptm-content-card .faq dl {
  border-radius: 8px;
  background: var(--grey-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.ptm-content-card .faq dt {
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  user-select: none;
  outline-offset: 2px;
}

.ptm-content-card .faq dt::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.ptm-content-card .faq dt[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(180deg);
}

.ptm-content-card .faq dt:focus {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

.ptm-content-card .faq dd {
  margin-left: 20px;
  margin-top: 6px;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-light);
}

.ptm-content-card .faq dd:last-child {
  border-bottom: none;
}

/* === Certifications === */
.ptm-content-card .certifications {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
}

.ptm-content-card .certifications-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.ptm-content-card .certification-item {
  background: var(--grey-dark);
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: default;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 300px; /* optional, adjust as needed */
}

.ptm-content-card .certification-item:hover,
.ptm-content-card .certification-item:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  outline: none;
}

.ptm-content-card .certification-item img {
  width: 180px;
  height: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 1px rgba(70, 67, 68, 0.8));
}

.ptm-content-card .certification-item p {
  color: var(--card-text);
  font-size: 15px;
  font-weight: 600;
}

/* === Offices Section === */
.ptm-content-card .offices {
  margin-top: 60px;
}

.ptm-content-card .office-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.ptm-content-card .office-card {
  background: var(--grey-dark);
  border-radius: 8px;
  max-width: 350px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.ptm-content-card .office-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.ptm-content-card .office-card address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  flex-grow: 1;
}

.ptm-content-card .office-card p {
  margin: 12px 0;
  font-size: 14px;
}

.ptm-content-card .office-card a {
  color: var(--primary-red);
  text-decoration: none;
}

.ptm-content-card .office-card a:focus,
.ptm-content-card .office-card a:hover {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

.ptm-content-card .office-map {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  flex-shrink: 0;
}

/* === Responsive === */
@media (max-width: 600px) {
  .ptm-content-card .services-grid {
    grid-template-columns: 1fr !important;
  }
  .ptm-content-card .office-list,
  .ptm-content-card .certifications-list {
    flex-direction: column;
    align-items: center;
  }
  .ptm-content-card .service-card-wrapper,
  .ptm-content-card .office-card,
  .ptm-content-card .certification-item {
    max-width: 100%;
  }
}
/* Lorry/Van Logos Grid - 5 per row */
.lorry-van-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.lorry-van-logos-grid .logo-item img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 3px rgba(235, 27, 40, 0.8));
}

/* Customer Brand Logos Slider - 4 visible logos */
.brand-logos-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 60px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.brand-logos-slider .slider-logo-item {
  flex: 0 0 22%; /* about 4 logos visible */
  scroll-snap-align: start;
  cursor: grab;
}

.brand-logos-slider .slider-logo-item img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 1px rgba(74, 73, 75, 0.8));
  border-radius: 6px;
  background: #33383f;
  padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .lorry-van-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-logos-slider .slider-logo-item {
    flex: 0 0 40%;
  }
}

@media (max-width: 600px) {
  .lorry-van-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-logos-slider .slider-logo-item {
    flex: 0 0 60%;
  }
}
.brand-logos-slider {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.brand-logos-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
